@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

* {
    font-family: 'Roboto';
}

.error-message {
    color: red;
    font-size: 14px;
    font-style: italic;
}

.mt20 {
    margin-top: 20px;
}

.mr-20 {
    margin: 50px 0 10px;
    display: block;
}

.bold {
    font-weight: bold;
}

.w-full {
    width: 100%;
}

.box {
    display: block;
}

.boxInline {
    display: inline-block;
    position: relative;
    margin-bottom: 10px;
}

.myposition {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 18px;
    padding: 10px;
    z-index: 2;
    cursor: pointer;
    background: #be0b0b;
    border-radius: 8px;
}

.col-md-2-custom {
    padding: 0 8px;
}

.mysortable {
    list-style: none;
}


h5.custom-title {
    text-transform: uppercase;
    font-weight: 500;
}

h5.note {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 1.6rem;
}

.fontsize-custom {
    font-size: 1.6rem;
}

.text-right-custom {
    text-align: right;
}

.text-right-custom input[name="submit"] {
    position: fixed;
    right: 30px;
    bottom: 60px;
}

.editor textarea {
    width: 100%;
}

.seo-info h3 {
    color: #1a0dab;
}

.seo-info p {
    color: #158e5c;
    font-weight: 600;
}

.canonical-wrapper {
    position: relative;
}

.canonical-wrapper span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 34px;
    line-height: 34px;
    background: #ededed;
    padding: 0 20px;
}

input[name="canonical"].form-control {
    padding-left: 224px;
}

input[name="canonical"].form-control,
input[name="canonical_translation"].form-control {
    padding-left: 224px;
}

input[name="canonical"].form-control.canonical-custom {
    padding-left: 10px;
}

input[name="canonical"].form-control:focus {
    border-color: #ccc !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.table .image {
    display: inline-block;
    height: 60px;
    width: 60px;
    overflow: hidden;
}

.image-info {
    padding: 10px;
    border: dashed 1px #ccc;
    text-align: center;
}

.image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.img-notfound img {
    cursor: pointer;
}

.image-album {
    height: 100px;
    display: block;
}

.image-album img {
    height: 100%;
    object-fit: cover;
}

.custom-group {
    display: flex !important;
}

.custom-group.input-group {
    margin-top: 0;
}

.custom-group.input-group .btn {
    margin-bottom: 0;
}

.form-inline .input-group>.form-control {
    width: auto;
}

.mr-labelform label {
    margin-bottom: 15px !important;
}

hr {
    border-top: 3px solid #efefef;
}

.select2-container .select2-selection--single {
    height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #555;
    line-height: 33px;
    font-size: 1.4rem;
}

.select2-selection.select2-selection--single:focus,
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #1ab394 !important;
}

.select2-container--default .select2-results__option--selected {
    background-color: #1ab394;
    color: white;
    font-size: 1.4rem;
}

.bg-checked {
    background-color: #fff8e3 !important;
}

.activeJsSwitch+span {
    background-color: rgb(26, 179, 148);
    border-color: rgb(26, 179, 148);
    box-shadow: rgb(26, 179, 148) 0px 0px 0px 16px inset;
    transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

.activeJsSwitch+span {
    transition: left 0.2s ease 0s;
}

.activeJsSwitch+span>small {
    left: 20px !important;
    transition: left 0.2s ease 0s;
}

.removeJsSwitch+span {
    box-shadow: rgb(223, 223, 223) 0px 0px 0px 0px inset !important;
    border-color: rgb(223, 223, 223) !important;
    transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s !important;
    background-color: rgb(255 255 255) !important;
}

.removeJsSwitch+span {
    transition: left 0.2s ease 0s;
}

.removeJsSwitch+span>small {
    left: 0px !important;
    transition: left 0.2s ease 0s;
}

#sortable {
    list-style-type: none;
    margin: 0;
    padding: 0 0 0 15px;
}

#sortable li,
#sortableVariant li {
    margin: 3px 3px 3px 0;
    padding: 1px;
    font-size: 4em;
    width: 290px;
    height: 100px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.ui-state-default img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

span.customsort {
    display: inline-block;
    margin-right: 20px;
}

.customsort li.ui-state-default {
    width: 140px !important;
}

.customsort li.ui-state-default {
    display: inline-block !important;
}

.my-hidden {
    display: none;
}

.index_css strong {
    color: #b6584f;
    font-weight: 400;
}

.index_css a {
    font-weight: 600;
    color: #050961;
    margin-right: 10px;
    display: inline-block;

}

.titlemainindex {
    color: #0d5df1;
    font-weight: 700;
    font-size: 1.4rem;
}

.listlanguage {
    display: inline-flex !important;
}

a.image.itemlanguage {
    height: 59px;
    width: 50px;
}

.itemlanguage.active {
    background-color: #cfcfcf;
}

span.image.image_edit {
    height: 22px;
    width: 30px;
}

textarea {
    width: 100%;
}

.variant h5 {
    float: none;
}

.variant-body p {
    color: #0d5df1;
    font-weight: 600;
    font-size: 14px;
}

.variant .btn {
    padding: 10px 16px;

}

.mb-20 {
    margin-bottom: 10px;
}


.mt-30 {
    margin-top: 30px;
}

.niceSelect {
    width: 250px !important;
}

.variant-input {
    height: 42px;
    margin-bottom: 15px;
}

.variantItem .select2-search__field {
    height: 32px !important;
}

.variantItem span.selection {
    margin-bottom: 10px;
    display: block;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    height: 32px;
    line-height: 30px;
}

.flex {
    display: flex;
}

.flex-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex .image {
    margin-right: 20px;
}

.flex-box label,
.flex-box input {
    margin-bottom: 0;
    margin-top: 0;
}

.flex-box .switchery {
    margin-right: 20px;
}

.ibox-image {
    padding: 20px;
    background: #fff;
}

.ibox-version .form-group {
    margin-right: 20px;
}

.ibox-version .form-group label {
    display: block;
}

.ibox-version .form-group.flex-box {
    min-width: 150px;
}

.image-info-variant {
    text-align: center;
}

.customBtn {
    display: block;
}

.ibox-content-custom {
    padding: 0;
}

.ibox-content-hidden {
    display: none;
}

.modal-custom {
    margin-right: 10px;
}

.form-groupCustom {
    margin-bottom: 0px;
}

.form-groupCustom label {
    margin-left: 10px;
}

span.pull-right.menu-children {
    margin: 10px 10px 0 0;
}

.ibox-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slide-box {
    display: block;
    height: 200px;
}

.mb-30 {
    margin-bottom: 20px;
}

.mt-30 {
    margin-top: 20px;
}

.dropdown-menu-custom {
    display: block;
    width: 100%;
    top: -16px;
}

.dropdown-menu-custom a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

.box-content {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 12px;
}

.box-content .image {
    width: 100px;
    margin-right: 20px;
}

.showBoxListHtml ul {
    padding: 0;
    list-style-type: none;
}

.box-content__body {
    display: flex;
    justify-content: space-between;
    flex: 1;
}

.box-content__body i {
    font-size: 18px;
    cursor: pointer;
}

.promotion {
    position: relative;
}

.promotion-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    font-size: 16px;
}

.wrapper-item {
    margin-top: 20px;
}

.wrapper-item+.wrapper-item {
    margin-top: 10px;
}

.promotion-table .error {
    border: 2px solid red;
    transition: all .3s linear;
}

.wrapper-promotion-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wrapper-promotion-box i {
    font-size: 15px;
}

.wrapper-promotion-box input {
    outline: none;
    border: none;
}

.custom-promotion-item {
    padding: 4px;
    margin-top: 10px;
    margin-bottom: 4px;
}

.custom-promotion-item .close {
    right: 0;
}

.modal-dialog.popup-promotion {
    width: 800px;
}

.promotion-popup p {
    color: #006ad7;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}

.popup-info {
    text-align: right;
}

.promotion-popup .popup-info span {
    color: #ac0011;
    font-weight: bold;
    margin-left: 20px;
}

.promotion-popup .popup-info .sub-span {
    color: #000000;
    font-weight: bold;
    margin-left: 16px;
}

.border-promotion {
    border-bottom: 1px solid #ccc;
    padding: 10px;
}

.item-popup-promotion {
    width: 100%;
    height: 500px;
    overflow-y: scroll;
    overflow-x: clip;
    margin-bottom: 10px;
}

.item-popup-promotion::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px #00000024;
    border-radius: 10px;
    background-color: #F5F5F5;
}

.item-popup-promotion::-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5F5;
}

.item-popup-promotion::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px #3d3d3d;
    background-color: #555;
}

.overtimepromotion .btn {
    font-size: 13px;
    padding: 4px 8px;
}

.infont p {
    font-size: 18px;
}

.none {
    display: none;
    /* Bỏ !important nếu có thể */
}

.customInput {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

.custom-clear {
    display: block;
    height: 50px;
    width: 50px;
    overflow: hidden;
    border-radius: 50%;
}

.custom-clear img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.i-checks.inline-block {
    display: inline-block;
}