button.nav-link.active {
    background-color: white !important;
    border-top-right-radius: 7px;
    border-top-left-radius: 7px;
    /* border-bottom: 1px solid #e3e6ed !important; */
}
.card-no-border {
    border-color: transparent !important;
    border-radius: 0 !important;
}

/*
* Datatables
*/
.dataTables_wrapper .dataTables_length {
    margin-right: 10px;
}
.dataTables_info {
    margin-left: 10px;
    margin-right: 10px;
    font-size: 13px;
    font-weight: bold;
    color: #6e7891;
    margin-top: 5px;
}
.dataTables_wrapper .dataTables_length label {
    display: flex;
    font-size: 14px;
    font-weight: bold;
    align-items: center;
}
.dataTables_wrapper .dataTables_length select {
    margin-left: 10px;
    margin-right: 10px;
}

.dataTables_wrapper .dataTables_paginate .pagination-tabs {
    margin-bottom: 0px;
}

/*
* Input
*/
.input-filter input {
    background-color: transparent;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid #f0f2f6;
}
.input-filter input:focus {
    border-bottom: 1px solid #3774ff;
    box-shadow: none;
}
iframe {
    width: 100%;
    height: 80vh;
}
/*
* Tomselect
*/
.ts-wrapper:not(.form-control,.form-select).single .ts-control {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
}
.separator {
    border-right: 1px solid #eff2f6;
}

/*
* Heatmap Animal Use - HTML Table
*/
.heatmap-animal {
    width: 100%;
    overflow-x: auto;
}

.heatmap-legend {
    text-align: center;
    padding: 10px 0 15px 0;
    font-size: 12px;
    color: #333;
}

.heatmap-legend-item {
    display: inline-flex;
    align-items: center;
    margin: 0 10px;
}

.heatmap-legend-color {
    display: inline-block;
    width: 20px;
    height: 14px;
    border: 1px solid #666;
    margin-right: 4px;
}

.heatmap-wrapper {
    width: 100%;
}

.heatmap-table {
    width: 100%;
    border-collapse: collapse;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    border: 3px solid #000;
}

.heatmap-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

.heatmap-header-label {
    background: #f8f9fa;
    padding: 8px 12px;
    text-align: right;
    font-size: 11px;
    font-weight: 600;
    color: #000;
    border: 1px solid #666;
    border-left: 3px solid #000;
    min-width: 220px;
    max-width: 220px;
}

.heatmap-header-col {
    background: #f8f9fa;
    padding: 8px 4px;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    color: #000;
    border: 1px solid #666;
    min-width: 80px;
}

.heatmap-header-total {
    border-right: 3px solid #000;
    border-top: 3px solid #000;
    background: #e9ecef !important;
    font-style: italic;
}

.heatmap-label {
    padding: 3px 8px 3px 0;
    text-align: right;
    font-size: 9px;
    font-weight: 600;
    color: #000;
    border: 1px solid #666;
    border-left: 3px solid #000;
    background: #fafafa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.heatmap-cell {
    padding: 2px;
    text-align: center;
    font-size: 8px;
    color: #000;
    border: 1px solid #666;
    min-width: 80px;
    min-height: 18px;
}

.heatmap-value {
    display: block;
    line-height: 1.2;
}

.heatmap-cell:hover {
    opacity: 0.8;
}

.heatmap-cell-total {
    font-weight: bold;
    font-size: 8px;
    color: #000;
    border-right: 3px solid #000;
}

.heatmap-footer-row {
    border-top: 3px solid #000;
}

.heatmap-footer-label {
    padding: 6px 8px 6px 0;
    text-align: right;
    font-size: 10px;
    font-weight: bold;
    color: #000;
    border: 1px solid #666;
    border-left: 3px solid #000;
    border-bottom: 3px solid #000;
    background: #e9ecef;
}

.heatmap-cell-footer {
    font-weight: bold;
    font-size: 8px;
    color: #000;
    border: 1px solid #666;
    border-bottom: 3px solid #000;
}

.heatmap-cell-grandtotal {
    background: #dee2e6 !important;
    font-weight: bold;
    font-size: 8px;
    color: #000;
    border: 3px solid #000;
    text-align: center;
}
