
/*css main*/
:root {
    --menu-bg: #7f2910;
    --menu-bg2: #973c21;
    --menu-color: #ffffff;
    --menu-color-active: #ffca00;
    --font-family: "Times New Roman";
    --font-family2: "Roboto";
}

body {
    font-family: var(--font-family); /*Roboto; */ /*Mulish, sans-serif !important;*/
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family2);
}

.title {
    color: #333;
}

.text-bold {
    font-weight: bold !important;
}

.text-justify {
    text-align: justify;
}

.hidden {
    display: none;
}



/*css home header*/
.ds-header-logo {
    max-width: 45px;
    max-height: 45px;
}



/*css product*/

.ds-list-product_img {
    height: 320px;
    text-align: center;
}

    .ds-list-product_img::before {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        background-color: rgba(0,0,0,0.2);
        opacity: 0;
        transition: all 0.5s ease-in-out;
        z-index: 1;
    }

    .ds-list-product_img img {
        max-height: 100%
    }

.product:hover .ds-list-product_img {
    background-color: lightgray;
}
 

.ds-product_img {
    height: 320px;
    text-align: center;
}

    .ds-product_img img {
        max-height: 100%
    }

    .ds-product_img::before {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        background-color: rgba(0,0,0,0.2);
        opacity: 0;
        transition: all 0.5s ease-in-out;
        z-index: 1;
    }

.product:hover .ds-product_img {
    background-color: lightgray;
}

.ds-rating_wrap {
    text-align: center;
    display: block !important;
}



/*css trang tin tức*/
.ds-blog_img img {
    height: 230px;
    max-height: 100%;
}

.blog_text {
    height: 160px;
    overflow: hidden;
    text-align: justify;
}

/*css trang hình ảnh*/
.ds-sale-banner img {
    height: 320px;
}


.ds-page-title {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}



/*css khác*/
.ds-price {
    font-size: larger;
    vertical-align: middle
}

.ds-center-rating_wrap .rating {
    margin: auto;
}




/*css footer*/
.ds-footer_logo {
    float: left;
    width: 80px;
    margin-right: 20px;
    margin-bottom: 5px;
}

.ds-footer_top {
    padding-top: 30px;
    padding-bottom: 30px;
}

.ds-footer {
    background-color: var(--menu-bg2);
    color: white;
}



/*css menu*/
.ds-top-header {
    padding: 0px !important;
    max-width: 100%;
    overflow: hidden;
}

    .ds-top-header img {
        width: 100%;
    }

.ds-main-menu {
    background-color: var(--menu-bg);
}

    .ds-main-menu .active {
        color: var(--menu-color-active) !important;
    }

    .ds-main-menu .nav-link {
        color: var(--menu-color);
    }

        .ds-main-menu .nav-link.show {
            color: var(--menu-color);
        }

    .ds-main-menu .navbar .navbar-nav li:hover {
        background-color: var(--menu-bg2);
    }

        .ds-main-menu .navbar .navbar-nav li:hover > a {
            color: var(--menu-color-active);
        }

        .ds-main-menu .navbar .navbar-nav li:hover > .dropdown-menu {
            background-color: var(--menu-bg2);
        }

    .ds-main-menu .navbar .navbar-nav li > .dropdown-item {
        color: white;
    }

    .ds-main-menu .navbar .navbar-nav .dropdown-menu li a:hover {
        color: var(--menu-color-active) !important;
    }

@media only screen and (max-width: 991px) {
    .ds-main-menu .navbar-collapse .navbar-nav {
        background-color: var(--menu-bg2) !important;
    }
}




/*css orrder*/
.ds-heading_s1 {
    padding-top: 20px;
}




/*css trang home banner*/
.screen {
    display: block;
}
.mobile{
    display:none;
}

@media screen and (max-width: 768px) {
    .screen {
        display: none;
    }

    .mobile {
        display: block;
    }
}

/*
@media screen and (max-width: 1200px) {
    .screen {
        display: none;
    }

    .screen-xl {
        display: block;
    }

    .screen-lg {
        display: none;
    }

    .screen-md {
        display: none;
    }

    .screen-sm {
        display: none;
    }
}
@media screen and (max-width: 992px) {
    .screen {
        display: none;
    }

    .screen-xl {
        display: none;
    }

    .screen-lg {
        display: block;
    }

    .screen-md {
        display: none;
    }

    .screen-sm {
        display: none;
    }
}
@media screen and (max-width: 768px) {
    .screen {
        display: none;
    }

    .screen-xl {
        display: none;
    }

    .screen-lg {
        display: none;
    }

    .screen-md {
        display: block;
    }

    .screen-sm {
        display: none;
    }
}
@media screen and (max-width: 576px) {
    .screen {
        display: none;
    }

    .screen-xl {
        display: none;
    }

    .screen-lg {
        display: none;
    }

    .screen-md {
        display: none;
    }

    .screen-sm {
        display: block;
    }
}*/






.ds-header_wrap:not([class*="bg_"]):not([class*="bg-"]) {
    background-color: #fff;
}
.ds-header_wrap.fixed-top {
    position: relative;
    padding-right: 0 !important;
}
.ds-header_wrap {
    transition: all 0.5s ease 0s;
}



.ds-video .blog_text{
    height: 60px !important;
}
.ds-video img{
    height: 180px;
}

.ds-list-video {
    padding-top: 10px;
    padding-bottom: 20px;
}

/*style lại các padding*/
.breadcrumb_section.page-title-mini{
    padding: 15px 0;
}
.section{
    padding: 20px 0;
}

/*css xem pdf bang pdf.js - TOAN BO deu duoi .ds-pdf, khong anh huong trang khac*/
.ds-pdf{
    margin: 15px 0;
}
.ds-pdf .ds-pdf__toolbar{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-bottom: 0;
    font-size: 14px;
}
.ds-pdf .ds-pdf__toolbar .ds-pdf__info{
    color: #555;
    margin-right: auto;
}
.ds-pdf .ds-pdf__btn{
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #c9c9c9;
    border-radius: 4px;
    background: #fff;
    color: #333;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
}
.ds-pdf .ds-pdf__btn:hover,
.ds-pdf .ds-pdf__btn:focus{
    background: var(--menu-bg);
    border-color: var(--menu-bg);
    color: #fff;
    text-decoration: none;
}
.ds-pdf .ds-pdf__viewer{
    position: relative;
    overflow: auto;
    height: 600px;
    max-height: 80vh;
    padding: 10px;
    background: #525659;
    border: 1px solid #ddd;
    -webkit-overflow-scrolling: touch;
}
.ds-pdf .ds-pdf__viewer canvas{
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto 10px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.ds-pdf .ds-pdf__viewer canvas:last-child{
    margin-bottom: 0;
}
.ds-pdf .ds-pdf__status{
    display: block;
    padding: 20px 10px;
    color: #fff;
    font-size: 14px;
    text-align: center;
}
.ds-pdf .ds-pdf__fallback{
    display: block;
    padding: 10px;
    color: #fff;
    font-size: 14px;
    text-align: center;
}
.ds-pdf .ds-pdf__fallback a{
    color: var(--menu-color-active);
    text-decoration: underline;
}
@media only screen and (max-width: 991px){
    .ds-pdf .ds-pdf__viewer{
        height: 70vh;
        padding: 4px;
    }
    .ds-pdf .ds-pdf__toolbar{
        padding: 6px;
    }
}