html,
body {
    height: 100%;
    padding: 0px;
    margin: 0px;
    overflow-x: hidden;
    overflow-y: hidden;
}

#page {
    width: 100%;
    height: 100%;
}

#delete-confirm>.modal-content {
    width: 300px;

}



.viewer >.card>.card-content {
    padding: 0;
    padding-top: 15px;
    padding-right: 10px;
}

.measurement {
    font-size: 1.0rem;
    /*background-color:#207AFA;*/
    background-color:#3483f4;
    color:white;
    font-weight:bold;
    
}

.annotation-text {
    line-height: 1.1rem;
}

.pcr-button {
    box-shadow: 2px 6px 6px #ccc;
}

.cursor-move {
    cursor: move;
}

.navbar {
    width: 95%;
    box-shadow: 0px 3px 15px rgba(200, 200, 200, 0.5);
    height: 70px;
    margin: 20px 0 5px 0;
    position: fixed;
    top: 0;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 0px 15px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    left: 20px;
    right: 20px;
} 

#screenshot-reel-container {
    position: absolute;
    top: 90px;
    right: 20px;
    width: 220px;
    max-height: calc(100vh - 110px);
    border: none;
    background: #f8f9fa;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: Arial, sans-serif;
    max-height: calc(100vh - 40px); 
    max-width: calc(100vw - 40px);
    left: auto; 
    right: 20px; 
}

#screenshot-reel-topbar {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: #007bff;
    color: #fff;
    cursor: move;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

#screenshot-reel-title {
    font-size: 18px;
    font-weight: bold;
    flex-grow: 1;
}

#screenshot-reel-content {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 5px;
}

#screenshot-reel .img-container {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    padding-top: 56.25%; 
}

#screenshot-reel .img-container:hover {
    transform: translateY(-5px);
}

.thumbnail-checkbox {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 10;
}

.delete-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    color: #dc3545;
    font-size: 18px;
    transition: color 0.3s;
    z-index: 10;
}

.delete-icon:hover {
    color: #c82333;
}

#screenshot-reel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#screenshot-reel-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
    margin-left: 10px;
}

#screenshot-reel-close:hover {
    color: #f8f9fa;
}

.info-button {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    padding: 0;
    margin: 0;
}

.info-button:hover {
    color: #0056b3;
}

.navbar .fas, .navbar .far, .navbar .fa, .navbar .svg-inline--fa {
    font-size: 1.25rem !important; 
}

.navbar-item {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

.metadata-tooltip {
    display: none;
    position: fixed;
    background-color: #fff;
    color: #333;
    padding: 15px;
    border-radius: 8px;
    z-index: 1000;
    width: 280px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-size: 14px;
}

.metadata-tooltip table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.metadata-tooltip td {
    padding: 0;
    vertical-align: top;
    line-height: 1.4;
}

.metadata-label {
    font-weight: bold;
    color: #007bff;
    padding-right: 10px;
    white-space: nowrap;
}

.metadata-value {
    word-break: break-word;
}

#create-report-section {
    padding: 15px 5px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    background-color: #fff;
}

#create-report-btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

#create-report-btn:hover {
    background-color: #0056b3;
}

#screenshot-reel-content::-webkit-scrollbar {
    width: 8px;
}

#screenshot-reel-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#screenshot-reel-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

#screenshot-reel-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#screenshot-reel-container {
    position: absolute;
    top: 90px;
    right: 10px;
    width: 220px;
    bottom: 20px;
    border: 1px solid #ccc;
    padding: 10px;
    overflow-y: auto;
    z-index: 1000;
    background-color: white;
}

#screenshot-reel-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

#screenshot-reel img {
    width: 200px;
    margin-bottom: 10px;
    border: 1px solid #eee;
}

.label-container{
    right: 0 !important;
    left: initial !important;
    z-index: 1000; 
}
.button.is-rounded {
    border: none;
    padding-left: 0.71rem;
    padding-right: 0.71rem;
    background: rgba(255, 255, 255, 0);
}

#home-btn {
    color: black;
}

.zoom-btn-img {
    width: 42px;
}

#zoom-value-container {
    width: 72px;
    height: 32px;
    /*background-color: #d6c291;*/
    background-color: #a99d9d;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    border: 1px solid rgba(200, 200, 200  , 0.1);
    border-radius: 6px;
}

#zoom-value-icon-container .fa-search{
    color: white !important;
}

#zoom-value-display {
    background-color: white;
    margin-top: 0px;
    border: 1px solid rgba(200, 200, 200  , 0.1);
    border-radius: 6px;
    text-align: center;
}

.button:focus {
    border-color: rgba(0, 0, 0, 0);
    color: none;
}

.orange-button {
    background-color: #f68a42;
    color: white !important;
}

.red-button {
    background-color: red;
    color: white !important;
}

.yellow-button {
    background-color: hsl(48, 100%, 67%);
}

.green-button {
    background-color: green;
    color: white !important;
}

.blue-button {
    background-color: #3483f4;
    color: white !important;
}

.zoom-button {
    height: 42px;
    padding: 0 15px;
    border: none;
    border-radius: 20px;
    width: 42px;
}

#rotation-dropdown-button {
    margin-top: auto;
    margin-bottom: auto;
}

.rotation-selector-class .rs-range-color {
    background-color: #33B5E5;
}

.rotation-selector-class .rs-path-color {
    background-color: #C2E9F7;
}

.rotation-selector-class .rs-handle {
    background-color: #33B5E5;
    padding: 7px;
    border: 2px solid #33B5E5;
}

.rotation-selector-class .rs-handle.rs-focus {
    border-color: #33B5E5;
}

.rotation-selector-class .rs-handle:after {
    border-color: #33B5E5;
    background-color: #33B5E5;
}

.rotation-selector-class .rs-border {
    border-color: transparent;
}

#rotation-selector-dropdown>.navbar-dropdown {
    padding: 0 25px;
    padding-bottom: 25px;
    background-color: rgba(0, 0, 0, 0);
    box-shadow: none;
    margin-left: -45px;
}

#draw-button {
    margin-top: auto;
    margin-bottom: auto;
}

.horizontal-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(54, 54, 54, 0.3);
    margin-bottom: 10px;
}

label.label.light-label {
    font-size: 0.8rem;
    font-weight: 500;
}

.label_button {
    width: 30px;
    height: 30px;
    z-index: 100;
}

.label-img-container .card-header-title, .label-img-container .card-header-icon, .label-img-container .card-content{
    padding: 0;
    z-index: 1001;
}

.label_button button {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 1000px;
    background-color: rgba(230, 230, 230, 0.7);
}

#line-button {
    width: 28px;
    height: 25px;
    border-radius: 0;
}

#stats-button {
    border-radius: 0;
    width: 28px;
    height: 21px;
}


#navigator-hide-button.navigator-hide-class {
    background-color: rgba(100, 100, 100, 0.5);
}

#draw-menu-dropdown {
    padding-left: 0.45rem;
    padding-right: 0.45rem;
}

#stats-modal .title {
    margin-bottom: 5px;
}

.modal-card-body {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}


#draw-menu-dropdown>.navbar-dropdown {
    margin-left: -50px;
    width: 340px;
}

#slide-tray-container {
    width: 100%;
    height: 100%;
    background-color: transparent ;
    position: fixed;
    left: 0;
    bottom: 0;
}

#slide-tray-nav-button-left {
    left: -35px;
}


#slide-tray-nav-button-right {
    right: -35px;
}


#slide-tray-nav-button-left, #slide-tray-nav-button-right {
    background: transparent;
    border: none;
    padding: none;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}


#slide-tray-nav-button-left:focus, #slide-tray-nav-button-right:focus {
    outline: none;
}

.open-slide-button-container {
    text-align: center;
}
.open-slide-button-container img {
    height: 100px;
    display: block;
    margin: auto;
    margin-bottom: 10px;
}

#slide-tray-with-buttons {
    width: 790px;
    height: 100%;
    margin: auto;
    background-color: transparent;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
}

/* .fa-caret-left, .fa-caret-right {
    color: rgba(150, 150, 150, 0.8);
} */


#slide-tray-button-container {
    height: 30px; 
    display: flex;
    justify-content: center;
    align-content: center;
}

#slide-tray {
    width: 100%;
    /*background-color: #d6c291;*/
    background-color: #f5f5f5;
    border-radius: 1px;
    border-top: 1px solid rgb(156, 127, 49);
    border-bottom: 1px solid rgb(156, 127, 49);
    padding: 1px px;
}

.slick-dots {
    bottom: -5px;
}

/* .slick-dots li, .slick-dots li button {
    margin: 0;
    padding: 0;
    width: 10px;
    height: 10px;
    line-height: 0;
}


.slick-dots li button:before{
    width: 10px;
    height: 10px;
} */

.slick-dots li.slick-active button:before {
    color: white;
}

.slide-tray-button {
    width: 35px;
    height: 30px;
    background-color: transparent;
    border: none;
}

.slide-tray-button:focus {
    outline: none;
}

.slick-list, .slick-track, .slide-tray-item {
    height: 100%;
}

.slide-tray-item {
    min-width: 73px !important;
    background-color: white;
    margin-left: 7px;
    border-radius: 5px;
    padding: 2px 2px;
    font-size: 102px;
    /* line-height: 2px; */
}

.slide-tray-item .slide-tray-title {
    /* height: 20%; */
    /* line-height: 12px; */
    margin-bottom: 2px;
    font-size: 0.90rem;
    font-weight: bold;
    text-align: center;
}

.case-id {
    font-size: 10px;
}

.slide-tray-item .slide-tray-image {
    /* height: 20%; */
    margin-bottom: 5px;
    line-height: 11px;
    font-size: 0.90rem;
}
.slide-tray-selection_opt{
    /*background: #207AFA;*/
    background: #3483f4;
    border-radius: 5px;

}

.slide-tray-selection_opt select{
    /*background-color: #207AFA;*/
    background-color: #3483f4;
    color: white;
    border: 0px;
}

.text_read{
    background: white;
    padding: 5px;
    margin-top: 2px;
    font-weight: bold;
}




.slide-tray-item .slide-tray-selection{

    min-width: 73px !important;
    background-color: gray;
    margin-left: 7px;
    border-radius: 5px;
    padding: 2px 2px;
    font-size: 12px;
    /* line-height: 2px; */
    
}



#slide-tray-hide-button, #slide-tray-show-button {
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    background: rgba(200, 200, 200, 0.5);
    border-radius: 10px;
    width: 35px;
    height: 30px;
}


#slide-tray-show-button{
    top: -60px;
}

#slide-tray-large-button {
    background-image: url('/static/images/SlideTrayLargeBtnPressed.png');
}

#slide-tray-med-button {
    background-image: url('/static/images/SlideTrayMedBtn.png');
}

#slide-tray-small-button {
    background-image: url('/static/images/SlideTraySmallBtn.png');
}


#draw-menu-dropdown .columns {
    margin-bottom: 0;
}

#open-slide-dropdown {
    padding-left: 0.45rem;
    padding-right: 0.45rem;
}

#open-annotation-dropdown{
    padding-left: 0.45rem;
    padding-right: 0.45rem;
}



#color-palette-container {
    width: 160px;
    height: 128px;
    border: 0.5px solid rgba(100, 100, 100, 0.5);
    padding: 5px;
}

#color-palette-container .columns {
    margin: 0;
    padding: 0;
    /* justify-content: space-between; */
}
#color-palette-container .column {
    padding: 0 2px;
}


#color-palette-container .columns {
    margin-bottom: 5px;
}


.color-palette {
    width: 25px;
    height: 25px;
}

#annotation-border-picker {
    width: 30px;
    height: 40px;
    background-color: Red;
    box-shadow: 1px 2px 3px 3px rgba(200, 200, 200, 0.4);
}

.circle-annotation {
    border: 2px solid black;
    border-radius: 100px;
    width: 28px;
    height: 28px;
}

#select-tool-container .column {
    padding-right: 0;
}

#select-tool-settings .column {
    padding-right: 0px;
}

#open-slide-dropdown>.navbar-dropdown {
    margin-left: -50px;
}


#open-slide-button {
    margin-top: auto;
    margin-bottom: auto;
}

#open-annotation-button{
    margin-top: auto;
    margin-bottom: auto;

}

#rotation-selector-dropdown {
    padding-right: 0.45rem;
}


#rotation-selector-dropdown>.navbar-dropdown>.navbar-item {
    padding: 0;
}

#btn-rotate-preset-1-container {
    padding-left: 0;
}

.navbar-brand {
    margin-right: 20px;
    margin-left: 20px;
}

.navbar-brand>a.navbar-item {
    padding: 0;
}

.navbar-item img {
    max-height: 100px;
}

#zoomin-btn:active,
#zoomout-btn:active {
    background-color: hsl(141, 53%, 53%);
    color: white;
}


.navbar-item {
    padding-left: 0.45rem;
    padding-right: 0.35rem;
}


.toolbar-heading {
    padding: 8px 8px;
    background-color: #1f2833;
    color: white;
    border: 2px solid #17954caa;
    text-align: center;
    border-radius: 20%;
    margin: 0px 10px;
}


.separator {
    width: 1px;
    height: 100%;
    background-color: #aaa;
    margin: 0px 10px;
}

#annotation-modal>.modal-background {
    opacity: 0.2;
}

#annotation-modal>.modal-card {
    width: 20vw;
}


#loading-modal>.modal-content>.image {
    padding: 10px;
}

#loading-modal>.modal-content>.image>img {
    margin: auto;
}

#border-example {
    width: 100%;
    height: 4px;
    background-color: black;
    margin-top: 15px;
}

#hamburger {
    display: none;
    width: 90px;
    height: 40px;
    border: none;
    box-shadow: none;
}

#hamburger:active {
    background-color: #aacfcf;
}

.fa-bars {
    font-size: 25px;
}

.card-control {
    float: right;
    margin-top: 5px;
    margin-right: 5px;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    border: none;
}

.edit-button {
    background-color: #ffdd57;
}

.delete-button {
    background-color: #fa4a5f;
}

.slot-container {
    padding: 3px 8px;
    margin: 1px 2px;
}

.slot {
    min-width: 125px;
    text-align: center;
    padding: 3px 3px;
    border-radius: 5px;
    background-color: #ddd;
    cursor: pointer;
    transition: 0.3s;
   
}

.slot-delete {
    margin-left: 10px;
    background-color: hsl(348, 100%, 61%);
    display: none;
}

.text-light {
    font-size: small;
    color: #777;
}

.is-selected {
    background-color: #89cff0;
}

.slot:hover {
    background-color: #89cff0;
}

#label-container {
    position: absolute;
    right: 20px;
    z-index: 100;
}

.flip {
    transform: rotate(180deg);
}

.flip90 {
    transform: rotate(90deg);
}

.flip180 {
    transform: rotate(180deg);
}

.flip270 {
    transform: rotate(270deg);
}


#label-container .card-header-icon, #label-container .card-header-title {
    padding: 0;
    padding-left: 3px;
    z-index: 1001;
}

#label-container .card-content {
    padding: 0;
}

.content-container {
    opacity: 0.85;
    z-index: 101; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative; 
    top: 85px;
    margin: 0 auto;
}

.nav-button {
    opacity: 0.85;
    margin: 0 20px; 
    padding: 5px 10px; 
    background-color: #ffffff; 
    color: rgba(0, 0, 0, 0.832);
    border: 2px solid #cccccc; 
    border-radius: 4px; 
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s; 
}

.nav-button:hover {
    background-color: #e6e6e6; 
    color: #333; 
}

.nav-text {
    opacity: 0.75;
    font-size: 16px; 
    color: #333; 
    font-weight: bold; 
}

.navbar {
    width: 100%; 
    position: fixed;
    top: 0;
    left: 0; 
    z-index: 1000;
}

.slide-selector {
    margin: 25px 10px;
    padding: 10px 25px;
    border-radius: 20px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    transition: 0.5s;

}

.slide-selector img {
    width: 80px;
    height: auto;
}

.slide-selector span {
    margin-left: 40px;
    font-size: large;
    font-weight: 700;
}

.slide-selector:hover {
    background-color: #89cff0;
}

.draggle-menu {
    position: absolute;
    right: 200px;
    bottom: 100px;
    width: 320px;
    height: 390px;
    border-radius: 20px;
    background-color: rgb(240, 240, 240);
    box-shadow: 0px 4px 15px rgba(200, 200, 200, 0.5);
    z-index: 99999;
}

.draggle-menu .draggle-menu-header {
    position: relative;
    right: 0;
    top: 0;
    width: 100%;
    height: 40px;
    background-color: rgb(220, 220, 220);
    border-radius: 20px 20px 0 0;
    padding-top: 7px;
}

.draggle-menu .draggle-menu-header .delete {
    position: absolute;
    right: 12px;
    top: 10px;
}

.draggle-menu .draggle-menu-header:hover {
    cursor: all-scroll;
}

.draggle-menu .draggle-menu-body {
    width: 100%;
    height: 100%;
    padding: 10px 5px 5px 10px;
}

button:active {
    border: none;
}

#brightness-slider { 
    margin-top: 5px;
}

.datared_read{
    font-size: 20px;;
}

output {
    font-size: 1rem !important; 
}

input[type="range"].slider {
    margin: 0;
}
@media screen and (max-width: 1600px) {
    .button.is-rounded{
        padding-left: 5px;
        padding-right: 5px;
    }
}
@media screen and (max-width: 1160px) {
    .separator {
        margin: 0px 0px;
    }

    .toolbar-container {
        margin-left: 0;
    }
}

@media screen and (max-width: 1024px) {
    .navbar-menu {
        display: block;
    }
    /* Causes bug where a white square appears when the window size is reduced. There is a white square near the navbar if this is enabled*/
    /* .navbar-menu {
        width: 200px;
        margin-left: -25px;
    } */

    .rotation-selector-class {
        margin-left: 20px;
    }

    #rotation-dropdown-button {
        display: none;
    }

    .rotate-preset-container {
        display: none;
    }

    #draw-button {
        display: none;
    }

    #draw-menu-dropdown>.navbar-dropdown {
        margin-left: -20px;
    }

    .navbar-end {
        display: none;
    }
}

nav.navbar{
	/* background: linear-gradient(to right, #5ccbe9 0%,#9ceaff 100%); */
}

@media screen and (max-width: 1810px) {
    nav.navbar {
        width: 100%;
        left: 0%;
        transform: translate(0%, 0);
        height: 60px;
    }
}

@media screen and (max-width: 1440px) {
    nav.navbar {
        transform: scale(0.8) translate(-10%, 0);
        width: 120%;
        /* height: 72px; */
    }
}

@media screen and (max-width: 1290px) {
    nav.navbar {
        transform: scale(0.75) translate(-15%, 0);
        width: 130%;
    }
}


@media screen and (max-width: 1190px) and (max-height: 900px) {
    .zoom-button-container {
        display: none;
    }
}



@media screen and (max-width: 1080px) {
    nav {
        display: none;
    }
    #annotation-modal>.modal-card {
        width: 250px;
    }
}


