﻿:root {
    --dark: #102033;
    --menu: #1c2b3d;
    --yellow: #ffc737;
    --menu-hover: #4D77A8;
    --icon-size: 3em;
    --dlg-light: #354053;
}
.container-btn {
    position: absolute;
    top: 3px;
    left: calc(100% / 2 - 20px);
    text-align: center;
    vertical-align: top;
    margin: 3px auto 0px auto;
    z-index: 800;
}

.favorite-img {
    position: absolute;
    top: 3px;
    left: calc(100% / 2 + 30px);
    text-align: center;
    vertical-align: top;
    margin: 3px auto 0px auto;
    z-index: 901;
    opacity: 0.5;
}
.dot-parent {
    position: absolute;
    left: 2.8em;
    top: 0.6em;
}

.dot {
    height: 0.6em;
    width: 0.6em;
    background-color: grey;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
}
.controls {
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 2px;
    display: flex;
    position: absolute;
    bottom: 3px;
    left: calc(100% / 2);
    text-align: center;
    vertical-align: bottom;
    margin: 3px auto 0px auto;
    z-index: 9901;
    outline-color:white;
}

    .controls button {
        margin: 0 5px;
        padding: 0px 0px;
        font-size: 10px;
    }
    .controls input {
        margin: 0 3px;
        padding: 2px 0px;
        font-size: 10px;
    }
.video-nav {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 20px;
    left: calc(100% / 2 - 50px);
    text-align: center;
    vertical-align: top;
    margin: 3px;
    z-index: 9901;
    opacity: 0.6;
    font-size: 10px;
}
    .video-nav .btn {
        margin: 0 1px;
        padding: 0px 0px;
        font-size: 10px;
        gap: 3px;
        color: #BFB7BF;
        font-weight: 800;
    }
    .video-nav .active {
        color: white;
    }
    .video-nav input {
        margin: 0 5px;
        padding: 0px 0px;
        font-size: 10px;
        background-color: #BFB7BF;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 20px; /* Adjust height as needed */
        border: none;
        cursor: pointer;
    }
        .video-nav .btn:hover {
            color:HighlightText;
        }
        .video-nav input:hover {
            background-color: white;
        }
    .video-nav:hover {
        opacity: 0.8;
    }

    .pat-button {
    width: 3.5em;
    height: 3.5em;
    border-radius: 0.6em;
    background-color: var(--dark);
    margin: 0.2em;
    display: flex;
    justify-content: center;
    align-items: center;
}
.top-mark {
    position: absolute;
    top: 26px;
    left: calc(100% / 2 - 10px);
    text-align: center;
    vertical-align: top;
    margin: 3px auto 0px auto;
    z-index: 100;
    opacity: 1;
}

.bottom-mark {
    position: absolute;
    bottom: 3px;
    left: calc(100% / 2 - 10px);
    text-align: center;
    vertical-align: bottom;
    margin: 3px auto 0px auto;
    z-index: 900;
    opacity: 1;
}

.left-mark {
    position: absolute;
    top: calc(100% / 2 - 10px);
    left: 5px;
    text-align: left;
    vertical-align: middle;
    margin: 3px auto 0px auto;
    z-index: 900;
    opacity: 1;
}

.right-mark {
    position: absolute;
    top: calc(100% / 2 - 10px);
    right: 23px;
    text-align: right;
    vertical-align: middle;
    margin: 3px auto 0px auto;
    z-index: 900;
    opacity: 1;
}

/*    .pat-button *{
        justify-items:center;
    }*/

    .pat-button:hover {
        background-color: var(--menu-hover)
    }

body {
    background-color: var(--dark);
    /*#102033;*/
    font-family: ExoRegular, Sans-serif;
    overflow: clip;
    height: 100%;
    margin: 0;
}

tr.table-head {
    background-color: var(--dark);
    padding-right: 1px;
    color: var(--gray);
    font-size: 14px;
    text-transform: uppercase;
}

.modal-content {
    background-color: var(--dark) !important;
}
.modal-content-light {
    background-color: var(--dlg-light) !important;
}
.modal-content-reg {
    background-color: #2f3e50!important;
    color: white;
}
.modal-dialog-reg .btn-primary {
    background-color: transparent !important;
    border-color:white !important;
}
.modal-dialog-reg .fc-header-toolbar {
    padding-top: 5px;
}
.modal-dialog-reg .table {
    border-collapse: separate !important;
    border-spacing: 0 0.5em !important;
}

.modal-dialog-reg .table th, td {
    vertical-align: middle !important;
}

.modal-dialog-reg .fc-day-header {
    background-color: #8ea1b4 !important;
}
/*.modal-dialog-reg .fc-time {
    background-color: ##8ea1b4 !important;
}*/
.modal-dialog-reg .fc-axis {
    background-color: #8ea1b4 !important;
}
.reg.calendar table td {
    background-color: #f0f5ff;
    /*color: #333333;*/
}

/*.fc .fc-row .fc-content-skeleton table,
.fc .fc-row .fc-content-skeleton td,
.fc .fc-row .fc-helper-skeleton td {*/
    /* see-through to the background below */
    /* extra precedence to prevent theme-provided backgrounds */
    /*background: none;*/
    /* in case <td>s are globally styled */
    /*border-color: transparent;
}*/
.month.calendar .fc-timegrid-slots td,
.month.calendar .fc-timegrid-slots th {
    border-color: #e0e0e0 !important; /* Light gray grid lines */
}

/* Target the nested table in FullCalendar rows */
/*.month.calendar .fc-row table {*/
    /* Re-enable borders (override FullCalendar's 'hidden transparent') */
    /*border-left: 1px solid #e0e0e0 !important;*/ /* Light gray left border */
    /*border-right: 1px solid #e0e0e0 !important;*/ /* Light gray right border */
    /*border-bottom: 1px solid #e0e0e0 !important;*/ /* Light gray bottom border */
    /*border-collapse: collapse;*/ /* Ensures borders merge cleanly */
/*}*/

/* Style individual cells */
.month.calendar .fc-row .fc-content-skeleton td,
.month.calendar .fc-row .fc-helper-skeleton td {
    border: 1px solid #e0e0e0 !important; /* Cell borders */
    /*background-color: #f8f9fa;*/ /* Light gray cell background */
}

/* Header cells (column titles) */
.month.calendar .fc-row .fc-head .fc-cell {
    background-color: #e9ecef !important; /* Darker gray for headers */
    font-weight: bold;
    border: 1px solid #d1d5db !important; /* Slightly darker border */
}

/* Highlight today's column */
.month.calendar .fc-day-today {
    background-color: #fff8e1 !important; /* Light yellow highlight */
}

.fc-timegrid-slots td, .fc-timegrid-slots th {
    border-color: #ddd !important; /* Light gray borders */
}

.modal-dialog-reg .table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    /* color: #333333;*/
}

.modal-dialog-reg .modal-header {
    padding-top: 0.4rem;
    padding-bottom: 0.5em;
}

.modal-dialog-reg .modal-body {
    padding-top: 0.5rem;
    padding-bottom: 0.3rem;
}

.modal-dialog-reg .modal-footer {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.calendar table thead td {
    background-color: #8C8B9D;
    color: #ffffff;
}
.calendar .fc-axis {
    background-color: #8C8B9D;
    color: #ffffff;
}

.calendar .btn-primary:focus, .btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5);
}

.calendar .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5);
}

.calendar td:first-child {
    border-top-left-radius: 0em !important;
    border-bottom-left-radius: 0em !important;
}
.calendar td:last-child {
    border-top-right-radius: 0em;
    border-bottom-right-radius: 0em;
}

.fc-view-agenda-view table.table-bordered tbody tr:hover {
    background-color: red;
}
/*.calendar table td {
    border-color: gray;
    border-bottom-color: gray;
}*/
/*.editPatient .btn-link {
    color: #ffbd00;
    cursor: -webkit-grab;
}

    .editPatient.btn-link:hover {
        color: #ffe168;
        cursor: -webkit-grab;
    }*/


.calendar .fc-nonbusiness {
    /* default look for non-business-hours areas */
    /* will inherit .fc-bgevent's styles */
    background: #c2c2c2;
}
/*.calendar .fc-bootstrap3 .fc-time-grid .fc-slats table, .fc-bootstrap4 .fc-time-grid .fc-slats table, .fc-time-grid .fc-slats .ui-widget-content {

    border-color: gray;
    border-bottom-color: gray;
    border-right-color: green !important;
}*/
.calendar .fc-daygrid-day-frame {
    border-color: red !important;
    border-left: 2px solid red !important; /* Left border */
    border-right: 2px solid red !important; /* Right border */
}
/*.calendar .fc-head-container > tr > td {
    background-color: #8C8B9D;
} 
*/
/*a {
    color: #2E3533;
}*/

/*mandatory fields*/
.request-ctl {
    border: 2px solid #39a355;
}

.request-ctl:focus {
    border: 2px solid #49d375;
}

.request-ctl + .select2-container--bootstrap4 .select2-selection--single {
    border: 2px solid #39a355 !important;
}

.request-ctl + .select2-container--bootstrap4 .select2-dropdown {
    border: 2px solid #39a355 !important;
}
/*    .request-ctl + .select2-container--bootstrap4 .select2-selection--single .select2-selection__clear {
        color: #39a355 !important;
    }

        .request-ctl + .select2-container--bootstrap4 .select2-selection--single .select2-selection__clear:hover {
            color: #49d375 !important;
        }*/
.cbPerm,
.cbMod,
.cbAdm {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 0.88em;
    height: 0.88em;
    border: 1px solid #222; /* border color - unchecked */
    border-radius: 3px; 
    cursor: pointer;
    background-color: #f0f0f0; /* background - unchecked  */
    position: relative;
}

    /* when checked → background + border */
    .cbPerm:checked,
    .cbMod:checked,
    .cbAdm:checked {
        background-color: #eeeeee;
        border-color: #222; 
    }

        /* custom checkmark */
        .cbPerm:checked::after,
        .cbMod:checked::after,
        .cbAdm:checked::after {
            content: "";
            position: absolute;
            left: 0.25em; 
            top: 0.08em;
            width: 0.22em;
            height: 0.53em;
            border: solid #222; /* checkmark color */
            border-width: 0 0.18em 0.18em 0;
            transform: rotate(45deg);
        }
    .cbPerm:hover,
    .cbMod:hover,
    .cbAdm:hover {
        background-color: #cacaee;
    }
    /* 
    .cbPerm.filter-selector-checkbox,
    .cbMod.filter-selector-checkbox,
    .cbAdm.filter-selector-checkbox {
        accent-color: rgb(255, 255, 0, 1);
        border-color: #000000;
    }
 
*/

/*.btnPrimary {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}*/
.form-control-sm::placeholder {
    color: #BFB7BF;
}
.layout-container {
    display: grid;
    gap: 2em;
    width: 100vw;
    height: 100vh;
    grid-template-columns: 7em auto;
    border-radius: 1em;
    margin: 0.4em 0 0 0.6em;
}

.main-right {
    display: flex;
    flex-direction: column;
    width: calc(100vw - 10em);
    /*width:100%;*/
    background-color: #102033;
    color: white;
    font-size: 1em;
    height:99vh;
}

    .main-right.scrollable {
        overflow-y: auto;
        width:auto;
        /*width: calc(100vw - 12em);*/
        padding-right:1em;
        min-width:400px
    }


.select2-search--dropdown {
    background-color: var(--menu);
}

.select2-container--bootstrap4 .select2-search--dropdown .select2-search__field {
    background-color: var(--menu-hover);
    color: white;
}

.nav-item > a > svg {
    overflow: auto;
    width: var(--icon-size);
    height: var(--icon-size);
    margin-left: auto;
    margin-right: auto;
}


.nav-item.local > a > svg {
    margin-right: 1em;
    margin-left:initial;
}

.nav-item.local a {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: fixed;
    
    min-width: 160px;
    
    border-radius: 1em;
    z-index: 10000;
    left: 8.5em;
}

    .dropdown-content > div {
        display: flex;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        border-radius: 1em;
        z-index: 10000;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        flex-direction: column;
        align-items: flex-start;
        background-color: var(--menu);
        margin-left: 0.5em;
    }

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

    .dropdown-content a.dropbtn {
        display: none;
    }

.dropdown-content a:hover {
            background-color: var(--menu-hover)
        }

.dropdown:hover .dropdown-content
 {
    display: flex;
}

.dropdown:hover .dropbtn {
    /*background-color: #3e8e41;*/
}

.dropdown-content .nav-item {
    width: 100%;
    border-radius: 1em;
}

.dropdown-content .nav-item.active{
    background-color:var(--yellow);

}

    .dropdown-content .nav-item:hover,
    .dropdown-content .nav-item:hover a{
        background-color: var(--menu-hover);
        color: var(--yellow);
        border-radius: 1em;
    }

    .main-navigation-top {
        width: 8em;
        height: calc(100vh - 0.6em);
        flex-direction: row;
        display: inline-flex;
        overflow-x: hidden;
        overflow-y: hidden;
    }
    .main-navigation-vertical {
        width: 8em;
        background-color: #1C2B3D;
        height: 100%;
        display: inline-flex;
        gap: 0.1em;
        border-radius: 1em;
        flex-direction: column;
    }
    .main-navigation-vertical > .nav-item {
        line-height: 1.0;
    }

        .nav-item-logo {
            /*background-color: #102033;*/
            width: 8em;
            min-height: 3em;
            border-radius: 1em;
            margin: 0em;
            text-align: center;
            vertical-align: central;
            font-weight: 600;
            display: flex;
            align-items: center;
        }
        .main-navigation-vertical > .nav-item-logo:hover {
            background-color: #2b3b4d;
        }

        .main-navigation-vertical > .nav-item {
            background-color: transparent;
            width: 8em;
            min-height: 5.4em;
            border-radius: 1em;
            margin: 0em;
            text-align: center;
            vertical-align: central;
            font-weight: 600;
            display: flex;
            align-items: center;
        }

        .main-navigation-vertical > .nav-item.separator {
            margin-top:auto;
        }
        .main-navigation-vertical > .nav-item:hover {
            background-color: var(--menu-hover);
        }

        .main-navigation-vertical > .nav-item.active {
            background-color: var(--yellow);
        }

            .main-navigation-vertical > .nav-item a,
            .main-navigation-vertical > .nav-item > div {
                color: #7F878F;
                margin: auto;
            }
            .main-navigation-vertical > .nav-item.active > a,
            .main-navigation-vertical > .nav-item.active > a:hover {
                color: var(--dark);
            }

            .main-navigation-vertical > .nav-item > a:hover,
            .main-navigation-vertical > .nav-item:hover > a,
            .main-navigation-vertical > .nav-item > div:hover {
                color: var(--yellow);
                text-decoration: none;
            }


            .main-navigation-vertical > .nav-item.active >a,
            .main-navigation-vertical > .nav-item.active > div:hover {
                color: var(--dark);
            }

.page-heading {
    font-size: 3em;
    color: white;
    display: inline-flex;
    flex-direction:row;
    /*width:calc(100% - 1em);*/
}

tr {
    border: none;
    width: 95%;
}

th {
    vertical-align:bottom;
    font-weight:normal;
}

td {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

table {
    border-collapse: separate;
    border-spacing: 0 0.6em !important;
}

table tbody tr {
    background-color: #1C2B3D;
}

td:first-child {
    border-top-left-radius: 1em;
    border-bottom-left-radius: 1em;
    padding-left:0.7em;
}

td:last-child {
    border-top-right-radius: 1em;
    border-bottom-right-radius: 1em;
    padding-right: 0.7em;
}

td > a {
    color: var(--yellow);
    font-weight:bold;
}

.card {
    background: var(--menu)
}

    .card .card-header {
        background-color: var(--menu-hover);
    }
    .card .card-header-admin {
        background-color: #2d3c4f;
    }

.patient-info {
    width: 100%;
    background-color: #1C2B3D;
    border-radius: 1em;
    margin: 0.2em;
    display: grid;
    grid-template-columns: auto max-content auto;
    grid-gap: 0;
}

    .patient-info > * {
        margin: 0.5em;
    }

    .patient-info .name {
        text-align: left;
        grid-row: 1 / 3;
        align-self: center;
    }
    .patient-info .id {
        align-self: center;
        justify-self:right;
    }
.series-thumbnails > * {
    margin: 0.5em;
    min-width: 8em;
}
.series-thumbnails > .dcmSeries {
    width: 8em;
    height: 8em;
    border-radius: 1em;
    overflow:hidden;
}

    .series-thumbnails > .dcmSeries > img {
        width: 100%;
        height:100%;
    }

.series-thumbnails > .srSeries > img {
    width: 100%;
}

.series-thumbnails > .dcmSeries > dicom-overlay {
    margin: 0.4em;
}
#imageWrapper canvas,
#imageWrapper #cornerstone-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    margin: 0px;
}

/*.dataTables_length >label {
    font-weight:bold !important;
}*/
/*datatables length select*/
.dataTables_length > label > select, .dataTables_length > label > select:focus {
    background-color: #1C2B3D;
    border: 0px;
    color: white;
}
/*datatables page navigation*/
.dataTables_paginate .pagination > li > a {
    background-color: #1C2B3D;
    border-color: #283D57;
    color:white;
}

#searchFormFilters .form-control {
    border:0px;
}

#searchFormFilters input, #searchForm input,
#searchFormFilters .select2-selection, #searchForm .select2-selection {
    background-color: var(--menu);
    border: 0px;
    color: white !important;
}
.select2-container--bootstrap4 .select2-selection,
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove,
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice,
.select2-container--bootstrap4 .select2-selection__clear {
    color: #868e96;
}
.select2-container--bootstrap4 .select2-results__option--highlighted[aria-selected] {
    background-color: var(--dark);
}
.select2-container--bootstrap4 .select2-results__option {
    background-color: var(--menu);
    color: white;
}
.select2-container--bootstrap4 .select2-dropdown {
    border:0px;
}
.select2-container--bootstrap4 .select2-results__option[aria-selected="true"] {
    background-color: var(--menu);
    color: var(--yellow);
}
.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    color: white;
}

.filter .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    color: white !important;
}

.bw .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered,
.select2-container--bootstrap4.bw .select2-selection--single .select2-selection__rendered {
    color: #495057;
}

/*remove sorting arrows*/
table.dataTable thead .sorting:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after {
    /*content: ""*/
    display: none;
}


.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__rendered {
    padding-top: 0.45rem !important;
}

.select2-selection--multiple:before {
    content: "";
    position: absolute;
    right: 7px;
    top: 42%;
    border-top: 5px solid #888;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}


.page-item.disabled .page-link {
    background-color: #38567A;
    border-color: #283D57;
    color: lightgray;
}
.page-item.active .page-link {
    background-color: var(--yellow);
    border-color: #283D57;
    color: #2E3533;
}

.dataTables_filter input,
.dataTables_filter input:focus {
    background: #283D57;
    border: 0px;
    color:white;
}
.dataTables_wrapper {
    /*box-sizing: border-box;*/
}


#table2_wrapper {
    height:98%
}

a.white-link {
    color:white;
}
    a.white-link:hover {
        text-decoration:none;
    }



.customLook {
    --tag-bg: #0052BF;
    --tag-hover: #CE0078;
    --tag-text-color: #FFF;
    --tags-border-color: silver;
    --tag-border-radius: 25px;
    --tag-text-color--edit: #111;
    --tag-remove-bg: var(--tag-hover);
    --tag-pad: .6em 1em;
    --tag-inset-shadow-size: 1.35em;
    --tag-remove-btn-bg--hover: black;
    display: inline-block;
    min-width: 0;
    border: none;
}

    .customLook .tagify__tag {
        margin-top: 0;
    }

        /* Do not show the "remove tag" (x) button when only a single tag remains */
        .customLook .tagify__tag:only-of-type .tagify__tag__removeBtn {
            display: none;
        }

    .customLook .tagify__tag__removeBtn {
        opacity: 0;
        transform: translateX(-6px) scale(.5);
        margin-left: -3ch;
        transition: .12s;
    }

    .customLook .tagify__tag:hover .tagify__tag__removeBtn {
        transform: none;
        opacity: 1;
        margin-left: -1ch;
    }

    .customLook + button {
        color: #0052BF;
        font: bold 1.4em/1.65 Arial;
        border: 0;
        background: none;
        box-shadow: 0 0 0 2px inset currentColor;
        border-radius: 50%;
        width: 1.65em;
        height: 1.65em;
        cursor: pointer;
        outline: none;
        transition: .1s ease-out;
        margin: 0 0 0 5px;
        vertical-align: top;
    }

        .customLook + button:hover {
            box-shadow: 0 0 0 5px inset currentColor;
        }

    .customLook .tagify__input {
        display: none;
    }

/*old styles below*/
    nav .navbar {
    margin-bottom: 1rem;
}

.viewer-left {
    width: 100%;
    float: left;
    background-color: #efeded;
    margin-bottom: 4px;
    padding: 7px 10px 0px 10px;
}

#assignmentsContainer {
    overflow-y: auto;
    overflow-x: hidden;
}


#gridSettings {
    padding-bottom: 6px;
}

.viewer-right {
    width: 100%;
    padding: 0px 5px 0px 5px;
}

.cornerstone-enabled-image {
    height: calc(100%-66px);
    color: #fc0;
    font-weight: bold;
    position: relative;
    margin: 1px;
    text-shadow: -1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000;
}

.dicom-image-holder {
    border: 2px solid #aaa;
    height: 100%;
    width:100%;
}

    .dicom-image-holder:hover, .dicom-image-holder:focus {
        border: 2px solid green;
    }


.series-scroll {
    padding-left: 2px;
    padding-right: 2px;
}

@media screen and (min-width: 750px) {
    .viewer-left {
        width: 180px;
    }

    .viewer-right {
        width: calc(100% - 180px);
    }

    .cornerstone-enabled-image {
        float: left;
    }
}

.DICOMSeries {
    color: #3B4C56;
    font-size: 12px;
}

    .DICOMSeries > div {
        width: 64px;
        height: 64px;
        margin: 3px 2px 3px 2px;
        display: inline-block;
    }

        .DICOMSeries > div > img {
            cursor: copy;
        }

            .DICOMSeries > div > img.check-doc,
            .DICOMSeries > div > img.check-sr,
            .DICOMSeries > div > img.check-ecg,
            .DICOMSeries > div > img.check-mp4 {
                cursor: pointer;
            }

.selectedDiv {
    border: 0.3em solid var(--yellow);
    border-radius: 1em;
}

.notselectedDiv {
    border: 0px;
}

#action_btns > .btn-group {
    margin-right: 1rem;
}

    #action_btns > .btn-group > button {
        outline: none;
    }

.annotationDialog, .relabelDialog {
    z-index: 1000;
    position: absolute;
    margin: 0px;
    left: 40%;
    top: 40%;
    width: 300px;
    border: 1px black solid;
    border-radius: 5px;
}

.annotationTextInputOptions {
    padding: 5px 0px;
}

.annotationTextInput {
    margin-left: 5px;
}

.annotationDialogConfirm {
    float: right;
}

.buttons-excel, .buttons-excel:hover {
    color: green;
}

.buttons-pdf, .buttons-pdf:hover {
    color: #d00;
}

.statistics-null {
    color: #d22;
}

.admin-panel-nav {
    text-align: center;
    padding-bottom: 6px;
    margin-bottom: 30px;
    border-bottom: 1px solid #ccc;
}
.sr-content {
    background-color: var(--dark);
}
.sr-content > small > span.under {
    display: inline;
    font-weight: bold;
}

.sr-content > span.under {
    display: block;
    color: #666;
}

.sr-content > h1 {
    border-top: 1px solid #bbb;
    border-bottom: 1px solid #ddd;
    background-color: rgba(230,230,230,0.2);
}

.sr-content > div {
    padding: 5px;
    border-top: 1px solid #ddd;
    background-color: rgba(240,240,240,0.2);
}



.required-field {
    color: #FF0000;
    font-size: 13px;
    text-align: center;
    margin-bottom: 3px;
}

#table2 > thead {
    /*background-color: #efefff*/
}

#table2 > tbody {
    /*background-color: white;*/
}

 #cornerstone-wrapper .magnifyTool {
    border: 2px #5eb75d solid;
    box-shadow: 2px 2px 10px #1e1e1e;
    /*border-radius: 50%;*/
    width: 200px;
    height: 200px;
    display: none;
    cursor: none;
}

.grid-selector {
    display: none;
    position: absolute;
    padding: 5px;
    border: 1px solid #979797;
    background-color: #f6f6f6;
    box-shadow: 0px 0px 8px #666;
    z-index: 1000;
}

    .grid-selector .grid-selector-header {
        margin-bottom: 3px;
    }

    .grid-selector .grid-interactive {
        margin-bottom: 3px;
        width: 100px;
        display: block;
    }

        .grid-selector .grid-interactive .grid-cell {
            width: 24px;
            height: 24px;
            background-color: #868e96;
            border: 1px solid #686868;
            display: inline-block;
            padding: 0px;
            margin: 0px 1px 1px 0px;
            vertical-align: middle;
        }

.filters-selector {
    display: none;
    position: absolute;
    padding: 5px;
    border: 1px solid #979797;
    background-color: #fbfbfb;
    box-shadow: 0px 0px 8px #666;
    z-index: 1000;
}

    .filters-selector label {
        display: block;
    }

#overlay_checkboxes {
    max-height: 320px;
    overflow-y: scroll;
    margin-bottom: 5px;
    padding: 0px;
    font-size: small;
}

.select2-group-fix .select2-container--default .select2-selection--multiple {
    border-radius: 0px 4px 4px 0px;
}

.tooltipevent {
    max-width: 340px;
    padding: 4px;
    border: 1px solid #777;
    border-radius: 3px;
    font-size: small;
    background-color: rgba(250,250,250,0.8);
    position: absolute;
    z-index: 10001;
}

.scroll-lock {
    position: absolute;
    top: 3px;
    left: calc(100% / 2);
    text-align: center;
    vertical-align: top;
    margin: 3px auto 0px auto;
    z-index: 900;
    opacity: 0.5;
}

.select-contrast option:disabled {
    color: salmon;
}

.input-group-addon-select {
    background-color: white;
}

    .input-group-addon-select select {
        border-style: none;
        background-color: white;
    }

.input-group-fund {
    margin-bottom: 3px;
}

.nav-stacked {
    text-align: center;
}

.validation-message {
    color: #f33;
}
.dropdown-toggle-languege {
    color: #B7B7B7;
}
    .dropdown-toggle-languege:hover {
        color: white;
        text-decoration:none;
    }
.language-nav-link {
    padding: 0.2rem 0.2rem;
}
.language-nav-item > a:after {
    color: #cbcbcb;
}
.language-dropdown-toggle {
    color: #cbcbcb;
}
.language-dropdown-menu {
    background-color: #1c2b3d;
    color: #212529;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.language-dropdown-item {
    color: #cbcbcb;
}
    .language-dropdown-item:hover{
        background-color: #65758781;
    }

    .language-dropdown-item:focus {
        background-color: #7e87a1a1;
    }

.study-menuItem {
    background-color: #88878191;
    color: #212529;
}

.study-dropdown-menu {
    background-color: #88878191;
    color: #212529;
}

.study-dropdown-item {
    color: #cbcbcb;
}


    .study-dropdown-item:hover {
        background-color: #aaaabb61;
        color: #dfdffc;
    }

    .study-dropdown-item:focus {
        background-color: #7e87a1a1;
        color: #ffffff;
    }

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #ccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #fff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

.col-actions {
    width: 100px;
}


.fc.fc-bootstrap4 a {
    text-decoration: none;
}

    .fc.fc-bootstrap4 a[data-goto]:hover {
        text-decoration: underline;
    }

.fc-bootstrap4 hr.fc-divider {
    border-color: inherit;
}

.fc-bootstrap4 .fc-today.alert {
    border-radius: 0;
}

.fc-bootstrap4 .fc-popover .panel-body {
    padding: 0; /* undo built-in padding */
}

.fc-bootstrap4 .fc-time-grid .fc-slats table {
    /* some themes have background color. see through to slats */
    background: none;
}

table.table-inline,
table.table-inline tr,
table.table-inline td {
    border-style: none;
}

    table.table-inline tr {
        border-bottom: 1px dashed #ddd;
    }

        table.table-inline tr:last-child {
            border-style: none;
        }

.routing-field {
    color: #0061E8;
}

.routing-condition {
    color: #06CF66;
}

.routing-value {
    color: #777;
    font-style: italic;
}

.upload-list-container {
    max-height: 28rem;
    overflow-y: scroll;
    font-size: small;
    border: 1px solid #ddd;
}

ul.upload-list {
    list-style-type: none;
    padding-left: 1rem;
}

    ul.upload-list .upload-list-filepath {
        color: #0061E8;
    }

    ul.upload-list .upload-list-filename {
        color: #06CF66;
    }

    ul.upload-list .upload-list-progress {
        color: #777
    }

    ul.upload-list .upload-list-btn-cancel {
        color: #dc3545
    }

.seriesThumbnail {
    /*for when we are dragging*/
    z-index: 10;
}

.imageControls {
    height: 100%;
    padding: 5px;
    position: absolute;
    right: 0;
    top: 0;
}

    .imageControls .scrollbar {
        height: calc(100% - 20px);
        margin-top: 5px;
        position: relative;
        width: 12px;
        z-index: 20;
    }

        .imageControls .scrollbar .imageSlider {
            height: 12px;
            left: 12px;
            padding: 0;
            position: absolute;
            top: 0;
            -webkit-appearance: none;
            background-color: rgba(0,0,0,0);
            transform: rotate(90deg);
            transform-origin: top left;
            pointer-events: auto;
        }

            .imageControls .scrollbar .imageSlider:focus {
                outline: none;
            }

            .imageControls .scrollbar .imageSlider::-moz-focus-outer {
                border: none;
            }

            .imageControls .scrollbar .imageSlider::-webkit-slider-runnable-track {
                background-color: rgba(0,0,0,0);
                border: none;
                cursor: pointer;
                height: 5px;
                z-index: 6;
            }

            .imageControls .scrollbar .imageSlider::-moz-range-track {
                background-color: rgba(0,0,0,0);
                border: none;
                cursor: pointer;
                height: 2px;
                z-index: 6;
            }

            .imageControls .scrollbar .imageSlider::-ms-track {
                animate: 0.2s;
                background: transparent;
                border: none;
                border-width: 15px 0;
                color: rgba(0,0,0,0);
                cursor: pointer;
                height: 12px;
                width: 100%;
            }

            .imageControls .scrollbar .imageSlider::-ms-fill-lower {
                background: rgba(0,0,0,0);
            }

            .imageControls .scrollbar .imageSlider::-ms-fill-upper {
                background: rgba(0,0,0,0);
            }

            .imageControls .scrollbar .imageSlider::-webkit-slider-thumb {
                -webkit-appearance: none !important;
                border: none;
                border-radius: 57px;
                cursor: -webkit-grab;
                height: 12px;
                margin-top: -4px;
                width: 39px;
                background-color: lightgrey;
            }

                .imageControls .scrollbar .imageSlider::-webkit-slider-thumb:active {
                    cursor: -webkit-grabbing;
                }

            .imageControls .scrollbar .imageSlider::-moz-range-thumb {
                border: none;
                border-radius: 57px;
                cursor: -moz-grab;
                height: 12px;
                width: 39px;
                z-index: 7;
                background-color: lightgrey;
            }

                .imageControls .scrollbar .imageSlider::-moz-range-thumb:active {
                    cursor: -moz-grabbing;
                }

            .imageControls .scrollbar .imageSlider::-ms-thumb {
                border: none;
                border-radius: 57px;
                cursor: ns-resize;
                height: 12px;
                width: 39px;
            }

            .imageControls .scrollbar .imageSlider::-ms-tooltip {
                display: none;
            }

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .imageSlider {
        left: 50px;
    }
}

#helpModal p {
    margin-bottom: 0.9rem;
}

.dicom-overlay {
    color: #fc0;
    font-weight: bold;
    text-shadow: -1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000;
    pointer-events: none;
    z-index:4;
}

table + input.error {
    background-color: lightcoral;
}

dialog:not([open]) {
    display: none !important;
}
.nav-tabs-report {
  border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color;

  .nav-item-report {
    color: sandybrown
      @include hover {
        color: $link-hover-color;
        text-decoration: $link-hover-decoration;
      }
  }

    .nav-link-report {
        color:#BFB7BF;
        font-weight: bold;
        


/*        .nav-link-report:hover-focus {
            color: sandybrown;
        }*/
    }

/* Hover color for nav-link-report items */
.nav-item-report .nav-link-report:hover {
    color: white; /* Change this to your desired hover color */
    font-weight: bold;
}
.nav-item-report .nav-link-report.active {
    color: black; /* Change this to your desired hover color */
}
  .nav-link-report.active,
  .nav-item-report.show .nav-link {
    color:black;
    background-color: $nav-tabs-link-active-bg;
    border-color: $nav-tabs-link-active-border-color;
  }
}

.nav-tabs-settings {
    border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color;
    .nav-item-settings

{
    color: sandybrown @include hover

{
    color: $link-hover-color;
    text-decoration: $link-hover-decoration;
}

}

.nav-link-settings {
    color: #BFB7BF;
    font-weight: bold;
    /*        .nav-link-settings:hover-focus {
            color: sandybrown;
        }*/
}

/* Hover color for nav-link-settings items */
.nav-item-settings .nav-link-settings:hover {
    color: white; /* Change this to your desired hover color */
    font-weight: bold;
}

.nav-item-settings .nav-link-settings.active {
    color: black; /* Change this to your desired hover color */
}

.nav-link-settings.active,
.nav-item-settings.show .nav-link {
    color: black;
    background-color: $nav-tabs-link-active-bg;
    border-color: $nav-tabs-link-active-border-color;
}



}

