/* DEFAULT HEX COLOR: #0c3f66 */
/* CHANGE IT BY REPLEACING THE VALUE ABOVE */
h1, h2 {
	margin-bottom: 10px;
	color: #0c3f66;
}
p {
	color: #0c3f66;
}
#footer.footer-dark {
	background: #0c3f66;
	color: #FFF!important;
	z-index: 2;
}
#footer.footer-dark a { 
	color: #FFF!important;
}
#goToTop:after, #goToTop:before {
	background-color: #000000!important;
}
#mainMenu nav>ul>li.current>a, #mainMenu nav>ul>li.current>span, #mainMenu nav>ul>li.hover-active>a, #mainMenu nav>ul>li.hover-active>span, #mainMenu nav>ul>li:focus>a, #mainMenu nav>ul>li:focus>span, #mainMenu nav>ul>li:hover>a, #mainMenu nav>ul>li:hover>span {
	color: #0c3f66;
}
#mainMenu nav>ul>li>a:hover {
	color: #1a3448;
}
.btn.btn-primary { 
	background-color: #0c3f66!important;
	border: 1px solid #0c3f66!important;
}
.btn.btn-primary.active, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover {
	background-color: #1a3448!important;
	border: 1px solid #1a3448!important;
	color: #FFF;
}
.owl-carousel.arrows-creative .owl-nav [class*=owl-]:hover {
	color: #404040;
	background-color: #0c3f66;
}
::-moz-selection {
	background: #0c3f66;
	color: #FFF;
	text-shadow: none;
}
::selection {
	background: #0c3f66;
	text-shadow: none;
	color: #FFF;
}
.text-colored,
h1.text-colored,
h2.text-colored,
h3.text-colored,
h4.text-colored,
h5.text-colored,
h6.text-colored,
.color-font,
.color-font a,
.widget-tweeter li a,
.widget-twitter li a,
p.text-colored,
.heading.heading-colored h1,
.heading.heading-colored h2 {
	color: #0c3f66 !important;
}
.progress-bar-container.color .progress-bar {
	background-color: #0c3f66;
	color: #fff;
}
.blockquote-color {
	background-color: #0c3f66;
	color: #fff;
}
.blockquote-color > small {
	color: #fff;
}

/*buttons*/
.button.color,
.btn-primary,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:focus,
.btn,
.btn:focus,
.btn.focus,
.btn:focus,
.open > .dropdown-toggle.btn-primary {
	background-color: #404040;
	border: 1px solid #404040;
}
.btn-primary:hover,
.btn-primary.active,
.btn-primary:active,
.btn-primary:hover,
.btn:hover,
.btn:active,
.btn.active,
.btn:active,
.btn:hover {
	background-color: #0c3f66;
	border: 1px solid #0c3f66;
}

/*go to top*/

.gototop-button {
	background-color: #0c3f66;
}
.gototop-button {
	color: #fff;
}
nav .main-menu .dropdown-menu {
	border-color: #0c3f66;
}
#header:not(.header-transparent) #mainMenu > ul > li:hover > a,
#header:not(.header-transparent) #mainMenu > ul > li.current-menu > a {
	color: #0c3f66;
}
#topbar.topbar-colored {
	background-color: #0c3f66;
}

/*vertical-dot-menu */

#vertical-dot-menu a:hover .cd-dot,
#vertical-dot-menu a.active .cd-dot {
	background-color: #0c3f66;
}

/*scrollspy nav */


/*.sidebar-menu ul.nav-tabs li, */

.sidebar-menu ul.nav-tabs li:hover .sidebar-menu ul.nav-tabs li a,
.sidebar-menu ul.nav-tabs li a:hover,
.sidebar-menu ul.nav-tabs li.active a,
.sidebar-menu ul.nav-tabs li.active a:hover {
	color: #fff;
	background: #0c3f66;
	border: 1px solid #0c3f66;
}

/*Bootstrap defaults overrides*/

.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
	background-color: #0c3f66;
	border-color: #0c3f66;
}
.list-group-item.active .list-group-item-text,
.list-group-item.active:hover .list-group-item-text,
.list-group-item.active:focus .list-group-item-text {
	color: #fff;
}
.list-group-item.active > .badge,
.nav-pills > .active > a > .badge {
	color: #0c3f66;
}
pre {
	background-color: #fcfcfc;
	border: 1px solid #ececec;
}
.alert {
	border-left-width: 10px;
	border-radius: 0;
}
.alert-success {
	background-color: #5cb85c;
	border-color: #53af53;
}
.alert-info {
	background-color: #2699c8;
	border-color: #3aaddc;
}
.alert-warning {
	background-color: #f6b63a;
	border-color: #ffcd51;
}
.alert-danger {
	background-color: #de4b37;
	border-color: #f3604c;
}
.alert,
.alert a.alert-link {
	color: #fff;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
	background-color: #0c3f66;
	border-color: #0c3f66;
	color: #fff;
}
.pagination > li > a:hover i,
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
	color: #333;
}

/*navs*/

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
	background-color: #0c3f66;
	color: #fff;
}

/*Typography*/

a:hover {
	color: #0c3f66;
}

/*dropcat & highlight*/

.dropcap.dropcap-colored,
.dropcap.dropcap-colored a,
.highlight.highlight-colored,
.highlight.highlight-colored a {
	background-color: #0c3f66;
	color: #fff;
}

/*timeline*/

.timeline.timeline-colored .timeline-circles:before,
.timeline.timeline-colored .timeline-circles:after,
.timeline.timeline-colored .timeline-date,
.timeline.timeline-colored:before {
	background-color: #0c3f66;
	color: #fff;
}
.timeline.timeline-colored li .timeline-block:before {
	border-color: transparent #0c3f66;
}
.timeline.timeline-colored .timeline-block-image {
	border-color: #0c3f66;
}
.timeline.timeline-colored.timeline-simple .timeline-date {
	background-color: #fff;
	border: 1px solid #0c3f66;
	color: #0c3f66;
}

/*tabs*/

.border .tabs-navigation li.active a:after {
	background: #0c3f66;
}

/*accordions*/

.breadcrumb a:hover {
	color: #0c3f66;
}

/*color*/

.accordion.color .ac-item .ac-title {
	background: #0c3f66;
	color: #fff;
}
.accordion.color-border-bottom .ac-item .ac-title {
	border-bottom: 1px dotted #0c3f66;
}
.accordion.color-border-bottom .ac-item .ac-title:before {
	color: #0c3f66;
}

/*ICONS*/

.icon-box.color .icon i {
	background: #0c3f66;
	color: #fff;
}
.icon-box.color .icon i:after {
	box-shadow: 0 0 0 3px #0c3f66;
}
.icon-box.border.color .icon,
.icon-box.border.color .icon i {
	color: #0c3f66;
	border-color: #0c3f66;
}
.icon-box.fancy.color .icon i {
	color: #0c3f66;
	background-color: transparent;
}

/*FONT AWESOME ICONS*/

.fontawesome-icon-list .fa-hover a:hover {
	background-color: #0c3f66;
}

/*lists icons*/

ul.icon-list li i {
	color: #0c3f66;
}

/* ----------------------------------------------------------------
	Backgrounds
-----------------------------------------------------------------*/

.background-colored {
	background-color: #0c3f66 !important;
}

/* ----------------------------------------------------------------
	NPROGRESS
-----------------------------------------------------------------*/

#nanobar-progress div {
	background: #0c3f66 !important;
}

/* ----------------------------------------------------------------
	PORTFOLIO
-----------------------------------------------------------------*/

.portfolio-filter li.ptf-active,
.portfolio-filter li:hover {
	background-color: #0c3f66;
}
.portfolio-filter li:not(.ptf-active):hover {
	color: #0c3f66;
}

/* ----------------------------------------------------------------
	HEADINGS
-----------------------------------------------------------------*/

.heading-title-border-color {
	border-color: #0c3f66;
}

/* ----------------------------------------------------------------
	IMAGE BOX
-----------------------------------------------------------------*/

.image-box-links a {
	background-color: #0c3f66;
}
.image-box.effect.bleron {
	background-color: #0c3f66;
}
.image-block-content .feature-icon {
	background-color: #0c3f66;
}
.image-box.effect.bleron p.image-box-links a {
	color: #0c3f66;
}

/* ----------------------------------------------------------------
	SHOP PRODUCTS
-----------------------------------------------------------------*/

.product .product-wishlist a:hover {
	border-color: #0c3f66;
}

/* ----------------------------------------------------------------
	Carousel
-----------------------------------------------------------------*/

.carousel-description-style .owl-carousel .owl-controls .owl-nav .owl-next,
.carousel-description-style .owl-carousel .owl-controls .owl-nav .owl-prev {
	border-color: #0c3f66;
}

body, p, a, h1, h2, h3, h4, h5, h6, span {
	font-family: Raleway!important;
}

.parallax-container {
	background-position: center!important;
}

#footer .footer-nav a {
	padding: 5px;
	display: inline-block;
}
.copyright-text {
	font-size: 13px;
	text-transform: none;
}
#footer .social-icons {
	float: none;
	display: inline-block;
}

p.fadeInUp {
	color: #404040!important;
}

.owl-carousel.dots-creative .owl-dots .owl-dot span:after,
.owl-carousel.dots-creative .owl-dots .owl-dot span  {
	background-color: #404040;
}

.pricing-table .plan.featured {
	box-shadow: none;
	margin-bottom: 0px;
}
.plan-header img{
	height: 150px;
}

.plan-button .btn.btn-light:hover {
	background-color: #404040!important;
}

#header-wrap {
	box-shadow: 0px 0px 5px #000;
}

#page-title {
	padding: 120px 0;
}

#page-title .overlay {
	position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#page-title .page-title>h1,
#page-title .page-title>span{
	color: #fff;
	opacity: 1;
	text-shadow: 2px 2px 5px #000;
}

.page-title h1{
	font-family: Raleway, serif !important;
	text-align: center;
	margin-top: 50px;
	font-weight: 700 !important;
    font-size: 85px !important;
    letter-spacing: 0px !important;
}

@media (max-width: 991px) {
	.page-title h1 {
		font-size: 40px !important;
	}
}

.page-title h4 {
	text-align: center;
	margin-top: -30px;
	line-height: 2em;
	color: #fff !important;
	font-weight: 300;
}

.portfolio-item .portfolio-image img{
	position: relative;
	transition: all .5s ease-out;
	width: auto;
	z-index: 1;
	display: block;
	height: auto;
	margin: 0 auto;
}
.pricing-table .plan-list ul li {
    line-height: 1.5em;
    padding: 12px 0;
}
.grid-item:not(.no-overlay):hover .grid-image:after, .grid-item:not(.no-overlay):hover .grid-slider .owl-stage-outer:after, .grid-item:not(.no-overlay):hover .grid-video:after, .grid-item:not(.no-overlay):hover .portfolio-image:after, .grid-item:not(.no-overlay):hover .portfolio-slider .owl-stage-outer:after, .grid-item:not(.no-overlay):hover .portfolio-video:after, .portfolio-item:not(.no-overlay):hover .grid-image:after, .portfolio-item:not(.no-overlay):hover .grid-slider .owl-stage-outer:after, .portfolio-item:not(.no-overlay):hover .grid-video:after, .portfolio-item:not(.no-overlay):hover .portfolio-image:after, .portfolio-item:not(.no-overlay):hover .portfolio-slider .owl-stage-outer:after, .portfolio-item:not(.no-overlay):hover .portfolio-video:after {
    opacity: .75;
}
.slide-captions p {
    color: #FFF!important;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.5);
}
.background-overlay-dark:before {
	background: rgba(0, 0, 0, 0.3);
}
.fb-events .event {
    display: block;
    width: 45%;
    margin: 2.5%;
}
.fb-events .cover {
    width: 100%;
    border-radius: 3px;
}
.fb-events h2 {
    margin-bottom: 5px;
    font-size: 24px;
    margin-top: 10px;
    line-height: 22px;
}
.fb-events .time {
    font-weight: bold;
    background: #AC7E8B;
    border-radius: 5px;
    color: #FFF;
    padding: 5px 10px;
    margin: 10px 0;
    display: inline-block;
}
.fb-events .description {
	font-size: 14px;
	line-height: 22px;
}
@media(max-width: 640px) {
	.fb-events .event {
	    width: 100%;
	    margin: 30px 0;
	}
}

/* ----------------------------------------------------------------
	CSS Personalizzato
-----------------------------------------------------------------*/

.responsive { max-width: 100%; }

.space30 { margin-bottom: 30px!important; }
.space60 { margin-bottom: 60px!important; }
.space90 { margin-bottom: 90px!important; }

#topbar, section {
	background-color: transparent!important;
	padding: 40px 0;
}

.img-fluid { max-width: 100%; height: auto; }

.has-center { text-align: center; }

.no-margin { margin: 0; }
.no-padding { padding: 0; }
.heading .btn+.btn {
	margin-left: 0px;
}

.border-box {
	border: 1px solid;
    padding: 5px 10px;
}

/* SAI Color */
.color-mobility {
	background-color: #308992;
	border-color: #308992;
}
.color-home {
	background-color: #629419;
	border-color: #629419;
}
.color-work {
	background-color: #d79b00;
	border-color: #d79b00;
}
.color-protection {
	background-color: #c35619;
	border-color: #c35619;
}
.color-economy {
	background-color: #812d5a;
	border-color: #812d5a;
}
.color-rent {
	background-color: #a02b97;
	border-color: #a02b97;
}

/* SAI Icons */
@font-face {
	font-family: 'Unipol Icon';
	src: url('../font/unipol-icon.ttf');
}
.unipol-icon:before {
	font-family: 'Unipol Icon'!important;
}
.unipol-icon.icon-mobilita:before {
	content: "\e926";
}
.unipol-icon.icon-casa:before {
	content: "\e925";
}
.unipol-icon.icon-lavoro:before {
	content: "\e924"
}
.unipol-icon.icon-protezione:before {
	content: "\e927";
}
.unipol-icon.icon-risparmio:before {
	content: "\e928";
}

#section3 .container .row .col-xs-6 {
	clear: none;
}

.team-members .team-member .team-image>img {
	width: 70%;
	border-radius: 10px;
}

/* responsive-fix review */
#reviews blockquote.review.blockquote-color.text-light {
    height: 350px;
}
@media screen and (max-width: 1199px){
	#reviews blockquote.review.blockquote-color.text-light {
		height: 365px;
	}
}
@media screen and (max-width: 991px){
	#reviews blockquote.review.blockquote-color.text-light {
		height: 415px;
	}
	#footer div {
		text-align: center!important;
	}
	#mainMenu nav>ul>li .dropdown-menu { 
		visibility: visible;
		height: auto;
		max-height: 300px !important;
		opacity: 1!important;
	}
}
@media screen and (max-width: 767px){
	#reviews blockquote.review.blockquote-color.text-light {
		height: 100%;
	}
}

#footer.footer-dark {
	border: none;
}

/* Logo */
#header #header-wrap #logo .logo {
    display: grid;
    
}
#header #header-wrap #logo .logo-text {
    font-size: 10px;
    line-height: 15px;
    height: 15px;
}
#header #header-wrap #logo a>img {
    height: 60px;
    width: auto;
}