@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&family=Noto+Sans:wght@400;500;600;700;800&display=swap');

@font-face {
    font-family:'bebas';
    src:url('../fonts/bebas.ttf')  format('truetype');
}

/* ETOP typography refresh: modern Vietnamese-friendly font. */
:root {
    --etop-font: 'Be Vietnam Pro', 'Inter', 'Segoe UI', Arial, sans-serif;
    --etop-content-font: 'Noto Sans', 'Inter', 'Segoe UI', Arial, sans-serif;
}

html,
body,
button,
input,
select,
textarea {
    font-family: var(--etop-font) !important;
    letter-spacing: 0;
}

body {
    color: #20242a;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.navbar-default .navbar-nav > li > a,
.dropdown-menu > li > a,
.menu_mobile a,
.ten_menu,
.block-title h2,
.block-title h2 a,
.sumd h3,
h1.title,
h1.title a.heading,
.home_deal > h3 > a,
.item h3,
.item h3 a,
h3.footer_main_title,
.box > h3,
.post-header > h3,
.post-header > h3 > a {
    font-family: var(--etop-font) !important;
    letter-spacing: 0;
}

.navbar-default .navbar-nav > li > a {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.dropdown-menu > li > a,
.menu_mobile a {
    font-weight: 600;
}

h1.title,
.post-header > h3,
.post-header > h3 > a,
.item h3 a {
    font-weight: 700;
    line-height: 1.35;
}

.main_content_news,
.main_center,
.box,
.post-summary,
.news-content {
    font-weight: 400;
}
@font-face {
    font-family:'roboto';
    src:url('../fonts/RobotoSlab-Bold.ttf')  format('truetype');
}
body {
    background-color:#f2f3f5;
    font-family: 'Roboto', sans-serif;

    font-size:15px;
    line-height:20px;
}

.container {
    width: 1170px;
    position: relative;
}
.container-main{
    padding-right: 10px;
    padding-left: 10px;
    margin-right: auto;
    margin-left: auto;
}
.main_content{
    padding-top: 6px;
}
.main_content_news_bg{
    background-color: #fff;
}
.main_content_news::before{
    background: url(../../images/grd-border.png) top right repeat-y;
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    width: 20px;
    height: 100%;
    z-index: 0;
}
.menu_left{
    width: 20%;
    padding-right: 5px;
    padding-left: 5px;
}
.menu_right{
    width: 20%;
    padding-right: 5px;
    padding-left: 5px;
}
.main_center{
    width: 60%;
    padding-right: 5px;
    padding-left: 5px;
    background-color: #fff;
}
.hot-post{
    /*height: 496px;*/
    background: url('../../images/banner.jpg');
    background-size: 100% 100%;
}
.bg_menu{
    background-color: #015cb9;
}
.theme-default .nivoSlider img {
    /*height: 480px;*/
}
#nav_mobiles{
    list-style: none;
}
#nav_mobiles{
    padding: 10px 0px;
    /*display : table;*/
    /*margin-left: -10px;*/
    /*width: 100%;*/
        margin: 0px;
}
.navbar-toggle .icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    border-radius: 1px;
}
.navbar-toggle {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-top: 9px;
    margin-right: 15px;
    margin-bottom: 5px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
#nav_mobiles li{
   
    text-align: center;
    padding: 10px;
    position: relative;
    z-index: 1;
    cursor: pointer;
    
}
.menu_mobile{
    position: relative;
    background-image: linear-gradient(30deg, rgba(27,57,99,0.9) 20%, rgba(179,41,46,0.9) 87%),url(../../images/bg_mobile.jpg);
    background-size: cover;
    background-position: center center;
    color: white;
}
.menu_mobile a{
    color: white;
}
.list_mm{
    background-color: rgba(0,0,0,0.1);
    padding: 25px 20px;
}
.list_mm:hover,.list_mm:active {
    /*background-color: #F24733;*/
    padding: 25px;
/*        -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;*/
}
.list_mm i{
    font-size: 27px;
}
.ten_menu{
    padding-top: 10px;
    font-size: 16px;
}
.side_ad{
    width: 320px;
}
.hot-post {
    padding-top: 10px;
    padding-bottom: 6px;
}
.hot-post .lft-block {
    float: left;
    margin-right: 3px;
}
.hot-post .post-item {
    position: relative;
    overflow: hidden;
}
.hot-post .lft-block .post-item {
    border-bottom: 2px solid rgba(0,0,0,.95);
    width: 516px;
}
.hot-post .post-item a.img:before {
    bottom: 0;
    content: "";
    display: block;
    height: 70%;
    width: 100%;
    position: absolute;
    z-index: 1;
    background: -moz-linear-gradient(top,rgba(0,0,0,0) 40%,rgba(0,0,0,.9) 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(40%,rgba(0,0,0,0)),color-stop(100%,rgba(0,0,0,.9)));
    background: -webkit-linear-gradient(top,rgba(0,0,0,0) 40%,rgba(0,0,0,.9) 100%);
    background: -o-linear-gradient(top,rgba(0,0,0,0) 40%,rgba(0,0,0,.9) 100%);
    background: -ms-linear-gradient(top,rgba(0,0,0,0) 40%,rgba(0,0,0,.9) 100%);
    background: linear-gradient(to bottom,rgba(0,0,0,0) 40%,rgba(0,0,0,.9) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#b3000000', GradientType=0);
}
.post-avatar img {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.hot-post img {
    max-width: 100%;
    transition: transform 0.3s ease, opacity 0.3s;
    -webkit-transition: -webkit-transform 0.3s ease, opacity 0.3s;
    transition-timing-function: ease;
}
.hot-post .post-meta {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    z-index: 1;
    padding: 0px;
}
.post-item .category {
    display: inline-block;
    background: rgba(0,0,0,.75);
    padding: 3px 10px;
    margin-left: 10px;
    color: #fff;
    text-transform: uppercase;
    font-size: 10px;
    font-family: 'Roboto',sans-serif;
}
.hot-post .post-meta a {
    display: block;
    text-align: left;
    padding: 8px;
    color: #ffffff;
    font-style: normal;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,1);
    font-size: 90%;
}
.hot-post .lft-block .post-meta a {
    font-size: 20px;
    padding: 10px;
}
.hot-post .post-item:hover img {
    transform: scale3d(1.1,1.1,1);
    -webkit-transform: scale3d(1.1,1.1,1);
    -moz-transform: scale3d(1.1,1.1,1) rotate(.02deg);
}
.hot-post .rgt-block .post-item {
    float: left;
    width: 249px;
}
.hot-post .rgt-block .post-item:nth-child(-n+2) {
    margin-bottom: 3px;
}
.hot-post .rgt-block .post-item:nth-child(odd) {
    margin-right: 3px;
}
.post-avatar .video-play-ico img {
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}
.post-avatar.avatar-xs .video-play-ico img {
    width: 30px;
}
.rgt-block .img_top_home{
    height: 144px;
    width: 100%;
}
.home_title{
    font-family: bebas;
    border-bottom: 1px solid #718088;
    padding-bottom: 5px;
}
.thumbnail,
.img-thumbnail {}
.navbar-default {
    background-color:#015cb9;
    border:none;
    border-radius:0;
    min-height:40px;
}
.navbar-default .navbar-nav > li > a {
    color:#fff;
    font-size:17px;
    letter-spacing:0;
    text-transform:uppercase;
    transition:all 0.3s ease 0s;
    font-family: bebas;
}
.navbar-nav > li {
    padding-left: 10px;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color:#fff;
    background-color:#fb7d43;

    /*background-color:#b60b11;
    */;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .active > a {
    color:#fff;
    background-color:#fb7d43;

    /*background-color:#b60b11;
    */;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #fff;
    background-color: #fb7d43;
    border-radius: 3px;
    padding: 6px 14px;
    margin-top: 4px;
    box-shadow: 1px 1px 4px #6d709e;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
    color:#fff;
    background-color:#fb7d43;

    /*background-color:#b60b11;
    */;
}
.navbar-static-top,
.navbar-fixed-top,
.navbar-fixed-bottom {
    border-radius:0;
}
.dropdown-menu > li > a {
    background:none repeat scroll 0 0 #fff;
    border-bottom:1px solid #d4d4d4;
    border-left:1px solid #d4d4d4;
    border-right:1px solid #d4d4d4;
    color:#555;
    font-size:12px;
    letter-spacing:0;
    min-width:140px;
    padding:10px 15px;
    text-transform:uppercase;
    transition:all 0.3s ease 0s;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background-color:#fb7d43;
    color:white;

    /*color:#c71c22;
    */;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    background-color:#fb7d43;
    color:white ;

    /*color:#c71c22;
    */;
}
.top_main_header{
    text-align: right;
    padding-top: 10px !important;
}
.top_main_header_1{
    padding-bottom: 10px;
}
@media (max-width:767px) {
    .menu_mobile_top_1{
        padding: 0px;
    }
    #myNavbar{
        border-top: 1px solid #ffe6e7;
    }
    .menu_mobile_top{
        margin-left: 0px;
        padding-left: 0px;
        list-style: none;
        line-height: 37px;
        font-size: 17px;
    }
    .menu_mobile_top li a{
        color: #525252;
    }
    .menu_mobile_top > li > a{
        width: 100%;
        background-color: #dc0c14;
        display: table;
        color: #fff;
    }
    .menustyle{
        padding-top: 5px;
    }
    .navbar .navbar-nav .open .dropdown-menu > .active > a,
    .navbar .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar .navbar-nav .open .dropdown-menu > .active > a:focus {
        color:#fff;
        background-color:#666;
    }
    .top_main_header {
         text-align: left; 
    }
    .hot-post {
        height: auto;
        background-size: 170% 100%;
    }
}
.box-contact-email-phone {
    background: url(../../images/hot-line-icon.png) no-repeat left center;
    padding-left: 48px;
    float: right;
}
.box-contact-email-phone h2 {
    font-weight: bold;
    margin-bottom: 2px;
    font-size: 100%;
    margin-top: 6px;
}
.box-contact-email-phone a {
    color: #000;
}


a {
    text-decoration:none;
}
a:hover,
a:focus {
    transition:all 0.2s ease-in-out 0s;
    text-decoration:none;
}
i.fa {
    padding-right:5px;
}
.divider {
    clear:both;
    height:1px;
    margin:0 0 5px 0;
    width:100%;
}
label {
    margin-right:10px;
}
.block-title {
    margin: 0px 0px 5px 0px;
    border-bottom: 3px solid #718088;
    position: relative;
}
.block-title h2 {
    display: inline;
    font-size: 16px;
}
.block-title h2 a{
    color:white; 
}
.block-title h2 >span {
    display: inline-block;
    font-weight: bold;
    padding: 0 18px;
    text-transform: uppercase;
    line-height: 37px;
    position: relative;
    color: #fff;
    background: #718088;
}
.block-title.title1 h2 >span:before {
    border-right: 20px solid transparent;
    border-bottom: 37px solid #718088;
    content: "";
    display: inline-block;
    height: 0;
    position: absolute;
    right: -20px;
    top: 0;
    width: 0;
}
/*slide*/
.slide_main {

    /*    margin-left:-10px;
      margin-right:-10px;
    */;
}
.slidex {
    position:relative;
    z-index:0;
}
.slidex img {
    max-width:100%;
    width:100%;
}
.nivo-controlNav {

    /*display:none !important;
    */;
}
.nivo-caption {
    /*display:none !important;*/
}
.top_banner {
    display:block;
    margin-top:10px;
}
.top_banner img {
    width:100%;
    height:auto;
    max-width:100%;
}
.top_cart {
    margin-top:22px;
    padding-left:30px;
}
.top_logo {
    text-align:left;
}
a.logo {
    color:#c61f49;
    /*margin-left:50px;*/
}
a.logo img {

    width:320px;


    /*    max-width:100%;
    */
    /*height: 80px;*/
    /*padding-top: 14px;*/
}
a.logo span {
    font-weight:bold;
    font-size:30px;
    margin-top:13px;
    display:block;
    text-align:center;
    color:#fff;
    margin-left:15px;
}
a.logo span:hover,
a.logo span:focus {
    color:#fff;
    text-decoration:none;
}
.gotop {
    background:url("../../images/top.png") no-repeat scroll 0 0 rgba(0,0,0,0);
    bottom:170px;
    font-size:0;
    padding:25px;
    position:fixed;
    right:0;
    text-indent:0;
    z-index:9999;
}
.top_bar {
    background:#fbfbfb none repeat scroll 0 0;
    border-bottom:1px solid #e0e0e0;
}
.top_bar ul {
    display: block;
    margin-bottom: 0;
    overflow: hidden;
    padding-bottom: 6px;
    padding-left: 0;
    padding-top: 6px;
}
.top_bar ul li {
    color:#717171;
    float:left;
    font-size:11px;
    list-style:outside none none;
    padding-left:0px;
    padding-right:15px;
    text-transform:uppercase;
    width:auto;
}
.top_bar ul li a {
    color:#333;
}
.top_bar ul li i {
    font-size:18px;
    vertical-align:middle;
}
.top_main {

    /*padding-bottom:5px;*/
    /*padding-top:5px;*/
}
.top_hotline {
    margin-top:15px;
    text-align:right;
}
.top_hotline i.fa {
    padding:0;
}
.social {
    margin-top:20px;
    margin-bottom:20px;
    text-align:center;
}
.social a {}
a.t_facebook {
    background-color:#4b66b5;
    border-radius:100%;
    color:#fff;
    margin-left:10px;
    padding:6px 10px;
}
a.t_google {
    background-color:#c71c22;
    border-radius:100%;
    color:#fff;
    margin-left:2px;
    padding:6px 8px;
}
a.t_twitter {
    background-color:#49b2d2;
    border-radius:100%;
    color:#fff;
    margin-left:2px;
    padding:6px 8px;
}
a.t_cart {
    background-color:#718088;
    color:#fff;
    font-size:20px;
    padding:6px 5px 6px 6px;
}
a.t_cart_text {
    font-size:14px;
    color:#313131;
    text-decoration:none;
}
a.top_support {
    color:#333;
    font-family:"bebas";
    font-size:20px;
    text-decoration:none;
    text-transform:uppercase;
    vertical-align:top;
}
a.top_support:hover,
a.top_support:focus {
    text-decoration:none;
}
a.top_support i.fa {
    color:#c71c22;
}
a.top_support span {
    color:#c71c22;
}
.top_search {
    /*border-left:1px solid #d4d4d4;*/
    /*border-right:1px solid #d4d4d4;*/
    margin-top:39px;
    /*padding-left:30px;*/
    /*padding-right:30px;*/
    float: right;
}

/*search*/
.searchform {
    position:relative;
}
.searchinput {
    background: none repeat scroll 0 0 #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    color: #000;
    font-size: 12px;
    letter-spacing: 1px;
    max-width: 100%;
    padding: 7px 13px;
    width: 100%;
    margin: -8px 0px;
}
.searchsubmit {
    background: #718088 url(/images/search5.png) no-repeat scroll center 10px;
    border: medium none;
    font-size: 0;
    height: 34px;
    position: absolute;
    right: 1px;
    top: -7px;
    width: 39px;
}
/*block 0 */
.block0{
    background-color: #718088;
    padding-bottom: 12px;
}
.lineud{
    text-align: center;
    padding-top: 24px;
}
.lineud img{
    width:50%; 
}
.lineud1{
    text-align: center;
    font-size: 23px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-top: 0px;
    padding-bottom: 13px;
    background: url(../../images/ud1.jpg) no-repeat;
    background-position: center 0px;
    padding-top: 25px;
    margin-top: 20px;
    height: 70px;
}
.ud{
    margin-left: -20px;
    list-style: none;
}
.ud1{
    margin-left: 20px;
    float: left;
    width: 306px;
    padding-bottom: 14px;
}
.ud2{
    background: url('../../images/icon_ti.jpg') no-repeat;
    background-size: 46px;
    height: 57px;
    font-size: 17px;
    color: white;
    padding-left: 68px;
    text-transform: uppercase;
    line-height: 27px;
    background-position: 0px 6px;
}
.ud2.ud3{
    background-position: 0px -81px;
}
.ud2.ud4{
    background-position: 0px -168px;
}
.ud2.ud5{
    background-position: 0px -257px;
}
.ud2.ud6{
    background-position: 0px -342px;
}
.ud2.ud7{
    background-position: 0px -517px;
}
.imgd{
    width: 101px;
    float: left;
}
.sumd{
    width: 205px;
    float: left;
}
.sumd h3{
    font-size: 16px;
    color: #FFFFFF;
    text-transform: uppercase;
    line-height: 22px;
}.block0{
    background-color: #718088;
    padding-bottom: 12px;
}
.lineud{
    text-align: center;
    padding-top: 24px;
}
.lineud img{
    width:50%; 
}
.lineud1{
    text-align: center;
    font-size: 23px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-top: 0px;
    padding-bottom: 13px;
    background: url(../../images/ud1.jpg) no-repeat;
    background-position: center 0px;
    padding-top: 25px;
    margin-top: 20px;
    height: 70px;
}
.ud{
    margin-left: -20px;
    list-style: none;
}
.ud1{
    margin-left: 20px;
    float: left;
    width: 306px;
    padding-bottom: 14px;
}
.ud2{
    background: url('../../images/icon_ti.jpg') no-repeat;
    background-size: 46px;
    height: 57px;
    font-size: 17px;
    color: white;
    padding-left: 68px;
    text-transform: uppercase;
    line-height: 27px;
    background-position: 0px 6px;
}
.ud2.ud3{
    background-position: 0px -81px;
}
.ud2.ud4{
    background-position: 0px -168px;
}
.ud2.ud5{
    background-position: 0px -257px;
}
.ud2.ud6{
    background-position: 0px -342px;
}
.ud2.ud7{
    background-position: 0px -517px;
}
.imgd{
    width: 101px;
    float: left;
}
.sumd{
    width: 205px;
    float: left;
}
.sumd h3{
    font-size: 16px;
    color: #FFFFFF;
    text-transform: uppercase;
    line-height: 22px;
}

.block1,
.block2,
.block3 {
    margin-bottom:10px;
    margin-top:20px;
}
div.title,
h1.title {
    border-bottom:1px solid #d4d4d4;
    color:#262626;
    float:left;
    font-size:13px;
    font-weight:bold;
    line-height:1.35;
    margin:0 0 10px;
    padding-bottom:5px;
    text-transform:uppercase;
    width:100%;
}
div.title a.heading,
h1.title a.heading {
    color:#262626;
    float:left;
}
div.title a.heading:hover,
div.title a.heading:focus,
h1.title a.heading:hover,
h1.title a.heading:focus {
    text-decoration:underline;
}
div.title a.view-all {
    background:#f4f4f4 none repeat scroll 0 0;
    border-left:1px solid #d4d4d4;
    border-right:1px solid #d4d4d4;
    border-top:1px solid #d4d4d4;
    color:#262626;
    float:right;
    font-size:12px;
    font-weight:bold;
    margin-bottom:-5px;
    padding:5px 10px;
    text-transform:none;
}
.homebox,
.homebox2 {
    display:block;
}
.homeads,
.homeads2,
.homeads3,
.homeads0 {}
.homeads a,
.homeads2 a,
.homeads3 a,
.homeads0 a {
    display:block;
    margin-bottom:15px;
    overflow:hidden;
}
.homeads img,
.homeads2 img,
.homeads3 img,
.homeads0 img {
    width:100%;
    height:auto;
    max-width:100%;
}
.homeads0 img {
    -webkit-transition:all 1s ease;
    -moz-transition:all 1s ease;
    -ms-transition:all 1s ease;
    -o-transition:all 1s ease;
    transition:all 1s ease;
}
.homeads0 a:hover img {
    -webkit-transform:scale(1.07);
    -moz-transform:scale(1.07);
    -ms-transform:scale(1.07);
    -o-transform:scale(1.07);
    transform:scale(1.07);
}

/*home deal*/
.home_deal {
    background:#fff none repeat scroll 0 0;
    border:1px solid #c9c9c9;
    margin-left:-10px;
    margin-right:-10px;
    padding:55px 10px 10px;
}
.home_deal > a {
    display:block;
    border:1px solid #c9c9c9;
    position:relative;
}
.home_deal > a > img {
    width:100%;
    height:auto;
    max-width:100%;
}
.home_deal .price {
    color:#C71C22;
    font-size:25px;
    padding:20px 20px 10px;
    text-align:center;
}
.home_deal > h3 {}
.home_deal > h3 > a {
    color:#2f2f2f;
    font-size:13px;
    font-weight:bold;
    line-height:20px;
    text-transform:uppercase;
}
.home_deal > h3 > a:hover,
.home_deal > h3 > a:focus {
    text-decoration:underline;
}
.home_deal .price_old {}
.home_deal .price_discount {}
.home_deal p strong {
    font-size:12px;
}
.home_deal .buynow {
    background:#c71c22 none repeat scroll 0 0;
    border-radius:5px;
    color:#fff;
    display:block;
    font-size:16px;
    font-weight:bold;
    margin-top:5px;
    padding:10px 13px;
    text-align:center;
    text-transform:uppercase;
    width:100%;
}
.home_deal .buynow:hover,
.home_deal .buynow:focus {
    background-color:#DE4C4A;
}
.home_deal .saleoff {
    background-image:url("../../images/element.png");
    background-position:0 -1699px;
    background-repeat:no-repeat;
    height:78px;
    position:absolute;
    right:0;
    text-align:center;
    text-indent:30px;
    top:0;
    width:89px;
}
.home_deal .saleoff span {
    color:#fff;
    font-size:16px;
    font-weight:bold;
    line-height:45px;
}
.home_deal .timer {
    background:#c0392b none repeat scroll 0 0;
    color:#fff;
    font-size:15px;
    font-weight:bold;
    left:0;
    margin-top:0;
    padding:15px 10px;
    position:absolute;
    text-transform:uppercase;
    top:0;
    width:100%;
}
.link-more {
    border:1px solid #c9c9c9;
    display:block;
    margin:10px -10px;
}
.link-more a {
    color:#c71c22;
    display:block;
    font-size:13px;
    font-weight:bold;
    padding:8px 15px;
}
.link-more a:hover,
.link-more a:focus {
    text-decoration:underline;
}
.homecat {}
.homecat_item {
    background-color:#EA5A14;
    border-radius:5px;
    -webkit-box-shadow:0 1px 3px 0 #555;
    -moz-box-shadow:0 1px 3px 0 #555;
    box-shadow:0 1px 3px 0 #555;
    display:block;
    margin-bottom:14px;
    overflow:hidden;
}
.homecat_item:hover {
    box-shadow:0 2px 3px #555;
    -webkit-box-shadow:0 2px 3px 0 #555;
    -moz-box-shadow:0 2px 3px 0 #555;
    box-shadow:0 2px 3px 0 #555;
}
.homecat_item a {
    display:block;
    text-decoration:none;
}
.homecat_item a img {
    display:inline-block;

    /*    width:auto;
      height:85px;
    */
    width:100%;
    height:auto;
}
.homecat_item a p {
    color:#fff;
    display:inline-block;
    font-size:14px;
    font-weight:bold;
    margin-bottom:0;
    text-align:center;
    text-transform:uppercase;
    vertical-align:middle;
    width:195px;
}
.homecat_item a p span.homecat_summary {
    display:block;
    font-size:11px;
    font-weight:normal;
    text-transform:none;
}
.item {
    margin-bottom:10px;
    transition:all 0.2s linear 0s;
}

/*.item:hover,
.item:focus {
  border:1px solid #000;
}
*/
.item .item-image {
    margin-bottom:8px;
    position:relative;
    display:inline-block;
}
.discount {
    float:left;
    position:absolute;
    right:0;
    top:0;
}
.discount span {
    background:#c9212a none repeat scroll 0 0;
    border:1px solid transparent;

    /*border-radius:100%;
    */
    color:#fff;
    float:left;
    font-size:14px;
    font-weight:bold;
    padding:5px;
}
.item .item-image img {
    border:1px solid #d4d4d4;
    width:100%;
    height:195px;
    max-width:100%;
}
.mega-left-title {
    height: 45px;
    padding-left: 57px;
    position: relative;
    background-color: #015cb9;
}
.mega-left-title strong {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    line-height: 45px;
    text-transform: uppercase;
}
.mega-left-title strong:before {
    width: 45px;
    height: 45px;
    content: "";
    display: inline-block;
    background-image: url(../../images/icon-ver-menu.png);
    background-repeat: no-repeat;
    background-position: center center;
    left: 0px;
    top: 0px;
    position: absolute;
    background-color: #fb7d43;
}
span.category a,
span.category {
    color:#c71c22;
    display:inline-block;
    font-size:12px;
    font-weight:bold;
    letter-spacing:1px;
    margin-bottom:5px;
    text-decoration:none;
    text-transform:uppercase;
}
.item h3 {
    margin:0;
}
.item h3 a {
    color:#000;
    display:block;
    font-size:13px;
    line-height:20px;
    margin-bottom:8px;
    word-wrap:break-word;
}
.item h3 a:hover,
.item h3 a:focus {
    text-decoration:underline;
}
.item p {
    color:#777;
    font-size:13px;
    line-height:20px;
    margin-bottom:10px;
}
.item span.item_meta {
    color:#aaa;
    font-size:11px;
}
.item span.item_meta span.line {
    color:#ddd;
    margin:0 5px;
}
.item span.item_meta a {
    color:#aaa;
    transition:all 0.3s ease 0s;
}
.item h4 {
    color:#cc0000;
    font-size:15px;
    font-weight:bold;
}
.item .price {
    font-size:13px;
    margin-right:5px;
}
.item .price_old {
    font-size:13px;
    margin-left:5px;
}
.partner {
    border-bottom:1px solid #d4d4d4;
    border-top:1px solid #d4d4d4;
    clear:both;
    margin-bottom:5px;
    margin-top:5px;
    overflow:hidden;
    padding-bottom:5px;
    padding-top:5px;
    text-align:center;
}
.partner_inner {
    background:none repeat scroll 0 0 #fff;
    overflow:hidden;

    /*padding:15px 50px;
    */;
}
.partner_item {
    height: 62px;
    padding-top: 14px;
}
.partner_item img {
    height: 35px;
}
.owl-buttons .owl-prev {
    background:url("../../images/owl-left.png") no-repeat scroll 37px center #fff;

    /*border-radius:100%;
    */
    font-size:0;
    height:60px;
    left:-30px;
    position:absolute;
    top:30%;
    width:60px;
}
.owl-buttons .owl-next {
    background:url("../../images/owl-right.png") no-repeat scroll 13px center #fff;

    /*border-radius:100%;
    */
    font-size:0;
    height:60px;
    right:-30px;
    position:absolute;
    top:30%;
    width:60px;
}
.owl-buttons {
    display:none;
}
.col-sm-push-2_n{
    left: 20%;
}
.col-sm-pull-8_n{
    right: 60%;
}
/*footermain*/
h3.footer_main_title {
    border-bottom:1px solid #595959;
    color:#fff;
    font-size:13px;
    font-weight:bold;
    margin-bottom:20px;
    margin-top:0;
    padding-bottom:10px;
    padding-top:20px;
    text-transform:uppercase;
}
.menulist {}
.menulist ul {
    padding-left:15px;
    overflow:hidden;
}
.menulist ul li {
    color:#C9212A;
    list-style:square;
}
.menulist ul li a {
    color:#fff;
    font-size:13px;
    line-height:25px;
}
.menulist ul li a:hover,
.menulist ul li a:focus {
    color:#fff;
    text-decoration:underline;
}
.connection {}
.connection ul {
    display:block;
    margin:10px 0;
    overflow:hidden;
    padding-left:0;
}
.connection ul li {
    float:left;
    height:34px;
    margin-right:15px;
    width:35px;
    list-style:none;
}
.connection ul li a {
    background-image:url("../../images/element.png");
    background-repeat:no-repeat;
    float:left;
    height:34px;
    width:35px;
}
.connection ul li .facebook {
    background-position:-188px -408px;
}
.connection ul li .youtube {
    background-position:-188px -623px;
}
.connection ul li .twt {
    background-position:-188px -479px;
}
.connection ul li .wpress {
    background-position:-188px -550px;
}
.connection ul li .google {
    background-position:-188px -336px;
}
.connection h3 {
    float:left;
    width:85px;
}
.connection h3 a.qrcode {
    background-image:url("../../images/element.png");
    background-position:-188px -708px;
    background-repeat:no-repeat;
    float:left;
    height:78px;
    width:78px;
}
.connection p {
    float:left;
    margin-top:20px;
    padding-left:10px;
    width:130px;
}
.connection p a {
    float:left;
    margin-bottom:10px;
    width:100%;
}
.connection p a.appstore {
    background-image:url("../../images/element.png");
    background-position:-188px -850px;
    background-repeat:no-repeat;
    height:35px;
}
.connection p a.googleplay {
    background-image:url("../../images/element.png");
    background-position:-188px -942px;
    background-repeat:no-repeat;
    height:35px;
}

/*footer*/
.footer_bar {
    background:#128995 none repeat scroll 0 0;
    color:#fff;
    margin-top:30px;
    padding-bottom:10px;
    padding-top:10px;
    text-align:center;
    text-transform:uppercase;
}
.footer_main {
    background:#718088 none repeat scroll 0 0;
    padding-bottom:20px;
    padding-top:20px;
}
footer {
    background-color:#ebebed;
    color:#313131;
}
.footer {}
.footer a {
    color:#313131;
}
.footer_contact {
    font-size:13px;
    padding-bottom:15px;
    padding-top:15px;
    text-align:center;
}
.footer_contact p {
    margin-bottom:0;
}

/*main*/
.main {
    margin-bottom:20px;
    margin-top:11px;
    overflow:hidden;
}

/*box*/
.box {
    padding: 20px 10px;
}
.box > h3 {
    border-bottom:1px solid #c71c22;
    color:#555;
    font-size:18px;
    margin-bottom:20px;
    margin-top:15px;
    padding-bottom:10px;
    text-transform:uppercase;
}

/*post*/
.post-header {
    clear:both;
}
.post-header > h3 {
    border-bottom:1px solid #c71c22;
    color:#555;
    font-size:18px;
    margin-bottom:20px;
    padding-bottom:10px;
    text-transform:uppercase;
}
.post-header > h3 > a {
    color:#555;
    text-decoration:none;
}
.post-header h1 {
    clear:both;
    color:#c71c22;
    display:inline-block;
    font-size:16px;
    font-weight:bold;
    line-height:28px;
    margin-top:10px;
    text-transform:uppercase;
    word-wrap:break-word;
}
span.post-meta {
    color:#999;
    display:block;
    font-size:12px;
    font-style:italic;
    margin-bottom:10px;
}
span.post-meta a {
    color:#999;
}
span.post-meta span.line {
    color:#bbb;
    font-size:16px;
    margin:0 6px;
}
.post-entry {
    clear:both;
    margin-bottom:25px;
    overflow:hidden;
}
.post-entry img,
.post-entry table {
    height:auto !important;
    max-width:100% !important;
}
.post-entry table td {
    padding:3px 5px;
}
.post-summary {
    font-size:16px;
    font-weight:bold;
    line-height:23px;
    margin-top:0;
}
.post-entry p {
    line-height:23px;

    /*margin-bottom:18px;
    */;
}
.post-entry p a img {
    border-bottom:1px solid #999 !important;
    vertical-align:middle;
}
.post-share {
    border:1px solid #d4d4d4;
    margin-bottom:25px;
    padding:18px 16px 16px;
    transition:all 0.2s ease 0s;
}
.post-share:hover {
    border:1px solid #444;
}
.post-share:hover > span.share-text {
    color:#222;
}
.post-share span.share-text {
    color:#aaa;
    font-size:19px;
    font-weight:700;
    margin-right:34px;
    text-transform:uppercase;
    transition:all 0.2s ease 0s;
    vertical-align:top;
}
.post-entry .post-tags {
    clear:both;
    margin-top:25px;
}
.post-entry .post-tags a {
    border:1px solid #d4d4d4;
    color:#888;
    display:inline-block;
    font-size:11px;
    letter-spacing:1px;
    margin-bottom:5px;
    margin-right:8px;
    padding:5px 7px;
    text-decoration:none;
    text-transform:uppercase;
    transition:all 0.2s ease 0s;
}
.post-entry .post-tags a:hover {
    border:1px solid #414141;
    color:#000;
}
#respond {
    margin-bottom:20px;
    overflow:hidden;
}

/*sharing button*/
.sharing {
    display:inline-block;
}
.sharing_tab {
    float:left;
    margin-right:15px;
    width:auto;
}
.facebook_comment {
    margin:25px 0 10px;
    overflow-x:auto;
    overflow-y:hidden;
}

/*sidebox*/
.sidebox {
    /*margin-bottom:25px;*/
}
.sidebox > h3 {
    color:#fff;
    font-size:14px;
    font-weight:bold;
    margin:0;
    padding:15px 5px;
    text-align:center;
    text-transform:uppercase;
}
.side_item {
    padding-bottom:10px;
}
.side_item img {
    max-width:100%;
    height:auto;
    width:100%;
}
.side_item h3 a {
    color:#333;
    display:block;
    font-weight:bold;
    font-size:15px;
    line-height:24px;
    text-decoration:none;
    word-wrap:break-word;
}
.side_item span.item_meta {
    color:#aaa;
    font-size:11px;
}
.side_item span.item_meta span.line {
    color:#ddd;
    margin:0 5px;
}
.side_items {
    color:#333;
    margin-top:10px;
    padding-left:10px;
    padding-right:10px;
}
.side_items a {
    color:#333;
    display:block;
    font-size:14px;
    font-weight:bold;
    margin-bottom:5px;
    padding-top:10px;
    text-decoration:none;
    word-wrap:break-word;
}
.side_items_title {
    line-height:20px;
    padding-left:0;
    padding-right:0;
}
.line {
    border-top:1px solid #e5e5e5;
}

/*grid*/
.grid {}
.grid > h3 {
    border-bottom:1px solid #c71c22;
    color:#555;
    font-size:18px;
    margin-bottom:20px;
    margin-top:15px;
    padding-bottom:10px;
    text-transform:uppercase;
}
.grid_title {}
.grid_title a {
    color:#c71c22;
    font-weight:bold;

    /*font-size:14px;
    */;
}
.grid_title a:hover,
.grid_title a:focus {
    color:#c71c22;
    text-decoration:none;
}
.grid .thumbnail {
    background:none repeat scroll 0 0 transparent;
    border:medium none;
    border-radius:0;
    margin-bottom:10px;
    padding:0;
}
.grid .thumbnail img {
    background:none repeat scroll 0 0 #fff;
    border:1px solid #d4d4d4;
    box-shadow:0 1px 3px rgba(0,0,0,0.055);
    padding:5px;
    transition:all 0.2s ease-in-out 0s;
}
.grid .thumbnail img:hover {
    box-shadow:0 1px 3px rgba(0,0,0,0.3);
}
.grid .caption {
    margin-top:10px;
    padding:0;
}
.grid .caption p {
    margin-bottom:5px;

    /*text-align:center;
    */;
}
.grid .caption span {
    font-size:13px;
}
.grid_price strong {
    color:#EA5A14;
    font-size:16px;
}
.grid_summary {
    text-align:justify;
}

/*grid same*/
.grid_same {
    margin-top:30px;
    margin-bottom:10px;
}
.grid_same > strong {
    border-bottom:1px solid #d4d4d4;
    display:block;
    font-size:9pt;
    font-weight:700;
    margin:0 0 10px;
    padding-bottom:10px;
    text-align:left;
}
.grid_same .same-image {
    display:inline-block;
    position:relative;
    width:40%;
    vertical-align:top;
}
.grid_same .same-image img {
    width:100%;
    height:auto;
    max-width:100%;
}
.grid_same .same-image .discount span {
    padding:0;
    font-size:10px;
}
.grid_same .same-content {
    display:inline-block;
    margin-left:10px;
    width:50%;
}
.grid_same .same-content h3 {
    margin-top:0;
}
.grid_same .same-content h3 a {
    color:#555;
    font-size:13px;
    font-weight:bold;
}
.grid_same .same-content h3 a:hover {
    text-decoration:underline;
}
.grid_same .same-content .price {
    display:block;
    font-size:20px;
    margin-right:0;
}
.grid_same .same-content .price_old {
    display:block;
}
.grid_same .same-item {
    border-bottom:1px dashed #d4d4d4;
    margin-bottom:10px;
    padding-bottom:10px;
}

/* payment */
.title_payment {
    font-size:19px;
    border-bottom:1px solid rgb(229,229,229);
    padding-bottom:10px;
}
.st_xn_pay {
    font-size:18px;
    font-weight:bold;
    border-bottom:1px solid rgb(218,218,218);
    padding-bottom:7px;
}
.payment_box {
    padding:24px 12px;
    background-color:rgb(245,245,245);
    margin:0 0 10px;
    border-radius:3px;
}
.title_pay1 {
    font-size:16px;
    font-weight:bold;

    /*padding-bottom:10px;
    */;
}

/*phan trang paging*/
.paging {
    clear:both;
    display:inline-block;
    margin-bottom:20px;
    margin-top:20px;
    text-align:right;
    width:100%;
}
.paging > strong,
.paging > a {
    background:#f9f9f9;
    border:1px solid #d4d4d4;
    color:#333;
    cursor:pointer;
    display:inline-block;
    font-weight:bold;
    padding:10px 16px;
    text-decoration:none;
    transition:all 0.2s ease 0s;
}
.paging > a:hover,
.paging > a:focus {
    background:#fefefe;
}
.paging > strong {
    background:#c9212a;
    color:#fff;
}

/*contact*/
.contact {
    margin-top:20px;
    margin-bottom:20px;
}
.contact_title {
    margin-bottom:20px;
    margin-top:0;
    text-transform:uppercase;
}
.contactform {}
.contactinfo {}
.contactform form {}
.contactinput {
    border:1px solid #bbb;
    margin:5px 0;
    padding:5px;
    width:100%;
}
.contactinput:focus {}
.contactsubmit {
    background:url("../../images/list_icon_white.png") no-repeat scroll right 10px center #ea5a14;
    border:1px solid transparent;
    border-radius:3px;
    color:#fff;
    float:right;
    font-weight:bold;
    margin:20px 0;
    padding:6px 25px 6px 15px;
    text-decoration:none;
    white-space:nowrap;
    font-size:16px;
}
.contactsubmit:hover,
.contactsubmit:focus {
    color:#fff;
}
.contactinfo a {
    color:#333;
}

/*sidesupport*/
.sidesupports {
    background:none repeat scroll 0 0 #c71c22;
    border:1px solid #d4d4d4;
}
.sidesupports a {
    display:block;
}
.supports_box {}
.supports_box p {
    background:none repeat scroll 0 0 #fff;
    padding:10px;
}
.supports_tel {
    background-color:#fff;
    color:#333;
    font-size:13px;
    margin-bottom:0;
    padding:10px 5px;
    text-align:center;
    text-transform:none;
}
.supports_tel span {
    color:#c71c22;
    font-family:"bebas";
    font-size:20px;
}
.supports_skype,
.supports_yahoo {
    background-color:#fff;
    color:#333;
    margin-bottom:0;
    padding:5px;
    text-align:center;
}
.supports_skype > strong,
.supports_yahoo > strong,
.supports_tel > strong {
    display:block;
    margin-bottom:5px;
}
.supports_skype > a > img,
.supports_yahoo > a > img {
    max-width:100%;
    margin-bottom:5px;
    width:auto;
}

/*related*/
.related {
    margin-top:30px;
}
.related h3 {
    display:inline-block;
    float:left;
    font-size:9pt;
    font-weight:700;
    margin:0 0 1em;
}
.related h3 em {
    border-top:1px solid rgba(0,0,0,0.2);
    content:"";
    display:block;
    margin-bottom:1em;
    min-width:30px;
    padding-top:10px;
    font-style:normal;
    width:100%;
}
.related_item {
    opacity:0.8;
    transition:all 0.3s ease 0s;
}
.related_item:hover {
    opacity:1;
}
.related_item h4 {

    /*padding:0 10px;
    */;
}
.related_item h4 a {
    color:#c71c22;
    font-size:13px;
    font-weight:bold;
    line-height:20px;
}
.related_item_image {}
.related_item_image img {
    height:auto;
    max-width:100%;
    width:100%;
}

/*products*/

.infomation {
    line-height:24px;
    margin-bottom:10px;
}
.infomation > div {
    margin-top:5px;
}
.infomation > h1 {
    border-bottom:1px solid #d4d4d4;
    color:#000;
    display:block;
    font-size:18px;
    font-weight:bold;
    line-height:26px;
    margin-top:0;
    padding-bottom:10px;
    word-wrap:break-word;
}
.infomation h2 {
    display:inline;
    font-size:14px;
    font-weight:normal;
    line-height:24px;
    margin:0;
}
.description,
.summary {
    color:#555;
    overflow:hidden;
    line-height:23px;
    margin-bottom:18px;
}
.description table,
.description img,
.summary table,
.summary img {
    height:auto !important;
    max-width:100% !important;
}
.description table td,
.summary table td {
    padding:3px 5px;
}
.price {
    color:#c71c22;
    font-size:26px;
    font-weight:bold;
    margin-right:15px;
}
.price_old {
    color:#2f2f2f;
    font-size:15px;
    text-decoration:line-through;
}
.addtocart {
    background:#ea5a14 none repeat scroll 0 0;
    border:1px solid transparent;
    border-radius:3px;
    color:#fff;
    display:block;
    font-size:16px;
    font-weight:bold;
    margin:20px 0;
    padding:10px 15px;
    text-decoration:none;
    text-transform:uppercase;
    width:100%;
}
.addtocart:hover,
.addtocart:focus {
    background-color:#de4e08;
}
.contact_order_submit {
    background:#ea5a14 none repeat scroll 0 0;
    border:1px solid transparent;
    border-radius:3px;
    color:#fff;
    display:block;
    font-size:16px;
    font-weight:bold;
    margin:20px 0;
    padding:10px 15px;
    text-decoration:none;
    width:100%;
}
.contact_order_submit:hover,
.contact_order_submit:focus {
    background-color:#de4e08;
}
.order_tel {
    font-size:16px;
    font-weight:bold;
    text-align:center;
}
.order_tel span {
    color:#c71c22;
}
.tablesize {
    color:#000;
    text-decoration:underline;
}
.tablesize:hover,
.tablesize:focus {
    color:#000;
}
.tab-content {
    padding-top:20px;

    /*padding-right:20px;
    */;
}
.sizebox {
    background:#fff none repeat scroll 0 0;
    border:1px solid #c9c9c9;
    color:#000;
    cursor:pointer;
    display:inline-block;
    font-size:16px;
    margin-top:10px;
    padding:5px 9px;
    vertical-align:middle;
}
.sizebox:hover,
.sizebox_selected {
    background-color:#2d2d2d;
    color:#fff;
}

/*cart*/
.cart {
    clear:both;
    margin-bottom:20px;
}
.cart > h3 {
    background:none repeat scroll 0 0 #000;
    color:#fff;
    font-size:18px;
    margin:0 0 10px;
    padding:10px;
    text-transform:uppercase;
}
.cart_price {
    font-weight:bold;
}
.total_price {
    font-weight:bold;
    text-align:right;
}
.cart th,
.cart td {}

/*coupon*/
.coupon {}
.coupon form {
    text-align:right;
}
.coupon form input[type='text'] {
    display:inline-block;
    width:200px;
}
.coupon form input[type='submit'] {
    border:1px solid #d4d4d4;
    display:inline-block;
    vertical-align:top;
}

/*html5gallery*/
.html5gallery {
    overflow:hidden;
}
.html5gallery-container-0 {}
.html5gallery-elem-0 > a {
    display:none;
}
.html5gallery-elem-img-0 {
    background:#fff none repeat scroll 0 0;
    height:100% !important;
    width:100% !important;
}
.html5gallery-elem-img-0 > a {
    display:none;
}
.html5gallery-elem-image-0 {
    display:inline-block;
    height:auto !important;
    left:0 !important;
    max-height:100% !important;
    position:static !important;
    top:0 !important;
    width:auto !important;
}
.html5gallery-title-0,
.html5gallery-title-0:hover,
.html5gallery-title-0:focus {
    display:none !important;
}
.html5gallery-tn-img-play-0 {
    display:none !important;
}
.html5gallery-play-0,
.html5gallery-pause-0 {
    left:auto !important;
    right:50px;
}
.html5gallery-lightbox-0 {
    left:auto !important;
    right:0;
}
.html5gallery-right-0 {
    left:auto !important;
    right:0;
}

/*list*/
.list {
    clear:both;
    overflow:hidden;
}
.list > h3 {
    border-bottom:1px solid #c71c22;
    color:#555;
    font-size:18px;
    margin-bottom:20px;
    padding-bottom:10px;
    text-transform:uppercase;
}
.list > h3 > a {
    color:#555;
    text-decoration:none;
}
.list_ts .list_item{
    margin-bottom: 10px;
}
.list_item {
    clear:both;
    display:block;
    border-bottom:1px solid #d4d4d4;
    padding:15px 0;
}
.list_thumb a {
    display:inline-block;
}
.list_thumb img {
    width:100%;
    height:auto;
    max-width:100%;
    border:1px solid #d4d4d4;
    padding:3px;
}
.list_content {
    display:block;
}
.list_content p {
    clear:both;
}
.list_title {
    margin-top:5px;
}
.list_title a {
    color:#333;
    font-weight:bold;
    font-size:16px;
}
.list_title a:hover,
.list_title a:focus {
    color:#c71c22;
}
.list_summary {
    text-align:justify;
}
a.viewmore {
    background:#fb7d43 url("../../images/list_icon_white.png") no-repeat scroll right 10px center;
    border:1px solid transparent;
    color:#fff;
    float:right;
    font-size:13px;
    font-weight:bold;
    margin:10px 0 0;
    padding:5px 25px 5px 15px;
    text-decoration:none;
    text-transform:lowercase;
    white-space:nowrap;
}
a.viewmore:hover,
a.viewmore:focus {
    color:#fff;
}

/*detail*/
.detail {}
.detail h1 {
    border:0 none;
    color:#303030;
    font-size:20px;
    font-weight:bold;
    line-height:30px;
    margin:15px 0;
    padding:0;
}
.detail-summary {
    color:#303030;
    font-size:15px;
    font-weight:bold;
    line-height:20px;
    margin:5px 0 20px;
    text-align:justify;
}
.detail-content {
    margin-bottom:30px;
}
.detail-content p {
    text-align:justify;
}
.detail-content img,
.detail-content table {
    max-width:100% !important;
    height:auto !important;
}
.detail p {
    text-align:justify;
}
.detail img,
.detail table,
.detail_content img,
.detail-content table,
.box_content img,
.box_content table {
    max-width:100% !important;
    height:auto !important;
}
.detail table td,
.detail-content table td,
.box_content table td {
    padding:3px 5px;
}

/*post time*/
.list_ts .posted_on{
    border-bottom: 0px solid #d4d4d4; 
    border-top: 0px solid #d4d4d4; 
    margin-bottom: 0px;
}
.posted_on {
    border-bottom:1px solid #d4d4d4;
    border-top:1px solid #d4d4d4;
    color:#727272;
    font-size:11px;
    padding:3px 0;
    margin-bottom:5px;
}
.posted_on span {
    margin-left:10px;
    margin-right:10px;
}

/*sortby*/
.sortby {
    margin-bottom:5px;
}

/*filter*/
.sidefilter {
    background:#fff;
    border:1px solid #d4d4d4;
}
.filter {
    padding:10px 15px;
}
.filter a {
    cursor:pointer;
}
.filter h4 {
    margin-top:5px;
}
.filter ol {
    background:#f8f8f8 none repeat scroll 0 0;
    border:1px solid #d4d4d4;
    height:100px;
    overflow-y:scroll;
    padding:5px 0 0;
}
.filter ol li {
    float:left;
    padding:2px 2px 2px 5px;
    width:100%;
}
.filter ol li a {
    color:#000;
    display:block;
}
.filter ol li a:hover,
.filter ol li a:focus {
    text-decoration:underline;
}
.filters {}
.filters p {
    position:relative;
    margin-bottom:5px;
}
.filters a {
    clear:both;
    color:#de4c4a;
    cursor:pointer;
    position:absolute;
    right:0;
    top:3px;
}

/*quick support*/
div.quick_support {
    margin-top:15px;
}
.quick_support i.fa {
    color:#555;
    font-size:18px;
    margin-right:7px;
    width:30px;
}
.quick_support i.fa-angle-down {
    float:right;
}
.quick_support .panel-heading {
    padding:0;
}
.quick_support .panel-title > a {
    display:block;
    font-size:13px;
    font-weight:bold;
    padding:10px 15px;
}
.quick_support .panel-body {
    line-height:24px;
}

/*sidemenuleft*/
.sidemenuleft {
    background-color:#fff;
    border:1px solid #d4d4d4;
}
.sidemenuleft ul {
    clear:both;
    line-height:28px;
    margin-bottom:0;
    padding:15px;
}
.sidemenuleft ul.navsub {
    padding-top:0;
    padding-bottom:0;
}
.sidemenuleft ul li {
    list-style:outside none;
    padding-left: 10px;
}
.sidemenuleft ul li {
    background: url('../../images/li0.png') no-repeat;
    background-position: 0px 10px;
}
.sidemenuleft a {

    /*display:block;
    */
    color:#2f2f2f;
    font-size:16px;
    font-weight:normal;
}
.sidemenuleft a:hover,
.sidemenuleft a:focus {
    text-decoration:underline;
}
.sidemenuleft a.active {
    color:#c71c22;
}
.sidemenuleft a i {
    color:#c71c22;
}
.sidemenuleft h3 {
    border-bottom:4px solid #c9212a;
    color:#000;
    float:left;
    font-size:13px;
    font-weight:bold;
    margin-left:15px;
    min-width:78px;
    padding-bottom:5px;
    padding-left:0;
    text-transform:uppercase;
}
.list_ts{
    list-style: none;
    padding-left: 0px;
}
.li_ts {
    background: url(../../images/li0.png) no-repeat;
    padding-left: 10px;
    background-position: 0px 6px;
}
/*ul {
  padding-left:15px;
}
*/
#menuside li > ul {
    display:none;
}
#menuside li.active > ul {
    display:block;
}

/*RESPONSIVE*/
@media (min-width:992px) {

    /*gallery*/    .html5gallery-box-0 {
        left:0 !important;
        top:0 !important;
        width:100% !important;
    }
    .html5gallery-elem-0 {
        height:100% !important;
        width:100% !important;
    }
    .html5gallery-right-0 {
        ;
    }
    .container {
        width: 100%;
        position: relative;
    }
}
@media (min-width:768px) {
    .navbar-collapse {
        padding-left:0;
        padding-right:0;
    }
    .side_items_image {
        padding-left:0;
    }
    .homebox {
        padding-left:10px;
        padding-right: 20px;
    }
    .homebox2 {
        margin-left:-10px;
    }
    .homeads0 {
        margin-left:-10px;
    }
    .homeads {
        padding-left:10px;
    }
    .homeads3 {
        margin-left:-10px;
    }
    .partner div.title {
        margin-left:-10px;
        margin-right:-10px;
    }
    .item {
        border:2px solid transparent;
        height:300px;
        padding-bottom:10px;
        padding-top:10px;
    }
    .item:hover,
    .item:focus {
        ;
    }
    .related_item {
        height:220px;
    }
    .grid_item {
        height:290px;
    }
}

@media (min-width:768px) and (max-width:1024px) {
    .container {
        width: 100%;
        position: relative;
    }
    .item {
        height:320px;
    }
    .home_deal .price {
        font-size:20px;
    }
    .link-more a {
        font-size:11px;
        padding-left:10px;
        padding-right:10px;
    }
	.navbar-default .navbar-nav .open .dropdown-menu > li > a {
		color: #000000 !important;
	}
    .navbar-default .navbar-nav > li > a {
        font-size: 16px;
        padding: 4px 0px;
    }
    .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
        color: #fff;
        background-color: #fb7d43;
        border-radius: 3px;
        padding: 2px 5px;
        margin-top: 4px;
        box-shadow: 1px 1px 4px #6d709e;
    }
    .navbar-default {
        min-height: 32px;
    }
    .top_main_header_1 {
        padding-bottom: 14px;
		text-align: right;
    }
    a.logo img {
        width: 235px;
        /* max-width: 100%; */
        height: 77px;
        /* padding-top: 14px; */
    }
    
}
@media (min-width:768px) and (max-width:1024px){
    /*.navbar-default {
        background-color:#ffffff !important; 
        border: none;
        border-radius: 0;
        min-height: 31px !important;
    }
	*/
    a.logo img {
        width: 181px !important;
        height: 75px !important;
    }
    .hot-post {
        /* height: 496px; */
        background: none; 
        background-size: 100% 100%;
        background-color: #528db7;
        padding-bottom: 0px;
    }
    .slide_main {
        margin-bottom: 10px !important;
    }
	
	.menu_mobile_top_1{
        padding: 0px;
    }
    #myNavbar{
        border-top: 1px solid #ffe6e7;
    }
    .menu_mobile_top{
        margin-left: 0px;
        padding-left: 0px;
        list-style: none;
        line-height: 37px;
        font-size: 17px;
    }
    .menu_mobile_top li a{
        color: #525252;
    }
    .menu_mobile_top > li > a{
        width: 100%;
        background-color: #dc0c14;
        display: table;
        color: #fff;
    }
    .menustyle{
        padding-top: 5px;
    }
    .navbar .navbar-nav .open .dropdown-menu > .active > a,
    .navbar .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar .navbar-nav .open .dropdown-menu > .active > a:focus {
        color:#fff;
        background-color:#666;
    }
    .top_main_header {
         text-align: left; 
    }
    .hot-post {
        height: auto;
        background-size: 170% 100%;
    }
}
@media (max-width:768px) {
/*    body {
        padding-top:50px;
    }*/
	.navbar-nav {
    margin: 0px;
}
.menu_mobile li{
	padding-left:0px;
	}
    .container {
        width: 100%;
        position: relative;
    }
    .sidebox {
        margin-bottom: 0px !important; 
    }
    a.logo img {
        width: 175px ;
        height: 77px;
    }
    .menu_left {
        width: 100%;
        padding-right: 5px;
        padding-left: 5px;
    }
    .side_item {
	   
	    padding-left: 11px;
	}
    .main_center {
        width: 100%;
        padding-right: 5px;
        padding-left: 5px;
        background-color: transparent;
        margin-bottom: 20px;
    }
    .col-sm-push-2_n{
        left: 0%;
    }
    .col-sm-pull-8_n{
        right: 0%;
    }
    .box {
    padding: 20px 10px;
    background-color: white;
}
/*    .navbar-default {
        position:fixed;
        width:100%;
        z-index:9999;
        top:0;
    }*/
    .navbar-default .navbar-nav > li > a {
        font-size:17px;
    }
    .dropdown-menu > li > a {
        background:transparent;
        border-bottom:none;
        font-size:14px;
    }
    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color:#fff;
        padding-top:10px;
        padding-bottom:10px;
    }

    .navbar-default {
        background-color: #015cb9;
        border: none;
        border-radius: 0;
        min-height: 40px;
    }
    .navbar-default .navbar-toggle .icon-bar {
        background-color: #ffffff;
    }
    .navbar-default .navbar-nav > li > a {
        color: #ffffff;
    }
    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #ffffff;
    }
    .top_search {
        border-left: 1px solid #d4d4d4;
        border-right: 1px solid #d4d4d4;
        margin-top: 0px;
        padding-left: 9px;
        padding-right: 9px;
    }
    .searchinput {

    }
    .searchsubmit {

    }
    .top_logo {
        text-align:center;
    }
    a.logo span {
        text-align: left;
    }
    a.logo img {
        width: auto;
        height: 30px;
        padding-top: 0px;
    }
    /*    .block1 {
        margin-top:0;
      }
    */    .slide_main {
        margin-bottom:15px;
    }
    .slidex {
        ;
    }
    .ud1 {
        margin-left: 0px; 
    }
    .homebox {
        padding: 0px 20px;
        background-color: white;
    }
    .menu_right {
        width: 100%;
        padding-right: 5px;
        padding-left: 5px;
    }
    .nivo-controlNav {
        display:none !important;
    }
    .main {
        ;
    }
    .side_items_image {
        padding-left:0;
        padding-right:0;
    }
    .footer {
        overflow:hidden;
        padding-left:10px;
        padding-right:10px;
    }
    .footer_navigation {
        display:none;
    }
    .footer_social {
        text-align:center;
    }
    .post-header h1 {
        margin-top:5px;
        margin-bottom:5px;
    }
    span.post-meta {
        font-style:normal;
        margin-bottom:5px;
    }
    .post-share span.share-text {
        display:none;
    }
    .sharing_tab {
        display:block;
        float:none;
        margin-bottom:10px;
        width:100%;
    }
    .grid .thumbnail img {
        width:100%;
        height:auto;
        margin-left:0;
        margin-right:0;
        max-width:100%;
        padding:0;
    }
    .grid .caption {
        text-align:center;
    }
    .paging {
        text-align:center;
    }
    .html5gallery-box-0 {
        width:100% !important;
        top:0 !important;
        left:0 !important;
    }
    .html5gallery-elem-0 {
        width:100% !important;
    }
    .post-header > h3 {
        margin-top:15px;
        margin-bottom:10px;
    }
    .post-header h1 {
        line-height:30px;
    }
    .list_item {
        padding:0;
    }
    .list_thumb a {
        display:block;
    }
    .list_thumb img {
        border:none;
    }
    .list_title {
        margin-top:10px;
    }
    .contactinfo,
    .contactform {
        display:inline-block;
    }
    .contact_title {
        margin-bottom:15px;
    }
}

/* ETOP typography final overrides. Keep after legacy Bootstrap/theme rules. */
html,
body,
button,
input,
select,
textarea {
    font-family: var(--etop-font) !important;
    letter-spacing: 0 !important;
}

body {
    color: #20242a !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    font-weight: 400;
}

.navbar-default .navbar-nav > li > a,
.dropdown-menu > li > a,
.menu_mobile a,
.ten_menu,
.block-title h2,
.block-title h2 a,
.sumd h3,
h1.title,
h1.title a.heading,
.home_deal > h3 > a,
.item h3,
.item h3 a,
h3.footer_main_title,
.box > h3,
.post-header > h3,
.post-header > h3 > a {
    font-family: var(--etop-font) !important;
    letter-spacing: 0 !important;
}

.navbar-default .navbar-nav > li > a {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

.dropdown-menu > li > a,
.menu_mobile a {
    font-weight: 600 !important;
}

h1.title,
.post-header > h3,
.post-header > h3 > a,
.item h3 a {
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

/* ETOP display typography: use Bebas for short titles and navigation only. */
.navbar-default .navbar-nav > li > a,
.dropdown-menu > li > a,
.menu_mobile a,
.ten_menu,
.block-title h2,
.block-title h2 a,
.sumd h3,
h1.title,
h1.title a.heading,
.home_deal > h3 > a,
.item h3,
.item h3 a,
h3.footer_main_title,
.box > h3,
.post-header > h3,
.post-header > h3 > a {
    font-family: 'bebas', var(--etop-font) !important;
    font-weight: 400 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase;
}

.navbar-default .navbar-nav > li > a {
    font-size: 19px !important;
    line-height: 1 !important;
}

.dropdown-menu > li > a,
.menu_mobile a {
    font-size: 18px !important;
}

h1.title,
.post-header > h3,
.post-header > h3 > a {
    font-size: 28px;
    line-height: 1.15 !important;
}

/* ETOP production fixes after font refresh. */
.navbar-default .navbar-nav > li > a {
    font-family: 'bebas', var(--etop-font) !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    line-height: 20px !important;
    text-transform: uppercase;
}

h1.title,
h1.title a.heading,
.post-header h1,
.post-header h1 a,
.post-header > h3,
.post-header > h3 > a,
.item h3,
.item h3 a,
.related_item h4 a {
    font-family: var(--etop-font) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.home_title,
.ten_menu,
.block-title h2,
.block-title h2 a,
.sumd h3,
h3.footer_main_title {
    font-family: 'bebas', var(--etop-font) !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase;
}

.dropdown-menu > li > a,
.menu_mobile a {
    font-family: 'bebas', var(--etop-font) !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    line-height: 20px !important;
    text-transform: uppercase;
}

.list_ts .home_more {
    margin-top: 10px;
}

.list_ts .home_more a {
    color: #c71c22;
    display: inline-block;
    font-weight: 700;
}

.related .row {
    display: block;
}

.related_item {
    margin-bottom: 26px;
    opacity: 1;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

@media (min-width: 768px) {
    .related_item:nth-child(3n+1) {
        clear: left;
    }
}

.related_item_image {
    background: #f5f7fa;
    margin-bottom: 10px;
    overflow: hidden;
    padding-top: 66.6667%;
    position: relative;
    width: 100%;
}

.related_item_image a,
.related_item_image img {
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.related_item_image img {
    object-fit: cover;
}

.related_item h4 {
    clear: both;
    line-height: 1.35;
    margin: 0 0 12px;
    min-height: 48px;
}

.related_item h4 a {
    color: #c71c22;
    display: block;
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.35;
}

/* Keep Bebas for menu text, but let the plus sign use a normal Vietnamese font. */
@font-face {
    font-family: 'etop-bebas-menu';
    src: url('../fonts/bebas.woff') format('woff'), url('../fonts/bebas.ttf') format('truetype');
    unicode-range: U+0000-002A, U+002C-10FFFF;
}

.navbar-default .navbar-nav > li > a,
.dropdown-menu > li > a,
.menu_mobile a {
    font-family: 'etop-bebas-menu', var(--etop-font) !important;
}

.dropdown-menu {
    background-color: #015cb9 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 10px 22px rgba(1, 60, 121, 0.22) !important;
    padding: 0 !important;
}

.dropdown-menu > li > a,
.navbar-default .navbar-nav .open .dropdown-menu > li > a {
    background-color: #015cb9 !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 20px !important;
    padding: 10px 16px !important;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    background-color: #fb7d43 !important;
    background-image: none !important;
    color: #fff !important;
}

@media (min-width: 768px) {
    .related .row {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 26px;
        row-gap: 30px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .related .related_item {
        clear: none !important;
        float: none !important;
        height: auto !important;
        margin-bottom: 0 !important;
        max-width: none !important;
        min-height: 0 !important;
        overflow: visible !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: auto !important;
    }
}

.related .row:before,
.related .row:after {
    content: none !important;
    display: none !important;
}

.related_item_image {
    aspect-ratio: 16 / 10;
    height: auto !important;
    padding-top: 0 !important;
}

@media (max-width: 991px) and (min-width: 768px) {
    .related .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .related .row {
        display: grid !important;
        grid-template-columns: 1fr;
        row-gap: 22px;
    }

    .related .related_item {
        float: none !important;
        width: auto !important;
    }
}

/* Responsive header cleanup: keep the logo strong and let the menu fill available width. */
@media (min-width: 769px) {
    .top_main > .container-main {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .top_main > .container-main > .row {
        align-items: stretch;
        display: flex;
        margin-left: 0;
        margin-right: 0;
    }

    .top_main .top_logo {
        align-items: center;
        display: flex;
        flex: 0 0 320px;
        max-width: 320px;
        padding-left: 0;
        padding-right: 0;
        width: 320px !important;
    }

    .top_main .top_logo a.logo,
    .top_main .top_logo a.logo img {
        display: block;
    }

    .top_main .top_logo a.logo img {
        height: auto !important;
        max-width: 100%;
        width: 320px !important;
    }

    .top_main .top_main_header {
        flex: 1 1 auto;
        padding-left: 0;
        padding-right: 0;
        padding-top: 0 !important;
        width: auto !important;
    }

    .top_main .top_main_header_1 {
        align-items: center;
        display: flex;
        justify-content: flex-end;
        min-height: 62px;
        margin-left: 0;
        margin-right: 0;
        padding: 0 18px 0 0 !important;
    }

    .top_main .bg_menu {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .top_main .bg_menu > div,
    .top_main .top_nav .col-md-12 {
        padding-left: 0;
        padding-right: 0;
    }

    .top_main .navbar-default {
        margin-bottom: 0;
        width: 100%;
    }

    .top_main .top_nav .row {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 769px) and (max-width: 1180px) {
    .top_main .top_logo {
        flex-basis: 260px;
        max-width: 260px;
        width: 260px !important;
    }

    .top_main .top_logo a.logo img {
        width: 260px !important;
    }

    .top_main .top_main_header_1 {
        min-height: 58px;
    }

    .navbar-default .navbar-nav > li {
        padding-left: 6px;
    }

    .navbar-default .navbar-nav > li > a {
        font-size: 15px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
}

@media (max-width: 768px) {
    .top_main > .container-main {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .top_main > .container-main > .row,
    .top_main .top_main_header_1,
    .top_main .bg_menu,
    .top_main .top_nav .row {
        margin-left: 0;
        margin-right: 0;
    }

    .top_main .top_logo {
        background: #015cb9;
        padding: 10px 18px !important;
        text-align: left;
        width: 100% !important;
    }

    .top_main .top_logo a.logo img {
        height: auto !important;
        max-width: 260px;
        width: 260px !important;
    }

    .top_main .top_main_header {
        padding-left: 0;
        padding-right: 0;
        padding-top: 0 !important;
        width: 100% !important;
    }

    .top_main .top_main_header_1 {
        background: #fff;
        min-height: 44px;
        padding: 10px 16px !important;
        text-align: left !important;
    }

    .top_main .bg_menu > div,
    .top_main .top_nav .col-md-12 {
        padding-left: 0;
        padding-right: 0;
    }

    .top_main .navbar-default {
        margin-bottom: 0;
        min-height: 52px !important;
    }

    .top_main .navbar-header {
        min-height: 52px;
    }

    .top_main .navbar-toggle {
        margin-bottom: 7px;
        margin-top: 8px;
    }

    .homebox {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .homebox .list_thumb {
        margin-left: auto;
        margin-right: auto;
        max-width: 560px;
        width: 100%;
    }

    .homebox .list_thumb img {
        aspect-ratio: auto;
        height: auto !important;
        object-fit: contain;
        width: 100%;
    }
}

@media (max-width: 520px) {
    .top_main .top_logo {
        text-align: center;
    }

    .top_main .top_logo a.logo img {
        max-width: 230px;
        width: 230px !important;
    }
}

/* ETOP header fit: stable layout, tight logo box, centered hamburger header. */
@media (min-width: 769px) {
    .top_main .top_logo {
        background: #015cb9;
        line-height: 0;
        overflow: hidden;
        padding-bottom: 0 !important;
        padding-top: 0 !important;
    }

    .top_main .top_logo a.logo {
        display: block;
        line-height: 0;
        width: 100%;
    }

    .top_main .top_logo a.logo img {
        display: block !important;
        height: auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .top_main .top_main_header {
        display: flex;
        flex-direction: column;
    }

    .top_main .top_main_header_1 {
        flex: 1 1 auto;
    }
}

@media (max-width: 768px) {
    .top_main .top_logo {
        align-items: center;
        background: #015cb9;
        display: flex !important;
        justify-content: center;
        line-height: 0;
        padding: 0 !important;
        text-align: center !important;
        width: 100% !important;
    }

    .top_main .top_logo a.logo {
        display: inline-flex !important;
        line-height: 0;
    }

    .top_main .top_logo a.logo img {
        display: block !important;
        height: auto !important;
        max-width: 340px !important;
        width: 74vw !important;
    }

    .top_main .top_main_header_1 {
        align-items: center;
        display: flex !important;
        justify-content: center;
        padding: 10px 12px !important;
        text-align: center !important;
    }

    .top_main .top_support {
        align-items: center;
        display: inline-flex;
        justify-content: center;
    }
}

nav .menu_mobile > .navbar-header {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 72px;
    position: relative;
}

nav .menu_mobile > .navbar-header .navbar-toggle {
    margin: 0 !important;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

nav .menu_mobile > .navbar-header a.logo {
    display: inline-flex;
    line-height: 0;
    margin: 0 auto;
}

nav .menu_mobile > .navbar-header a.logo span {
    display: block;
    margin: 0;
}

nav .menu_mobile > .navbar-header a.logo img {
    display: block;
    height: auto !important;
    max-width: 310px !important;
    width: 62vw !important;
}

/* ETOP content typography: Noto Sans for content, Bebas kept for menu/display styling. */
body,
button,
input,
select,
textarea,
.main_content,
.main_content_news,
.main_content_news_bg,
.main_center,
.homebox,
.homebox2,
.box_content,
.detail-content,
.detail_content,
.list_content,
.post-summary,
.news-content,
.post-meta,
.hot-post,
.sidemenuleft,
.sidebox,
.related,
.footer,
.footer_contact,
footer {
    font-family: var(--etop-content-font) !important;
}

h1.title,
h1.title a.heading,
.post-header h1,
.post-header h1 a,
.post-header > h3,
.post-header > h3 > a,
.item h3,
.item h3 a,
.related_item h4 a {
    font-family: var(--etop-content-font) !important;
    letter-spacing: 0 !important;
}

/* ETOP stable media grids: avoid Bootstrap float gaps when item heights differ. */
.grid > .row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 30px;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.grid > .row:before,
.grid > .row:after {
    content: none !important;
    display: none !important;
}

.grid > .row > [class*="col-"] {
    clear: none !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: auto !important;
}

.grid > .row > h3,
.grid > .row > .grid_title {
    grid-column: 1 / -1;
}

.grid .thumbnail {
    margin-bottom: 0 !important;
}

.grid .grid_image {
    display: block;
    aspect-ratio: 400 / 270;
    background: #fff;
    border: 1px solid #d4d4d4;
    box-shadow: 0 1px 3px rgba(0,0,0,0.055);
    overflow: hidden;
    width: 100%;
}

.grid .thumbnail img {
    display: block;
    border: 0 !important;
    box-shadow: none !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 0 !important;
    width: 100% !important;
}

.grid .caption {
    min-height: 46px;
}

.grid .caption .grid_title,
.grid .caption p {
    margin-bottom: 0;
}

.grid .caption .grid_title a {
    display: block;
    line-height: 1.35;
}

@media (max-width: 991px) {
    .grid > .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .grid > .row {
        grid-template-columns: 1fr;
    }
}

/* ETOP article readability: TinyMCE content can contain large inline text. */
.post-entry,
.detail-content,
.detail_content,
.box_content {
    line-height: 1.65 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.post-entry p,
.post-entry div,
.post-entry li,
.post-entry span,
.post-entry strong,
.post-entry b,
.post-entry em,
.detail-content p,
.detail-content div,
.detail-content li,
.detail-content span,
.detail-content strong,
.detail-content b,
.detail-content em,
.detail_content p,
.detail_content div,
.detail_content li,
.detail_content span,
.detail_content strong,
.detail_content b,
.detail_content em,
.box_content p,
.box_content div,
.box_content li,
.box_content span,
.box_content strong,
.box_content b,
.box_content em {
    line-height: inherit !important;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.post-entry h1,
.post-entry h2,
.post-entry h3,
.post-entry h4,
.post-entry h5,
.post-entry h6,
.detail-content h1,
.detail-content h2,
.detail-content h3,
.detail-content h4,
.detail-content h5,
.detail-content h6,
.detail_content h1,
.detail_content h2,
.detail_content h3,
.detail_content h4,
.detail_content h5,
.detail_content h6,
.box_content h1,
.box_content h2,
.box_content h3,
.box_content h4,
.box_content h5,
.box_content h6 {
    line-height: 1.3 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ETOP stable homepage banner frame. */
.etop-hero-banner {
    background: #c9fbff;
    max-width: none;
    overflow: hidden;
    width: 100%;
}

.etop-hero-banner .hot-post {
    align-items: stretch;
    background: #c9fbff !important;
    display: flex;
    margin-left: 0;
    margin-right: 0;
    min-height: 0;
}

.etop-hero-banner .hot-post > .etop-banner-dynamic,
.etop-hero-banner .hot-post > .etop-banner-static {
    padding-left: 0;
    padding-right: 0;
}

.etop-hero-banner .etop-banner-dynamic,
.etop-hero-banner .etop-banner-static {
    height: 500px;
    height: clamp(430px, 33vw, 600px);
}

.etop-hero-banner .etop-banner-static {
    background-color: #c9fbff;
    background-image: var(--etop-fixed-banner);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 300% 100%;
}

.etop-hero-banner .post-item,
.etop-hero-banner .etop-banner-carousel,
.etop-hero-banner .etop-banner-shell,
.etop-hero-banner .etop-banner-stage,
.etop-hero-banner .slidex,
.etop-hero-banner .slider-wrapper,
.etop-hero-banner .theme-default,
.etop-hero-banner .nivoSlider {
    width: 100%;
}

.etop-hero-banner .post-item,
.etop-hero-banner .etop-banner-carousel {
    height: 100%;
}

.etop-hero-banner .etop-banner-shell {
    display: flex;
    gap: 0;
    height: 100%;
    overflow: hidden;
}

.etop-hero-banner .etop-banner-thumbs {
    background: rgba(255, 255, 255, .92);
    border-right: 1px solid rgba(0, 98, 181, .18);
    box-shadow: 10px 0 22px rgba(15, 23, 42, .08);
    display: flex;
    flex: 0 0 158px;
    flex-direction: column;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    padding: 0;
    z-index: 5;
}

.etop-hero-banner .etop-banner-thumb-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px;
    scrollbar-color: rgba(0, 98, 181, .5) rgba(0, 98, 181, .08);
    scrollbar-width: thin;
    cursor: grab;
    -ms-overflow-style: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: none;
    user-select: none;
}

.etop-hero-banner .etop-banner-thumb-scroll::-webkit-scrollbar {
    width: 9px;
}

.etop-hero-banner .etop-banner-thumb-scroll::-webkit-scrollbar-track {
    background: rgba(0, 98, 181, .08);
}

.etop-hero-banner .etop-banner-thumb-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 98, 181, .45);
    border-radius: 10px;
}

.etop-hero-banner .etop-banner-thumb-nav {
    align-items: center;
    background: #0062b5;
    border: 0;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex: 0 0 28px;
    font-size: 18px;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    opacity: .92;
    transition: background-color .2s ease, opacity .2s ease;
    width: 100%;
}

.etop-hero-banner .etop-banner-thumb-nav:hover,
.etop-hero-banner .etop-banner-thumb-nav:focus {
    background: #ff7a3d;
    opacity: 1;
    outline: none;
}

.etop-hero-banner .etop-banner-thumb {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    display: block;
    margin: 0 0 10px;
    padding: 3px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    width: 100%;
}

.etop-hero-banner .etop-banner-thumb:last-child {
    margin-bottom: 0;
}

.etop-hero-banner .etop-banner-thumb-scroll.is-dragging,
.etop-hero-banner .etop-banner-thumb-scroll.is-dragging * {
    cursor: grabbing;
}

.etop-hero-banner .etop-banner-thumb:hover,
.etop-hero-banner .etop-banner-thumb.active {
    border-color: #ff7a3d;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .18);
    transform: translateX(2px);
}

.etop-hero-banner .etop-banner-thumb img {
    display: block;
    height: 78px;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    -webkit-user-drag: none;
    user-select: none;
}

.etop-hero-banner .etop-banner-stage {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
}

.etop-hero-banner .slidex,
.etop-hero-banner .slider-wrapper,
.etop-hero-banner .theme-default,
.etop-hero-banner .nivoSlider {
    background: #c9fbff;
    height: 100% !important;
    overflow: hidden;
}

.etop-hero-banner .nivoSlider img,
.etop-hero-banner .nivoSlider a img,
.etop-hero-banner .etop-nivo-fit > a > img {
    display: block;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center center;
    width: 100% !important;
}

.etop-hero-banner .nivoSlider a,
.etop-hero-banner .etop-nivo-fit > a {
    display: block;
    height: 100%;
    width: 100%;
}

.etop-hero-banner .nivo-main-image {
    height: 100% !important;
    object-fit: cover;
    width: 100% !important;
}

.etop-hero-banner .nivo-slice,
.etop-hero-banner .nivo-box {
    height: 100% !important;
}

.etop-hero-banner .etop-banner-stage .nivo-controlNav {
    display: none !important;
}

.etop-hero-banner .etop-banner-stage .nivo-caption {
    display: none !important;
}

.etop-hero-banner .etop-banner-caption {
    background: rgba(245, 158, 11, .78) !important;
    bottom: 0;
    box-sizing: border-box;
    color: #fff !important;
    display: block !important;
    font-size: 18px;
    left: 0;
    line-height: 1.35;
    height: auto !important;
    max-height: 72px;
    min-height: 46px;
    opacity: 1 !important;
    padding: 10px 14px;
    pointer-events: none;
    position: absolute;
    text-shadow: none;
    top: calc(clamp(430px, 33vw, 600px) - 46px);
    width: 100%;
    z-index: 999;
}

.etop-hero-banner .etop-banner-caption:empty {
    display: none !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .etop-hero-banner .etop-banner-dynamic,
    .etop-hero-banner .etop-banner-static {
        height: 390px;
        height: clamp(330px, 42vw, 460px);
    }

    .etop-hero-banner .etop-banner-shell {
        height: 100%;
    }

    .etop-hero-banner .etop-banner-thumbs {
        flex-basis: 128px;
    }

    .etop-hero-banner .etop-banner-thumb-scroll {
        padding: 6px;
    }

    .etop-hero-banner .etop-banner-thumb-nav {
        flex-basis: 24px;
        font-size: 16px;
    }

    .etop-hero-banner .etop-banner-thumb img {
        height: 64px;
    }

    .etop-hero-banner .etop-banner-caption {
        top: calc(clamp(330px, 42vw, 460px) - 46px);
    }
}
