:root {
    --w-color-primary: rgb(12, 136, 162);
    --w-color-primary-rgb: 12, 136, 162;
    --w-color-secondary: rgb(242, 189, 35);
    --w-color-secondary-rgb: 242, 189, 35;
    --bs-body-color: #444444;
    --bs-body-font-size: .9rem;
    --bs-text-color: #222222;
}

#wrapper {
    overflow: unset;
}

#page-content {
    overflow: unset;
    z-index: 2;
    position: relative;
    margin-top: 50px;
    overflow: hidden;
    min-height: calc(100vh - 50px);
}

.navbar-custom {
    top: 0;
}

#left-content-area {
    padding: 12px;
    background-color: #fff;
    margin-left: -12px;
    width: 270px;
    margin-right: 12px;
}

#sidebar-menu ul li a {
    display: block;
    padding: 5px 12px;
    border-radius: 4px;
    color: #333;
    font-weight: 500;
}

#sidebar-menu ul li a:hover {
    color: #5c4fc7;
    background-color: #f5f5f5;
}

#sidebar-menu .menuitem-active>a {
    background-color: #f0eefc;
    color: #5c4fc7;
}

img {
    max-width: 100%;
}

a:focus-visible {
    box-shadow: none;
    outline: none;
}

.flex-1 {
    flex: 1;
}

.bg-gray,
.bg-hover-gray:hover {
    background-color: #f5f5f5;
}

.rounded-sm {
    border-radius: 10px;
}

.rounded-md {
    border-radius: 20px;
}

.text-muted {
    color: #666666 !important;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    margin-bottom: 5px;
}

.form-control {
    color: var(--bs-text-color);
    background-color: transparent;
}

.form-control.form-control-sm {
    line-height: 1.2;
}

.form-control:disabled {
    background-color: #f5f5f5;
}

.form-control.datepicker {
    padding: 0.45rem 0.9rem !important;
}

.form-select {
    background-position: right 8px center;
    padding-right: 28px;
}

.form-help-text {
    font-size: 13px;
    padding: 1px 0 0;
}

.input-error .error {
    color: #f1556c;
    font-size: 13px;
    margin: 1px 0 0;
}

.input-error .input>*,
.input-error .input-group>*,
.input-error .selectize-input,
.input-error .form-check-input,
.input-error .multiselect.form-control,
.input-error .select2-container .select2-selection {
    border-color: #f1556c !important;
}

.input-group-lg>.form-select,
.input-group-sm>.form-select {
    padding-right: 22px;
}

.input-group-sm>.btn,
.input-group-sm>.form-control,
.input-group-sm>.form-select,
.input-group-sm>.input-group-text {
    font-size: 14px;
}

.form-check {
    min-height: 20px;
    line-height: 100%;
    display: flex;
    align-items: center;
}

.form-check-input {
    margin-top: 0;
    height: 18px;
    width: 18px;
    cursor: pointer;
}

.form-check-label {
    padding-left: 5px;
    font-weight: 400;
}

.ck.ck-editor__editable {
    min-height: 250px;
}


.table-responsive {
    max-height: 100%;
}

.table {
    border-color: #e6e6e6;
    color: inherit;
    margin-bottom: 0 !important;
}

.table img {
    max-width: 60px;
    max-height: 60px;
    width: auto;
    height: auto;
}

.table tr>th {
    padding-top: 10px;
    padding-bottom: 8px;
    position: sticky !important;
    top: 0;
    background-color: #f3f7f9;
    z-index: 9;
}

.table tr>th.checkbox,
.table tr>td.checkbox {
    width: 20px;
    padding-right: 0;
}

.table tr>th.index,
.table tr>td.index {
    width: 20px;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
}

.table tr>th.tool,
.table tr>td.tool {
    width: 80px;
    white-space: nowrap;
}

.table tr>th.sort-order,
.table tr>td.sort-order {
    width: 75px;
    white-space: nowrap;
}

.table tr>th.sorting {
    cursor: pointer;
    position: relative;
}

.table tr>th.sorting::before,
.table tr>th.sorting::after {
    position: absolute;
    opacity: 0.3;
    transition: 0.15s all;
    bottom: 50%;
    transform: translateY(50%);
}

.table tr>th.sorting.sorting_asc,
.table tr>th.sorting.sorting_desc {
    color: var(--bs-blue);
    padding-right: 30px;
}

.table tr>th.sorting.sorting_asc::before,
.table tr>th.sorting.sorting_desc::after {
    opacity: 1;
    color: blue;
}

.table tr>td {
    padding-top: 8px;
    padding-bottom: 6px;
}

.table tr>td.tool .tool-group {
    display: flex;
    align-items: center;
}

.table tr>td.tool .form-switch {
    padding-left: 28px;
    margin-right: 5px;
}

.table tr>td.tool .form-switch .form-check-input {
    margin-left: -28px;
    margin-top: 0;
}

.table tr>td.tool .tool-icon {
    color: #7f8b91;
    padding-left: 0;
    padding-right: 0;
    margin-right: 5px;
    display: inline-flex;
    align-items: center;
    font-size: 18px;
}

.table tr>td.tool .tool-icon.dropdown-toggle {
    border-radius: 3px;
    padding: 0 2px;
}

.table tr>td.image {
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
}

.table tr>td.input {
    padding-top: 5px;
    padding-bottom: 5px;
}

.table tr>td input.sort-order {
    padding: 4px 5px 4px;
    min-height: 20px;
    text-align: center;
}

.table tr>td.td-nowrap {
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 200px;
    overflow: hidden;
}

.page-title-box {
    margin-left: -12px;
    margin-right: -12px;
    margin-bottom: 15px;
    padding: 0 12px;
    background: #fff;
}

.page-title-box .control {
    display: flex;
}

.page-title-box .control .btn {
    margin-left: 5px;
    display: inline-flex;
    align-items: center;
}

.page-title-box .control .btn i {
    font-size: 15px;
    margin-right: 5px;
}

#box-index {
    height: calc(100vh - 65px);
    display: flex;
    flex-flow: column;
}

#box-index #card-list {
    flex: 1;
    height: calc(100% - 80px);
    margin-bottom: 0;
}

#box-index .card-table {
    position: relative;
    overflow: auto;
    flex: 1;
}

.has-department-options #box-index {
    height: calc(100vh - 125px);
}

.has-department-options #box-index #card-list {
    height: calc(100vh - 190px);
}

.card {
    margin-bottom: 20px;
}

.card-hover:hover {
    background-color: #f5f5f5;
}

.card-title {
    padding: 0.9rem 1rem 0.8rem;
    margin: 0;
    border-bottom: 1px solid #EEE;
    font-weight: 600;
    font-size: 18px;
}

.card-title.card-title-tabs {
    padding-bottom: 0;
    border-bottom: none;
    font-size: 16px;
}

.card-title .load-content {
    font-size: 14px;
    cursor: pointer;
    color: var(--bs-blue);
    font-weight: normal;
}

.card-body {
    padding: 1rem;
}

.card-filter {
    padding: 5px 10px;
    border-bottom: 1px solid #EEE;
}

.card-body .card-filter {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    margin-top: -5px;
}

.card-filter>.row>* {
    margin: 5px 0;
}

.card-filter .form-group {
    margin-bottom: 0;
}

.card-filter .form-group .form-label {
    margin-bottom: 1px;
}

.card-pagination {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: #dee2e6 thin solid;
}

.card-pagination .info {
    display: flex;
    align-items: center;
}

.card-widgets>a.collapsed i:before {
    content: "\2b";
}

.pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.modal .modal-header {
    border-bottom: 1px solid #EEE;
    padding-top: 10px;
    padding-bottom: 10px;
}

.modal .modal-footer {
    border-top: 1px solid #EEE;
    padding-top: 10px;
    padding-bottom: 10px;
}

.modal.show~.modal.show {
    z-index: 1061;
}

.modal-backdrop.fade.show~.modal-backdrop.fade.show {
    z-index: 1060;
}

.modal.show~.modal.show~.modal.show {
    z-index: 1071;
}

.modal-backdrop.fade.show~.modal-backdrop.fade.show~.modal-backdrop.fade.show {
    z-index: 1070;
}

.modal.show~.modal.show~.modal.show~.modal.show {
    z-index: 1081;
}

.modal-backdrop.fade.show~.modal-backdrop.fade.show~.modal-backdrop.fade.show~.modal-backdrop.fade.show {
    z-index: 1080;
}

.modal .modal-content {
    overflow: hidden;
}

.modal .modal-content>.btn-close {
    position: absolute;
    right: 15px;
    top: 17px;
    z-index: 2;
}

#modal-call-view.modal-form .modal-body {
    background-color: var(--bs-body-bg);
}

#modal-call-view .page-title-box {
    margin-left: -1rem;
    margin-right: -1rem;
    margin-top: -1rem;
    margin-bottom: 1rem;
    padding: 1rem 1rem 0.7rem;
    background-color: #fff;
    border-bottom: 1px solid #EEE;
}

#modal-call-view .page-title-box .page-title {
    line-height: unset;
    padding-right: 30px;
}


.multiselect-checkbox-list .dropdown-item {
    padding: 0;
    margin-bottom: 3px;
}

.multiselect-checkbox-list .dropdown-item:focus,
.multiselect-checkbox-list .dropdown-item:hover {
    background: transparent;
    color: var(--bs-primary);
}

.multiselect-checkbox-list .dropdown-item.active,
.multiselect-checkbox-list .dropdown-item:active {
    background: transparent;
    color: var(--bs-primary);
}

.multiselect-checkbox-list-inline .multiselect-checkbox-list {
    display: flex;
    flex-wrap: wrap;
}

.multiselect-checkbox-list-inline .multiselect-checkbox-list .dropdown-item {
    padding: 0;
    width: auto;
    margin-bottom: 5px;
    margin-right: 20px;
}

label {
    cursor: pointer;
}

label:has(.form-check-input) {
    display: flex;
    align-items: center;
}

label:has(.form-check-input) .form-check-input {
    margin-right: 5px;
}

.dropdown-item {
    color: var(--bs-text-color);
    display: flex;
    align-items: center;
}

.dropdown-menu {
    font-size: inherit;
}

.dropdown-menu .dropdown-item i {
    width: 16px;
    margin-right: 8px;
    font-size: 14px;
    text-align: center;
    margin-top: -1px;
}

.dropdown-menu.icon .dropdown-item {
    padding-left: 10px;
}

.topnav {
    top: 0;
    margin-top: 0;
    background-color: #38414a;
    height: 50px;
    padding: 0;
}

.topnav .navbar-nav .nav-link {
    font-size: inherit;
    color: #f6f6f6;
    padding: 0 15px;
    display: flex;
    height: 50px;
    align-items: center;
}

.topnav .dropdown:hover>.nav-link,
.topnav .navbar-nav .nav-link:focus,
.topnav .navbar-nav .nav-link:hover,
.topnav .navbar-nav .nav-item.dropdown.active>a.dropdown-toggle,
.topnav .nav-item.active>a {
    color: var(--w-color-secondary);
}

.topnav .navbar-nav .nav-link i {
    margin-right: 8px;
    font-size: 14px;
}

.topnav .navbar-nav.navbar-user .nav-link {
    padding: 12px 0 !important;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show>.nav-link {
    color: var(--w-color-secondary);
}

.nav-tab-custom li a {
    background-color: #f5f5f5;
    font-weight: bold;
}

.nav-tab-custom li+li {
    margin-left: 5px;
}

.nav-tab-custom li a.active,
.nav-tab-custom li a:hover {
    background-color: #6658dd;
    color: #fff;
}

.pagination a {
    line-height: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination a i {
    font-size: 14px;
}

.pagination .page-link {
    padding: 0 8px;
    min-width: 30px;
    min-height: 30px;
    text-align: center;
}

.btn:focus {
    box-shadow: none !important;
}

.btn-close:focus {
    box-shadow: none;
}

.btn-xs {
    padding: .2rem .6rem .25rem;
}

.btn i {
    font-size: 15px;
}

.close-jq-toast-single {
    top: 0;
    right: 0;
    font-size: 16px;
    height: 20px;
    width: 20px;
    line-height: 20px;
    background: none;
}

.selectize-input {
    overflow: inherit;
    color: var(--bs-text-color);
}

.selectize-dropdown {
    color: var(--bs-text-color);
}

.selectize-dropdown .optgroup-header,
.selectize-dropdown .option {
    padding: 5px 10px;
}

.selectize-dropdown-content>div {
    color: var(--bs-text-color) !important;
}

.select2-dropdown {
    border: 1px solid #ced4da;
}

.select2-container {
    z-index: 1100;
    width: 100% !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 34px;
}

.ss-header .select2-container--default .select2-selection--single {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: transparent;
}

.ss-header label {
    background-color: transparent;
}

.ss-header.selected label,
.ss-header.selected .select2-container .select2-selection--single .select2-selection__rendered {
    color: #1a73e8;
    background-color: #fff;
}

.checkbox-item>label {
    display: inline-flex;
}

.dragula>* {
    cursor: move;
}

.min-height-1 {
    min-height: 100px;
}

.min-height-2 {
    min-height: 200px;
}

.min-height-3 {
    min-height: 300px;
}

.min-height-4 {
    min-height: 400px;
}

.min-height-5 {
    min-height: 500px;
}

.min-height-6 {
    min-height: 600px;
}

.wc-10 {
    width: 10px;
}

.wc-20 {
    width: 20px;
}

.wc-30 {
    width: 30px;
}

.wc-40 {
    width: 40px;
}

.wc-50 {
    width: 50px;
}

.wc-80 {
    width: 80px;
}

.wc-100 {
    width: 100px;
}

.wc-120 {
    width: 120px;
}

.wc-150 {
    width: 150px;
}

.wc-200 {
    width: 200px;
}

.min-w-50 {
    min-width: 50px;
}

.min-w-80 {
    min-width: 80px;
}

.min-w-100 {
    min-width: 100px;
}

.min-w-150 {
    min-width: 150px;
}

.min-w-200 {
    min-width: 200px;
}

.max-w-50 {
    max-width: 50px;
}

.max-w-80 {
    max-width: 80px;
}

.max-w-100 {
    max-width: 100px;
}

.max-w-150 {
    max-width: 150px;
}

.max-w-200 {
    max-width: 200px;
}

#preloader {
    display: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.image-widget input.url~input {
    display: none;
}

.cursor-pointer {
    cursor: pointer;
}

.multi-media {
    margin-left: -7px;
    margin-right: -7px;
}

.multi-media img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.multi-media a {
    position: relative;
    display: inline-block;
    margin: 7px 7px 0;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .15);
    width: 150px;
    height: 150px;
    overflow: hidden;
}

.multi-media a i {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    font-size: 26px;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#box-data-import th.has-select-value .select2-container .select2-selection--single {
    border-color: #3f6eb4;
}

.ck-editor__main .ck-content {
    max-height: 700px;
}

.box-input-content,
.box-input-route {
    display: none;
}

.post-tag span {
    color: #473e9b
}

.fm-box .input-group .thumb img {
    margin: 1px;
    height: 34px;
    cursor: pointer;
}

@media (max-width: 767.98px) {
    .content-page {
        padding: 0;
    }
}

@media (min-width: 992px) {
    .topnav .dropdown .dropdown-menu {
        padding: 10px 0;
    }

    .topnav .dropdown-item {
        padding: 7px 12px;
    }

    body[data-layout-mode=horizontal] .content-page {
        padding: 10px 0 !important;
        margin-top: 55px;
    }
}

@media (min-width: 1200px) {
    body[data-layout-mode=horizontal] .container-fluid {
        max-width: 100%;
    }

    body[data-layout-menu-position=scrollable]:not([data-sidebar-size=condensed]):not([data-sidebar-size=compact]):not([data-layout-mode=two-column]) .left-side-menu {
        padding: 0;
    }

    body[data-layout-menu-position=scrollable]:not([data-sidebar-size=condensed]):not([data-sidebar-size=compact]):not([data-layout-mode=two-column]) .content-page {
        padding-bottom: 20px;
    }
}

.box-child .form-comments {
    display: none;
}

.accordion-button {
    outline: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: var(--bs-body-font-size);
    font-weight: 500;
}

.account-pages {
    background-image: url('../images/bg-pattern.png');
    background-color: #16AD9A;
    min-height: 100vh;
}