/*
  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 20px;
}

.grid-no-overflow-hiden {
    width: 100%;
    max-width: 1400px;
    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;
}

.flex-column-reverse{
    flex-direction: row-reverse;
}

.flex_center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.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: 15.5%;
}

.cell-2-6 {
    width: 35%;
}

.cell-4-6 {
    width: 64%;
}

.cell-5-6 {
    width: 81.5%;
}

.cell-1-7 {
    width: 13.8%;
}

.cell-1-8 {
    width: 11.3%;
}

.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-info-1-2 {
    width: 48.5%;
}

.cell-footer-1-3 {
    width: 32.2%;
}

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

.cell-footer-3-4 {
    width: 73%;
}

.cell-home-1-3 {
    width: 32%;
}

/* special  */

.cell-header-logo{
    width: 25%;
}
.cell-header-menu{
    width: 75%;
}

.cell-info-1-2 {
    width: 49.5%;
}


.cell-info-1-4 {
    width: 24.5%;
}

.cell-du-an-1-3 {
    width: 32.8%;
}


.cell-product-2-6 {
    width: 35%;
}

.cell-product-4-6 {
    width: 64%;
}

.cell-detail-2-5 {
    width: 45%;
}

.cell-detail-3-5 {
    width: 52%;
}

/* end */

.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: 20%;
}

.cell-3-10 {
    width: 30%;
}

.cell-4-10 {
    width: 40%;
}

.cell-5-10 {
    width: 50%;
}

.cell-6-10 {
    width: 60%;
}

.cell-7-10 {
    width: 70%;
}

.cell-8-10 {
    width: 80%;
}

.cell-9-10 {
    width: 90%;
}

.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%;
}

.cell-pro-left {
    width: 65%;
}

.cell-pro-right {
    width: 32%;
}



@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: 1024px) {
    .grid {
        max-width: 960px;
        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-2-3 {
        width: 70%;
    }

    .pad-cell-1-3 {
        width: 30%;
    }

    .pad-cell-1-4 {
        width: 22%;
    }

    .hide-on-pc {
        display: block;
    }

    .hide-on-pad {
        display: none;
    }


    .menubar {
        text-align: right;

    }
	
	.cell-header-logo{
		width:35%;
	}
	.cell-header-menu{
		width:65%;
	}	
	
	.nav{
		display:none;
	}	
	
	.cell-cat-content {
		bottom: 400px;
	}	
	
	.adv-home-content {
		bottom: 140px;
	}	
	
	.cell-cat-name {
		font-size: 30px;
	}	
	
    .doi-tac-slide{
        padding: 0px;
    }
	
	.doitac-intro{
		font-family: "Muli-B";
		font-size: 16px;
	}

    /*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;
    }

    .m-text-line-2 {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .m-text-line-3 {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .m-text-line-4 {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
    }

    .m-text-line-5 {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
    }

    .tab-cell-1-1 {
        width: 100%;
    }

    .tab-cell-1-2 {
        width: 48.5%;
    }

    .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%;
    }



    .view-hover {
        display: none !important;
    }

    .addcart-btn {
        width: 100%;
        margin: 0px;
        margin-bottom: 10px;
        text-align: center;
    }

    .muangay-btn,
    .buy-now {
        width: 100%;
        margin: 0px;
        margin-bottom: 10px;
        text-align: center;
    }

    .tab-content {
        display: block;
    }

    .modal-box {
        width: 95%;
    }

    .form-dangky {
        padding: 0px;
    }

    .footer-white {
        padding: 10px;
    }

    .footer-title .fa {
        display: block;
    }

    .partner-padding {
        padding: 0;
    }

    .product-sub {
        padding: 0px;
    }

    .author-detail-content {
        margin-top: 0px;
    }

    .article-item-img {
        margin: 0px;
    }

    .lang-flag {

        width: 25px;
        height: 25px;

    }

    .slide-home-item {
        width: 100%;
        padding: 0px 20px;
    }

    .slide-home-item h2 {
        font-size: 26px;
    }

    .slide-home-desc {
        font-size: 16px;
    }

    .btn-next,
    .btn-prev {
        display: none;
    }
    

	
	.resgis-pading, .order-form{
		padding:0px;
	}
	
	
	.cell-header-logo{
		width:35%;
	}
	.cell-header-menu{
		width:65%;
	}

	.info-title, .doitac-wrapper__title, .cat-home-name{
		font-size:20px;
	}
	
	.cell-header-logo{
		width:60%;
	}
	.cell-header-menu{
		width:40%;
	}	
	
	.logo{
		width:100px;
		margin-top:10px;
	}
	.company-name{
		margin-top: 18px;
	}
	.top-chat-icon{
		margin-left:0px;
		margin-right: 20px;
		margin-top: 16px;		
	}	

	.crumb {
		padding: 5px 0px;
		border-bottom: solid 1px #CCC;
		font-size: 10px;
	}


	.product-name-detail {
		font-size: 20px;
		font-family: "Muli-B";
	}



	.cell-cat-name {
		font-size: 20px;
	}	
	.cat-home-intro {
		font-size: 12px !important;
		padding: 0px;
		width:90%;
		line-height:16px;
	}	
	
	
	
	.cell-cat-content {
		bottom: 140px;

	}	
	.btn-detail {
		position: absolute;
		bottom: 20px;
		padding: 5px 20px;
		font-size: 12px;
		border-radius: 3px;
	}
	
	.dangky{
		padding:0px; 
	}	
		
	.title-page {
		font-size: 24px;
	}	

	.daily-name {
		font-size: 12px;
	}
	.dailyItem-bg {
		margin-bottom: 0;
	}	
	
    .nav {
        display: none;
    }
	.title-news-detail{
		font-size: 20px;
	}
	
	.doitac-intro{
		font-family: "Muli";
		font-size: 14px;
	}	

	.adv-home-content {
		bottom: 40px;
	}


	.piccat-name{
		font-size:20px;
		bottom: 80px; 
	}

	.piccat-desc{
		font-size:14px;
		bottom: 50px;
	}

.in-home-name {
    font-size: 12px;
	font-family:"Muli-B";
    display: block;
	padding:0px 15px;
	
	
}

.gallery-thumbs-cat{
	width: auto;
}

.info-card--title{
    font-size: 16px;    
}


    /* end tab s  */
}

@media handheld,
only screen and (max-width: 380px) {
    .grid {
        max-width: 450px;
        min-width: 0;
        margin-left: 0px;
        margin-right: 0px;
        padding-left: 10px;
        padding-right: 10px;
        margin: 0 auto;
    }

    .bg-page {
        max-width: 450px !important;
    }


    .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;
    }
	


}