@media all and (max-width:1420px) {
    .container {
        max-width: 1200px !important
    }

    .container.hero-section-with-video {
        max-width: 100% !important;
        padding: 0 20px
    }

    .header-left {
        padding-left: 20px
    }

    .header-right {
        padding-right: 20px
    }

    .our-vision__text-block {
        max-width: 600px
    }

    .feedback-page-title .container {
        overflow: hidden
    }

    .feedback-page-title .magnifying-glass-container {
        right: -110px
    }

    .footer__image-container img {
        max-width: 540px
    }

    .footer__menu-container {
        max-width: 580px
    }

    .footer__menu-contacts .footer__menu-social-buttons {
        min-width: auto
    }

    .feedback-page__form .radio-group {
        gap: 10px 14px
    }

    .product-single__details {
        margin-right: 0
    }
}

@media all and (max-width:1280px) {
    :root {
        --font-size-xxl: 7.2rem;
        --medium-padding: 60px
    }

    .container {
        max-width: 996px !important
    }

    .header-logo {
        padding: 29px
    }

    .header-logo img {
        width: 150px
    }

    .our-vision__image-block img {
        height: 502px;
        bottom: -40px;
        right: 60px
    }

    .our-vision__text-block {
        max-width: 550px
    }

    .contacts-page h1 {
        margin: 0;
        visibility: hidden
    }

    .container.image-bg-container {
        min-height: auto;
        padding-bottom: var(--medium-padding)
    }

    .feedback-page-title p {
        max-width: 80%
    }

    .feedback-page-title .image-bg-container p:nth-of-type(3) {
        max-width: 100%
    }

    .feedback-page-title .magnifying-glass-container {
        max-width: 380px;
        right: -100px
    }

    .magnifying-glass-container img {
        width: 100%
    }

    .feedback-page-title .magnifying-glass-container img:last-child {
        width: 150px;
        height: 150px
    }

    .feedback-page__form .medical-worker-form-type .radio-group.big-radio-group {
        grid-template-columns: 1fr 1fr 1fr
    }

    .footer__image-container img {
        max-width: 460px;
        top: -10px;
        left: -70px;
        transform: rotate(-20deg)
    }

    .footer__menu-container {
        max-width: 520px
    }

    .news-grid .news-card:nth-of-type(odd) {
        padding-right: 30px
    }

    .news-card:nth-of-type(2n) {
        padding-left: 30px
    }

    .single-benefits-green-card h3 {
        font-size: 2rem
    }

    .single-benefits-green-card img {
        max-width: 68px
    }

    .product-single__details {
        max-width: 440px
    }

    .call-back-pop-up h2 {
        padding: 0
    }
}

@media all and (max-width:1024px) {
    .burger-toggle {
        display: flex;
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        flex-direction: column;
        justify-content: space-around;
        width: 40px;
        height: 40px;
        background: 0 0;
        border: none;
        cursor: pointer;
        padding: 0
    }

    .burger-toggle span {
        width: 100%;
        height: 3px;
        background: #fff;
        border-radius: 4px;
        transition: .3s linear;
        position: relative;
        transform-origin: 1px;
        box-shadow: 0 1px 1px 1px rgb(153 153 161 / 30%)
    }

    .burger-toggle.is-active span:first-child {
        transform: rotate(45deg);
        box-shadow: 0 1px 2px 1px rgb(153 153 161 / 30%)
    }

    .burger-toggle.is-active span:nth-child(2) {
        opacity: 0;
        transform: translateX(20px)
    }

    .burger-toggle.is-active span:nth-child(3) {
        transform: rotate(-45deg);
        box-shadow: 0 1px 2px 1px rgb(153 153 161 / 30%)
    }

    .header-left {
        flex-grow: 1
    }

    .header-right {
        justify-content: flex-end;
        flex-grow: 1
    }

    :root {
        --font-size-medium: 1.8rem;
        --font-size-info: 2rem;
        --font-size-big: 2.8rem;
        --font-size-bigger: 3.6rem;
        --font-size-biggest: 4.2rem;
        --font-size-xxl: 6.4rem;
        --big-padding: 79px;
        --medium-padding: 45px
    }

    .container {
        max-width: 90% !important
    }

    .footer__image-container,
    .header-left .main-navigation,
    .header-right .main-navigation,
    .magnifying-glass-container {
        display: none
    }

    .header-left,
    .news-card:nth-of-type(2n) {
        padding-left: 20px
    }

    .header-right,
    .news-grid .news-card:nth-of-type(odd) {
        padding-right: 20px
    }

    .header-logo {
        padding: 29px
    }

    .header-logo img {
        width: 150px
    }

    .achievements__list {
        flex-wrap: wrap;
        padding: 0;
        justify-content: space-evenly;
        gap: 50px
    }

    .achievements__list li {
        max-width: 160px
    }

    .time-line .under-title {
        margin-bottom: 0
    }

    .team_cards__single:last-child img {
        max-width: 440px;
        left: 48%
    }

    .our-vision .container {
        background-size: 50%, auto;
        overflow: hidden;
        background-size: 100%, auto;
        background-blend-mode: soft-light;
    }
    .our-vision__image-block img {
        display: none;
    }
    .logo-slider .swiper-slide img {
        height: 80px;
    }

    .our-vision__text-block {
        max-width: 100%;
        padding: var(--medium-padding);
    }

    .our-vision__image-block img {
        height: 430px;
        bottom: -30px;
        right: 50%;
        transform: translateX(50%)
    }

    .feedback-page-title .magnifying-glass-container {
        transform: rotate(25deg);
        right: -110px;
        top: 100px
    }

    .feedback-page-title .magnifying-glass-container img:last-child {
        transform: rotate(-25deg)
    }

    .feedback-page-title p,
    .footer__menu-container {
        max-width: 100%
    }

    footer .container {
        margin-bottom: 5vw
    }

    .pop-up.attention-pop-up .container {
        padding: 32px 62px;
        margin-top: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%)
    }

    .partners__single-partner img {
        right: 0
    }

    .feedback-page__form .medical-worker-form-type .radio-group.big-radio-group {
        grid-template-columns: 1fr 1fr
    }

    .feedback-page__form .radio-group.radio-group-tall {
        height: auto
    }

    .feedback-page__form .form-container {
        padding: 56px 30px
    }

    .feedback-page__form .form-container h2 {
        padding-left: 15px;
        font-weight: 500
    }

    .feedback-page__form .form-control {
        padding: 11px 15px
    }

    .feedback-page__form .radio-group {
        padding: 0 15px
    }

    .feedback-page__form .form-group p {
        padding-left: 15px
    }

    .feedback-page__form .form-grid {
        gap: 50px
    }

    .job-description__benefits-cards {
        flex-wrap: wrap;
        justify-content: center
    }

    .job-description__benefits-cards .job-description_single-card {
        width: 33.33%
    }

    .job-description_single-card:nth-last-child(3):before {
        width: 0
    }

    .job-description_single-card:first-child:after {
        content: '';
        width: 100%;
        height: calc(100% + 2px);
        top: -2px;
        left: 0;
        position: absolute;
        border: 2px solid var(--standart-text-color);
        border-radius: 110px 0 0 110px;
        border-right-color: transparent
    }

    .job-description_single-card h3 {
        padding-top: 15px;
        padding-bottom: 15px
    }

    .job-description__benefits-green-cards {
        flex-wrap: wrap
    }

    .vacancies-slider__button--prev {
        left: -40px
    }

    .vacancies-slider__button--next {
        right: -40px
    }

    .curriculum-vitae-form form p {
        max-width: 60%;
        padding: 20px 0 30px
    }

    .curriculum-vitae-form .form-control {
        width: auto
    }

    .vacancies-slider-container .navigation-slider-button {
        width: 28px;
        height: 28px;
        line-height: 28px
    }

    .contacts-page .container {
        background-color: grey;
        height: calc(100vh - 79px);
        min-height: 400px
    }

    .contact-info-cards {
        padding: 5px 10px;
        flex-direction: column;
        max-width: 280px;
        position: absolute;
        bottom: 40px
    }

    .card-details:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(153, 153, 161, .4)
    }

    .contact-info-cards address {
        padding: 15px
    }

    .product-single__details,
    .product-single__details-additional-info {
        width: 52%
    }

    .product-single__gallery {
        width: 48%;
        padding-right: 20px
    }

    .product-single h1 {
        padding: 10px 0
    }

    .product-single table th {
        font-size: 1.5rem;
        font-weight: 500
    }

    .product-single__actions .greenCallToAction_button {
        width: 208px
    }

    .product-single__actions .greenCallToAction_button span {
        width: 100%;
        text-align: center
    }

    .product-single__actions .greenCallToAction_button img {
        width: 36px;
        height: 36px
    }

    .product-single__actions a:first-child {
        margin-right: 0;
        margin-bottom: 12px
    }

    .single-product-card .container {
        padding: 0 var(--medium-padding) 68px
    }
}

@media (max-width:768px) {

    .hero__content,
    .team_cards__single {
        min-height: auto
    }

    .call-to-action h2,
    .partners__description h2,
    .product-single__manufacturer,
    .product-single__title {
        text-align: center
    }

    .attention-title img,
    .feedback-page__form .form-grid::before,
    .our-vision__image-block,
    .team_cards__single:last-child {
        display: none
    }

    :root {
        --font-size-xxl: 4.2rem;
        --font-size-bigger: 2.8rem;
        --small-padding: 36px
    }

    .hero__content {
        padding: 60px;
        background-image: url('/wp-content/themes/mitek-theme/src/images/mobile-images/hero__content-bg-768x800.jpg');
        background-image: image-set(
            url('/wp-content/themes/mitek-theme/src/images/mobile-images/hero__content-bg-768x800.webp') type('image/webp'),
            url('/wp-content/themes/mitek-theme/src/images/mobile-images/hero__content-bg-768x800.jpg') type('image/jpeg')
        );

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .video-background,
    .video-background video {
        border-radius: 0 0 25px 25px
    }
    .video-background {
        display: none;
    }
    .news-card__body {
        gap: 10px;
        padding-top: 16px
    }

    .news-card__body h2 {
        line-height: 1
    }

    .hero-section-with-video::before {
        background-color: transparent
    }

    .news-card .news-card__link-wrapper {
        max-width: 260px;
        flex-direction: column;
        gap: 0
    }

    .product-single table td:first-child,
    .product-single table td:nth-child(2),
    .product-single table td:nth-child(3) {
        width: 100%;
        padding: 20px 10px
    }

    .product-single table td img {
        float: none
    }

    .hero__button {
        margin-top: 23px
    }

    .hero__latest-news {
        margin-top: 29px
    }

    .hero__latest-news .news-card {
        width: auto;
        max-width: none;
        padding: 21px
    }
    .time-line .container {

        background-image: url('/wp-content/themes/mitek-theme/src/images/mobile-images/time-line-bg_768.jpg');

        background-image: image-set(
            url('/wp-content/themes/mitek-theme/src/images/mobile-images/time-line-bg_768.webp') type('image/webp'),
            url('/wp-content/themes/mitek-theme/src/images/mobile-images/time-line-bg_768.jpg') type('image/jpeg'));
        
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .time-line .container.image-bg-container {
        padding: 30px 20px 20px
    }

    .our-vision__text-block h2 {
        margin-bottom: 30px
    }

    .call-to-action .container {
        flex-wrap: wrap;
        background: 0 0
    }

    .footer-menu-columns {
        flex-wrap: wrap
    }

    .footer__menu-menu .footer-nav-list {
        min-width: 180px
    }

    .footer__copyright-container {
        flex-direction: column;
        gap: 20px
    }

    .attention-buttons,
    .catalog-filter__filter-container {
        gap: 15px;
        flex-wrap: wrap
    }

    .footer__copyright-container .footer-line {
        max-width: 100px
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .pop-up.attention-pop-up .container {
        max-height: 90vh;
        /* overflow: scroll */
    }

    .attention-buttons .greenCallToAction_button {
        height: 50px
    }

    .attention-agreement,
    .attention-description {
        padding-top: 15px
    }

    .attention-buttons {
        justify-content: center;
        padding-top: 25px
    }

    .filter-container>div {
        width: 256px
    }

    .product-card__actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px
    }

    .product-card__actions .greenCallToAction_button {
        display: flex;
        width: 135px;
        justify-content: space-between
    }

    .curriculum-vitae-form .form-control,
    .curriculum-vitae-form .form-group,
    .curriculum-vitae-form .form-row,
    .partners__single-partner .partners__logos {
        width: 100%
    }

    .partners__single-partner {
        margin-bottom: 50px;
        flex-direction: column;
        justify-content: center
    }

    .partners__single-partner img {
        position: relative;
        margin: 0 auto
    }

    .partners__description {
        width: 100%;
        max-width: 600px;
        padding: 0;
        margin: 20px auto 0
    }

    .feedback-page-title h1 {
        padding-bottom: 25px
    }

    .feedback-page__form .form-grid {
        grid-template-columns: 1fr
    }

    .feedback-page__form .medical-worker-form-type .radio-group.big-radio-group {
        display: flex;
        justify-content: flex-start
    }

    .feedback-page__form .big-grid .radio-label {
        min-width: 130px
    }

    .feedback-page__form .radio-group {
        padding: 0 15px
    }

    .feedback-page__form .form-row {
        gap: 10px
    }

    .feedback-page__form .checkbox-group {
        margin: 20px 0
    }

    .feedback-page__form .middle-title {
        padding-top: 30px;
        padding-bottom: 10px
    }

    .middle-title {
        padding: 36px 0
    }

    .news-grid {
        justify-content: center
    }

    .news-grid .news-card:nth-of-type(odd) {
        padding-right: 0
    }

    .news-card:nth-of-type(2n) {
        padding-left: 0
    }

    .news-card {
        width: 100%;
        max-width: 600px
    }

    .curriculum-vitae-form .form-row {
        flex-wrap: wrap;
        margin-bottom: 20px
    }

    .curriculum-vitae-form .form-group,
    .curriculum-vitae-form .form-row:last-child {
        margin-bottom: 0
    }

    section.curriculum-vitae-form .container {
        padding: 40px 50px
    }

    .curriculum-vitae-form form p {
        max-width: 80%
    }

    .contact-info-cards {
        max-width: 280px;
        left: 20px;
        bottom: 16px
    }

    .card-details img {
        width: 32px;
        height: 32px
    }

    .card-details p {
        line-height: 1.2
    }

    .card-details p strong {
        font-size: 1.6rem
    }

    .contact-info-cards address {
        padding: 10px 15px
    }

    .card-details p span {
        display: inline-block;
        margin-right: 5px
    }

    .product-single__details,
    .product-single__details-additional-info,
    .product-single__gallery {
        float: none;
        width: 100%;
        max-width: 100%
    }

    .product-single__main-image img {
        max-height: 300px
    }

    .product-single__manufacturer {
        padding-top: 20px
    }

    .product-single h1 {
        padding: 0 0 30px
    }

    .single-product-card .container {
        max-width: 480px !important;
        margin: 0 auto;
        padding: 0 28px 48px
    }

    .product-single__actions {
        display: flex;
        flex-direction: column;
        margin-top: 28px;
        align-items: center
    }
    .history-slider {
        padding-top: 40px;
    }
    .description-block {
        margin: 28px auto 0;
        padding: 0 28px
    }
    .pop-up.call-back-pop-up .container {
        background-image: url('/wp-content/themes/mitek-theme/src/images/mobile-images/curriculum-vitae-Pop-Up-form-bg-768.jpg');
        background-image: image-set(
            url('/wp-content/themes/mitek-theme/src/images/mobile-images/curriculum-vitae-Pop-Up-form-bg-768.webp') type('image/webp'),
            url('/wp-content/themes/mitek-theme/src/images/mobile-images/curriculum-vitae-Pop-Up-form-bg-768.jpg') type('image/jpeg')
        );

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

@media (max-width:568px) {
    :root {
        --font-size-sm: 1.6rem;
        --font-size-bigger: 2.4rem;
        --medium-padding: 25px
    }

    .container.hero-section-with-video {
        border-radius: 0 0 25px 25px;
        padding: 0 10px
    }

    .hero__content {
        padding: 60px 20px 15px;

        background-image: url('/wp-content/themes/mitek-theme/src/images/mobile-images/hero__content-bg-568x800.jpg');
        background-image: image-set(
            url('/wp-content/themes/mitek-theme/src/images/mobile-images/hero__content-bg-568x800.webp') type('image/webp'),
            url('/wp-content/themes/mitek-theme/src/images/mobile-images/hero__content-bg-568x800.jpg') type('image/jpeg')
        );

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero h1 {
        font-size: 2.2rem
    }

    .hero__latest-news .news-card {
        margin-bottom: 0
    }

    .hero__latest-news .news-card,
    .news-card__media img {
        max-width: 100%
    }

    .time-line .container {

        background-image: url('/wp-content/themes/mitek-theme/src/images/mobile-images/time-line-bg_568.jpg');

        background-image: image-set(
            url('/wp-content/themes/mitek-theme/src/images/mobile-images/time-line-bg_568.webp') type('image/webp'),
            url('/wp-content/themes/mitek-theme/src/images/mobile-images/time-line-bg_568.jpg') type('image/jpeg'));
        
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .switcher-button img {
        width: 36px;
        height: 36px
    }

    .feedback-page__form-container .switcher-container>span {
        visibility: hidden;
        font-size: 0
    }

    .feedback-page__form-container .switcher-container>span strong {
        visibility: visible;
        font-size: var(--font-size-sm);
        font-weight: 500;
        text-transform: capitalize
    }

    .feedback-page__form .switcher-container {
        max-width: 278px
    }

    .feedback-page__form .switcher-button {
        width: 132px
    }

    .feedback-page__form .switcher-container.active .switcher-button {
        width: 188px;
        transform: translateX(90px)
    }

    section.curriculum-vitae-form .container {
        padding: 20px 30px 30px
    }

    .curriculum-vitae-form .form-row:last-child .form-group {
        text-align: center
    }

    .job-description__box-with-line,
    .logo-slider .swiper-slide img {
        height: 70px
    }

    .job-description_single-card::before,
    .job-description_single-card:first-child:after,
    .job-description_single-card:last-child:after {
        display: none
    }

    .job-description_single-card h3 {
        margin-bottom: 20px;
        line-height: 1.2;
        padding-top: 30px;
        padding-bottom: 20px
    }

    .job-description__benefits-cards .job-description_single-card {
        width: 50%;
        margin: 0 20px
    }

    .job-description_single-card:nth-child(odd):after {
        display: block;
        content: '';
        width: 50%;
        height: calc(100% + 2px);
        top: -2px;
        left: 0;
        position: absolute;
        border: 2px solid var(--standart-text-color);
        border-radius: 110px 0 0 110px;
        border-right-color: transparent
    }

    .job-description_single-card:nth-child(2n):after {
        display: block;
        content: '';
        width: 50%;
        height: calc(100% + 2px);
        top: -2px;
        right: 0;
        position: absolute;
        border: 2px solid var(--standart-text-color);
        border-radius: 0 110px 110px 0;
        border-left-color: transparent
    }

    .job-description__benefits-greenBlox-container {
        margin-top: 30px
    }

    .feedback-page__form .checkbox-label {
        text-align: left
    }

    .attention-agreement,
    .attention-description {
        font-size: 1.5rem
    }

    .attention-title {
        font-size: 2.4rem
    }

    .feedback-page__form .form-row {
        gap: 0;
        flex-direction: column
    }

    article.news-card {
        position: relative;
        overflow: visible
    }

    article.news-card:not(:first-child)::after {
        content: '';
        display: block;
        position: absolute;
        width: 83px;
        height: 5px;
        background: #f5f5f5;
        border-radius: 8px;
        top: -37px;
        left: 50%;
        transform: translateX(-50%)
    }

    .call-back-pop-up h2 {
        padding: 0;
        margin: 0 0 20px
    }

    .pop-up.active .container {
        margin-top: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center
    }

    .pop-up .form-group {
        margin-bottom: 14px
    }

    .pop-up .form-control {
        padding: 8px 14px
    }

    .pop-up .form-row {
        flex-direction: column;
        gap: 0
    }

    .pop-up .form-row.buttons-block {
        flex-direction: row;
        gap: 10px
    }

    .pop-up.call-back-pop-up .container {
        padding: 24px 30px
    }

    .contacts-page h1 {
        opacity: 0
    }
    .pop-up.call-back-pop-up .container {
        background-image: url('/wp-content/themes/mitek-theme/src/images/mobile-images/curriculum-vitae-Pop-Up-form-bg-568.jpg');
        background-image: image-set(
            url('/wp-content/themes/mitek-theme/src/images/mobile-images/curriculum-vitae-Pop-Up-form-bg-568.webp') type('image/webp'),
            url('/wp-content/themes/mitek-theme/src/images/mobile-images/curriculum-vitae-Pop-Up-form-bg-568.jpg') type('image/jpeg'));
    
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .footer__menu-container {
        padding-top: 20px;
    }
}

@media (max-width:486px) {
    :root {
        --font-size-xxl: 3.2rem
    }

    .time-line .container {
        max-width: 100% !important;
        border-radius: 0
    }

    .history-slider .swiper-slide,
    .timeline-card {
        width: 100%
    }

    .timeline-card__icon:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background: #00875a;
        left: 0;
        z-index: -1
    }

    .footer-menu-header .title-line,
    .news-card__play-icon,
    .time-line .container::before,
    .time-line__green-line {
        display: none
    }

    .news-card__media img {
        -webkit-mask-image: none;
        mask-image: none
    }

    .news-card__media,
    .news-card__media img {
        border-radius: 25px
    }

    .footer__menu-container {
        flex-wrap: wrap;
        gap: 60px;
        justify-content: center
    }

    .footer__menu-menu .footer-menu-header {
        justify-content: center
    }

    .footer__menu-menu .footer-nav-list {
        min-width: 100%
    }

    .footer__menu-container>div {
        min-width: 200px
    }

    .footer-menu-header h4,
    footer .footer-menu-header span {
        display: block;
        text-align: center;
    }

    .footer-nav-list li,
    .footer-nav-list .footer__menu-social-buttons {
        padding: 18px 0 0;
        text-align: center;
        justify-content: center
    }

    .product-grid {
        grid-template-columns: 1fr;
        justify-self: center
    }

    .pop-up.attention-pop-up .container {
        padding: 28px 20px
    }

    .feedback-page__form .radio-custom {
        flex-shrink: 0
    }

    .product-single table td img {
        float: none;
        margin: 0 auto 15px
    }

    .product-single table td,
    .product-single table th {
        text-align: center;
        padding: 15px 5px 0
    }

    .product-single table td:last-child img {
        margin: 0 auto 15px
    }

    .single-product-card .container {
        max-width: 90% !important;
        margin: 0 auto
    }
}