/*
  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: 1200px;
    margin: 0 auto;
}
.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;

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

}

.flex-centered {

    justify-content: center;
}

.flex-container-round {
    justify-content:space-around;
}

.flex-space-between {
    justify-content:space-between;
}
.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-3{
    float:left;
    width:31%;
}
.cell-2-3{
    float:left;
    width:66.66%;
}
.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%;
    float:left;
}

.cell-lv{
    width:18%;
}

.cell-pro-line{
    width: 100%;
    border-bottom: solid 1px #CCC; 
}

.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: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.66%;
}
.cell-3-12{
    width:25%;
}
.cell-4-12{
    width:33%;
}
.cell-5-12{
    width:41%;
}
.cell-6-12{
    width:50%;
}
.cell-7-12{
    width:56%;
}
.cell-8-12{
    width:66%;
}
.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-tab-1-8{
    width: 12.5%;
}
.cell-tab-1-7{
    width: 14.285%;
}
.cell-tab-1-6{
    width: 16.285%;
}
.cell-tab-1-5{
    width: 20%;
}
.cell-tab-1-4{
    width: 25%;
}
.cell-tab-1-3{
    width: 20%;
}
.cell-tab-1-2{
    width: 20%;
}
.cell-info-1-3{
    width:33.3333%;
}
.cell-info-1-4{
    width:24.999%;
}
.cell-info-1-5{
    width:19.5%;
}


@media handheld, only screen and (max-width: 1024px) {

    .grid {

        max-width: 1000px;
        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{
        height: 48px;
    }



    .download-profile, .hotline{
        margin-top: 7px;
        color: #FFF;
    }
    .download-profile a, .hotline span{
        color: #FFF;
    }
    .hotline a{
        color: #ef5994;
    }
    .title-cat-home{
        font-size:24px;
    }

    .line-title{
        width: 100%;
        line-height: 25px;
    }

    .line-frm{
        width: 100%;
    }

    .logo-top img {
        max-width: 40px;
        margin-top: 5px;
    }

    .rtb-header{
        width: 22%;
    }

    .rtb-header img {

        width: 20%;
    }
    .rtb-header span {
        font-size: 16px;
    }
    .rtb-header strong {
        font-size: 30px;
    }

    .nav li a{
        padding:0px 10px;
    }


    /*end pad s*/

}

@media handheld, only screen and (max-width: 967px) {

    .grid {

        max-width: 700px;
        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-mobile{
        display: block;
    }

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

    .mobile-padding-0{
        margin: 0px;
        padding: 0px;
        max-width: 100%;
    }	

    .cathome-title{
        font-size: 20px;
        line-height: 38px;
    }

    .info-home-title{
        font-size: 20px;
        line-height: 30px;
    }
    .title-cat-home{
        margin: 0 auto;
        float: none;
        width: fit-content;
        font-size: 20px;
        line-height: 34px;
        font-size:24px;
    }

    .line-title{
        width: 100%;
        line-height: 25px;
    }

    .line-frm{
        width: 100%;
    }
    .frm{
        padding: 20px;
    }


    .rtb-box{
        background: #0054a6;
    }


    .linhvuc-item {
        background: #0054a6;
        text-align: center;
        height: auto;
        padding-left: 0px;
    }
    .linhvuc-item:after {
        display: none;
    }
    .linhvuc-item:before {
        display: none;
    }

    .linhvuc-pad{
        padding: 0px;
    }
    .cell-lv{
        width: 48%;
        margin-bottom: 20px;
        background:#0054a6;
    }

    .cell-lv:first-child{
        width:100%;
    }

    .slide-home-item{
        bottom:0px;
        width:100%;
    }
    .slide-home-item h2{
        font-size:26px;
    }
    .slide-home-desc{
        font-size:16px;
    }

    .slide-detail{
        display:none;
    }

    .sub-title-page{
        margin-top:10px;
        font-size: 24px;
    }

    .modal-box .modal-body{
        padding:5px;
    }

    .td_td {
        width: 65%;
    }

    .title-frm-reg2{
        width: 100%;
        text-align: left;
    }



    .tab-round{
        padding:0px;
    }


    .item-lichsu{
        width:90%;
        margin-left:15px;	
    }
    .flex-lichsu{

    }
    .flex-lichsu:after{
        height:100%;
        width:2px;
        background:#7e2929;
        top:0px;
        left:10px;
        content:"";	
        position:absolute;
    }
    .item-lichsu.right,.item-lichsu.left{
        margin-top:30px;	
    }
    .item-lichsu.left .year{
        left:20px;
    }
    .item-lichsu.right .year{
        left:20px;
    }
    .item-lichsu.right .image{
        margin-left:20%;	
    }
    .item-lichsu.left .image{
        margin-left:20%;	
    }
    .item-lichsu.left:after{
        left:-15px;	
    }
    .item-lichsu.right:after{
        left:-15px;	
    }
    .flex-lichsu .item-lichsu:first-child{
        margin-top:0px;
    }
    .item-lichsu.right .text{
        margin-left:5%;	
    }
    .item-lichsu.left .text{
        margin-left:5%;	
    }	

    .tab-home a{
        padding: 5px 0px;
        font-size: 15px;
        width: 49%;
        text-align: center;
        margin: 0px;
        margin-bottom: 5px;
    }
    .btn-viewmore{
        padding:8px 15px;
    }

    .service-home-image{
        width:100%;
        height:100%;
    }
    .menutab-swapper{
        display:none;
    }

    .intro-info{
        padding: 10px;
    }

    .img-article{
        padding: 10px 50px;
    }
    .newsletter{
        background:#f2f2f2;
        padding: 10px;

    }

    .newsletter-input input{
        width:62%;
        font-size:12px;
    }

    .newsletter-input a{
        padding: 11px 10px;
        width: 105px;
        float: right;
    }

    .newsletter-label{
        font-size: 22px;
    }

    .newsletter-label span {
        font-size: 18px;
    }	

    .footer-map-info{
        position: initial;
        width: 100%;
        margin-bottom: 1px;
    }

    .info-home{
        padding:0px;
    }
    .service-home-intro{
        min-height: 200px;
    }	

    .info-home-pad{
        padding: 10px;
    }	

    .linksmo{
        float: initial;
        text-align: center;
        margin: 0 auto;
        width: 142px;
    }

    .news-name-home{
        min-height: initial;
    }
    .intro-news-home{
        min-height: initial;
    }
    .cat-home-intro{
        padding: 0px;
    }

    /* 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;
    }
    .video-home .cell-home-1-4{
        display: none;
    }    
    .video-home .cell-home-1-4:first-child{
        display: block;
    }

    .title-home-mobile{
        display: block;
        width: 100%;
        border-bottom: solid 1px #DDD;
        padding: 10px 0px;
    }
    .video-home h5:first-of-type{
        display: none;
    }    

    .news-home .cell-home-1-4{
        display: none;
    }    
    .news-home .cell-home-1-4:first-child{
        display: block;
    }    
    .news-home h5:first-of-type{
        display: none;
    }   

    .title-page{
        font-size:26px;
    }

    .paging a{
        padding: 6px 5px;
        margin-right: 3px;
    }


}
