:root {
    --ORANGE10: #C67C2D;
    --ORANGE20: #EE9536;
    --ORANGE30: #F4B879;
    --ORANGE40: #F9DCBC;
    --ORANGE50: #FCEAD7;

    --BLUE10: #354FCD;
    --BLUE20: #3F5FF6;
    --BLUE30: #7F94F9;
    --BLUE40: #BFCAFC;
    --BLUE50: #D9DFFD;

    --NEUTRAL10: #151515;
    --NEUTRAL20: #3C3C3C;
    --NEUTRAL30: #8A8A8A;
    --NEUTRAL40: #D0D0D0;
    --NEUTRAL50: #FFFFFF;

    --AlertDanger: #FA2C5A;
    --AlertWarning: #DF9947;
    --AlertSuccess: #73CA5C;
}

body {
    margin: 0;
    font-family: "Work Sans", sans-serif;
    text-rendering: optimizeLegibility;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--NEUTRAL10);
    background: var(--ORANGE50);
}


body:after {
    content: "";
    width: 100%;
    height: 200px;
    background: var(--ORANGE30);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

img {
    width: 100%;
}

a,
a:link,
a:visited {
    color: var(--NEUTRAL10);
    text-decoration: none;
}

.bi {
    position: relative;
    top: 1px;
}

/* NAV HEADER */
nav.right {
    position: absolute;
    top: 0;
    left: 0;
    height: 70px;
    width: 100%;
    box-sizing: border-box;
    margin-top: -90px;

    display: flex;
    align-items: center;
    padding: 0 30px;
}

nav.right a,
nav.right a:link,
nav.right a:visited {
    font-size: 20px;
    margin: 0 2px;
    color: var(--ORANGE10);
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 38px;
    border-radius: 50%;
    box-sizing: border-box;
    text-align: center;
    transition: all .2s linear;
}

nav.right a:hover {
    background-color: var(--ORANGE10);
}

nav.right img {
    background-color: var(--NEUTRAL50);
    height: 40px;
    width: 40px;
    padding: 1px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    top: -2px
}

nav.right .d-flex {
    margin-top: 45px;
    padding-bottom: 45px;
    cursor: default;
    position: relative;
}

nav.right .d-flex:hover .btn-logout {
    display: block;
}

.text-grey {
    color: var(--NEUTRAL30);
}

.btn-logout {
    display: none;
    position: absolute;
    right: calc(40px + .5rem - 10px);
    margin-top: 10px;
    font-weight: 500;
    cursor: pointer;
    background-color: transparent;
    padding: 5px 10px;
    border-radius: 10px;
    transition: all .2s ease-in-out;
}

.btn-logout:hover {
    background-color: var(--NEUTRAL50);
}

/* Menu hamburger */
.menu-mobile {
    display: none;
    position: fixed;
    top: 20px;
    left: 30px;
    z-index: 11;
}

.menu-mobile .toggler {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 26px;
    height: 30px;
    cursor: pointer;
    opacity: 0;
}

.menu-mobile .hamburger {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 26px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-mobile .hamburger > div {
    position: relative;
    flex: none;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: var(--NEUTRAL50);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.menu-mobile .hamburger.darker > div {
    background-color: var(--NEUTRAL20);
}

.menu-mobile .hamburger > div::before,
.menu-mobile .hamburger > div::after {
    content: '';
    position: absolute;
    z-index: 1;
    top: -9px;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: inherit;
}

.menu-mobile .hamburger > div::after {
    top: 9px;
}

/* Toggler Animation */
.menu-mobile .toggler:checked + .hamburger > div {
    transform: rotate(135deg);
}

.menu-mobile .toggler:checked + .hamburger > div:before,
.menu-mobile .toggler:checked + .hamburger > div:after {
    top: 0;
    transform: rotate(90deg);
}

.menu-mobile .toggler:checked:hover + .hamburger > div {
    transform: rotate(225deg);
}

/* Wrap content left and right */
.wrap {
    padding: 0;
    height: auto;
    display: flex;
}

.wrap-left {
    min-width: 250px;
    min-height: 100vh;
    background: var(--NEUTRAL50);
    text-align: center;
    position: sticky;
    top: 0;
    transition: all .5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

.wrap-left.open {
    min-width: 250px;
    visibility: visible;
}

.wrap-right {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 400px;
    margin-top: 90px;
    padding: 30px;
    box-sizing: border-box;
}

.menu-top {
    padding: 20px 0 15px;
    border-bottom: solid 1px var(--ORANGE40);
}

.menu-top img {
    width: 100px;
    height: 101px;
    object-fit: contain;
    object-position: right;
    display: inline-block;
    border-radius: 50%;
    background-color: var(--ORANGE40);
}

.menu-top h4 {
    margin: 20px 0 5px;
    font-size: 1.2em;
    font-weight: 600;
}

.menu-top p {
    margin: 0;
    color: #666;
}

.menu-top button {
    display: none;
}

/* Main Menu*/
.menu-top,
.menu-bottom {
    visibility: visible;
    opacity: 1;
}

.open .menu-top,
.open .menu-bottom {
    opacity: 0;
    animation: fadeIn 1s;
    animation-delay: .25s;
    animation-fill-mode: both;
    visibility: visible;
}

.open .menu-top {
    padding-top: 50px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.menu-bottom {
    position: sticky;
    top: 0;
    padding: 20px 15px 30px
}

.menu-bottom .bi {
    margin-right: 15px;
}

.menu-bottom a {
    display: block;
    font-weight: 500;
    font-size: inherit;
    margin-bottom: 10px;
    border-radius: 10px;
    height: 35px;
    line-height: 35px;
    text-align: left;
    padding: 0 20px;
    position: relative;
    cursor: pointer;
    transition: all .2s linear;
}

.menu-bottom a:hover,
.menu-bottom div.menu:hover,
.menu-bottom a.active:hover {
    color: #FFF !important;
    background: var(--ORANGE30);
}

.menu-bottom a.active,
.menu-bottom div.menu.active {
    color: #FFF !important;
    background: var(--ORANGE20);
}

.menu-bottom a .bi {
    font-size: 17px;
}

.menu-bottom .divider {
    height: 1px;
    background: var(--ORANGE50);
    margin: 15px 0 15px 53px;
}

.menu-bottom .icon {
    width: 25px;
    display: inline-block;
}

/* Content */
h1.title {
    text-align: left;
    letter-spacing: 1px;
    color: var(--NEUTRAL50);
    margin: 0;
    font-weight: 500;
    font-size: 1.8em;
}

.title + .text-white small {
    color: #FFFFFFBB;
}

.back-content {
    background: #FFF;
    box-sizing: border-box;
    padding: 20px;
    min-height: 300px;
    margin-bottom: 50px;
    border-radius: 12px;
    box-shadow: 0 2px 15px #55555510;
}

/* Dashboard */
.dashboard-content h2 {
    font-size: 1.8em;
    color: #F4F4F4;
    margin: .8em 0;
}

.list .card,
.list a.card,
.stats a {
    width: 100%;
    display: block;
    margin-bottom: 15px;
    padding: 20px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 8px #33333315;
    background-color: #FFF;
    text-align: center;
    font-size: 1.1em;
    transition: all .3s ease-in-out;
}

.stats a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 5px #33333340;
}

/* Info Bottom */
.info {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translate(0, -50%);
    font-size: .9em;
    color: #888;
    z-index: -1;
}

/* Table */
.table tr td {
    line-height: 1.5;
    vertical-align: middle;
    cursor: default;
}

.table > :not(:last-child) > :last-child > * {
    border-bottom-color: inherit;
}

.table p.desc {
    overflow: hidden;
    text-overflow: ellipsis;

    display: -webkit-box;
    display: -moz-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
}

.table .btn-action {
    font-size: 1rem !important;
    color: #00000050;
    height: 32px;
    width: 32px;
    padding: 0;
    margin-left: 6px;
    border-radius: 12px;
    transition: all .4s ease;
}

.table .btn-action:first-child {
    margin-left: 0;
}

.table .btn-action:hover {
    background-color: #00000010;
    color: var(--ORANGE10);
}

.card-table {
    padding-left: 0;
    padding-right: 0;
}

.card-table .table th,
.card-table .table td {
    vertical-align: middle;
    cursor: default;
    color: var(--NEUTRAL10);
}

.card-table .table th:first-child,
.card-table .table td:first-child {
    padding-left: 30px;
}

.card-table .table th:last-child,
.card-table .table td:last-child {
    padding-right: 30px;
    text-align: right;
}

.card-table .table.table-link tbody td {
    cursor: pointer;
}

.card-table .table th {
    cursor: pointer;
    font-size: 15px;
    user-select: none;
    font-weight: normal;
    color: var(--NEUTRAL20);
    border-bottom: solid 1px var(--NEUTRAL40);
}

.card-table .table tbody tr {
    border-color: var(--NEUTRAL40);
}

.card-table .table tbody tr:last-child {
    border-color: transparent;
}

.card-table .table tfoot td {
    color: var(--NEUTRAL40);
}

.card-table img.img-thumbnail {
    width: 35px;
    height: 30px;
    border-radius: 6px;
    object-fit: cover;
    border: solid 1px #EEE;
}

.card-table .status-icon,
.custom-table .status-icon {
    display: inline-block;
    height: 22px;
    width: 22px;
    line-height: 22px;
    text-align: center;
    color: #FFF;
    border-radius: 8px;
    opacity: .5;
    font-size: 14px;
    position: relative;
    top: -1px;
}

.custom-table .table th,
.custom-table .table td {
    vertical-align: middle;
    cursor: default;
    color: var(--ORANGE10);
    padding: .65rem .5rem;
}

.custom-table .table th {
    user-select: none;
    font-weight: normal;
    color: var(--ORANGE20);
    border-bottom: solid 1px var(--ORANGE30);
}

.custom-table .table tbody tr {
    border-color: var(--NEUTRAL30);
}

.custom-table .table tbody tr:last-child {
    border-color: transparent;
}

/* List.js custom */
.sort::after {
    position: absolute;
    margin-left: 4px;
    font-family: 'bootstrap-icons' !important;
    font-style: normal;
    font-weight: normal;
    text-transform: none;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.sort::after {
    content: "\f283";
    font-size: 11px;
    margin-top: 5px;
    color: #000000AA;
}

.sort.asc,
.sort.desc,
.sort.asc::after,
.sort.desc::after {
    color: var(--ORANGE20) !important;
}

.sort.asc::after {
    content: "\f282" !important;
}

.sort.desc::after {
    content: "\f286" !important;
}

.pagination li {
    display: inline-block;
    padding: 0;
    margin-right: 5px;
    border-radius: .75rem;
    background-color: #EEE;
    box-sizing: border-box;
    transition: all .3s linear;
}

.pagination li > a {
    position: relative;
    height: 2rem;
    min-width: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #7e8299;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1rem;
    cursor: pointer;
    transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.pagination li:hover {
    background-color: var(--ORANGE40);
}

.pagination li.active {
    background-color: var(--ORANGE20);
}

.pagination li.active > a {
    color: #fff;
}

.pagination + div {
    color: #999;
    font-size: 14px;
}

.pagination-show {
    height: 2rem;
    color: var(--NEUTRAL10);
    cursor: pointer;
    font-size: 1rem;
    padding: 0 0 0 0.4rem;
    border: 0 !important;
    border-radius: 0.75rem;
    transition: all .3s ease;
    outline: 0;
}

/* FORM */
.wrap-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 200px;
    height: 200px;
    box-sizing: border-box;
    border: solid 1px #E5E5E5;
    border-radius: 24px;
    background-color: #EEE;
    font-size: 46px;
    color: #00000030;
}

.wrap-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.wrap-image .btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: #f3f6f9CC;
    border-color: #f3f6f9CC;
    border-radius: 13px;
    padding: 0;
    width: 35px;
    height: 35px;
}

/* Jquery Validate */
.form-control.error:focus,
.form-select.error:focus {
    box-shadow: 0 0 0 0.2rem rgba(253, 7, 7, 0.2);
    border-color: #fe8686;
}

label.error {
    position: relative;
    margin: 5px 0 10px 0;
    font-size: 12px;
    color: #c32c27;
    letter-spacing: 0;
    text-transform: none;
    text-align: left;
    display: block;
    transform: none !important;
}

.form-floating label.error {
    position: absolute;
    top: -3px;
    right: 0;
    left: unset;
}

select + label.error {
    right: 23px;
}

.input-icon {
    position: relative;
}

.input-icon > i {
    position: absolute;
    top: .65rem;
    left: .70rem;
    color: #888;
    font-size: 18px
}

.input-icon > input {
    padding-left: 2.2rem;
}

/* Custom css air datepicker */
#datepickers-container {
    z-index: 9999;
}

.form-control.datepicker-here[readonly] {
    background-color: #FFF;
}

/* Custom css bootstrap */
.btn {
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    height: 40px;
    padding-left: 20px;
    padding-right: 20px;
}

.btn-auto {
    height: unset;
}

.form-control,
.form-select {
    font-size: 15px;
    border-radius: 12px;
    border-color: #E5E5E5;
    height: 40px
}

.form-control:hover,
.form-select:hover {
    border-color: var(--ORANGE30);
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.20rem #4bddda50;
}

.form-control[readonly] {
    background-color: unset;
}

.form-select {
    color: #6C757D;
    transition: all .15s ease-in-out;
}

.form-floating > .form-control,
.form-floating > .form-select {
    border-radius: 10px;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    transform: scale(0.80) translateY(-.65rem) translateX(.15rem);
}

.badge {
    padding: .25em .4em .32em;
}

.modal-content {
    border-radius: 12px;
}

.modal-title {
    color: var(--NEUTRAL30);
}

.modal-body h6 {
    line-height: 1.6;
}

.toast {
    width: auto;
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translate(calc(-50% + 65px), -50%);
    font-size: 1em;
    border-radius: 10px;
    background-color: #FFF;
    overflow: hidden;
    z-index: -1;
}

.toast.show,
.toast.hide {
    z-index: 1111;
}

.toast-body {
    padding: 1em 2em 1em 1.6em;
}

.toast .btn-close {
    width: 5px;
    height: 5px;
    box-shadow: none;
}

.toast-body:before {
    content: "";
    width: 6px;
    height: 42px;
    background-color: var(--ORANGE20);
    border-radius: 6px;
    position: absolute;
    left: 6px;
    top: 5px;
}

.danger .toast-body:before {
    background-color: var(--AlertDanger);
}

.warning .toast-body:before {
    background-color: var(--AlertWarning);
}

.success .toast-body:before {
    background-color: var(--AlertSuccess);
}

.primary .toast-body:before {
    background-color: var(--ORANGE20);
}

/* BS BG Light */
.bg-light-light {
    color: #181c32;
    background-color: #f3f6f9;
}

.bg-light-success {
    color: #0bb783;
    background-color: #d7f9ef;
}

.btn.btn-light-success {
    color: #0bb783;
    background-color: #d7f9ef;
    border-color: transparent;
}

.btn.btn-light-success:hover,
.btn.btn-light-success:focus {
    color: #fff;
    background-color: #0bb783;
}

.btn.btn-light-success:focus {
    box-shadow: 0 0 0 .2rem rgba(11, 183, 131, .3);
}

.bg-light-primary {
    color: #1bc5bd;
    background-color: #c9f7f5;
}

.btn.btn-light-primary {
    color: #1bc5bd;
    background-color: #c9f7f5;
    border-color: transparent;
}

.btn.btn-light-primary:hover,
.btn.btn-light-primary:focus {
    color: #fff;
    background-color: #1bc5bd;
}

.btn.btn-light-primary:focus {
    box-shadow: 0 0 0 .2rem #1bc5bd50;
}

.bg-light-info {
    color: #8950fc;
    background-color: #eee5ff;
}

.btn.btn-light-info {
    color: #8950fc;
    background-color: #eee5ff;
    border-color: transparent
}

.btn.btn-light-info:hover,
.btn.btn-light-info:focus,
.btn.btn-light-info.hovered {
    color: #fff;
    background-color: #8950fc;
}

.btn.btn-light-info:focus {
    box-shadow: 0 0 0 .2rem #8950fc50;
}

.bg-light-warning {
    color: #ffa800;
    background-color: #fff4de;
}

.btn.btn-light-warning {
    color: #ffa800;
    background-color: #fff4de;
    border-color: transparent
}

.btn.btn-light-warning:hover,
.btn.btn-light-warning:focus {
    color: #fff;
    background-color: #ffa800;
}

.btn.btn-light-warning:focus {
    box-shadow: 0 0 0 .2rem #ffa80050;
}

.bg-light-danger {
    color: #f64e60;
    background-color: #ffe2e5;
}

.btn.btn-light-danger {
    color: #f64e60;
    background-color: #ffe2e5;
    border-color: transparent
}

.btn.btn-light-danger:hover,
.btn.btn-light-danger:focus {
    color: #fff;
    background-color: #f64e60;
}

.btn.btn-light-danger:focus {
    box-shadow: 0 0 0 .2rem #f64e6050;
}

/* SELECT2 */
.select2-container {
    /*    width: 100% !important;*/
}

.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single {
    border-radius: 12px;
    height: 40px;
    width: 100%;
    border-color: #E5E5E5;
}

.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #899ca8;
    box-shadow: 0 0 0 0.2rem #303E4730;

}

.select2-container--default .select2-selection--multiple .select2-selection__arrow b,
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}

.select2-container--default .select2-selection--multiple .select2-selection__arrow:after,
.select2-container--default .select2-selection--single .select2-selection__arrow:after {
    position: absolute;
    margin-left: 4px;
    font-family: 'bootstrap-icons' !important;
    font-style: normal;
    font-weight: normal;
    text-transform: none;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    content: "\f282";
    position: absolute;
    top: 12px;
    right: 10px;
    color: #666;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    width: 100%;
    font-size: 15px;
    line-height: 28px;
    padding: .375rem .75rem;
}

.select2-container--default .select2-search--dropdown {
    padding: .55rem .7rem;
}

.select2-container--default .select2-dropdown {
    border: 1px solid #e4e6ef;
    box-shadow: 0 0 10px rgba(82, 63, 105, .15);
}

.select2-dropdown {
    border-radius: 8px;
    overflow: hidden;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    outline: 0 !important;
    border-radius: .75rem;
    border: 1px solid #e4e6ef;
    padding: .45rem .9rem;
}

.select2-container--default .select2-results__options {
    padding: .65rem 0;
}

.select2-results__option {
    font-size: 15px;
    padding: .55rem 1rem;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background: #ebedf3;
    color: #3f4254;
}

.select2-container--default .select2-results__option.select2-results__option--highlighted {
    background: #303E47;
    color: #FFF;
}