header .baner .button_toogle{
    display: none;
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 100;
}
header .baner .button_toogle::after,
header .baner .button_toogle::before{
    content: '';
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 2px;
    background-color: #625E56;
    transition-duration: 0.4s;
}
header .baner .button_toogle::before{
    top: auto;
    bottom: 0px;
}
header .baner .button_toogle span{
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #625E56;
    transition-duration: 0.4s;
}
header .baner .button_toogle.active span{
    opacity: 0;
}
header .baner .button_toogle.active::after{
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(-45deg);
}
header .baner .button_toogle.active::before{
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(45deg);
}

.mobile_menu_box .button_box{
    display: none;
}

header .mobile_wpml_box {
    display: none;
}

@media only screen and (max-width: 1400px) {
    .wrapper{
        max-width: 90%;
    }
}
@media only screen and (max-width: 1260px){
    header .baner .center_box ul{
        margin: 0px;
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 12px 0px;
    }
    .mobile_menu_box{
        position: absolute;
        left: 0px;
        top: 68px;
        background-color: #DFDCD5;
        transition-duration: 0.4s;
        transform: translateY(-200%);
        width: 100%;
        height: calc(100vh - 68px);
        overflow: auto;
    }
    header .scroll .baner .center_box ul:not(.sub-menu){
        top: 55px;
    }
    header .baner .button_toogle{
        display: block;
    }
    .mobile_menu_box .button_box{
        display: inline-flex;
        margin-bottom: 12px;
    }
    header .right_box{
        display: none;
    }

    header .baner .center_box ul .sub-menu{
        position: relative;
        display: flex;
        width: 100%;
        text-align: left;
    }
    header .baner .center_box ul .sub-menu li{
        border-bottom: 0px;
    }
    header .baner .center_box ul .menu-item.wpml-ls-item{
        display: none;
    }
    header .mobile_wpml_box {
        display: block;
    }
}

@media only screen and (max-width: 960px){
    .front_hero .category_box{
        grid-template-columns: repeat(2, 1fr);
    }
    .front_hero .bottom_box{
        flex-direction: column;
        align-items: flex-end;
    }
    .front_hero .outher_box .text_box{
        text-align: center;
        width: 100%;
    }
    #displayedImage{
        width: 200px;
        height: 200px;
        margin-top: 0px;
    }
    #displayedImage img{
        width: 200px;
    }
    .text_img_section .cols_box{
        flex-direction: column;
    }
    .text_img_section .cols_box>div{
        width: 100%;
    }
    .banner_section .cols_box{
        flex-direction: column-reverse;
    }
    .banner_section .cols_box>div.text_box{
        width: calc(100% - 96px - 96px);
    }
    .banner_section .cols_box>div.image_box{
        width: 100%;
        height: 400px;
    }
    .top_footer{
        flex-direction: column;
    }
    .top_footer>div{
        width: calc(100% - 48px - 48px);
    }
    .top_footer>div:first-child{
        padding-bottom: 0px;
    }
    .top_footer div.tnp-subscription, form.tnp-subscription, form.tnp-profile{
        max-width: 100%;
    }
    .midle_footer{
        flex-direction: column;
    }
    .midle_footer>div{
        width: 100%;
    }
    .midle_footer>div:first-child{
        margin-bottom: 48px;
    }
    .cols_section:not(.large_cols) .cols_box{
        flex-direction: column;
    }
    .cols_section:not(.large_cols) .single_col{
        width: 100%;
        max-width: 100%;
        margin-bottom: 24px;
    }
    .posts_section>div{
        flex-direction: column-reverse;
    }
    .posts_section .category_box{
        max-width: unset;
        min-width: unset;
        width: 100%;
    }
}

@media only screen and (max-width: 670px){
    h1,
    .hero_page_section h1{
        font-size: 42px;
    }
    p, li {
        font-size: 16px;
    }
    h2{
        font-size: 32px;
    }
    .review_section .logo_img{
        max-width: 100%;
    }
    .front_hero .category_box {
        grid-template-columns: repeat(1, 1fr);
    }
    .midle_footer .tel_button{
        font-size: 24px;
    }
    .midle_footer .contact_data_box{
        flex-direction: column;
    }
    .midle_footer .contact_data_box>p:first-child{
        margin-bottom: 12px;
    }
    .midle_footer .contact_data_box>p{
        width: 100%;
    }
    .bottom_footer{
        flex-direction: column;
    }
    .bottom_footer>div{
        width: 100%;
    }
    .bottom_footer .social_box{
        margin-bottom: 12px;
    }
    .bottom_footer .meta_box p{
        text-align: left;
    }
    .banner_section .cols_box>div.text_box{
        width: calc(100% - 24px - 24px);
        padding: 48px 24px;
    }
    .banner_section .cols_box>div.image_box{
        height: 300px;
    }
    .review_section .init_slider .inner_box{
        padding: 48px 24px;
    }
    #displayedImage{
        margin-top: 24px;
        margin-bottom: 24px;
    }
    .hero_page_section .hero_outher{
        padding: 48px 24px;
    }
    .cols_section.large_cols .cols_box{
        flex-direction: column;
    }
    .cols_section.large_cols .single_col{
        width: 100%;
        max-width: 100%;
    }
    .form_section .cf7-cols{
        flex-direction: column;
    }
    .form_section .cf7-cols>div{
        width: 100%;
    }
    .form_section .wpcf7-list-item>label{
        font-size: 14px;
    }
    .form_section .buttons{
        align-items: center;
    }
    .cols_section p.small a{
        font-size: 16px;
    }
    .cols_section .sub_cols_box{
        flex-direction: column;
    }
    .cols_section .sub_cols_box>p{
        margin-right: 0px;
    }
    .gallery_mega .item{
        width: calc(100% / 2 - 24px);
    }
    .gallery_mega .item img{
        height: 184px;
    }
    .gallery_mega .item:nth-child(1) img, .gallery_mega .item:nth-child(4) img {
        height: 254px;
    }
    .posts_section .loop_box{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 450px){
    .posts_section .loop_box{
        grid-template-columns: repeat(1, 1fr);
    }
    .paginate_box{
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 48px;
    }
    .count_posts_box{
        margin-bottom: 24px;
    }
}