/*
CTC Separate Stylesheet
Updated: 2023-03-02 09:45:29
*/
@font-face {
    font-family: 'Titillium';
    src: url('/wp-content/themes/EGPbs5-child/fonts/TitilliumWeb-Regular.ttf');
}
/*
@font-face {
    font-family: 'Lora';
    src: url('/wp-content/themes/EGPbs5-child/fonts/Lora-Regular.ttf');
}
*/

/**** 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-home {
    width: 100%;
    height: 100%;
    position: absolute;
	display: flex;
	justify-content: center;
  	flex-direction: column;
}
.video-container video, .video-container-home 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: #14396C;
    width: 50px!important;
    height: 50px!important;
    border-radius: 100%!important;
    border: 1px solid #14396C;
    color: white;
}
.splide__arrow--prev{
    top: -40px;
    right: 75px;
    left: auto;
}
.splide__arrow--next{
    top: -40px;
    right: 15px;
}

.splide__arrow--prev:before{
    color: inherit;
    font-family: "Font Awesome 7 Free";
    font-style: normal;
    font-weight: 900;
    content: "\f060";
}
.splide__arrow--next:before{
    color: white;
    font-family: "Font Awesome 7 Free";
    font-style: normal;
    font-weight: 900;
    content: "\f061";
}
.splide__arrow svg{
    display: none;
}
.splide__arrow--prev:hover, .splide__arrow--next:hover{
    background-color: #14396Cdd;
}
/*
.owl-prev, .splide__arrow--prev{
    left: -30px!important;
}
.owl-next, .splide__arrow--next{
    right: -30px!important;
}
*/
#submenu-search{
    display: none;
}
section{
    position: relative;
}

.assoluto {
    position: absolute;
    width: 100%;
}
.fisso {
    position: fixed;
    width: 100%;
}



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

body,
html {
    font-family: 'Titillium', sans-serif;
    background-image: none;
    background-color: white;
    color: black;
    font-size: 20px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 10000;
    padding: 12px 16px;
    background-color: white;
    color: black;
}

.skip-link:focus {
    top: 16px;
}

#wrapper{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.transient-bgon{
    background: linear-gradient(45deg, #5B19E8 30%, #000000 95%);
    -webkit-animation: accensione 2s ; /* Chrome, Safari, Opera */
    animation: accensione 2s ;
}
.transient-bgoff{
    background: linear-gradient(45deg, #5B19E8 30%, #000000 95%);
    -webkit-animation: spegnimento 1s ; /* Chrome, Safari, Opera */
    animation: spegnimento 1s ;
    opacity: 0;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes accensione {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Standard syntax */
@keyframes accensione {
    from {opacity: 0;}
    to {opacity: 1;}
}
/* Chrome, Safari, Opera */
@-webkit-keyframes spegnimento {
    from {opacity: 1;}
    to {opacity: 0;}
}
    
/* Standard syntax */
@keyframes spegnimento {
    from {opacity: 1;}
    to {opacity: 0;}
}


.dark *{
    color:black!important;
}
.negative *{
    color:white!important;
}

a{
    color: #017759;
    font-weight: 700;
    text-decoration: none;
}
p a{
    text-decoration: underline;
}

.sa_hover_container a:hover{
    text-decoration: underline;
}
p, #main-content ul > li, #main-content ol > li {
    margin-bottom: 1.5rem;
}

#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;
}

#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 #000000;
}
#navigation .logotype{
    width: auto;
}

#magnify{
    color: white;
    cursor: pointer;
    border: 0;
    padding-left: 0;
    padding-right: 0;
    background-color: transparent;
}
#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:black;
}
#navigation .navbar-nav li a{
	padding: 7px 16px;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    color: black!important;
}
#navigation .navbar-nav li a:hover, #navigation .navbar-nav li.current_page_item a{
	color: #017759!important;
}
.home #navigation.transparent .navbar-nav li a, #navigation.theme-black .navbar-nav li a, #navigation.theme-maincolor .navbar-nav li a{
    color: black;
}

#navigation{
    background-color: white;
}
/*
#navigation.transparent{
    background-color: transparent;
}*/
#navigation.theme-black{
    background-color: black;
}
#navigation.theme-maincolor{
    background: linear-gradient(45deg, #5B19E8 30%, #000000 95%);
}
.submenuheader .fas, .submenuheader .fa-solid {
    font-weight: 300;
}
.megamenu-submenu-toggle{
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    font-size: inherit;
}
.navbar-nav .sub-menu{
    display: none;
}
#menu-button{
    font-size: 30px!important;
    font-weight: 300;
}
#main-content{
    margin-top: 200px;
}

.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, #000000 30%, #5B19E8 85%);
}
*/
.bc{
    position: relative;
    /*top: 100px;*/
    z-index: 1;
    width: 100%;
    padding: 6px 0;
}
.deda-breadcrumbs{
    font-size: 16px;
}
.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: 'Titillium', 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 */
.occhiello{
    font-size: 16px;
}

.sottotitolo{
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
}

h1, .h1, .colonna_title{
    font-size: 48px;
    line-height: 110%;
    font-weight: 700;
}
h2, .h2{
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
    color: #017759;
}
h3, .h3, .subtitle, h3.submenutitle{
    font-size: 28px;
    font-weight: 500;
}
h4, .h4, .negative h4{
    font-size: 24px;
}
h5, .h5, .negative h5{
    font-size: 16px;
    color: #000000!important;
    text-transform: uppercase;
}

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

.tpl-title-default{
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 56px;
    margin-bottom: 20px;
}
.tpl-title-small{
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.tpl-title-medium{
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.tpl-title-big{
    font-size: 56px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.gradient-title .colonna_title {
    color: #000000;
    background: -webkit-linear-gradient(180deg, #000000 30%, #017759 90%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* END FONTS */

/* COLORS */
.maincolor{
    color: #017759;
    background: -webkit-linear-gradient(180deg, #017759 30%, #017759 90%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.maincolor-bg, .light-bg{
    background-color: #E3F9F6!important;
}
.grey-bg{
    background-color: #393939!important;
}
.blue-bg{
    background-color: #14396C!important;
}
.maincolor-bb{
    padding-bottom: 1px;
    background: linear-gradient(to right, #017759 0%, #017759 100%) left bottom transparent no-repeat; 
    background-size:100% 1px ;
}
.maingradient-bg{
    background: linear-gradient(45deg, #06A08E 30%, #06A078 95%);
}

.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, #000000 30%, #5B19E8 85%);
}
.gradientgb-bg{
    background-color: #5B19E8; /* For browsers that do not support gradients */
    background-image: linear-gradient( to bottom, transparent 50%, black 50%),linear-gradient(90deg, #000000 30%, #5B19E8 85%);
}
.gradientgw-bg{
    background-color: #5B19E8; /* For browsers that do not support gradients */
    background-image: linear-gradient( to bottom, transparent 50%, white 50%),linear-gradient(90deg, #000000 30%, #5B19E8 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, #000000 30%, #5B19E8 85%);
}
.darksilver{
    color: #77788A!important;
}

/* END COLORS */

/* BUTTONS */
.main-button{
    border-radius: 4px;
    border: solid 1px #14396C!important;
    background-color: #14396C!important;
    color: white!important;
    padding: 12px 24px;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    display: inline-block;
}
.main-button.smallbutton{
    padding: 11px 18px; 
    border-radius: 5px;
}
.main-button:hover, .main-button:active{
    border: solid 1px #14396C!important;
    background-color: transparent!important;
    color: #14396C!important;
}

.second-button{
    border-radius: 4px;
    border: solid 1px #017759!important;
    background-color: transparent!important;
    color: #017759!important;
    padding: 12px 24px;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    display: inline-block;
}
.second-button:hover, .second-button:active{
    border: solid 1px #017759!important;
    background-color: #017759!important;
    color: white!important;
}

.negative .main-button, .negative .second-button{
    border: solid 1px white!important;
    background-color: white!important;
    color: #14396C!important;
}
.negative .main-button:hover, .main-button:active{
    border: solid 1px white!important;
    background-color: white!important;
    color: #14396C!important;
}
.negative .second-button:hover, .negative .second-button:active{
    border: solid 1px #14396C!important;
    background-color: #14396C!important;
    color: white!important;
}
.negative .main-button i, .negative .second-button i{
    color: #14396C!important;
}
.negative .main-button:hover i, .main-button:active i, .negative .second-button:hover i, .negative .second-button:active i{
    color: #14396C!important;
}

.border-button {
    position: relative;
    color: white;
    border: 2px solid #14396C;
    border-radius: 30px;
    background: linear-gradient(#14396C, #14396C) padding-box, linear-gradient(to right, #017759 0%, #14396C 100%) border-box;
    padding: 8px 28px;
    white-space: nowrap;
    margin-bottom: 20px;
    display: inline-flex;
}

.border-button:hover {
    background: linear-gradient(#14396C, #14396C) padding-box, linear-gradient(to right, white 0%, white 100%) border-box;
}

.border-button.squared {
    border-radius: 5px;
    font-size: 16px;
    padding: 7px 21px;
    margin-bottom: 0px;
}



/* 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-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: 1px solid rgba(0, 120, 179, 0.30);
	background-color: white;
	font-size: 18px;
    width:100%;
	color: #000000;
    border-radius: 0px;
}
.card-form {
	border-radius: 15px;
	border: 1px solid rgba(0, 120, 179, 0.30);
	background-color: white;
	font-size: 18px;
    height: 100%;
}

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

th{
    background-color: #0079bc!important;
    color: #ffffff!important;
}

th, td{
    padding: 3px 6px;
}
.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(45deg, #5B19E8 30%, #000000 95%);
    padding: 15px;
    border-radius: 15px;
}

.accordion-item{
    background: transparent;
    border: 0;
    border-bottom: 1px solid #232323;
    color: white;
}
.accordion-item:first-child{
    border-top: 1px solid #232323;
}
.accordion-item:first-child, .accordion-item:last-child{
    border-radius: 0;
}
.accordion-button{
    font-size: 28px;
    padding: 30px 0;
    color: white;
}
.accordion-button:not(.collapsed){
    box-shadow: none;
    color: #000000!important;
}
.accordion-button.collapsed:after{
    font-family: 'Font Awesome 5 Pro';
    color: #000000;
    content: '+';
    font-size: 28px;
    font-weight: 100;
    height: 35px;
    background-image: none;
}
.accordion-button:not(.collapsed)::after{
    font-family: 'Font Awesome 5 Pro';
    color: #000000;
    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: transparent;
    border: 1px solid #14396C;
    color:#14396C!important;
    display: inline-block;
    padding: 9px 18px;
}
.col-box:hover{
    background-color: #14396C11;
}

/*
.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;
}


.photocard, .logocard, .plaincard{
    box-shadow: 0px 0px 8px 0px #00000033;
}

.photocard{
    height: 100%;
    background-color: white;
}
.photocard img{
    width: fit-content;
}
/*
.photocard-photo {
    transition: transform .3s;
}
.photocard-photo:hover {
    transform: scale(1.2);
}
*/
.photocard-title, .plaincard-title{
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.photocard-title.bigcardtitle{
    font-size: 36px;
}
.photocard-text{
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3;
}
.photocard-excerpt{
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.photocard-link{
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.plaincard{
    background-color: white;
    border-radius: 5px;
    height: 100%;
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}
.plaincard-text{
    color: black;
    font-size: 16px; 
}
.plaincard-date, .plaintext-date{
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: #77788A;
}

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

.logocard{
    height: 100%;
}

.logocard img{
    max-width: 100%;
    margin: auto;
}
.logocard-title{
    font-size: 22px;
    line-height: 24px;
}
.logocard-text{
    font-size: 16px;
}
.cardlink{
    bottom:30px;
}
.cardlink-button{
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    background-color: white;
    display: inline-block;
}
.cardlink-button:hover{
    background-color: #ffffffdd;
}
.cardlink-button a {
    color: #14396C!important;
}

.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 #000000!important;
    border-radius: 100%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
}
.title-elenco, .negative .title-elenco{
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    color: #000000!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{
    border-top: 1px solid #323232;
    position: relative;
}

.footer a{
    color:white!important;
}
.footer a:hover{
    text-decoration: underline;
}
.footer h4{
    font-size: 22px;
    border-bottom: 1px rgba(255, 255, 255, .2) solid;
    line-height: 60px;
    margin-bottom: 30px;
    color: white !important;
    font-weight: 700;
}
.footer p{
    font-size: 16px;
    font-family: 'Titillium', sans-serif;
    font-weight: 400;
}
.lowfooter{
    position: relative;
    background: #141414;
    font-family: 'Titillium', sans-serif;
    font-size: 14px;
}
.lowfooter p{
    font-family: 'Titillium', sans-serif;
    font-size: 14px;
}
.lowfooter a{
    font-family: 'Titillium', sans-serif;
    font-size: 14px;
    color: white!important;
}
.lowfooter a:hover{
   text-decoration: underline;
}
.lowfooter span {
    font-size: 20px;
    vertical-align: sub;
}
.lowfooter ul{
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;  
}
.lowfooter ul li{
    margin-right: 30px;
}

.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(45deg, #5B19E8 30%, #000000 95%);
    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{
    background: #DAF2DB;
    border-radius: 10px;
}
.caratteristica-cliente-label{
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-transform: uppercase;
}
.caratteristica-cliente-valore{
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
}

.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: 15px;
    line-height: 18px;

}
.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-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!important;
    border: 1px solid #B6B6B6;
    height: 54px;
    width: 100%;
}
.search-input-group-append{
    position: absolute;
    right: 0;
    bottom: 0;
    border: 0;
    background: #14396C;
    height: 54px;
    width: 55px;
}


/*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: #000000;
    border-radius: 50px;
    padding: 6px 16px;
}
.buttonlang .wpml-ls-link{
    color:white;
}


.meter { 
    height: 5px;
    position: relative;
    background: #565656;
    overflow: hidden;
}

.meter span {
    display: block;
    height: 100%;
}

.fit-height{
    height:fit-content;
}

.progress {
    /*background-color: #e4c465;*/
    background: linear-gradient(to left, #000000 0%, #017759 100%) left bottom transparent no-repeat; 
}

.progressanimation {
    animation: progressBar 3s ease-in-out;
    animation-fill-mode:both; 
}


@keyframes progressBar {
    0% { width: 0; }
    100% { width: 100%; }
}

.tabslider-button{
    appearance: none;
    background: transparent;
    border: 0;
    color: inherit;
    display: block;
    font: inherit;
    border-radius: 0;
    padding: 12px 20px;
    border-bottom: 1px solid #303030;
    margin: 10px 0; 
    text-align: left;
    width: 100%;
}
.tabslider-button.active{
    border-radius: 15px;
    background: linear-gradient(to left, #000000 0%, #017759 100%) left bottom transparent no-repeat; 
    border-bottom: 1px solid transparent;
}

#videozoom{
    transform: scale(0.5); 
}

.zoom{
    animation: zooming 4s ease-in-out forwards;
}
@keyframes zooming {
    0% { transform: scale(0.5); } /* Inizia con il 50% */
    100% { transform: scale(1); } /* Arriva al 100% */
}


#mega-menu-wrap-header #mega-menu-header > li.mega-menu-flyout ul.mega-sub-menu{
    margin-left: 15px;
}

#filterrow{
    position: absolute;
    width: 100%;
    left: 0;
    text-align: center;
    bottom: 0;
}
#filtercol{
    position: relative;
    width: auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    width: fit-content;
    margin: auto;
    padding: 8px 8px 13px;
    border-radius: 50px;
}
#filtercol a{
    color: white;
    padding: 8px 12px;
    border-radius: 50px;
    margin: 0 3px;
    font-size: 14px;
    font-weight: 500;
}
#filtercol a.active{
    color: black;
    background: white;
}

@media (max-width:1600px){
    .intestazione h1, .intestazione .title {
        font-size: 48px;
        line-height: 110%;
    }
}

#mega-menu-wrap-header #mega-menu-header li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator{
    display: inline!important;
}

@media (max-width:991px){

}

@media (max-width:767px){
    #mega-menu-wrap-header{
        position: fixed!important;
        top: 30px!important;
        right: 30px!important;
    }
    #main-content{
        margin-top: 140px;
    }
    .testo-sezione-sx, .testo-sezione-dx{
        position: relative;
        text-align: left;
        margin-left: 0;
    }
	.intestazione h1, .intestazione .title,.tpl-title-default,.tpl-title-big,.tpl-title-medium,.tpl-title-small,.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;
    }
    #navbarCollapse{
        position: absolute;
        z-index:1;
    }
    .overlapped{
        margin-top: 0px;
    }
    .mega-lang-switch-mobile {
        display: flex;
    }
    .col-box h4{
		font-size: 10px;
	}
}

@media (max-width:575px){
    #main-content{
        margin-top: 90px;
    }
    html {
        font-size: 16px;
    }
    /*
    #navigation .logotype{
        width: 160px;
    }
    */
	.h1,.intestazione h1, .intestazione .title,.tpl-title-default,.tpl-title-big,.tpl-title-medium,.tpl-title-small,.slidetitle,h1,.colonna_title, .active .tpl-title-big,.active .tpl-title-medium,.active .tpl-title-small, .active .slidetitle {
		font-size: 38px;
	}

    h2, .h2{
        font-size: 34px;
    }
    h3, .h3, .subtitle{
        font-size: 28px;
    }
    h4, .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; 
    }
}

/* Language Toggle Switch */
.lang-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}
.lang-label {
    font-size: 13px;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    transition: color 0.3s;
    user-select: none;
}
.lang-label.active {
    color: white;
}
.lang-toggle-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.lang-toggle {
    width: 40px;
    height: 16px;
    background: #000000;
    border-radius: 11px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}
.lang-toggle.toggled {
    background: #017759;
}
.lang-toggle-knob {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.lang-toggle.toggled .lang-toggle-knob {
    transform: translateX(24px);
}
.negative .lang-label {
    color: rgba(255,255,255,0.4);
}
.negative .lang-label.active {
    color: #fff;
}
.negative .lang-toggle {
    background: rgba(255,255,255,0.3);
}
.negative .lang-toggle.toggled {
    background: rgba(255,255,255,0.6);
}

.mega-lang-switch-mobile {
    display: none;
}
