@media (min-width:768px) {
    .news-blog-grid .news-blog-item:nth-last-of-type(-n+2) .news-item-img {
        display: none;
    }

    .news-blog-grid .news-blog-item:nth-child(-n+3) {
        padding-top: 0;
    }

    .news-blog-grid .news-blog-item:not(:first-child):nth-child(odd) {
        border-right: none;
    }

    .news-blog-grid .news-blog-item:not(:first-child):not(:nth-last-of-type(-n+2)) .news-item-title h3 {
        font-size: 80%;
        line-height: 1.2;
    }

    .news-blog-grid .news-blog-item:not(:first-child) .news-item-dec {
        display: none;
    }

    .news-blog-grid .news-blog-item:not(:first-child):not(:nth-last-of-type(-n+2)) .news-item-title h3 {
        font-size: 100%;
        line-height: 1.2;
    }

    .news-blog-grid .news-blog-item {
        padding: 30px;
        border-right: 0.5px solid rgba(52, 52, 52, 0.5);
        border-bottom: 1px solid rgba(52, 52, 52, 0.3);
    }

    .training-courses-section .list-wrap .item .post-excerpt {
        margin-bottom: 10px;
    }
}

@media (max-width:1500px) {
    body {
        --mid-head: 45px;
    }

    .banner-vid-cnt .banner-title {
        font-size: 72px;
    }

    .flaw-eleg-sec .sec-title h3 {
        font-size: 72px;
    }

    .top-header .top-header-language,
    .top-header-right .menu a,
    .top-header-right .language-dropdown .lang-toggle,
    .top-header-right .contact_link,
    .navigation .main_menu .firstul li a {
        font-size: 18px;
    }

    .top-header-right .contact_link:before {
        width: 20px;
        height: 19px;
    }

    .top-header-right .contact_link {
        padding-left: 24px;
    }

    .top-header-right .language-dropdown .lang-toggle:after {
        width: 14px;
        height: 14px;
    }

    .top-header-right .language-dropdown .lang-toggle {
        padding-right: 18px;
    }

    .top-header-right .language-dropdown .lang-menu li a,
    .navigation .main_menu .firstul .sub-menu li a,
    .top-header-right .language-dropdown .current-check {
        font-size: 16px;
    }

    /* .top-header .top-header-language,
    .top-header-right .menu a,
    .top-header-right .contact_link,
    .top-header-right .language-dropdown .lang-toggle, */
    .je-resserve a {
        font-size: 22px;
    }

    .navigation .main_menu .firstul>li.menu-item-has-children:last-child:after {
        width: 12px;
        height: 12px;
    }

    .top-header-right .language-dropdown .lang-menu {
        width: 162px;
    }

    .single-news .news-blog-post-section .inner-content-block img:not(.news-blog-post-section section img),
    .single-news .news-blog-post-section .inner-content-block iframe:not(.news-blog-post-section section iframe),
    .single-news .news-blog-post-section .inner-content-block video:not(.news-blog-post-section section video),
    .single-news .news-blog-post-section .inner-content-block .wp-video:not(.news-blog-post-section section .wp-video) {
        margin: 30px auto;
        max-height: 430px;
        min-height: 430px;
    }

    .single-news .news-blog-post-section .single-heading {
        margin-bottom: 20px;
    }
}

@media screen and (min-width:1400px) and (max-width:1499px) {

    .main-header .main-header-wrp .logo,
    .top-header .top-header-wrap .logo {
        max-width: 250px;
    }

    body {
        padding-top: 156px;
    }
}

@media screen and (max-width:1399px) {
    body {
        padding-top: 125px;
    }

    .top-header .top-header-language,
    .top-header-right .menu a,
    .top-header-right .language-dropdown .lang-toggle,
    .top-header-right .contact_link,
    .navigation .main_menu .firstul li a {
        font-size: 16px;
    }

    /* .top-header-right .language-dropdown .lang-menu li a,
    .top-header-right .language-dropdown .current-check, */
    .navigation .main_menu .firstul .sub-menu li a {
        font-size: 14px;
    }

    /* .top-header .top-header-language,
    .top-header-right .menu a,
    .top-header-right .contact_link,
    .top-header-right .language-dropdown .lang-toggle, */
    .je-resserve a {
        font-size: 20px;
    }

    .top-header-right .contact_link {
        padding-left: 24px;
    }

    .top-header-right .contact_link:before {
        width: 20px;
        height: 20px;
    }

    .navigation .main_menu .firstul>li.menu-item-has-children:after {
        width: 12px;
        height: 12px;
    }

    .navigation .main_menu {
        gap: 25px;
    }

    .main-header .main-header-wrp .logo,
    .top-header .top-header-wrap .logo {
        max-width: 200px;
    }

    .single-title .single-heading {
        padding: 15px 0;
    }

    .imgcnt-slider .owl-nav button {
        width: 25px;
        height: 25px;
    }

    .item-box a {
        padding: 26px 15px;
    }

    .imgcnt-slider .owl-nav {
        width: calc(100% + 60px);
    }

    /* BKP  */
    .locations-tabination-section .locations-tabination .tabs .img img,
    .three-imgs-section .three-imgs-grid .img img,
    .single-image-section .img img,
    .single-image-section .img iframe {
        max-height: 450px;
        min-height: 450px;
    }

    .fablab-overview-section .fablab-overview .title {
        padding: 15px 50px 15px 0;
    }

    h2 {
        margin-bottom: 20px;
    }

    p {
        font-size: 16px;
    }

    .right-text-content .item .imgcol .left-picture img,
    .right-text-content .item .imgcol .left-picture video,
    .right-text-content .item .imgcol .left-picture iframe {
        max-height: 450px;
    }

    .three-img-cntwrap h3 {
        margin-bottom: 40px;
    }

    .top-header-right .language-dropdown .lang-menu {
        width: 152px;
    }

    .single-news .news-blog-post-section {
        padding: 20px 0 20px;
    }

    .single-news .news-blog-post-section .single-heading {
        margin-bottom: 5px;
        padding-top: 0;
    }
}

@media (max-width: 1300px) {
    body {
        --mid-head: 40px;
        --block-space: 80px;
        font-size: 16px;
    }

    .banner-vid-cnt .banner-title {
        font-size: 66px;
    }

    .banner-vid-cnt .banner-video-dec p {
        font-size: 22px;
        line-height: 28px;
    }

    .container {
        max-width: 100%;
    }

    .ser-intro-cntwrp .sec-title {
        margin-bottom: 32px;
    }


    .ser-intro-cntwrp .arrow-img-btn {
        margin-top: 60px;
    }

    .ser-introimg-grid {
        grid-gap: 20px;
    }

    .ser-intro-grid {
        grid-column-gap: 20px;
    }

    .highlight-txt-wrp h3 {
        padding-left: 40px;
        line-height: 1.2;
    }

    .highlight-txt-wrp {
        padding: 80px;
    }

    .flaw-eleg-sec .sec-title h3 {
        font-size: 66px;
    }

    .news-item-cnt .news-item-title h3 {
        font-size: 32px;
        line-height: 42px;
        letter-spacing: 0.5px;
    }

    .news-item-cnt .news-item-title {
        margin-bottom: 20px;
    }

    .news-item-cnt .news-item-dec {
        margin-bottom: 54px;
    }

    .banner-video-wrap video {
        height: 500px;
    }

    footer .cityfab-card h6 {
        font-size: 18px;
    }
}

@media screen and (max-width:1299px) {
    /* body {
        padding-top: 140px;
    } */

    p {
        margin-bottom: 15px;
    }

    .locations-tabination-section .item-content p {
        margin-bottom: 20px;
    }

    .locations-tabination-section .item-content p:has(strong) {
        margin-bottom: 10px;
    }

    .imgcnt-slider .owl-nav {
        width: 100%;
    }

    .slide-cntinfo-wrap .imgcnt-slider {
        padding: 0 30px;
    }

    .je-resserve {
        font-size: 26px;
    }

    .top-header .top-header-wrap .top-header-right .login img {
        width: 25px;
        height: 35px;
    }

    .top-header ul.menu .sub-menu li a {
        padding: 10px 15px;
    }

    .fablab-overview-section .fablab-overview .item {
        margin-bottom: 40px;
    }

    .fablab-overview-section .fablab-overview .title {
        padding: 12px 50px 12px 0;
    }

    .right-text-content .item .imgcol .left-picture img,
    .right-text-content .item .imgcol .left-picture video,
    .right-text-content .item .imgcol .left-picture iframe,
    .team-mem-section .list-wrap .item .mem-img img,
    .locations-tabination-section .locations-tabination .tabs .img img,
    .three-imgs-section .three-imgs-grid .img img,
    .single-image-section .img img,
    .single-image-section .img iframe {
        max-height: 400px;
        min-height: 400px;
    }

    .right-text-content .item .imgcol iframe,
    .left-text-content .item .imgcol iframe {
        max-height: 400px;
    }

    .imgcnt-slider .item .imgcol img {
        height: 400px;
        max-height: 400px;
    }

    .locations-tabination-section .tabs .tab-link,
    .three-imgs-section .three-imgs-grid .content {
        padding-left: 12px;
        padding-right: 12px;
    }

    .locations-tabination-section .tabs,
    .three-imgs-section .three-imgs-grid {
        margin-left: -12px;
        margin-right: -12px;
    }

    .fablab-overview-section .fablab-overview .title {
        margin-bottom: 20px;
    }

    .fablab-overview-section .fablab-overview .item {
        margin-bottom: 30px;
    }

    .all-machines-section .list-wrap .item .info {
        width: 65%;
    }

    .imgcnt-slider .owl-nav {
        width: calc(100% + 60px);
    }

    .imgcnt-slider .owl-nav button {
        width: 40px;
        height: 40px;
    }

    .single-news .news-blog-post-section {
        padding: 15px 0 20px;
    }

    .single-news .news-blog-post-section .inner-content-block img:not(.news-blog-post-section section img),
    .single-news .news-blog-post-section .inner-content-block iframe:not(.news-blog-post-section section iframe),
    .single-news .news-blog-post-section .inner-content-block video:not(.news-blog-post-section section video),
    .single-news .news-blog-post-section .inner-content-block .wp-video:not(.news-blog-post-section section .wp-video) {
        margin: 20px auto;
    }
}

@media screen and (max-width:1199px) {
    .container {
        padding: 0 60px;
    }

    .three-imgcnt-grid .three-img-grid {
        grid-template-columns: 1fr 1fr;
    }

    .three-imgcnt-grid .three-img-grid .imgwrp:last-child {
        grid-column: span 2;
        width: 100%;
    }

    .three-imgcnt-grid .three-img-grid img,
    .three-imgcnt-grid .three-img-grid .imgwrp {
        max-height: 300px;
        width: 100%;
    }

    .three-imgcnt-grid .three-img-grid {
        height: fit-content;
    }

    .modal .visiting-form form label+br {
        display: none;
    }

    .modal .visiting-form form label {
        margin-bottom: 10px;
        min-width: 290px;
    }

    .modal .visiting-form form input,
    .modal .visiting-form form select {
        border: 3px solid #949494;
    }

    .modal .visiting-form form .wpcf7-form-control-wrap {
        margin-bottom: 30px;
    }

    .articles-section .articles-slider .owl-nav {
        width: 30px;
        left: -40px;
    }

    .imgcnt-slider .owl-nav button,
    .articles-section .articles-slider .owl-nav button {
        width: 30px;
        height: 30px;
    }

    .bg-white {
        padding: 15px;
    }

    .item-box a {
        padding: 20px 15px;
    }

    .locations-tabination-section .locations-tabination .tabs .img .text {
        width: 70%;
        text-align: center;
    }

    .team-mem-section .list-wrap {
        gap: 40px 30px;
    }

    .training-filters-bar .location-filter,
    .training-filters-bar .machine-filter,
    .training-filters-bar .date-filter {
        margin-top: 10px;
    }

    .training-courses-section .list-wrap .item .info {
        padding: 10px;
    }

    .three-imgs-section .content .text {
        padding: 15px;
        text-align: center;
    }

    .all-machines-section .list-wrap,
    .training-courses-section .list-wrap {
        gap: 30px 20px;
    }

    .all-machines-section .list-wrap .item .info {
        width: 85%;
        min-height: auto;
    }

    .all-machines-section .list-wrap .item .info .machine-name {
        padding: 10px 10px;
    }

    .right-text-content .item .imgcol .left-picture img,
    .right-text-content .item .imgcol .left-picture video,
    .right-text-content .item .imgcol .left-picture iframe,
    .team-mem-section .list-wrap .item .mem-img img,
    .locations-tabination-section .locations-tabination .tabs .img img,
    .three-imgs-section .three-imgs-grid .img img,
    .single-image-section .img img,
    .single-image-section .img iframe,
    .right-text-content .item .imgcol iframe,
    .left-text-content .item .imgcol iframe {
        max-height: 340px;
        min-height: 340px;
    }

    .training-courses-section .list-wrap .item .img::before {
        border-left: 60px solid var(--rosy-red);
        border-top: 60px solid transparent;
    }

    .training-courses-section .list-wrap .item.cityfab_1 .img::before {
        border-left: 60px solid var(--rosy-red);
        border-top: 60px solid transparent;
    }

    .training-courses-section .list-wrap .item.cityfab_2 .img::before {
        border-left: 60px solid var(--blue);
        border-top: 60px solid transparent;
    }

    .training-courses-section .list-wrap .item.cityfab_3 .img::before {
        border-left: 60px solid var(--yellow);
        border-top: 60px solid transparent;
    }

    .main-header .main-header-wrp .logo,
    .top-header .top-header-wrap .logo {
        max-width: 180px;
    }

    .navigation .main_menu {
        gap: 20px;
    }

    .navigation .main_menu .firstul {
        column-gap: 14px;
        flex-wrap: wrap;
    }

    .imgcnt-slider .owl-nav {
        width: calc(100% + 15px);
    }

    .imgcnt-slider .item .imgcol img,
    .note-machine .item .imgcol img,
    .single-image-section img,
    .three-imgcnt-grid .three-img-grid img,
    .locations-tabination-section .locations-tabination .tabs .img img,
    .all-machines-section .list-wrap .img img,
    .training-courses-section .list-wrap .img,
    .right-text-content .item .imgcol .left-picture,
    .team-mem-section .list-wrap .item .mem-img img,
    .left-text-content .item .imgcol img,
    .three-imgs-section .three-imgs-grid .img img,
    .news-blog-post-section .inner-content-block img,
    .news-blog-post-section .inner-content-block iframe,
    .news-blog-post-section .inner-content-block video,
    .news-blog-post-section .inner-content-block .wp-video {
        border-radius: 30px;
    }

    .navigation .main_menu .firstul li a {
        font-size: 16px;
        padding: 6px 8px;
    }

    .top-header-right .contact_link:before {
        width: 20px;
        height: 20px;
    }

    /* .top-header .top-header-language,
    .top-header-right .menu a,
    .top-header-right .language-dropdown .lang-toggle,
    .top-header-right .contact_link,
    .navigation .main_menu .firstul li a {
        font-size: 16px;
    } */

    /* .top-header-right .language-dropdown .lang-menu li a,
    .top-header-right .language-dropdown .current-check,
    .navigation .main_menu .firstul .sub-menu li a {
        font-size: 14px;
    } */

    /* .top-header .top-header-language,
    .top-header-right .menu a,
    .top-header-right .contact_link,
    .top-header-right .language-dropdown .lang-toggle, */
    .je-resserve a {
        font-size: 18px;
    }

    .navigation .main_menu .firstul>li.menu-item-has-children:after,
    .navigation .main_menu .firstul>li.menu-item-has-children:last-child:after {
        width: 10px;
        height: 10px;
    }

    .navigation .main_menu .firstul>li.menu-item-has-children>a {
        padding-right: 20px;
    }

    .je-resserve a {
        font-size: 16px;
        /* font-size: 18px; */
        padding: 8px 16px;
        white-space: nowrap;
    }

    .main-header-wrp {
        gap: 18px;
    }

    body {
        padding-top: 115px;
    }

    .single-title .single-heading {
        margin-bottom: 20px;
    }

    .imgcnt-slider .item {
        gap: 30px;
    }

    .imgcnt-slider .item .imgcol,
    .imgcnt-slider .item .cntcol {
        width: 50%;
    }

    .cityfab-showcase {
        padding: 10px 0 0;
    }

    .action-btn,
    .yellow-bg,
    .btnwrp a,
    .right-text-content .item .cntcol .btnwrp .action-btn,
    .left-text-content .item .cntcol .btnwrp .action-btn,
    .three-imgcnt-grid .cntcol .btnwrp .action-btn,
    .right-text-content .item .imgcol .btnwrp a,
    .left-text-content .item .imgcol .btnwrp a {
        padding: 12px 25px;
    }

    .note-machine-wrap .item {
        gap: 30px;
    }

    .articles-section {
        padding: 10px 0 30px;
    }

    .articles-section .articles-wrap {
        gap: 20px;
    }

    .articles-section .article-card p {
        font-size: 18px;
    }

    footer {
        padding: 30px 0 0;
    }

    footer .cityfab-cards {
        max-width: 100%;
    }

    footer .social-section {
        margin-bottom: 30px;
        padding-top: 40px;
    }

    [class*="action-btn"],
    .loadmore a,
    .load-more,
    .load-more-events,
    .load-more-machine {
        padding: 10px 25px;
    }

    .single-news .news-blog-post-section .inner-content-block img:not(.news-blog-post-section section img),
    .single-news .news-blog-post-section .inner-content-block iframe:not(.news-blog-post-section section iframe),
    .single-news .news-blog-post-section .inner-content-block video:not(.news-blog-post-section section video),
    .single-news .news-blog-post-section .inner-content-block .wp-video:not(.news-blog-post-section section .wp-video) {
        max-height: 360px;
        min-height: 360px;
    }

    .single-news .news-blog-post-section ul,
    .single-news .news-blog-post-section ol {
        margin-bottom: 20px;
    }
}

@media screen and (min-width:992px) and (max-width:1023px) {

    .main-header .main-header-wrp .logo,
    .top-header .top-header-wrap .logo {
        max-width: 165px;
    }

    .navigation .main_menu .firstul {
        column-gap: 10px;
    }
}

@media (max-width:991px) {
    .top-header .top-header-wrap {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    body {
        padding-top: 96px;
    }

    .top-header .top-header-wrap .top-header-right {
        margin-right: 25px;
    }

    .top-header-right .language-dropdown::after {
        content: "";
        position: absolute;
        right: -12px;
        top: 50%;
        width: 2px;
        height: 80%;
        background: #f2a5aa;
        transform: translateY(-50%);
        transition: all 0.3s ease-in-out;
    }

    .top-header .top-header-wrap .top-header-left {
        display: block;
    }

    .main-header .main-header-wrp .logo {
        display: none;
    }

    .lines-button {
        display: block;
    }

    .container,
    .container-sm,
    .main-header-wrp {
        padding: 0 40px;
    }

    .main-header .container {
        padding: 0;
    }

    .main-header-wrp {
        position: relative;
    }

    .navigation {
        /* float: none; */
        /* position: absolute; */
        left: 0px;
        right: 0px;
        margin-top: 0px;
        height: 100%;
        width: 100%;
        display: block;
    }

    .navigation .main_menu {
        /* position: absolute; */
        /* top: 23px; */
        /* background: var(--gray-white);
        transition: all 0.4s ease-out;
        opacity: 0;
        height: 100vh;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 1;
        transform: scale(1, 0);
        transform-origin: top;
        transition: all 0.3s ease-in-out; */
        flex-direction: column;
    }

    .main-header {
        position: absolute;
        /* background: var(--gray-white); */
        opacity: 0;
        height: 100vh;
        /* top: 23px; */
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 1;
        transform: scale(1, 0);
        transform-origin: top;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        flex-direction: column;
        background-image: url(http://cityfab.loc/wp-content/uploads/2026/05/cf-pattern.jpg);
        background-position: left top;
        background-size: auto;
        background-repeat: repeat;
        background-color: #eaf4f3;
    }

    header.sticky-header .main-header {
        background-image: none;
        background-color: #d9ede9;
    }

    body:has(.navigation.open) .main-header {
        transform: scale(1, 1);
        opacity: 1;
        z-index: 3;
        gap: 20px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navigation .main_menu .firstul {
        flex-direction: column;
        align-items: start;
        padding: 10px 0px 20px;
        width: 100%;
    }

    .main-header-wrp {
        padding: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navigation .main_menu .firstul li {
        padding: 0;
        text-align: start;
        width: 100%;
        transition: unset;
    }

    .navigation .main_menu .firstul>li {
        transition: all 0.4s ease-in-out;
    }

    .navigation .main_menu .firstul li.current_page_item,
    .navigation .main_menu .firstul li.current-menu-item {
        background: #000000;
    }

    .navigation .main_menu .firstul li.current_page_item a {
        color: #ffffff;
    }

    .navigation .main_menu .firstul li.current-menu-item a {
        background: #000000;
        color: #ffffff;
    }

    .navigation .main_menu .firstul>li.menu-item-has-children>a,
    .navigation .main_menu .firstul li a {
        padding-right: 40px;
        padding-left: 40px;
    }

    .navigation .main_menu .firstul>li>a {
        border: none;
    }

    .navigation .main_menu .firstul>li.menu-item-has-children:after,
    .navigation .main_menu .firstul>li.menu-item-has-children:last-child:after {
        right: 45px;
    }

    footer .je-resserve {
        display: block;
        position: fixed;
        bottom: 110px;
        max-width: 250px;
        right: 20px;
        z-index: 99999999;
        padding: 0;
    }

    footer .je-resserve a {
        padding: 0;
        display: block;
        border: none;
        background: transparent;
    }

    footer .je-resserve a img {
        display: block;
        width: 100%;
    }

    header .main_menu .je-resserve {
        display: none;
    }

    .je-resserve {
        width: 100%;
        justify-content: start;
        margin: 0;
        padding: 0 40px;
    }

    body {
        --mid-head: 32px;
        --block-space: 70px;
    }

    p,
    body {
        font-size: 16px;
        line-height: 1.2;
    }

    .banner-vid-cnt .banner-title {
        font-size: 52px;
    }

    .banner-vid-cnt .banner-video-dec p {
        font-size: 21px;
        line-height: 26px;
    }

    .ser-intro-grid .ser-intro-cntcol {
        padding: 30px;
    }

    .ser-intro-cntwrp .arrow-img-btn {
        margin-top: 30px;
    }

    .ser-intro-cntwrp .sec-title {
        margin-bottom: 20px;
    }

    .ser-introimg-grid {
        grid-gap: 15px;
    }

    .highlight-txt-wrp {
        padding: 50px;
    }

    .flaw-eleg-sec .sec-title h3 {
        font-size: 52px;
    }

    .flaw-eleg-sec .sec-title {
        margin-bottom: 30px;
    }

    .pro-grid-items {
        grid-column-gap: 20px;
        grid-row-gap: 30px;
    }

    .pro-item .pro-item-dtl .pro-item-title h3 {
        font-size: 16px;
        letter-spacing: 0.2px;
    }

    .pro-item .pro-item-dtl .pro-item-title p {
        line-height: 1.3;
    }

    .news-blog-item .news-item-dtl .news-item-tp {
        font-size: 12px;
        letter-spacing: 0.1px;
        line-height: 24px;
        margin-bottom: 15px;
    }

    .news-blog-grid .news-blog-item {
        padding: 20px;
    }

    .news-item-cnt .news-item-title h3 {
        font-size: 32px;
        line-height: 1.2;
        letter-spacing: 0.3px;
    }

    .news-item-cnt .news-item-dec {
        margin-bottom: 30px;
    }

    .news-blog-grid {
        margin-left: -20px;
        margin-right: -20px;
    }

    .news-blog-sec .sec-title {
        margin-bottom: 35px;
    }

    .navigation .header-tools {
        right: 70px;
        margin-top: 3px;
    }

    .mean-nav ul li a img {
        display: none;
    }

    .lines-button.x2.meanclose .lines:before,
    .lines-button.x2.meanclose .lines:after {
        background: #0b2e58;
        display: inline-block;
        right: 10px;
        position: absolute;
        transform-origin: 0.28571rem center 0;
        transition: all 0.3s ease 0s;
        width: 35px;
    }

    .lines-button.x2.meanclose .lines:before {
        transform: rotate3d(0, 0, 1, -45deg) !important;
        transform-origin: 50% 50% 0;
    }

    .lines-button.x2.meanclose .lines:after {
        transform: rotate3d(0, 0, 1, 45deg) !important;
        transform-origin: 50% 50% 0;
    }

    .mob-show {
        display: block;
    }

    .top-header-main .header-wrp {
        display: none;
    }

    .main-header-wrp .logo,
    .top-header .top-header-wrap .logo {
        border-bottom: none;
        padding: 0px;
    }

    .meanclose .lines {
        background: none;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .top-header .top-header-language,
    .top-header-right .menu a {
        font-weight: 700;
    }

    .top-header .top-header-wrap .top-header-right .login img {
        width: 24px;
        height: 30px;
    }

    .top-header ul.menu>li:after {
        width: 12px;
        height: 12px;
    }

    .top-header ul.menu>li {
        padding: 5px 0;
        padding-right: 20px;
    }

    .note-machine .item,
    .right-text-content .item,
    .left-text-content .item {
        grid-gap: 15px;
    }

    .grid-2 {
        grid-gap: 15px;
    }

    .three-imgcnt-grid {
        grid-column-gap: 15px;
    }

    .top-header ul.menu .sub-menu li a {
        padding: 5px 10px;
    }


    .three-imgcnt-grid .three-img-grid img,
    .three-imgcnt-grid .three-img-grid .imgwrp {
        max-height: 260px;
    }

    .imgcnt-slider .item .imgcol img {
        height: 380px;
        max-height: 380px;
    }

    .imgcnt-slider .item {
        gap: 20px;
    }

    .imgcnt-slider .item .cntcol .cnt-block,
    .note-machine .item .cntcol .cnt-block,
    .right-text-content .item .cntcol .cnt-block,
    .left-text-content .item .cntcol .cnt-block,
    .three-img-cntwrap .three-imgcnt-grid .cntcol .cnt-block {
        margin-bottom: 15px;
    }

    .team-mem-section .list-wrap {
        gap: 30px;
    }

    .right-text-content .item .imgcol .left-picture,
    .left-text-content .item .imgcol .left-picture {
        margin-bottom: 20px;
    }

    .training-filters-bar form select,
    .training-filters-bar form option,
    .training-filters-bar form input,
    .training-filters-bar form label {
        font-size: 16px;
    }

    .training-filters-bar .location-filter,
    .training-filters-bar .machine-filter,
    .training-filters-bar .date-filter {
        margin-top: 8px;
    }

    .locations-tabination-section .locations-tabination .tabs .img .text {
        padding: 10px 20px;
    }

    .all-machines-section .list-wrap .item .info .machine-name {
        min-height: 60px;
    }

    .training-courses-section .list-wrap .item .img::before {
        border-left: 50px solid var(--rosy-red);
        border-top: 50px solid transparent;
    }

    .training-courses-section .list-wrap .item.cityfab_1 .img::before {
        border-left: 50px solid var(--rosy-red);
        border-top: 50px solid transparent;
    }

    .training-courses-section .list-wrap .item.cityfab_2 .img::before {
        border-left: 50px solid var(--blue);
        border-top: 50px solid transparent;
    }

    .training-courses-section .list-wrap .item.cityfab_3 .img::before {
        border-left: 50px solid var(--yellow);
        border-top: 50px solid transparent;
    }

    .imgcnt-slider .owl-dots {
        margin-top: 20px;
    }

    .open-mobile-nav {
        overflow: hidden;
    }

    .navigation .main_menu .firstul li a {
        font-size: 18px;
    }

    .navigation .main_menu .firstul>li.menu-item-has-children:after,
    .navigation .main_menu .firstul>li.menu-item-has-children:last-child:after {
        width: 16px;
        height: 16px;
        top: 18px;
    }

    .navigation .main_menu {
        gap: 0;
    }

    .navigation .main_menu .firstul li .sub-menu {
        position: unset;
        color: #000000;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        background: #eaf4f3;
        /* transition: max-height 0.3s ease-in-out, opacity 0.5s ease-in-out, visibility 0.5s ease-in-out; */
        transition: max-height 0.8s ease-in-out, opacity 0.8s ease-in-out, visibility 0.8s ease-in-out !important;
    }

    .navigation .main_menu .firstul>li.current_page_item>a {
        background: #000000;
        color: #ffffff;
    }

    .navigation .main_menu .firstul>li.current_page_item .submenu-toggle {
        filter: brightness(0) invert(1);
    }

    .navigation .main_menu .firstul li.open-submenu .sub-menu {
        opacity: 1 !important;
        transform: scale(1, 1);
        max-height: 600px !important;
        visibility: visible !important;
        /* transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out !important; */
    }

    .navigation .main_menu .firstul>li.menu-item-has-children:hover::after {
        filter: unset;
        transform: translateY(-50%) rotate(0deg);
    }

    .navigation .main_menu .firstul li .sub-menu li a {
        font-family: 'Museo Sans 500';
        padding-left: 60px;
        font-weight: 600;
    }

    .navigation .main_menu .firstul .sub-menu li a {
        font-size: 16px;
    }

    .navigation .main_menu .firstul>li>a,
    .navigation .main_menu .firstul>li>a {
        width: fit-content;
    }

    .navigation .main_menu .firstul li.open-submenu .sub-menu::after {
        filter: brightness(0) invert(1);
    }

    .navigation .main_menu .firstul>li.menu-item-has-children:after,
    .navigation .main_menu .firstul>li.menu-item-has-children:last-child:after {
        content: none !important;
    }

    .navigation .main_menu .firstul>li.menu-item-has-children .submenu-toggle {
        content: "";
        position: absolute;
        right: 46px;
        top: 10px;
        width: 15px;
        height: 15px;
        /* background-image: url('../images/down-arrow.svg'); */
        background-image: url('../images/menu_arrow.svg');
        background-size: 100% 100%;
        background-repeat: no-repeat;
        transition: all 0.3s ease-in-out;
        display: block;
        z-index: 1;
        cursor: pointer;
    }

    /* .navigation .main_menu .firstul>li.menu-item-has-children:last-child .submenu-toggle {
        background-image: url('../images/menu_arrow.svg');
    } */

    .navigation .main_menu .firstul>li.open-submenu .submenu-toggle {
        transform: rotate(-180deg);
    }

    .cityfab-showcase .cityfab-location-link {
        width: 50px;
        height: 50px;
    }

    .articles-section .articles-slider .owl-nav {
        top: calc(100% + 15px);
        /* left: 50%; */
        left: calc(50% - 7px);
        transform: translateX(-50%);
        flex-direction: row;
        width: 80px;
        gap: 0;
    }

    .articles-section .articles-slider .owl-nav button.owl-prev {
        display: block;
    }

    footer {
        padding: 40px 0 0;
    }

    footer .cityfab-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    footer .footer-bottom {
        padding: 30px 0 40px;

    }

    footer .footer-bottom .bottom-wrap {
        text-align: center;
    }

    footer .footer-bottom-item {
        justify-content: center;
        font-size: 14px;
    }

    footer .cityfab-card h6 {
        font-size: 22px;
    }

    footer .cityfab-card {
        width: calc((100% - (1 * 20px)) / 2);
    }

    .single-news .news-blog-post-section .inner-content-block img:not(.news-blog-post-section section img),
    .single-news .news-blog-post-section .inner-content-block iframe:not(.news-blog-post-section section iframe),
    .single-news .news-blog-post-section .inner-content-block video:not(.news-blog-post-section section video),
    .single-news .news-blog-post-section .inner-content-block .wp-video:not(.news-blog-post-section section .wp-video) {
        max-height: 300px;
        min-height: 300px;
    }

    .single-news .news-blog-post-section .wp-block-gallery img {
        margin: 5px 0 !important;
    }

    .single-news .news-blog-post-section table {
        margin: 15px 0;
    }

    .single-news .news-blog-post-section table th,
    .single-news .news-blog-post-section table td {
        padding: 10px;
    }
}

@media (max-width: 768px) {

    .container,
    .container-sm {
        padding: 0 30px;
    }

    .lines,
    .lines:before,
    .lines:after {
        height: 3px;
    }

    .locations-tabination-section .item-content {
        padding: 0 10px;
    }

    .locations-tabination-section .item.active .item-content {
        margin-top: 20px;
    }

    .locations-tabination-section .tabs {
        display: none;
    }

    .locations-tabination-section .item-title {
        display: block;
        position: relative;
    }

    .locations-tabination-section .item .item-title::after {
        position: absolute;
        content: "";
        top: 50%;
        transform: translateY(-50%);
        right: 10px;
        width: 12px;
        height: 12px;
        background-image: url('../images/white-down-arrow.svg');
        background-size: 100% 100%;
        background-repeat: no-repeat;
        transition: all 0.3s ease-in-out;
    }

    .right-text-content .item .imgcol .left-picture img,
    .right-text-content .item .imgcol .left-picture video,
    .right-text-content .item .imgcol .left-picture iframe,
    .team-mem-section .list-wrap .item .mem-img img,
    .locations-tabination-section .locations-tabination .tabs .img img,
    .three-imgs-section .three-imgs-grid .img img,
    .single-image-section .img img,
    .single-image-section .img iframe,
    .right-text-content .item .imgcol iframe,
    .left-text-content .item .imgcol iframe {
        max-height: 300px;
        min-height: 300px;
    }

    .locations-tabination-section .item.active .item-title::after {
        transform: translateY(-50%) rotate(-180deg);
    }

    .locations-tabination-section .tab-content .item:not(:last-child) {
        border-bottom: 2px solid #ffffff;
    }

    .locations-tabination-section .item {
        display: block;
    }

    .locations-tabination-section .tab-content .item {
        padding: 10px;
    }

    .je-resserve a {
        padding: 10px 20px;
    }

    .top-header .top-header-wrap .top-header-right .login img {
        width: 22px;
        height: 28px;
    }

    .top-header .top-header-wrap .top-header-right {
        grid-column-gap: 20px;
    }

    .top-header .top-header-wrap .top-header-right {
        margin-right: 20px;
    }

    .top-header-right .contact_link::after,
    .top-header-right .language-dropdown::after {
        right: -10px;
    }

    .note-machine .item,
    .three-imgcnt-grid,
    .right-text-content .item,
    .left-text-content .item {
        grid-template-columns: 1fr;
    }

    .note-machine .item,
    .right-text-content .item,
    .left-text-content .item {
        grid-gap: 15px;
    }

    .right-text-content .item .imgcol,
    .left-text-content .item .imgcol {
        padding: 0px 0;
    }

    .imgcnt-slider .item .imgcol img,
    .imgcnt-slider .item .imgcol iframe,
    .imgcnt-slider .item .imgcol video,
    .imgcnt-slider .item .imgcol iframe,
    .imgcnt-slider .item .imgcol video,
    .note-machine .item .imgcol img,
    .note-machine .item .imgcol iframe,
    .note-machine .item .imgcol video,
    .right-text-content .item .imgcol img,
    .right-text-content .item .imgcol iframe,
    .right-text-content .item .imgcol video,
    .left-text-content .item .imgcol img,
    .left-text-content .item .imgcol iframe,
    .left-text-content .item .imgcol video {
        height: 300px;
        max-height: 300px;
        min-height: 300px;
        width: 100%;
    }

    .imgcnt-slider .item .cntcol,
    .note-machine .item .cntcol,
    .right-text-content .item .cntcol,
    .left-text-content .item .cntcol,
    .imgcnt-grid .cntcol,
    .note-machine .item .cntcol,
    .imgcnt-slider .item .cntcol .btnwrp,
    .note-machine .item .cntcol .btnwrp,
    .right-text-content .item .cntcol .btnwrp,
    .right-text-content .item .cntcol.rtl,
    .left-text-content .item .cntcol.rtl,
    .left-text-content .item .cntcol .btnwrp {
        text-align: center;
    }

    .imgcnt-slider .item {
        flex-direction: column;
        gap: 10px;
    }

    .imgcnt-slider .item .imgcol,
    .imgcnt-slider .item .cntcol {
        width: 100%;
    }

    .imgcnt-slider .item .cntcol,
    .imgcnt-slider .item .cntcol .btnwrp {
        text-align: start;
    }

    .slide-cntinfo-wrap .imgcnt-slider {
        padding: 0 0px;
    }

    .imgcnt-slider .item .cntcol {
        padding: 15px 0;
    }

    .imgcnt-slider .owl-nav button {
        width: 30px;
        height: 30px;
    }

    .imgcnt-slider .owl-nav {
        top: unset;
        left: unset;
        transform: unset;
        bottom: 0;
        right: 0px;
        max-width: 80px;
        width: 20%;
    }

    .imgcnt-slider .owl-dots {
        width: 78%;
        margin-top: 20px;
    }

    .training-courses-section .list-wrap .item .info {
        text-align: center;
    }

    .right-text-content .item .imgcol .btnwrp,
    .left-text-content .item .imgcol .btnwrp {
        display: flex;
        justify-content: center;
    }

    .imgcnt-grid .cntcol,
    .left-text-content .item .cntcol {
        order: 2;
    }

    .three-imgcnt-grid {
        row-gap: 15px;
        grid-row-gap: 15px;
    }

    .navigation .main_menu .firstul>li.menu-item-has-children>a,
    .navigation .main_menu .firstul li a {
        padding-right: 30px;
        padding-left: 30px;
    }

    .navigation .main_menu .firstul>li.menu-item-has-children:after,
    .navigation .main_menu .firstul>li.menu-item-has-children:last-child:after {
        right: 35px;
    }

    .locations-tabination-section .item .item-content h5 {
        display: none;
    }

    .team-mem-section .list-wrap {
        gap: 20px;
    }

    .three-imgs-section .content .text h5 {
        margin-bottom: 0px;
    }

    .locations-tabination-section .tabs,
    .three-imgs-section .three-imgs-grid {
        margin-left: -8px;
        margin-right: -8px;
    }

    .locations-tabination-section .tabs .tab-link,
    .three-imgs-section .three-imgs-grid .content {
        padding-left: 8px;
        padding-right: 8px;
    }

    .three-imgs-section .content .text {
        padding: 10px;
    }

    .modal .visiting-form form .wpcf7-form-control-wrap {
        width: 100%;
    }

    .modal {
        padding: 30px;
    }

    .fablab-overview-section .fablab-overview .title::before {
        right: 50%;
    }

    .loadmore,
    .load-more,
    .load-more-events,
    .load-more-machine {
        margin-top: 30px;
    }

    .right-text-content .item .imgcol:has(.btnwrp .action-btn) .left-picture,
    .left-text-content .item .imgcol:has(.btnwrp .action-btn),
    .right-text-content .item .imgcol:has(.btnwrp a) .left-picture,
    .left-text-content .item .imgcol:has(.btnwrp a) .left-picture {
        margin-bottom: 15px;
    }

    .navigation .main_menu .firstul>li.menu-item-has-children .submenu-toggle {
        right: 36px;
    }

    .note-machine-wrap .item {
        gap: 20px;
    }

    .note-machine-wrap .item,
    .note-machine-wrap+.note-machine-wrap .item {
        flex-direction: column;
    }

    .note-machine-wrap .item .imgcol,
    .note-machine .item .cntcol {
        width: 100%;
    }

    .articles-section {
        padding: 10px 0 10px;
    }

    .articles-section .articles-wrap {
        flex-direction: column;
    }

    .articles-section .articles-slider-wrap,
    .articles-section .articles-content {
        width: 100%;
    }

    .articles-section .articles-slider .owl-nav {
        top: calc(100% + 15px);
        left: unset;
        right: 0;
        transform: unset;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 83px;
        --mid-head: 28px;
        --block-space: 60px;
    }

    p,
    body {
        font-size: 16px;
        line-height: 1.2;
    }

    .container,
    .container-sm {
        padding: 0 20px;
    }


    .top-header .top-header-wrap .top-header-right .login img {
        width: 18px;
        height: 22px;
    }

    .top-header .top-header-wrap .top-header-right {
        grid-column-gap: 15px;
    }

    .top-header-right .contact_link::after,
    .top-header-right .language-dropdown::after {
        right: -7px;
    }

    .banner-vid-cnt .banner-title,
    .flaw-eleg-sec .sec-title h3 {
        font-size: 36px;
    }

    .banner-vid-cnt .banner-video-dec p {
        font-size: 16px;
        line-height: 20px;
    }

    .banner-video-wrap video {
        height: 350px;
    }

    .ser-intro-grid {
        grid-template-columns: 1fr;
    }

    .ser-intro-grid {
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }

    .highlight-txt-wrp {
        padding: 30px;
    }

    .highlight-txt-wrp h3 {
        padding-left: 20px;
        line-height: 1.4;
        border-left-width: 5px;
        font-size: 22px;
    }

    .pro-grid-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .orient-center .ser-img-col {
        order: -1;
    }

    .item-box a {
        padding: 10px 10px;
    }

    .three-imgcnt-grid .three-img-grid {
        grid-template-columns: 1fr;
    }

    .three-imgcnt-grid .three-img-grid .imgwrp:last-child {
        grid-column: span 1;
    }

    .imgcnt-slider .item .imgcol img,
    .imgcnt-slider .item .imgcol iframe,
    .imgcnt-slider .item .imgcol video,
    .imgcnt-slider .item .imgcol iframe,
    .imgcnt-slider .item .imgcol video,
    .note-machine .item .imgcol img,
    .note-machine .item .imgcol iframe,
    .note-machine .item .imgcol video,
    .right-text-content .item .imgcol img,
    .right-text-content .item .imgcol iframe,
    .right-text-content .item .imgcol video,
    .left-text-content .item .imgcol img,
    .left-text-content .item .imgcol iframe,
    .left-text-content .item .imgcol video {
        height: 300px;
        max-height: 300px;
        min-height: 300px;
    }

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

    .modal {
        padding: 20px;
    }

    h2 {
        margin-bottom: 15px;
    }

    .single-image-section .img img {
        width: 100%;
    }

    .fablab-overview-section .fablab-overview .title::before {
        right: 30%;
    }

    .single-title .single-heading {
        padding: 10px 0;
    }

    .locations-tabination-section .item-title {
        padding: 5px 10px;
    }

    .right-text-content .item .imgcol .left-picture,
    .left-text-content .item .imgcol .left-picture {
        margin-bottom: 12px;
    }

    .three-img-cntwrap h3 {
        margin-bottom: 30px;
    }

    .team-mem-section .list-wrap,
    .training-courses-section .list-wrap,
    .all-machines-section .list-wrap,
    .training-courses-section .list-wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .single-title .left,
    .single-title .right {
        width: 90%;
    }

    .single-title:has(.left-heading)::before {
        right: 10%;
    }

    .single-title .single-heading.left-heading br,
    .single-title .left h4 br {
        display: none;
    }

    .single-title .heading {
        flex-direction: column;
        align-items: start;
    }

    .single-title .right {
        background: var(--yellow);
        padding-top: 20px;
    }

    .three-imgs-section .three-imgs-grid .content {
        width: calc(100% / 1);
        margin-bottom: 15px;
    }

    .three-imgs-section .three-imgs-grid .content:last-child {
        margin-bottom: 0;
    }

    .three-imgs-section .three-imgs-grid {
        flex-wrap: wrap;
    }

    .post-type-filter-block {
        margin-top: 0;
        width: 100%;
    }

    .training-filters-bar {
        padding-left: 0;
    }

    .je-resserve a {
        padding: 6px 12px;
        font-size: 18px;
    }

    .navigation .main_menu .firstul>li.menu-item-has-children .submenu-toggle {
        right: 26px;
    }

    .imgcnt-slider .item .imgcol img,
    .note-machine .item .imgcol img,
    .single-image-section img,
    .three-imgcnt-grid .three-img-grid img,
    .locations-tabination-section .locations-tabination .tabs .img img,
    .all-machines-section .list-wrap .img img,
    .training-courses-section .list-wrap .img,
    .right-text-content .item .imgcol .left-picture,
    .team-mem-section .list-wrap .item .mem-img img,
    .left-text-content .item .imgcol img,
    .three-imgs-section .three-imgs-grid .img img,
    .news-blog-post-section .inner-content-block img,
    .news-blog-post-section .inner-content-block iframe,
    .news-blog-post-section .inner-content-block video,
    .news-blog-post-section .inner-content-block .wp-video {
        border-radius: 20px;
    }

    .imgcnt-slider .owl-dots {
        margin-top: 20px;
    }

    .main-header .main-header-wrp .logo,
    .top-header .top-header-wrap .logo {
        max-width: 140px;
    }

    .top-header .top-header-language,
    .top-header-right .menu a,
    .top-header-right .contact_link {
        font-size: 16px;
    }

    .top-header-right .language-dropdown .lang-toggle {
        padding-right: 18px;
        font-size: 16px;
    }

    .top-header-right .language-dropdown .lang-menu li a {
        padding: 10px 12px;
        font-size: 14px;
    }

    .top-header-right .language-dropdown .lang-menu {
        /* width: 64px; */
        width: 145px;
    }

    .top-header-right .language-dropdown .current-check {
        font-size: 14px;
    }

    .top-header-right .language-dropdown .lang-toggle:after {
        width: 12px;
        height: 12px;
    }

    .top-header .top-header-wrap .top-header-right {
        flex-wrap: wrap;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .top-header .top-header-wrap .top-header-right {
        margin-right: 15px;
        row-gap: 5px;
    }

    .top-header-right .contact_link {
        padding-left: 24px;
    }

    .top-header-right .contact_link:before {
        width: 20px;
        height: 20px;
    }

    .navigation .main_menu .firstul>li.menu-item-has-children>a,
    .navigation .main_menu .firstul li a {
        padding-right: 20px;
        padding-left: 20px;
    }

    .navigation .main_menu .firstul li a {
        font-size: 16px;
    }

    .navigation .main_menu .firstul .sub-menu li a {
        font-size: 14px;
    }

    .navigation .main_menu .firstul li .sub-menu li a {
        padding-left: 40px;
    }

    footer .je-resserve {
        bottom: 40px;
    }

    .action-btn,
    .yellow-bg,
    .btnwrp a,
    .right-text-content .item .cntcol .btnwrp .action-btn,
    .left-text-content .item .cntcol .btnwrp .action-btn,
    .three-imgcnt-grid .cntcol .btnwrp .action-btn,
    .right-text-content .item .imgcol .btnwrp a,
    .left-text-content .item .imgcol .btnwrp a {
        padding: 12px 25px;
    }

    .cityfab-showcase {
        padding: 40px 0 30px;
        text-align: center;
    }

    .cityfab-showcase .cityfab-actions {
        flex-direction: column;
        width: 100%;
    }

    .cityfab-showcase .cityfab-location-links {
        width: 100%;
        justify-content: center;
    }

    .cityfab-showcase .cityfab-actions {
        gap: 20px;
        margin-top: 20px;
    }

    .cityfab-showcase .cityfab-showcase-image .btnwrp {
        display: block;
    }

    .cityfab-showcase .cityfab-actions .btnwrp {
        display: none;
    }

    .cityfab-showcase .cityfab-showcase-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    footer .social-section {
        margin-bottom: 20px;
        padding-top: 30px;
    }

    footer .cityfab-card h6 {
        margin-bottom: 10px;
        font-size: 20px;
    }

    footer {
        padding: 30px 0 0;
    }

    footer .social-icons {
        gap: 12px;
    }

    footer .social-icons a {
        width: 40px;
        height: 40px;
    }

    footer .card-info {
        gap: 5px;
    }

    footer .cityfab-card {
        padding: 15px;
        width: 100%;
    }

    footer .card-info a {
        font-size: 16px;
    }

    footer .footer-bottom {
        padding: 30px 0 110px;
    }

    footer .footer-bottom .bottom-wrap {
        justify-content: center;
        gap: 10px;
        flex-direction: column;
    }

    .mapswrapper {
        border-radius: 12px;
    }

    .single-news .news-blog-post-section {
        padding: 15px 0 10px;
    }

    .single-news .news-blog-post-section .inner-content-block img:not(.news-blog-post-section section img),
    .single-news .news-blog-post-section .inner-content-block iframe:not(.news-blog-post-section section iframe),
    .single-news .news-blog-post-section .inner-content-block video:not(.news-blog-post-section section video),
    .single-news .news-blog-post-section .inner-content-block .wp-video:not(.news-blog-post-section section .wp-video) {
        max-height: 260px;
        min-height: 260px;
    }

    .single-news .news-blog-post-section table th,
    .single-news .news-blog-post-section table td {
        padding: 8px;
    }

    .news-blog-post-section section {
        margin: 40px 0 30px;
    }
}

@media(max-width:576px) {
    .navigation .header-tools .header-search {
        margin-right: 10px;
    }

    .navigation .header-tools button img {
        margin-right: 8px;
    }
}

@media(max-width:480px) {
    .modal .visiting-form form label {
        margin-bottom: 5px;
        min-width: unset;
    }

    .modal .visiting-form form .wpcf7-form-control-wrap {
        margin-bottom: 20px;
    }

    .team-mem-section .list-wrap,
    .training-courses-section .list-wrap,
    .all-machines-section .list-wrap,
    .training-courses-section .list-wrap {
        grid-template-columns: repeat(1, 1fr);
    }

    .right-text-content .item .imgcol .left-picture img,
    .right-text-content .item .imgcol .left-picture video,
    .right-text-content .item .imgcol .left-picture iframe,
    .team-mem-section .list-wrap .item .mem-img img,
    .locations-tabination-section .locations-tabination .tabs .img img,
    .three-imgs-section .three-imgs-grid .img img,
    .single-image-section .img img,
    .single-image-section .img iframe,
    .right-text-content .item .imgcol iframe,
    .left-text-content .item .imgcol iframe {
        max-height: 330px;
        min-height: 330px;
    }

    .training-filters-bar .location-filter,
    .training-filters-bar .machine-filter,
    .training-filters-bar .date-filter {
        margin-top: 5px;
    }

    .training-courses-section .list-wrap .item .img::before {
        border-left: 70px solid var(--rosy-red);
        border-top: 70px solid transparent;
    }

    .training-courses-section .list-wrap .item.cityfab_1 .img::before {
        border-left: 70px solid var(--rosy-red);
        border-top: 70px solid transparent;
    }

    .training-courses-section .list-wrap .item.cityfab_2 .img::before {
        border-left: 70px solid var(--blue);
        border-top: 70px solid transparent;
    }

    .training-courses-section .list-wrap .item.cityfab_3 .img::before {
        border-left: 70px solid var(--yellow);
        border-top: 70px solid transparent;
    }
}

@media(max-width:390px) {

    .top-header .top-header-language,
    .top-header-right .menu a,
    .top-header-right .contact_link {
        font-size: 14px;
    }

    .top-header-right .language-dropdown .lang-toggle {
        padding-right: 18px;
        font-size: 14px;
    }

    .top-header-right .contact_link:before {
        width: 18px;
        height: 18px;
    }

    .top-header-right .contact_link {
        padding-left: 20px;
    }

    .top-header-right .language-dropdown .lang-menu {
        width: 130px;
    }
}