.table-responsive {
    -webkit-overflow-scrolling: auto;
}

.loading {
    width: 30px;
}

input[type="file"].is-invalid {
    color: #de2727;
}

.bg-success-10 {
    background-color: rgba(46, 184, 92, 0.1) !important;
}

a.disabledLink {
    pointer-events: none;
}

.table.fixed-table-header th {
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 0;
    background-color: #ffffff;
    z-index: 50;
}
.table.fixed-table-header th.fixed-col {
    z-index: 100;
}

.table:has(.fixed-col) {
    border-collapse: separate;
    border-spacing: 0;
}

.table .fixed-col {
    position: sticky !important;
    position: -webkit-sticky !important;
    z-index: 1;
    background-color: #ffffff;
}

.table th.fixed-col {
    border-bottom: 2px solid #ced2d8;
    font-weight: bold;
}

.table-striped tbody tr:nth-of-type(odd) .fixed-col {
    background-color: #f2f2f2;
}

.sub-nav-icon {
    margin-left: -1.3rem !important;
}

.tooltip-inner {
    max-width: 600px;
}

/* scrollbar */
.top-scrollbar,
.scrollbar {
    overflow-x: scroll;
    width: 100%;
}

.top-scrollbar {
    height: 20px;
}

.top-scrollbar__inner {
    width: auto;
    overflow-x: scroll;
    overflow-y: hidden;
    height: 20px;
}

.scrollbar::-webkit-scrollbar,
.top-scrollbar::-webkit-scrollbar {
    width: 20px;
}

.scrollbar::-webkit-scrollbar-track,
.top-scrollbar::-webkit-scrollbar-track {
    background: lightgray;
}

.scrollbar::-webkit-scrollbar-thumb,
.top-scrollbar::-webkit-scrollbar-thumb {
    background: gray;
    border-radius: 10px;
}

/* popover */
.popover {
    max-width: 800px !important;
}

/* fix sidebar on minimized */
@media (min-width: 992px) {
    .c-sidebar-minimized .c-sidebar-nav {
        overflow: visible !important;
    }
}

/* map */
 .map-marker-name {
     background-color: #000000;
     color: #FFFFFF;
     border-radius: 8px;
     font-size: 14px;
     padding: 10px 15px;
     position: relative;
 }

.map-marker-name::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, 0);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid;
    border-top-color: #000000;
}

 .map-marker-name-danger {
     color: #fff;
     background-color: #e55353;
 }

.map-marker-name-danger::after {
    border-top-color: #e55353;
}

.map-marker-name-warning {
    color: #4f5d73;
    background-color: #f9b115;
}

.map-marker-name-warning::after {
    border-top-color: #f9b115;
}

.map-marker-name-primary {
    color: #fff;
    background-color: #321fdb;
}

.map-marker-name-primary::after {
    border-top-color: #321fdb;
}

.map-marker-name-info {
    color: #fff;
    background-color: #39f;
}

.map-marker-name-info::after {
    border-top-color: #39f;
}

.map-marker-name-success {
    color: #fff;
    background-color: #2eb85c;
}

.map-marker-name-success::after {
    border-top-color: #2eb85c;
}

.map-marker-name-dark {
    color: #fff;
    background-color: #636f83;
}

.map-marker-name-dark::after {
    border-top-color: #636f83;
}

.map-marker-name-black {
    color: #fff;
    background-color: #000;
}

.map-marker-name-black::after {
    border-top-color: #000;
}

.clickable {
    cursor: pointer;
}

.modal-fullscreen {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
}
.modal-fullscreen .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
}
.modal-fullscreen .modal-header,
.modal-fullscreen .modal-footer {
    border-radius: 0;
}
.modal-fullscreen .modal-body {
    overflow-y: auto;
}