@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.1;
    }

    100% {
        opacity: 1;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-items: center;
    z-index: 9999;
    overflow-y: auto;
}

.modal.open {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 8px;
    text-align: center;
    width: 80%;
    min-width: 500px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin: auto;
}

.modal-xs .modal-content {
    width: 35%;
    min-width: 500px;
}

.modal-sm .modal-content {
    width: 50%;
    min-width: 500px;
}

.modal-md .modal-content {
    width: 65%;
    min-width: 500px;
}

.modal-fit .modal-content {
    width: fit-content;
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.modal-header .close {
    cursor: pointer;
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}

.modal-header .title {
    text-align: left;
    font-weight: 400;
    margin: 0;
    line-height: 1.42857143;
    font-size: 20px;
}

.modal-body {
    text-align: left;
    position: relative;
    padding: 15px;
}

.modal-body .notification {
    display: none;
}

.modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid;
    padding: 6px;
    font-size: 14px;
    border-radius: 5px;
    text-decoration: none;
    border: 1px solid;
}

.btn-sm {
    padding: 4px;
    font-size: 12px;
}

.btn:disabled {
    cursor: not-allowed;
    opacity: .65;
}

.btn-group>.btn {
    float: left;
    border-radius: 0;
    margin-left: -1px;
}

.btn-group>.btn:only-child {
    border-radius: 5px;
}

.btn-group>.btn:first-of-type:not(:last-of-type) {
    border-radius: 5px 0 0 5px;
}

.btn-group>.btn:last-of-type:not(:first-of-type) {
    border-radius: 0 5px 5px 0;
}

.ok-btn {
    color: #F7EAB2 !important;
    background-color: #541F1E;
    border-color: transparent;
}

.cancel-btn, .default-btn {
    color: #333 !important;
    background-color: #fff;
    border-color: #ccc;
}

.danger-btn {
    color: #fff;
    background-color: #cd9345;
    border-color: transparent;
}

.always-on-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 10px;
}

.pull-left {
    float: left;
}

.notification {
    padding: 10px;
    margin: 10px 0px;
    border: 1px solid;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    text-align: center;
}

.notification-sm {
    font-size: 12px;
    margin: 5px 0px;
    padding: 5px;
}

.notification-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.notification-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.notification-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.notification-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.tab-navigation {
    font-size: 14px;
    padding: 5px;
    border-bottom: 1px solid #dee2e6;
}

.tab-navigation-item {
    text-decoration: none;
    font-weight: bold;
    padding: 6px;
    margin: 0 5px;
    border-radius: 5px;
    display: inline-block;
}

.tab-navigation-item:hover {
    text-decoration: underline !important;
    background-color: #541F1E;
    color: #fff !important;
}

.tab-navigation-item.tab-active {
    background-color: #541F1E;
    color: #F7EAB2;
}

.orderby-selected:after {
    font-family: FontAwesome;
    content: "\f063";
}

.page-container {
    max-width: 100%;
    margin: 10px auto;
    padding-left: 10px;
    padding-right: 10px;
    text-align: left;
}

.page-container-sm {
    width: 600px;
}

.page-container-md {
    width: 800px;
}

.page-container-ml {
    width: 1000px;
}

.page-container-lg {
    width: 1200px;
}

.page-section {
    max-width: 100%;
    margin-bottom: 10px;
}

.input-el {
    margin: 0;
    padding: 4px;
    border: 1px solid #999;
    border-radius: 3px;
    background-color: #fff;
    box-sizing: border-box;
}

.input-el[readonly], .input-el[disabled] {
    background-color: #e5e2e2;
    color: light-dark(rgb(84, 84, 84), rgb(170, 170, 170));
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.input-group .input-el {
    flex: 1;
}

.input-list {
    margin: 0;
    padding: 4px;
    border: 1px solid #999;
    border-radius: 3px;
    background-color: #fff;
    box-sizing: border-box;
}

.checkbox-list {
    padding: 2px;
    overflow-y: auto;
    max-height: 100px;
}

.checkbox-list .checkbox-row {
    margin: 4px 10px;
}

.text-left {
    text-align: left;
}

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

.input-lg {
    padding: 6px;
}

.full-width {
    width: 100%;
}

.table {
    margin: 10px 0;
    border-collapse: collapse;
    width: 100%;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, .12) !important;
}

.table-bordered {
    border: 1px solid #ccc;
}

.table-bordered th, .table-bordered td {
    border: 1px solid #ccc;
}

.table-striped tbody tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, .05);
}

.table-header-nowrap th {
    white-space: nowrap;
}

.table:not(.table-keyvalue) th {
    border-bottom: 2px solid #ccc;
    padding: 10px;
}

.table.table-keyvalue th {
    padding: 6px 10px;
}

.table th {
    font-size: 12px;
    font-weight: bold;
}

.table:not(.table-keyvalue) td {
    border-top: 1px solid #ccc;
    padding: 10px;
}

.table.table-keyvalue td {
    padding: 6px 10px;
}

.table.table-keyvalue td:first-child {
    width: fit-content;
}

.table td {
    font-size: 12px;
}

.table-padding-sm.table td, .table-padding-sm.table th {
    padding: 6px;
}

.table-padding-xs.table td, .table-padding-xs.table th {
    padding: 3px;
}

.page-toolbar {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.page-toolbar-primary {
    flex-grow: 1;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-toolbar-secondary {
    flex-shrink: 1;
    margin-left: auto;
}

.page-toolbar-info {
    text-align: left;
    flex-basis: 100%;
    font-size: 12px;
}

.separator {
    border: none;
    border-bottom: 1px solid #ccc;
}

.toggleable-section {
    display: none;
}

.toggleable-section.tr-section.display-section {
    display: table-row;
}

.toggleable-section.td-section.display-section {
    display: table-cell;
}

.toggleable-section.inline-block-section.display-section {
    display: inline-block;
}

.page-bulk-actions {
    display: none;
    padding: 10px;
    margin: 6px 0;
    background-color: #999;
    border-radius: 5px;
    text-align: left;
    font-weight: bold;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-button:after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: middle;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.dropdown-content {
    font-weight: 400;
    font-size: 12px;
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #ccc;
    border-radius: 3px;
    overflow: hidden;
    text-align: left;
    z-index: 999;
    top: 100%;
    right: 0;
    left: auto;
    min-width: 100%;
    margin-top: 2px;
}

.dropdown.open .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: black;
    padding: 6px;
    display: block;
    text-decoration: none;
    text-align: inherit;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.loader {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 9999;
    display: none;
}

.loader:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border-radius: 50%;
    border: 4px solid #ccc;
    border-top-color: #541F1E;
    animation: spin 1s linear infinite;
}

.color-ok {

    color: #4CAF50;
}

.color-error {
    color: #F44336;
}

.stateful-btn .submit-loader {
    display: none;
}

.copy-input-content, .copy-el-content, .copy-el-prop {
    cursor: pointer;
}

.text-center {
    text-align: center;
}

.drag-handle {
    cursor: pointer;
    font-size: 16px !important;
}

.no-drag .drag-handle {
    cursor: default;
    display: none;
}

.flex-v-center {
    display: flex;
    align-items: center;
    gap: 6px;
}

.flex-spaced {
    display: flex;
    justify-content: space-between;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.toggle-radio {
    background: #f5f5f5;
    border: 1px solid #ccc;
}

.toggle-radio>input:checked+label {
    background: #bdced3;
}

.toggle-radio>input+label:not(:last-of-type) {
    border-right: 1px solid #ccc;
}

.toggle-radio {
    border-radius: 4px;
}

.toggle-radio {
    display: inline-flex;
}

.toggle-radio>input[type='radio'] {
    display: none;
}

.toggle-radio>input[disabled]+label {
    opacity: 0.50;
}

.toggle-radio>input[disabled]+label:hover {
    cursor: not-allowed;
}

.toggle-radio>input+label {
    display: inline-block;
    margin-bottom: 0;
    padding: 6px 10px;
    cursor: pointer;
}

.toggle-radio.radio-sm>input+label {
    padding: 5px 10px;
}

.tooltip {
    position: relative;
    z-index: 2;
}

.tooltip:before,
.tooltip:after {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.tooltip:before {
    position: absolute;
    bottom: 150%;
    left: 50%;
    margin-bottom: 5px;
    margin-left: -80px;
    padding: 6px;
    width: 140px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-color: #000;
    background-color: hsla(0, 0%, 20%, 0.9);
    color: #fff;
    content: attr(data-tooltip);
    text-align: center;
    white-space: break-all;
    font-size: 12px;
}

.tooltip:after {
    position: absolute;
    bottom: 150%;
    left: 50%;
    margin-left: -5px;
    width: 0;
    border-top: 5px solid #000;
    border-top: 5px solid hsla(0, 0%, 20%, 0.9);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: " ";
    font-size: 0;
    line-height: 0;
}

.tooltip:hover:before,
.tooltip:hover:after {
    visibility: visible;
    opacity: 1;
}

.badge {
    display: inline-block;
    padding: .25em .4em;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

.badge-info {
    color: #fff;
    background-color: #6c757d;
}

.animation-blink {
    animation: blink 1.2s infinite;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #28a745 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.row-unsaved {
    position: relative;
}

.row-unsaved:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background-color: #ffc107;
}

.cell-unsaved {
    border-bottom: 2px solid #ffc107;
}

.row-compliant {
    position: relative;
}

.row-compliant:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background-color: #28a745;
}

.row-noncompliant {
    position: relative;
}

.row-noncompliant:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background-color: #dc3545;
}

.map-popup {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.map-popup-header {
    background-color: #ccc;
    padding: 6px;
    color: #3b3b3b;
    display: flex;
    align-items: center;
}

.map-popup-header-title {
    font-size: 14px !important;
    font-weight: bold;
}

.map-popup-closer {
    margin-left: auto;
    cursor: pointer;
    font-size: 14px !important;
}

.map-popup-content {
    padding: 6px;
}

.table-icon {
    font-size: 16px;
}

.map-info-overlay {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 100;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px;
    border-radius: 5px;
    color: #fff;
}

.overlay-left {
    left: 24px;
    right: auto;
}

.overlay-bottom {
    top: auto;
    bottom: 24px;
}

.overlay-transparent {
    background: rgba(0, 0, 0, 0);
}

.chart-info-overlay {
    font-size: 14px;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px;
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    float: right;
}

.inputs-md .input-el, .inputs-md .input-list {
    width: 260px;
    max-width: 100%;
}

.inputs-lg .input-el, .inputs-lg .input-list {
    width: 380px;
    max-width: 100%;
}

.inputs-full .input-el, .inputs-full .input-list {
    width: 100%;
}

.form-airy {
    padding: 0 10px;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 6px;
}

.mb-2 {
    margin-bottom: 12px;
}

.gap-0 {
    gap: 0;
}

.gap-1 {
    gap: 6px;
}

.gap-2 {
    gap: 12px;
}

.flex-grow-1 {
    flex-grow: 1;
}

.text-bold {
    font-weight: 600;
}

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

.tr-separator {
    border-right: 2px solid #ccc;
}

.cursor-pointer {
    cursor: pointer;
}

.clearfix {
    clear: both;
}