html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/*.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}*/

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

html body .font-weight-700 {
    font-weight: 700;
}

html body .font-size-h4 {
    font-size:1.125rem;
}

.sidebar-bottom {

}

.width-auto {
    width: auto !important;
}

.login-wrapper {
    min-height: 70vh !important;
}

/*
    Pills horizontal Scrollable & Draggable Pills Menu
    start
*/

:root {
    --base-color: #ffb22b;
    --first-color: #26c6da;
    --second-color: rgba(255, 178, 43, 0.5);
    --third-color: #fefefe;
    --fourth-color: #556172;
    --fifth-color: #272b34;
    --sixth-color: #ffffff;
    --seventh-color: #6c757d;
    --text-color: #a1a5ad;
    --text-color-light: #67757c;
    --hi-text-color: #ffffff;
    --black: #002a32;
    --box-shadow: 0 5px 25px rgb(2,2,2,0.1);
    --text-shadow: 0 5px 25px rgb(2,2,2,0.1);
}

section {
    position: relative;
    margin: 0 80px;
    transition: 0.5s ease;
}

.main-container {
    position: relative;
}

.pill-nav-bar {
    position: relative;
    margin: 10px;
}

/*.pill-menu {
    color: var(--text-color) !important;
    list-style: none;
    background: var(--fifth-color);
    padding: 10px;
    white-space: nowrap;
    border-bottom: 1px solid var(--fifth-color);
    border-radius: 50px;
    box-shadow: var(--box-shadow);
    overflow-x: auto;
    user-select: none;
    scroll-behavior: smooth;
}

    .pill-menu.dragging {
        scroll-behavior: unset;
        cursor: grab;
    }

    .pill-menu::-webkit-scrollbar {
        display: none;
    }

.pill-btn {
    color: var(--black) !important;
    display: inline-block;
    margin: 0 2px;
    padding: 5px 20px;
    border-radius: 30px;
    cursor: pointer;
    user-select: none;
    transition: 0.3s ease;
}

.pill-btn a{
    color: var(--text-color)!important;
}

.pill-menu.dragging .pill-btn {
    pointer-events: none;
}

.pill-btn:hover {
    background: var(--fourth-color);
    color: #fefefe !important;
}

.pill-btn:hover a {
    color: #fefefe !important;
}

.pill-btn.active {
    background: var(--second-color);
    color: var(--hi-text-color) !important;
}

.pill-btn.active a{
    color: var(--hi-text-color) !important;
}

.left-btn, .right-btn {
    position: absolute;
    color: var(--hi-text-color);
    font-size: 1.8em;
    padding: 7px;
    cursor: pointer;
}

    .left-btn:hover, .right-btn:hover {
        color: var(--text-color);
    }

.left-btn {
    left: 0;
    background: linear-gradient(to left, transparent, var(--second-color) 80%);
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    display: none;
}

.right-btn {
    right: 0;
    background: linear-gradient(to right, transparent, var(--second-color) 80%);
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}*/

/* Dark version*/

.pill-menu-dark {
    color: var(--text-color) !important;
    list-style: none;
    background: var(--fifth-color);
    padding: 10px;
    white-space: nowrap;
    border-bottom: 1px solid var(--fifth-color);
    border-radius: 50px;
    box-shadow: var(--box-shadow);
    overflow-x: auto;
    user-select: none;
    scroll-behavior: smooth;
}

    .pill-menu-dark.dragging {
        scroll-behavior: unset;
        cursor: grab;
    }

    .pill-menu-dark::-webkit-scrollbar {
        display: none;
    }

.pill-btn-dark {
    color: var(--black) !important;
    display: inline-block;
    margin: 0 2px;
    padding: 5px 20px;
    border-radius: 30px;
    cursor: pointer;
    user-select: none;
    transition: 0.3s ease;
}

    .pill-btn-dark a {
        color: var(--text-color) !important;
    }

.pill-menu-dark.dragging .pill-btn-dark {
    pointer-events: none;
}

.pill-btn-dark:hover {
    background: var(--fourth-color);
    color: #fefefe !important;
}

    .pill-btn-dark:hover a {
        color: #fefefe !important;
    }

.pill-btn-dark.active {
    background: var(--second-color);
    color: var(--hi-text-color) !important;
}

    .pill-btn-dark.active a {
        color: var(--hi-text-color) !important;
    }

.left-btn-dark, .right-btn-dark {
    position: absolute;
    color: var(--hi-text-color);
    font-size: 1.8em;
    padding: 7px;
    cursor: pointer;
}

    .left-btn-dark:hover, .right-btn-dark:hover {
        color: var(--text-color);
    }

.left-btn-dark {
    left: 0;
    background: linear-gradient(to left, transparent, var(--second-color) 80%);
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    display: none;
}

.right-btn-dark {
    right: 0;
    background: linear-gradient(to right, transparent, var(--second-color) 80%);
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

/* Light version*/
.pill-menu-light {
    color: var(--text-color-light) !important;
    list-style: none;
    background: var(--sixth-color);
    padding: 10px;
    white-space: nowrap;
    border-bottom: 1px solid var(--sixth-color);
    border-radius: 50px;
    box-shadow: var(--box-shadow);
    overflow-x: auto;
    user-select: none;
    scroll-behavior: smooth;
}

    .pill-menu-light.dragging {
        scroll-behavior: unset;
        cursor: grab;
    }

    .pill-menu-light::-webkit-scrollbar {
        display: none;
    }

.pill-btn-light {
    color: var(--black) !important;
    display: inline-block;
    margin: 0 2px;
    padding: 5px 20px;
    border-radius: 30px;
    cursor: pointer;
    user-select: none;
    transition: 0.3s ease;
}

    .pill-btn-light a {
        color: var(--text-color-light) !important;
    }

.pill-menu-light.dragging .pill-btn-light {
    pointer-events: none;
}

.pill-btn-light:hover {
    background: var(--fourth-color);
    color: #fefefe !important;
}

    .pill-btn-light:hover a {
        color: #fefefe !important;
    }

.pill-btn-light.active {
    background: var(--seventh-color);
    color: var(--hi-text-color) !important;
}

    .pill-btn-light.active a {
        color: var(--hi-text-color) !important;
    }

.left-btn-light, .right-btn-light {
    position: absolute;
    color: var(--hi-text-color);
    font-size: 1.8em;
    padding: 7px;
    cursor: pointer;
}

    .left-btn-light:hover, .right-btn-light:hover {
        color: var(--text-color-light);
    }

.left-btn-light {
    left: 0;
    background: linear-gradient(to left, transparent, var(--seventh-color) 80%);
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    display: none;
}

.right-btn-light {
    right: 0;
    background: linear-gradient(to right, transparent, var(--seventh-color) 80%);
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

/*
    Pills horizontal Scrollable & Draggable Pills Menu
    end
*/

div.bootstrap-switch-container {
    height: 35px;   
}   

div.action-btn a.text-dark:hover {
    color: var(--base-color)!important;
}

div.action-btn-dark a.text-dark:hover {
    color: var(--base-color) !important;
}

div.action-btn-light a.text-dark:hover {
    color: var(--text-color) !important;
}

li a {
    cursor: pointer;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #fff !important;
    background-color: var(--fourth-color) !important;
}

.study-series-details {
    margin-bottom: 0.5rem!important;
}

.dt-body-right {
    text-align: right;
}

.popover {
    max-height: 1000px!important;
    min-width: 600px!important;
}

.input-group .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px!important;
}

.input-group .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px!important;
}

.input-group .select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 3px !important;
}

/*td.details-control {
    background: url('https://datatables.net/examples/resources/details_open.png') no-repeat center center;
    cursor: pointer;
}

tr.shown td.details-control {
    background: url('https://datatables.net/examples/resources/details_close.png') no-repeat center center;
}*/

td.details-control {
    cursor: pointer;
    text-align: center;
    width: 30px; /* Adjust as needed */
    user-select: none; /* Prevent text selection */
}

    td.details-control::before {
        font-family: "Font Awesome 5 Free"; /* Ensure you're using the correct Font Awesome version */
        content: "\f0da"; /* Unicode for caret-right */
        font-weight: 900; /* For solid style, adjust as necessary */
        display: inline-block;
        color: #6c757d; /* Gray color */
        font-size: 1.25rem; /* Larger size (adjust as needed) */
    }

tr.shown td.details-control::before {
    content: "\f0d7"; /* Unicode for caret-down */
    color: #6c757d; /* Keep it gray when expanded */
    font-size: 1.25rem; /* Match the size for consistency */
}

option:hover {
    background-color: #556172;
    color:#fff;
}

.select2-container--classic .select2-selection--multiple .select2-selection__choice,
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #556172 !important;
    border-color: #556172 !important;
    color: #fff !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    background-color: #556172 !important;
    border-color: #556172 !important;
    color: #fff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 2px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
    margin-top: 3px !important;
}

.bs-callout {
    padding: 7px 20px;
    margin: 10px 0;
    border: 1px solid #aaa;
    border-left-width: 5px;
    border-radius: 3px;
}

    .bs-callout h2 {
        margin-top: 0;
        margin-bottom: 5px;
    }

    .bs-callout p:last-child {
        margin-bottom: 0;
    }

    .bs-callout code {
        border-radius: 3px;
    }

    .bs-callout + .bs-callout {
        margin-top: -5px;
    }

.bs-callout-dark {
    border-left-color: var(--base-color);
}

.bs-callout-light {
    border-left-color: var(--fifth-color);
}

td a:hover, a:focus {
    text-decoration: underline!important;
}

li.select2-results__option[role=group] strong.select2-results__group {
    background-color: #333743;
    color: #c1c5cd;
}