
@media (max-width: 1199px) {
    .serarch-item h4{
        font-size: 1.2rem;
    }
    header{
        margin-top:-30px;
    }
    .top-class .top-row {
        margin-top: 0px;
    }
}

@media (max-width: 991px) {
    .top-row{
        position: absolute;top:23px;right: 75px;z-index: 40;
    }
    .custom_nav .container{
        position: relative;
    }
    .custom_nav{
        padding:0;
    }
}
@media (max-width: 768px) {
    .home_content h2{
        font-size: 30px;
        line-height: 1.4;
    }
    .section{
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .h-100vh {
        height: auto;
    }
    .header_bg ,.header_bg_img{
        padding: 120px 0 130px;
    }
    .services_box {
        padding: 24px;
    }
    .section_title h2{
        font-size: 24px;
    }
    .logo_img{
        margin-top: 20px;
    }
    .work_next_prev.navigation a {
        font-size: 16px;
    }
    .work_next_prev.navigation a i {
        font-size: 18px;
        top: -2px;
    }
    .carousel-control-prev {
        left: 0px;
    }
    .carousel-control-next {
        right: 0px;
    }
    .carousel-control-prev>span, .carousel-control-next>span {
        font-size: 28px;
    }
    .comment_blog .comment_read:nth-child(odd) {
        margin-left: 34px;
    }
    .error_boxes .error_name {
        font-size: 22px;
    }
    .error_boxes .error_code h1 {
        font-size: 96px;
    }
}

@media (min-width: 992px) {
    .custom_nav li:hover > ul {
        display: block;
        visibility: visible;
    }
    .custom_nav a.nav-link.first_sub_menu {
        position: relative;
    }
    .custom_nav .sec_sub_menu:before {
        left: 20px;
        border-right: 12px solid transparent;
        content: "";
        display: block;
        position: absolute;
        border-bottom: 12px solid #1c1c20;
        border-left: 12px solid transparent;
        background-color: transparent;
        top: -10px;
        z-index: 9999;
    }
}

@media (max-width: 992px) {
    .custom_nav {
        background-color: #fff;
        padding: 0px 0px;
    }
    .top-row ul{
        padding-top: 6px;max-width: 100%;
    }
    .top-row{
        right: 70px;
    }
    .custom_nav .container{
        width: 85%;
    }
    .custom_nav .navbar-collapse{
        max-height: 350px;
        overflow: scroll;
    }
    .custom_nav .main_menu > li > a{
        margin: 0px;
        padding: 6px 0px !important;
    }
    .custom_nav .main_menu > li.active > a {
        color: #663a2a;
    }
    .custom_nav.stickyadd .main_menu > li > a:before, .custom_nav .main_menu > li > a:before{
        display: none;
    }
    .navbar-brand{
        position: relative;top:0
    }
    .custom_nav .main_menu > li > a{text-align: center;}
    .top-class .text-right{text-align: center !important;}
    .custom_nav .navbar-brand.logo img{height: 80px;}

    .custom_nav li > ul {
        position: static;
        visibility: visible;
        width: 100%;
    }
    .custom_nav a.nav-link.first_sub_menu.nav-link:after {
        margin-right: 15px;
        top: 3px;
    }
    .custom_nav a.nav-link.active_menu.first_sub_menu:after {
        transform: rotate(180deg);
        transition: all ease-in-out 0.4s;
    }

    .custom_nav li ul.sec_sub_menu {
        position: static;
        visibility: visible;
        width: 100%;
        -webkit-box-shadow: 0 0 0;
        box-shadow: 0 0 0;
    }
    .custom_nav ul.main_menu {
        padding: 15px 0 0;
    }

    .custom_nav a.nav-link.first_sub_menu:after {
        font-family: 'Material Design Icons';
        content: "\F140";
        right: 0;
        font-size: 18px;
        position: absolute;
    }
    .foo_detail {
        padding-top: 10px;
    }
    .header_section {
        padding: 50px 0 50px;
    }
    .about-box .about-detail h1 {
        font-size: 26px;
    }
    .cta_content h1 {
        font-size: 24px;
    }
    .about_title {
        font-size: 18px;
    }
    .work-detail-title h1 {
        font-size: 24px;
    }
    .work_menu {
        border: 1px solid #e9e9e9;
        display: table;
        padding: 0 6px;
        border-radius: 0;
    }
    .work_menu li a {
        padding: 2px 6px;
    }
    .serarch-item h4{
        font-size: 1rem;
    }
}

@media(max-width:1399px) {
    .product-miniature .one-min img {
        width: 65px;
        height: 65px;
    }
    .btn{
        font-size:15px;
    }
}
@media(max-width:1299px) {
    .galleries{height: 370px}
    .btn{
        font-size:13px;
    }
}
@media(max-width:1199px) {
    .about-logo{display: none;}
    .home-banner .home-content h1{
        font-size:36px;line-height: 1.1;
    }
    .home-banner .home-content .subtitle-text{
        font-size:18px;line-height: 1.1;
    }
    .work_img_box .work_images .work_overlay h4,.work_img_box .work_images .work_overlay h6{right: 0;width: 100%;}
    footer .container{
        max-width:100%;width:100%;
    }
    .left-column{
        padding-right: 30px;
    }
    .galleries {
        height: 320px;
    }
    .product-description p{
        font-size:14px;
    }
    .right-column{
        margin-top: 30px;
    }
}
@media(max-width:991px) {
    .foto-revert{
        flex-direction:column-reverse;
    }
    .materials-feature{padding-bottom: 40px;}
    #facebook_slider_widget{display: none;}
    footer .row > .col-lg-4{text-align: center;}
    .footer_bg .address_detail{margin: 0 auto;}
    .home-banner .home-content h1{
        font-size:30px;
    }
    .home-banner .home-content .subtitle-text{
        font-size:16px;
    }
    .menu {
        display: block;
    }
    .top-class .top-row,.navbar-brand,header{
        margin-top: 0px;
    }
    header{
        padding:0;
    }
    header .container{
        position: relative;
    }
    header .menu{
        top:20px;right: 5px;z-index: 444;
    }
    .top-row ul{
        max-width: 100%;
    }
    .custom_nav .container{
        width:100%;
    }
    #navbarCollapse.opened{
        right:0;
    }
    #navbarCollapse{
        position: fixed;background: #fff;display: block;top: 0;
        right: -100%;
        width: 100%;height: 100vh;overflow-y: auto;
        height: 100vh;
        overflow-y: auto;
        background: #fff;
        max-height: 100%;
        display: flex;
        align-items: center;
        z-index: 434;
        overflow-x: hidden;
        transition: all ease-in-out 0.4s;
    }
    .navbar-expand-lg .navbar-nav .dropdown-menu{
        border:none;transform: none;left:auto;padding: 0;margin: 0;
    }
    .custom_nav ul.main_menu {
        max-height: 100%;
        display: flex;
        flex-wrap: nowrap;
    }
    .menu-opened header .menu{
        position: fixed;
        top: 19px;
        bottom: auto;
    }
    header .menu{    
        transition: all ease-in-out 0.4s;
    }
    .nav-link i{
        margin-left: 0px;
        margin-right: -25px;
        padding: 8px;
    }
    .galleries {
        height: 235px;
    }
    div.p .specialimg img{
        height: auto !important;
        width: 100%;
        position: relative;
    }
    div.p .specialimg{
        min-height: 100px;height: auto;margin:10px auto;
    }
    .single-slider  .text-ow .home-banner-title{
        font-size:clamp(14px,2.2vw,30px);line-height: 1.1
    }
    .single-slider  .text-ow .banner-subtitle{
        font-size:clamp(12px,1.5vw,22px);line-height: 1.1
    }
    .btn.banner-link{
        margin-top: 20px;
    }
}
@media(max-width:767px) {
    .footer_menu_list{
        padding-left:0;list-style:none;
    }
    .one-list-prtf h4{font-size:20px;}
    body{
        font-size: 0.9rem;
    }
    .work_menu li::after {display: none}
    .swipebox span{font-size:18px;}
    .single-slider{
        min-height: 300px;
    }
    footer{text-align: center}
    .work_overlay h4{
        font-size:22px;
    }
    .left-column{
        width:100%;padding:0;
    }
    .right-column{
        width:100%;
    }
    .galleries {
        height: 338px;
    }
    .product-description h1{
        font-size:18px;
    }
    footer.pt-5{
        padding-top: 20px !important;padding-bottom: 20px !important;
    }
}
@media(max-width:480px) {
    .work_img_box{
        margin-bottom: 30px;
    }
    .contact_form{padding:15px;}
    .header_section{padding:30px 0}
    .section{padding:30px 0;}
    #map-canvas  #content{min-width: 100px !important;}
    #map-canvas  #content img{width: 60px;}
    .home-banner .home-content h1{
        font-size:24px;
    }
    .home-banner .home-content .subtitle-text{
        font-size:14px;
    }
    .swipebox span{font-size:16px;}
    .navbar-brand img{
        width: 75px;
    }
    .top-class .text-right{
        margin-left: auto;  
    }

    footer{text-align: center;}
    .footer-info img{margin:0 auto 20px auto}
    .footer-info img {
        flex: 0 0 75px;
        width: 75px;
    }
    .footer-info{
        flex-wrap:wrap;text-align: center;
    }
    .header_section .home-table-center{
        min-height: 60px;
    }
    .card .btn{
        font-size:15px;
    }
    #map-canvas {
        height: 280px;
    }
    .work_overlay h4 {
        font-size: 20px;
    }
    .galleries {
        height: 60vw;
    }
    .header_section .text-center.section_title h2 {
        letter-spacing: 1px;
    }
    .one-list-prtf h4{font-size:18px;}
    .btn {
        padding: 10px 20px;
    }
}
@media(max-width:400px) {
    .top-row ul.text-left{
        display: none;
    }

    .product-miniature .one-min img {
        width: 45px;
        height: 45px;
    }
}
@media(min-width:1300px) {
    .container {
        max-width: 1240px;
    }
}
@media(min-width:1400px) {
    .container {
        max-width: 1300px;
    }
}

@media (max-width: 768px) {
    .serarch-item a{
        padding: 5px;
    }
    .serarch-item.serarch-item-photo .border-image{
        width: 25%;
        display: inline-block;
        font-size: 10px;
    }
    .serarch-item.serarch-item-photo h4{
        width: 75%;
        font-size: 0.9rem;
    }
    .serarch-item h4{
        font-size: 0.9rem;
    }
    .single-slider  .text-ow .home-banner-title{
        font-size:clamp(18px,2vw,20px);line-height: 1.1
    }
    .single-slider  .text-ow .banner-subtitle{
        font-size:clamp(12px,1.3vw,18px);line-height: 1.1
    }
    .btn.banner-link{
        margin-top: 10px !important;
    }
    .owl-text{
        padding:10px;
    }
}
.owl-text{width:100%;}