.sidebar-dark .nav-sidebar>.nav-item-open>.nav-link:not(.disabled), .sidebar-dark .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light .card[class*=bg-]:not(.bg-light):not(.bg-white):not(.bg-transparent) .nav-sidebar>.nav-item-open>.nav-link:not(.disabled), .sidebar-light .card[class*=bg-]:not(.bg-light):not(.bg-white):not(.bg-transparent) .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #334b49;
}
.dropdown-toggle::after {
    font-family: "Font Awesome 5 Pro";
    display: inline-block;
    border: 0;
    vertical-align: middle;
    font-size: 1rem;
    margin-left: .36875rem;
    line-height: 1;
    content: "\f107";
    font-weight: 300;
}

.form-control {
    font-size: inherit;
}

.nav-item-submenu > .nav-link:after {
    content: "\f105";
    font-family: "Font Awesome 5 Pro";
    display: inline-block;
    font-size: 0.8rem;
    vertical-align: middle;
    line-height: 1;
    position: absolute;
    top: .75rem;
    margin-top: .12502rem;
    right: 1.25rem;
    transition: -webkit-transform .25s ease-in-out;
    transition: transform .25s ease-in-out;
    transition: transform .25s ease-in-out, -webkit-transform .25s ease-in-out;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.navbar .fa-bars {
    font-size: 18px;
    width: 16px;
    height: 16px;
    overflow: hidden;
}

#navHeader.navbar-toggler {
    padding: .25rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
    border-radius: .25rem;
}

.ld1-mobile .ld1-section {
    width: 420px;
    margin: auto;
}

.toast {
    max-width: 350px;
    overflow: hidden;
    font-size: .875rem;
    background-color: rgba(255, 255, 255, .85);
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: .25rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, .1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #333;
}

.dropdown-menu > .dropdown-submenu > .dropdown-item:after {
    font-family: "Font Awesome 5 Pro";
    content: "\f105"
}

.list-inline-dotted .list-inline-item:not(:last-child):after {
    font-family: "Font Awesome 5 Pro";
    content: "\f0a3";
}

.daterangepicker .table-condensed thead tr:last-child th {
    padding-top: 0.1rem
}

.daterangepicker .table-condensed tr > td, .daterangepicker .table-condensed tr > th {
    padding: 0.00001rem
}

.dataTable tbody .selected .select-checkbox:after {
    font-family: "Font Awesome 5 Pro";
    content: '\f00c';
    font-size: .58rem;
    line-height: 1.8;
    margin-top: -.5rem;
    margin-left: -.26rem;
    font-weight: bold
}
.table-rowDark {
    background-color: rgba(0, 0, 0, .02);
}
/*
 fix style order khi đơn hàng có nhiều sản phẩm
 khi checked hoặc hover thì cần thêm background
 cho các tr chứa sản phẩm tiếp theo của đơn hàng đó
*/
tr.sub-item-row-selected {
    background-color: #e8f5e9;
}
tr td.hover {
    background-color: #f0f4f6;
}

.table td, .table th {
    padding: 0.75rem
}

.table th.select-checkbox {
    padding: 0.75rem 1rem
}

#logoMain img {
    height: 1.9rem
}

.alert[class*=alert-styled-].alert-warning:after, .alert[class*=alert-styled-][class*=bg-warning]:after {
    content: "\f071";
    font-family: "Font Awesome\ 5 Pro";
}

[data-action="collapse"]:after {
    font-family: Font Awesome\ 5 Pro;
    content: "\f106";
    font-size: 1.4em;
}

.sort-order-input {
    width: 50px;
    height: 30px;
    padding: .15rem
}

.hide-icon-number[type="number"]::-webkit-inner-spin-button, .hide-icon-number[type="number"]::-webkit-outer-spin-button {
    display: none !important;
}

.validation-invalid-label:before {
    content: "\f071";
    font-family: Font Awesome\ 5 Pro;
}

.ck-editor__main .ck-content {
    min-height: 120px;
}
/*
.form-filter select,
.custom-selectbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('data:image/svg+xml;charset=UTF-8,<svg aria-hidden="true" focusable="false" data-prefix="fal" data-icon="chevron-down" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="svg-inline--fa fa-chevron-down fa-w-14"><path fill="currentColor" d="M443.5 162.6l-7.1-7.1c-4.7-4.7-12.3-4.7-17 0L224 351 28.5 155.5c-4.7-4.7-12.3-4.7-17 0l-7.1 7.1c-4.7 4.7-4.7 12.3 0 17l211 211.1c4.7 4.7 12.3 4.7 17 0l211-211.1c4.8-4.7 4.8-12.3.1-17z" class=""></path></svg>') no-repeat right .3rem center/10px 10px;
}
*/

#templateCategory .sidebar-expand-md.sidebar-component {
    width: auto;
}

.dropdown-item {
    padding: .5rem 1rem;
}

#box-blocks .section-item {
    height: 170px;
    cursor: pointer;
}

#box-blocks .section-item > div {
    width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid #ccc;
}

.dropdown-toggle[data-showIconDrop=false]::after {
    display: none;
}

.ld1-element {
    position: absolute !important;
}

.ld1-section {
    position: relative;
    width: 100%
}

.ld1-section > .container {
    height: 100%;
    position: relative;
}

.ld1-top-0 {
    top: 0
}

.ld1-bottom-0 {
    bottom: 0
}

.ld1-left-0 {
    left: 0
}

.ld1-right-0 {
    right: 0
}

.ld1-section .dropdown-menu {
    top: 93%;
}

.ld1-section .dropdown:hover > .dropdown-menu {
    display: block;
}

#pageFontFamily > option {
    font-size: 1rem;
}

/* custom bootstrap-multiselect */
button.multiselect-clear-filter {
    display: none;
}

.multiselect-item.multiselect-filter {
    padding: 0.5rem;
}

.multiselect-item.multiselect-filter {
    margin: auto;
}

.multiselect-item.multiselect-filter > .input-group {
    margin: 0;
}

.multiselect-item.multiselect-filter .form-control.multiselect-search {
    border-radius: 4px;
    padding: .4375rem .875rem;
    width: auto;
}

/* form check switchery */
.form-check-switchery {
    position: relative
}

.form-check-switchery .switchery {
    background-color: #f9f9f9;
    border-color: #dfdfdf;
    box-shadow: #dfdfdf 0px 0px 0px 0px inset;
    transition: border 0.45s ease 0s, box-shadow 0.4s ease 0s;
}

.form-check-switchery .switchery small {
    left: 0;
    transition: background-color 0.45s ease 0s, left 0.2s ease 0s;
    background-color: rgb(255, 255, 255);
}

.form-check-switchery .form-check-input-switchery:checked + .switchery small {
    left: 18px;
    transition: background-color 0.45s ease 0s, left 0.2s ease 0s;
}

.form-check-switchery .form-check-input-switchery:checked + .switchery {
    background-color: #9a9a9a;
    border-color: #9a9a9a;
    box-shadow: #9a9a9a 0px 0px 0px 10px inset;
    transition: border 0.45s ease 0s, box-shadow 0.4s ease 0s;
}

.form-check-switchery .form-check-input-switchery:checked + .switchery-primary {
    background-color: #2196F3;
    border-color: #2196F3;
    box-shadow: #2196F3 0px 0px 0px 10px inset;
}

.form-check-switchery .form-check-input-switchery:checked + .switchery-danger {
    background-color: #EF5350;
    border-color: #EF5350;
    box-shadow: #EF5350 0px 0px 0px 10px inset;
}

.form-check-switchery .form-check-input-switchery:checked + .switchery-warning {
    background-color: #FF7043;
    border-color: #FF7043;
    box-shadow: #FF7043 0px 0px 0px 10px inset;
}

.form-check-switchery .form-check-input-switchery:checked + .switchery-infor {
    background-color: #00BCD4;
    border-color: #00BCD4;
    box-shadow: #00BCD4 0px 0px 0px 10px inset;
}

.form-check-switchery .form-check-input-switchery:checked + .switchery-success {
    background-color: #64bd63;
    border-color: #64bd63;
    box-shadow: #64bd63 0px 0px 0px 10px inset;
}

.bootstrap-autocomplete {
    max-height: 640px;
    overflow-y: auto;
    max-width: 400px;
    width: auto !important;
}
/** Select2 **/
.select2-search--dropdown:after {
    font-family: "Font Awesome 5 Pro";
    content: "\f002";
    right: 1rem;
    left: auto;
}
.select2-selection--single .select2-selection__arrow:after {
    font-family: "Font Awesome 5 Pro";
    content: "\f107";
    right: 0.3rem;
    font-size: 0.92rem;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5385;
}
.select2-container--default .select2-selection--single {
    padding: .4375rem .875rem;
    height: auto;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: auto;
    position: initial;
}