body {
    position: relative;
    margin: 0;
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
}

.logo-language {
    max-width: 25px;
}

a {
    color: #B53626;
}

.link-color{
    color: #007bff !important;
}

.new{
    max-width: 100% !important;
    margin: 0;
}

.main-container {
    margin: 0 auto;
    padding: 20px 20px;
}

.pointer {
    cursor: pointer;
}

table tr .td-10 {
    width: 105px;
}

body .over-loading {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    z-index: 9999;
}

.modal-dialog {
    top: 25%;
}
.login-form {
    height: 100vh;
}

.content {
    padding: 0px;
    background: #fff;
    overflow: hidden;
}

#table-scroll{
    overflow: auto;
}

header, footer {
    background-color: #080404;
}

.pages {
    min-height: 99vh;
}

.line-table {
    border-bottom: 2px solid #333 !important;
}

.category-menu ul li .menu-home {
    margin-left: 10px !important;
}

.login-form header .navbar .logo {
    margin: 0px auto;
}

header img {
    width: 250px;
}

.login-form footer .navbar .logo img {
    width: 300px;
}

.login-form main .row .header-image img {
    width: 300px;
}

.login-form main .row .action-form button {
    padding: 3px 30px;
}

footer {
    color: #fff;
    font-weight: 900;
    position: absolute;
    width: 100%;
    z-index: 999;
}

footer .logo {
    width: 100%;
    padding: 10px;
}

.main-content {
    margin: 0px;
    min-height: 84vh;
}
.wrap-header{
    width: 100%;
    z-index: 9999;
}

main {
    min-height: 85vh;
}

.small-input {
    width: 100px !important;
    padding: 0px;
}

main .row .col-md-2 {
    padding: 0px
}

main .row .left-menu {
    height: 100%;
    background-color: #6B6A6A;
}

.border_bottom {
    border-bottom: 3px solid #424242 !important;
}

.menu ul .active-menu {
    color: #323535;
}

ul .has-treeview a i {
    right: 1rem !important;
}

.content-site {
    margin-top: 30px;
}

.category-name p {
    font-size: 20px;
    font-weight: bold;
    color: rgb(66, 66, 66);
}

.form-control:focus {
    box-shadow: none;
}

.form-control-underlined {
    border-width: 0;
    border-bottom-width: 1px;
    border-radius: 0;
    padding-left: 0;
}

.form {
    padding-top: 20px;
}

.product-detail .category-name {
    width: 100%;
}

.product-detail .fa-angle-up {
    font-size: 64px;
}

.product-detail section {
    text-align: center;
}

#popup_content .popup_title {
    font-size: 30px;
    position: relative;
}

#popup_content .popup_title .close-icon {
    position: absolute;
    right: 25px;
    cursor: pointer;
}

.product-detail .product-content table .text-top {
    vertical-align: top;
}

table tr .text-middle {
    vertical-align: middle;
}

.product-detail .product-content .product-class .table-bordered, .table-bordered td, .table-bordered th {
    border: 2px solid #6B6A6A;
}

.order-by-code .table thead th {
    border: 1px solid #6B6A6A;
}
.table.table-wrapper thead.th-border-t1-b2 th {
    box-shadow: inset 0 1px 0 #6B6A6A, inset 0 -2px 0 #6B6A6A;
}
.table.table-wrapper thead.th-border-t1-b0 th {
    box-shadow: inset 0 1px 0 #6B6A6A, inset 0 -0px 0 #6B6A6A;
}
.table.table-wrapper thead.th-border-t0-b1 th {
    box-shadow: inset 0 0px 0 #6B6A6A, inset 0 -1px 0 #6B6A6A;
}
.table.table-wrapper thead.th-border-0 th {
    box-shadow: inset 0 0px 0 #6B6A6A, inset 0 0px 0 #6B6A6A;
}
.section-cart-detail .cart-content {
    border: 2px solid;
}

.cart-content .cart-items .input-number {
    border-radius: 0px !important;
}

.cart-content table tbody tr td .small-input {
    width: 25px !important;
    padding: 0px;
}

.section-cart-detail .cart-content .cart-items {
    padding: 25px 25px;
    overflow: auto;
}

.cart-content .cart-items .input-group .input-group-prepend .input-group-text {
    cursor: pointer;
    background: black;
    color: #fff;
    font-weight: bold;
}

.div-center {
    margin: 0 auto;
}

.main-content .confirm-page, .thankyou-page {
    padding: 2rem;
}

.thankyou-page .thankyou-header p {
    font-size: 30px;
    border-bottom: 3px solid black !important;
}

ul li{
    list-style: none;
}

.thankyou-page .thankyou-header p {
    width: 150px;
    margin: 0 auto;
}

.confirm-page .confirm-body, .thankyou-page .thankyou-body {
    margin-top: 50px;
}

.confirm-page .confirm-body .chouaisaki-dropdown {
    margin: 0 auto;
}

.confirm-page .confirm-footer .list-actions {
    margin: 0 auto;
}

.confirm-page .confirm-footer .cart-process {
    float: right;
}
.confirm-page .col-retail {
    min-width: 113px;
}
.confirm-page .col-subretail {
    min-width: 113px;
}
.thankyou-page .thankyou-footer .list-actions {
    margin: 0 auto;
}

.thankyou-body p {
    font-size: 25px;
}

.detail-content {
    padding-top: 50px;
}

.historyid {
    padding-left: 60px;
}

.cart-content .input-group-text {
    padding: 5px;
}

.order {
    padding-top: 50px;
}

.button-order {
    width: 300px;
    height: 70px;
}

.cart-content .input-group-text {
    padding: 5px;
}

.ajax-order {
    background: #fff;
    padding: 20px;
    /*padding-bottom: 50px;*/
    height: 100%;
    overflow-y: auto;
}

.back-to-cart i {
    position: absolute;
    color: #6a6a6a;
    font-size: 60px;
    cursor: pointer;
}

.show-order i {
    color: #6a6a6a;
}

.ajax-order .cart-content .cart-items table {
    margin-bottom: 0px;
}

.ajax-order .section-confirm a {
    margin-left: 2.5rem !important;
}

.search-form .left-form .input-border {
    border-radius: 20px;
    padding-right: 20px;
    border: 2px solid #6c757d !important;
}

.search-form .left-form .input-border input {
    padding: 0;
}

.search-form .left-form .input-border .text-secondary i {
    font-size: 20px;
}

.search-form .right-form button {
    border-radius: 15px;
}

.search-form .right-form button p {
    margin: 0px 25px;
    font-size: 16px;
    font-weight: bold;
}

header .float-right .user-information {
    min-width: 230px;
}

header .float-right .user-information .col-3 {
    margin: auto;
}

header .float-right .user-information .col-2 {
    margin: auto;
}

header .float-right .user-information .col-3 .dropdown #dropdownMenuButton {
    background: none;
}

header .float-right .user-information .col-2 .dropdown #dropdownMenuButton {
    background: none;
}

.newpage .new-content {
    padding: 20px;
}

#footer-list-actions {
    text-align: center;
    margin: 0px auto;
}

.sidebar {
    padding-left: 15px;
    padding-right: 15px;
}

.main-sidebar {
    background-color: #6B6A6A;
}

.elevation-4 {
    box-shadow: none !important;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: transparent !important;
}

.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: transparent !important;
}

[class*=sidebar-dark-] .nav-sidebar>.nav-item>.nav-link.active {
    box-shadow: none !important;
}

[class*=sidebar-dark-] .nav-sidebar>.nav-item.menu-open>.nav-link, [class*=sidebar-dark-] .nav-sidebar>.nav-item:hover>.nav-link, [class*=sidebar-dark-] .nav-sidebar>.nav-item>.nav-link:focus {
    background-color: transparent !important;
}

.nav-item:hover a {
    background-color: transparent !important;
}

.title {
    color: #6B6A6A;
    font-size: 32px;
    border-bottom: 3px solid #6B6A6A;
}

div.line-main {
    border-bottom: 3px solid #6B6A6A;
    width: 100%;
}

.main-body {
    margin-top: 20px;
}

.page-item.active .page-link {
    background-color: #dc3545;
    border-color: #dc3545;
}

.page-link {
    color: #dc3545;
}

.left-menu>ul>li p {
    font-size: 28px;
    font-weight: normal;
}

.menu ul li .nav-link {
    font-size: 28px;
    padding: 0px;
    margin: 10px 0px 0px 0px;
}

.submenu .nav-link {
    font-size: 16px !important;
}

ul.nav-treeview, .child-menu {
    padding-left: 15px !important;
}

ul.nav-treeview li:last-child {
    border-bottom: none !important;
}

.menu-home i.nav-icon {
    margin-left: -10px !important;
}

.message-error {
    font-size: 12px;
    color: red;
}

.main-layout {
    padding: 15px 30px 50px 30px;
}
.mobile-body .main-layout {
    padding-top: 40px;
}

#footer-list-actions .btn-main, .btn-main {
    padding-left: 80px;
    padding-right: 80px;
    border-radius: 10px !important;
    margin: 10px auto;
    font-size: 23px;
}

.btn-main-small {
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 10px !important;
    margin: 10px auto;
    font-size: 18px;
}

.btn-danger {
    border-radius: 20px !important;
}

.fa-main {
    color: #B53626;
}

select {
    --radius: 16em;
    --baseFg: #6B6A6A;
    --baseBg: #ffffff;
    --accentFg: #ffffff;
    --accentBg: #6B6A6A;
    font: 383 3px/1.3 sans-serif;
    -webkit-appearance: none;
    appearance: none;
    color: var(--baseFg);
    border: 1px solid var(--baseFg);
    line-height: 1;
    outline: 0;
    padding: 0.65em 2.5em 0.55em 0.75em;
    border-radius: var(--radius);
    background-color: var(--baseBg);
    background-image: linear-gradient(var(--baseFg), var(--baseFg)), linear-gradient(-135deg, transparent 50%, var(--accentBg) 50%), linear-gradient(-225deg, transparent 50%, var(--accentBg) 50%), linear-gradient(var(--accentBg) 42%, var(--accentFg) 42%);
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-size: 1px 100%, 25px 22px, 27px 22px, 25px 100%;
    background-position: right 25px center, right bottom, right bottom, right bottom;
}

.form-horizontal .form-group {
    margin-right: -15px;
    margin-left: -15px;
    display: flex;
}

.form-horizontal label {
    float: left;
    text-align: right;
}

.form-horizontal .col-md-9 {
    float: left;
}

.line-space {
    width: 100%;
    border: 1px solid #6B6A6A;
    margin: 10px 0;
}

input[type="text"], input[type="password"], input[type="email"], select, select.form-control {
    border-radius: 15px !important;
    border: 1px solid #6B6A6A;
}

.title {
    color: #6B6A6A;
    font-size: 32px;
    border-bottom: 3px solid #6B6A6A;
    width: 100%;
}

div.line-main {
    border-bottom: 3px solid #6B6A6A;
    width: 100%;
}

.main-body {
    margin-top: 20px;
}

.btn-danger {
    background-color: #B53626;
    border-color: #B53626;
}

.account {
    text-align: right !important;
}

input[type="text"], input[type="password"], select, select.form-control {
    border-radius: 15px !important;
    border: 1px solid #6B6A6A;
}

.order-code {
    font-size: 32px;
    color: #6B6A6A;
}

.info {
    text-align: left !important;
}

.text-medium {
    font-size: 26px;
    color: #6B6A6A;
}

.text-mid {
    position: relative;
    top: -10px;
}

.order-by-code {
    padding: 0px 0px;
}

.font-large {
    font-size: 70px;
}

.search-form .btn-main {
    padding: 0px 2rem;
    font-size: 25px;
    color: white;
}

:not(.layout-fixed) .main-sidebar {
    height: 91%;
    min-height: auto;
    position: absolute;
    top: auto;
    z-index: 2;
}

.btn-account, .btn-language {
    background: transparent;
    border: none;
    padding-right: 0px;
}

.btn-account:hover, .btn-account:not(:disabled):not(.disabled):active, .btn-account:not(:disabled):not(.disabled).active, .show>.btn-account.dropdown-toggle {
    background-color: transparent;
    box-shadow: none !important;
}

.icon-main-bar {
    color: #ffffff;
    position: absolute;
    z-index: 9999 !important;
    font-size: 30px;
    padding-left: 14px;
    padding-top: 16px;
}

.icon-main-right {
    position: absolute;
    left: 180px;
}

.sidebar-collapse .icon-main-right {
    left: 0px;
}

.content-wrapper {
    background: #ffffff;
    min-height: 84vh !important;
}


.dropdown-toggle::after {
    font-size: 0.9rem !important;
    margin-left: 0.255em;
    vertical-align: -2px;
    border-top: 0.8em solid;
    border-right: 0.5em solid transparent;
    border-left: 0.5em solid transparent;
}

.hide_left_menu {
    display: none !important;
}
.no_left_menu{margin-left: 0px !important;}

table tr td .content-center{
    margin: 0 auto;
}
.sidebar-collapse .icon-main-right {
    color: #B53626;
}

.sidebar-collapse .icon-main-bar {
    color: #B53626;
}
.table-bordered td, .table-bordered th {
    border: 1px solid #6B6A6A;
}
.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #6B6A6A;
}

.text-end{
    text-align: end;
}
.sidebar li a p{
    color: white;
}
.sidebar li a.active p{
    color: #323535 !important;
}

.alert-danger{
    color: #fff !important;
    background: #dc3545 !important;
    border-color: #d32535 !important;
}
.custom-checkbox{
    text-align: left;
}

.classProductForm #classProductForm{
    max-height: 500px;
    overflow: scroll;
}
body.fixed .main-sidebar, body.fixed .icon-main-right{
    position: fixed;
    top:0px;
}
body.fixed .main-sidebar{
    height:100% !important;
}
.sidebar-collapse .icon-main-right{
    position: absolute !important;
}
.list-news a{
    word-break: break-all;
}
.newpage .img-news{
    max-width: 100%;
}
.btn-medium{
    padding-left:40px;
    padding-right:40px;
    text-transform: none;
    border-radius: 10px !important;
}
.border-10{
    border-radius: 10px !important;
    min-height: 44px;
}
.min-width-180 {
    min-width: 180px;
}
.quantity-input{
    min-width: 80px;
}
.delete_item{
    cursor: pointer;
}
.delete_item_disabled, .delete_item_disabled .fa-times{
    color: #C3C3C3;
}
.input-disabled{
    background: #ffffff;
    border: 1px solid #C3C3C3 !important;
    color: #C3C3C3;
    cursor: no-drop;
}
.delete_item_disabled:hover, .delete_item_disabled .fa-times:hover{
    cursor: no-drop;
}
.position-search{
    float: right;
}
.table.table-wrapper thead th {
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: inset 0 1px 0 #6B6A6A, inset 0 -1px 0 #6B6A6A;
    z-index: 1;
}
.table.table-bordered.table-wrapper {
    border: 1px solid transparent !important;
}
.table-scroll-last-row td{
    position: sticky;
    bottom: 0px;
    background: #fff;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: inset 0 2px 0 #6B6A6A, inset 0 -1px 0 #6B6A6A;
}
.table-scroll-last-row.border-b0-t2 td {
    box-shadow: inset 0 2px 0 #6B6A6A, inset 0 0px 0 #6B6A6A;
}
.table-scroll-last-row.border-b0-t1 td {
    box-shadow: inset 0 1px 0 #6B6A6A, inset 0 0px 0 #6B6A6A;
}
.table-scroll-last-row.border-b0-t2 td {
    box-shadow: inset 0 2px 0 #6B6A6A, inset 0 0px 0 #6B6A6A;
}
.table-scroll-last-row.border-b1-t1 td {
    box-shadow: inset 0 1px 0 #6B6A6A, inset 0 -1px 0 #6B6A6A;
}

.table-wrapper-custom th {
    position: sticky;
    top: 0px !important;
}

input[type="text"], input[type="password"], select, select.form-control {
    border-radius: 10px !important;
    border: 1px solid #6B6A6A;
}
  
.search-input-group.append .form-control {
    border-top-left-radius: 10px!important;
    border-bottom-left-radius: 10px!important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
  
.search-input-group .input-group-append .input-group-text {
    background-color: #fff;
    border: 1px solid #6B6A6A;
    border-left: 0;
    border-radius: 10px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
    .mobile-body .main-sidebar {
        margin-left: -260px;
        z-index: 1;
    }
    .icon-main-right {
        color: #ffffff;
    }
    .sidebar-collapse .icon-main-right {
        color: #B53626;
    }
    .cart-detail .cart-items {
        padding: 0px !important;
    }
    .mobile-body .left-form {
        max-width: 60.333333%;
    }
    .main-container {
        padding: 40px 20px;
    }
    .order-by-code table {
        display: block;
        overflow: auto;
    }
    :not(.layout-fixed) .main-sidebar {
        z-index: 5;
    }
    .mobile-body .search-form .col-md-2{
        max-width: 25%;
        flex: 0 0 21.667%;
    }
    .mobile-body .search-button{
        padding: 0px 40px;
    }

    .min_w200{
        min-width: 200px !important;
    }

    .max_w200{
        max-width: 200px !important;
    }
}
.sl-next:focus, .sl-prev:focus,.sl-close:focus{
    outline: none;
}
.sl-next, .sl-prev{
    font-weight: normal;
    font-size: 7rem !important;
    color: #f00 !important;
}
.sl-close{
    font-size: 4rem !important;
    color: #f00 !important;
}
.sl-counter{
    display: none !important;
}
.img-category{
    width: 100px;
    height: auto;
    margin: 5px;
}
.sl-overlay {
    background-color: #000 !important;
    opacity: 0.8 !important;
}
@media (min-width: 50em){
    .sl-wrapper .sl-navigation button.sl-prev {
        left: 50px;
    }
    .sl-wrapper .sl-navigation button.sl-next {
        right: 50px;
    }
    .sl-wrapper .sl-close {
        right: 60px;
    }
}

/* mobile */

@media only screen and (max-width: 480px) and (min-width: 320px) {
    body {
        height: 100vh !important;
    }
    header .navbar .float-left{
        margin: 0 auto;
    }
    /* header .navbar .float-right{
        margin-left: 120px;
    } */
    /* For mobile phones: */
    [class*="col-"] {
        width: 100%;
    }
    .reset-margin{
        margin: 0 !important;
    }

    .AA{
        max-width: 200px;
        float: right;
    }

    .name-width{
        max-width: 70% !important;
    }

    .main-sidebar, .main-sidebar::before {
        margin-left: 0px;
    }
    .account-page{
        padding: 30px 0px;
    }
    .account-page .row label, .edit-account-page .row label{
        width: 50%;
    }
    .account-page .row div, .edit-account-page .row div{
        width: 45% ;
    }
    .mobile-body .main-sidebar {
        margin-left: -260px;
    }
    .user-information .col-md-7 {
        width: 70%
    }
    .main-layout {
        padding: 50px 30px 50px 30px;
    }
    .table {
        width: 100%;
        overflow-x: auto;
    }
    .sl-next, .sl-prev{
        font-size: 5rem !important;
    }
    .sl-close{
        font-size: 3rem !important;
    }
}

.hide-text-over{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.name-width{
    max-width: 80%;
}
input.comment {
    width: 150px;
}
td .code-model {
    width: 100%;
    word-break: break-word;
}
input[type="text"].error {
    border: 1px solid #ea0a0a;
}

label.error {
    color: #ea0a0a;
    font-weight: 400 !important;
}
td .long-detail {
    word-break: break-word;
}
#colorbox, 
#cboxWrapper, 
#cboxContent {
    height: 100% !important;
}
#cboxLoadedContent {
    height: auto !important;
}
.bootbox-cancel {
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 10px !important;
    margin: 10px auto;
    font-size: 18px;
    background-color: #6B6A6A;
    color: #fff;
}
.bootbox-accept {
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 10px !important;
    margin: 10px auto;
    font-size: 18px;
}
.bootbox.modal {
    z-index: 9999 !important;
}

.fz22{
    font-size: 22px !important;
}

.fz14{
    font-size: 14px;
}

.mt_5{
    margin-top: -5px !important;
}

#footer_center{
    text-align: center;
    margin: 0px auto;
    bottom: 30px;
    position: relative;
}

.table-scroll{
    overflow: auto;
}
tr.cancelled td {
    color: #C3C3C3;
}
tr.cancelled td .badge-secondary {
    background-color: #C3C3C3;
}
@media screen and (min-device-width: 1800px)  {

    .col_1800_2{
        flex: 0 0 13%;
        max-width: 13%;
    }

    .fz_18{
        font-size: 18px !important;
    }

    .ml_5{
        margin-left: 3rem !important;
    }

    .p_0{
        padding: 0 !important;
    }

    .pl_3{
        padding-left: 16px !important;
    }

    .ml_10{
        margin-left: 10%;
    }

    .ml_27{
        margin-left:27px !important;
    }


}

@media only screen and (min-width: 320px) {
    body:not(.sidebar-mini-md) .content-wrapper, body:not(.sidebar-mini-md) .main-footer, body:not(.sidebar-mini-md) .main-header {
        margin-left: 250px;
    }
    .main-sidebar, .main-sidebar::before {
        margin-left: 0px;
    }
}
