﻿
/* header loai 1 : search tren, text duoi */
.fa-question-circle:before {
    content: "\f059";
}

.top-0 {
    position: fixed !important;
    top: 0;
}

.help-flyout {
    bottom: 59px;
    right: 20px;
    z-index: 101;
}

    .help-flyout .fa-question-circle {
        vertical-align: middle;
        padding-bottom: 3px;
    }

.header-wrapper {
    height: 105px;
}

    .header-wrapper .f-16 {
        font-size: 16px !important;
    }

    .header-wrapper #categ-nav-sub {
        text-align: left;
        display: none;
    }

    .btn-question-on-header-top {
        font-size: 14px;
        margin-top: 3px;
    }

.h-newmain.h-mainheader2 {
    background: #fff;
    height: 105px;
    min-width: 1170px;
    top: 0;
    z-index: 100;
    transition: height .5s;
    font-size: 14px;
}

.h-newmain.h-mainheader2.header-with-banner-140 {
    height: 140px;
}

.h-newmain.h-mainheader2.header-with-banner-130 {
    height: 130px;
}


    .h-newmain.h-mainheader2 * {
        /*font-size: 100%;*/ /*haivu*/
    }

    .h-newmain.h-mainheader2 .f-15 {
        font-size: 15px;
    }

    .h-newmain.h-mainheader2.fixed {
        top: 0;
        border-bottom: none;
    }

        .h-newmain.h-mainheader2.fixed .main-cat, .h-newmain.h-mainheader2.fixed .account-menu .dropdown {
            box-shadow: 0px 7px 7px rgba(0, 0, 0, 0.2);
        }

        .h-newmain.h-mainheader2.fixed .main-cat-sub {
            box-shadow: 3px 7px 7px rgba(0, 0, 0, 0.2);
        }

.h-search2 {
    height: 60px;
    z-index: 200;
}

.h-mainheader2 .h-search, .h-mainheader2 .h-search-blk {
    background-color: #fff;
}

.h-search2 .logo {
    width: 100px;
    height: 40px;
    background-position: 0 -9px;
}

    .h-search2 .logo a {
        width: 100px;
        height: 40px;
    }

.h-newmain .h-search-form {
    width: 527px;
    height: 40px;
    position: relative;
    margin-left: 222px;
}

    .h-newmain .h-search-form form {
        width: 527px;
        background: transparent;
        margin: 0;
        padding: 0;
        height: 40px;
    }

    .h-newmain .h-search-form input.text {
        width: 457px !important;
        height: 38px !important;
        line-height: 38px;
        padding-left: 12px;
        margin: 0 2px 2px 2px !important;
        display: block;
        border: 1px solid #fff;
        z-index: 999 !important;
        outline: none;
        color: #333;
        background-position: 96% center !important;
    }

    .h-newmain .h-search-form button.button {
        cursor: pointer;
        height: 40px !important;
        float: right;
        width: 54px;
        background: #4ec569;
    }

.h-search2 .user {
    right: 0;
    top: 0;
    position: relative;
}

    .h-search2 .user .f-norm:hover,
    .h-search2 .user .f-norm:hover i,
    .h-search2 .user .cash-pending:hover * {
        color: #23ae4a !important;
        font-weight: bold;
        font-style: normal;
    }



    .h-search2 .user .account-menu a span.pending-cb-amount {
        font-weight: bold;
    }

    .h-search2 .user .dropdown:before {
        content: "";
        position: absolute;
        right: 24px;
        top: 29px;
        border-style: solid;
        border-width: 11px;
        border-color: transparent transparent #ccc transparent;
        display: block;
    }

    .h-search2 .user .dropdown:after {
        content: "";
        position: absolute;
        right: 25px;
        top: 31px;
        border-style: solid;
        border-width: 10px;
        border-color: transparent transparent #fff transparent;
        display: block;
        width: 0;
        z-index: 0;
    }

    .h-search2 .user.logged-out {
        width: 275px;
        max-width: 275px;
    }

.h-search2 .user-name {
    max-width: 205px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.h-search2 .user li:hover > ul {
    display: block;
    z-index: 99999;
    width: 200px;
    padding: 10px 20px 10px 30px;
}

.h-search2 .user .account-menu {
    height: 60px;
}

.h-search2 .user a.member-name {
    overflow: hidden;
    height: 45px;
}

.h-search2 .user li a.button {
    height: 40px;
    padding: 0;
    line-height: 40px;
    width: 106px;
}

.h-search2 .user li.btn-sign-in a.button {
    width: auto;
    color: white;
}

.h-ribbon2 {
    height: 44px;
    bottom: 0;
}

.h-newmain.h-mainheader2.fixed .h-ribbon2 {
    box-shadow: 0 7px 7px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid #ccc;
    bottom: 0;
}

.h-search2 .user ul li {
    float: none;
    position: relative;
    padding: 0;
}

    .h-search2 .user ul li.connect {
        margin-bottom: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

.huh {
    margin-bottom: 11px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.h-search2 .user ul ul {
    position: absolute;
    right: 100%;
    top: 0;
}

.h-search2 .user .account-menu a, .h-search2 .user .account-menu a span {
    color: #23ae4a;
}

.h-search2 .user a.member-name > span, .h-search2 .user a.member-name > span span {
    color: white;
}

.h-search2 .user .fconnect, .h-newmain .h-ribbon .user .gconnect {
    display: inline-block;
    height: 16px;
    line-height: 16px;
}

.h-search2 span.ellips {
    text-overflow: ellipsis;
    width: auto;
}

.h-newmain #navtop a:hover, #tab1 .h-newmain #nav-tab1 *, #tab2 .h-newmain #nav-tab2 *, #tab3 .h-newmain #nav-tab3 *, #tab4 .h-newmain #nav-tab4 *, #tab5 .h-newmain #nav-tab5 *, #tab6 .h-newmain #nav-tab6 *, #tab7 .h-newmain #nav-tab7 *, #tab8 .h-newmain #nav-tab8 *, .button.f-grn {
    color: #23ae4a !important;
}

.h-newmain .navtop > li {
    height: 44px;
    line-height: 44px; /*haivu*/
    display: inline-block;
}

    .h-newmain .navtop > li > a {
        color: #333;
        font-size: 15px;
        padding-left: 10px;
    }

.h-newmain #categ-nav {
    text-align: justify;
    cursor: default;
}

    .h-newmain #categ-nav li .categ-nav-sub {
        margin: -9px 0 0 0 !important;
        z-index: 99;
    }

.h-newmain .categ-nav-sub .hover-sep {
    display: none !important;
    z-index: 99;
}

.h-newmain #categ-nav:before {
    content: "";
    display: block;
    width: 100%;
}

.h-newmain #categ-nav:after {
    content: "";
    display: inline-block;
    width: 100%;
}

.h-newmain #categ-nav .main-cat .main-cat-sub {
    min-height: 410px;
}

.h-newmain #categ-nav li:hover .categ-nav-sub {
    z-index: 99;
}

/*2018-08-27 fix menu Khuyen Mai va Giam Gia cho phep hover khi ko scroll*/
.h-newmain #categ-nav li#nav-tab2 .categ-nav-sub {
    z-index: 999;
}

.h-newmain #categ-nav li#nav-tab2 .main-cat {
    box-shadow: 0px 7px 7px rgba(0, 0, 0, 0.2);
}

    .h-newmain #categ-nav li#nav-tab2 .main-cat, .h-newmain #categ-nav li#nav-tab2 .main-cat li {
        /*width: 233px;*/
        width: 267px; /*thêm <li> blog*/
    }

.h-newmain #categ-nav-sub-2 .main-cat {
    top: 8px;
}
/* end of fix menu khuyen mai*/

.h-newmain #categ-nav li#nav-tab2:hover .categ-nav-sub ul {
    display: block;
}

.h-newmain .ac_results {
    margin: 0 0 0 2px;
    box-shadow: 0 7px 7px rgba(0, 0, 0, 0.2);
    border: 1px solid #fff;
}

    .h-newmain .ac_results ul {
        width: 469px;
    }

    .h-newmain .ac_results li {
        padding: 5px 12px;
        line-height: 15px;
    }

.trans-bg {
    transition: background 1s;
}

.trans-color-bg {
    transition: background 1s, color 1s;
}

.trans-color {
    transition: color 1s;
}

.h-newmain.h-mainheader2.fixed.min {
    height: 60px;
}

    .h-newmain.h-mainheader2.fixed.min .h-search2 {
        background-color: #fff;
    }

        .h-newmain.h-mainheader2.fixed.min .h-search2 .h-search-form input.text {
            border: 1px solid #ccc;
        }

    .h-newmain.h-mainheader2.fixed.min .btn-join .button {
        background: #23ae4a;
        color: white !important;
    }

    .h-newmain.h-mainheader2.fixed.min .btn-sign-in .button, .h-newmain.h-mainheader2.fixed.min a.member-name span {
        color: #23ae4a;
    }

    .h-newmain.h-mainheader2.fixed.min .ac_results {
        margin: 0 0 0 2px;
        border: 1px solid #ccc;
        border-top: 1px solid #fff;
    }

.ht-44 {
    height: 44px;
}

.dashboard-welcome #disable {
    top: 15px !important;
}

/*
.h-search-form input.text{font-family:'proxima_nova_ltsemibold', Arial, Helvetica, sans-serif !important;font-weight:normal;font-style:normal;}
.h-search-form input.text:focus{font-family:'proxima_nova_rgregular', Arial, Helvetica, sans-serif !important;font-weight:normal;font-style:normal;}
*/
@media(max-width:1180px) {
    .h-search2 .logo a {
        margin-left: 5px;
    }

    .h-newmain .h-search-form {
        width: 527px;
        height: 40px;
        position: relative;
        margin-left: 190px;
    }

    .h-search2 .user {
        margin-right: 25px;
    }
}

.none {
    display: none;
}

.no-link {
    cursor: default;
}

    .no-link:hover span {
        color: #000;
    }

.menu-banner {
    list-style: none;
    position: relative;
    background: #fff;
    width: 219px;
    margin-right: 10px;
    float: left;
}

    .menu-banner li {
    }

        .menu-banner li a {
            height: 14px;
            line-height: 14px;
            padding: 14px 17px 0 17px;
            /*color: #000; haivu*/
            display: block;
        }

    .menu-banner > li:last-child a {
        padding-bottom: 19px; /*haivu 20px;*/
    }

    .menu-banner li > a .gt {
        display: none;
    }

    .menu-banner li:hover > a .gt {
        display: block;
    }

    .menu-banner .main-cat-sub {
        display: none;
        position: absolute;
        left: 219px;
        top: 0;
        background-color: #fff;
        min-height: 410px; /*411px;*/
    }

    /*dieu chinh chieu dai menu ra de ko bi rot chu o banner 300x250*/
    .menu-banner .main-cat-sub,
    .h-newmain #categ-nav .main-cat .main-cat-sub {
        width: 660px;
    }

    .menu-banner li:hover .main-cat-sub {
        display: block;
        z-index: 2; /*haivu, them vao de nam tren carousel*/
    }

    .menu-banner .main-cat-sub ul {
        width: 320px;
    }

        .h-newmain #categ-nav .main-cat .main-cat-sub ul li, /*haivu*/
        .menu-banner .main-cat-sub ul li {
            padding-top: 3px; /*chinh cho khoang cach trong phan pop-out danh sach cua hang noi bat cua danh muc*/
            line-height: initial;
        }

            .menu-banner .main-cat-sub ul li a {
                margin: 0 15px 0 25px;
                height: 14px;
                line-height: 14px;
                padding: 7px 0 0 0;
            }

                .menu-banner .main-cat-sub ul li a.cb {
                    padding-bottom: 7px;
                }

        .h-newmain #categ-nav .main-cat .main-cat-sub ul .subcat-top, /*haivu*/
        .menu-banner .main-cat-sub ul .subcat-top {
            padding-top: 15px; /*24px;*/
            height: 59px; /*haivu62px*/
        }

.subcat-top a, .subcat-top span {
    /*border: solid thin red;*/
}

.h-newmain #categ-nav .main-cat .main-cat-sub ul .subcat-top a, /*haivu*/
.menu-banner .main-cat-sub ul .subcat-top a {
    padding: 0;
    height: 22px;
    line-height: 22px !important;
    padding-bottom: 8px;
}

.menu-banner .main-cat-sub ul .subcat-top span {
    padding-left: 25px;
}

.menu-banner .main-cat-sub-li a .arr-right {
    margin-left: 3px;
}

.h-newmain #categ-nav .main-cat .main-cat-sub-li.all a, /*haivu*/
.menu-banner .main-cat-sub-li.all a {
    font-weight: bold;
    line-height: 20px;
    font-size: 14px;
}

.menu-banner .main-cat-sub .main-cat-sub-image {
    padding-top: 27px;
    margin-right: 10px; /*haivu 15px*/
}

.menu-banner .main-cat-sub .main-cat-sub-image,
.h-newmain #categ-nav .main-cat .main-cat-sub .main-cat-sub-image {
    width: 315px;
}


    .menu-banner .main-cat-sub .main-cat-sub-image a {
        padding: 0;
        display: table;
    }

        .menu-banner .main-cat-sub .main-cat-sub-image a.cb {
            padding-bottom: 5px;
        }

.menu-banner li:hover > a.main-cat-link, .h-newmain #categ-nav .main-cat li:hover > a.main-cat-link .gt {
    font-weight: normal;
    font-style: normal;
}

.h-newmain #categ-nav .main-cat .main-cat-sub-li.all a {
    line-height: 22px;
}


/*haivu*/
.h-newmain #categ-nav .main-cat .main-cat-sub,
.menu-banner .main-cat-sub {
    /*width: 753px; /*haivu*/
}

/*haivu*/
.main-cat .main-cat-sub .main-cat-sub-image {
    padding-top: 25px !important;
}

/*xu ly hieu ung logo http://css3.bradshawenterprises.com/cfimg/*/
.h-newmain.h-mainheader2 .logo {
    position: relative;
    height: 40px;
    /*width:179px;*/
    margin: 0 auto;
}

    .h-newmain.h-mainheader2 .logo img.bottom {
        /*display: none;*/
        opacity: 0;
    }

    .h-newmain.h-mainheader2 .logo img {
        position: absolute;
        left: 0;
        -webkit-transition: opacity 1s ease-in-out;
        -moz-transition: opacity 1s ease-in-out;
        -o-transition: opacity 1s ease-in-out;
        transition: opacity 1s ease-in-out;
    }

/*de phong cac browser < IE8 ko an opacity thi minh chi viec hide top*/
.h-newmain.h-mainheader2.min .logo img.top {
    display: none;
}


.h-newmain.h-mainheader2.min .logo img.bottom {
    /*display:inline;*/
    -ms-opacity: 1;
    opacity: 1;
}

/* <li> blog */
#bloglink .fa-star {
    /*color: #23AE4A;*/
    color: #f30;
    font-size: 80%;
    position: relative;
    top: -1px;
    left: 7px;
}

#bloglink a:hover {
    text-decoration: underline;
}
/*end of <li> blog*/