/*
CTC Separate Stylesheet
Updated: 2023-03-02 09:45:29
*/
@font-face {
    font-family: 'HafferMedium';
    src: url('/wp-content/themes/EGPbs5-child/fonts/HafferXH-Medium.woff');
}
@font-face {
    font-family: 'HafferRegular';
    src: url('/wp-content/themes/EGPbs5-child/fonts/HafferXH-Regular.woff');
}

/**** GENERAL STYLES ****/
.white{
    color:white!important;
}
.white-bg{
    background-color:white!important;
}
.black{
    color:black!important;
}
.black-bg{
    background-color:black!important;
}
.transparent-bg{
    background-color:transparent!important;
}
.light{
    font-weight: 300!important;
}
.bold{
    font-weight: 700!important;
}

.video-container {
    width: 100%;
    height: 100vh;
    position: relative;
	display: flex;
	justify-content: center;
  	flex-direction: column;
}

.video-container video {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  z-index: 0;
}

.overlay{
	opacity: 0.25;
	height: 100%;
	position: absolute;
	top: 0;
	width: 100%;
	left: 0;
	background: #212121;
}
.overlay-gradient{
    opacity: 0.4;
	height: 100%;
	position: absolute;
	top: 0;
	width: 100%;
	left: 0;
	background: linear-gradient(0deg, #232323 30%, transparent 100%);
}
.av-center{
	display: flex!important;
    justify-content: center;
    flex-direction: column;
}
.av-bottom{
	display: flex!important;
    justify-content: end;
    flex-direction: column;
}
.photo-bg{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.imgborderrounded{
    border-radius: 15px;
}

.copertina{
	background-size:cover; 
	background-position:center; 
	background-repeat:no-repeat; 
	height:400px;
}

.splide__arrow--prev, .splide__arrow--next{
    background-color: transparent;
    width: 50px!important;
    height: 50px!important;
    border-radius: 100%!important;
    border: 1px solid #3391ff;
    color: #3391ff;
}

.splide__arrow--prev{
    left: 50%;
    margin-left: -60px;
    margin-top: 35px;
}
.splide__arrow--next{
    left: 50%;
    margin-left: 10px;
    margin-top: 35px;
}

.splide__arrow--prev:before{
    color: inherit;
    font-family: "Font Awesome 5 Pro";
    font-weight: 500;
    content: "\f060";
}
.splide__arrow--next:before{
    color: inherit;
    font-family: "Font Awesome 5 Pro";
    font-weight: 500;
    content: "\f061";
}
.splide__arrow svg{
    display: none;
}
.splide__arrow--prev:hover, .splide__arrow--next:hover{
    color: white;
    background-color: #3391ff;
}
/*
.owl-prev, .splide__arrow--prev{
    left: -30px!important;
}
.owl-next, .splide__arrow--next{
    right: -30px!important;
}
*/
#submenu-search{
    display: none;
}
section{
    position: relative;
}
.roundborder{
	border-radius: 8px;
}


/**** SPECIFIC STYLES ****/

body,
html {
    font-family: 'HafferRegular', sans-serif;
    color: black;
    font-size: 18px;
}
.negative *{
    color:white!important;
}

a{
    color: #006ff1;
    text-decoration: none;
}

.sa_hover_container a:hover{
    text-decoration: underline;
}

#masthead{
	position: fixed;
    width: 100%;
    z-index: 10;
    top:0;
}
#topbar{
    transition: 0.3s;
    position: relative;
    background-color: rgba(0,0,0,1);
    color: white;
    font-weight:500;
    font-size:14px;
    line-height:14px;
}
.home #topbar{
    background-color: rgba(0,0,0,.3);
}
#topbar a{
    color: white;
}
.navbar-nav li{
	padding: 6px 18px;
    font-size: 16px;
}
#mega-menu-wrap-header #mega-menu-header > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link{
    line-height: 22px;
}
.b-top{
    border-top: 1px solid #006ff1;
}
#navigation .logotype{
    content: url("/wp-content/themes/EGPbs5-child/images/logo.svg");
    width: 100%;
    max-width: 160px;
}
#navigation.transparent .logotype, #navigation.theme-black .logotype{
    content: url("/wp-content/themes/EGPbs5-child/images/logo_neg.svg");
    width: 100%;
    max-width: 160px;
}
/*
#navigation.theme-maincolor .logotype{
    content: url("/wp-content/themes/EGPbs5-child/images/logo.svg");
    width: 100%;
    max-width: 160px;
}
*/
#magnify{
    color: #333333;
}
#buttonmagnify{
    border: 0;
    background: transparent;
}
#navigation.transparent #magnify, #navigation.theme-black #magnify, #navigation.theme-maincolor #magnify, 
#navigation.transparent #menu-button, #navigation.theme-black #menu-button, #navigation.theme-maincolor #menu-button {
    color:white;
}
#navigation .navbar-nav li a{
    font-family: 'HafferMedium', sans-serif;
	color: #333333;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
#navigation .navbar-nav li.current_page_item a::after{
	content: "";
    display: block;
    width: 6px;
    height: 6px;
    background-color: #006ff1;
    border-radius: 50px;
    margin-left: 50%;
    margin-top: 6px;
}
.home #navigation.transparent .navbar-nav li a, #navigation.theme-black .navbar-nav li a, #navigation.theme-maincolor .navbar-nav li a{
    color: white;
}

#navigation{
    background-color: white;
}
#navigation.transparent{
    background-color: transparent;
}
#navigation.theme-black{
    background-color: black;
}
#navigation.theme-maincolor{
    background: linear-gradient(90deg, #006ff1 30%, #3391ff 85%);
}
.submenuheader .fas, .submenuheader .fa-solid {
    font-weight: 300;
}
.navbar-nav .sub-menu{
    display: none;
}
#menu-button{
    font-size: 30px!important;
    font-weight: 300;
}
#main-content{
    margin-top: 100px;
}
.home #main-content{
    margin-top: 0px;
}

.fbc-page .fbc-wrap .fbc-items li:first-child{
    padding-left: 0;
}
/*
.theme-black .bc{
    background-color: black;
}
.theme-maincolor .bc{
    background: linear-gradient(90deg, #006ff1 30%, #3391ff 85%);
}
*/
.bc{
    position: absolute;
    /*top: 100px;*/
    z-index: 1;
    width: 100%;
    padding-top: 5px;
}
.theme-maincolor .fbc-page .fbc-wrap .fbc-items li a, .theme-maincolor .fbc-page .fbc-wrap .fbc-items li.active span, .theme-maincolor .fbc-page .fbc-wrap .fbc-items li .fbc-end-text,
.theme-black .fbc-page .fbc-wrap .fbc-items li a, .theme-black .fbc-page .fbc-wrap .fbc-items li.active span, .theme-black .fbc-page .fbc-wrap .fbc-items li .fbc-end-text{
    color: white!important;
}

.fbc-page .fbc-wrap .fbc-items{
    font-family: 'HafferRegular', sans-serif;
}

.sliderimg{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    min-height: 400px;
    max-height: 600px;
    border-radius: 300px 0 0 300px;
}
/* FONTS */
.intestazione h1, .intestazione .title{
    font-family: 'HafferMedium', sans-serif;
    font-size: 104px;
    line-height: 114px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
}
.sottotitolo{
    font-family: 'HafferMedium', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
}

h1,.colonna_title{
    font-family: 'HafferMedium', sans-serif;
    font-size: 56px;
    font-weight: 500;
    line-height: 78px;
}
h2{
    font-family: 'HafferMedium', sans-serif;
    font-size: 40px;
    font-weight: 500;
}
h3{
    font-family: 'HafferMedium', sans-serif;
    font-size: 28px;
    font-weight: 500;
}
h3.submenutitle{
    font-family: 'HafferMedium', sans-serif;
    font-size: 40px;
    font-weight: 500;
}
h4, .negative h4{
    font-family: 'HafferMedium', sans-serif;
    font-size: 28px;
    color: #006ff1!important;
}
h5{
    font-size: 16px;
    text-transform: uppercase;
    color: #006ff1;
}
h1 span, h2 span, h3 span, p span{
    color: #006ff1;
}
.occhiello, .negative .occhiello{
    font-size: 16px;
    color: #006ff1!important;
    text-transform: uppercase;
}

.maincolor-bg h4, .maincolor-bg .negative h4, .maincolor-bg h5, .maincolor-bg .negative h5{
    color: white!important;
}

.tpl-title-default{
    font-family: 'HafferMedium', sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: 56px;
}
.tpl-title-piccolo{
    font-family: 'HafferMedium', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.tpl-title-medio{
    font-family: 'HafferMedium', sans-serif;
    font-size: 52px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.tpl-title-grande{
    font-family: 'HafferMedium', sans-serif;
    font-size: 72px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/* END FONTS */

/* COLORS */
.maincolor{
    color: #006ff1!important;
}
.maincolor-bg{
    background-color: #006ff1!important;
    background-image: linear-gradient(90deg, #006ff1 30%, #3391ff 85%);
}
.grey-bg{
    background-color: #F5F5F8!important;
}
.maincolor-border{
    border: solid 1px #006ff1!important;
}
.maincolor-bb{
    border-bottom: solid 1px #006ff1!important;
}
.gradientbw-bg{
    background-color: black; /* For browsers that do not support gradients */
    background-image: linear-gradient(180deg, black 50%, white 50%);
}
.gradientwb-bg{
    background-color: white; /* For browsers that do not support gradients */
    background-image: linear-gradient(180deg, white 50%, black 50%);
}
.gradientbg-bg{
    background-color: black; /* For browsers that do not support gradients */
    background-image: linear-gradient( to bottom, black 50%, transparent 50%),linear-gradient(90deg, #006ff1 30%, #3391ff 85%);
}
.gradientgb-bg{
    background-color: #3391ff; /* For browsers that do not support gradients */
    background-image: linear-gradient( to bottom, transparent 50%, black 50%),linear-gradient(90deg, #F5F5F8 30%, #F5F5F8 85%);
}
.gradientgw-bg{
    background-color: #3391ff; /* For browsers that do not support gradients */
    background-image: linear-gradient( to bottom, transparent 50%, white 50%),linear-gradient(90deg, #F5F5F8 30%, #F5F5F8 85%);
}
.gradientwg-bg{
    background-color: white; /* For browsers that do not support gradients */
    background-image: linear-gradient( to bottom, white 50%, transparent 50%),linear-gradient(90deg, #F5F5F8 30%, #F5F5F8 85%);
}
.darksilver{
    color: #77788A!important;
}
/* END COLORS */

/* BUTTONS */
.main-button{
    font-family: 'HafferMedium', sans-serif;
    border-radius: 4px;
    border: solid 1px #006ff1!important;
    background-color: #006ff1!important;
    color: white!important;
    padding: 16px 24px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.main-button.smallbutton{
    padding: 11px 18px; 
    border-radius: 5px;
}
.main-button:hover, .main-button:active{
    border: solid 1px #006ff1!important;
    background-color: white!important;
    color: #006ff1!important;
}

.second-button{
    font-family: 'HafferMedium', sans-serif;
    border-radius: 4px;
    border: solid 1px black!important;
    background-color: black!important;
    color: white!important;
    padding: 16px 24px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.second-button:hover, .second-button:active{
    border: solid 1px black!important;
    background-color: white!important;
    color: black!important;
}

.negative .main-button, .negative .second-button{
    border: solid 1px white!important;
    background-color: white!important;
    color: #006ff1!important;
}
.negative .main-button:hover, .main-button:active{
    border: solid 1px black!important;
    background-color: black!important;
    color: white!important;
}
.negative .second-button:hover, .negative .second-button:active{
    border: solid 1px #006ff1!important;
    background-color: #006ff1!important;
    color: white!important;
}
.negative .main-button i, .negative .second-button i{
    color: #006ff1!important;
}
.negative .main-button:hover i, .main-button:active i, .negative .second-button:hover i, .negative .second-button:active i{
    color: white!important;
}
/* END BUTTONS */

img, svg{
    max-width:100%;
}

.text-bottom-over{
    position: absolute;
    bottom: 0;
}

.small p{
    margin-bottom:0;
}

.colonna_title h2.number{
    font-size: 3.5rem;
    font-weight: 900;
}

.colonna_title span{
    position: relative;
    text-transform: uppercase;
    min-height: 5px;
    display: block;
}
.borderbluend{
    border-right: 6px solid #1A9EDE;
}
.borderblustart{
    border-left: 6px solid #1A9EDE;
}

.titolo-sezione{
    font-family: 'HafferMedium', sans-serif;
    font-size: 48px;
    font-weight: 500;
    line-height: normal;
}
.sottotitolo-sezione{
    font-size: 32px;
}

.testo-sezione-sx{
    text-align: left;
    margin-right: 15%;
}
.testo-sezione-dx{
    text-align: right;
    margin-left: 15%;
}
.wpcf7-form label, .wpcf7-form .form-control{
    width: 100%;
    max-width: 100%;
}
.wpcf7-list-item{
    display: block;
    margin:5px 10px;
}
.form-control{
	padding: 6px 20px;
	border-radius: 100px;
	border: 1px solid rgba(0, 120, 179, 0.30);
	background-color: white;
	font-family: 'HafferMedium', sans-serif;
	font-size: 18px;
    width:100%;
	color: #006ff1;
}
textarea.form-control {
    border-radius: 20px;
}
.card-form {
	border-radius: 15px;
	border: 1px solid rgba(0, 120, 179, 0.30);
	background-color: white;
	font-family: 'HafferMedium', sans-serif;
	font-size: 18px;
    height: 100%;
}

.newsphoto-aggr{
    width:100%;
    min-height: 280px;
    background-position: center;
    background-repeat: no-repeat;
}

.shadowed{
    filter: drop-shadow(0px 16px 16px rgba(0,0,0,.3));
    -webkit-filter: drop-shadow(0px 16px 16px rgba(0,0,0,.3));
}

.banner{
    background: linear-gradient(0deg, #E5E4F0 30%, #ffffff 100%);
    padding: 15px;
    border-radius: 15px;
}

.accordion-item{
    background: transparent;
    border: 0;
    border-bottom: 1px solid #7A7A7A;
}
.accordion-item:first-child{
    border-top: 1px solid #7A7A7A;
}
.accordion-item:first-child, .accordion-item:last-child{
    border-radius: 0;
}
.accordion-button{
    font-size: 28px;
    padding: 30px 0;
    color: #006ff1!important;
}
.accordion-button:not(.collapsed){
    box-shadow: none;
}
.accordion-button.collapsed:after{
    font-family: 'Font Awesome 5 Pro';
    color: #006ff1;
    content: '+';
    font-size: 28px;
    font-weight: 100;
    height: 35px;
    background-image: none;
}
.accordion-button:not(.collapsed)::after{
    font-family: 'Font Awesome 5 Pro';
    color: #006ff1;
    content: '-';
    font-size: 28px;
    font-weight: 100;
    height: 35px;
    background-image: none;
}
.accordion-body{
    padding: 0 0 30px;
}

#galleryCarousel .carousel-indicators, #galleryCarouselMobile .carousel-indicators {
    left: 0;
    top: auto;
    bottom: -40px;
}
#galleryCarousel .carousel-indicators li, #galleryCarouselMobile .carousel-indicators li, .galleryModalCarousel .carousel-indicators li {
    background: #a3a3a3;
    box-sizing: inherit;
    border-radius: 50%;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    width: 12px;
    height: 12px;
}
#galleryCarousel .carousel-indicators .active, #galleryCarouselMobile .carousel-indicators .active, .galleryModalCarousel .carousel-indicators .active {
    background: #707070;
}
#galleryCarousel .carousel-control-prev, #galleryCarousel .carousel-control-next, #galleryCarouselMobile .carousel-control-prev, #galleryCarouselMobile .carousel-control-next, .galleryModalCarousel .carousel-control-prev, .galleryModalCarousel .carousel-control-next {
    width: 35px;
}
#galleryCarousel .carousel-control-prev-icon, #galleryCarousel .carousel-control-next-icon, #galleryCarouselMobile .carousel-control-prev-icon, #galleryCarouselMobile .carousel-control-next-icon, .galleryModalCarousel .carousel-control-prev-icon, .galleryModalCarousel .carousel-control-next-icon {
    background-color: black;
    width: 20px;
    height: 30px;
}
#galleryCarousel .carousel-item {
    height: 280px;
}
#galleryCarousel .carousel-item .gallery-col-md {
    margin: auto 0px;
}
#galleryCarousel .carousel-item img {
    cursor: pointer;
    max-width: 100%;
}
.gallery-modal img {
    min-width: 200px;
}
#galleryCarouselMobile .carousel-inner {
    width: 80%;
    margin: 0px auto;
}
#galleryCarouselMobile .carousel-inner p {
    font-size:14px!important;
    margin:10px!important;
    line-height:normal!important;
}
#galleryCarousel .carousel-inner p {
    font-size:14px!important;
    margin:10px!important;
    line-height:normal!important;
}
.galleryModalCarousel {
    position: fixed!important;
}

.col-box{
    background-color: #E5E4F0;
    border: 1px solid #006ff1;
    border-radius: 15px;
    width: 100%;
    margin: 0.5%;
    height: 100%;
}

.col-box div:first-child, .col-box a div:first-child{
    padding: 10px;
    width: 15%;
    height: 100%;
    float: left;
}
.col-box div:last-child, .col-box a div:last-child{
    padding: 10px;
    width: 85%;
    float: left;
}

.col-box p{
    margin-bottom: 0;
}

#btnfiltersbmt{
    border-radius: 50px;
    padding: 5px 10px;
}

.bgcard-text{
    font-size: 16px;
    position: absolute;
    bottom: 0;
    left: 0;
    display: none;
}
.bgcard:hover .overlay-gradient{
    opacity: 0.8;
}
.bgcard:hover .bgcard-text{
    display: block;
}
.photocard{
    border-radius: 15px;
    background-color: white;
    height: 100%;
}
.photocard img{
    border-radius: 15px 15px 0 0;
}

.photocard-photo {
    transition: transform .3s;
}
.photocard-photo:hover {
    transform: scale(1.2);
}

.photocard-title{
    color: #006ff1;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}
.photocard-text{
    font-family: 'HafferMedium';
    color: #333333;
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.photocard-link{
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.plaincard{
    border-radius: 16px;
    height: 100%;
    /*box-shadow: 0 4px 30px rgba(0,0,0,0.05);*/
    border: 1px solid #006ff1;

}
.plaincard-title{
    font-size: 24px; 
}
.plaincard-text{
    color: black;
    font-size: 16px; 
}
.plaincard-data, .plaintext-data{
    position: absolute;
    bottom: 15px;
    font-size: 16px;
    color: #9495B0;
}
.plaincard-cat{
    background: linear-gradient(90deg, #006ff1 30%, #3391FF 85%);
    font-size: 14px;
    color: white;
    text-transform: uppercase;
    padding: 4px 6px;
    display: inline-block;
    margin-right: 10px;
    border-radius: 4px;
}
.plaincard a, .plaincard a > i{
    color: #006ff1;
}
/*
.plaincard:hover{
    background: linear-gradient(90deg, #006ff1 30%, #3391ff 85%);
}
.plaincard:hover a{
    text-decoration: underline;
}
.plaincard:hover *{
    color: white;
}
*/
.logocard{
    border-radius: 5px;
    border: 1px solid #006ff1;
    height: 100%;
}
.logocard img{
    max-width: 100%;
    margin: auto;
}
.logocard-title{
    font-size: 40px;
    line-height: normal;
}
.photocard-title.big-title, .plaincard-title.big-title, .plaintext-title.big-title {
    font-size: 50px;
}
.boxes{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-position: center;
    background-size: cover;
}
.number-elenco, .negative .number-elenco{
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    border: 1px solid #006ff1!important;
    border-radius: 100%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
}
.title-elenco, .negative .title-elenco{
    font-family: 'HafferMedium';
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    color: #006ff1!important;
    line-height: 110%;
}
.elenco-content p{
    margin-bottom: 0!important;
    color: #777888;
    font-size: 20px;
}
.square:before{
    content: "";
    display: block;
    padding-top: 100%;  /* initial ratio of 1:1*/
}
.menuc-item{
    font-size: 16px;
}
.wpml-ls-legacy-list-horizontal{
    display: inline-block;
    padding:0!important;
    border: none!important;
}
.wpml-ls-legacy-list-horizontal a{
    padding:0!important;
}

.footer h4{
    font-size: 16px;
    font-weight: 500;
    color:white!important;
} 
.footer a{
    color:white!important;
}
.footer a:hover{
    text-decoration: underline;
}
.footer p{
    font-size: 15px;
}
.lowfooter{
    background: #141414;
}
.lowfooter p{
    font-size: 12px;
}
.overlapped{
    margin-top: -80px;
}

pre{
	background-color:#F6F6F7;
	border:1px solid #f2f3f4;
	padding: 5px 10px;
}

.page-item.active .page-link {
    color: #fff;
    background-color: #cccccc;
    border-color: #cccccc;
}

.page-link {
    color: #6C6C6C;
    background-color: #fff;
}
pre{
    background-color: #0070C6;
    color: white;
}

.carousel-control-next, .carousel-control-prev{
    width: auto;
}
.carousel-control-prev-icon, .carousel-control-next-icon{
    background-color: rgba(0,0,0,0.5)!important;
    padding-top: 4px;
    padding-bottom: 4px;
}

.vyt{
    max-width:800px;
    height:450px!important;
}
a.viewLink.viewLinkIMG img{
    display: none!important;
}

.tplmenu{
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.cit{
    background: linear-gradient(90deg, #006ff1 30%, #3391ff 85%);
    padding: 40px 0 40px 72px;
    color: white;
    border-radius: 10px;
}
.cit-text{
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
}
.cit-author{
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}
.cit-role{
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.cliente-preview{
    border-radius: 10px;
    border:1px solid #006ff1;
}
.caratteristica-cliente-label{
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    color: #9495B0;
}
.caratteristica-cliente-valore{
    font-size: 46px;
    font-weight: 600;
    line-height: normal;
    color: #006ff1;
}

.submenuheader, #submenu-search{
	position: fixed;
    width: 100%;
    background: white;
	border-bottom: 1px solid #f1f2fa;
    border-top: 1px solid #f1f2fa;
    font-size: 16px;
	z-index: 1021;
	display: none;
    box-shadow: 0px 20px 20px 0px rgba(0, 0, 0, 0.2); 
}
.submenuheader a{
	text-decoration: none;
    color:#012F2D;
}
.submenuheader a:hover {
    text-decoration: underline;
}
.submenuli{
    font-weight: 700;
    font-size: 18px;
    line-height: 18px;

}
.submenuli > span{
    color:#006ff1;
}
.subsubmenuli{
    font-weight: 500;
    font-size: 15px;
    line-height: 22px;
}

.subsubmenu{
    display:none;
}

.mm-menu--offcanvas.mm-menu--opened{
    z-index: 1000;
}

.ancora:before{ 
    content: ''; 
    display: block; 
    position: relative; 
    width: 0; 
    height: 100px; 
    margin-top: -100px; 
}

/*
.mm-slideout{
    position: absolute;
}
*/

#slider-servizi *{
    transition: .25s;
    transition-timing-function: ease-in-out;
}
    
.slidetitle{
    font-family: 'HafferMedium';
    font-size:40px;
}
.active .slidetitle{
    font-size:72px;
    line-height: normal;
}
.slidetext{
    display:none;
    font-size:22px;
}
.active .slidetext{
    display:block;
}
.slidelink{
    font-size:16px;
}
.disable-scroll{
    overflow-y: hidden;
}
.active .slideicon{
    padding-top: 12px;
}
.logocard h6{
    color:#77788A;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
}
.border-bottom{
    border-color: #9495B0;
}

.mm-menu--offcanvas.mm-menu--opened{
    max-width:370px;
    padding-top: 30px;
}
.search-input-group{
    width: 100%;
}
#search-input, .mm-searchfield__input input{
    background-color: #F5F5F8;
    border: 0;
    border-radius: 90px;
    height: 54px;
    width: 100%;
}
.search-input-group-append{
    position: absolute;
    right: 25px;
    margin-top: -19px;
    border:0;
    background: transparent;
}



/* FORM DYNAMICS */

.clickdform.mainDiv *{
    font-size:16px!important;
    font-family: 'HafferRegular', sans-serif!important;
}
.clickdform .responsiveCell div.alignBottom{
    text-align: left;
}

.clickdform input[type='text'], .clickdform textarea, .clickdform select{
    border: 1px solid #cdcdcd!important;
    border-radius: 5px;
    min-height: 36px;
    padding: 0 8px !important;
}

.clickdform .floatLeft{
    margin-right: 10px;
}

.responsiveRow{
    margin-bottom:15px;
    display: inline-flex;
}

.buttonContainer{
    position: absolute;
    width: 170px;
    margin: auto !important;
    left: 50%;
    margin-left: -85px !important;
    margin-top: -40px !important;
}

#btnSubmit{
    font-family: 'HafferMedium', sans-serif;
    border-radius: 4px;
    border: solid 1px #006ff1!important;
    background-color: #006ff1!important;
    color: white!important;
    padding: 16px 24px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
#btnSubmit:hover, #btnSubmit:active{
    border: solid 1px #006ff1!important;
    background-color: white!important;
    color: #006ff1!important;
}


/*Menu mobile*/
#mobilemenu-container{
    overflow-x:hidden;
    min-height: 100%;
    display: none;
    top: 0;
    padding-top:90px;
    background-color: white;
}
#mobilemenu{
    left: 100%;
    top: 10px;
    width:100%;
}
.submenumobile{
    left: 100%;
    top: 0;
    width:100%;
    min-height: 100%;
    background-color: white;
}
.submenumobile{
    position: absolute;
    transition: all 0.5s;
}

.menuvisible{
    left:0!important;
}
.menuinvisible{
    left:1000!important;
}

.mobilemenulink{
    display: inline-block;
    min-width: 75%;
    padding: 14px;
}
.buttonlang-container{
    position: absolute;
    bottom: 15px;
}
.buttonlang{
    background-color: #006ff1;
    border-radius: 50px;
    padding: 6px 16px;
}
.buttonlang .wpml-ls-link{
    color:white;
}

.timeline-title{
    font-size: 48px;
    font-weight: 700;
    line-height: 58px;
    text-align: left;
}
.dot{
	display: inline-block;
    position: relative;
    width: 28px;
    height: 28px;
    border: 3px solid white;
    background-color: transparent;
    border-radius: 50%;
    margin: 30px 0;
}

.linkright {
	position: relative;
    width: 100%;
    border-bottom: 2px solid;
    bottom: 52px;
    /*left: 50%;*/
    z-index: 0;
    margin-left: 27px;
}

.splide__arrows{
    position: absolute;
    bottom: 0;
    width: 100%;
}

@media (max-width:991px){
    #navigation.transparent .logotype, #navigation.theme-black .logotype, #navigation.theme-maincolor .logotype{
        content: url("/wp-content/themes/EGPbs5-child/images/logo.svg");
        width: 100%;
        max-width: 160px;
        width: 160px;
    }
    #navigation.transparent #magnify, #navigation.theme-black #magnify, #navigation.theme-maincolor #magnify, 
    #navigation.transparent #menu-button, #navigation.theme-black #menu-button, #navigation.theme-maincolor #menu-button {
        color:#333333;
    }
    #navigation.transparent, #navigation.theme-black, #navigation.theme-maincolor{
        background: white;
    }
    .search-input-group-append {
        margin-top: -20px;
    }
}

@media (max-width:767px){
    .testo-sezione-sx, .testo-sezione-dx{
        position: relative;
        text-align: left;
        margin-left: 0;
    }
	.intestazione h1, .intestazione .title,.tpl-title-default,.tpl-title-grande,.slidetitle,h1,.colonna_title {
		font-size: 42px;
	}
	.single .copertina{
		min-height:600px;
	}
    .bc{
        display: none;
    }
    .cit{
        padding: 30px 20px 30px 20px;
    }
    .responsiveCellSize3 {
        width: 100%!important;
        min-width: 100%!important;
    }
    .clickdform .minSize3 {
        width: 100%!important;
        min-width: 100%!important;
    }
    .clickdform .responsiveCell div.alignTop{
        display: block!important;
    }
    .responsiveRow{
        display: inline;
    }
    .linkright{
		display: none;
	}
}

@media (max-width:575px){
    #main-content{
        margin-top: 60px;
    }
    html {
        font-size: 16px;
    }
    #navigation .logotype{
        width: 210px;
    }
	.intestazione h1, .intestazione .title,.tpl-title-default,.tpl-title-grande,.slidetitle,h1,.colonna_title, .active .tpl-title-grande, .active .slidetitle {
		font-size: 46px;
        line-height: 56px;
	}

    h2{
        font-size: 34px;
    }
    h3{
        font-size: 28px;
    }
    h4{
        font-size: 24px;
    }
	.col-box{
		min-width: 28%;
	}
	.form-control{
		max-width: 100%;
	}
    .vyt{
        height:300px!important;
    }
    #search-form-alt{
        display: none;
    }
    .number-elenco, .negative .number-elenco{
        width: 40px;
        height: 40px;
        line-height: 40px;
    }
    .title-elenco, .negative .title-elenco{
        font-size: 28px;
    }
    .accordion-button { 
        font-size: 24px; 
    } 
    .logocard h2{
        font-size: 36px; 
    }
}
