/*
Theme Name: Carofano    
Text Domain: carofano
*/

html body {
    font-family: 'Inter', sans-serif;
}

header {
    padding-top: 25px;
}

html p {
    font-weight: normal;
    font-size: 18px;
    line-height: 26px;
    text-align: left;
    color: #585f70;
}


.marker-position {
    bottom: -34px;
    left: 0;
    position: relative;
}
#map {
    min-height: 500px;
    width: 100%;
    height:100%
} 

header .header-top {
    border-bottom: 1px solid #e7e8ea;
    padding-bottom: 25px;

}
.contatti-header {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

.contatti-header a {
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #1e3876;
}

.contatti-header li {
    margin-right: 40px;
}

.contatti-header li:last-child {
    margin-right: 0;
}

.contatti-header img,
.contatti-header svg {
    width: 30px;
}

.contatti-header svg:hover {
    color: #6092E0!important;
}
.row.header-bottom {
    margin-top: 25px;
    margin-bottom: 30px;
}

.main-image-home {
    width: 100%;
}

.menu-header {
    padding-left: 0;
    margin-bottom: 0;
}

#menu-menu-principale .current_page_item{
    position: relative; 
}


#menu-menu-principale .current_page_item a{
    color: #6092E0;
}


#menu-menu-principale .current_page_item:after{
    content: '';
    position: absolute;
    width: 100%;
    display: block;
    top: -26px;
    background: #6092e0;
    height: 1px;
}


#menu-menu-principale {
    display: flex;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    padding-top: 0;
}


#menu-menu-principale li {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 25px;
    color: #1e3876;
    margin-right: 40px;
}

#menu-menu-principale li a {
    text-decoration: none;
    color: #1e3876;
}

#menu-menu-principale li a:hover {
    color: #6092E0;
}

header .cta-header:hover {
    background-color: #1E3876;
    color: white;
}

.cta-header {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    padding: 14px 30px;
    font-size: 16px;
    border-radius: 24px;
    background: #6092e0;
    line-height: 24px;
    text-align: left;
    color: #fff;
    text-decoration: none;
}

html a:hover {
    color: #6092E0;
}

footer .cta a:hover {
    background-color: white;
    color: #6092E0;
}

.box-1 .intro {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
    color: #6092e0;
    text-transform: uppercase;
}

.box-1 .titolo {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 42px;
    line-height: 50px;
    text-align: left;
    color: #1e3876;
    margin: 30px 0 42px;
    
}

.box-1 .cta {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
    color: #6092e0;
    text-decoration: none;
    border: 2px solid #6092e0;
    padding: 12px 30px;
    border-radius: 25px;
}

.box-1 .col-lg-4 {
    padding-right: 70px;
}


.box-1 .col-lg-8 {
    flex-grow: 1;
}

.box-2 .titolo {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 42px;
    text-align: left;
    color: #1e3876;
    max-width: 61%;

}

.box-2 .intestazione {
    display: flex;
    margin-bottom: 78px;
    justify-content: space-between;
}


.box-2 .icona {
    height: 62px;
}

.box-quadrante {
    padding: 50px 32px;
}

.box-2 .col-lg-3:nth-child(odd) .box-quadrante {
    background-color: #ECF0F5;
}

.parallasse {
    background-image: url(assets/images/parallasse.jpg);
    min-height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 70px;
    margin-bottom: 100px;
    backface-visibility: hidden;
}

@supports (-webkit-touch-callout: none) {
    .parallasse {
        background-attachment: initial;
    }
}

.box-4 {
    margin-bottom: 50px;
}

.box-5.bg {
    background-color: #202d3d;
    padding-top: 90px;
}

.box-5 hr {
    background: #e7e8ea;
    opacity: 0.2;
    margin-top: 0;
    margin-bottom: 32px;
}

.box-5 h4 {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 42px;
    line-height: 50px;
    text-align: left;
    color: #fff;
    margin-bottom: 32px;
}

.box-5 a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
    color: #fff;
    text-decoration: none;
    border: 2px solid;
    border-radius: 24px;
    padding: 12px 28px;
}


.box-5 img {
    margin-top: 67px;
    max-width: 100%;;
}


.box-contatti {
    padding-top: 78px;
    text-align: center;
}
.box-contatti h5 {
    font-size: 33px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    color: #1E3876;
    font-weight: bold;
    margin-bottom: 28px;
}

.box-contatti hr {
    width: 140px;
    margin: 0 auto 30px;
    position: relative;
    height: 2px;
    height: 2px!important;
    background-color: #DADDE3;
}

.box-contatti hr:after {
    content: '';
    width: 40px;
    position: absolute;
    background-color: #6092E0;
    height: 2px;
    margin: auto;
    left: 0;
    right: 0;
}

.box-contatti input:not([type="checkbox"]) {
    padding: 5px 16px 5px 11px;
    margin-right: 39px;
    margin-bottom: 17px;
}

.box-contatti .half span {
    width: 49%;
}

.box-contatti .half input {
    width: 100%;
}

.bg.box-contatti {
    background-color: #ECF0F5;
    padding-bottom: 70px;
}
.box-contatti .wpcf7-acceptance .wpcf7-list-item {
    margin-left: 0;
    margin: 20px 0;
}

.box-contatti .testo {
    text-align: center;
    color: #585F70;
    margin-bottom: 65px;
}

.box-contatti textarea {
    width: 100%;
    padding: 5px 16px 5px 11px;
}

.half > p{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

.box-contatti input.wpcf7-submit {
    background-color: #6092E0;
    color: white;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    border: none;
    padding: 8px 22px;
    border-radius: 24px;
    font-weight: 500;
}

.box-6 img {
    width: 100%;
    height: 100%;
}

footer {
    background-color: #202D3D;
}

footer .logo-info {
    display: flex;
}

footer .logo-info > img {
    width: 225px;
    height: 50px;
    margin-right: 118px;
}

footer .logo-info p {
    font-family: 'Inter', sans-serif;
    font-weight: normal;
    font-size: 20px;
    line-height: 36px;
    text-align: left;
    color: #fff;
    margin-bottom: 79px;

}

.footer-bottom {
    padding-top: 79px;

}

.footer-top .footer-image-bg{
    position: relative;
}

.footer-top .footer-image-bg img{
    width: 100%;
}

.footer-top .footer-image-bg:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
    opacity: .3;
}

footer .logo-info a {
    text-decoration: none;
    color: white;
    display: block;

}

footer .logo-info a img {
    width: 35px;
    margin-top: 8px;
}

footer .logo-info a svg {
    width: 35px;
    margin-top: 8px;
}


footer .logo-info a svg:hover {
    color: #6092e0!important;
}
.box-1 .cta:hover {
    border: 2px solid #1E3876;
    color: #1E3876;

}

footer .logo-info a:hover, 
footer .copyright ul li a.iubenda-embed:not(.iubenda-nostyle):hover,
footer .copyright ul li a:hover {
    text-decoration: underline!important
}


.box-5 a:hover {
    border: 2px solid #6092E0;
    color: #6092E0;
}

.footer-top .text {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 60px;
    right: 0;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    z-index: 2;
}

.footer-top .text h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}

.footer-top .text a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
    color: #fff;
    text-decoration: none;
    border: 1px solid white;
    border-radius: 25px;
    padding: 11px 30px;
}

.footer-top .text a:hover {
    color: #6092E0;
    border: 1px solid #6092E0;
    background: #FFFFFF;
}

.footer-top .text h4 {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 42px;
    line-height: 50px;
    text-align: left;
    color: #fff;
    margin: 29px 0;
}
footer .tel {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 42px;
    text-align: left;
    color: #fff;
    text-decoration: none;
}

footer .cta {
    margin-top: 20px;
}

footer .cta a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
    color: #fff;
    border-radius: 24px;
    background: #6092e0;
    text-decoration: none;  
    padding: 14px 30px;  
}

footer .footer-bottom hr {
    margin: 0;
    background: #e7e8ea;
    opacity: 0.2;  
}

footer .copyright {
    padding-top: 34px;
}

footer .copyright p {
    font-family: 'Inter', sans-serif;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
    color: #fff;
    opacity: 0.6;
    margin-bottom: 35px;
}

footer .copyright p a {
    color: #fff;
    text-decoration: none;
}

footer .copyright p a:hover {
    text-decoration: underline;
}


footer .copyright ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

footer .copyright ul li {
    padding-right: 20px;
    border-right: 1px solid #a3a8af;
    padding-left: 20px;
}

footer .copyright ul li:last-child {
    padding-right: 0;
    border: none;
}

footer .copyright ul li a.iubenda-embed:not(.iubenda-nostyle), 
footer .copyright ul li a {
    font-family: 'Inter', sans-serif!important;
    font-weight: normal!important;
    font-size: 16px!important;
    line-height: 24px!important;
    text-align: right!important;
    color: #fff!important;
    opacity: 0.6!important;
    text-decoration: none!important;
    background: none!important;
    padding: 0!important;

}

#page-lo-studio .masthead {
    background-color: #202D3D;
}

#page-lo-studio .masthead hr {
    background: #e7e8ea;
    opacity: 0.2;
    margin: 90px 0 38px;
}

#page-lo-studio .masthead h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 17px;
}

#page-lo-studio .masthead h4 {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 42px;
    line-height: 50px;
    text-align: left;
    color: #fff;
    margin-bottom: 68px;
}

#page-lo-studio .masthead h5 {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 26px;
    line-height: 34px;
    text-align: left;
    color: #fff;
}

#page-lo-studio .masthead p {
    font-family: 'Inter', sans-serif;
    font-weight: normal;
    font-size: 20px;
    line-height: 28px;
    text-align: left;
    color: #fff;
    margin-bottom: 156px;
}

#page-lo-studio .box-1 img {
    width: 100%;
}

#page-lo-studio .box-2 img {
    width: 100%;
}

#page-lo-studio .box-2 {
    margin: 112px 0;
}

#page-lo-studio .box-2 .titolo {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 42px;
    line-height: 50px;
    text-align: left;
    color: #1e3876;
    max-width: unset;
    margin-bottom: 29px;
}

#page-lo-studio .box-2 p {
    font-family: 'Inter', sans-serif;
    font-weight: normal;
    font-size: 18px;
    line-height: 26px;
    text-align: left;
    color: #585f70;
    padding-right: 40px;
}

.box-professionisti {
    background-color: #ECF0F5;
}

.box-professionisti .titolo-box {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 42px;
    line-height: 50px;
    text-align: left;
    color: #1e3876;
    margin: 100px 0 49px;
}

.box-professionisti .nome {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 42px;
    text-align: left;
    color: #1e3876;
    margin: 30px 0 14px;
}

.box-professionisti .modal .nome {
    margin-bottom: 0;
    margin-top: 8px;
}

.box-professionisti .modal h6 {
    margin-bottom: 0;
}

.box-professionisti h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 25px;
    line-height: 42px;
    text-align: left;
    color: #6092e0;
    margin: 0;
}


.box-professionisti .titolo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.box-professionisti .titolo .cta {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 13px;
    text-align: center;
    color: #6092e0;
    text-decoration: none;
    border: 2px solid #6092e0;
    padding: 6px 13px;
    border-radius: 20px;
}


.box-professionisti .titolo .cta:hover {
    border: 2px solid #1E3876;
    color: #1E3876;
}
.box-professionisti p {
    font-family: 'Inter', sans-serif;
    font-weight: normal;
    font-size: 18px;
    line-height: 26px;
    text-align: left;
    color: #585f70;

}

.box-professionisti .col-lg-4 {
    margin-bottom: 60px;
    --bs-gutter-x: 65px;
    padding-left: 12px;
}


.box-professionisti .col-lg-4 img {
    width: 100%;
}

#about-masonry-2 {
    margin-bottom: 50px;
}

#about-masonry-2 .box-1 {
    background-image:url('assets/images/mosaico-1.jpg');
    background-size:cover;
    height: 100%;
}

#about-masonry-2 .box-2 {
    background-image:url('assets/images/mosaico-2.jpg');
    background-size:cover;
    height: 269px;
    margin: 0;
}
#about-masonry-2 .box-3 {
    background-image:url('assets/images/mosaico-3.jpg');
    background-size:cover;
    height: 100%;
}
#about-masonry-2 .box-4 {
    background-image:url('assets/images/mosaico-4.jpg');
    background-size:cover;
    height: 269px;
    margin: 0;

}
#about-masonry-2 .box-5 {
    background-image:url('assets/images/mosaico-5.jpg');
    background-size:cover;
    height: 100%;
}

#about-masonry-2 .box-1 img,
#about-masonry-2 .box-2 img,
#about-masonry-2 .box-3 img,
#about-masonry-2 .box-4 img,
#about-masonry-2 .box-5 img{
    display: none;
}


#page-settori-di-attività .bg {
    background-image:url('assets/images/settori-di-attività-bg.jpg');
    background-size: cover;
    min-height: 577px;
}

#page-settori-di-attività .intro {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
    color: #fff;
    margin-bottom: 0;
    text-transform: uppercase;
}

#page-settori-di-attività .box .intro {
    color: #6092e0;
    margin-bottom: 21px;
    font-weight: 600;
}

#page-settori-di-attività .titolo {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 42px;
    line-height: 50px;
    text-align: left;
    color: #fff;    
    margin: 17px 0 68px;
}

#page-settori-di-attività .box {
    background: white;
    padding: 50px;
}

#page-settori-di-attività .box h4 {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 32px;
    line-height: 42px;
    text-align: left;
    color: #1e3876;
    margin-bottom: 8px;
}

#page-settori-di-attività .settore {
    padding: 80px 0;
}

#page-settori-di-attività .settore:first-child {
    margin-top: -200px;
    padding-top: 280px;
    background-color: #ECF0F5;
    padding-bottom: 80px;
}

#page-settori-di-attività .settore:nth-child(odd) {
    background-color: #ECF0F5;
}


#page-settori-di-attività .box p {
    font-family: 'Inter', sans-serif;
    font-weight: normal;
    font-size: 20px;
    line-height: 28px;
    text-align: left;
    color: #585f70;    
}

#page-settori-di-attività .settore h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 42px;
    text-align: left;
    color: #1e3876;
    border-right: 1px solid #4D608C; 
    padding-right: 60%;
}

#page-settori-di-attività .settore .col-lg-8 {
    padding-left: 45px;
}

#page-settori-di-attività .settore .col-lg-8 p {
    margin-bottom: 0;
    font-family: 'Inter', sans-serif;
    font-weight: normal;
    font-size: 18px;
    line-height: 26px;
    text-align: left;
    color: #585f70;

}


#page-settori-di-attività .box .col-lg-6 {
    --bs-gutter-x: 50px;
}

#page-settori-di-attività .moved {
    margin-top: -491px;
}

#page-settori-di-attività .moved hr {
    background: #e7e8ea;
    opacity: 0.2;
    margin-bottom: 38px;
}
#page-contatti .bg {
    background-image:url('assets/images/contatti-bg.jpg');
    background-size: cover;
    min-height: 577px;
    position: relative;
}

#page-contatti .bg:after{
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #202d3d;
    opacity: 0.4;
}

#page-contatti .box-contatti {
    background: #ECF0F5;
    padding-bottom: 85px;
}

#page-contatti .moved div {
    z-index: 2;
}

#page-contatti .tris-contatti .singolo img {
    margin-bottom: 75px;
}


#page-contatti .tris-contatti .singolo {
    background-color: white;
    padding: 40px;
    min-height: 290px;

}

#page-contatti .tris-contatti .row .col-lg-4{
    --bs-gutter-x: 0px;
}

#page-contatti .tris-contatti .row .col-lg-4:nth-child(even) .singolo {
    background-color: #6092E0;
}

#page-contatti .tris-contatti .row .col-lg-4:nth-child(even) .singolo a {
    color: white;
}

#page-contatti .tris-contatti .row .col-lg-4:nth-child(even) .singolo a:hover {
    color: #1E3876;
}

.wpcf7-acceptance a {
    color: #6092E0;
    text-decoration: none;
}

.wpcf7-acceptance a:hover {
    text-decoration: underline;
}
#page-contatti .tris-contatti .singolo a {
    text-decoration: none;
    color: #1e3876;
}

#page-contatti .tris-contatti .row .col-lg-4:last-child .singolo a:hover {
    color: #6092E0
}
#page-contatti .moved {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
}


#page-contatti .tris-contatti .singolo p {
    font-family: 'Inter', sans-serif;
    font-weight: normal;
    font-size: 22px;
    line-height: 30px;
    text-align: left;
    color: #1e3876;
    margin-bottom: 0;

}


#page-contatti .intro {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
    color: #fff;
    margin-bottom: 0;
    text-transform: uppercase;
}

#page-contatti .titolo {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 42px;
    line-height: 50px;
    text-align: left;
    color: #fff;    
    margin: 17px 0 68px;
}

#page-contatti .moved hr {
    background: #e7e8ea;
    opacity: 0.2;
    margin-bottom: 38px;
}

.mappa-right {
    background-image: url(assets/images/box-6.jpg);
    background-size: cover;
    background-position: top center;
}

.hamburger {
    position: relative;
    width: 25px;
    height: 20px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.hamburger span {
    position: absolute;
    width: 30px;
    height: 3px;
    border: none;
    top: 0;
    right: 12px;
    background: #6092e0;
    cursor: pointer;
}

.openMenu .hamburger span {
    right: 0;
}


.hamburger span.middle {
    top: 8px;
}

.hamburger span.bottom {
    top: 16px;
}

header .navbar-nav {
    display: none;
}

.openMenu {
    overflow: hidden;
}


@media(max-width: 992px) {

    header .header-top .menu-container, 
    header .menu-header,
    header .prenota {
        display: none;
    }

    .navbar-nav .nav {
        display: block;
        justify-content: space-between;
        width: 100%;
        margin-top: 25px;
        border-top: 1px solid #e7e8ea;
        padding-top: 25px;
    }

    .navbar-nav .nav li  {
        margin-bottom: 17px;
    }
    .navbar-nav .nav li a {
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        font-size: 19px;
        line-height: 24px;
        text-align: left;
        color: #6092e0;
        text-transform: uppercase;
        text-decoration: none;
    }

    .navbar-nav .nav li.current-menu-item a {
        text-decoration: underline;
        font-weight: bold;
    }

    .navbar-nav .contacts {
        margin-top: 48px;
        text-align: center;
    }

    .navbar-nav .contacts svg{
        width: 35px;
        margin-bottom: 8px;
    }

    .navbar-nav .contacts .contact {
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        font-size: 16px;
        line-height: 24px;
        text-align: left;
        color: #6092e0;
        text-transform: none;
        text-align: center;
        margin-bottom: 0;
    }

    .navbar-nav .contacts a {
        text-decoration: none;
    }

    .navbar-nav .contacts a button {
        text-decoration: none;
        width: 100%;
        background: #6092e0;
        color: white;
        text-transform: uppercase;
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        font-size: 16px;
        line-height: 24px;
        border: none;
        padding: 10px;
        border-radius: 20px;
        margin-top: 8px;
    }

    .navbar-nav .menu {
        padding-left: 0;
        list-style: none;
    }


    .openMenu header .navbar-nav {
        transform: translateX(0);
        align-items: flex-start;
        padding-top: 0;
        background-color: white;
        justify-content: space-between;
        display: block;
        padding-bottom: 25px;
        padding-top: 25px;
    }

    header .navbar-nav .hamburger {
        width: 100%;
    }

    header .navbar-nav .hamburger .middle {
        opacity: 0;
    }

    header .navbar-nav .hamburger .top {
        transform: translateY(8px) translateX(0) rotate(45deg);
        background-color: #6092e0;
    }

    header .navbar-nav .hamburger .bottom {
        transform: translateY(-8px) translateX(0) rotate(-45deg);
        background-color: #6092e0;
    }

    header {
        padding-top: 25px;
    }

    header .header-top {
        padding-bottom: 25px;
    }

    .row.header-bottom {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    #page-contatti .moved {
        position: initial;
    }

    #page-contatti .titolo {
        font-size: 36px;
        line-height: 42px;
    }

    #page-contatti .tris-contatti .singolo {
        padding: 40px 12px;
        min-height: unset;
    }

    #page-contatti .tris-contatti .singolo img {
        margin-bottom: 17px;
        width: 55px;
    }

    #page-contatti .box-contatti {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    #page-contatti .box-contatti .testo {
        margin-bottom: 30px;
    }


    .mappa-right {
        height: 365px;
    }
    #about-masonry-2 .col-lg-6 div {
        height: auto;
    }

    .box-5 img {
        margin-top: 0;
    }

    .box-5.bg {
        padding-top: 39px;
    }

    .box-5 h4 {
        font-size: 32px;
        line-height: 36px;
    }

    .box-contatti input:not([type="checkbox"]) {
        margin-right: 0;
    }
    .half > p {
        display: block;
    }
    #menu-menu-principale {
        display: block;
    }

    footer .logo-info {
        display: block;
    }

    .footer-bottom {
        padding-top: 46px;
    }


    footer .logo-info p {
        margin-bottom: 0;
    }

    footer .tel {
        font-size: 20px;
    }

    footer .footer-bottom .text-end {
        text-align: left!important;
    }

    footer .logo-info > img {
        margin-right: 0;
        margin-bottom: 19px;
    }
    footer .copyright {
        padding-bottom: 34px;

    }

    footer .logo-info a img, 
    footer .logo-info a svg {
        margin-bottom: 20px;
    }

    .logo-header {
        margin-bottom: 0;

    }

    .main-image-home {
        margin-top: 40px;
    }

    .box-1 .titolo {
        margin: 0px 0 28px;
    }

    .box-2 .icona {
        height: 55px;
    }

    .box-2 .titolo {
        max-width: 71%;
        font-size: 29px;
        line-height: 43px;
    }

    .box-2 .intestazione {
        align-items: center;
        margin-bottom: 32px;
    }
    .box-quadrante {
        padding: 26px 12px;
    }

    .parallasse {
        margin-bottom: 50px;
        margin-top: 0;
    }

    #about-masonry-2 .box-1 img, #about-masonry-2 .box-2 img, #about-masonry-2 .box-3 img, #about-masonry-2 .box-4 img, #about-masonry-2 .box-5 img {
        display: block;
        width: 100%;
        max-height: 100%;
    }

    #page-homepage > .box-5.bg img {
        margin-top: 40px;
    }

    #about-masonry-2 {
        margin-bottom: 30px;
    }

    #about-masonry-2 .col-lg-6  {
        padding-bottom: 0!important;
    }

    #about-masonry-2 .col-lg-6 > div {
        background: unset!important;
        padding-bottom: 0!important;
        margin-bottom: 20px;
        display: block;
    }

    .header-bottom .text-end {
        text-align: left!important;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .box-1 .col-lg-4 {
        width: 100%!important;
        padding-right: 0;
    }

    header .contatti-header {
        display: block!important;
    }

    footer .copyright ul {
        display: block;
    }
    .footer-top .text {
        left: 12px;
    }

    .footer-top .text h4 {
        font-size: 28px;
        line-height: 34px;
    }

    .box-professionisti .titolo-box {
        font-size: 36px;
        line-height: 50px;
        margin: 50px 0 40px;
    }

    .box-professionisti .col-lg-4 {
        margin-bottom: 20px;
        padding-right: calc(var(--bs-gutter-x) * .5);
        --bs-gutter-x: 1.5rem;
    }

    .footer-top .footer-image {
        display: none;
    }

    .footer-top .col-lg-12 {
        padding: 0;
    }

    #page-lo-studio .box-2 p {
        padding-right: 0;
        margin-bottom: 32px;
    }

    #page-lo-studio .box-2 .titolo {
        font-size: 39px;
        line-height: 50px;
        margin-bottom: 20px;
    }

    #page-lo-studio .box-2 {
        margin: 40px 0;
    }

    #page-lo-studio .masthead h5 {
        margin-bottom: 22px;
    }

    #page-lo-studio .masthead p {
        margin-bottom: 57px;
    }

    #page-lo-studio .masthead h4 {
        margin-bottom: 22px;
    }

    .footer-top .footer-image-bg {
        background-size: cover;
        background-position: center;
        background-image: url('assets/images/footer-image.jpg');
        height: 345px;
    }


    #page-lo-studio .masthead hr {
        margin: 43px 0 38px;
    }

    footer .copyright ul li {
        padding-left: 0;
        border: none;
    }

    #page-settori-di-attività .box {
        padding: 20px 5px;
    }

    #page-settori-di-attività .box h4 {
        font-size: 26px;
        line-height: 36px;
        margin-bottom: 18px;
    }

    #page-settori-di-attività .titolo {
        margin: 17px 0 38px;
    }
    #page-settori-di-attività .settore {
        padding: 42px 0;
    }
    #page-settori-di-attività .settore:first-child {
        margin-top: -238px;
        padding-top: 279px;
        padding-bottom: 42px;

    }

    #page-settori-di-attività .settore h5 {
        padding-right: 0;
    }
    #page-settori-di-attività .settore .col-lg-8 {
        padding-left: calc(var(--bs-gutter-x) * .5);
    }


    #page-settori-di-attività .moved {
        margin-top: -545px;
    }
    
    .contatti-header img {
        margin-bottom: 5px;
    }

    footer .cta {
        margin-bottom: 43px;
        margin-top: 16px;
    }


    #menu-menu-principale li {
        margin-bottom: 8px;

    }

    #menu-menu-principale .current_page_item:after {
        display: none;
    }

    header .navbar-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding-top: 0rem;
        background: #225259;
        overflow: auto;
        z-index: 10;
        transform: translateX(-100%);
        transition: transform 0.6s ease;
        margin: 0;
        align-items: flex-start;
        padding-top: 0;
        background-color: #225259;
        justify-content: space-between;
    }
}


@media (min-width: 576px) {
    .box-professionisti .modal-dialog {
        max-width: 62%;
    }
}
