@media (max-width:1399px) {
    .services_box .services_text:before {
        top: -155px;
        height: 163px;
    }

    .video_right ul li {
        font-size: 16px;
        line-height: 25px;
    }

    .banner_slide .banner_text h1 {
        font-size: 46px;
        line-height: 56px;
    }

    .title h2 {
        font-size: 36px;
        line-height: 45px;
    }

    .about_left {
        max-width: 565px;
        padding-right: 30px;
    }

    .contact_left {
        max-width: 560px;
    }

    .inner_banner h1 {
        font-size: 42px;
        line-height: 58px;
    }

    .team_member_box .member_detail h6 {
        font-size: 18px;
        line-height: 28px;
    }

    .team_member_box .member_detail h6 span {
        font-size: 14px;
    }

    .team_member_box .member_detail {
        padding: 20px;
    }
}


@media (max-width:1199px) {
    ul.navbar-nav .nav-item .nav-link {
        padding: 0 20px;
        font-size: 14px;
        line-height: 22px;
    }

    .logo_part {
        padding: 15px 0;
    }

    .about_left {
        padding-right: 20px;
        max-width: 470px;
    }

    .py_100 {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .pt_100 {
        padding-top: 60px;
    }

    .services_box .services_text:before {
        top: -129px;
        height: 129px;
    }

    p {
        font-size: 15px;
        line-height: 22px;
    }

    .title.center {
        margin: 0 0 30px;
    }

    .banner_slide .banner_text h1 {
        font-size: 42px;
        line-height: 52px;
    }

    .btn_primary,
    .btn_light,
    .btn_secondary {
        font-size: 16px;
        line-height: 25px;
    }

    .services_box .services_text p {
        height: 90px;
    }

    .product_category_img {
        height: 190px;
    }

    .video_right ul li {
        font-size: 13px;
        line-height: 22px;
    }

    h5 {
        font-size: 20px;
        line-height: 32px;
    }

    .title h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .fabrics_type_wrap .row .col-md-6:nth-child(5n+1) .fabrics_img,
    .fabrics_type_wrap .row .col-md-6:nth-child(5n+2) .fabrics_img {
        height: 250px;
    }

    .fabrics_type_box .fabrics_img {
        height: 320px;
    }

    .contact_left {
        max-width: 470px;
    }

    .contact_map iframe {
        height: 400px;
    }

    .address_box {
        flex-wrap: wrap;
    }

    .address_box .icon {
        width: 100%;
        margin: 0 0 10px;
    }

    .address_box .address_text {
        width: 100%;
        padding-right: 0;
    }

    .footer_link ul li a img {
        margin-right: 2px;
    }

    .footer_link ul li a {
        font-size: 14px;
    }

    .product_gallery .product_main {
        width: calc(100% - 210px);
        height: 430px;
    }

    .product_gallery .product_main .swiper-slide img {
        height: 430px;
    }

    .product_gallery .product_thumb .swiper-slide img {
        height: 100px;
    }

    .product_gallery .product_thumb {
        width: 180px;
        height: 430px;
    }

    .blog_detail_img img {
        height: 470px;
    }

}

@media (max-width:991px) {
    .logo_part ul {
        display: none;
    }

    .navbar-light .navbar-toggler {
        color: transparent;
        border-color: transparent;
        border: 0;
        outline: 0;
        box-shadow: none;
    }

    .navbar-collapse {
        position: absolute;
        top: 58px;
        left: 0;
        z-index: 99;
        background: #fff;
        width: 100%;
        border-top: 1px solid #ddd;
    }

    ul.navbar-nav .nav-item .nav-link {
        padding: 9px 30px;
        font-size: 15px;
        line-height: 24px;
        font-weight: 500;
    }

    header {
        padding: 20px 0;
    }

    .logo_part {
        border-bottom: 0;
        padding: 0;
    }

    .logo {
        width: 200px;
        margin: 0 auto -40px;
        text-align: center;
    }

    .menu_wrapper .navbar {
        padding: 0;
    }

    .menu_wrapper .dropdown-menu {
        padding: 5px 27px;
        box-shadow: none;
    }

    .banner_slide .banner_img img {
        min-height: 530px;
        object-fit: cover;
    }

    .banner_slider .swiper-button-next {
        right: 15px;
    }

    .banner_slider .swiper-button-prev {
        left: 15px;
    }

    .about_left {
        max-width: 720px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .about_img {
        text-align: center;
    }

    .services_box .services_text:before {
        top: -94px;
        height: 94px;
    }

    .services_box .services_img {
        height: 150px;
    }

    .services_box .services_text {
        padding: 0 15px 20px;
    }

    p {
        font-size: 14px;
        line-height: 20px;
    }

    h6 {
        font-size: 17px;
        line-height: 26px;
    }

    h5 {
        font-size: 18px;
        line-height: 30px;
    }

    .services_box .services_text p {
        height: 77px;
    }

    .title h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .thumbnail_img {
        height: 400px;
        margin: 0 0 20px;
    }

    .fabrics_type_box .fabrics_text {
        padding: 15px;
    }

    .fabrics_type_box .fabrics_img {
        height: 260px;
    }

    .testimonial_slider {
        padding-bottom: 65px;
    }

    .testimonial_slider_wrap .swiper-button-prev {
        left: 46%;
    }

    .testimonial_slider_wrap .swiper-button-next {
        left: 54%;
    }

    .contact_left {
        max-width: 720px;
        margin: 0 auto;
        padding: 20px 15px 60px;
    }

    .address_box .address_text {
        border: 0;
    }

    .product_wrapper .filters ul {
        display: flex;
        justify-content: flex-start;
    }

    .product_wrapper .filters {
        text-align: center;
        overflow: auto;
        padding-bottom: 10px;
        margin-top: 20px;
    }

    .product_wrapper .filters ul li {
        padding: 8px 15px;
        font-size: 15px;
        line-height: 25px;
        white-space: nowrap;
    }

    .product_wrapper .filters-content {
        margin-top: 20px;
    }

    .video_inner .thumbnail_img {
        height: 240px;
    }

    .video_box .play_btn_wrap .play_btn {
        width: 75px;
        height: 75px;
        font-size: 13px;
        line-height: 22px;
    }

    .blog_detail_img img {
        height: 320px;
    }

    h2 {
        font-size: 30px;
        line-height: 42px;
    }
}

@media (max-width:767px) {
    .about_left {
        max-width: 540px;
    }

    .banner_slide .banner_text {
        padding: 0 15px;
    }

    .services_box .services_img {
        height: 230px;
    }

    .services_box .services_text:before {
        top: -225px;
        height: 225px;
    }

    .services_box .services_img {
        height: 270px;
    }

    .fabrics_type_wrap .row .col-md-6:nth-child(5n+1),
    .fabrics_type_wrap .row .col-md-6:nth-child(5n+2) {
        width: 100%;
    }

    .fabrics_type_wrap .row .col-md-6 {
        width: 100%;
    }

    .fabrics_type_wrap .row .col-md-6:nth-child(5n+1) .fabrics_img,
    .fabrics_type_wrap .row .col-md-6:nth-child(5n+2) .fabrics_img,
    .fabrics_type_box .fabrics_img {
        height: 260px;
    }

    .contact_left {
        max-width: 540px;
    }

    .footer_right h2 {
        font-size: 26px;
        line-height: 36px;
        margin: 20px 0 10px;
    }

    .product_gallery .product_main {
        width: 100%;
        height: 430px;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .product_gallery .product_main .swiper-slide img {
        height: 430px;
    }

    .product_gallery .product_thumb {
        width: 100%;
        height: 100px;
    }

    .product_thumb .swiper-button-next,
    .product_thumb .swiper-button-prev {
        display: none;
    }

    h2 {
        font-size: 26px;
        line-height: 40px;
    }

    .team_member_box .member_detail p {
        height: auto;
    }

    .blog_detail_img .date p {
        font-size: 15px;
        line-height: 26px;
    }

    .blog_detail_img .date {
        bottom: 25px;
        padding: 10px 25px;
    }

    .contact_form .form-control {
        padding: 15px 20px;
    }

    .radio_button_wrap label span {
        font-size: 15px;
        line-height: 27px;
        padding: 12px 10px;
    }

}

@media (max-width:575px) {
    .about_left {
        max-width: 100%;
        padding: 0 15px;
    }

    .py_100 {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .banner_slide .banner_text h1 {
        font-size: 32px;
        line-height: 42px;
        margin: 0 0 30px;
    }

    .banner_slide .banner_text p {
        font-size: 16px;
        line-height: 26px;
    }

    .banner_slide .banner_img img {
        min-height: 400px;
    }
.top-main-block a { font-size:14px;}
header { padding: 0px 0 0;}
.menu_wrapper {     margin-top: -8px;
    margin-bottom: 8px;}
.logo { padding:12px 0;}
    .contact_left {
        max-width: 100%;
        padding: 20px 15px 40px;
    }

    .services_box {
        max-width: 360px;
        margin: 0 auto;
    }

    .services_box .services_text:before {
        top: -155px;
        height: 155px;
    }

    .services_box .services_img {
        height: 210px;
    }
}

@media (max-width:481px) {
    .product_category_img {
        height: 160px;
    }

    .product_category_box .product_title {
        padding: 10px;
    }

    .banner_slider .swiper-button-next,
    .banner_slider .swiper-button-prev {
        display: none;
    }

    .banner_slider .swiper-pagination {
        display: block;
    }

    .swiper-pagination-clickable .swiper-pagination-bullet {
        opacity: 1;
        background: #fff;
    }

    .swiper-pagination-clickable .swiper-pagination-bullet-active {
        background: var(--primary);
    }

    .banner_slide .banner_text ul {
        flex-wrap: wrap;
    }

    .banner_slide .banner_text ul li {
        padding: 5px 15px;
    }

    .footer_logo_wrap {
        padding-bottom: 20px;
    }

    .footer_menu {
        padding: 40px 0;
    }

    .testimonial_slider_wrap .swiper-button-next {
        left: 56%;
    }

    .testimonial_slider_wrap .swiper-button-prev {
        left: 44%;
    }

    .vision_box {
        padding: 15px;
    }

    .inner_banner h1 {
        font-size: 34px;
        line-height: 48px;
    }

    .inner_banner p {
        font-size: 17px;
        line-height: 24px;
        margin: 0 0 5px;
    }

    .inner_banner {
        padding: 50px 0;
    }

    .footer_right h2 {
        font-size: 20px;
        line-height: 30px;
    }

    .newsletter_wrap h5 {
        font-size: 20px;
        line-height: 30px;
        margin: 0 0 10px;
    }

    .newsletter_wrap {
        padding-right: 0;
    }

    .product_gallery .product_thumb .swiper-slide img {
        height: 50px;
    }

    .product_gallery .product_thumb {
        width: 100%;
        height: 50px;
    }

    .product_gallery {
        margin: 0 0 20px;
    }

    h2 {
        font-size: 24px;
        line-height: 34px;
    }

    .product_gallery .product_main .swiper-slide img,
    .product_gallery .product_main {
        height: 270px;
    }

    .radio_button_wrap {
        flex-wrap: wrap;
    }

    .radio_button_wrap label {
        width: 100%;
    }

    .radio_button_wrap label:nth-child(2) {
        border-top: 1px solid rgba(31, 26, 23, 0.3);
        border-bottom: 1px solid rgba(31, 26, 23, 0.3);
        border-left: 0;
        border-right: 0;
    }
}

@media (max-width:401px) {
    .cart_menu_wrap ul li {
        padding-left: 10px;
    }

    .logo {
        width: 150px;
        margin: 0 auto -50px;
    }

    header {
        padding: 10px 0;
    }

    .navbar-light .navbar-toggler {
        padding: 0;
    }

    .navbar-collapse {
        top: 40px;
    }

    ul.navbar-nav .nav-item .nav-link {
        padding: 9px 15px;
    }

    .video_right ul li {
        width: 100%;
    }

    .title h2 {
        font-size: 26px;
        line-height: 34px;
    }

    .btn_primary,
    .btn_light,
    .btn_secondary {
        padding: 9px 20px;
    }
}

@media (max-width:381px) {
    .product_category_img {
        height: 140px;
    }

    .services_box {
        max-width: 290px;
    }

    .services_box .services_text:before {
        top: -125px;
        height: 125px;
    }

}