/*Stop animation on mobile*/
@media only screen and (max-width: 767px){
    body .wpb_animate_when_almost_visible{
        opacity: 1;
        filter: alpha(opacity=100);
        -webkit-animation: none;
        -moz-animation: none;
        -o-animation: none;
        animation: none;
    }
}

/*Header*/
@media only screen and (max-width: 1024px){
    
   .mobmenu-left-panel .mobmenu-left-bt,
   .mobmenu-right-panel .mobmenu-right-bt {
    	right: 15px;
    	top: 15px;
    	font-size:25px;
    }
    
    .mobmenu-left-panel .mobmenu-left-bt .mob-cancel-button,
    .mobmenu-right-panel .mobmenu-right-bt .mob-cancel-button{
        font-size:25px !important;
    }
    
    .mob-expand-submenu i {
    	font-size: 20px;
    }
    
    .mobmenu-content ul.sub-menu > li,
	.mobmenu-content li a {
		border-bottom: 1px solid white;
	}

	.mobmenu-content ul.sub-menu > li a,
	.mobmenu-content ul.mobmenuright > li:last-child a {
		border-bottom: 0px solid transparent;
	}
	
    #masthead{display:none;}
   
   .rightmbottom .mobile-language{
        border-top: 1px solid #000;
        padding:10px 0;
    }
    
    .rightmbottom .mobile-language ul.menu > li{
        padding-left:0;
        padding-right:0;
    }
    
    .rightmbottom .mobile-language ul.menu > li > a{color:#000 !important;}
}

/*sidebar-footer*/
@media only screen and (max-width: 991px) {
    #sidebar-footer .sidebar-column:nth-child(1){width:100%}
    #sidebar-footer .sidebar-column:nth-child(2){width:100%}
    #sidebar-footer .sidebar-column:nth-child(3){width:100%}
    
    #sidebar-footer .sidebar-column:nth-child(1) .widget_media_image{text-align:center;}
    
    #sidebar-footer .sidebar-column:nth-child(1) .widget_media_image {
    	margin-top:0;
    }
    
    #sidebar-footer .sidebar-column:nth-child(1) .widget_media_image img{
        height:70px !important;
    }
    
    #sidebar-footer .sidebar-column:nth-child(2) .widget,
    #sidebar-footer .sidebar-column:nth-child(3) .widget{
        width: 100%;
        margin-left:auto;
        margin-right:auto;
    }
    
    #sidebar-footer .sidebar-column .widget:last-child{margin-bottom:20px;}
    #sidebar-footer .sidebar-column:last-child .widget:last-child{margin-bottom:0;}
    
    #sidebar-footer .sidebar-column .widget_text .textwidget{text-align:center;}
    
    #sidebar-footer .sidebar-column .widget_text .textwidget table{
        width:auto;
        margin-left:auto;
        margin-right:auto;
    }
}

/*colophon*/
@media only screen and (max-width: 767px) {
    
    #colophon .site-info{
        text-align:center;
        line-height:1.2;
    }
    
    #colophon p.inspiren,
    #colophon .inspiren-right{
        float:none;
        line-height:1.2;
        text-align:center;
        display:inline;
    }
    
    #colophon .sep{display:none;}
    
    #colophon .inspiren-right,
    #colophon p .reserve{display:inline-block;}
}

/*Banner*/
@media only screen and (max-width: 767px){
    .banner{margin-bottom:0;}
    .product-banner{margin-bottom:35px;}
}

/*Style*/
@media only screen and (max-width: 767px){
    /*vc_row more gaps*/
    .row-2-col > .wpb_column:first-child{padding-right:0;}
    .row-2-col > .wpb_column:last-child{padding-left:0;}
}

@media only screen and (max-width: 479px){
    .woocommerce .woocommerce-products-header,
    .all-title{font-size:6.3vw;}
    
    .all-title.smaller{font-size:5.8vw;}
    
    .woo-category-title,
    .all-title.extra-small{font-size:18.5px;}
}

/*Home*/
@media only screen and (max-width: 767px){
    .home-about{
        padding-top:35px;
        margin-bottom:0;
    }
    
    .home-about > .wpb_column > .vc_column-inner{
        padding-top:0 !important;
    } 
    .home-about .wpb_text_column.all-title{margin-bottom:24px;}
    .home-about .wpb_text_column{margin-bottom:20px;}
    
    .icon-row{
        display:flex;
        flex-wrap:wrap;
    }
    
    .icon-row > .wpb_column{
        width:50%;
        /*flex-basis:50%;*/
    }
    
    .home-fabric .knowmore {margin-top: 0;}
    .home-fabric {margin-bottom: 0;}
    .home-video {padding-bottom: 0;}
    .home-video .video {
    	width: 100%;
    	margin-left: auto;
    	margin-right: auto;
    }
    
    .home-fabric .all-title{
        margin-left:auto;
    }
    
    .home-fabric .icon-row{margin-bottom:0;}
    
    .home-fabric .icon-row .icon figure img{height:50px;}
    
    .home-type-fabric{
        display:flex;
        flex-direction:column-reverse;
    }
    
    .home-type-fabric > .wpb_column{
        width:100%;
    }
    
    .home-type-fabric.row-2-col > .wpb_column:nth-child(1){
        width:100%;
        padding-left:15px;
        padding-right:15px;
        padding-top:35px;
    }
    
    .home-type-fabric > .wpb_column:nth-child(1) .all-title{margin-bottom:24px;}
    .home-type-fabric > .wpb_column:nth-child(1) .wpb_text_column{margin-bottom:20px;}
    
    .facilities-gallery {margin-bottom: 0;}
    
    .home-facilities {
    	padding-top: 0;
    	padding-bottom: 0;
    	margin-bottom: 0;
    }
    
    .home-in-touch{margin-bottom:0;}
    
    .home-in-touch > .wpb_column:nth-child(2) > .vc_column-inner{
        padding-top:0 !important;
    }
    
    .home-in-touch > .wpb_column:nth-child(2) .all-title{margin-bottom:24px}
    .home-in-touch > .wpb_column:nth-child(2) .wpb_text_column{margin-bottom:20px}
    
    .home-blog {
    	padding-top: 0;
    	padding-bottom: 0;
    }
    
    .blog-post .vc_grid-item.vc_col-sm-6:nth-child(2n+1) {
    	padding: 0 35px 15px 0 !important;
    }
}

/*About*/
@media only screen and (max-width: 767px){
    .about-cert {margin-bottom: 0;}
    .about-cert > .wpb_column:nth-child(2) > .vc_column-inner{padding-top:0 !important;} 
    
    .about-faq {
    	padding-top: 0;
    	padding-bottom: 0;
    }
}

/*Contact*/
@media only screen and (max-width: 767px){
    .contact-main .wpb_single_image {margin-bottom: 35px;}
    
    .contact-form{
        display:flex;
        flex-direction:column-reverse;
    }
    
    .contact-form.row-2-col > .wpb_column:nth-child(1) {
    	width: 100%;
    	margin-left: auto;
    	padding-left: 15px;
    	padding-right: 15px;
    	padding-top: 35px;
    	padding-bottom: 35px;
    }
    
    .contact-map{margin-bottom:30px;}
}

/*facilities*/
@media only screen and (max-width: 767px){
    .facilities-gallery {
    	margin-bottom: 0;
    }
}

/*Woocormerce template*/
@media only screen and (max-width: 767px){
    .woocommerce #content.page-wrap > .content-wrapper > .row {flex-direction: column-reverse;}
    
    .woocommerce #content.page-wrap .content-wrapper .row #primary{
        padding-left:15px;
        padding-right:15px;
    }
    .woocommerce #content.page-wrap .content-wrapper .row #secondary{
        padding-right:15px;
        padding-left:15px;
        border:none;
        padding-top:0;
        padding-bottom:0;
        margin-bottom:35px;
    }
}

/*sidebar*/
@media only screen and (max-width: 767px){
    #secondary .widget_text.catagories-title{display:block;}
    #secondary .widget_text{display:none;}
    #secondary .widget_text.display{display:block;}
}

/*Woocormerce single*/
@media only screen and (max-width: 767px){
    .list-2-col-paragraph > .wpb_wrapper {
    	-webkit-columns: 1;
    	-moz-columns: 1;
    	columns: 1;
    	line-height: 1.5;
    	font-size:14px;
    }
    
    .woocommerce.single-product div.product .woocommerce-tabs .panel{margin-bottom:0;}
    
    .woocommerce.single-product div.product .woocommerce-tabs .panel > * {
    	margin-bottom: 0;
    }
    
    .use-for .use-for-inner{
        display:flex;
        flex-direction:column;
        flex-wrap:wrap;
        justify-content:center;
        align-items:center;
    }
    
    .use-for .use-for-inner > *{
        width:50%;
        /*flex-basis:50%;*/
    }
    
    .product-enquiry .image-right {
    	text-align: center;
    }
    
    
    
    
}

/*blog single post*/
@media only screen and (max-width: 767px){
    .list-2-col ol, .list-2-col ul {
    	-webkit-columns: 1;
    	-moz-columns: 1;
    	columns: 1;
    }
    
    .post-section > .vc_row {margin-bottom: 0;}
    
    .post-section {margin-bottom: 0;}
}