:root {
    --yellow: #ffc72c;
    --red: #f30500;
    --blue: #682128;
    --brown: #84754e;
    --grey: #8a8d8f;
    --black: #000000;
    --white: #ffffff;
}

.require {
    color: #f30500;
}

.require::before {
    content: " * ";
}

/* btn */
.btn-primary,
.btn-primary:active,
.btn-primary:focus {
    background-color: #ad242e;
    border-color: #ad242e;
}

.btn-primary:hover {
    color: #fff;
    background-color: #9d494f;
    border-color: #9d494f;
}

/* label */
.form-label > .text-danger {
    font-size: 0.8rem;
}

.form-control {
    height: 38px;
}

/* error */
.error + label,
.label-error {
    color: var(--red) !important;
    margin-bottom: 0rem;
    font-size: 0.8rem !important;
    margin-top: 0.125rem;
}

.form-group .error {
    color: var(--red) !important;
    margin-bottom: 0rem;
}

.error + .input-group-text {
    border-color: var(--red);
    border-width: 1px 1px 1px 0px;
}

.error.form-control,
.error + .select2-container > .selection .select2-selection {
    border: 1px solid var(--red)!important;
    color: #3e4954 !important;
}

.error.form-control,
.error.select2-selection {
    border: 1px solid #eb3a4c !important;
}

[type="radio"].error + label {
    color: #3e4954 !important;
    font-size: 1rem !important;
}

.input-file.error input {
    border: 1px solid #eb3a4c !important;
}

/* profile */
.profile {
    width: 40px;
    height: 40px;
    line-height: 2;
    border-radius: 50%;
    font-size: 20px !important;
    color: #fff;
    text-align: center;
    background: #ad242e;
}

/* dt */
dt {
    font-weight: 400;
    color: #000000;
}

dd {
    margin-bottom: 0;
}

/* select2 */
.select2-container .select2-selection--multiple {
    min-height: 38px;
}
.select2-container--default .select2-selection--single {
    height: 38px;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__clear {
    font-weight: 300;
    font-size: 18px;
    margin-right: 5px;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow
    b {
    margin-left: -10px;
}
.select2-container--default .select2-selection--multiple {
    border: 1px solid #ced4da !important;
}
.select2-container--default
    .select2-selection--multiple
    .select2-selection__clear {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.1rem;
    margin-top: 10px;
    margin-right: 10px;
}
.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove {
    color: #999;
    cursor: pointer;
    display: inline-block;
    font-weight: 300;
    font-size: 1.5rem;
    line-height: 0;
    margin-right: 2px;
    vertical-align: sub;
}
.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    background-color: #e4e4e4;
    border: 1px solid #e4e4e4;
    border-radius: 5px;
}
.select2-container .select2-search--inline .select2-search__field {
    margin-top: 5px;
    padding: 1px 0px 0px 8px;
}

.modal-backdrop + .select2-container {
    z-index: 1065;
}

/* popper */
.popper i {
    font-size: 13px;
}

/* icon */
.icon-tools {
    font-size: 1.2rem;
    line-height: 1;
}

.icon-tools span {
    font-size: 0.875rem;
    margin-left: -7px;
}

.icon-tools .fa {
    font-size: 1.2rem;
}

/* datepicker */
.form-control[class*="datepicker"]:read-only {
    background-color: #ffffff;
}

.form-control[class*="datepicker"]:disabled {
    background-color: #f3f3f3;
}

.datepicker-days .icon-arrow-left,
.datepicker-days .icon-arrow-right,
.datepicker-months .icon-arrow-left,
.datepicker-months .icon-arrow-right,
.datepicker-years .icon-arrow-left,
.datepicker-years .icon-arrow-right {
    font-family: normal normal normal 14px/1 FontAwesome !important;
}

.datepicker.datepicker-dropdown td.day,
.datepicker.datepicker-dropdown th.next,
.datepicker.datepicker-dropdown th.prev {
    height: 35px;
    width: 35px !important;
    padding: 5px 0px;
    text-align: center;
    font-weight: 300;
    border-radius: 4px;
    font-size: 0.8rem !important;
}

.datepicker.datepicker-dropdown.dropdown-menu {
    padding: 0.5rem 1rem;
}

.datepicker.datepicker-dropdown th.next,
.datepicker.datepicker-dropdown th.prev {
    vertical-align: bottom;
}

.datepicker table tr td span {
    font-size: 0.875rem;
}

.datepicker table tr td span.active.active {
    background: linear-gradient(to right, #ad242e 0, #ad242e 100%) !important;
}

.datepicker td,
.datepicker th {
    color: #333;
    font-weight: 300;
}

.datepicker table tr td.active,
.datepicker table tr td.selected,
.datepicker table tr td.today,
.datepicker table tr td.today.disabled,
.datepicker table tr td.today.disabled:hover,
.datepicker table tr td.today:hover,
.datepicker.datepicker-dropdown td.day:hover,
.datepicker.datepicker-dropdown th.next:hover,
.datepicker.datepicker-dropdown th.prev:hover,
.gradient-9 {
    box-shadow: 0 0 30px 5px rgb(255 255 255 / 30%);
    background: linear-gradient(to right, #ad242e 0, #ad242e 100%) !important;
    color: #fff;
    line-height: 1.85;
}

.datepicker table tr td.active.active,
.datepicker table tr td.selected {
    box-shadow: 0 0 30px 5px rgb(255 255 255 / 30%);
}

/* table */
.table-responsive {
    white-space: inherit;
}

.table > :not(caption) > * > * {
    padding: 0.65rem 0.65rem;
}

thead th,
tbody th {
    font-weight: 500;
    font-size: 0.9rem !important;
}

/* datatable */
.column-no {
    text-align: center;
}

table.dataTable thead th {
    padding: 13px 15px;
    font-size: 0.875rem !important;
    font-weight: 500;
}

table.dataTable tbody td {
    padding: 13px 15px;
    /* white-space: nowrap; */
    font-size: 0.85rem !important;
}

.bootstrap-select > .dropdown-toggle {
    padding: 0.475rem 1.1rem;
}

.dataTables_wrapper input[type="search"],
.dataTables_wrapper input[type="text"],
.dataTables_wrapper select {
    padding: 0.475rem 1.1rem;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    background-position: center right !important;
}

table.dataTable {
    width: 100% !important;
}

div.table-responsive > div.dataTables_wrapper > div.row {
    margin: 0;
}

div.table-responsive > div.dataTables_wrapper > div.row .col-sm-12 {
    padding: 0;
}

div.dataTables_length label {
    text-align: left;
    white-space: nowrap;
    /* margin-left: 15px; */
    margin-bottom: 20px;
    color: #333 !important;
    display: inline-flex;
    margin-top: 5px;
    font-weight: 300;
}

:not(.input-group) > .bootstrap-select.form-control:not([class*="col-"]) {
    width: unset;
    padding: 0 0.3rem;
}

.bootstrap-select.form-control-sm .dropdown-toggle {
    padding: 0.475rem 1.25rem;
}

div.dataTables_filter {
    text-align: right;
}

div.dataTables_filter label {
    width: 100%;
    color: #333 !important;
    margin-top: -10px;
}

div.dataTables_filter input {
    margin-left: 0.5em;
    /* margin-right: 1em; */
    display: inline-block;
    width: auto;
    /* border-radius: 0.75rem; */
    width: 200px;
    height: 38px;
}

div.dataTables_info {
    color: #333 !important;
    margin-top: 20px;
}

div.dataTables_paginate {
    margin: 15px 0 0 0;
    white-space: nowrap;
    text-align: right;
}

div.dataTables_paginate ul.pagination {
    margin: 3px 0;
    white-space: nowrap;
    justify-content: flex-end;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: 0 !important;
    padding: 0px 3px;
    height: 43px;
    background: 0 0;
    border-radius: 40px;
    color: #ad242e !important;
    font-size: 16px;
    display: inline-block;
}

.pagination .page-item.active .page-link {
    background: #ad242e33 !important;
    border-color: #ad242e33 !important;
    color: #ad242e !important;
    border: 0 !important;
    /* padding: 10px 5px; */
    /* height: 40px; */
    /* width: 40px; */
    background: 0 0;
    border-radius: 5px;
    font-size: 16px;
    display: inline-block;
    box-shadow: unset;
}

.pagination .page-item .page-link {
    border-color: #e4edff !important;
    color: #ad242e !important;
    border: 0 !important;
    /* padding: 10px 5px; */
    /* height: 40px; */
    /* width: 40px; */
    background: 0 0;
    border-radius: 5px;
    font-size: 14px;
    display: inline-block;
    box-shadow: unset;
}

.pagination .page-item .page-link:hover {
    background: #e4edff !important;
    border-color: #e4edff !important;
    color: #ad242e !important;
    border-radius: 5px;
}

.pagination .page-item .page-link {
    background: 0 0;
    color: #333 !important;
    border: 0px;
}

.pagination .previous .page-link,
.pagination .next .page-link {
    width: 100%;
}

.dataTables_wrapper .dataTables_processing {
    padding-top: 7px;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-size: 15px;
}

@media screen and (max-width: 767px) {
    div.dataTables_filter {
        text-align: left;
        margin-left: 15px;
        margin-bottom: 15px;
        margin-top: 0px;
    }

    div.dataTables_info,
    div.dataTables_paginate,
    div.dataTables_paginate ul.pagination {
        text-align: center;
        justify-content: center;
    }
}

.dataTables_length {
    margin-top: 3px;
}

.dataTables_filter {
    margin-top: 8px;
}

.dataTables_length .form-select-sm + span .select2-selection {
    height: 38px;
}

.dataTables_length .form-select-sm + span {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: -8px;
    width: 60px !important;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    padding: 0 0;
}

.dataTables_wrapper .dataTables_length {
    margin-bottom: 5px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.next,
.dataTables_wrapper .dataTables_paginate .paginate_button.previous {
    width: unset;
}

.modal-body div.dataTables_wrapper div.dataTables_info {
    padding-top: 0.25em;
    margin-top: 10px !important;
}

.modal-body .dataTables_wrapper .dataTables_length {
    margin-top: 8px;
}

.modal-body .dataTables_wrapper select {
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
}

.modal-body div.dataTables_filter input {
    width: 160px;
}

.modal-body .dataTables_wrapper div.dataTables_filter {
    margin-top: 8px;
    float: right;
}

@media (max-width: 767px) {
    .modal-body .dataTables_wrapper div.dataTables_filter {
        float: unset !important;
        text-align-last: center;
    }
}

/* bootbox */

.bootbox-close-button {
    border: 0;
    float: right;
    font-size: 2rem;
    font-weight: 200;
    line-height: 0;
    color: #000;
    text-shadow: none;
    opacity: 0.5;
}

.bootbox .modal-footer button {
    font-size: 0.875rem;
    padding: 0.475rem 0.65rem;
}

.bootbox .modal-header {
    padding: 1rem 1rem;
}

/* .bootbox .modal-body {
    padding: 1.35rem 1.75rem;
} */

.bootbox .modal-footer {
    /* display: block; */
    padding: 0.45rem;
}

.bootbox .modal-footer button:focus {
    outline: none;
    box-shadow: none;
}

/* .bootbox .modal-footer button.btn-primary {
    float: right;
} */

.bootbox .modal-footer button.btn-secondary {
    /* float: right; */
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d26;
    margin-right: 10px;
}

.bootbox .modal-footer button.btn-success {
    /* float: right; */
    color: #fff;
    background-color: #ad242e;
    border-color: #ad242e;
}

.bootbox .modal-footer button.btn-danger {
    /* float: right; */
    color: #fff;
    background-color: #eb3a4c;
    border-color: #eb3a4c66;
}

.bootbox .modal-dialog {
    margin: 3rem;
}

@media (min-width: 576px) {
    .bootbox .modal-dialog {
        max-width: 400px;
        margin: 1.75rem auto;
    }
}

/* fileinput */
.input-file .btn-choose {
    padding: 0rem 1rem;
    line-height: 38px;
    height: 38px;
    font-size: 1rem;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.input-file .btn-reset {
    padding: 0rem 1rem;
    line-height: 38px;
    height: 38px;
    font-size: 0.9rem;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.input-file .form-control {
    height: 38px;
}

/* file-custom */
.input-group .btn-choose {
    padding: 0rem 1rem;
    line-height: 38px;
    height: 38px;
    font-size: 0.9rem;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

/* popover */
.popover {
    margin-top: -3px !important;
}

/* menu */
.sidebar-wrapper .metismenu ul {
    border: 0px solid #ededed;
}

.sidebar-wrapper .metismenu ul li a {
    padding-left: 20px;
}

.sidebar-wrapper .metismenu ul a i {
    margin-right: 10px;
    font-size: 0.5rem;
    vertical-align: middle;
    line-height: 3;
}

.border-right-radius {
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
}

.fs-0 {
    font-size: 0rem !important;
}

.fs-10 {
    font-size: 0.7142857143rem !important;
}

.fs-11 {
    font-size: 0.8rem !important;
}

.fs-12 {
    font-size: 0.85rem !important;
}

.fs-13 {
    font-size: 0.9rem !important;
}

.fs-14 {
    font-size: 1rem !important;
}

.fs-16 {
    font-size: 1.1428571429rem !important;
}

.fs-18 {
    font-size: 1.2857142857rem !important;
}

.fs-20 {
    font-size: 1.4285714286rem !important;
}

.fs-22 {
    font-size: 1.5714285714rem !important;
}

.fs-24 {
    font-size: 1.7142857143rem !important;
}

.fs-26 {
    font-size: 1.8571428571rem !important;
}

.fs-30 {
    font-size: 2.1428571429rem !important;
}

.fs-32 {
    font-size: 2.2857142857rem !important;
}

.fs-36 {
    font-size: 2.5714285714rem !important;
}

.fs-38 {
    font-size: 2.7142857143rem !important;
}

.fs-40 {
    font-size: 2.8571428571rem !important;
}

.fs-42 {
    font-size: 3rem !important;
}

.fs-46 {
    font-size: 3.2857142857rem !important;
}

.fs-48 {
    font-size: 3.4285714286rem !important;
}

.fs-50 {
    font-size: 3.5714285714rem !important;
}

.fs-60 {
    font-size: 4.2857142857rem !important;
}

.fs-70 {
    font-size: 5rem !important;
}

.fs-72 {
    font-size: 5.1428571429rem !important;
}

.fs-76 {
    font-size: 5.4285714286rem !important;
}

.fs-78 {
    font-size: 5.5714285714rem !important;
}

.fs-80 {
    font-size: 5.7142857143rem !important;
}

.fs-100 {
    font-size: 7.1428571429rem !important;
}

.fs-140 {
    font-size: 10rem !important;
}

.fs-180 {
    font-size: 12.8571428571rem !important;
}

.fs-200 {
    font-size: 14.2857142857rem !important;
}

.l-h-0 {
    line-height: 0rem !important;
}

.l-h-10 {
    line-height: 0.7142857143rem !important;
}

.l-h-12 {
    line-height: 0.8571428571rem !important;
}

.l-h-14 {
    line-height: 1rem !important;
}

.l-h-16 {
    line-height: 1.1428571429rem !important;
}

.l-h-18 {
    line-height: 1.2857142857rem !important;
}

.l-h-20 {
    line-height: 1.4285714286rem !important;
}

.l-h-22 {
    line-height: 1.5714285714rem !important;
}

.l-h-24 {
    line-height: 1.7142857143rem !important;
}

.l-h-25 {
    line-height: 1.7857142857rem !important;
}

.l-h-26 {
    line-height: 1.8571428571rem !important;
}

.l-h-30 {
    line-height: 2.1428571429rem !important;
}

.l-h-32 {
    line-height: 2.2857142857rem !important;
}

.l-h-35 {
    line-height: 2.5rem !important;
}

.l-h-36 {
    line-height: 2.5714285714rem !important;
}

.l-h-38 {
    line-height: 2.7142857143rem !important;
}

.l-h-40 {
    line-height: 2.8571428571rem !important;
}

.l-h-42 {
    line-height: 3rem !important;
}

.l-h-45 {
    line-height: 3.2142857143rem !important;
}

.l-h-46 {
    line-height: 3.2857142857rem !important;
}

.l-h-48 {
    line-height: 3.4285714286rem !important;
}

.l-h-50 {
    line-height: 3.5714285714rem !important;
}

.l-h-55 {
    line-height: 4rem !important;
}

.l-h-60 {
    line-height: 4.2857142857rem !important;
}

.l-h-70 {
    line-height: 5rem !important;
}

.l-h-72 {
    line-height: 5.1428571429rem !important;
}

.l-h-76 {
    line-height: 5.4285714286rem !important;
}

.l-h-78 {
    line-height: 5.5714285714rem !important;
}

.l-h-80 {
    line-height: 5.7142857143rem !important;
}

.l-h-100 {
    line-height: 7.1428571429rem !important;
}

.l-h-140 {
    line-height: 10rem !important;
}

.l-h-180 {
    line-height: 12.8571428571rem !important;
}

.l-h-200 {
    line-height: 14.2857142857rem !important;
}

.l-h-n {
    line-height: normal !important;
}

.fw-100 {
    font-weight: 100;
}

.fw-200 {
    font-weight: 200;
}

.fw-300 {
    font-weight: 300;
}

.fw-400 {
    font-weight: 400;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}

.fw-900 {
    font-weight: 900;
}

.fw-light {
    font-weight: 100;
}

.fw-normal {
    font-weight: 400;
}

.fw-medium {
    font-weight: 500;
}

/* swal */
.swal2-popup {
    width: 28em !important;
    border-radius: 0.5em !important;
}
.swal2-popup .swal2-title {
    font-size: 1.575em !important;
    font-weight: 500 !important;
}
