/*
  Simple Grid
  Learn More - http://dallasbass.com/simple-grid-a-lightweight-responsive-css-grid/
  Project Page - http://thisisdallas.github.com/Simple-Grid/
  Author - Dallas Bass
  Site - dallasbass.com
*/
*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
body {
    margin: 0px;
}
[class*='cell-'] {
    float: left;
}
.grid {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
	padding:0px 10px;
}
.grid-no-overflow-hiden{
    width: 100%;
    max-width: 1200px;
    min-width: 755px;
    margin: 0 auto;
}
.grid:after {
    content: "";
    display: table;
    clear: both;
}
.grid-pad {
    padding-top: 0px;
    padding-left: 10px; /* grid-space to left */
    padding-right: 10px; /* grid-space to right: (grid-space-left - column-space) e.g. 20px-20px=0 */
}
.hide-on-pc {
    display: none;
}
.flex-container {
    padding: 0;
    margin: 0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    -moz-flex-flow: row wrap;
    flex-flow: row wrap;
    width:100%;
    justify-content:space-between /* space-around;*/
}
.flex-centered {
    justify-content: center;
}
.flex-container-round {
    justify-content:space-around;
}
.flex-space-between {
    justify-content:space-between;
}
.flex-flex-end{
    justify-content:flex-end;
}
.border-flex{
    border:solid 1px #e4e4e4;	
    border-right:none;
    border-bottom:none;
}
.cell-1-1{
    width: 100%;
}
.cell-1-5{
    width:19%;
    float:left;
}
.cell-2-5{
    width:40%;
}
.cell-3-5{
    width:60%;
}
.cell-4-5{
    width:80%;	
}
.cell-1-6{
    width:16%;
}
.cell-5-6{
    width:81%;
}

.cell-1-3{
    float:left;
    width:32%;
}
.cell-2-3{
    float:left;
    width:65%;
}
.cell-1-4{
    float:left;
    width:23.5%;
}
.cell-2-4{
    float:left;
    width:50%;
}
.cell-3-4{
    float:left;
    width:74%;
}
.cell-1-2{
    width:49%;
}
.cell-pro-1-3{
    width: 32%;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.cell-info-1-2{
    width:48.5%;
}

.cell-footer-1-4{
    width:21%;
}

.cell-home-1-3{
    width:32%;
}
.cell-home-2-3{
    width:65%;
}
.cell-home-1-4{
    width:22%;
}
.cell-home-1-5{
    width:15%;
}
.cell-1-10{
    width:10%;
}
.cell-2-10{
    width:19.5%;
}
.cell-3-10{
    width:29.5%;
}
.cell-4-10{
    width:39%;
}
.cell-5-10{
    width:48.5%;
}
.cell-6-10{
    width:57%;
}
.cell-7-10{
    width:68%;
}
.cell-8-10{
    width:78%;
}
.cell-9-10{
    width:88%;
}
.cell-1-12{
    width:8.33%;
}
.cell-2-12{
    width:16%;
}
.cell-3-12{
    width:23.5%;
}
.cell-4-12{
    width:29%;
}
.cell-5-12{
    width:41%;
}
.cell-6-12{
    width:50%;
}
.cell-7-12{
    width:57.5%;
}
.cell-8-12{
    width:70%;
}
.cell-9-12{
    width:74%;
}
.cell-10-12{
    width:83%;
}
.cell-11-12{
    width:91%;
}
.cell-news-1-3{
    width: 32%;
}
.cell-news-2-3{
    width: 65%;
}

.cell-news-1-4{
    width:25%;
}
.cell-news-3-4{
    width:75%;
}

@media handheld, only screen and (max-width: 1200px) {
    .grid {
        max-width: 100%;
        min-width: 0;
        margin-left: 0px;
        margin-right: 0px;
        padding-left: 10px; 
        padding-right: 10px;
        margin: 0 auto;
    }
}
@media handheld, only screen and (max-width: 1115px) {
    .nav li a{
        padding:0px 10px;	
    }
}
@media handheld, only screen and (max-width: 1024px) {
    .grid {
        max-width: 900px;
        min-width: 0;
        margin-left: 0px;
        margin-right: 0px;
        padding-left: 10px; 
        padding-right: 10px;
        margin: 0 auto;
    }
    .box-filter .box-content-fillter{
        height: auto;
    }
    .pad-cell-1-1{
        width:100%;
    }       
    .pad-cell-1-2{
        width:48%;
    }
    .pad-cell-1-3{
        width:30%;
    }
    .pad-cell-1-4{
        width:22%;
    }
    .hide-on-pc{
        display: block; 
    } 
    .hide-on-pad {
        display: none;
    }
    .nav
    {
        display:none;
    }    
    .menubar{
        text-align:right;

    }
    /*end pad s*/
}
@media handheld, only screen and (max-width: 767px) {
    .grid {
        max-width: 100%;
        min-width: 0;
        margin-left: 0px;
        margin-right: 0px;
        padding-left: 10px; 
        padding-right: 10px;
        margin: 0 auto;
    }
    .hide-on-pc{
        display: block; 
    }
    .hide-on-pad {
        display: block; 
    }
    .hide-on-tab {
        display: none;
    }
	
    .tab-cell-1-1{
        width: 100%;
    }
    .tab-cell-1-2{
        width:48%;
    }
    .tab-cell-1-3{
        width:30%;
    }
    .tab-cell-1-4{
        width:22%;
    }    
    .tab-cell-1-5{
        width:18%;
    }        
    .tab-cell-7-12{
        width:55%;
    }        
    .tab-cell-5-12{
        width:42%;
    }  


    .form-dangky{
        padding:20px;
    }

    .info-cat-intro{
        padding: 0px;
    }
    .info-cat-content{
        padding: 0px;
    }

    .info-cat-item{
        padding: 0px;
    }

    .cell-tab-1-3, .cell-tab-1-2{
        width:30%;
    }


	.cat-home-intro{
		padding:0px;
	}
	
	.view-hover{
		display:none !important;
	}

	.addcart-btn {
		padding: 12px;
		width: 100%;
		text-align: center;

		margin-bottom: 20px;
		text-transform: uppercase;
	}
	.muangay-btn, .buy-now {
		padding: 12px;
		width: 100%;
		text-align: center;
		margin-bottom: 10px;
		text-transform: uppercase;
		margin: 0px;
			
	}	
	.tab-content{
		display:block;
	}
	.modal-box{
		width:95%;
	}
	
	.form-dangky{
		padding:0px;
	}
	
	.tra-cuu-form{
		position: initial;
		margin-bottom: 20px;
		background: #555;
		border-radius: 10px;
	}
	
	.footer-white{
		padding:10px;
	}
	
	.menuboxfooter{
		display:none;
	}
	
	.footer-title .fa{
		display:block;
	}

    /* end tab s  */
}
@media handheld, only screen and (max-width: 579px) {
    .grid {
        max-width: 420px;
        min-width: 0;
        margin-left: 0px;
        margin-right: 0px;
        padding-left: 10px; 
        padding-right: 10px;
        margin: 0 auto;
    }
    .bg-page{
        max-width: 420px !important;
    }
    [class*='mobile-col-'] {
        float: left;
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 0px;
        margin-bottom: 10px;
        padding-left: 0px;
        padding-right: 10px; 
        padding-bottom: 0px;
    }

    .hide-on-mobile {
        display: none !important;
    }    
    .mobile-cell-1-1{
        width:100%;
    }        
    .mobile-cell-1-2{
        width:48%;
    }
    .mobile-cell-1-3{
        width:32%;
    }
    .mobile-cell-2-3{
        width:62%;
    }
    .slide-text-box{
        width:100%;
        padding:10px;
    }
    .paging a{
        padding: 6px 5px;
        margin-right: 3px;
    }

    .tab-bottom-20{
        margin-bottom:20px;
    }

    .tab-bottom-30{
        margin-bottom:30px;
    }	

    .info-home-content{
        display:none;

    }
    .catname-slide{
        font-size:16px;	
    }

}
