@media screen and (min-width: 1000px) and (max-width: 1300px) {
    #autofocals1 {
        height: 450px;
        top: 20vh;
    }
    .autofocals-page #hero {
        padding-bottom: 10vh;
        height: auto;
    }
    #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 (max-width: 767px) {

    /* 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;
    }

    /* Mobile header */

    #mobile-header {
        padding: 42px 0;
        position: absolute;
        top: 0;
        width: 100%;
        background-color: transparent;
        z-index: 9;
    }
    .home #mobile-header {
        position: relative;
        background-color: #ffffff;
    }

    .mobile-header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .mobile-menu-open-holder,
    .mobile-menu-close-holder {
        display: flex;
        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;
    }
    .home .mobile-menu-open-holder span,
    .page-template-autofocals .mobile-menu-open-holder span {
        background: #333333;
    }

    body:not(.home, .page-template-autofocals) #mobile-header .mini-form-logo .circle.white {
        border-color: #ffffff;
    }
    body:not(.home, .page-template-autofocals) #mobile-header .mini-form-logo .circle .black {
        background: #ffffff;
    }
    body:not(.home, .page-template-autofocals) #mobile-header .mini-form-logo .circle.black {
        background-color: #ffffff;
    }



    #mobile-header .mini-form-logo {
        margin-bottom: 0;
    }

    /* Home page */

    .top_baner {
        height: auto;
    }

    .top_desc_home video {
        height: auto;
        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: 550px;
        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: 18px;
        font-weight: 600;
    }
    .team_desc .position {
        font-size: 12px;
        line-height: 19px;
        margin-bottom: 14px;
    }
    #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: 33vh;
        width: 155%;
        height: auto;
        right: -40%;
    }

    #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 {
        width: 86px;
    }

    /* Mobile Menu */

    /* overlay */
    #mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        overflow-y: auto;
        background: #254253; /* tamno plava iz tvog primjera */
        color: #fff;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        -webkit-overflow-scrolling: touch;
        transition: right 0.4s ease;
        padding: 42px 14px 70px;
    }

    #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: 50px 0;
        padding: 0;
    }
    .mobile-menu-nav li {
        margin: 25px 0;
    }
    .mobile-menu-nav a {
        color: #ffffff;
        text-decoration: none;
        font-size: 28px;
        letter-spacing: 0.02em;
        line-height: 34px;
    }

    #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;
    }

    /* 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-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;
    }
}

@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;
    }
}