#sp-header .sp-megamenu-parent > li > a {
    color: #3198D2;
    font-size: 16px;
    margin-right: 30px;
    font-family: Aldrich;
    
}
 
 
#offcanvas-toggler > .fa:hover{
    color: #021E45;
    font-weight: 500;
 
}
 
 
.offcanvas-menu .offcanvas-inner .sp-module ul > li a:before{
    background-color: #021E45;
}
 
 
.offcanvas-menu .offcanvas-inner .sp-module ul > li a:before {
    background-color: #3198D2;
}
 
 
.offcanvas-menu .offcanvas-inner .sp-module ul > li a:hover{
    color: #171717;
}
 
 
#sp-header:not(.header-sticky){
    background: #fff !important;
    
 
}
 
 
#sp-header.header-sticky {
    background: #fff !important;
    
 
}

.content-style .sppb-btn-success{
	border: 0px;
    background: #021E45;
	font-weight: 500;
	font-size: 18px;
	
}

.font h3{
	font-size: 20px;
}

.title h3{
	font-size: 30px;
}

.font-image {
	padding: 30px;
	color: #ffffff;
	background: #212529;
	border-radius: 5px;
	opacity: 0.9;
	margin-bottom: 0;
	font-size: 18px;
	
}
a {
    color: #3198D2;
}
a:hover {
    color: #021E45;
}

#sp-footer .sp-copyright {
	color: #ffffff;
}

.font-servizi h3{
	font-size: 18px;
}
.com-sppagebuilder #sp-main-body {
	    margin-top: 86px;
}
.img-servizi img{
	border-radius: 100%;
}
.font-size-services h3 {
	font-size: 18px;
}
.sppb-ajax-contact-content .sppb-form-group .sppb-form-control{
	border: 1px solid #E1E1E1;
}
.sppb-ajax-contact-content .sppb-form-group .sppb-form-control:hover {
	border-color: #3198D2;
}
.sppb-ajax-contact-content .sppb-form-group {
	margin-bottom: 20px;
}
.sppb-ajax-contact-content .sppb-form-group .sppb-form-control {
	padding: 5px 20px;
}
.sppb-btn-success {
	background: #3198D2;
	border: 0px;
}
.sppb-btn-success:hover {
	border: 0px;
	background: #3198D2;
	
}
#sppb-addon-1536918850776 .sppb-divider {
	border-bottom-color: #021E45;
	border-image: unset;
	
}

.p-services {
	margin-bottom: 0;
}
.sppb-divider {
	border-bottom-color: #021E45;
	border-image: unset;
}

.image-fade {
	opacity: 1;
	display: block;
	width: 100%;
	transition: .5s ease;
	backface-visibility: hidden;
	

}

.image-fade:hover {
	opacity: 0.5;
	
}
.button-homep {
	padding: 20px;
	font-size: 20px;
	height: 57px;
	width: 400px;
}

#sp-footer, #sp-bottom {
	background: #252525;
}

.sp-scroll-up {
	background: #252525;
}

.materials-img img {
	border-radius: 100%;
}


#offcanvas-toggler > .fa {
	color: #021E45;
	margin-right: 15px;
}

#sp-header{
	padding: 0 !important;
}
#sp-header .row>*{
	transition: 250ms;
}
#sp-header .sp-megamenu-parent > li{
	padding: 0;
}

#sp-header .sp-megamenu-parent > li > a{
	padding: 19px 20px;
}


#sp-header .sp-megamenu-parent > li > a:hover {
	background: #3198D2;
	color: #fff;
}
.sp-megamenu-parent > li.active > a {
	background: #3198D2;
	color: #fff !important;
}

#sp-header:not(.header-sticky) .row>*{
	padding: 13px 0;
}
#sp-header.header-sticky .row>*{
	padding: 5px 0;
}
.offcanvas-menu .offcanvas-inner .sp-module ul > li a, .offcanvas-menu .offcanvas-inner .sp-module ul > li span {
	font-family: Aldrich;
}
#sp-logo{
	background-color: #3198D2;
	position: relative;
}
#sp-logo:before{
	content: '';
	position: absolute;
	left: -500%;
	background-color: #3198D2;
	right: 100%;
	top: 0;
	bottom: 0;
}

#sp-logo:after{
	content: '';
    position: absolute;
    right: -70px;
    top: 0px;
    bottom: 0;
    border-top: 86px solid #3198D2;
    border-right: 70px solid transparent;
	transition: 250ms;
}
#sp-header.header-sticky #sp-logo:after{
	border-top: 70px solid #3198D2;
}


.sppb-btn-success {
	position: relative;
	overflow: hidden;
	z-index: 1;
	color: #fff;
	font-family: Aldrich;
	font-size: 16px;
	font-weight: 400;
	transition: 500ms;
}

.sppb-btn-success:before {
	content: '';
	position: absolute;
	top: 0;
    bottom: 0;
    width: 50%;
    left: 0;
	z-index: -1;
	border-top: 86px solid transparent;
    border-right: 70px solid transparent;
	color: #3198D2;
	transition: 500ms;
}

.sppb-btn-success:hover{
	color: #3198D2 !important;
}
.sppb-btn-success:hover:before {
    /*width: 385px;*/
	width: 75%;
	border-top: 86px solid #fff;
}

.title-slide {
    color: #fff; 
	margin-bottom: 0;
	/*background: #fff;*/
	font-size: 100px;
	font-family: Aldrich;
	line-height: 0.1;
}

.text-slide {
	position: relative;
	overflow: hidden;
	transition: 500ms;
	/*background: #fff;*/
	color: #fff; 
	z-index: 1;
	padding: 5px;


}
.text-slide.animazione:before {
	opacity: 0.7;

}

.text-slide.animazione:after {
	width: 30%;
	border-left: 138px solid transparent;
}
.text-slide:before{
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	background: #FFFFFF;
	z-index: -1;
	opacity: 0;
	transition: 500ms;
}
.text-slide .sppb-addon-content {
	opacity: 0;
	transition: 500ms;
	margin-right: -50px;
}

.text-slide.animazione .sppb-addon-content {
	opacity: 1;
	margin-right: 0;
}

.text-slide:after {
	content: '';
	position: absolute;
	top:0 ;
	bottom: 0;
	right: 0;
	z-index: -1;
	/*background: #188794;*/
	border-top: 179px solid #3198D2;
	border-left: 0px solid transparent;
	width: 0%;
	transition: 500ms;
}

@media screen and (max-width: 1800px){
	.text-slide.animazione:after {
	width: 60%;
}
}
@media screen and (max-width: 1670px){
	.text-slide.animazione:after {
	width: 60%;
}
}
@media screen and (max-width: 1255px){
	.text-slide.animazione:after {
	width: 60%;
}
.text-slide h3 {
		font-size: 28px;
}
}
@media screen and (max-width: 900px){
	.text-slide.animazione:after {
	width: 93%;	
	transition: 500ms;
}
	.text-slide h3 {
	font-size: 23px;
}
}
@media screen and (max-width: 375px){
	.text-slide.animazione:after {
	width: 100%;	
}
	.text-slide h3 {
	font-size: 19px;
}
}

@media screen and (max-width: 500px) {
	span.liltitle {
		font-size: 18px !important;
	}
}


.sppb-section.materiali {
    overflow: hidden;
}

.sppb-section.materiali:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: -200%;
	left: 0;
    opacity: 1;
    transform: rotate(115deg);
/*	background: rgba(255, 255, 255, 0.13);*/
    /*background: linear-gradient( to right, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.13) 77%, rgba(255, 255, 255, 0.5) 92%, rgba(255, 255, 255, 0.0) 100%);*/
    animation: shine 6s 4s infinite;
	background: linear-gradient(to bottom, rgba(255,255,255,0) 17%,rgba(255,255,255,0.4) 51%,rgba(255,255,255,0) 86%);
	/*background: #fff;*/
	
	
}

@keyframes shine {
	25% {
		opacity: 0.5;
	    right: 250%;
		left: -50%;
		background: linear-gradient(to bottom, rgba(255,255,255,0) 17%,rgba(255,255,255,0.2) 51%,rgba(255,255,255,0) 86%);
        /*background: #fff;*/
	}
	50% {
		opacity: 1;
	    right: 250%;
		left: -50%;
		background: linear-gradient(to bottom, rgba(255,255,255,0) 17%,rgba(255,255,255,0.6) 51%,rgba(255,255,255,0) 86%);
        /*background: #fff;*/
	}


	100% {
		opacity: 0.5;
	    right: 250%;
		left: -50%;
		background: linear-gradient(to bottom, rgba(255,255,255,0) 17%,rgba(255,255,255,0.4) 51%,rgba(255,255,255,0) 86%);
        /*background: #fff;*/
	}
}


.speasyimagegallery-album-title  {
	font-family: Aldrich;
	font-size: 16px;
	
}

.speasyimagegallery-gallery-item:hover .speasyimagegallery-gallery-item-content {
	display: none;
}

.liltitle{
	font-size:1.5rem;
	line-height: 1;
}

.halfline{
	    line-height: 1;
}
.speasyimagegallery-image-title {
	display: none !important;
}




