/* Mobile header */
#mobile-header {
    padding: 42px 0;
    position: absolute;
    top: 0;
    width: 100%;
    background-color: transparent;
    z-index: 9;
    transition: all 0.3s ease;
}

/* Same "float"/pin-on-scroll behavior as the desktop header: custom.js
   toggles .scrolled on every <header> once the page scrolls past the hero,
   at which point it switches to a solid white bar fixed to the top. */
#mobile-header.scrolled {
    background-color: #ffffff;
    position: fixed;
    top: 0;
    padding: 20px 0;
}

/* Our Team's page background is #EBE8E5 (not white) already at load, via
   #mobile-header.black - keep that same colour once pinned on scroll
   instead of switching to the generic white bar (matches desktop-header's
   .black.scrolled treatment). */
#mobile-header.black.scrolled {
    background-color: #EBE8E5;
}

#mobile-header.scrolled .header-logo img {
    filter: brightness(0);
}

#mobile-header.scrolled .mobile-menu-open-holder span {
    background: #333333;
}
.header-logo img {
    width: 160px;
}

.mobile-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-open-holder,
.mobile-menu-close-holder {
    display: flex;
    align-items: flex-end;
    width: 37px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu-open-holder span,
.mobile-menu-close-holder span {
    width: 100%;
    height: 2px;
    background: #ffffff;
}

/* Hamburger icon in the header - white by default (base rule above), which
   covers the homepage and news archive where the header sits transparent
   over a dark hero image. Pages with a solid/readable header background
   (#mobile-header.blackonly / .black - Product, Our Team, single articles)
   need a dark icon instead. The close ("X") icon above stays white - its
   panel background is always dark. */
#mobile-header.blackonly .mobile-menu-open-holder span,
#mobile-header.black .mobile-menu-open-holder span {
    background: #333333;
}

.mobile-menu-open-holder span:nth-child(1) {
    width: 50%;
}

.mobile-menu-open-holder span:nth-child(2) {
    width: 75%;
}

.mobile-menu-open-holder span:nth-child(3) {
    width: 100%;
}

body:not(.home, .page-template-autofocals, .is-previous-event, .is-blog-post) #mobile-header .mini-form-logo .circle.white {
    border-color: #ffffff;
}

body:not(.home, .page-template-autofocals, .is-previous-event, .is-blog-post) #mobile-header .mini-form-logo .circle .black {
    background: #ffffff;
}

body:not(.home, .page-template-autofocals, .is-previous-event, .is-blog-post) #mobile-header .mini-form-logo .circle.black {
    background-color: #ffffff;
}


#mobile-header .mini-form-logo {
    margin-bottom: 0;
}

/* Mobile Menu */
/* overlay */
#mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background: #000000;
    color: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
    transition: right 0.4s ease;
    padding: 42px 36px;
    justify-content: space-between;
}

#mobile-menu.active {
    right: 0;
}

/* header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-close {
    font-size: 32px;
    cursor: pointer;
}

/* nav links */
.mobile-menu-nav {
    list-style: none;
    margin: 23vh 0 10vh;
    padding: 0;
}

.mobile-menu-nav li {
    margin: 0 0 28px;
}

.mobile-menu-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 26px;
    letter-spacing: 0.02em;
    line-height: 31px;
    font-weight: 300;
}


/* hamburger X animacija opcionalno */
.mobile-menu-close-holder span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-close-holder span:nth-child(2) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu-open-holder span {
    transition: all 0.3s ease;
}

#mobile-menu .social {
    gap: 19px;
    margin-bottom: 35px;
}

#mobile-menu .social a {
    width: 58px;
    height: 58px;
    font-size: 24px;
}

@media (min-width: 1024px) {
    #grey-bg {
        width: 99%;
    }
}


@media (min-width: 1200px) {
    #grey-bg {
        width: 99%;
    }
}

@media (min-width: 1400px) {
    #grey-bg {
        width: 97.15vw;
    }
}

@media (min-width: 1600px) {
    #grey-bg {
        width: 93.78vw;
    }
}

@media (min-width: 1900px) {
    #grey-bg {
        width: 91.72vw;
    }
}

@media (min-width: 2400px) {
    #grey-bg {
        width: 90vw;
    }
}

@media screen and (min-width: 1301px) and (max-width: 1900px) {

    .autofocals-page #hero h1 {
        font-size: 46px;
        line-height: 53px;
    }

    #prod-desc p {
        font-size: 18px;
        line-height: 28px;
    }

    #prod-desc1 h2 {
        font-size: 44px;
        line-height: 54px;
    }

}

@media screen and (min-width: 1000px) and (max-width: 1300px) {
    #autofocals1 {
        height: 450px;
        top: 20vh;
    }

    .autofocals-page #hero {
        padding-bottom: 10vh;
        height: 100vh;
    }

    #testimonials {
        min-height: 900px;
    }

    .join-us #hero,
    .opto-partners #hero {
        height: auto;
        padding-bottom: 10vh;
    }

    .buy-now-page #hero {
        min-height: 800px;
    }

}

@media screen and (min-width: 1025px) and (max-width: 1200px) {
    /* zajednički tablet stilovi (portrait + landscape) */

    @media (orientation: landscape) {
        /* samo landscape specifično */
        header#desktop-header nav ul  {
            gap: 30px;
        }
        header#desktop-header nav ul li a {
            font-size: 13px;
        }
        .header-logo img {
            width: 120px;
        }
        .footer-menu {
            gap: 20px;
        }
        .wishlist-div {
            padding-top: 12vh;
            padding-bottom: 12vh;
        }
        .wishlist-div .title-block .sup-title {
            margin-bottom: 5vh;
        }
        .wishlist-div .row {
            align-items: center;
        }
        .prefer-p {
            font-size: 12px;
        }

        #hero.hero-blog .about-upcoming h3 {
            font-size: 46px;
            line-height: 56px;
        }
        .single-event-page .title-block .h1, .single-blog-page .title-block .h1 {
            font-size: 42px;
            line-height: 52px;
        }
        #prod-desc p br {
            display: none;
        }
        .footnote p br,
        #rooted-in-science .item p br,
        #how-autofocals-work .how-work-box p br,
        .rc-item p br,
        .tech-box p br,
        #clinical .title-block h3 br {
            display: none;
        }

        #for-eye-care-professionals .title-block .sup-title.sup-title-big {
            margin-bottom: 100px;
        }
        #rc-img {
            width: 50%;
        }
        #research-collaboration {
            margin-bottom: 100px;
        }
        #advisors {
            padding-bottom: 100px;
        }
    }
}

@media screen and (max-width: 1024px) {
    @media (orientation: landscape) {
        .header-logo img {
            width: 120px;
        }
        header#desktop-header nav ul {
            gap: 20px;
        }
        header#desktop-header nav ul li a {
            font-size: 13px;
        }
        .button {
            padding: 0 15px;
        }
        .autofocals-page #hero {
            padding-bottom: 5vh;
        }
        #prod-desc p br {
            display: none;
        }
    }
}

@media screen and (max-width: 1023px) {

    /* Lines */
    .top_baner .line {
        display: none;
    }

    /* Thank you pages */
    .thankyou-page {
        padding: 0 14px;
    }

    .thankyou-page h1 {
        font-size: 30px;
        line-height: 1.2em;
    }

    .thankyou-page p br {
        display: none;
    }

    /* Home page */
    .top_baner {
        height: auto;
    }

    .top_desc_home video {
        height: 100vh;
        max-width: 100%;
    }

    #scroll-down {
        display: none;
    }

    #perfect-vision {
        margin-top: -6px;
        padding-top: 52px;
        padding-bottom: 65px;
    }

    #perf1 {
        margin-top: 0;
    }

    #perfect-vision h2 {
        margin-top: 26px;
        font-size: 42px;
        line-height: 44px;
        margin-bottom: 20px;
    }

    #perfect-vision p {
        font-size: 18px;
        line-height: 28px;
    }

    #perfect-vision .row:nth-child(2) {
        margin-top: 70px;
        margin-bottom: 35px;
    }

    #perf2 {
        margin-top: 275px;
    }

    #perf3 {
        display: none;
    }

    .home_two_baners {
        padding-bottom: 50px;
    }

    .home_two_baner_video video {
        height: 400px;
        position: relative;
        margin-bottom: 20px;
    }

    #rimgg {
        max-width: 100%;
        height: auto;
    }

    .home_people {
        padding-top: 40px;
        padding-bottom: 30px;
    }

    .home_people h3 {
        margin-top: 18px;
        margin-bottom: 35px;
    }

    .mobile-reverse {
        flex-direction: column-reverse;
    }

    .whatif {
        margin-top: 15px;
        padding-top: 0;
        padding-bottom: 60px;
    }

    .whatif .line {
        display: none;
    }

    .whatif h3 {
        font-size: 38px;
        width: 100%;
        margin-bottom: 0;
    }

    .whatif p {
        margin-top: 20px;
        width: 100%;
        line-height: 25px;
    }

    .under-image-disclaimer {
        margin-top: 0;
    }

    .under-image-disclaimer br {
        display: none;
    }

    /* Newsletter */
    .newsletter {
        padding-top: 40px;
        padding-bottom: 50px;
        border-bottom: 1px solid #CAC5BD;
    }

    #wishlist .newsletter {
        border: none;
    }

    .newsletter h3 {
        font-size: 35px;
        line-height: 42px;
        margin-bottom: 19px;
    }

    .newsletter p {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 25px;
    }

    .newsletter .frm-fluent-form .ff-t-container {
        display: flex;
    }

    .ff-default .ff-el-form-control.newsletter-email-field {
        text-align: center;
        font-size: 14px;
        line-height: 17px;
    }

    /* .button, .newsletter form.fluent_form_3 .wpf_has_custom_css.ff-btn-submit, .newsletter form.fluent_form_5 .wpf_has_custom_css.ff-btn-submit {
         font-size: 15px;
         line-height: 19px;
     }*/
    /* Footer */
    footer .line {
        display: none;
    }

    .footer-glasses {
        text-align: center;
        padding: 0;
        margin-top: 40px;
    }

    .footer_links {
        padding-top: 0;
    }

    .footer_links .last-one {
        text-align: left;
    }

    .contact-info p {
        margin-top: 20px;
        font-size: 15px;
        line-height: 24px;
        margin-bottom: 15px;
    }

    .footer-bottom {
        padding-top: 66px;
    }

    .mail-link .icon {
        display: block;
    }

    .mail-link .text {
        display: none;
    }

    /* Events */
    .events-page #hero {
        padding-top: 17vh;
    }

    #upc5 {
        bottom: 0;
    }

    .upcoming-event img {
        width: 126px;
    }

    .events-page #hero p {
        font-size: 20px;
        line-height: 27px;
        margin-bottom: 30px;
        width: 56%;
        letter-spacing: 0.01em;
    }

    .upcoming-time-date {
        flex-direction: column;
    }

    .upc-date {
        margin-right: 0;
        margin-bottom: 20px;
    }

    #upc5 {
        display: none;
    }

    #upc3 {
        display: block;
        right: 0;
        left: auto;
    }

    .about-upcoming {
        margin-bottom: 0;
    }

    #previous-events {
        padding-top: 50px;
    }

    .event-content {
        padding: 25px 24px 30px 22px;
    }

    .event-content .text {
        font-size: 15px;
        line-height: 23px;
    }

    .event-content .text p br {
        display: none;
    }

    #map {
        overflow: hidden;
        height: 100vh;
        background-size: 180%;
        background-position: -50px;
    }

    .map-content .container > .row {
        bottom: 40px;
    }

    #map3, #map4 {
        display: none;
    }

    #map2 {
        bottom: 105px;
    }

    #map5 {
        bottom: 55px;
    }

    #map-anim {
        width: 180%;
        left: -50px;
        top: 0;
        transform: none;
    }

    .map-content {
        height: auto;
    }

    .map-content .container {
        position: initial;
    }

    /* Opto Partners */
    #hero {
        padding-top: 27vh;
        height: auto;
        padding-bottom: 10vh;
    }

    .opto-partners-content {
        margin-top: 52px;
        margin-bottom: 52px;
    }

    #hero .opto-partners-content p {
        margin-bottom: 34px;
        font-size: 22px;
        line-height: 30px;
    }

    #optoh4 {
        top: 0;
    }

    #reach-out {
        padding-top: 52px;
        padding-bottom: 64px;
    }

    #reach-out .line {
        display: none;
    }

    #reach-out .mini-form-logo {
        display: none;
    }

    .reach-out-form {
        width: 100%;
        padding: 57px 28px 42px;
    }

    .opto-partners-mobile-text {
        padding: 0 10px;
        text-align: center;
    }

    .opto-partners-mobile-text p {
        font-size: 18px;
        line-height: 1.33em;
        letter-spacing: 0.01em;
        margin-bottom: 50px;
    }

    .opto-partners-mobile-text p a {
        color: inherit;
    }

    /* Buy Now */
    .buy-now-page #hero {
        background-size: 100%;
        background-position: 0 125px;
        min-height: 100vh;
        height: auto;
        background-image: url(../img/buy-now-map-mobile.svg);
    }

    .buy-now-page #hero .container {
        height: 900px;
    }

    .buy-now-page #hero .container > .row {
        bottom: 150px;
    }

    .buy-now-page #hero h3 {
        font-size: 38px;
        line-height: 49px;
        margin-bottom: 24px;
    }

    .buy-now-page #hero p {
        font-size: 22px;
        line-height: 30px;
    }

    #buy1 {
        margin-top: -40px;
    }

    #buy2 {
        display: none;
    }

    #buy3, #buy4 {
        bottom: -40px;
    }

    #buy5 {
        display: none;
    }

    #buy-now {
        padding-top: 0;
        padding-bottom: 35px;
    }

    #buy6, #buy7 {
        display: none;
    }

    .buy-select {
        padding-top: 0;
    }

    .buy-select img {
        display: none;
    }

    .buy-select h4 {
        margin-bottom: 40px;
    }

    .buy-now-box {
        margin-bottom: 20px;
    }

    .deposit-text-mobile {
        font-size: 20px;
        line-height: 29px;
        letter-spacing: 0.01em;
        color: #ffffff;
        margin-top: 40px;
        padding-left: 20px;
    }

    #faq {
        padding-top: 80px;
    }

    #faq3, #faq4, #faq5 {
        display: none;
    }

    #faq1 {
        top: -30px;
    }

    #faq2 {
        margin-top: -40px;
    }

    #faq .faq-title h3 {
        font-size: 30px;
        line-height: 40px;
        padding-left: 0;
        letter-spacing: 0.02em;
    }

    #faq .faq-title h3 br {
        display: none;
    }

    #faqAccordion {
        margin-top: 25px;
    }

    .accordion-button {
        font-size: 16px;
        line-height: 1.5em;
        padding: 20px 20% 20px 0;
        min-height: 82px;
        height: auto;
    }

    .accordion-button br {
        display: none;
    }

    .accordion-button::after {
        position: absolute;
        right: 0;
        margin-right: 0;
    }

    .specific-cta p br {
        display: none;
    }

    #below-faq {
        padding-bottom: 65px;
    }

    .accordion-body {
        font-size: 16px;
        line-height: 24px;
        padding-right: 30px;
        padding-bottom: 30px;
        padding-left: 0;
    }

    #wishlist {
        padding-bottom: 60px;
    }

    #wishlist .newsletter p br {
        display: none;
    }

    /* Join Us */
    .join-us #hero {
        background-position: 20% !important;
    }

    .join-us #hero h3 {
        font-size: 33px;
        line-height: 43px;
        letter-spacing: 0.02em;
        margin-bottom: 80px;
        margin-top: 0;
    }

    #join1 {
        margin-top: -30px;
    }

    #join4 {
        margin-top: 220px;
    }

    #join5 {
        margin-top: 220px;
        right: 14px;
    }

    #join3 {
        bottom: 45px;
    }

    .join-us #hero p {
        font-size: 18px;
        margin-bottom: 45px;
        line-height: 28px;
    }

    .join-us #hero p br {
        display: none;
    }

    #our-team {
        padding-top: 36px;
    }

    .team-box {
        margin-bottom: 24px;
    }

    .team_img {
        margin-bottom: 15px;
    }

    .team_desc h4 {
        font-size: 16px;
        line-height: 20px;
        /*font-weight: 500;
    */}

    #team .team_desc h4 {
        font-size: 16px;
        line-height: 20px;
    }

    .team_desc .position {
        font-size: 12px;
        line-height: 16px;
        margin-bottom: 14px;
    }

    #team .team_desc .position {
        font-size: 12px;
        line-height: 16px;
    }

    #our-partners h3 {
        margin-bottom: 80px;
    }

    #our-partners .bg-gray {
        padding: 60px 0 100px;
    }

    .partner {
        flex: 0 0 calc(50% - 7px);
        margin-bottom: 30px;
    }

    .partner:nth-child(odd) {
        margin-right: 14px;
    }

    .partner:nth-child(3) {
        margin-top: -40px;
    }

    .partner:nth-child(5) {
        margin-top: -40px;
    }

    .partner h4 {
        font-size: 23px;
        padding-right: 5px;
        line-height: 28px;
        margin-bottom: 10px;
    }

    #partn1 {
        margin-top: 120px;
    }

    #partn2, #partn3 {
        display: none;
    }

    .partner-link {
        width: 53px;
        height: 53px;
        line-height: 53px;
        font-size: 27px;
    }

    .partner .position {
        font-size: 15px;
        line-height: 22px;
    }

    .partner .position br {
        display: none;
    }

    #partn4, #partn5 {
        bottom: -40px;
    }

    #partn5 {
        right: 14px;
    }

    #logos {
        padding-top: 54px;
        padding-bottom: 42px;
    }

    .logo-box {
        margin-bottom: 12px;
    }

    .logo-box span {
        font-size: 12px;
        line-height: 19px;
        padding-top: 18px;
    }

    .logo-box .logo-holder {
        height: 100px;
    }

    /* Autofocals */
    #white-bg {
        width: 67%;
        height: 84vh;
    }

    #autofocals1 {
        top: 21vh;
        height: 85vw;
        right: -50%;
    }

    #grey-bg {
        height: 77vh;
        width: 61vw;
    }

    #af2, #af4 {
        bottom: auto;
        margin-top: 52vh;
        z-index: 9;
    }

    .autofocals-page #hero .container > .row {
        padding-top: 57vh;
    }

    .autofocals-page #hero h1 {
        position: relative;
        z-index: 1;
        font-size: 59px;
        line-height: 71px;
    }

    .autofocals-page #hero p {
        font-size: 24px;
        line-height: 29px;
    }

    #about-autofocals .intro-text {
        margin-bottom: 15px;
    }

    #about-autofocals .intro-text strong {
        display: block;
    }

    #about-autofocals {
        padding-top: 50px;
        padding-bottom: 90px;
    }

    #about-autofocals h3 {
        font-size: 40px;
        margin-bottom: 45px;
        line-height: 1.2em;
        padding-right: 10%;
    }

    #about-autofocals p {
        font-size: 18px;
        line-height: 28px;
    }

    #about-autofocals p br {
        display: none;
    }

    #prevSlide, #nextSlide, #prevTestimonial, #nextTestimonial {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    #autofocals-slider {
        margin: 0 -14px;
    }

    .thumb-slider-holder {
        padding: 0 14px;
    }

    #bl1 {
        margin-top: 74px;
    }

    .blur-wrap:nth-child(1) .blur-text {
        font-size: 90px;
    }

    .blur-wrap:nth-child(2) .blur-text {
        font-size: 55px;
    }

    .blur-wrap:nth-child(3) .blur-text {
        font-size: 42px;
    }

    .blur-wrap:nth-child(4) .blur-text {
        font-size: 18px;
    }

    #bl2 {
        bottom: -25px;
    }

    #autofocals-work {
        padding-top: 50px;
        padding-bottom: 135px;
        overflow: hidden;
    }

    #aw1 {
        top: 0;
    }

    #autofocals-work h3 {
        margin-top: 30px;
        font-size: 53px;
        line-height: 58px;
    }

    #aw-img {
        height: 230px;
        left: -30%;
        top: 320px;
    }

    #aw3 {
        top: 225px;
    }

    #autofocals-work .aw-text {
        margin-top: 320px;
    }

    .aw-text p br {
        display: none;
    }

    #aw2, #aw4 {
        bottom: -45px;
    }

    #testimonials {
        padding-top: 50px;
        padding-bottom: 60px;
        position: relative;
        min-height: 100vh;
        height: 900px;
    }

    #testimonials h3 {
        font-size: 44px;
        line-height: 50px;
        margin-bottom: 10px;
    }

    #testimonials .nav-arrows {
        margin-bottom: 40px;
    }

    .testimonial-item {
        width: 270px !important;
        padding: 0 14px;
    }

    .testimonial-item img {
        height: 266px;
    }

    .testimonial-box {
        padding: 24px 25px;
        min-height: 295px;
    }

    .testimonial-box h4 {
        font-size: 18px;
        line-height: 23px;
        margin-bottom: 9px;
    }

    .testimonial-box h5 {
        font-size: 14px;
        line-height: 20px;
        padding-bottom: 24px;
        margin-bottom: 13px;
    }

    .testimonial-box h5 br {
        display: none;
    }

    .testimonial-box p {
        font-size: 14px;
        line-height: 19px;
    }

    .testimonial-box p br {
        display: none;
    }

    .testimonial-box h5::after {
        width: 19px;
    }

    #tes1, #tes2 {
        display: none;
    }

    .testimonial-slider-wrap {
        left: 0;
    }

    #tes4 {
        display: block;
        bottom: 60px;
        left: 14px;
    }

    #cta1, #cta2, #cta3 {
        display: none;
    }

    #cta4 {
        display: block;
        right: 14px;
        margin-top: -12px;
    }

    #cta-video {
        padding-bottom: 0;
        margin-bottom: -20px;
    }

    #cta-video p {
        font-weight: 300;
        margin-bottom: 30px;
    }

    #cta-video p br {
        display: none;
    }

    .video-container {
        margin: 60px -14px 0;
    }

    #play_button img,
    #play_button2 img {
        width: 86px;
    }



    #mobile-menu .social {
        margin-bottom: 30px;
    }

    #mob1 {
        top: 120px;
    }

    /* footer */
    .mobile-menu-footer {
        display: flex;
        justify-content: space-between;
        gap: 2px;
    }

    .footer-col {
        flex: 1;
        font-size: 14px;
        color: #8FAEC9;
    }

    .footer-col .line {
        display: block;
        width: 27px;
        height: 4px;
        background: #8FAEC9;
        margin-bottom: 15px;
    }

    .footer-btn {
        margin-top: 10px;
        padding: 6px 12px;
        border: 1px solid #8FAEC9;
        border-radius: 8px;
        background: transparent;
        color: #8FAEC9;
        font-size: 18px;
    }

    .linkedin-icon .linkedin-footer {
        color: #254253;
        background-color: #8FAEC9;
    }

    .linkedin-icon {
        margin-bottom: 30px;
    }



    .mobile-menu-footer .contact-info {
        padding-top: 0;
    }

    .mobile-menu-footer .contact-info p {
        color: #8FAEC9;
        margin-top: 29px;
        margin-bottom: 24px;
    }

    #mobile-menu .mini-form-logo .circle.white {
        border-color: #ffffff;
    }

    #mobile-menu .mini-form-logo .circle .black {
        background: #ffffff;
    }

    #mobile-menu .header-logo .mini-form-logo .circle.black {
        background-color: #ffffff;
    }

    #upc8 {
        display: none;
    }

    .event-gallery-slider .slide {
        width: 100%;
        height: 240px;
        margin: 0 0 20px;
    }

    #event-gallery .prevArrowHolder,
    #event-gallery .nextArrowHolder {
        display: none;
    }

    .post-meta, .hero-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-meta .date-time {
        margin-bottom: 20px;
    }

    .post-meta .date {
        margin-right: 50px;
    }

    .post-meta .sep,
    .hero-meta .sep {
        width: 40%;
        height: 1px;
    }

    #end-post {
        padding-top: 50px;
        padding-bottom: 70px;
    }

    #central-image, .blog-post-content-image {
        padding-bottom: 30px;
    }

    .hero-meta .caption {
        margin-bottom: 20px;
    }

    .hero-meta .caption p br {
        display: none;
    }

    .share-post {
        justify-content: space-between;
        width: 100%;
    }

    .event-nav-link {
        display: none;
    }

    .bordered-title {
        margin-bottom: 50px;
    }

    #single-event-title {
        padding-top: 130px;
    }

    .title-data > div:first-child {
        order: 2;
        margin-bottom: 10px;
    }

    .title-data > div:nth-child(2) {
        order: 1;
    }

    .title-data > div:last-child {
        order: 3;
    }

    .title-data .big-attr {
        font-size: 18px;
        line-height: 21px;
        margin-bottom: 18px;
    }

    #single-event-title h1 {
        font-size: 42px;
        line-height: 52px;
        margin-bottom: 16px;
    }

    #single-event-title h1 br {
        display: none;
    }

    .title-data .attr, .title-data .value {
        font-size: 16px;
        line-height: 20px;
        letter-spacing: 0.01em;
        margin-bottom: 0;
        display: inline-block;
        text-transform: none;
        font-weight: 400;
    }

    .title-data .attr:after {
        content: ":";
    }

    .title-data {
        margin-bottom: 60px;
    }

    .single .video-container {
        margin: 60px -32px 0;
    }

    .event-gallery-slider {
        margin: 0;
    }

    .event-content h4 {
        font-size: 21px;
        line-height: 30px;
    }

    .latest-post-holder {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .blog-page #her {
        padding-top: 30vh;
        padding-bottom: 8vh;
    }

    .blog-page #hero h1 {
        font-size: 58px;
        line-height: 70px;
    }

    .blog-page #hero .latest-content p {
        padding-right: 35px;
        font-size: 18px;
        letter-spacing: 0.01em;
        line-height: 28px;
    }

    .blog-page #hero .latest-content p br {
        display: none;
    }

    .blog-posts .event-content .text p {
        font-size: 16px;
        line-height: 23px;
    }

    .blog-posts .event-content {
        padding: 25px 22px;
    }

    #related-events.blog-posts {
        padding: 50px 0;
    }

    .single-blog-page #single-event-title h1 {
        margin-bottom: 28px;
    }

    .single-blog-page .hero-meta .caption {
        margin-bottom: 0;
    }

    .single-blog-page .hero-meta .caption p {
        margin-bottom: 20px;
    }

    #single-event-hero {
        padding-bottom: 80px;
    }

    .single-blog-page .post-meta .date-time {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .single-blog-page .hero > img {
        height: 600px;
        object-fit: cover;
    }



    /* NEW */
    .title-block h1, .title-block .h1 {
        font-size: 41px;
        line-height: 48px;
    }

    .video-title {
        left: 32px;
        bottom: 54px;
    }

    .video-title h1 {
        font-size: 41px;
        line-height: 46px;
    }

    #autofocals {
        padding-top: 40px;
        padding-bottom: 110px;
    }

    .row {
        --bs-gutter-x: 4rem;
    }

    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        --bs-gutter-x: 4rem;
    }

    .picture-bg-frame {
        padding-left: 0;
    }

    .picture-bg-frame .frame {
        left: -32px;
    }

    #autofocals .title-block {
        margin-top: 95px;
    }

    #autofocals .title-block .sup-title {
        margin-bottom: 60px;
    }

    .home .title-block h2 {
        font-size: 36px;
        line-height: 46px;
    }

    .home .title-block h2 br {
        display: none;
    }

    .home .title-block p {
        font-size: 16px;
        line-height: 1.5em;
    }

    .home .title-block p br {
        display: none;
    }

    .buttons {
        flex-direction: column;
        gap: 14px;
    }

    .footnote {
        margin-top: 40px;
    }

    .footnote p {
        font-size: 13px;
    }

    .footnote p br {
        display: none;
    }

    #rooted-in-science .title-block h2 {
        margin-bottom: 45px;
        padding-bottom: 30px;
    }

    #rooted-in-science .item p br {
        display: none;
    }

    .dr-row > div:nth-child(2) .dr:first-child {
        margin-top: 50px;
    }

    #rooted-in-science {
        padding-bottom: 80px;
    }

    #how-autofocals-work {
        padding-bottom: 70px;
    }

    #how-autofocals-work .title-block {
        margin-bottom: 60px;
    }

    #how-autofocals-work .sup-title {
        float: left;
    }

    .how-work-box {
        margin-bottom: 60px;
    }

    .how-work-box .num {
        top: 12px;
        left: 52px;
    }

    .how-work-box img {
        object-fit: cover;
        height: 63vw;
    }

    #how-autofocals-work .how-work-box p {
        font-size: 16px;
        line-height: 25px;
    }

    #how-autofocals-work .how-work-box p br {
        display: none;
    }

    .how-work-boxes {
        margin-bottom: 0;
    }

    #how-autofocals-work .video-container {
        margin-left: 0;
        margin-right: 0;
    }

    #how-autofocals-work .hero-video {
        height: 70vh;
        max-height: 100vh;
    }

    #haw-bg {
        width: 100%;
        height: 85%;
    }

    #wif-bg {
        width: 100%;
    }

    #ett-bg {
        width: 80vw;
        height: 1080px;
    }

    #ett-img {
        height: 60vw;
        left: -17vw;
        top: 7vh;
    }

    #who-its-for {
        padding-top: 65px;
        margin-bottom: 75px;
    }

    #who-its-for .container > .row {
        flex-direction: column-reverse;
    }

    #who-its-for .container > .row > div img {
        margin-right: -32px;
        max-width: calc(100% + 32px);
        margin-bottom: 50px;
    }

    #who-its-for .title-block .sup-title {
        margin-bottom: 45px;
    }

    .small-p {
        margin-top: 30px;
        color: #7E7E7E;
    }

    .small-p br {
        display: none;
    }

    #who-its-for .button {
        width: 100%;
    }

    #explore-the-tech {
        padding-top: 65vw;
        padding-bottom: 60px;
    }

    #explore-the-tech .sup-title {
        margin-bottom: 80px;
    }

    #explore-the-tech .title-block {
        margin-bottom: 40px;
    }

    .tech-box p br {
        display: none;
    }

    .wishlist-div {
        padding-top: 45px;
        padding-bottom: 45px;
        height: auto;
    }

    .wishlist-div .row,
    .wishlist-div .container,
    .opto-partners-div .row,
    .opto-partners-div .container {
        --bs-gutter-x: 3rem;
    }

    .wishlist-div .title-block .sup-title {
        margin-bottom: 70px;
    }

    .custom-form-wrapper {
        margin-top: 30px;
        padding: 25px;
    }

    .custom-form-wrapper form .button {
        width: 100% !important;
    }

    .prefer-p a {
        display: block;
        font-size: 12px;
    }

    #for-eye-care-professionals {
        padding-top: 40px;
        padding-bottom: 80px;
    }

    #pic-bg-frame2 {
        margin-bottom: 95px;
    }

    #for-eye-care-professionals .title-block .sup-title.sup-title-big {
        margin-bottom: 42px;
    }

    #for-eye-care-professionals .tech-boxes {
        margin-top: 68px;
    }

    #research-collaboration {
        padding-top: 55px;
        padding-bottom: 0;
        margin-bottom: 100px;
    }

    #research-collaboration .title-block {
        margin-bottom: 44vh;
    }

    #research-collaboration .sup-title {
        margin-bottom: 55px;
    }



    #rc-img {
        top: 24%;
        width: auto;
        height: 600px;
        left: 50%;
        transform: translate(-50%, 0);
    }


    .rc-items {
        padding: 22vh 40px 40px;
        width: calc(100% + 64px);
        margin-left: -32px;
        gap: 40px;
    }

    .rc-item {
        flex: 0 0 calc(50% - 40px);
    }
    .rc-item p br {
        display: none;
    }

    #advisors {
        padding-bottom: 85px;
    }

    .advisors {
        margin-top: 0;
    }

    .advisor:first-child {
        margin-top: 30px;
    }

    .advisor:not(:last-child) {
        margin-bottom: 30px;
    }

    #advisors .button {
        width: 100%;
    }

    .opto-partners-div {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    #clinical {
        padding-top: 95px;
        padding-bottom: 95px;
    }

    #clinical .title-block h3 {
        font-size: 28px;
        line-height: 38px;
    }

    #clinical .title-block h3 br {
        display: none;
    }

    #latest-news {
        padding: 70px 0;
    }

    #latest-news .sup-title {
        margin-bottom: 30px;
    }

    #latest-news .title-block h2 {
        margin-bottom: 20px;
    }

    .event-box {
        margin-bottom: 60px;
    }

    .event-content {
        padding: 18px 0 0;
        margin-bottom: 0;
    }

    .event-content h4 {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    #latest-news .read-all {
        margin-top: 45px;
    }

    footer {
        padding-top: 65px;
        padding-bottom: 45px;
    }

    .footer-logo {
        margin-bottom: 22px;
    }

    .footer-logo img {
        width: 200px;
    }

    .footer-text p br {
        display: none;
    }

    .newsletter {
        border-bottom: none;
        padding: 0 32px;
    }

    .newsletter .ff-default .ff-el-form-control.newsletter-email-field {
        width: 70%;
    }

    .newsletter .ff-default .ff-el-form-control:focus {
        color: #A3A3A3;
    }

    .newsletter .ff-default .ff-el-form-control.newsletter-email-field {
        text-align: left;
    }

    .newsletter form.fluent_form_3 .wpf_has_custom_css.ff-btn-submit, .newsletter form.fluent_form_5 .wpf_has_custom_css.ff-btn-submit {
        font-size: 56px;
        margin-top: 0;
    }

    .footer-menu {
        margin-bottom: 120px;
        gap: 32px;
        justify-content: flex-start;
    }

    .footer-menu a {
        font-size: 18px;
        line-height: 1em;
    }

    .third-footer-row .social {
        gap: 19px;
        margin-bottom: 35px;
    }

    .third-footer-row .social a {
        width: 58px;
        height: 58px;
        font-size: 24px;
    }



    .copy {
        font-size: 12px;
        letter-spacing: 0.01em;
    }

    .wishlist-popup-close, .opto-partners-popup-close {
        right: 24px;
        top: 24px;
    }

    #wishlist-popup,
    #opto-partners-popup {
        padding-top: 110px;
        overflow: auto;
        padding-bottom: 110px;
    }

    .opto-partners-scroll-track {
        padding: 30px 0;
    }

    .opto-partners-popup .container, .opto-partners-popup .row,
    .opto-partners-scroll-viewport {
        height: auto;
    }

    .join-us {
        padding-top: 170px;
    }

    .join-us .title-block {
        margin-bottom: 40px;
    }

    #co-founders {
        padding-bottom: 50px;
    }

    .join-us .container,
    .join-us .row {
        --bs-gutter-x: 18px;
    }

    .join-us section {
        padding-left: 23px;
        padding-right: 23px;
    }

    #team {
        padding-bottom: 40px;
    }

    #team .linkedin-team, .team_desc h4 a {
        margin-top: 4px;
        font-size: 13px;
    }

    #careers {
        padding-bottom: 42px;
    }

    #careers .team-section-title {
        margin-bottom: 75px;
    }

    #careers .h1 br {
        display: none;
    }

    #careers .title-block p br {
        display: none;
    }

    #careers .open-roles {
        margin-top: 25px;
        flex-direction: column;
        gap: 25px;
    }

    #careers .open-roles .button {
        width: 100%;
    }

    .join-us .title-block p br {
        display: none;
    }

    .specific-cta {
        padding: 15px;
    }

    #faq h3 {
        font-size: 41px;
        line-height: 46px;
        margin-top: 0;
    }

    #faq h3 br {
        display: none;
    }

    .slider-head {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
        margin-bottom: 30px;
    }

    .slider-head p {
        font-size: 20px;
        line-height: 27px;
    }

    .slider-head p br {
        display: none;
    }

    .slider-thumbs {
        align-items: flex-start;
    }

    .product-slider-colors.slick-slider {
        margin: 0 -32px;
    }

    .product-slider-colors img {
        height: 40vh;
        object-fit: cover;
    }

    #prod-desc5 {
        flex-direction: column-reverse;
        padding-bottom: 45px;
    }

    #pd5right {
        gap: 30px;
    }

    #pd5right {
        margin-bottom: 70px;
    }

    #prod-desc p {
        font-size: 20px;
        line-height: 27px;
    }

    #prod-desc p br {
        display: none;
    }

    #pd4img2 {
        padding-left: 0;
    }

    #prod-desc4 {
        gap: 30px;
        margin-bottom: 120px;
    }

    #prod-desc3 p {
        padding-left: 0;
        margin-bottom: 66px;
    }

    #prod-desc3 #pd3img1 {
        width: 100%;
    }

    #pd3img1 ~ img {
        margin-bottom: 75px;
    }

    #prod-desc3, #prod-desc2 {
        margin-bottom: 120px;
    }

    #prod-desc2 p {
        margin-bottom: 60px;
    }

    #prod-desc1 {
        margin-top: 0;
        padding-top: 30px;
        margin-bottom: 90px;
    }

    #prod-desc1 h2 {
        font-size: 30px;
        line-height: 39px;
    }

    #prod-desc1 h2 br {
        display: none;
    }

    #prod-desc {
        padding-top: 60px;
    }

    #prod-desc .container img {
        width: 100%;
    }

    #about-autofocals {
        padding-bottom: 0;
        padding-top: 0;
        margin-top: 0;
    }

    #grid {
        left: 9px;
        width: auto;
    }

    .product-slider-main {
        margin: 0 -32px;
    }

    .product-slider-main img {
        height: 40vh;
        object-fit: cover;
    }

    .product-slider-thumbs {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        justify-content: center;
        margin: 20px -16px 0;
        gap: 5px;
    }

    .autofocals-page #hero p {
        font-size: 16px;
        line-height: 24px;
    }

    .autofocals-page #hero h1 {
        font-size: 41px;
        line-height: 47px;
    }

    .events-page-header {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .events-page-header .title h2 {
        font-size: 34px;
        line-height: 42px;
    }

    .events-page-header .title p {
        font-size: 16px;
        line-height: 24px;
    }

    .events-page-header .title p br {
        display: none;
    }

    .category-filter {
        margin-top: 30px;
        width: 100%;
    }

    .map-overlay-text {
        top: 40px;
        left: 40px;
        font-size: 21px;
        line-height: 28px;
    }

    #rooted-in-science .item h3 {
        font-size: 23px;
        line-height: 33px;
    }

    #rooted-in-science .dr {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    #rooted-in-science .dr h5 {
        font-size: 18px;
    }

    #rooted-in-science .item p {
        font-size: 16px;
        line-height: 24px;
    }

    .event-meta {
        margin-top: 60px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .button-blur {
        width: 100%;
        margin-top: 0;
    }

    .events-page #hero p {
        width: 100%;
    }

    .single-event-page .title-block .h1 {
        font-size: 43px;
        line-height: 52px;
    }
    .single .title-data {
        margin-bottom: 0;
    }
    .single .hero-meta {
        margin-top: 50px;
    }
    .single .hero-meta .caption {
        margin-bottom: 50px;
    }
    .share-post span {
        font-size: 20px;
    }
    .post-meta .sep, .hero-meta .sep {
        display: none;
    }
    .share-post .icons a {
        font-size: 22px;
        width: 48px;
        height: 48px;
    }

    .post-meta .date-time {
        display: none;
    }
    #related-events .event-content h4 br {
        display: none;
    }

    .single .hero > img {
        margin: 60px 0 0;
        width: 100%;
        max-width: 100%;
        object-fit: cover;
        height: auto;
    }
    .open-roles-popup-content {
        padding: 0 32px;
    }
    .open-roles-popup-content p {
        font-size: 24px;
    }
    .open-roles-popup-content p br {
        display: none;
    }

    #hero.hero-blog .about-upcoming h3 {
        font-size: 37px;
        line-height: 44px;
    }

    .single-event-page .title-block .h1, .single-blog-page .title-block .h1 {
        font-size: 38px;
        line-height: 48px;
        margin-bottom: 40px;
    }

    .hero-single-blog-image {
        margin-top: 20px;
    }

    .entry-content h3 {
        margin-top: 80px;
    }
    .entry-content h3 br {
        display: none;
    }
    #single-faq .faq-box {
        padding: 60px 32px;
        margin: 0 -32px;
    }
    .entry-content table {
        white-space: nowrap;
    }
    .entry-content .wp-block-table {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    /*.entry-content table thead th {
        font-size: 18px;
        padding: 10px 15px;
        line-height: 20px;
    }
    .entry-content table tbody td {
        padding: 10px 15px;
        font-size: 16px;
        line-height: 20px;
    }*/

    #single-event-title .category-tag {
        font-size: 14px;
        line-height: 17px;
        border-radius: 15px;
        padding: 5px 12px;
    }
    #single-event-title .title-data .value {
        margin-left: 10px;
    }
    #single-event-title .title-data .value,
    #single-event-title .title-data .min-read {
        font-size: 14px;
        line-height: 17px;
    }
}

/*
@media screen and (min-width: 768px) and (max-width: 1023px) {
    !* tablet portrait stilovi *!

    #autofocals {
        padding-top: 65px;
    }

}
*/

@media screen and (max-width: 767px) {
    #ett-bg {
        width: 80vw;
        height: 45vh;
    }

    #explore-the-tech {
        padding-top: 35vh;
        padding-bottom: 60px;
    }

    #rc-img {
        top: 29%;
        width: calc(100% - 32px);
        left: 16px;
        transform: none;
        height: auto;
    }

    .rc-items {
        padding-top: 21vh;
        width: calc(100% + 64px);
        margin-left: -32px;
        flex-direction: column;
        gap: 40px;
    }

    .rc-item {
        flex: 1;
    }

    .single .hero > img {
        margin: 60px -32px 0;
        width: 100vw;
        max-width: 100vw;
        object-fit: cover;
        height: 100vw;
    }

    /* Some mobile hero images (e.g. decorative/illustration assets) aren't
       meant to be cropped into the forced-square frame above - they should
       just scale to the full width and keep their own aspect ratio. */
    .single .hero > img.hero-mobile-nocrop {
        height: auto;
        object-fit: contain;
    }

    .single .hero-single-blog-image > img {
        height: 70vh;
    }

    .single .hero-video {
        height: 100vw;
    }

    #central-image img {
        margin: 0 -32px;
        width: auto;
        height: 100vw;
        max-width: 100vw;
        object-fit: cover;
    }


}

@media screen and (max-width: 400px) {
    .autofocals-page #hero .container > .row {
        padding-top: 54vh;
    }

    /*    #autofocals1 {
            top: 31vh;
        }*/
    #af2, #af4 {
        margin-top: 50vh;
    }

    #aw-img {
        height: 200px;
    }

    .testimonial-item {
        width: 240px !important;
    }

    .testimonial-item img {
        height: 236px;
    }

    .testimonial-box {
        min-height: 315px;
    }

    .partner h4 {
        font-size: 20px;
    }

    .partner .position {
        font-size: 14px;
    }

    .contact-info p {
        font-size: 13px;
        line-height: 21px;
    }

    #join4, #join5 {
        margin-top: 250px;
    }
}

@media screen and (max-width: 380px) {
    #rc-img {
        top: 30%;
    }


}