/********************************************* GENERALE */
body{
    font-family: source-sans-pro, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
}
html.isopenmenu {
    overflow: hidden;
}
button {
    display: flex;
    width: auto;
    margin: 10px 0 0 auto;
    font-family: source-sans-pro, sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    background-color: #8EDA59;
    color: #ffffff;
    border: 0;
    border-radius: 0;
}
*,
*:link,
*:visited,
*:focus,
*:hover,
*:active{
    outline: 0!important;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
a{color: initial}
.container{
    align-items: center;
}
.content{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
h1{
    color: #ffffff;
}
img{
    width: 100%;
    height: 100%;
}

/********************************************* HEADER */
header{
    position: relative;
    font-family: century-gothic, sans-serif;
    font-style: normal;
    font-weight: 400;
    text-transform: uppercase;
}
.desktop-bar, .desktop-bar.aperto{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 80px;
    box-sizing: border-box;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: #b0b0b0;
    min-height: 120px;
    height: auto;
    transition: 0.3s;
}
.desktop-bar.black{
    background: #3584a6;
    padding: 30px 50px;
    justify-content: space-between;
}
.desktop-bar .logo{
    display: flex;
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    transition: 0.3s;
}
.desktop-bar .logo img{
    height: 80px;
    transition: 0.3s;
    width: unset;
}
.desktop-bar.black .logo img{
    height: 98px;


}
.desktop-bar ul{
    display: flex;
    flex-direction: row;
    float: right;
    margin: 0;
    padding: 0;

}
.desktop-bar ul li{
    list-style: none;
}
.desktop-bar ul li a{
    color: #ffffff;
    padding: 5px 0 5px 20px;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.5s;
}
.desktop-bar.black ul li a{
    color: #fff;
    line-height: 60px;
}
.desktop-bar.black ul li a:hover{
    transition: 0s;
    color: #8EDA59;
}
.desktop-bar ul li a{
    border-radius: 10px;
}

.desktop-bar ul li a.active{
    color: #8EDA59;
    transition: 0s;
}
.desktop-bar .master-title{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 17px;
    color: #ffffff;
}
.desktop-bar.black .master-title{
    font-size: 12px;
}
.desktop-bar nav{
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
}
.desktop-bar.black nav{
    transition-delay: 0.2s;
    visibility: visible;
    opacity: 1;
}
.desktop-bar .master-title h1{
    font-size: 44px;
    margin: 0 10px;
    width: max-content;
    transition: 0.3s;
}
.desktop-bar.black .master-title h1{
    font-size: 22px;
}
.desktop-bar .master-title span{
    transition: 0.3s;
}
.responsive-bar, .burger-menu{
    display: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.responsive-bar{
    justify-content: flex-start;
}
.burger-menu img{width: 140px;}
.responsive-bar .logo{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 81px 0 30px;
}
.burger-menu i{
    cursor: pointer;
}
.responsive-bar .loghi{
    display: flex;
    flex-direction: row;
}
.responsive-bar .logo img{
    width: 100%;
    max-width: 100px;
    display: none;
}
.responsive-bar .logo .logo-occhio{
    /*margin-right: 20px;*/
}
.responsive-bar a{
    color: #ffffff;
}
.responsive-bar li{
    margin-bottom: 20px;
    text-align: right;
}
.responsive-bar .master-title{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 25px;
    line-height: 25px;
    text-align: right;
    font-weight: 400;
}
.responsive-bar .master-title h1{
    font-size: 35px;
    line-height: 35px;
    text-align: right;
    font-weight: 700;
    margin: 30px 0 15px;
}
.responsive-bar .close i{
    cursor: pointer;
}
.responsive-bar .dropdown-menu a{
    margin: 10px 0;
    font-style: italic;
}
.responsive-bar .dropdown-menu a:last-child{
    margin-bottom: 0;
}
.dropdown-menu{
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 8px;
    width: max-content;
    height: max-content;
    background-color: #0b648a;
    padding: 10px;
}
.responsive-bar .dropdown-menu{
    position: relative;
    top: unset;
    left: unset;
}
.desktop-bar ul li .dropdown-menu a{
    padding: 0;
    line-height: 40px;
}
.dropdown-menu.aperto{
    display: flex;
}
header nav li.servizi{
    position: relative;
    cursor: pointer;
    margin-right: 25px;
}

header .desktop-bar:not(.black) nav li.servizi::before{
    display: none;
}
header nav li.servizi::before{
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f0dd';
    display: block;
    position: absolute;
    right: -18px;
    bottom: 26px;
    color: #ffffff;
}
header nav li.servizi.aperto::before{
    content: '\f0de';
    bottom: 18px;
}
header .responsive-bar nav li.servizi::before{
    right: -18px;
    bottom: unset;
    top: -3px;
    color: #ffffff;
}
header .responsive-bar nav li.servizi.aperto::before{
    content: '\f0de';
    bottom: unset;
    top: 5px;
}
/********************************************* CTA + FOOTER */
.cta{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    font-weight: 400;
    padding: 10px 300px;
    text-align: center;
    color: #b0b0b0;
}
.cta .title{font-size: 44px;font-weight: 300;}
.cta span{
    font-weight: 700;
}
.cta .btn:link,
.cta .btn:visited {
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 40px;
    display: inline-block;
    border-radius: 100px;
    transition: all .2s;
    position: relative;
    margin: 25px 0;
}

.cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta .btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.cta .btn-white {
    background-color: #8EDA59;
    color: #ffffff;
}

.cta .btn::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all .6s;
}

.cta .btn-white::after {
    background-color: #8EDA59;
}

.cta .btn:hover::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
}

.cta .btn-animated {
    animation: moveInBottom 5s ease-out;
    animation-fill-mode: backwards;
}

@keyframes moveInBottom {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}






footer{
    background-color: #3584a6;
    padding: 30px;
    height: auto;
    color: #000000;
}
footer .container{
    height: 100%;
}
footer .logo-occhio img{width: 100%}
footer .info{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}
footer .info .testo{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
footer .logo-occhio{
    max-width: 120px;
    margin-right: 20px;
}
footer .social .group{
    display: flex;
    flex-direction: row;
    align-items: baseline;
}
footer .social .group .fab{
    margin-right: 10px;
}
footer .art-evid{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
footer .art-evid .group{
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
}
footer .art-evid .group:last-child{margin-bottom: 0}
footer .art-evid .img{
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-right: 10px;
    width: 25%;
}
footer .art-evid .group .text{
    width: 75%;
}
footer .art-evid .group .title{
    font-family: source-sans-pro, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    line-height: 20px;
}
footer .art-evid .a-art-evid{
    margin-bottom: 25px;
}
.zeiss-footer .col-sm-12{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.zeiss-footer .col-sm-12 a{
    width: max-content;
}
/********************************************* HOME */
.swiper-container.top-home,.swiper-slide {
    width: 100%;
    height: 60vh;
}
.top-home .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction{
    right: 40px;
    left: unset;
}
.swiper-pagination{
    display: flex;
    justify-content: flex-end;
}
.swiper-pagination-bullet-active{
    background-color: #8EDA59;
}
.zeiss{
    margin-top: 30px;
}
.zeiss img{
    width: 100%;
    height: 100%;
}
.zeiss .select{
    background-color: #b0b0b0;
    display: flex;
    justify-content: center;
    border: 5px solid #ffffff;
}
.grid .row{margin-top: 20px;}
.grid .colx{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 10px;
    min-height: 310px;
    height: auto;
    align-items: center;
    color: #8EDA59;
    background-color: #333333;
    position: relative;
    margin-bottom: 20px;
    border: 5px solid #ffffff;
    font-weight: 400;
}
.grid .colx a{
    align-self: flex-end;
    margin: auto 0 0;
    position: relative;
}
.grid .colx .testo{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    padding: 0 20px;
    margin-bottom: 20px;
}
.grid .colx .testo h3{font-size: 26px;margin: 0 0 10px 0;text-align: center;font-weight: 300}
.grid .colx:nth-child(1){background-color: #4E3D42;}
.grid .colx:nth-child(2){background-color: #5B5B5B;}
.grid .colx:nth-child(3){background-color: #6D6466;}
.grid .colx.no-bg{background-color: transparent;}


.grid .btn {
    width: 180px;
    height: 60px;
    cursor: pointer;
    background: transparent;
    border: 2px solid #8EDA59;
    outline: none;
    margin: 0;
    display: block;
    transition: 0.5s ease-in-out;
}

.grid .btn svg {
    position: absolute;
    left: 0;
    top: 0;
    fill: none;
    stroke: #fff;
    stroke-dasharray: 150 480;
    stroke-dashoffset: 150;
    transition: 0.5s ease-in-out;
}

.grid .btn:hover {
    transition: 1s ease-in-out;
    background: #8EDA59;
}

.grid .btn:hover svg {
    stroke-dashoffset: -480;
}

.grid .btn span {
    color: #ffffff;
    font-size: 18px;
    font-weight: 100;
    transition: 0.5s;
}
.grid .btn:hover span{
    font-weight: 400;
}
/********************************************* PAGE */
.bg-img{
    width: 100%;
    height: 400px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    margin-top: 126px;
}
.page h2, .single h2{
    text-align: center;
    font-weight: 700;
    color: #4A5759;
    max-width: unset;
}
.page p, .single p{
    text-align: justify;
    font-weight: 400;
    font-size: 17px;
    line-height: 27px;
    margin-bottom: 10px;
}
.page p:last-child, .single p:last-child{
    margin-bottom: 0;
}
.page-id-105 li.blocks-gallery-item{
    border: 1px solid #000000;
    padding: 5px;
}
.page-id-105 li.blocks-gallery-item figure{
    align-items: center;
    justify-content: center;
    min-height: 195px;
    position: relative;
}
.blocks-gallery-grid{
    width: 100%;
}
.page-id-105 li.blocks-gallery-item figure img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: contain;
    object-position: center;
}
@media (max-width: 991px) {
    .page-id-105 li.blocks-gallery-item figure{
        min-height: 115px;
    }
}
.form-contatti label{
    font-weight: 700;
}
.form-contatti input, .form-contatti textarea{
    border: 0;
    border-bottom: 1px solid #000000;
    width: 100%;
    font-family: source-sans-pro, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
    transition: 0.5s;
}
.form-contatti p{
    margin-top: 18px;
}
.form-contatti .wpcf7-submit{
    display: flex;
    width: auto;
    margin: 10px 0 0 auto;
    font-family: source-sans-pro, sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    background-color: #8EDA59;
    color: #ffffff;
    border: 0;
    border-radius: 0;
    position: relative;
    transition: unset;
}
.form-contatti .wpcf7-submit:disabled{
    background-color: #ff0000;
}
.form-contatti textarea{
    height: 70px;
    overflow: hidden;
}
.form-contatti textarea:focus{
    height: 270px;
    overflow: unset;
}

.form-contatti input:focus, .form-contatti textarea:focus{
    background-color: #DEDBD2;
    outline: transparent;
}
.form-contatti input::placeholder, .form-contatti textarea::placeholder{
    font-family: source-sans-pro, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
    line-height: 17px;
}
.page-contatti .cta{
    display: none;
}
/********************************************* PAGE-NEWS */
.page-news .article{
    flex-direction: column;
}
.page-news article{
    display: flex;
    flex-direction: row;
    margin: 0 0 20px 0;
}
.page-news article .group{
    display: flex;
    flex-direction: column;
}
.page-news article h3{
    margin: 0 0 10px 0;
    line-height: 28px;
    text-align: justify;
}
.page-news article .img-thumbnail{
    width: 250px;
    height: auto;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-right: 20px;
    min-width: 250px;
    min-height: 300px;
}
.page-news article .excerpt{
    margin: 10px 0 0 0;
}
.page-news article button{
    margin: 0;
    width: max-content;
}
.page-news article a{
    align-self: flex-end;
    margin-top: auto;
}
.page-news .sidebar-news .title{
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 20px;
}
.page-news .sidebar-news li{
    border-left: 5px solid #C3D600;
    padding-left: 10px;
    margin-bottom: 10px;
}
.page-news .bg-img{
    margin: 0 15px;
}
/********************************************* PAGE-SERVIZI */
.page-prodotti .blocks-gallery-grid, .page-prodotti .wp-block-gallery{
    flex-direction: row;
}
.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor: pointer;right: -36px;}


.acc-privacy label{
    display: flex;
    flex-direction: row;
    font-weight: 400;
    align-items: baseline;
    justify-content: flex-start;
}
.acc-privacy input{
    width: max-content;
    margin: 0 5px 0 0;
}
.acc-privacy span.wpcf7-list-item-label{
    width: auto;
}
.acc-privacy .wpcf7-list-item{
    margin: 0;
}
.acc-privacy a{
    text-decoration: underline;
}




















/* media query */

@media (min-width: 2000px){
    .bg-img {
        height: 600px;
    }
}
@media (max-width: 1999px) {
    .bg-img {
        height: 600px;
    }
}
@media (max-width: 1599px) {
    .cta{
        padding: 10px;
    }

}
@media (max-width: 1199px) {
    .bg-img {
        height: 400px;
        margin-top: 93px;
    }
    .content{
        align-items: center;
    }
    .visibile .burger-menu, .visibile .close{
        display: flex;
        position: fixed;
        top: 28px;
        right: 14px;
        color: #8EDA59;
        background-color: #b0b0b0;
        z-index: 99;
        width: 50px;
        height: 50px;
        border-radius: 100%;
        justify-content: center;
        align-items: center;
        font-size: 30px;
        padding: 10px 30px;
    }
    .visibile .close{
        color: #ff0000;
    }
    .burger-menu, .close{
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        color: #8EDA59;
        background-color: #3584a6;
        z-index: 99;
        width: 100%;
        height: auto;
        border-radius: unset;
        justify-content: space-between;
        align-items: center;
        font-size: 30px;
        padding: 30px 30px;
    }
    .close{
        color: red;
    }

    .desktop-bar{
        display: none!important;
    }
    header.visibile .responsive-bar{
        display: flex;
    }
    header.visibile .burger-menu{
        display: none;
    }
    .responsive-bar{
        flex-direction: column;
        align-items: flex-end;
        width: 40%;
        position: fixed;
        top: 0;
        right: 0;
        background-color: #b0b0b0;
        z-index: 99;
        height: 100vh;
        padding: 20px;
        color: #ffffff;
        overflow-y: scroll;
    }
    header nav li.servizi{
        margin-right: 20px;
    }
    .burger-menu .logo{
        flex-direction: row;
        display: flex;
        align-items: center;
    }
    .burger-menu img {
        width: 140px;
        height: 100%;
        margin-right: 20px;
    }
    h1 {
        font-size: 30px;
    }
    .responsive-bar .master-title span{
        font-size: 22px;
    }
    .grid .colx .testo h3{
        text-align: center;
        height: 75px;
    }
    .grid .colx a{
        margin: auto auto 0;
    }
    .mfp-close{
        display: none!important;
    }
}
@media (max-width: 991px) {
    .mfp-image-holder .mfp-content {
        max-width: 80%!important;
    }
    .wp-block-columns{
        flex-direction: column;
    }
    .responsive-bar{
        width: 100%;
        height: 100%;
    }
    footer .info{
        justify-content: flex-start;
        align-items: center;
    }
    footer .info .social, footer .info .footer-testo, footer .info .gdpr{
        margin-bottom: 20px;
    }
    .page-news article{
        flex-direction: column;
    }
    .page-news article .img-thumbnail{
        width: 100%;
        height: 250px;
    }
    .page-news article .group{
        margin-top: 20px;
    }
    .page-news article .group a{
        margin-top: 20px;
    }
    .grid .colx{
        min-height: unset;
        border: 0;
    }
    .grid .colx .testo h3{
        height: unset;
    }
    .page-servizi .bg{
        margin-bottom: 10px;
    }
    .wp-block-column:nth-child(2n){
        margin: 0;
    }
    .zeiss img{width: 30%}
}
@media (max-width: 782px) {
    .bg-img{
        margin-top: 79px;
    }
}
@media (max-width: 767px) {
    .page-news article .img-thumbnail{
        width: 100%;
        height: unset;
        max-height: 300px;
    }
    .page-news article .img-thumbnail::before{
        content: '';
        display: block;
        padding-top: 100%;
    }
    .swiper-container.top-home,.swiper-slide {
        height: 300px;
    }
    .zeiss-footer .col-sm-12:nth-child(2){
        margin-top: 20px;
    }
    .cta .title{
        font-size: 25px;
        line-height: 29px;
    }
    .page-news article h3{
        text-align: center;
    }
}
@media (max-width: 575px){
    footer .info{
        justify-content: center;
        align-items: center;
    }
    header{
        height: 0;
    }
    .swiper-container.top-home, .swiper-slide{
        height: 25vh;
    }
    .burger-menu, .visibile .close{
        top: unset;
        bottom: 0;
    }
    .visibile .close{
        bottom: 25px;
    }
    .responsive-bar .logo{
        margin-top: 0;
        align-items: center;
    }
    .responsive-bar{
        align-items: center;
    }
    .responsive-bar .master-title{
        align-items: center;
    }
    .responsive-bar li{
        text-align: center;
    }
    .responsive-bar .logo img{
        display: block;
    }
    footer{
        padding-bottom: 110px;
    }
    footer .art-evid{
        display: none;
    }
    footer .info{
        flex-direction: column;
    }
    .burger-menu .logo{
        flex-direction: column;
        display: flex;
        align-items: center;
    }
    .burger-menu img{
        display: none;
    }
    h1 {
        font-size: 23px;
    }
    .responsive-bar .master-title h1{
        font-size: 29px;
    }
    .responsive-bar .master-title span{
        font-size: 18px;
    }
    footer .art-evid .a-art-evid .excerpt{
        display: none;
    }
    .postid-288 .wp-block-columns{
        margin-bottom: 1em;
    }
    .zeiss img{
        width: 70%;
    }
    .bg-img{
        margin-top: 0;
        height: unset;
    }
    .bg-img:before{
        content: '';
        display: block;
        padding-top: 100%;
    }
    header .responsive-bar nav li.servizi.aperto::before{
        right: 82px;
    }
    header .responsive-bar nav li.servizi::before{
        right: -7px;
    }
    header nav li.servizi{
        margin-right: 0;
    }
    .container.first{
        padding-top: 0;
    }
}
@media (max-width: 480px){
    .mfp-image-holder .mfp-content {
        max-width: 75%!important;
    }
}


body .iubenda-tp-btn[data-tp-float][data-tp-float="bottom-right"],
body .iubenda-tp-btn[data-tp-float][data-tp-float="top-right"]{
    right: unset!important;
    left: 0!important;
}