@font-face {
    font-family: 'UTM HelvetIns';
    src: url('../fonts/UTM HelvetIns.eot');
    src: url('../fonts/UTM HelvetIns.woff') format('woff'), url('../fonts/UTM HelvetIns.ttf') format('truetype'), url('../fonts/UTM HelvetIns.svg') format('svg');
}

@font-face {
    font-family: 'UTM Viceroy JF';
    src: url('../fonts/UTM Viceroy JF.eot');
    src: url('../fonts/UTM Viceroy JF.woff') format('woff'), url('../fonts/UTM Viceroy JF.ttf') format('truetype'), url('../fonts/UTM Viceroy JF.svg') format('svg');
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

html {
    font-size: 16px;
}

body {
    font-family: "Arial", sans-serif;
    color: #181818;
    line-height: 1.5;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    line-height: inherit;
}

h4 small, h3 small, h2 small, h1 small {
    color: inherit;
    font-weight: inherit;
}

a {
    color: #90b913;
}

a:hover, a:active {
    text-decoration: none;
}

.wrapper {
    width: 100%;
}

.main-header {
    height: 140px;
    position: relative;
    z-index: 1;
}

.main-header::after {

}

.header-content {
    position: relative;
}

.header-content a.logo {
    display: inline-block;
    margin: 3px 8px 3px 0;
    float: left;
}

.header-content p.slogan {
    font-family: "UTM Viceroy JF" !important;
    font-size: .9rem;
    color: #394da1;
    display: inline-block;
    margin: .5rem 0;
    float: left;
    max-width: 61%;
    line-height: 1.1;
}

.header-content p.slogan > strong {
    font-family: "Times New Roman", serif;
    font-style: italic;
    font-size: 1rem;
}

.header-content p.slogan > span {
    color: #0fb9ff;
}

.header-content a.logo > img {
    max-height: 90px;
}

#frm-search {
    margin: 8px 0;
    padding-right: 0;
}

#frm-search .input-group {
    border: 1px solid #979797;
    background: #e7e7e7;
    max-width: 180px;
}

#frm-search input, #frm-search button {
    border-color: transparent;
}

#frm-search input {
    border-right: none;
    background-color: transparent;
    height: 26px;
    margin: 0;
}

#frm-search button {
    background: transparent;
    padding: 0 4px;
    font-size: 1.2rem;
    line-height: 1;
}

#frm-search button {
    background: transparent;
    padding: 0 4px;
    font-size: 1.1rem;
}

ul.lang {
    display: inline-block;
    margin-bottom: 0;
    margin-top: .2rem;
}

ul.lang > li {
    display: inline-block;
    padding-left: 1px;
}

ul.lang > li img {
    cursor: pointer;
}

.hotline {
    color: #f00;
    font-size: 1rem;
    font-weight: 700;
    /* margin-bottom: 12px; */
    line-height: 1.1;
}

.hotline.xs {
    display: block;
}

.hotline > span {
    font-size: 1.25rem;
}

#main-menu {
    background: #444 url(../images/menu-bg.png) no-repeat center top;
    background-size: cover;
    border: none;
    border-radius: 0;
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    margin: 0 0;
    min-height: 58px;
    box-shadow: 0 4px 3px rgba(0, 0, 0, .5);
}

#main-menu.navbar-default .navbar-nav > .active > a,
#main-menu.navbar-default .navbar-nav > .active > a:focus,
#main-menu.navbar-default .navbar-nav > .active > a:hover,
#main-menu.navbar-default .navbar-nav > li > a:focus,
#main-menu.navbar-default .navbar-nav > li > a:hover {
    background-image: url(../images/nav-hover.png);
    background-repeat: repeat-x;
    background-position: left center;
    position: relative;
    z-index: 3;
    color: #fff;
    text-shadow: none;
}

#main-menu.navbar-default .navbar-nav > .active::after,
#main-menu.navbar-default .navbar-nav > .active::before,
#main-menu.navbar-default .navbar-nav > li:focus::before,
#main-menu.navbar-default .navbar-nav > li:hover::before,
#main-menu.navbar-default .navbar-nav > li:focus::after,
#main-menu.navbar-default .navbar-nav > li:hover::after {
    content: '';
    width: 7px;
    height: 58px;
    position: absolute;
    left: -6px;
    top: 0;
    background: transparent url(../images/nav-hover-shadow.png) no-repeat;
    background-position: -1px center;
    z-index: 2;
}

#main-menu.navbar-default .navbar-nav > .active::after,
#main-menu.navbar-default .navbar-nav > li:focus::after,
#main-menu.navbar-default .navbar-nav > li:hover::after {
    background-position: -7px center;
    left: auto;
    right: -6px;
}

#main-menu .navbar-nav > li > a {
    font-family: "UTM HelvetIns";
    font-size: 17px;
    text-transform: uppercase;
    color: #250f00;
    text-shadow: 0 1px rgba(255, 255, 255, .6);
}

#main-menu.navbar-default .navbar-toggle {
    background-color: #85AF00;
    border-color: #648401;
    float: left;
    margin-left: 15px;
    margin-top: 10px;
}

#main-menu.navbar-default .navbar-toggle .icon-bar {
    background-color: #efefef;
}

.welcome-msg {
    background: #85af00;
    color: #fff;
    padding: 2rem 0;
}

.welcome-msg h4.title {
    font-size: 1.875rem;
}

.welcome-msg p {
    font-size: 14px !important;
}

.group-title {
    font-size: 1.25rem;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 1px solid #e2e2e2;
    padding: 8px 0;
}

.main-footer {
    background: #85af00;
    color: #fff;
    padding: 3rem 0 0 0;
    margin-top: 3rem;
}

.main-footer a {
    color: #ffea00;
    display: inline-block;
}

.main-footer .footer-header {
    color: #a8ff31;
    line-height: 1.5;
    font-size: 14px;
}

.main-footer .footer-header > span {
    display: block;
    text-transform: uppercase;
}

.main-footer ul.social {
    list-style: none;
    display: inline-block;
    padding: 0;
    margin-top: 2rem;
}

.main-footer ul.social li {
    display: inline-block;
}

.main-footer ul.social li > a {
    display: block;
    text-indent: -9999999px;
    height: 33px;
    width: 33px;
    background-image: url(../images/social.png);
    background-repeat: no-repeat;
    background-position: left center;
}

.main-footer ul.social li:nth-child(2) > a {
    background-position: -38px center;
}

.main-footer ul.social li:nth-child(3) > a {
    background-position: -77px center;
}

.main-footer ul.social li:nth-child(4) > a {
    background-position: -115px center;
}

.main-footer ul.social li:last-child > a {
    background-position: right center;
}

.main-footer .sub-footer {
    background: #4c8400;
    text-align: center;
    padding: 1rem 0;
    color: #73c800;
    margin-top: 1rem;
}

.news-item-large {
    border: none;
    margin-bottom: 0;
}

.news-item-large img {
}

.news-item-large .caption {
    padding-left: 0;
    padding-right: 0;
}

.news-item-large h3 {
    font-size: 14px;
    font-weight: 700;
    margin-top: 0;
}

.media-list li.news-item:first-child img {
    max-width: 305px;
    max-height: none;
}

a.more-link {
    display: inline-block;
    font-size: 12px;
    color: #969696;
}

.media-list a {
    color: inherit;
}

ul.home-services {
    padding-left: 0;
    list-style: none;
}

ul.home-services li {
    background-image: url(../images/bullet.png);
    background-position: left center;
    background-repeat: no-repeat;
}

ul.home-services li a {
    display: inline-block;
    padding: 5px 0 5px 1.5rem;
    color: inherit;
}

.product-item {
    margin-bottom: 34px;
    padding: 1px;
}

.product-item h2 {
    margin: 0;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 700;
    padding: 3px 0;
    color: #fff;
}

.product-item .caption {
    background: #575757;
}

.content-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: .5rem;
    max-width: 510px;
    width: 100%;
    border-bottom: 1px solid #e2e2e2;
}

.breadcrumb {
    margin-top: 2.5rem;
    margin-bottom: 0;
    background-color: transparent;
    text-transform: uppercase;
    font-size: 12px;
    color: #8b8b8b;
}

.breadcrumb li:first-child {
    padding-left: 1.5rem;
    background: url(../images/b_home_ico.png) left center no-repeat;
}

.breadcrumb > li + li:before {
    content: "";
    display: inline-block;
    height: 6px;
    width: 6px;
    border: 1px solid transparent;
    border-top-color: inherit;
    border-right-color: inherit;
    transform: rotate(45deg);
    padding: 0;
    margin: 1px 10px 1px 7px;
}

.breadcrumb li > a {
    color: inherit;
}

#frm-contact label {
    font-size: .99rem;
    font-weight: 400
}

#frm-contact label > span {
    color: red;
}

#frm-contact .form-control {
    background-color: #fbfbfb;
}

#frm-contact .btn {
    padding-left: 1.3rem;
    padding-right: 1.3rem;
    background-color: #85af00;
    color: #fff;
    font-size: 1rem
}

.news-item {
    margin-bottom: 3.2rem;
}

.news-item img {
    max-width: 190px;
    max-height: 135px;
}

.news-item .media-heading {
    font-weight: 700;
    font-size: 1.4rem;
}

/* sidebar menu */
#sidebar-menu {
    width: 100%;
    display: block;
    position: static;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #cccccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #ffffff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

#sidebar-menu {
    border-color: #f3f3f3;
    padding: 2rem 0;
    list-style: none;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, .1);
    border-radius: 0;
}

#sidebar-menu > li {
    position: relative;
}

#sidebar-menu > li::after {
    content: "\e250";
    font-family: "Glyphicons Halflings";
    position: absolute;
    top: 14px;
    left: 27px;
    color: #90b913;
    font-size: 10px;
}

#sidebar-menu > li:hover::after {
    color: #fff;
}

#sidebar-menu li:hover,
.sidebar-menu li.active {
    background: #90b913;
}

#sidebar-menu li:hover a,
#sidebar-menu li:hover a > span,
#sidebar-menu li.active {
    color: #fff;
    background: none;
}

#sidebar-menu a {
    display: block;
    padding: .67rem 2rem .67rem 3rem;
    color: inherit;
}

#sidebar-menu .dropdown-menu > li > a {
    color: #333;
}

#sidebar-menu .dropdown-menu > li:hover > a {
    color: #fff;
}

#sidebar-menu a > span {
    font-size: .6rem;
    display: inline-block;
    margin-right: .5rem;
    color: #90b913;
}

.product-name {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 42px;
    border-bottom: #4e4e4e solid 1px;
    padding: 0 0 6px 0;
}

#attributes {
    margin-top: 1em;
    padding-left: 1.2rem
}

#attributes li {
    line-height: 2;
}

#attributes li:first-child{
    list-style: none;
    font-size: 1.3rem;
    font-weight: 700;
    margin-left: -18px;
}

.subheader-image {
    height: 370px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin-bottom: 2rem;
}

#carousel .flex-direction-nav a {
    margin: -85px 0 0;
    width: 14px;
    background-image: url(../images/arrows.png);
    background-repeat: no-repeat;
}

#carousel .flex-direction-nav a:before {
    content: '';
}

#carousel .flex-direction-nav .flex-prev {
    background-position: 0 center;
}

#carousel .flex-direction-nav .flex-next {
    background-position: -17px center;
}

#carousel.flexslider:hover .flex-direction-nav .flex-next {
    right: -14px;
}

#carousel.flexslider:hover .flex-direction-nav .flex-prev {
    left: -14px;
}

#map-canvas {
    position: relative;
    height: 230px;
    width: 100%;
    bottom: initial;
    right: initial;
}

.home-map #map-canvas {
    height: 370px;
}

/*-----------------------------------MEDIA QUERY--------------------------------------------------*/
@media (min-width: 768px) {
    #main-menu.navbar-default .navbar-nav > .active > a,
    #main-menu.navbar-default .navbar-nav > .active > a:focus,
    #main-menu.navbar-default .navbar-nav > .active > a:hover,
    #main-menu.navbar-default .navbar-nav > li > a:focus,
    #main-menu.navbar-default .navbar-nav > li > a:hover {
        background-image: url(../images/nav-hover.png);
        background-repeat: repeat-x;
        background-position: left center;
        position: relative;
        z-index: 3;
        color: #fff;
        text-shadow: none;
    }

    #main-menu.navbar-default .navbar-nav > .active::after,
    #main-menu.navbar-default .navbar-nav > .active::before,
    #main-menu.navbar-default .navbar-nav > li:focus::before,
    #main-menu.navbar-default .navbar-nav > li:hover::before,
    #main-menu.navbar-default .navbar-nav > li:focus::after,
    #main-menu.navbar-default .navbar-nav > li:hover::after {
        content: '';
        width: 7px;
        height: 58px;
        position: absolute;
        left: -6px;
        top: 0;
        background: transparent url(../images/nav-hover-shadow.png) no-repeat;
        background-position: -1px center;
        z-index: 2;
    }

    #main-menu.navbar-default .navbar-nav > .active::after,
    #main-menu.navbar-default .navbar-nav > li:focus::after,
    #main-menu.navbar-default .navbar-nav > li:hover::after {
        background-position: -7px center;
        left: auto;
        right: -6px;
    }

    #main-menu .navbar-nav > li > a {
        font-family: "UTM HelvetIns";
        font-size: 15px;
        text-transform: uppercase;
        color: #250f00;
        text-shadow: 0 1px rgba(255, 255, 255, .6);
        padding-top: 19px;
        padding-bottom: 19px;
        padding-left: 12px;
        padding-right: 12px;
    }

    #main-menu .navbar-nav > li > a {
        font-size: 15px;
    }
}

@media (min-width: 992px) {
    .main-header::after,
    .main-header::before {
        content: "";
        background-image: url(../images/pistar.png);
        background-repeat: no-repeat;
        background-position: center top;
        background-size: 100%;
        width: 255px;
        height: 185px;
        position: absolute;
        top: 0;
        left: 63%;
        margin-left: -197px;
        z-index: 3;
    }

    .main-header::before {
        height: 100px;
        left: 70%;
        background-image: url(../images/leafs.png);
        background-repeat: no-repeat;
        background-position: right top;
        background-size: auto;
        z-index: 2;
    }

    #map-canvas.contact-map {
        height: 230px;
        width: 100%;
        position: absolute;
        bottom: 40px;
        right: -60px;
        max-width: 340px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1195px;
    }

    .main-header::after,
    .main-header::before {
        width: 312px;
        height: 234px;
        left: 53.6%;
    }

    .main-header::before {
        left: 70%;
        height: 100px;
        width: 209px;
    }

    #main-menu .navbar-nav > li {
        margin-left: 0;
        margin-right: 0;
    }

    #main-menu .navbar-nav > li > a {
        font-size: 17px;
        padding-left: 18px;
        padding-right: 18px;
    }

    #main-menu .navbar-nav.navbar-right > li {
        /* margin-left: 9px; */
        /* margin-right: 9px; */
    }

    #main-menu .navbar-nav.navbar-right > li > a {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    #main-menu.navbar-default .navbar-collapse {
        padding: 0
    }

    .header-content p.slogan {
        font-size: 1.32rem;
        max-width: 68%;
        margin: 20px 0;
    }
}

@media (max-width: 320px) {
    .header-content p.slogan {
        max-width: 63%;
        line-height: 1;
    }
}

/* by vdx */
.sidr li ul {
    display: none;
}
.sidr ul li a, .sidr ul li span {
    padding: 10px 15px!important;
}
.sidr ul .dropdown-menu>li>a {
    white-space: unset;
}
.sidr .nav>li>a:focus, .nav>li>a:hover {
    text-decoration: none;
    background-color: unset;
}
.img-gio-hang{
    width: 100%;
    max-width: 30px;
    cursor: pointer;
}
.img-gio-hang-mobile{
    max-width: 24px;
}
.so-luong-san-pham-trong-gio-hang{
    margin-right: 40px;
}
.so-luong-san-pham-trong-gio-hang-mobile{
    margin-right: 0px;
}
.navbar-default .navbar-brand{
    display: none;
    color: #000;
    padding: 9px 12px;
}
@media (max-width: 768px) {
    .navbar-default .navbar-brand{
        display: block;
    }
}
label.error{
    color: red;
}
.subheader-image-static-page img{
    width: 100%;
}
.sub-footer{
    position: relative;
}
.img-scroll-to-top{
    display: none;
    width: 40px;
    height: auto;
    position: fixed;
    right: 5px;
    bottom: 55px;
    cursor: pointer;
}
@media (max-width: 768px) {
    .content-body-static-page img,
    .content-body-article img,
    .content-body-article-content img,
    .content-body-product-detail img,
    .news-item img
    {
        width: 100%!important;
        height: auto!important;
        max-width: 420px!important;
        max-height: 100%!important;
        margin: 0 auto;
    }
    .content-body-static-page iframe,
    .content-body-article iframe,
    .content-body-article-content iframe,
    .content-body-product-detail iframe
    {
        width: 100%!important;
    }
    .news-item .media-body, 
    .news-item .media-left, 
    .news-item .media-right {
        display: table-row-group;
        vertical-align: top;
    }
    .img-scroll-to-top{
        display: block;
    }
}