@media screen and (max-width: 991px) {

    /* Header */
    .header_wrap .logo_wrap img{
        height: 52px;
        width: auto;
    }

    .header_wrap{
        position: relative;
        padding: 8px 0px;
    }

    .header_wrap .middle_wrap{
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        min-height: 100%;
        background: #F5F3F8;
        z-index: 99;
        padding: 10px 12px;
        display: none;
    }

    body.mob-menu-open .header_wrap .middle_wrap{
        display: block;
    }

    .header_wrap .menu_header_wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .menu_header_wrap .menu_switcher span {
        background-image: url('../images/menu_ham_close.png');
        background-position: center;
    }

    .mob_content_wrap {
        padding: 40px 0px;
    }

    .main_nav_menu .nav-menu{
        flex-direction: column;
    }

    .main_nav_menu > ul > li > a {
        display: inline-block;
        width: 100%;
        text-align: left;
    }

    .main_nav_menu > ul > li.has-children > a::after {
        transform: rotate(-90deg);
        background-size: 20px;
        background-repeat: no-repeat;
    }

    .menu_switcher span{
        background-image: url('../images/menu_ham.png');
        display: inline-block;
        width: 32px;
        height: 32px;
        background-repeat: no-repeat;
        cursor: pointer;
    }

    .main_nav_menu li.m_menu_active .mega-menu {
        display: block;
        background-color: #ECE8F1;
        height: calc(100vh - 70px);
        top: 70px;
    }

    .main_nav_menu .mega-menu .mega-inner {
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: space-between;
        overflow-y: auto;;
    }

    .main_nav_menu .mega-menu .mega-inner .left_wrap {
        background-color: #ECE8F1;
        padding: 0;
        height: auto;
    }

    .main_nav_menu .sub-menu .has-children::after {
        background-image: url('../images/mob_menu_bck.svg');
        background-repeat: no-repeat;
        transform: rotate(180deg);
    }

    .main_nav_menu .second_layer_wrap {
        padding: 0;
    }

    .main_nav_menu li.m_menu_active .mega-menu::before {
        display: none;
    }

    .main_nav_menu .mega-menu ul.depth-0 li:first-child {
        display: none;
    }

    .main_nav_menu .mob_back_btn {
        margin-left: -12px;
        margin-right: -12px;
        background-color: #F5F3F8;
        padding: 14px 12px 10px 12px;
        font-weight: 600;
        background-image: url(../images/mob_menu_bck.svg);
        background-position: 12px center;
        background-repeat: no-repeat;
        background-size: 8px;
        padding-left: 34px;
    }

    .main_nav_menu .mega-menu ul.sub-menu .mob_back_btn a{
        font-weight: 600;
    }

    .main_nav_menu .mega-menu ul.sub-menu .mob_title a { 
        font-weight: 700;
    }

    .main_nav_menu .mega-menu .mega-highlight {
        padding-bottom: 16px;
    }

    .main_nav_menu .highlight-box {
        min-height: auto;
        width: 100%;
    }

    .main_nav_menu .highlight-box .sub_title {
        font-size: 14px;
        padding-bottom: 8px;
    }

    .main_nav_menu .highlight-box .bottom a{
        margin-top: 32px;
    }

    .mob_lang_switch {
        padding-top: 24px;
        margin-top: 40px;
        border-top: 1px solid #301A4A;
    }

    .mob_lang_switch .language-switcher {
        display: inline-block;
    }

    /* .main_nav_menu .mega-menu .active_smenu .submenu-wrapper {
        display: block;
        
    } */

    .main_nav_menu .mega-menu .mega-inner.second-level-active .left_wrap {
        display: none;
    }

    .main_nav_menu .mega-menu .mega-inner.second-level-active .left_wrap {
        display: none;
    }

    .main_nav_menu .plain_menu .mega-menu ul.depth-0 li:nth-child(12),
    .main_nav_menu .plain_menu .mega-menu ul.depth-0 li:nth-child(20){
        margin-top: 0px;
    }

    /* Woocommerce product archive */
    .woocommerce .products ul, .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-wrapper {
        margin-top: 16px;
    }

    .section_product_catalog .product-filters {
        padding: 16px 0 0;
        display: none;
    }

    .section_product_catalog .product-filters .visible-filters {
        display: block;
    }

    .section_product_catalog .product-filters .visible-filters > div {
        display: block;
    }

    .section_product_catalog .product-filters .more-filters {
        display: none;
    }

    .section_product_catalog .hidden-filters {
        display: block;
        opacity: 1;
        max-height: none;
        visibility: visible;
        margin-top: 0;
    }

    .section_product_catalog .product-filters .filter-wrapper {
        margin-right: 0;
    }

    .section_product_catalog .product-filters select {
        width: 100%;
        margin-bottom: 8px;
    }

    .mobile-filter {
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: solid 1px #301A4A;
        border-radius: 8px;
        padding: 8px 16px;
    }

    .mobile-filter::after {
        content: '';
        width: 16px;
        height: 16px;
        background: url("../images/filter-icon.svg") no-repeat center center;
    }

    .mobile-filter.active + form {
        display: block;
    }

    .section_product_catalog .woocommerce-top .title {
        font-size: 24px;
        line-height: 1.4;
    }

    .product-terms.full {
        padding: 0;
    }

    .product-advert {
        margin-top: 24px;
        padding: 16px 24px 8px;
    }

    .product-advert .title {
        font-size: 21px;
        line-height: 1.4;
    }

    .product-advert .advert-bottom a {
        margin-bottom: 8px;
    }

    /* Single Woocommerce product */
    .desktop-wrapper {
        display: none;
    }

    .mobile-wrapper {
        display: block;
    }

    .woocommerce div.product .product_title {
        font-size: 28px;
        line-height: 1.3;
        margin: 8px 0 16px;
    }

    .product-top-container {
        padding: 0 16px;
        grid-template-columns: 1fr;
    }

    .product-top-container .product-gallery, .remade-product-swiper {
        padding-bottom: 56px;
    }

    .product-top-container .product-gallery .swiper-slide {
        padding: 0;
    }

    .remade-product-swiper .swiper-button-next, .remade-product-swiper .swiper-button-prev {
        top: auto;
        bottom: 0;
        z-index: 11;
    }

    .remade-product-swiper .swiper-button-next::after, .remade-product-swiper .swiper-button-prev::after {
        font-size: 20px;
    }

    section.product-documents {
        margin-top: 0;
        padding: 24px 0;
    }

    section.product-documents .title {
        font-size: 21px;
        line-height: 1.3;
        margin-bottom: 24px;
    }

    section.other-products {
        padding: 24px 0;
    }

    section.other-products .content {
        padding: 24px;
    }

    section.other-products .text {
        font-size: 21px;
        margin-bottom: 24px;
    }

    section.other-products a {
        position: relative;
        right: 0;
        display: inline-block;
    }

    section.up-sells, section.related {
        text-align: left;
        padding: 24px 0;
    }

    section.up-sells .title, section.related .title {
        font-size: 24px;
        margin-bottom: 16px;
        line-height: 1.4;
    }

    /* Block News Archive */
    section.news-archive .news {
        margin-top: 24px;
    }

    .news-filter__text {
        display: none;
    }

    .news-filter__form {
        display: none;
    }

    .news-filter__form > * {
        display: block;
    }

    .news-filter__form .filter-wrapper {
        margin-right: 0;
    }

    .news-filter__form select {
        width: 100%;
        margin-bottom: 8px;
    }

    section.news-archive .news__highlighted, section.news-archive .news__items {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Single news */
    .single-hero {
        padding: 80px 24px;
        margin: 24px 0;
    }

    .single-hero .title {
        font-size: 28px;
    }

    .single-hero .category {
        font-size: 20px;
    }
}
@media screen and (max-width: 768px) {

    h1,.h1 {
        font-family: "Poppins", sans-serif;
        font-weight: 600;
        font-size: 28px;
        line-height: 36.4px;
        letter-spacing: 0%;
    }

    h2,.h2 {
        font-family: "Poppins", sans-serif;
        font-weight: 600;
        font-size: 24px;
        line-height: 33.6px;
        letter-spacing: 0%;
    }

    h3,.h3 {
        font-family: "Poppins", sans-serif;
        font-weight: 600;
        font-size: 21px;
        line-height: 27.3px;
        letter-spacing: 0%;
    }

    h4,.h4 {
        font-family: "Poppins", sans-serif;
        font-weight: 600;
        font-size: 18px;
        line-height: 25.2px;
        letter-spacing: 0%;
    }

    /* Woocommerce product archive */
    .woocommerce .products ul, .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .product-advert {
        grid-column: unset;
    }

    /* Block News Archive */
    section.news-archive .news__highlighted, section.news-archive .news__items {
        grid-template-columns: 1fr;
    }

    .section_hero_main_banner .items_row{
        flex-direction: column-reverse;
        padding: 16px 0;
        gap: 10px;
    }

    .section_hero_main_banner .sut_image{
        padding-top: 79%;
    }

    .section_hero_main_banner .homeSwipper .sut_title{
        font-size: 14px;
        font-weight: 400;
    }

    .section_hero_main_banner .swiper-slide{
        padding: 16px 16px 88px;
    }

    .swiper_navcustom{
        bottom: 16px;
        left: 16px;
    }

    .section_hero_main_banner {
        padding-bottom: 16px;
    }

    .section_three_col_grid {
        padding: 24px 0px;
    }

    .section_three_col_grid .threeColSwipper .swiper-wrapper{
        margin-bottom: 26px;
    }

    .section_three_col_grid .mob_link{
        text-align: center;
        padding-top: 16px;
    }

    .section_three_col_grid .top_wrap{
        padding-bottom: 12px;
        margin-bottom: 0px;
        text-align: center;
        justify-content: center;
    }
    
    .section_logo_swipper .swiper-slide img{
        max-height: 40px;
    }

    .section_logo_swipper{
        padding: 30px 0px 10px;
    }

    .section_logo_swipper .swiper-wrapper{
        margin-bottom: 30px;
    }

    .section_logo_swipper .swiper_navcustom_center{
        padding: 0px 12px;
    }

    .section_logo_swipper .swiper-button-prev{
        left: 12px;
    }

    .section_logo_swipper .swiper-button-next{
        right: 12px;
    }

    .section_block_banner_with_bg{
        padding: 24px 0px;
    }

    .section_block_banner_with_bg .banner_wrap{
        padding: 21px 25px;
    }

    .section_block_banner_with_bg .content_wrap .text{
        font-size: 16px;
    }

    .section_block_banner_with_bg .remade_btn{
        width: 100%;
        text-align: center;
        padding: 12px 16px;
    }

    .section_custom_grid{
        padding: 40px 0px;
    }

    .section_custom_grid .top_wrap .text{
        font-size: 18px;
    }

    .section_custom_grid .bottom_wrap{
        padding-top: 16px;
        flex-direction: column;
        gap: 24px;
    }

    .section_custom_grid .each_card .card_content{
        min-height: auto;
        padding-bottom: 26px;
    }

    .section_custom_grid .bottom_wrap .each_card{
        width: 100%;
        padding: 16px 24px;
    }

    .section_block_banner_with_bg.layout_small_banner .banner_wrap{
        display: flex;
        flex-direction: column;
        padding: 24px 24px 0px;
    }

    .section_block_banner_with_bg.layout_small_banner .content_wrap{
        padding-bottom: 16px;
    }

    .section_block_banner_with_bg.layout_small_banner .action_wrap{
        width: 100%;
        padding: 32px 0px;
    }

    .footer_wrap{
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    footer{
        padding-top: 16px;
    }

    .site-footer #menu-footer-menu{
        flex-direction: column;
        gap: 32px;
    }

    .footer_wrap .social_wrap li a span{
        width: 32px;
        height: 32px;
    }

    .footer_wrap .social_wrap ul{
        gap: 40px;
    }

    footer .footer_bottom #menu-bottom-menu{
        gap: 10px;
        justify-content: space-between;
        padding-bottom: 32px;
    }

    .footer_bottom_text .footer-text{
        text-align: left;
        padding-top: 8px;
    }

    .section_hero_inner {
        padding: 24px 0px;
    }

    .section_hero_inner .inner_hero_row {
        flex-direction: column-reverse;
        gap: 16px;
    }

    .section_hero_inner .right_wrap{
        min-height: 206px;
    }

    .section_hero_inner .left_wrap .content_wrap {
        padding: 40px 24px;
    }

    .section_accordion_with_image{
        padding: 24px 0px;
    }

    .custom_accordion .accordion-header .accordion-button{
        padding: 24px 24px 16px;
    }

    .custom_accordion .accordion-body{
        padding: 0px 24px 24px;
    }
    
    .section_accordion_with_image .right_wrap .img_wrap{
        height: auto;
        min-height: 256px;
    }

    .section_left_content_right_grid{
        padding: 24px 0px;
    }
    
    .section_left_content_right_grid .right_wrap{
        padding-top: 16px;
    }

    .section_left_content_right_grid .grid_outer .grid_item{
        width: 100%;
    }

    .section_left_content_right_grid .grid_outer{
        gap: 16px;
        padding-bottom: 0;
    }

    .section_timeline {
        padding: 24px 0px 8px;
    }

    .section_timeline .left_wrap {
        padding-right: 0;
    }
    
    .section_timeline .top_wrap {
        padding-bottom: 12px;
    }

    .section_timeline .right_cflex {
        display: flex;
        justify-content: end;
    }

    .section_timeline .right_cflex .right_wrap {
        max-width: calc(100% - 40px);
    }

    .section_chessboard .section_heading{
        padding: 8px 0px;
    }

    .section_chessboard .chessboard_item {
        flex-direction: column;
        padding: 0px;
    }

    .section_chessboard .chessboard_item .content_wrap, 
    .section_chessboard .chessboard_item .image_wrap {
        width: 100%;
        padding: 32px 0px 8px;
    }

    .section_chessboard .chessboard_item .text{
        padding-top: 24px;
    }

    .section_chessboard .chessboard_item .image_wrap{
        min-height: 256px;
    }

    .section_chessboard .chessboard_item:nth-child(even){
        flex-direction: column;
    }

    .section_left_content_right_grid.layout_normal_grid .grid_outer .grid_item {
        padding: 24px;
    }

    .section_left_content_right_grid.layout_normal_grid .grid_outer {
        gap: 24px;
    }

    .section_downloads_links{
        padding: 32px 0px 24px;
    }

    .section_three_col_with_icon {
        padding: 24px 0px 8px;
    }

    .section_three_col_with_icon .custom_sub_title {
        padding: 0px 0px 16px;
    }

    .section_three_col_with_icon .card_wrap{
        padding-bottom: 16px;
    }

    .section_accordion_faq{
        padding: 24px 0px;
    }

    .section_accordion_faq .custom_accordion_faq{
        padding-top: 12px;
    }

    .section_title_right_content .top_wrap{
        padding-bottom: 24px;
    }

    .post_grid_wrapper .post_card{
        width: 100%;
    }

    .post_grid_wrapper .post_card.type_2{
        width: 100%;
    }

    .post_card.type_2{
        padding: 16px 24px;
    }

    .section_post_grid_with_image{
        padding: 10px 0px;
    }

    .section_accordion_left_content .custom_accordion{
        padding-top: 30px;
    }

    .section_block_banner_with_bg .action_wrap .secondary{
        margin-left: 0;
        margin-top: 16px;
    }

    .section_chessboard{
        padding-bottom: 24px;
    }

    .section_certificator_listing .tab_content .text{
        text-align: center;
    }

    .certificator_filter_wrap .fiter_group{
        display: none;
        position: fixed;
        top: 0;
        background-color: #ffffff;
        width: 100%;
        height: 100vh;
        left: 0;
        flex-direction: column-reverse;
        justify-content: flex-end;
        gap: 0;
        padding: 10px 12px;
    }

    .certificator_filter_wrap .fiter_group.mob_active {
        display: flex;
    }

    .certificator_filter_wrap .fiter_group .filter_content {
        display: none;
    }

    .certificator_filter_wrap .fiter_group .left_wrap {
        display: flex;
        flex-direction: column;
        gap: 21px;
    }

    .certificator_filter_wrap .fiter_group .right_wrap {
        display: flex;
        flex-direction: column;
    }

    .certificator_filter_wrap .fiter_group .right_wrap .each_filter {
        width: 100%;
    }

    .certificator_filter_wrap .each_filter.mob_active .filter_content {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #ffffff;
        z-index: 1;
    }

    .certificator_filter_wrap .filter .filter_options {
        display: block;
        border: 0;
        box-shadow: none;
    }

    .certificator_filter_wrap .filter_options label {
        border: 0;
    }

    .certificator_filter_wrap .drop_select_default {
        display: none;
    }

    .certificator_filter_wrap .filter_header{
        display: flex;
        font-size: 18px;
        line-height: 25.2px;
        font-weight: 600;
        font-family: poppins;
        justify-content: space-between;
        margin-bottom: 8px;
    }

    .certificator_filter_wrap .filter_content .filter_header {
        padding: 10px 12px 0;
    }

    .certificator_filter_wrap .filter_content .filter_back {
        padding: 0px 12px 0px 42px;
        font-family: poppins;
        font-size: 16px;
        font-weight: 600;
        position: relative;
    }

   .certificator_filter_wrap .filter_val_mob{
        font-size: 14px;
        font-weight: 400;
   }

    .certificator_filter_wrap .filter_content .filter_back::before {
        content: '';
        width: 24px;
        height: 24px;
        background-image: url(../images/icon_sright.png);
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        left: 12px;
        top: calc(50% - 13px);
        background-size: 8px;
        transform: rotate(180deg);
    }

    .certificator_filter_wrap .filter_header .icon_close {
        display: inline-block;
        width: 32px;
        height: 32px;
        background-image: url(../images/icons/menu_close.png);
        background-repeat: no-repeat;
        background-position: center;
    }

    .certificator_filter_wrap .fiter_group .right_wrap .each_filter .filter_title {
        padding-bottom: 21px;
    }

    .certificator_filter_wrap .fiter_group .right_wrap .each_filter .filter_title,
    .certificator_filter_wrap .fiter_group .left_wrap .each_filter .filter_title {
        font-size: 16px;
        font-weight: 700;
        position: relative;
    }

    .certificator_filter_wrap .fiter_group .right_wrap .each_filter .filter_title::after,
    .certificator_filter_wrap .fiter_group .left_wrap .each_filter .filter_title::after {
        content: '';
        width: 24px;
        height: 24px;
        background-image: url(../images/icon_sright.png);
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        right: 0;
        top: calc(50% - 20px);
        background-size: 8px;
    }


    .certificator_filter_wrap .filter_trigger_mob_wrap{
        display: block;
    }

    .certificator_table thead{
        display: none;
    }

    .certificator_table tr{
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 16px;
        border: 1px solid #301A4A;
        border-radius: var(--border-radius-md);
        overflow: hidden;
        padding: 16px 16px 16px;
    }

    .certificator_table tr td{
        width: 50%;
        padding: 8px 0px;
        word-wrap: break-word;
    }

    .certificator_table tr td::before{
        content: attr(data-label);
        display: block;
        font-weight: 700;
        line-height: 25px;
    }

    .certificator_table tr td:nth-child(2),
    .certificator_table tr td:nth-child(3) {
        border-bottom: 1px solid #301A4A;
        border-top: 1px solid #301A4A;
    }

    .certificator_table tr td:nth-child(2),
    .certificator_table tr td:nth-child(4) {
        padding-right: 4px;
    }

    .certificator_table tr td:nth-child(3),
    .certificator_table tr td:nth-child(5) {
        padding-left: 4px;
    }

    .certificator_table tr td:nth-child(1){
        width: 100%;
        font-size: 18px;
        padding: 8px 0px;
        font-weight: 700;
        line-height: 23.4px;
    }

    .certificator_table tr td:nth-child(1)::before{
        display: none;
    }


    

    .custom_form_wrap .custom_selection .frm_opt_container .frm_checkbox{
        width: calc(50% - 8px);
    }

    .page404_wrap .title404{
        font-size: 160px;
        line-height: 1;
        padding-bottom: 32px;
    }

    .page404_wrap .button_wrap{
        padding: 32px 16px;
    }

    .section_contact_with_map .content_wrap {
        display: flex;
        flex-direction: column;
    }

    .section_contact_with_map .left_wrap {
        width: 100%;
        padding-right: 0;
        margin-bottom: 24px;
    }

    .section_contact_with_map .right_wrap {
        width: 100%;
    }

    .section_certificator_listing.listing_section_authority .listing_wrap .each_item_wrap {
        width: 100%;
    }

    .section_block_with_subtitle_title_and_text .bottom_wrap {
        flex-direction: column;
    }

    .block_three_col_soci_grid .soci_wrap .each_item {
        width: 100%;
    }

    .aziende_certificator_listing .certificator_table .remade_download_btn {
        max-width: 100%;
        white-space: nowrap;
    }


}
@media screen and (max-width:576px){

}

@media screen and (min-width:992px){
    .mob_menu_header{
        display: none;
    }

    .main_nav_menu .mob_back_btn,
    .main_nav_menu .mob_title{
        display: none;
    }

    .main_nav_menu .second_layer_wrap .mob_title{
        display: block;
        font-weight: 700;
    }

    .mob_menu_header {
        display: none;
    }

    .main_nav_menu .second_layer_wrap ul.sub-menu {
        max-height: 500px;
        overflow-y: auto;
        flex-wrap: nowrap;
        padding-right: 16px;
    }
}

@media screen and (min-width:768px){
    .section_two_col_desk_mob_slide .swiper-wrapper{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
        pointer-events: none;
        transform: translate3d(0,0,0) !important;
    }

    .section_two_col_desk_mob_slide .swiper-wrapper .swiper-slide{
        width: calc(50% - 12px) !important;
    }

    .certificator_table {
        table-layout: auto;
    }

    .mob_only {
        display: none;
    }

    .logoSwipper .swiper-wrapper {
        /* Critical for continuous scroll! Overrides the default 'ease' transition. */
        transition-timing-function: linear !important;
    }
}