:root {
    --minimal: #f5f5f5;
    --absolute: #282828;
    --plum: #5a2e98;
    --burgundy: #981e32;
    --gold: #c93;
    --dark-gold: #a08040;
    --explore: #2baebe;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    height: 100%;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    background-color: var(--minimal);
    color: var(--absolute);
    font-size: 14px;
}

.sidenav a {
    outline: 0 none;
    text-decoration: none;
}

.sidenav a:hover,
.sidenav a:focus {
    text-decoration: none;
    outline: 0 none;
} */

.reset-password a {
    color: #4c4c4c;
    border-bottom: 1px dotted var(--gray);
}

.admin-wrapper {
    min-height: calc(100% - 80px);
    display: flex;
    width: 100%;
}

/* Navigation */

.admin-sidebar.admin-sidebar-mobile {
    width: 100%;
}

.admin-sidebar {
    width: 220px;
    background: #272930;
    vertical-align: top;
    z-index: 2;
}

.admin-sidebar.collapse.in {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.admin-sidebar.admin-sidebar-mobile.collapse.in {
    display: block;
}

ul.sidenav {
    width: 100%;
    background: #272930 none repeat scroll 0 0;
    display: block;
    border-bottom: 1px solid #2f323a;
    border-top: 1px solid #1a1c20;
    margin: 0;
    padding: 0;
}

ul.sidenav li a {
    border-bottom: 1px solid #1a1c20;
    border-top: 1px solid #32353e;
    color: #c9d4f6;
    display: block;
    font-size: 13px;
    font-weight: 300;
    padding: 14px 18px 13px 15px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

ul.sidenav li.parent a:hover {
    background-color: #2a2c34;
}

ul.sidenav li.parent a i, ul.sidenav li.parent a b {
    font-size: 14px;
    margin-right: 7px;
    text-align: center;
    width: 20px;
}

ul.sidenav li.parent a b {
    float: right;
}

/* ul.sidenav li.parent a span.archer-nav-item {
    display: inline-block;
} */

ul.sidenav li.parent.active a {
    background-color: #2a2c34;
    border-left: 1px solid #f18322;
}

ul.sidenav li.active > a i {
    color: #f18322;
}

ul.sidenav li.parent.danger a {
    background-color: #dc4d41;
}

ul.sidenav li ul {
    list-style: none;
    background-color: #1a1c20;
    margin: 0;
    padding: 1px 0 0;
}

ul.sidenav .parent ul li {
    background-color: #1a1c20;
    list-style: outside none none;
}

ul.sidenav .parent ul.subnav li a {
    border-top: none;
    background-color: #1a1c20;
    font-size: 11px;
    padding: 10px 20px 10px 50px;
    border-left: none;
}

ul.sidenav .parent ul li a:hover,
ul.sidenav .parent ul li.active a,
ul.sidenav .parent ul li.active a:hover {
    background-color: #1e2025;
}

ul.sidenav .parent ul li.active a {
    border-left: 1px solid #f18322;
    color: #f18322;
}


/* Main Content */

#main-content {
    display: flex;
    vertical-align: top;
    padding: 0;
    position: relative;
    flex-direction: column;
    flex: 6;
    /* margin-left: 216px;*/
}

/* Date Range Control */

#dateRangeControl .form-group { 
    display: inline-block;
}

#dateRangeControl .form-group label {
    display: none;
}

.modal-datepicker {
    z-index: 1600!important;
}

/* Landing Page Header*/

.page-title {
    background: #fff;
    border-bottom: 1px solid #e9e9e9;
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.05);
    padding: 20px 25px;
    position: relative;
    margin-bottom: 20px;
}

@media (max-width: 768px) {

    .page-title h2 {
        display: block;
        float: none !important;
    }
}

.btn-transparent {
    border: none!important;
    background: transparent!important;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.form-login .form-control:focus {
    border-color: #e9ba10;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(255, 153, 0, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(255, 153, 0, .6);
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    font-weight: 600;
}

.alert ul,
.alert li {
    list-style-type: none;
}

.contact-message-dlg {
    background: #e8e8e8;
}

.contact-message-shadow-dlg {
    border: 1px solid #c7c7c7;
    box-shadow: 0 0 20px gray;
}

.contact-message-dlg .ui-dialog-titlebar {
    background: transparent;
    border: medium none;
    color: #777777;
    padding: 5px 10px;
}

.contact-message-dlg .ui-dialog-content {
    background: #fdfdfd;
    border: 1px solid #d7d7d7;
    color: #313131;
    font-size: 1.2rem;
    margin: 0 5px;
    padding: 10px 10px 20px;
}

.contact-message-dlg .ui-dialog-titlebar-close {
    visibility: hidden;
}

.contact-message-dlg .ui-dialog-buttonpane {
    background: transparent;
    border: none;
    padding: 10px 15px;
}

.contact-message-dlg .btn:focus {
    outline: none;
}

.card {
    margin-bottom: 20px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.card-header[data-bs-toggle=collapse]:after {
    content: "\f107";
    color: #333;
    top: .5em;
    right: 1rem;
    font-size: 1.25rem;
    position: absolute;
    font-family: "Font Awesome 6 Pro"
}

.card-header[aria-expanded="true"]::after {
    content: "\f106";
}

h2.card-header {
    font-size: 1.25rem;
}

.vertical-buttons {
    position: fixed;
    top: 50%;
    right: 0;
    padding: 0;
/*     writing-mode: vertical-rl; */
    text-transform: uppercase;
/*     transform: translateY(-50%) rotate(180deg); */
/*     border-radius: 0 0.5rem 0.5rem 0; */
    border: none;
    z-index: 1010;
    white-space: nowrap;
  }

  .vertical-buttons a {
    border-radius: 1rem 0 0 1rem; 
    border: 3px solid #fff;
    border-right: 0;
  }

/* dataTables Bootstrap Overwrites */



.dataTable tfoot {
    display: table-header-group !important;
    background-color: rgba(0, 0, 0, .02);
    /* Lighter than odd row color */
}

.dataTable tfoot select {
    min-width: 100px !important;
}

.action-buttons {
    min-width: 120px;
    width: auto !important;
    white-space: nowrap;
}

@media (max-width: 1300px) {

    .btn>.fa:after,
    button i.fa:after {
        content: "";
    }

    .action-buttons {
        min-width: 0;
    }

    i.fa {
        margin: 0;
    }
}

@media (max-width: 768px) {

    .table .action-buttons .btn span,
    .dataTables_length {
        display: none;
    }

/*     table.dataTable th,
    table.dataTable td {
        display: none;
    } */

    table.dataTable th.action-buttons,
    table.dataTable td.action-buttons {
        display: table-cell;
    }

    table.dataTable td.show-xs,
    table.dataTable th.show-xs {
        display: table-cell;
    }

    .buttons-excel,
    .buttons-pdf,
    .buttons-csv {
        display: none;
    }
}

/* Gallery */

.gallery-image-box[data-active="0"] img {
    filter: grayscale(1);
}

.img-exclude-overlay {
    visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.img-exclude-overlay i {
    position: absolute;
    color: #ff4d3a;
    font-size: 3.5rem;
    top: 34%;
    left: 34%;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #ffffff;
}

.gallery-image-box[data-active="0"] .img-exclude-overlay {
    visibility: visible!important;
}

a[data-active="0"] .show,
a[data-active="1"] .hide {
    display: inline-block;
}

a[data-active="1"] .show,
a[data-active="0"] .hide {
    display: none;
}

.gallery-image-box {
    margin: 0 auto;
    background-color: #d0d0d0;
    color: #fff;
    position: relative;
    background-size: cover;
    outline: none;
    padding: 10px;
    cursor: pointer;
}

.gallery-image-box.bg-info {
    color: #fff;
    background-color: #5bc0de !important;
    border-color: #46b8da;
}

.gallery-image-box.bg-info:hover {
    color: #fff;
    background-color: #31b0d5 !important;
    border-color: #269abc;
}

.gallery-image-box img {
    display: block;
    width: 100%;
    background-color: #212121;
}

.image-action-links a:before {
    content: " | ";
    color: var(--absolute);
}

.image-inverse {
    filter: invert(100%);
}

.loading-container {
    position: absolute;
    color: #fff;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, .65);
    overflow: hidden;
    z-index: 100;
    margin: -10px;
    display: none;
}

.loading-indicator {
    position: absolute;
    color: #fff;
    left: 40%;
    top: 40%
}

/* End Gallery */

.tooltip-inner {
    color: #fff;
    text-align: left;
    padding: 10px 15px;
    font-size: 16px;
    max-width: 400px;
}

/* Temp overwrite */

div.dataTables_wrapper div.dataTables_filter {
    text-align: right;
}

div.dataTables_wrapper div.dataTables_customFilter label {
    font-weight: normal;
    white-space: nowrap;
    text-align: left;
    margin-top: 5px;
}

div.dataTables_wrapper div.dataTables_customFilter input {
    margin-left: 0.5em;
    display: inline-block;
    width: auto;
}

.dataTable thead th.no-sort {
    pointer-events: none;
}

.dataTable thead th.no-sort::before,
.dataTable thead th.no-sort::after {
    content: "";
}

.dataTables_length,
.dt-buttons {
    display: inline-block;
    margin-right: 12px;
}

/* table.dataTable > thead > tr:first-child > th {
    padding: 12px 6px !important;
    border-bottom: 0 !important;
} */

i[class*="fa-"] {
    margin-right: 5px;
}

@media (max-width: 768px) {

    i.fa,
    i.fal,
    i.fas {
        margin: 0;
    }
}

table.dataTable td.reorder {
    text-align: left;
}

table.dataTable tr.reorder_row td {
    cursor: grab;
}

table.dataTable.dt-rowReorder-float tbody tr td {
    cursor: grabbing;
}

.reorder:before {
    font-family: 'Font Awesome 6 Pro';
    content: "\f0dc";
    color: #1179ae;
    margin-right: 5px;
}

/* Check if needed */

.chosen-choices {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #d0d0d0 !important;
}

#gallery-container {
    margin-bottom: 30px;
}

.table {
    min-width: 100%;
}

.table td ul li label {
    display: block;
}

.table.table-reordering .action-buttons,
.table.table-reordering .filter,
.table.table-reordering .datatable-filter,
.table.table-reordering .dataTables_filter {
    display: none;
}

.table th[scope=row] {
    width: 15%;
}

/* Hours CSS - to revisit */

.time-section .time-item:not(:first-child) .add-new-time {
    visibility: hidden !important;
    display: none;
}

.time-item:nth-child(2n) {
    background-color: #f7f7f7;
}

.time-item {
    display: flex;
    justify-content: space-around;
    width: 100%;
    align-items: center;
    margin: 20px 0;
    padding: 10px;
}

.time-control {
    flex: 0 0 75%;
}

.time-control .days-control {
    display: flex;
    justify-content: space-around;
}

.time-control .hours-control {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.time-actions {
    flex: 0 0 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.ck.ck-powered-by {
    display: none;
}

.negative-number::before {
    content: '(';
}

.negative-number::after {
    content: ')';
}