
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

/* InfoWindow personalizzato per Google Maps */
.info-window-content {
    background-color: #005d66 !important;
    color: white !important;
    font-weight: bold !important;
    font-style: italic !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
}




.font-family-1,
#menu li a,
body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}


.font-family-2,
h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
}

::-moz-selection  {
    background: #005d66;
    color: #fff;
}
::selection   {
    background: #005d66;
    color: #fff;
}

a, a:hover, a:active {
    color: #005d66;
}



.btn-outline-1,
.btn-outline-1:active,
.btn-outline-1:focus,
.btn-outline-1:visited,
.wp-block-button a,
.wp-block-button a:active,
.wp-block-button a:focus,
.wp-block-button a:visited,
.paginazione a {
    color: #005d66;
    border: 1px solid #005d66;
}
.btn-outline-1:hover,
.wp-block-button a:hover,
.btn-color-1, 
.paginazione a:hover {
    color: #fff;
    border: 1px solid #005d66;
    background-color: #005d66;
}

.btn-color-1:hover {
    color: #005d66;
    border: 1px solid #fff;
    background-color: #fff;
}

#servizi.open .tit {
    border-bottom: 2px solid #005d66;
}

.wp-block-button a {
    background-color: #fff;
    text-decoration: none;
}


.color-bianco,
.color-bianco p,
#professionisti .pro-row-2 .pro-info h3,
#professionisti .pro-row-2 .pro-info p, #professionisti .pro-row-2 .pro-info p a,
#professionisti .pro-row-3 .pro-info h3,
#professionisti .pro-row-3 .pro-info p, #professionisti .pro-row-3 .pro-info p a {
    color: #fff !important;
}

.btn-outline-bianco,
.btn-outline-bianco:active,
.btn-outline-bianco:focus,
.btn-outline-bianco:visited {
    color: #fff;
    border: 1px solid #fff;
}


body {
    background-color: #d4d7da;
    color: #002426;
}

#professionisti .pro-row-1 .pro-info p a {
    color: #002426;
}


.bg-light, .footer-nav,
#professionisti .pro-row-1 {
    background-color: #d4d7da !important;
}


.bg-light-2 {
    background-color: #efefef !important;
}

.color-1,
.news-item:hover .tit,
.form-control,
form input::placeholder,
form textarea::placeholder,
.site-content p strong,
.wp-block-heading,
.wp-block-heading h1,
.wp-block-heading h2,
.wp-block-heading h3,
.wp-block-heading h4,
.wp-block-heading h5,
.wp-block-heading h6,
.pro-detail h1, .pro-detail h2, .pro-detail h3, .pro-detail h4, .pro-detail h5, .pro-detail h6  {
    color: #005d66 !important;
} 
.color-2, .color-2 p,
#rowMenuFooter p a {
    color: #00292d !important;
} 




.bg-color-1,
.social a:hover {
    background-color: #005d66;
} 
.bg-color-2,
.social a,
#professionisti .pro-row-2 {
    background-color: #00292d;
} 
#sidenavBtnOpen:hover .bg-bianco, #sidenavBtnClose:hover .bg-bianco,
footer {
    background-color: #00292d !important;
}


.bg-dark,
#professionisti .pro-row-3 {
    background-color: #001414 !important;
}

.bg-dark-2 {
    background-color: #050404 !important;
}



.section-standard.bg-color-1 h1,
.section-standard.bg-color-1 p {
    color: #fff !important;
}


.container {
    padding-right: 50px;
    padding-left: 50px;
    max-width: 1340px;
}



h1, h2 {
    font-size: 40px;
    line-height: 46px;
}

h3 {
    font-size: 36px;
    line-height: 42px;
}

h4 {
    font-size: 26px;
    line-height: 32px;
}

h5 {
    font-size: 22px;
    line-height: 30px;
}

h6 {
    font-size: 18px; 
    line-height: 26px;
}


p, .site-content ul li, .site-content table td
{
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    margin-bottom: 25px;
}
.site-content ul li, .site-content table td
{
    margin-bottom: 4px;
}
.site-content ul {
    padding-left: 16px;
}
.site-content ul li {
    list-style-type: circle;
}

b, strong, .strong {
    font-weight: 700;
}

p, .just-text {
    text-align: justify;
}

.logged-in.admin-bar header {
    top: 29px;
}


.btn {
    padding: 8px 24px;
    font-weight: 700;
    border-radius: 40px;
}
.btn-bigger {
    padding: 8px 50px;
    font-size: 20px;
}


.btn-ico {
    letter-spacing: 1px;
    padding: 18px 30px;
}
.btn-ico i {
    font-size: 20px;
    position: relative;
    top: 2px;
    margin-right: 5px;
}



#content.site-content {
    padding-bottom: 0;
    padding-top: 0;
    /*margin-left: 92px;*/
}

header {
    position: absolute;
    width: 92px;
    height: 100%;
    z-index: 1000000;
    right: 0;
}
header .container {
    max-width: 1600px;
}

.header-fixed {
    position: fixed;
}

header .btn {
    padding: 12px 18px;
}

.navbar-brand img,
.footer-brand img {
    width: 240px;
    height: auto;
    margin: 0 auto;
}


#main-nav {
    margin: 80px 50px;
}



#sideMenu {
    padding: 45px;
    overflow: hidden;
}
body:not(.home) #sideMenu {
    padding: 0;
}
#sideMenu .menu-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}
#sideMenu .container {
    width: 100%;
}
#sideMenu .row {
    align-items: center;
    min-height: 100vh;
}

#sideMenu .menu-container,
#sliderHome .overlay-panels .block-left {
    background-color: rgba(0,41,45,0.79);
}
body:not(.home) #sideMenu .menu-container {
    background-color: rgba(0,41,45,1); !important;
}



.sidenav {
    height: 100%; 
    /* width: 0;  */
    width: 100%;
    display: none;
    position: absolute; 
    z-index: 100000; 
    top: 0;
    /*left: 0;*/
    right: 0;
    overflow-x: hidden; 
}
  
.sidenav .sep {
    height: 1px;
    background-color: rgba(255,255,255,0.15);
    margin: 25px auto;
}
.sidenav a {
    display: none;
}
.sidenav.menuOpen {
    /* width: 100%; */
    display: block;
} 
.sidenav.menuOpen a {
    display:block;
} 


#sideMenu #logoMenu{
    width: 550px;
    height: auto;
}




/* Hide scrollbar for Chrome, Safari and Opera */
#mySidenav::-webkit-scrollbar {
  display: none;
}
 
/* Hide scrollbar for IE, Edge and Firefox */
#mySidenav {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}



#menu {
    list-style: none;
    padding: 0;
}
#menu li {
    display: block;
    padding: 10px;
    margin: 10px;
    max-width: 300px;
    text-align: left;
    position: relative;
    padding-left: 20px;
}
#menu li::before {
    content: "■";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #001516;
    font-size: 14px;
}
#menu li.menu-line div {
    width: 85px;
    height: 2px;
    display: inline-block;
    position: relative;
    top: -8px;
}
#menu li.first div {
    margin-left: -60px;
}
#menu li.last div {
    margin-right: -60px;
}

#menu li a {
    font-size: 24px;
    width: 100%;
    font-weight: 400;
    text-transform: uppercase;
    font-style: italic;
    line-height: 26px;
}

#menuLang ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: relative;
    top: 30px;
}
#menuLang ul li {
    display: inline-block;
    border-right: 1px solid #fff;
    line-height: 14px; 
}
#menuLang ul li:last-of-type {
    border-right: 0 none;
}
#menuLang ul li a {
    text-decoration: none;
    letter-spacing: 2px;
    margin-right: 0;
    padding: 0 17px;
    margin-left: -3px;
    color: #fff;
}
#menuLang ul li a.active,
#menuLang .current-lang a {
    font-weight: 600;
}





#rowMenuFooter p {
    font-size: 14px;
    line-height: 28px;
    margin-bottom: 10px;
}



#sidenavBtnOpen span,
#sidenavBtnClose span {
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 400;
}

#sidenavBtnOpen, #sidenavBtnClose {
    cursor: pointer;
    z-index: 10000;
    padding: 28px 30px;
    height: 92px;
}
#sidenavBtnOpen:hover, #sidenavBtnClose:hover {
    background-color: #fff;
}

#sidenavBtnOpen .circle, 
#sidenavBtnClose .circle,
.ico-close {
    width: 32px;
    height: 36px;
    padding-top: 10px;
    text-align: center;
    display: block;
}
#sidenavBtnOpen .circle div, #sidenavBtnClose .circle div,
.ico-close div {
    width: 100%;
    height: 3px;
    margin: -2px auto 12px;
    display: block;
}


#sidenavBtnClose .circle div.sx,
.ico-close div.sx {
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    margin: 7px auto 0;
}
#sidenavBtnClose .circle div.dx,
.ico-close div.dx {
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    margin: -3px auto 0;
}



#menuOpenBackground {
    width: 100%;
    display: none;
    z-index: 1;
    /*background-color: rgba(0,0,0,0.7);*/
    position: fixed;
    left: 0;
    top: 0;
}


section {
    padding-top: 40px;
    padding-bottom: 60px;
}


.section-small {
    padding-top: 60px;
    padding-bottom: 60px;
}

.section-blank {
    padding-top: 30px;
    padding-bottom: 30px;
}


/*
.gradient {
    background-color: rgba(18,25,34,0.65);
}*/


#sliderHome {
    padding: 0;
}

#sliderHome, #sliderHome .gradient, #sliderHome .overlay-panels {
    height: 100vh !important;
}

#sliderHome .gradient {
    background-color: rgba(18,25,34,0.0);
}

/* New oblique overlay blocks for slider */
#sliderHome .overlay-panels {
    position: relative;
    width: 100%;
}
#sliderHome .overlay-panels .block {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 2;
}
#sliderHome .overlay-panels .block-left {
    left: -58.5%;
    transform: skewX(-23deg);
}

#sliderHome .overlay-panels .block-right {
    right: -41.5%;
    transform: skewX(-23deg);

/* Permalink - use to edit and share this gradient. Permalink - utilizza per modificare e condividere questo gradiente: https://colorzilla.com/gradient-editor/#010101+0,ffffff+100&0.56+0,0.56+100 */
background: linear-gradient(135deg,  rgba(1,1,1,0.56) 0%,rgba(255,255,255,0.56) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}

/* Hide logo and overlay panels when menu is open */
body.menu-open #logoHome,
body.menu-open #sliderHome .overlay-panels .block {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#logoHome,
#sliderHome .overlay-panels .block {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

#sideMenu {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

body.menu-open #sideMenu {
    opacity: 1;
}

#sliderHome .carousel-control-prev,
#sliderHome .carousel-control-next {
    opacity: 1 !important;
}
#sliderHome .carousel-control-prev img,
#sliderHome .carousel-control-next img,
#sectionGallery .box-arrow img
{
    width: 36px;
    height: auto;
}


#sliderHome .row,
#sliderHome .col {
    height: 100%;
}
#sliderHome .col {
    align-items: baseline;
}

#sliderHome p {
    font-size: 75px;
    line-height: 65px;
    margin-left: 3%;
    margin-top: -2%;
}
#sliderHome p span {
    font-size: 45px;
    font-weight: 300;
}


#sliderHome .logo {
    position: absolute;
    width: 60%;
    height: auto;
    left: 50%;
    top: 50%;
    margin-left: -30%;
    margin-top: -3%;
    z-index: 10;
    cursor: default;
}



.section-grid {
    padding: 0;
}
.section-grid .container {
    width: 100%;
    max-width: 100%;
}
.section-grid .col-img.background-image {
    min-height: 250px;
}


.section-grid .col-txt {
    padding: 100px 70px;
}


.section-grid .col-txt .tit h2 {
    margin-bottom: 30px;
    margin-top: 0;
    text-align: left;
}

.section-grid .col-txt .sub-tit {
    letter-spacing: 4px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 40px;
}
.section-grid .col-txt .sub-tit span.line {
    width: 46px;
    height: 2px;
    display: block;
}
.section-grid .col-txt .sub-tit span.txt {
    position: relative;
    left: 65px;
    top: -11px;
}


.section-grid .col-txt .btn {
    display: inline-block;
    width: fit-content;
    margin-top: 60px;
}


.tit h2 {
    margin-bottom: 20px;
}


.section-standard .tit h1 {
    margin-top: 0;
}
.section-standard .tit h2 {
    margin-top: 0;
    margin-bottom: 30px;
    padding-bottom: 0;
}
.section-standard .tit div {
    width: 70px;
    height: 2px;
    display: block;
    position: relative;
    margin: 22px auto;
}
.section-standard p,
.section-standard .btn {
    margin: 50px auto 0;
}


.bg-texture {
    background-image: url(/img/texture.jpg);
}

.bg-gradient {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#e6eeec+0,ffffff+100 */
background: rgb(230,238,236); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(230,238,236,1) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(230,238,236,1) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(230,238,236,1) 0%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6eeec', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */

}






#pageCover  {
    padding: 0;
}

#pageCover, #pageCover .gradient {
    height: 60vh !important;
}
#pageCover .gradient {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.32+0,0+100 */
    background: -moz-linear-gradient(top,  rgba(0,0,0,0.48) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0.48) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(0,0,0,0.48) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#52000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
}



.sep {
    height: 2px;
    width: 100%;
    display: block;
}


#sectionGallery {
    padding: 0;
    margin-top: 85px;
}
#sectionGallery a {
    display: inline-block;
}
#sectionGallery .gallery-item {
    min-height: 240px;
    position: relative;
    top: 0;   
}
#sectionGallery .gallery-item:hover {
    
}
#gallerySlick {
    display: none;
    margin-bottom: -100px;
}
#gallerySlick .slider-item-container {
    margin: 35px 15px;
}
#gallerySlick div.div1 {
    margin-top: -30px;
}
#gallerySlick .slick-list {
    /*overflow: visible;*/
}

#sectionGallery .box-arrow {
    position: absolute;
    width: 100%;
    margin-top: 110px;
}
#sectionGallery .box-arrow .arrow-next {
    right: 40px;
    position: absolute;
}
#sectionGallery .box-arrow .arrow-prev {
    left: 40px;
    position: absolute;
}

#sectionGallery .slick-prev,
#sectionGallery .slick-next {
    visibility: hidden;
}
#sectionGallery .slick-next {
    right: 0;
}



.section-gallery {
    padding: 40px 40px 0;
}
.section-gallery a {
    display: inline-block;
}
.section-gallery .gallery-item {
    min-height: 100px;
    margin-bottom: 40px;
}


#introHome {
    padding-top: 120px;
}
#introHome .col {
    padding: 0 45px;
}

#lineIntro {
    display: block;
    width: 2px;
    height: 160px;
    margin-top: -80px;
    position: absolute;
    left: 50%;
    margin-left: 46px;
    z-index: 100;
}

/*
.single-professionisti .col-sidebar img {
    position: fixed;
    display: none;
    height: auto;
}
*/

/*
.single-professionisti .col-sidebar {
    padding: 0;
}
.single-professionisti .col-sidebar img {
    margin-bottom: 50px;
    width: 100%;
}
.single-professionisti .col-sidebar .btn {
    margin-bottom: 55px;
}
*/




#sectionProfessionisti {
    padding: 0 0 55px 0;
    position: relative;
    z-index: 1000;
}
.single-professionisti #sectionProfessionisti {
    box-shadow: -1px -2px 30px 1px rgba(0,0,0,0.3);
    -webkit-box-shadow: -1px -2px 30px 1px rgba(0,0,0,0.3);
    -moz-box-shadow: -1px -2px 30px 1px rgba(0,0,0,0.3);
}

#sectionProfessionisti .item a {
    display: block;
    min-height: 200px;
}
#sectionProfessionisti .item .gradient {
    background: none;
}
#sectionProfessionisti .item:hover .gradient {
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.4+100 */
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
#sectionProfessionisti .item.active .gradient,
#sectionProfessionisti .item.active:hover .gradient {
    background: none !important;
    background-color: rgba(255,255,255,0.5) !important;
}
#sectionProfessionisti .item .name {
    width: 100%;
    position: absolute;
    bottom: -250px;
}
#sectionProfessionisti .item:hover .name {
    bottom: 0;
}
#sectionProfessionisti .item.active:hover .name {
    display: none !important;
}
#sectionProfessionisti .item .name .txt {
    letter-spacing: 2px;
    font-size: 16px;
    font-weight: 600;
    padding: 0 15px;
    max-width: 200px;
    margin: 0 auto;
    text-align: center;
}
#sectionProfessionisti .item .name .line {
    height: 55px;
    width: 2px;
    display: block;
    margin: 10px auto 0;
}
#professionistiSlick {
    display: none;
}





.box-news a {
    padding: 50px 40px;
    margin: 60px 30px 100px;
    min-height: 450px;
} 
.box-news .box-dati-news {
    margin: 20px 0 16px;
}
.box-news .box-dati-news span {
    margin-right: 30px;
    font-size: 13px;
}
.box-news .box-dati-news span i {
    margin-right: 5px;
    font-size: 15px;
}



.box-arrow {
    
}
.box-arrow div {
    display: inline-block;
    margin-right: 10px;
}
.box-arrow div img {
    width: 88px;
    height: auto;
}

  
#areeSlick,
#newsSlick {
    display: none;
}
#areeSlick .slick-prev,
#areeSlick .slick-next,
#newsSlick .slick-prev,
#newsSlick .slick-next {
    visibility: hidden;
}




#servizi .gradient {
    background-color: rgba(32,47,66,0.9);
}

.servizi-list {
    margin-top: 20px;
    margin-bottom: 40px;
}
.servizi-accordion-row {
    margin-top: 10px;
}
.servizio-item {
    margin-bottom: 16px;
}
.servizio-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
}
.servizio-title {
    font-style: italic;
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
    max-width: 80%;
}
.servizio-ico {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #00464a;
    position: relative;
}
.servizio-ico:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translate(-50%, -60%) rotate(45deg);
}
.servizio-content {
    color: #fff;
    padding: 8px 0 2px;
}
.servizio-sep {
    height: 2px;
    margin: 50px 0;
}

/* Hide last servizio-sep in each column on desktop */
@media (min-width: 768px) {
    .servizi-accordion-row .col-md-6:first-child .servizio-item:last-child .servizio-sep,
    .servizi-accordion-row .col-md-6:last-child .servizio-item:last-child .servizio-sep {
        display: none;
    }
}

/* Hide last servizio-sep only in second column below 768px */
@media (max-width: 767px) {
    .servizi-accordion-row .col-md-6:last-child .servizio-item:last-child .servizio-sep {
        display: none;
    }

    .servizi-list {
        margin-top: 0;
        margin-bottom: 0;
    }

    .servizio-sep {
        margin: 30px 0;
    }
    
    .servizio-title {
        font-size: 16px;
        line-height: 21px;
        max-width: 300px;
        max-width: 90%;
    }
}


/* Dettaglio servizio full width */
#servizi #serviziCurrent {
    margin-left: 10px;
}
#servizi.open .tit {
    padding-bottom: 12px;
    margin-bottom: 50px;
    position: relative;
}
#servizi.open .tit h2 {
    margin-bottom: 0;
    padding-right: 50px;
}

#servizi .tit #serviziBack {
    position: absolute;
    right: 0;
    top: 0;
    transform: translateY(6px);
}
#professionisti {
    padding-top: 40px;
    padding-bottom: 0;
}
#professionisti .pro-row {
    padding: 0;
}
#professionisti .pro-photo img {
    width: 100%;
    height: auto;
    display: block;
}
#professionisti .pro-photo.background-image {
    min-height: 500px;
    background-size: cover;
    background-position: top center;
    cursor: pointer;
}
#professionisti .pro-info{
    padding: 10px 70px;
}
#professionisti .pro-info h3 {
    margin: 10px 0 0;
    font-size: 40px;
    line-height: 46px;
}
#professionisti .pro-info .ruolo {
    margin-bottom: 25px;
    font-style: italic;
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
}
#professionisti .pro-social {
    margin-bottom: 25px;
    margin-top: 30px;
}
#professionisti .pro-social a img {
    width: 30px;
    height: 30px;
    margin-right: 8px;
}

.pro-detail .pro-detail-photo,
.pro-detail .pro-detail-photo {
    min-height: 500px;
    background-size: 50%;
    background-position: top right;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.pro-detail .pro-detail-photo h2 {
    font-size: 80px;
    line-height: 75px;
    max-width: 300px;
    margin-top: 20px;
}
.pro-detail-text {
    padding-top: 50px;
    padding-bottom: 50px;
    position: relative;
}

.pro-detail h1, .pro-detail h2, .pro-detail h3, .pro-detail h4, .pro-detail h5, .pro-detail h6 {
    margin-bottom: 7px;
    margin-top: 30px;
}


.pro-detail-photo .ico-close {
    width: 48px;
    height: 48px;
}
.pro-detail-photo .ico-close div {
    height: 4px;
}
/* CV Button positioning over professional photo */
.cv-button-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.pro-photo {
    position: relative;
}




#servizi.open #serviziTitleMain {
    cursor: pointer;
    position: relative;
}

.item-servizio {
    padding: 17px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.slick-slide .item-servizio:last-of-type {
    border-bottom: 0 none;
}
.item-servizio p {
    letter-spacing: 2px;
}

#serviziSlick {
    margin-top: 45px;
}
#serviziSlick .slick-dots {
    bottom: 58px !important;
    width: auto;
    left: 54px;
}



.page-template-chi-siamo #sectionProfessionisti {
    margin-top: -35px;
}

#mission .gradient {
    background-color: rgba(32,47,66,0.9);
}
.item-mission {
    padding-left: 20px;
    padding-right: 60px;
    margin-bottom: 50px;
    margin-right: 20px;
    padding: 20px 40px 41px;
    margin-top: 15px;
}
.item-mission h4 {
    /* font-weight: 500; */
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-align: left;
}
.item-mission h4 i {
    margin-right: 10px;
}

.item-mission span.line {
    width: 46px;
    height: 2px;
    display: inline-block;
    margin: 7px 10px 7px -40px;
}


#network .section-grid .col-txt {
    padding-bottom: 0;
}
.item-network {
    margin-bottom: 35px;
}
.item-network h5 {
    margin-bottom: 10px;
}



#listNews.section-grid .col-txt {
    padding: 100px 0;
}
#listNews.section-grid .page-tit {
    padding-left: 70px;
    padding-right: 70px;
}

.news-item {
    margin: 0;
    background-size: 88px auto;
    background-repeat: no-repeat;
    background-position: 94% center;
    padding-right: 240px;
    padding-left: 70px;
    padding-top: 30px;
    padding-bottom: 50px;
    display: block;
    width: 100%; 
}
 
.news-item:last-of-type {
    margin-bottom: 0;
}
.news-item .tit {
    margin-bottom: 20px;
    font-size: 30px;
}

.news-item .color-3:hover {
    text-decoration: underline; 
}

/*
.news-item:hover .tit,
.news-item:hover .color-1,
.news-item:hover p {
    color: #fff !important;
} 
*/ 


.news-item .box-dati-news {
    margin: 0 0 20px;
}

#singleNews .box-dati-news {
    margin: -10px 0 45px;
}

#singleNews .col-sidebar {
    min-height: 100vh !important;
    padding: 70px 50px; 
}
#singleNews .col-sidebar .item {
    display: block; 
    margin-bottom: 60px;
    position: relative; 
    left: 0;
}
#singleNews .col-sidebar .item .tit {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 5px; 
}
#singleNews .col-sidebar .box-dati-news {
    margin: 0;
}
#singleNews .col-sidebar .box-dati-news span {
    margin-right: 30px;
    margin-bottom: 5px;
    font-size: 12px; 
} 
#singleNews .col-sidebar .item .line {
    width: 45px;
    height: 2px;
    display: inline-block;
    margin: 10px 0 0 -60px;
    position: absolute;
    background-color: transparent;
}
#singleNews .col-sidebar .item:hover .line {
    background-color: #fff;
}
#singleNews .col-sidebar .item:hover  {
    left: 10px;
}



#singleNews .box-btn {
    margin-bottom: 70px;
}
#singleNews figure {
    margin: 30px 0;
}
 
 
.box-dati-news span {
    margin-right: 55px;
}  
.box-dati-news span i {
    margin-right: 8px;  
}

.paginazione {
    text-align: center;
    width: 100%;
    margin: 70px 30px; 
}
.paginazione a {
    padding: 30px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    padding: 18px 44px;
    margin: 0 15px;
    font-size: 14px;
} 
.paginazione span {
    display: inline-block;
}

.tag-cloud-link {
    display:block;
    float:left;
    padding:4px 10px;
    margin-right:7px;
    margin-bottom:7px;
    background:#EEE;
    color:#666;
    font-size:11px;
    font-weight:bold;
    text-transform:lowercase;
    text-shadow:1px 1px 1px #FFF;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:5px;
    border:1px solid #CCC;
    text-decoration:none;
}
.tag-cloud-link:hover{
    background:#F3F3F3; 
    color:#000;
    text-decoration:none;
}


#newsHome .news-item .tit {
    margin-bottom: 12px;
    font-size: 28px;
}
#newsHome .news-item .box-dati-news {
    margin: 0 0 12px;
}
#newsHome .news-item {
    margin: 0;
}

#newsSlick {
    display: none;
} 
#newsSlick .slick-dots {
    bottom: -80px !important;
} 
#newsSlick .slick-dots {
    margin-left: -15px !important;
}



.form-control {
    border: 0;
    padding: 25px 0;
    font-size: 14px;
    border-bottom: 2px solid #dedede;
}
form input::placeholder,
form textarea::placeholder {
    opacity: 0.5 !important;
}

.radius0 {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0; 
}


form input[type="checkbox"] {
    margin: 0 6px 0 -24px;
}
form label {
    font-size: 13px;
    color: #fff;
    line-height: 21px;
    text-align: left;
}
form p {
    font-size: 13px;
    line-height: 21px;
    margin-bottom: 20px;
}

form .allegato {
    margin-top: 10px;
    margin-bottom: 40px;
}
form .allegato span {
    font-size: 15px;
    font-weight: 400;
    margin-right: 5px;
}

form .row-quiz {
    margin-top: 30px;
}
form .row-quiz label {
    margin: 0;
}
form .row-quiz input {
    width: 50px;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0 auto 30px;
    border-radius: 8px;
    color: #fff;
}


.slick-dots {
    bottom: -50px !important;
    padding-left: 0 !important;
}
.slick-dots li {
    margin: 0 5px !important;
}
.slick-dots li button:before {
    display: none !important;
}
.slick-dots li button {
    width: 6px !important;
    height: 6px !important;
    background: #ffffff !important;
    border: 2px solid #ffffff !important;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}
.slick-dots li button:hover {
    opacity: 0.7;
}
.slick-dots li.slick-active button {
    width: 6px !important;
    height: 6px !important;
    background: transparent !important;
    border: 2px solid #ffffff !important;
    opacity: 1;
}





footer {

}

footer .row {
    margin-top: 10px;
    margin-bottom: 10px;
}

footer .sep {
    margin-top: 50px;
    margin-bottom: 50px;
}

footer p {
    margin: 0;
    font-size: 13px;
    letter-spacing: 1px;
    /* font-weight: 100; */
    /* opacity: 0.5; */
}


.social a {
    padding: 17px;
    text-align: center;
    width: 54px;
    height: 54px;
    display: inline-block;
    margin: 0 22px;
}
.social a i {
    font-size: 20px;
}


footer .social {
    margin-top: 50px;
}

.sidenav .social a {
    margin: 20px;
}


#scrollTop {
    position: fixed;
    bottom: -100px;
    right: 30px;
    z-index: 1000;
}
#scrollTop.visible {
    bottom: 30px;
}
#scrollTop a {
    padding: 8px;
    text-align: center;
    width: 44px;
    height: 44px;
    display: inline-block;
}
#scrollTop img {
    width: 32px;
    height: auto;
}



.iubenda-cs-brand-badge {
    display: none !important;
} 

 

.menu-en #menu_7 {
    display: none;
}




#staff {
    padding-bottom: 0;
}
#staff .staff-card {
    margin-bottom: 70px;
    padding: 0;
}
#staff .staff-photo {
    position: relative;
    padding-top: 88%;
    background-size: cover;
    background-position: center 15%;
}
#staff .staff-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 10px 30px;

    background-color: rgba(0,93,102,0.66);
}
#staff .staff-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}
#staff .staff-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: -4px;
    font-style: italic;
}
#staff .staff-role {
    font-size: 15px;
    font-style: italic;
    font-weight: 400;
}
#staff .staff-icons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 8px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
#staff .staff-icons img {
    width: 26px;
    height: 26px;
}

/* Post Staff Quote Section */
#postStaffQuote {
    position: relative;
    padding: 150px 0;
    background-size: cover;
    background-position: center;
}
#postStaffQuote .post-staff-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.50) 0%, rgba(0,0,0,0.50) 100%);
}
#postStaffQuote .post-staff-quote {
    position: relative;
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
    font-style: italic;
}

/* Fatturazione Elettronica Section */
#fatturazione {
    padding: 30px 0;
}
#fatturazione .fatturazione-content {
    border-radius: 8px;
    padding: 30px 60px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-bottom: 30px;
}
#fatturazione .fatturazione-text {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    margin-right: 40px;
    max-width: 450px;
}
#fatturazione .fatturazione-text p {
    margin: 0;
    font-size: 20px;
    line-height: 28px;
    text-align: left;
}
#fatturazione .fatturazione-button {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
}



#map {
    width: 100%;
    min-height: 600px;
}
#map .info-window-content {
    background-color: #005d66;
    color: white; 
    font-weight: bold; 
    font-style: italic; padding: 15px 20px; 
    border-radius: 10px; 
    font-size: 18px;
}



/* Single Post Content Section */
#singleContent {
    padding: 80px 0;
}
#singleContent .single-content {
    margin-bottom: 40px;
}
#singleContent .single-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}
#singleContent .single-content h2,
#singleContent .single-content h3,
#singleContent .single-content h4 {
    color: #005d66;
    margin: 30px 0 15px;
}
#singleContent .single-back {
    text-align: center;
}
#singleContent .single-back .btn {
    padding: 12px 30px;
    font-size: 16px;
}

/* News Slider */
.news-slider-container {
    padding: 0 20px;
}
.news-slider {
    position: relative;
}
.news-slider .slick-list {
    /*overflow: visible;*/
    padding: 30px 0 !important;
}
.news-slide {
    padding: 0 15px;
}
.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.news-card-link:hover {
    text-decoration: none;
    color: inherit;
}
.news-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}
.news-card.has-bg {
    background-color: #005d66;
    align-items: center;
}
.news-card.no-bg {
    background-color: #ffffff;
    align-items: center;
}
.news-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    transition: all 0.3s ease;
}
.news-card.no-bg .news-overlay {
    display: none;
}
.news-content {
    position: relative;
    z-index: 10;
    padding: 30px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.news-card.has-bg .news-content {
    color: #ffffff;
}
.news-card.no-bg .news-content {
    color: #000000;
}
.news-title {
    font-size: 22px;
    line-height: normal;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 20px;
    text-align: center;
}
.news-card.has-bg .news-title {
    color: #ffffff;
}
.news-card.no-bg .news-title {
    color: #000000;
}
.news-excerpt {
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 20px;
    font-style: italic;
    text-align: center;
}
.news-card.has-bg .news-excerpt {
    color: #ffffff;
}
.news-card.no-bg .news-excerpt {
    color: #000000;
}
.news-link {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
}
.news-card:hover .news-link {
    opacity: 1;
    transform: translateY(0);
}
.news-card .news-link {
    border: 2px solid #ffffff;
    color: #ffffff;
}
.news-card .news-link:hover {
    background-color: #ffffff;
    color: #005d66;
}


/* Center slide styling */
.slick-center .news-card {
    transform: scale(1.1);
}
.slick-center .news-card.has-bg {
    align-items: center;
}
.slick-center .news-card.no-bg {
    align-items: center;
}

/* Hover effects */
.news-card:hover {
    background-color: #005d66 !important;
}
.news-card:hover .news-overlay {
    background: rgba(0,93,102,0.9);
}
.news-card:hover .news-title,
.news-card:hover .news-excerpt {
    color: #ffffff;
}

/* Slick slider customizations */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #00464a;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    color: transparent;
    font-size: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.slick-prev:before,
.slick-next:before {
    content: "" !important;
    position: absolute;
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translate(-50%, -50%) rotate(45deg);
}

.slick-prev:before {
    transform: translate(-50%, -50%) rotate(135deg);
    left: 54%;
}
.slick-next:before {
    transform: translate(-50%, -50%) rotate(-45deg);
    left: 46%;
}
.slick-prev:after,
.slick-next:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 36px;
    height: 36px;
    border: 0 none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}


.slick-prev {
    left: -45px;
}
.slick-next {
    right: -45px;
}
.slick-prev,.slick-prev:active,.slick-prev:focus,
.slick-next,.slick-next:active,.slick-next:focus {
    background: #525a66;
}
.slick-prev:hover,
.slick-next:hover {
    background: #086a6f;
}
.slick-dots {
    text-align: center;
    margin-top: 30px;
}
.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}
.slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.slick-dots li.slick-active button {
    background: #ffffff;
}

/* Gallery Section */
.gallery-section {
    margin: 0;
    padding: 0;
}
.gallery-slider {
    margin: 0;
    padding: 0;
}
.gallery-slide {
    width: 100%;
}
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0;
    padding: 0;
}
.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 3/2;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
}
.gallery-item:hover {
    z-index: 10;
}
.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* Gallery Slider Navigation */
.gallery-section .slick-prev,
.gallery-section .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #005d66;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}
.gallery-section .slick-prev:hover,
.gallery-section .slick-next:hover {
    background-color: #00464a;
}
.gallery-section .slick-prev {
    left: 50px;
}
.gallery-section .slick-next {
    right: 50px;
}
.gallery-section .slick-dots {
    bottom: -40px;
}
.gallery-section .slick-dots li button {
    background-color: #005d66;
    border-radius: 50%;
    width: 12px;
    height: 12px;
}
.gallery-section .slick-dots li.slick-active button {
    background-color: #00464a;
}






/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/

@media only screen and (max-width: 991px) { 

    h1, h2 {
        font-size: 28px;
        line-height: 32px;
    }
    h3 {
        font-size: 24px;
        line-height: normal;
    }
    h4 {
        font-size: 20px;
        line-height: normal;
    }
    h5 {
        font-size: 18px;
        line-height: normal;
    }

    p, .site-content ul li, .site-content table td,
    .page-template-pagina-standard ul li,
    .page-template-pagina-standard ol li,
    #singleContent .single-content p {
        font-size: 14px;
        line-height: 21px;
    }

    .container {
        padding-right: 30px;
        padding-left: 30px;
    }
    
    .btn, #singleContent .single-back .btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .navbar-brand img, .footer-brand img {
        width: 160px;
    }   
    .navbar-brand {
        margin-right: auto;
    }
    
    #sidenavBtnOpen span, #sidenavBtnClose span {
        display: none;
    }    
    
    #sidenavBtnOpen .circle, #sidenavBtnClose .circle {

    }
    #sidenavBtnOpen .circle div, #sidenavBtnClose .circle div {
        width: 24px;
        margin: 0 auto 10px;
    }
    
    #sidenavBtnOpen, #sidenavBtnClose {
        padding: 15px;
        height: 64px;
        width: 64px;
    }
    
    #menu li::before {
        font-size: 10px;
    }

    #sideMenu {
        padding: 15px;
    }

    #sideMenu .menu-container {
        padding: 15px;
    }

    #sideMenu .row {
        min-height: auto;
    }

    #sideMenu #logoMenu {
        max-width: 270px;
        margin: 0 auto 50px;
    }

    .col-logo-menu {
        text-align: center;
    }

    #sliderHome .logo {
        width: 80%;
        margin-left: -40%;
        margin-top: -7%;
    }
    
    #sliderHome p {
        font-size: 45px;
        line-height: 38px;
        margin-left: 13%;
    }
    #sliderHome p span {
        font-size: 25px;
    }
    
    #sliderHome, #sliderHome .gradient, #sliderHome .overlay-panels {
        /*height: 50vh !important;*/
    }
    
    #sliderHome .carousel-control-prev img, 
    #sliderHome .carousel-control-next img, 
    #sectionGallery .box-arrow img {
        width: 28px;
        height: auto;
    }
    
    #sliderHome .overlay-panels .block-right {
        right: -67.5%;
    }
    #sliderHome .overlay-panels .block-left {
        left: -92.5%;
    }
    #sliderHome .overlay-panels .block {
        width: 130%;
    }


        
    section {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    
    #lineIntro {
        height: 90px;
        margin-top: -45px;
        margin-left: 10px;
    }    
    
    #introHome {
        padding-top: 80px;
    }
    #introHome .col {
        padding: 0 30px;
    }
    
    .section-grid .col-txt,
    #section_candidati .col-txt,
    #colForm {
        padding: 100px 30px;
    }
    
    .box-area a,
    .box-news a {
        margin: 0 15px;
    }
    
    #areeSlick {
        margin: -45px 0 15px;
    } 
    
    #newsSlick {
        margin: -45px 0 60px;
    } 
    .box-news a {
        padding: 10px 25px 25px;
        min-height: auto;
    }
    .box-news h4 {
        font-size: 24px;
        line-height: 30px;
    }
    
    .news-title {
        font-size: 18px;
    }
    .news-excerpt {
        font-size: 13px;
        line-height: 20px;
    }
    
    .box-arrow div img {
        width: 55px;
        height: auto;
    }
    
    .single-professionisti #sectionProfessionisti {
        display: none;
    }
    #sectionProfessionisti .item .name {
        bottom: 0;
    }

    .slick-dots li {
        margin: 0 5px !important;
    }
    
    #serviziSlick {
        margin-top: -90px;
    }
    
    .item-servizio {
        padding: 12px 0;
    }
    
    #serviziSlick .slick-dots {
        bottom: 30px !important;
        width: auto;
        left: 18px;
    }
    
    #areeSlick,
    #newsSlick {
        overflow-x: hidden;
    }

    #section_candidati .col-txt .tit h2 {
        margin-bottom: -150px;
    }
    
    .item-mission {
        margin-right: 0;
    }
    
    .item-network {
        margin-bottom: 20px;
    }
    
    
    .single-professionisti .col-sidebar {
        height: 65vh !important;
        position: relative;
        right: auto;
    }
    
    .single-professionisti .section-grid .col-txt .tit h2 {
        margin-top: 25px;
    }
    
    .section-grid .col-txt .sub-tit {
        margin-right: 50px;
        margin-bottom: 20px;
    }
    
    .section-grid .col-txt .btn {
        letter-spacing: 0;
    }
    .section-grid .col-txt .btn i {
        display: none;
    }
    

    #staff .staff-card {
        margin-bottom: 40px;
    }
    #staff .staff-bar {
        padding: 7px 25px;
    }
    #staff .staff-name {
        font-size: 16px;
    }
    #staff .staff-role {
        font-size: 13px;
    }

    #fatturazione .fatturazione-content {
        padding: 20px 25px 25px;
    }

    #fatturazione .fatturazione-text p {
        font-size: 16px;
        line-height: 24px;
        text-align: center;
    }

    
    #postStaffQuote .post-staff-quote {
        font-size: 18px;
        line-height: 22px;
    }
    #postStaffQuote .post-staff-quote br {
        display: none;
    }

    footer p,
    #rowMenuFooter p {
        font-size: 13px;
        line-height: 26px;
    }
    
    footer .sep {
        margin-top: 35px;
        margin-bottom: 35px;
    }
    .social a {
        padding: 9px;
        width: 36px;
        height: 36px;
        margin: 0 15px;
    }
    .social a i {
        font-size: 16px;
    }
    
    #rowMenuFooter {
        margin: 0 15px;
    }
    #rowMenuFooter p {
        text-align: center !important;
    }
    #rowMenuFooter .text-right {
        text-align: center !important;
    }
    
    .sidenav .social a {
        margin: 10px 10px 50px;
    }
    

    header {
        width: 64px;
    }
    
    #menu {
        padding: 0;
        margin: 0;
    }
    #menu li {
        margin: 0;
    }
    #menu li a {
        font-size: 18px;
        line-height: 20px;
    }
    #menu li.first div {
        display: none;
    }
    #menu li.menu-line div {
        width: 60px;
    }
    #menu li.last div {
        margin-right: 0;
    }
    
    #menu li:hover {
        border-bottom: 2px solid transparent !important;
    } 

    
    #menuLang {
        text-align: center;
    }
    #menuLang a {
        margin: 0 15px;
    }
    
    #menuLang ul {
        top: 0; 
        margin-bottom: 40px;
    }

    
    #scrollTop a {
        padding: 8px;
        width: 36px;
        height: 36px;
        display: inline-block;
    }
    #scrollTop img {
        width: 24px;
    }
    
    #pageCover, #pageCover .gradient {
        height: 30vh !important;
    }
    
    #sidenavBtnOpen .circle, #sidenavBtnClose .circle, .ico-close {
        width: 36px;
        height: 36px;
        padding-top: 7px;
    }

    #servizi .circle, #servizi .circle, .ico-close {
        width: 24px;
        height: 24px;
        padding-top: 0;
    }

    #servizi.open .tit {
        padding-bottom: 6px;
        margin-bottom: 36px;
    }
    
    section {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    
    .section-standard p, .section-standard .btn {
        margin: 35px auto 0;
    }
    
    #sectionGallery {
        margin-top: 50px;
    }    
    #sectionGallery .gallery-item {
        min-height: 180px;
    }
    #sectionGallery .box-arrow {
        margin-top: 85px;
    }


    #professionisti .pro-info {
        padding: 25px 30px;
    }
    #professionisti .pro-info h3 {
        font-size: 34px;
        line-height: 40px;
    }
    #professionisti .pro-info .ruolo {
        margin-bottom: 22px;
        font-size: 18px;
        line-height: 22px;
    }
    #professionisti .pro-social a img {
        width: 25px;
        height: 25px;
        margin-right: 7px;
    }


    .pro-detail .pro-detail-photo, .pro-detail .pro-detail-photo {
        background-size: 100%;
        background-position: bottom right;
        align-items: start;
    }

    

    .pro-detail .pro-detail-photo h2 {
        font-size: 34px;
        line-height: normal;
        margin-top: 35px;
    }

    .pro-detail-photo .ico-close div {
        height: 3px;
    }

    .pro-detail-photo .ico-close {
        width: 24px;
        height: 24px;
        position: absolute;
        right: 30px;
        top: 45px;
    }
    

    .pro-detail-text {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .pro-detail-text .container,
    .pro-detail-photo .container {
        padding: 0 15px;
    }

    .news-item {
        padding-right: 30px;
        padding-left: 30px;
        padding-top: 10px;  
        padding-bottom: 40px;
        background-image: none !important;
    }
    .news-item .tit {
        font-size: 20px;
        line-height: 28px;
    }
    .news-item p {
        font-size: 12px;
        line-height: 20px; 
    }
    .box-dati-news span {
        margin-right: auto;
        margin-bottom: 5px;
        display: block;
    }
    
    #singleNews .col-sidebar {
        padding: 60px 30px;
    }
     
    .single h2 {
        font-size: 24px;
        line-height: 30px;
    }
    
    .paginazione a {
        letter-spacing: 1px;
        padding: 12px 16px;
        margin: 0 3px;
        font-size: 10px;  
    }
     
    #btnAllNews i {display: inline-block;}


    #singleContent {
        padding: 50px 0;
    }


    footer .row-privacy p {
        font-size: 9px !important;
        line-height: 15px !important;
        margin: 20px auto 0 !important;
        max-width: 260px !important;
    }
    
}




@media (max-width: 767px) {
    #fatturazione .fatturazione-content {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        text-align: center;
    }
    #fatturazione .fatturazione-text {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

/* Staff Detail Social Icons */
#staff .staff-detail-social {
    margin-top: 20px;
}
#staff .staff-detail-social a {
    margin-right: 15px;
}
#staff .staff-detail-social img {
    width: 30px;
    height: 30px;
}

/* Single Post Cover Section */
#singleCover {
    position: relative;
    min-height: 50vh;
    background-size: cover;
    background-position: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
#singleCover .single-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,41,45,0.79);
}
/* Single logo in header - only visible on single posts */
.single-logo {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
    display: block;
}
.single-logo img {
    height: 50px;
    width: auto;
}
/* Hide single logo when menu is open */
#sideMenu.menuOpen ~ .single-logo,
body.menu-open .single-logo {
    opacity: 0;
    pointer-events: none;
}
#singleCover .single-title {
    position: relative;
    z-index: 10;
    padding: 0 20px;
}
#singleCover .single-title h1 {
    font-size: 48px;
    line-height: 1.2;
    margin: 0;
    position: relative;
    top: 50px;
}
@media (max-width: 768px) {
    .single-logo {
        top: 20px;
        left: 20px;
    }
    .single-logo img {
        height: 30px;
    }
    #singleCover .single-title h1 {
        font-size: 28px;
        top: 26px;
    }
}

@media (max-width: 768px) {

    .slick-prev, .slick-next {
        width: 30px;
        height: 30px;
    }
    .slick-prev:before, .slick-next:before {
        width: 7px;
        height: 7px;
    }

    .gallery-section .slick-prev,
    .gallery-section .slick-next {
        width: 30px;
        height: 30px;
    }
    .slick-prev {
        left: -20px;
    }
    .gallery-section .slick-prev {
        left: 20px;
    }

    .slick-next {
        right: -20px;
    }
    .gallery-section .slick-next {
        right: 20px;
    }

    .slick-dots {
        bottom: -30px !important;
    }


}

/* Gallery Lightbox */
.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 41, 45, 0.85);
    z-index: 9999;
    cursor: pointer;
}
.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    pointer-events: none;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 50px;
    font-weight: 200;
    cursor: pointer;
    z-index: 10001;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}
.lightbox-close:hover {
    opacity: 0.7;
}
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #00464a;
    border: none;
    color: transparent;
    font-size: 0;
    cursor: pointer;
    z-index: 10001;
    transition: background-color 0.3s ease;
    pointer-events: auto;
}
.lightbox-prev:after,
.lightbox-next:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translate(-50%, -50%) rotate(45deg);
}
.lightbox-prev:after {
    transform: translate(-50%, -50%) rotate(135deg);
    left: 54%;
}
.lightbox-next:after {
    transform: translate(-50%, -50%) rotate(-45deg);
    left: 46%;
}
.lightbox-prev {
    left: 30px;
}
.lightbox-next {
    right: 30px;
}
.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: #086a6f;
}
#lightboxImage {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    cursor: default;
    pointer-events: auto;
}
.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    max-width: 80%;
    pointer-events: auto;
}
body.lightbox-open {
    overflow: hidden;
}

/* Contacts Section */
#contatti {
    padding: 80px 0;
}
.contacts-logo {
    margin-bottom: 60px;
}
.contacts-logo img {
    max-height: 56px;
    width: auto;
}
.contacts-content {
    display: flex;
    align-items: center;
}

/* Contact Form */
.contact-form-container {
    padding: 1px 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.contact-form-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
}
.contact-form .form-row {
    display: flex;
    gap: 15px;
    margin-right: 0;
    margin-left: 0;
}
.contact-form .form-row.form-row-submit {
    display: block;
}
.contact-form .form-row.form-row-submit p {
    margin-bottom: 0;
}
.contact-form .form-group {
    flex: 1;
    margin-bottom: 0 !important;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 20px 15px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999999;
}
.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}
.form-submit {
    text-align: center;
}
.btn-contact {
    background-color: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    padding: 8px 50px !important;
    border-radius: 25px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease;
    display: block;
    width: auto !important;
    margin: 0 auto;
}
.btn-contact:hover {
    background-color: #ffffff !important;
    color: #005d66 !important;
}

.contact-form .form-row-privacy {
    display: block;
    width: 100%;
}

.contact-form .form-row-privacy .form-group {
    display: flex;
    align-items: center;
    width: 100%;
}

.contact-form .form-row-privacy .wpcf7-acceptance {
    display: flex;
    align-items: center;
    width: 100%;
}

.contact-form .form-row-privacy .wpcf7-acceptance input[type="checkbox"] {
    width: auto !important;
    margin-right: 10px;
    flex-shrink: 0;
}

.contact-form .form-row-privacy .wpcf7-acceptance label {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
}

.contact-form .privacy-error {
    outline: 3px solid #ff0000 !important;
    outline-offset: 2px;
    animation: privacy-error-pulse 0.3s ease-in-out;
}

.contact-form .privacy-error-container {
    animation: privacy-error-shake 0.5s ease-in-out;
}

@keyframes privacy-error-pulse {
    0%, 100% {
        outline-color: #ff0000;
    }
    50% {
        outline-color: #ff6666;
    }
}

@keyframes privacy-error-shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0 0 0 2em;
}


#sedi  {
    padding: 0 70px 30px;
}
#sedi p {
    margin-bottom: 30px
}
#sedi p strong {
    color: #fff !important;
}





/* Responsive */
@media (max-width: 768px) {
    .contacts-logo {
        margin-bottom: 40px;
    }
    .contacts-logo img {
        max-height: 40px;
    }
    .contact-form-container {
        margin-bottom: 50px;
        padding: 1px 15px 0;
    }
    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    .contact-form-title {
        font-size: 18px;
    }

    .btn-contact {
        font-size: 14px !important;
    }

    .contact-form input, .contact-form textarea {
        padding: 18px 12px;
        font-size: 13px;
    }

    form p {
        margin-bottom: 15px;
    }


    #sedi {
        padding: 0;
    }
}

/* Footer Navigation */
.footer-nav {
    padding: 20px 0;
}
.footer-menu {
    text-align: center;
}
.footer-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}
.footer-menu-item {
    display: inline-block;
    margin: 0;
    padding: 0;
}
.footer-menu-link {
    color: #00292d !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 6px;
    transition: color 0.3s ease;
}
.footer-menu-link:hover {
    color: #005d66 !important;
    text-decoration: none;
}
.footer-menu-separator {
    color: #00292d;
    font-size: 14px;
    margin: 0 5px;
    user-select: none;
}

/* Dark Footer for Single Pages */
.footer-dark .footer-nav {
    background-color: #00292d !important;
}
.footer-dark .footer-menu-link {
    color: #ffffff !important;
}
.footer-dark .footer-menu-link:hover {
    color: #ffffff !important;
    opacity: 0.8;
}
.footer-dark .footer-menu-separator {
    color: #ffffff;
}



footer .row-privacy p {
    text-align: center;
    color: #00292d;
    font-size: 11px;
    font-weight: 400;
    margin: 0;
}


/* Responsive Footer Menu */
@media (max-width: 768px) {
    .footer-menu-list {
        flex-direction: column;
        gap: 10px;
    }
    .footer-menu-separator {
        display: none;
    }
    .footer-menu-link {
        font-size: 13px;
        padding: 6px 10px;
    }
}


