body {
    background: #454d55;
    background-size: cover;
    margin-bottom: 0px;
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    padding-top: 90px;
    padding-bottom: 20px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.container {
    max-width: 100%;
}

.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;
}

body {
    margin-bottom: 60px;
    font-family: 'Roboto', sans-serif;
}

header {
    position: absolute;
    z-index: 9;
}

.custom-shadow {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.field-validation-error {
    font-weight: bold;
    font-size: 16px;
    color: #c92323;
}

.custom-mini-button {
    width: 24px;
    height: 24px;
    font-size: 16px;
    padding: 0px;
    color: white;
    background-color: #999999;
    border-color: #a9a9a9;
}

.ellipses-td {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ellipses-div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.c-pointer {
    cursor: pointer;
}

.hidden {
    display: none !important;
}

.margino-ff {
    margin: 0px !important;
}

.padding-off {
    padding: 0px !important;
}

.padding-off-left {
    padding-left: 0px;
}

.padding-off-right {
    padding-right: 0px;
}

.list-group {
    margin: 12px auto; /* 8px auto*/
}

ul.lg-switch {
    margin: 0px !important;
}

.lg-switch li {
    width: 85px;
    border: none !important;
    padding: 0px;
}

.form-floating > .form-select {
    padding-top: 1.4rem;
    padding-bottom: 0.625rem;
}

.form-floating > .form-control, .form-floating > .form-select {
    /*height: calc(3rem + 2px);*/
    /*height: calc(3.4rem);*/
    line-height: 1.3;
}


/**
    INDEX / PANTALLA ESTUDIOS / GRILLA
*/
.patientNameCol {
    display: inline-block;
    width: 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.display-username {
    font-weight: bold;
    font-size: 1.4rem;
    /*position: absolute;*/
    /*right: 290px;*/
    display: inline-block;
    line-height: 75px;
}

.ubar-display-username {
    margin: 6px;
}

body.dark .display-username {
    color: whitesmoke;
}

body.light .display-username {
    color: black;
}

/* #region    - Sidebar Styles  */

#sidebar-menu {
    z-index: 2500;
}

#thumbails {
    padding: 0 1.25rem 0 0;
}

#sidebar-menu .btn-outline-secondary {
    color: #C7C7C7;
    border-color: #C7C7C7;
}


/* #endregion - Sidebar Styles  */

/* #region    - Sidebar Scroll Styles */
#thumbnails-div::-webkit-scrollbar {
    width: 8px;
}

#thumbnails-div::-webkit-scrollbar-thumb {
    background-color: #4a4a4a;
    border-radius: 4px;
}
/* #endregion - Sidebar Scroll Styles */

/* #region    - Sidebar Card Styles  */

.series-image-card {
    width: 100%;
    max-width: calc(100% - 10px);
    margin-left: auto;
    margin-right: auto;
    border: 1px solid white;
    overflow: hidden;
}

.series-image-card .card-body {
    padding: 10px;
}

.series-image-card .card-body .card-text .card-text-desc {
    padding: 10px;
    font-size: 0.75rem !important;
}

.card-series-description {
    font-size: 0.75rem !important;
    color: white;
    text-align: center;
    width: auto;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

/* #endregion - Sidebar Card Styles  */

/* #region    - New Tool Bar (Corner) */

#corner-navbar .btn-outline-secondary {
    color: #C7C7C7;
    border-color: #C7C7C7;
    min-width: 2.1rem;
}

#corner-navbar .btn-selected-group {
    background-color: #6c757d;
}

#corner-navbar .btn-corner-tool {
    
}

#corner-navbar .btn-corner-tool.active {
    background-color: #a3a9ae !important;
    transition: background-color 0.3s ease;
}

#displayPxMmButton {
    width: 2.66rem;
}

#corner-navbar .btn-displayPxMm-px {
    background-color: #6c757d; /* Soft Green */
}

#cornerDisplayZoomLabel {
    min-width: 6rem;
    text-align: center;
}

#MainGroup, #ViewportGroup,
#ImageGroup, #MeasurementsGroup {
    display: flex;
    align-items: center;
}

.hidden-group {
    display: none!important;
}

.visible-group {
    display: flex;
}

/* #region    - New Toolbar Menu Slider */
input[type="range"].custom-slider {
    -webkit-appearance: none;
    width: 100px;
    height: 5px;
    background: transparent;
    margin: 0 0.5rem;
}

/* Estilo del track */
input[type="range"].custom-slider::-webkit-slider-runnable-track {
    background: #6c757d; /* Similar al color btn-outline-secondary */
    border: 1px solid #adb5bd;
    border-radius: 3px;
    height: 5px;
    cursor: pointer;
}

/* Estilo del thumb */
input[type="range"].custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 15px;
    width: 15px;
    background: #ffffff;
    border: 2px solid #adb5bd;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -5px; /* Centra el pulgar en la pista */
}

/* Estilo para navegadores que no son Webkit */
input[type="range"].custom-slider::-moz-range-thumb {
    height: 15px;
    width: 15px;
    background: #ffffff;
    border: 2px solid #adb5bd;
    border-radius: 50%;
    cursor: pointer;
}

/* Opcional: Hover o focus en el slider */
input[type="range"].custom-slider:focus::-webkit-slider-runnable-track {
    background: #adb5bd;
}
/* #endregion - New Toolbar Menu Slider */


/* PNG Cristina Buttons */
.png-button {
    display: inline-block;
    width: 1.2rem;                /* Ajusta al tamaño de los íconos */
    height: 1.2rem;
}

.png-button-padding {
    padding-top: 0.14rem;
    padding-bottom: 0.12rem;
    padding-right: 0.09rem;
    padding-left: 0.09rem;
}


/* #endregion - New Tool Bar (Corner)  */




/* #region    - Viewer Styles  */
#cornerstoneViewer1,
#cornerstoneViewer2,
#cornerstoneViewer3,
#cornerstoneViewer4 {
    border: solid 1px transparent;
}

#cornerstoneViewer1.cv-d-none,
#cornerstoneViewer2.cv-d-none,
#cornerstoneViewer3.cv-d-none,
#cornerstoneViewer4.cv-d-none {
    visibility: hidden;
}

.magnifyTool {
    border: 4px white solid;
    box-shadow: 2px 2px 10px #1e1e1e;
    border-radius: 50%;
    display: none;
    cursor: none;
    z-index: 100;
}

.corner-viewer-button {
    width: 6rem !important;
}

.corner-viewer-button a {
    width: 6rem !important;
    padding: 0.3rem;
    display: block !important;
}

.corner-viewer-button a:hover {
}

.corner-viewer-button a span {
    font-size: 1.4em;
    font-weight: bold;
}

#cornerToolBar {
}

.cornermenu-row-container {
    margin-bottom: 10px;
}

#cornerToolBar span {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-family: monospace;
    margin-top: 0.25em;
    margin-bottom: 0.25em;
    font-size: 0.95rem;
}

.cornerDisplayLabel {
    border: 1px solid transparent !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.cornerstore-toolbar-active {
    display: inline-block !important;
}

.cornerstore-toolbar-inactive {
    display: none !important;
}

.corner-navbar {
    /*height: 92px;*/
    border: 1px solid #395c03;
    padding: 0.25rem 0.25rem 0.35rem 0.25rem !important;
    vertical-align: middle;
}

.corner-navbar button {
    margin-top: 0.25em;
    margin-bottom: 0.25em;
}

.vr-separator {
    margin-left: 0.25em;
    margin-right: 0.25em;
    margin-top: auto;
    margin-bottom: auto;
    height: 0.85rem;
}



.buttons-group {
    display: flex;
    flex-wrap: wrap;
    margin: 0.05rem 0.0rem; /* margin: 0.25rem 0.0rem; */
    width: 100%;
    height: 2.4rem;
    justify-content: center;
    vertical-align: middle;
}

.dropdown-colormaps, .dropdown-downloads, .dropdown-wwwc-presets {
    padding: 0 !important;
}

.dropdown-sidebar-menu {
    padding: 0 !important;
}

#layoutDropdown {
    /*left: 0.65rem !important;*/
    left: -2.5rem !important;
    min-width: 8rem !important;
}

.corner-input-text {
    margin-top: 3.5px !important;
    margin-bottom: 3.5px !important;
    width: 8rem;
    color: #19bd00;
}


/* Cornerstone Tools */
/* height: calc(100% - 130px); */
.cornerstone-element-wrapper {
    width: 100%;
    margin: auto auto auto auto; /* margin: 10px auto auto auto; */
    height: calc(100% - 8px); /* height: calc(100% - 10px); */
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.cornerstone-element {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    flex-basis: 340px;
    min-width: 340px;
    min-height: 340px;
    flex-grow: 1;
    border: 1px solid rgb(0, 164, 217);
    overflow: hidden;
}

.corner-overlay {
    position: absolute;
    /*color: #f1f1f1;*/
    color: greenyellow;
    /* prevent text selection on overlay */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* ignore pointer event on overlay */
    pointer-events: none;
    margin: 0.45rem;
    padding: 0.15rem;
    font-size: 0.80rem;
    background-color: rgba(0, 0, 0, 0.65);
    /*background-color: rgba(255, 99, 71, 0.65);*/
}

.corner-overlay p {
    margin: 0.15rem;
}

#corner1-topleft,
#corner2-topleft,
#corner3-topleft,
#corner4-topleft {
    top: 0;
    left: 0;
}

#corner1-topright,
#corner2-topright,
#corner3-topright,
#corner4-topright {
    top: 0;
    right: 0;
}

#corner1-bottomright,
#corner2-bottomright,
#corner3-bottomright,
#corner4-bottomright {
    bottom: 0;
    right: 0;
}

#corner1-bottomleft,
#corner2-bottomleft,
#corner3-bottomleft,
#corner4-bottomleft {
    bottom: 0;
    left: 0;
}

.selectedActiveViewer {
    border: 1px solid #00FF00!important;
}

.u-toolbar-inactive {
    display: none;
}

.u-toolbar-active {
    display: flex;
}



.waitingItem {
    cursor: wait !important;
}


.viewer {
    float: left;
    width: 100%;
    height: 100%;
    border: 1px solid;
    box-shadow: 0 1px 0 0 rgba(255, 192, 0, 0.25), 0 -1px 0 0 rgba(255, 64, 0, 0.25), 1px 0 0 0 rgba(255, 192, 0, 0.25), -1px 0 0 0 rgba(255, 64, 0, 0.25), 1px -1px 0 0 rgba(255, 128, 0, 0.5), -1px 1px 0 0 rgba(255, 128, 0, 0.5), 1px 1px 0 0 rgba(255, 255, 0, 0.75), -1px -1px 0 0 rgba(255, 0, 0, 0.75);
}


/* #endregion - Viewer Styles  */



#thumbnails-div {
    margin-top: 100px; /* 30px; */
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    width: 300px;
    padding: 0;
    z-index: 1031;
}

#thumbnails-div .main-div {
    border: 1px solid;
    margin: 2px;
    box-shadow: 0 1px 0 0 rgba(255, 192, 0, 0.25), 0 -1px 0 0 rgba(255, 64, 0, 0.25), 1px 0 0 0 rgba(255, 192, 0, 0.25), -1px 0 0 0 rgba(255, 64, 0, 0.25), 1px -1px 0 0 rgba(255, 128, 0, 0.5), -1px 1px 0 0 rgba(255, 128, 0, 0.5), 1px 1px 0 0 rgba(255, 255, 0, 0.75), -1px -1px 0 0 rgba(255, 0, 0, 0.75);
}

#info-div-row .col-1,
#info-div-row .col-10 {
    padding: 0;
}

.series-number {
    font-size: 16px !important;
    position: relative;
    bottom: 26px;
    left: 36px;
    float: left;
}

.series-number-images {
    font-size: 16px !important;
    position: relative;
    bottom: 26px;
    left: -36px;
    float: left;
}

.series-description {
    font-size: 16px !important;
    text-align: center;
    width: auto;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*
    Image NavBar Menu Custom Styles
*/
.t-menu {
    /*background-color: #474A4E !important;*/
    color: #ffffff !important;
    opacity: 0.98 !important;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    z-index: 995 !important;
}

/* .ops-skin .t-menu:hover {
        opacity: 0.98 !important;
    }*/

.t-menu .dropdown-toggle:after {
    border-color: transparent transparent rgba(255, 255, 255, 0.5) transparent;
}

.t-menu .item-selected {
    background-color: #333131 !important;
    color: #737373 !important;
}

/*.t-menu.compact li a {
    padding: 0 .85rem !important;
    line-height: 43px !important;
}*/

.t-menu .d-menu {
    background-color: #51555a !important;
    color: #ffffff !important;
    opacity: .82;
}

.t-menu ul {
    background-color: #474A4E !important;
    color: #ffffff !important;
}

.t-menu ul > li {
border: 1px solid #fff;
}

.t-menu ul > li:hover {
    background-color: rgb(115 118 124);
}


.t-menu .smartbar-dropdown-v ul > li {
    background-color: rgb(115 118 124) !important;
}


.t-menu .smartbar-dropdown-v {
    background-color: #545454;
}

.t-menu .selected-size {
    background-color: rgb(115 118 124);
}

.t-menu {
    list-style: none inside;
    margin: 0;
    padding: 0;
    position: relative;
    width: auto;
    float: left;
    background-color: #fff;
    color: #1d1d1d;
    border-collapse: separate;
    display: none;
    -webkit-box-shadow: 2px 2px 2px 0 rgb(70 93 117 / 70%), -0.5px 0 1px 0 rgb(7 29 51 / 70%);
    box-shadow: 2px 2px 2px 0 rgb(70 93 117 / 70%), -0.5px 0 1px 0 rgb(7 29 51 / 70%);
}

.t-menu.open {
    display: block
}

.t-menu > li {
    position: relative;
    background-color: inherit;
    color: inherit;
    display: block;
}

.t-menu > li.active {
    background-color: rgb(171 160 160) !important;
}

.t-menu > li > a {
    display: block;
    /*padding: 0 1rem;*/
    border-bottom: 1px #dfdfdf solid;
    position: relative;
    color: inherit;
    background-color: inherit;
    /*height: 60px;
    width: 60px;
    line-height: 60px;*/
}

.t-menu > li > a .icon {
    /*width: 1.5rem;
    height: 1.5rem;*/
    font-size: 1.5rem;
    line-height: 60px;
}

.t-menu > li:hover {
    background-color: rgba(29,29,29,.1);
}

.t-menu > li:last-child a {
    border-bottom: 0;
}

.t-menu a {
    text-decoration: none !important;
}

.t-menu.horizontal > li {
    float: left;
}

.t-menu .t-menu {
    position: absolute;
    left: 100%;
    margin-left: .3125rem;
    top: 0;
    float: none;
}

.t-menu.horizontal .t-menu {
    left: 0;
    top: 100%;
    margin-top: .3125rem;
    margin-left: 0;
}

.t-menu .dropdown-toggle {
    padding-right: 1rem !important;
}

.t-menu .dropdown-toggle:after {
    content: "";
    background-color: transparent;
    position: absolute;
    left: auto;
    top: auto;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 8px 8px;
    border-color: transparent transparent rgba(29,29,29,.5) transparent;
    -webkit-transform: rotate(0);
    transform: rotate(0);
}

.t-menu .dropdown-toggle:before {
    display: none;
}

.t-menu.horizontal > li > a {
    border-right: 1px #dfdfdf solid;
    border-bottom: 0;
}

.t-menu.horizontal > li:last-child > a {
    border-right: 0;
}

.t-menu.horizontal .t-menu:not(.horizontal) {
    left: 0;
    top: 100%;
    margin-top: .3125rem;
    margin-left: 0;
}

.t-menu.horizontal .t-menu:not(.horizontal) .t-menu.horizontal {
    left: 100%;
    margin-left: .3125rem;
    top: -.3rem;
    float: left;
}

.t-menu.compact li a {
    width: 32px;
    height: 32px;
    /*line-height: 40px;*/
    text-align: center;
}

.t-menu.compact li a .icon {
    /*width: 40px;
    height: 40px;*/
    font-size: 1rem;
    line-height: 30px;
}

.t-menu.compact .dropdown-toggle {
    padding-right: .7rem !important;
}

.t-menu {
    z-index: 1040!important;
}

.toolbar-text {
    width: auto;
    height: 30px;
    font-size: 12px;
    padding-top: 8px;
    padding-left: 4px;
    padding-right: 4px;
    vertical-align: middle;
    text-align: center;
    border-right: 1px solid #fff;
    cursor: initial;
}

.toolbar-text .lbl_series_name {
    width: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.toolbar-text .lbl_series_description {
    width: 56px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.toolbar-text.total {
    width: 70px;
}

.toolbar-text.zoom {
    width: 114px;
}

.toolbar-separator {
    background-color: #757575 !important;
    pointer-events: none;
    width: auto;
    height: 30px;
    padding-left: 4px;
    padding-right: 4px;
    border-right: 1px solid #fff;
}

.toolbar-drop-icon {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 40px;
}

/*
    Bootstrap custom badged
*/
.badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .badge {
        transition: none;
    }
}

a.badge:hover, a.badge:focus {
    text-decoration: none;
}

.badge:empty {
    display: none;
}

.btn .badge {
    position: relative;
    top: -1px;
}

.badge-pill {
    padding-right: 0.6em;
    padding-left: 0.6em;
    border-radius: 10rem;
}

.badge-primary {
    color: #fff;
    background-color: #007bff;
}

a.badge-primary:hover, a.badge-primary:focus {
    color: #fff;
    background-color: #0062cc;
}

a.badge-primary:focus, a.badge-primary.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.badge-secondary {
    color: #fff;
    background-color: #6c757d;
}

a.badge-secondary:hover, a.badge-secondary:focus {
    color: #fff;
    background-color: #545b62;
}

a.badge-secondary:focus, a.badge-secondary.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}

.badge-success {
    color: #fff;
    background-color: #28a745;
}

a.badge-success:hover, a.badge-success:focus {
    color: #fff;
    background-color: #1e7e34;
}

a.badge-success:focus, a.badge-success.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}

.badge-info {
    color: #fff;
    background-color: #17a2b8;
}

a.badge-info:hover, a.badge-info:focus {
    color: #fff;
    background-color: #117a8b;
}

a.badge-info:focus, a.badge-info.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}

.badge-warning {
    color: #1f2d3d;
    background-color: #ffc107;
}

a.badge-warning:hover, a.badge-warning:focus {
    color: #1f2d3d;
    background-color: #d39e00;
}

a.badge-warning:focus, a.badge-warning.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}

.badge-danger {
    color: #fff;
    background-color: #dc3545;
}

a.badge-danger:hover, a.badge-danger:focus {
    color: #fff;
    background-color: #bd2130;
}

a.badge-danger:focus, a.badge-danger.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}

.badge-light {
    color: #1f2d3d;
    background-color: #f8f9fa;
}

a.badge-light:hover, a.badge-light:focus {
    color: #1f2d3d;
    background-color: #dae0e5;
}

a.badge-light:focus, a.badge-light.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}

.badge-dark {
    color: #fff;
    background-color: #343a40;
}

a.badge-dark:hover, a.badge-dark:focus {
    color: #fff;
    background-color: #1d2124;
}

a.badge-dark:focus, a.badge-dark.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}

/*
    Bootstrap custom override styles
*/
.table {
    --bs-table-striped-bg: rgba(0, 0, 0, 0.15);
}

.table-bordered > :not(caption) > * {
    border-width: 0px 0;
}

.table-bordered > :not(caption) > * > * {
    border-width: 0 0px;
}

.table-bordered thead th {
    padding-left: 10px;
    padding-right: 10px;
}

.table-bordered tbody td {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
}

table tbody .btn {
    color: white !important;
}

/*
    Footer Custom Styles
*/
.footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    background: #454d55;
    z-index: 1024;
    color: white;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out
}

.footer-hr {
    background-color: #001c50;
    width: auto;
    height: 2px !important;
    margin-top: 0;
    margin-bottom: 0;
}

.footer-copyright {
    padding-left: 10px;
}

/*
    Pagination Custom Component Styles
*/
.pagination,
.pagination {
    height: auto;
    margin: 0px;
    position: relative;
    bottom: 2px;
}

.page-item,
.page-item {
    padding-right: 2px;
}

.page-link,
.page-link {
    /*height: 36px;
    border-radius: 0px !important;*/
    line-height: 20px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

/*
    Card Custom Styles
*/
.card {
    background-color: #ffffff8c !important;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    border-radius: 1rem !important;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.card-header {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
    background-color: transparent !important;
    border-bottom: 1px solid rgba(0,0,0,.125) !important;
    padding: .75rem 1.25rem !important;
    position: relative !important;
    border-top-left-radius: .75rem !important;
    border-top-right-radius: .75rem !important;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.card .card-title {
    margin: 0;
}

.card-footer {
    box-shadow: rgba(0, 0, 0, 0.1) 1px 0px 0px 1px;
    padding: .75rem 1.25rem !important;
    background-color: rgba(0,0,0,.03) !important;
    border-top: 0 solid rgba(0,0,0,.125) !important;
}

.card .card-body .table {
    margin-bottom: 0;
}

/*
    Shadow Custom Styles
*/
.shadowed {
    -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset !important;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset !important;
}

.shadowed:hover,
.shadowed:focus {
    -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px 4px 4px 2px inset !important;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px 4px 4px 2px inset !important;
}

.shadowed:active {
    -webkit-box-shadow: rgb(75 75 75) 3px 3px 6px 0px inset, rgb(75 75 75 / 50%) -3px -3px 6px 1px inset !important;
    box-shadow: rgb(75 75 75) 3px 3px 6px 0px inset, rgb(75 75 75 / 50%) -3px -3px 6px 1px inset !important;
}

/* Simple CSS3 Fade-in Animation */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fadeIn {
    opacity: 0;
    -webkit-animation: fadeIn ease-in 1;
    -moz-animation: fadeIn ease-in 1;
    animation: fadeIn ease-in 1;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-duration: 0.4s;
    -moz-animation-duration: 0.4s;
    animation-duration: 0.4s;
}

.fadeIn.first {
    -webkit-animation-delay: 0.4s;
    -moz-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.fadeIn.second {
    -webkit-animation-delay: 0.6s;
    -moz-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

.fadeIn.third {
    -webkit-animation-delay: 0.8s;
    -moz-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

.fadeIn.fourth {
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    animation-delay: 1s;
}

.fadeIn.modal-shown {
    opacity: 1;
    -webkit-animation: none;
    -moz-animation: none;
    animation: none;
}
.fadeIn.modal-hidden {
    opacity: 0;
    -webkit-animation: fadeIn ease-in 1;
    -moz-animation: fadeIn ease-in 1;
    animation: fadeIn ease-in 1;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

/*
    Alert Custom Styles
*/
.alert i {
    float: left;
    position: relative;
    left: -3px;
    top: 3px;
}

.alert p {
    margin-bottom: 0px;
} 

/*
    Navbar Custom Styles
*/
.navbar {
    box-shadow: rgba(0,0,0,.09) 0 2px 1px, rgba(0,0,0,.09) 0 4px 2px, rgba(0,0,0,.09) 0 8px 4px, rgba(0,0,0,.09) 0 16px 8px, rgba(0,0,0,.09) 0 32px 16px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.navbar-header {
    background-color: #454d55;
    padding: 0;
    height: 75px
}

.navbar-brand-logo {
    margin-right: 0;
    margin-left: 40px;
    padding-top: 0;
    padding-bottom: 0;
}

.dashboard-logo {
    margin-left: 45px;
}

.config-icon {
    /*position: absolute;*/
    /*right: 190px;*/
}

.noti-icon {
    /*position: absolute;*/
    /*right: 120px;*/
}

.dark .dashboard-logo .db-ls {
    display: none;
}

.light .dashboard-logo .db-ds {
    display: none;
}

.dark .config-icon .conf-ls {
    display: none;
}

.light .config-icon .conf-ds {
    display: none;
}

.dark .dropdown-user .user-ls {
    display: none;
}

.light .dropdown-user .user-ds {
    display: none;
}

.dark .noti-icon .noti-ls {
    display: none;
}

.light .noti-icon .noti-ds {
    display: none;
}

    .nav-link {
        text-align: center;
        width: 130px;
        background-color: #343a40;
        color: #fff !important;
        font-weight: bold;
        height: 65px;
        line-height: 2.5;
        border: 4px solid #999c9e;
    }

    .nav-link:hover {
        background-color: #595959;
    }

    .nav-link:active {
        background-image: none !important;
        outline: 0 !important;
        -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125) !important;
        box-shadow: inset 0 3px 5px rgba(1,0,0,.65) !important
    }

.nav-item.disabled .nav-link {
    background: transparent;
    cursor: default;
    pointer-events: none;
}
/*
    Dark Mode Card
*/
.dark-mode.card {
    background-color: #343a40 !important;
    color: #fff;
    border: none;
    border-radius: 0.75rem !important;
}

    .dark-mode.card .card-footer {
        background-color: rgba(0,0,0,.1);
    }

/*
    Dashboard Card Custom Styles
*/
.dashboard .card {
    border-radius: 0px !important;
}

.dashboard .card-header {
    box-shadow: none !important;
    border-bottom: none !important;
}

.dashboard .card-footer {
    box-shadow: none !important;
    border-bottom: none !important;
    background-color: transparent !important;
    justify-content: end;
    padding: 0px 10px 0px 10px !important;
}
    .dashboard .card-footer a {
    }
/*
    Dropdown Skins Component Styles
*/
    .dropdown-skins, .dropdown-user {
        /*position: absolute;*/
        /*right: 0px;*/
    }

    .dropdown-skins label, .dropdown-user label {
        pointer-events: none;
        text-transform: capitalize;
    }

    .dropdown-skins .dropdown-toggle, .dropdown-user .dropdown-toggle {
        background-color: #343a40;
        color: white;
        font-weight: bold;
        border-radius: 8px;
        width: 180px;
        height: 48px;
        line-height: 2;
        box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    }

    .dropdown-user .dropdown-toggle {
        background: transparent !important;
        border: none;
        box-shadow: none;
        width: auto;
        height: 75px;
    }

        .dropdown-skins .dropdown-toggle .square-dark-skin {
            height: 32px;
            width: 32px;
            background-color: #454d55;
            float: left;
            position: relative;
            right: 10px;
            box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
        }

        .dropdown-skins .dropdown-toggle .square-light-skin {
            height: 32px;
            width: 32px;
            background-color: #f4f6f9;
            float: left;
            position: relative;
            right: 10px;
            box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
        }

        .dropdown-skins .dropdown-toggle.show, .dropdown-user .dropdown-toggle.show {
            background-color: #595959;
        }

        .dropdown-skins .dropdown-toggle::after, .dropdown-user .dropdown-toggle::after {
            margin-left: -0.5em;
            vertical-align: 0.2em;
            margin-right: 0.2em;
        }

        .dropdown-skins .dropdown-toggle img, .dropdown-user .dropdown-toggle img {
            position: relative;
            bottom: 8px;
        }

    .dropdown-skins .dropdown-menu .dropdown-item, .dropdown-user .dropdown-menu .dropdown-item {
        padding: 0.25rem 0.5rem;
        color: #fff;
        font-weight: bold;
    }

        .dropdown-skins .dropdown-menu .dropdown-item .square-dark-skin {
            height: 24px;
            width: 24px;
            background-color: #454d55;
            float: left;
            position: relative;
            right: 4px;
            box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
        }

        .dropdown-skins .dropdown-menu .dropdown-item .square-light-skin {
            height: 24px;
            width: 24px;
            background-color: #f4f6f9;
            float: left;
            position: relative;
            right: 4px;
            box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
        }

    .dropdown-skins .dropdown-menu.show, .dropdown-user .dropdown-menu.show {
        background-color: rgb(69 77 85 / 100%);
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    }

    .dropdown-skins .dropdown-menu .dropdown-item:hover,
    .dropdown-skins .dropdown-menu .dropdown-item:focus,
    .dropdown-user .dropdown-menu .dropdown-item:hover,
    .dropdown-user .dropdown-menu .dropdown-item:focus {
        background-color: #595959;
    }

    .dropdown-skins .dropdown-menu .dropdown-item.active,
    .dropdown-skins .dropdown-menu .dropdown-item:active,
    .dropdown-user .dropdown-menu .dropdown-item.active,
    .dropdown-user .dropdown-menu .dropdown-item:active {
        background-color: #343a40;
    }

.dropdown-menu[data-bs-popper] {
    right: 5px !important;
    left: auto;
}

/*
    Metro Cards Component Styles
*/
.card {
    display: block;
    position: relative;
    font-size: 0.875rem;
    width: calc(100% - 1rem);
    margin: 8px auto;
    border-radius: 2px;
    border: 1px solid #dfdfdf;
    background-color: #ffffff;
}

.card-header {
    border-bottom: 1px #eee solid;
    padding: 0.5rem;
    font-size: 16px;
    border-radius: 2px 2px 0 0;
    display: block;
}

    .card-header .avatar {
        float: left;
        width: 2.75rem;
        height: 2.75rem;
        overflow: hidden;
    }

        .card-header .avatar img {
            width: 100%;
            min-height: 100%;
        }

    .card-header .name {
        margin-left: 3.375rem;
        font-weight: 500;
    }

    .card-header .date {
        margin-left: 3.375rem;
        font-size: 0.8125rem;
        font-weight: 500;
        color: #bebebe;
    }

.card-content {
    display: block;
}

.card-footer {
    border-top: 1px #eee solid;
    padding: 0.5rem;
    border-radius: 0 0 12px 12px !important;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    min-height: 3rem;
}

.card.image-header .card-header {
    height: 9rem;
    vertical-align: bottom;
    background-size: cover;
    background-position: center;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-flow: column;
    -webkit-box-align: start;
    align-items: flex-start;
    -webkit-box-pack: end;
    justify-content: flex-end;
}

    .card.image-header .card-header .avatar {
        border-radius: 50%;
        border: 2px solid #ffffff;
    }

* + .card {
    margin-top: 1rem;
}

.card.flex-card {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-flow: column;
}

    .card.flex-card .card-header,
    .card.flex-card .card-footer {
        height: 57px;
        flex-shrink: 0;
        -webkit-box-flex: 0;
        flex-grow: 0;
    }

    .card.flex-card .card-footer {
        margin-top: auto;
    }

/*
   Metro Switch Component Styles
*/
.listview .node .checkbox,
.listview .node .radio,
.listview .node .switch {
    height: auto;
}

.switch {
    display: -webkit-inline-box;
    display: inline-flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-flow: row nowrap;
    -webkit-box-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    align-items: center;
    position: relative;
    margin: 0;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    height: 36px;
}

    .switch input {
        width: 1px;
        height: 1px;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
    }

    .switch .check,
    .switch .caption {
        display: block;
        line-height: 18px;
        font-size: 14px;
        margin: 0 4px;
        position: relative;
    }

    .switch .check {
        position: relative;
        height: 20px;
        width: 48px;
        border: 2px #428bca solid;
        cursor: pointer;
        background: transparent;
        z-index: 1;
        display: inline-block;
        vertical-align: middle;
        border-radius: 0.5625rem;
        flex-shrink: 0;
    }

        .switch .check::after {
            position: absolute;
            left: 3px;
            display: block;
            content: "";
            height: 0.75rem;
            width: 0.75rem;
            top: 50%;
            -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
            border: 2px #428bca solid;
            cursor: pointer;
            background: #428bca;
            z-index: 2;
            border-radius: 50%;
        }

    .switch input[type="checkbox"]:checked ~ .check {
        background: #428bca;
        border-color: #1879cd;
        color: #1d1d1d;
    }

        .switch input[type="checkbox"]:checked ~ .check::after {
            background-color: #ffffff;
            border-color: #ffffff;
            left: auto;
            -webkit-transform: translateX(30px) translateY(-50%);
            transform: translateX(30px) translateY(-50%);
        }

    .switch input[type="checkbox"]:disabled ~ .check {
        background-color: #e9e9e9;
        border-color: #e9e9e9;
    }

        .switch input[type="checkbox"]:disabled ~ .check::after {
            background-color: #d0d0d0;
            border-color: #d0d0d0;
        }

    .switch .check {
        -webkit-box-ordinal-group: 2;
        order: 1;
    }

    .switch .caption {
        -webkit-box-ordinal-group: 3;
        order: 2;
    }

    .switch.caption-left {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        flex-flow: row-reverse nowrap;
    }

    .switch.required,
    .switch.invalid,
    .switch.valid {
        border: none !important;
    }

        .switch.invalid::after {
            display: none;
        }

    .switch.transition-on .check {
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

        .switch.transition-on .check::after {
            -webkit-transition: all 0.3s ease-in-out;
            transition: all 0.3s ease-in-out;
        }

    .switch.transition-on input[type="checkbox"]:checked ~ .check::after {
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    .switch .check::before {
        content: attr(data-off);
        display: block;
        position: absolute;
        color: inherit;
        left: 16px;
        width: 26px;
        top: -2px;
        line-height: 20px;
        font-size: 10px;
        text-transform: uppercase;
        text-align: center;
    }

    .switch input[type="checkbox"]:checked ~ .check::before {
        content: attr(data-on);
        color: #ffffff;
        left: 1px;
    }

    .switch input[type="checkbox"]:disabled ~ .check::before {
        display: none;
    }

.switch-material {
    display: -webkit-inline-box;
    display: inline-flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-flow: row nowrap;
    -webkit-box-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    align-items: center;
    position: relative;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    height: 36px;
    margin: 0;
}

    .switch-material input {
        width: 1px;
        height: 1px;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
    }

    .switch-material .check,
    .switch-material .caption {
        display: inline-block;
        vertical-align: middle;
        line-height: 18px;
        font-size: 14px;
        margin: 0 4px;
    }

    .switch-material .check {
        width: 48px;
        height: 16px;
        background-color: #929292;
        border-radius: 8px;
        overflow: visible;
        position: relative;
        margin: 0 4px;
    }

        .switch-material .check::after {
            position: absolute;
            display: block;
            content: "";
            width: 22px;
            height: 22px;
            z-index: 2;
            margin-top: -3px;
            margin-left: -3px;
            border-radius: 50%;
            background-color: #00aba9;
            -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
            box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
        }

    .switch-material input:checked ~ .check {
        background-color: rgba(0, 150, 136, 0.5);
    }

    .switch-material input:not(:checked) ~ .check::after {
        background-color: #ffffff;
    }

    .switch-material input:checked ~ .check {
        background-color: rgba(0, 150, 136, 0.5);
    }

        .switch-material input:checked ~ .check::after {
            -webkit-transform: translateX(30px);
            transform: translateX(30px);
        }

    .switch-material input:disabled ~ .check {
        background-color: #D5D5D5;
    }

        .switch-material input:disabled ~ .check::after {
            background-color: #BDBDBD;
        }

    .switch-material .check {
        -webkit-box-ordinal-group: 2;
        order: 1;
    }

    .switch-material .caption {
        -webkit-box-ordinal-group: 3;
        order: 2;
    }

    .switch-material.caption-left {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        flex-flow: row-reverse nowrap;
    }

    .switch-material.transition-on {
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

        .switch-material.transition-on input:not(:checked) ~ .check::after {
            -webkit-transition: linear all 0.2s;
            transition: linear all 0.2s;
        }

        .switch-material.transition-on input:checked ~ .check::after {
            -webkit-transition: linear all 0.2s;
            transition: linear all 0.2s;
        }

    .switch-material .check::before {
        content: attr(data-off);
        display: block;
        position: absolute;
        color: inherit;
        left: 19px;
        width: 26px;
        top: -2px;
        line-height: 20px;
        font-size: 10px;
        text-transform: uppercase;
        text-align: center;
    }

    .switch-material input[type="checkbox"]:checked ~ .check::before {
        content: attr(data-on);
        color: #ffffff;
        left: 1px;
    }

    .switch-material input[type="checkbox"]:disabled ~ .check::before {
        display: none;
    }

.listview .node .checkbox,
.listview .node .radio,
.listview .node .switch {
    height: auto;
}

.treeview li .switch,
.treeview li .switch .check,
.treeview li .switch .caption {
    line-height: 1;
}

.treeview li .checkbox,
.treeview li .radio,
.treeview li .switch {
    height: 24px;
}

.config-menu {
    width: 104px;
}

.tools-menu {
    width: 376px;
}

.rf-menu {
    width: 172px;
}

.zoom-menu {
    width: 138px;
}

.report-menu {
    width: 70px;
}

.layout-menu {
    width: 106px;
}

/*
    Media Queries for Viewer
*/
@media screen and (max-width: 2560px) {
    #thumbnails-div {
        margin-top: 100px; /* 45px; */
    }

    .viewer-menu.t-menu.compact li a {
        width: 45px;
        height: 45px;
    }

    .viewer-menu.t-menu.compact li a .icon {
        font-size: 2rem;
        line-height: 45px;
    }

    .viewer-menu .toolbar-text {
        height: 45px;
        font-size: 1.2rem;
        padding-top: 8px;
    }

    .viewer-menu .toolbar-separator {
        height: 45px;
    }

    .series-number {
        font-size: 32px !important;
        bottom: 56px;
    }

    .series-number-images {
        font-size: 32px !important;
        bottom: 56px;
    }

    .series-description {
        font-size: 32px !important;
    }
}

@media screen and (max-width: 2400px) {
    #thumbnails-div {
        margin-top: 100px; /* 40px; */
    }

    .viewer-menu.t-menu.compact li a {
        width: 40px;
        height: 40px;
    }

    .viewer-menu.t-menu.compact li a .icon {
        font-size: 2rem;
        line-height: 40px;
    }

    .viewer-menu .toolbar-text {
        height: 40px;
        font-size: 1.2rem;
        padding-top: 8px;
    }

    .viewer-menu .toolbar-separator {
        height: 40px;
    }

    .series-number {
        font-size: 32px !important;
        bottom: 56px;
    }

    .series-number-images {
        font-size: 32px !important;
        bottom: 56px;
    }

    .series-description {
        font-size: 32px !important;
    }
}

@media screen and (max-width: 2262px) {
    #thumbnails-div {
        margin-top: 100px; /* 35px; */
    }

    .viewer-menu.t-menu.compact li a {
        width: 35px;
        height: 35px;
    }

    .viewer-menu.t-menu.compact li a .icon {
        font-size: 1.5rem;
        line-height: 35px;
    }

    .viewer-menu .toolbar-text {
        height: 35px;
        font-size: 1.2rem;
        padding-top: 4px;
    }

    .viewer-menu .toolbar-separator {
        height: 35px;
    }

    .series-number {
        font-size: 32px !important;
        bottom: 56px;
    }

    .series-number-images {
        font-size: 32px !important;
        bottom: 56px;
    }

    .series-description {
        font-size: 32px !important;
    }
}

@media screen and (max-width: 2130px) {
    #thumbnails-div {
        margin-top: 100px; /* 30px; */
    }

    .viewer-menu.t-menu.compact li a {
        width: 32px;
        height: 32px;
    }

    .viewer-menu.t-menu.compact li a .icon {
        font-size: 1.5rem;
        line-height: 30px;
    }

    .viewer-menu .toolbar-text {
        height: 32px;
        padding-top: 4px;
        font-size: 1.0rem;
    }

    .viewer-menu .toolbar-separator {
        height: 32px;
    }

    .viewer-menu .toolbar-text .lbl_series_name {
        width: 32px;
    }

    .viewer-menu .toolbar-text .lbl_series_description {
        width: 45px;
    }

    .viewer-menu .toolbar-text.total {
        width: 60px;
    }

    .viewer-menu .toolbar-text.zoom {
        width: 96px;
    }

    .series-number {
        font-size: 16px !important;
        bottom: 30px;
    }

    .series-number-images {
        font-size: 16px !important;
        bottom: 30px;
    }

    .series-description {
        font-size: 16px !important;
    }
}

@media screen and (max-width: 1874px) {
    #thumbnails-div {
        margin-top: 100px; /* 25px; */
    }

    .viewer-menu.t-menu.compact li a {
        width: 25px;
        height: 25px;
    }

        .viewer-menu.t-menu.compact li a .icon {
            font-size: 1.2rem;
            line-height: 25px;
        }

    .viewer-menu .toolbar-text {
        height: 25px;
        padding-top: 2px;
        font-size: 0.8rem;
    }

    .viewer-menu .toolbar-separator {
        height: 25px;
    }

    .viewer-menu .toolbar-text .lbl_series_name {
        width: 10px;
    }

    .viewer-menu .toolbar-text .lbl_series_description {
        width: 36px;
    }

    .viewer-menu .toolbar-text.total {
        width: 50px;
    }

    .viewer-menu .toolbar-text.zoom {
        width: 80px;
    }

    .series-number {
        font-size: 16px !important;
        bottom: 30px;
    }

    .series-number-images {
        font-size: 16px !important;
        bottom: 30px;
    }

    .series-description {
        font-size: 16px !important;
    }
}

@media screen and (max-width: 1580px) {
    #thumbnails-div {
        margin-top: 100px; /* 20px; */
    }

    .viewer-menu.t-menu.compact li a {
        width: 20px;
        height: 20px;
    }

    .viewer-menu.t-menu.compact li a .icon {
        font-size: 1.0rem;
        line-height: 20px;
    }

    .viewer-menu .toolbar-text {
        height: 20px;
        padding-top: 2px;
        font-size: 0.8rem;
    }

    .viewer-menu .toolbar-separator {
        height: 20px;
    }

    .viewer-menu .toolbar-text .lbl_series_name {
        width: 10px;
    }

    .viewer-menu .toolbar-text .lbl_series_description {
        width: 36px;
    }

    .viewer-menu .toolbar-text.total {
        width: 50px;
    }

    .viewer-menu .toolbar-text.zoom {
        width: 80px;
    }

    .series-number {
        font-size: 16px !important;
        bottom: 30px;
    }

    .series-number-images {
        font-size: 16px !important;
        bottom: 30px;
    }

    .series-description {
        font-size: 16px !important;
    }
}

/*
    Laptop size viewport
*/
@media screen and (max-width: 1528px) {
    .viewer-menu .toolbar .c-pointer:nth-child(1),
    .viewer-menu .toolbar .c-pointer:nth-child(2) {
        display: none;
    }
    #thumbnails-div {
        margin-top: 100px; /* 30px; */
    }

    .viewer-menu.t-menu.compact li a {
        width: 30px;
        height: 30px;
    }

        .viewer-menu.t-menu.compact li a .icon {
            font-size: 1.4rem;
            line-height: 30px;
        }

    .viewer-menu .toolbar-text {
        height: 30px;
        padding-top: 8px;
        font-size: 0.6rem;
    }

    .viewer-menu .toolbar-separator {
        height: 30px;
    }

    .viewer-menu .toolbar-text.total {
        width: 34px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .viewer-menu .toolbar-text.zoom {
        width: 64px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .series-number {
        font-size: 16px !important;
        bottom: 30px;
    }

    .series-number-images {
        font-size: 16px !important;
        bottom: 30px;
    }

    .series-description {
        font-size: 16px !important;
    }
}

.login-card {
    background-color: transparent !important;
    border: none;
    box-shadow: none;
    margin-bottom: 0px;
    padding-bottom: 0px;
    padding-top: 0px;
    margin-top: 0px;
    max-width: 416px;
}

    .choices__list {
        color: black;
    }

    .choices__inner {
        min-height: 54px !important;
    }

    .report-images-list {
        font-size: 12px;
    }

    .button-margin {
        margin: 2px;
    }

/*
    NavBar Media Queries (buttons, dropdowns, etc)
*/

@media screen and (min-width: 280px) and (max-width: 359px) {
    body {
        padding-top: 40px;
    }

    .navbar-header {
        height: 40px;
    }

    .logo,
    .nav-link,
    .db-ds,
    .db-ls,
    .conf-ds,
    .conf-ls,
    .noti-ds,
    .noti-ls,
    .user-ds,
    .user-ls {
        height: 30px;
    }

    .navbar-brand-logo {
        margin-left: 5px;
    }

    .dashboard-logo {
        margin-left: 0px;
    }

    .nav-link {
        line-height: 1;
        width: 80px;
        padding: 0.2rem 0.3rem;
    }

    .config-icon {
        right: 70px;
    }

    .noti-icon {
        right: 40px;
    }

        .dropdown-user .dropdown-toggle {
            height: 40px;
            padding: 12px 0px;
            line-height: 1.9;
        }

    .footer-copyright {
        font-size: 10px;
    }
}

@media screen and (min-width: 360px) and (max-width: 439px) {
    body {
        padding-top: 50px;
    }

    .navbar-header {
        height: 50px;
    }

    .logo,
    .nav-link,
    .db-ds,
    .db-ls,
    .conf-ds,
    .conf-ls,
    .noti-ds,
    .noti-ls,
    .user-ds,
    .user-ls {
        height: 40px;
    }

    .navbar-brand-logo {
        margin-left: 5px;
    }

    .dashboard-logo {
        margin-left: 0px;
    }

    .nav-link {
        line-height: 1.5;
        width: 80px;
        padding: 0.2rem 0.3rem;
    }

    .config-icon {
        right: 86px;
    }

    .noti-icon {
        right: 50px;
    }

    .dropdown-user .dropdown-toggle {
        height: 50px;
        padding: 12px 0px;
        line-height: 2.5;
    }

    .footer-copyright {
        font-size: 13px;
    }
}

@media screen and (min-width: 440px) and (max-width: 519px) {
    body {
        padding-top: 70px;
    }

    .navbar-header {
        height: 70px;
    }

    .logo,
    .nav-link,
    .db-ds,
    .db-ls,
    .conf-ds,
    .conf-ls,
    .noti-ds,
    .noti-ls,
    .user-ds,
    .user-ls {
        height: 60px;
    }

    .navbar-brand-logo {
        margin-left: 5px;
    }

    .dashboard-logo {
        margin-left: 0px;
    }

    .nav-link {
        line-height: 3;
        width: 80px;
        padding: 0.2rem 0.3rem;
    }

    .config-icon {
        right: 126px;
    }

    .noti-icon {
        right: 70px;
    }

        .dropdown-user .dropdown-toggle {
            height: 75px;
            padding: 12px 0px;
            line-height: 2.5;
        }
}

@media screen and (min-width: 520px) and (max-width: 700px) {
    body {
        padding-top: 75px;
    }

    .navbar-header {
        height: 75px;
    }

    .logo,
    .nav-link,
    .db-ds,
    .db-ls,
    .conf-ds,
    .conf-ls,
    .noti-ds,
    .noti-ls,
    .user-ds,
    .user-ls {
        height: 60px;
    }

    .navbar-brand-logo {
        margin-left: 5px;
    }

    .dashboard-logo {
        margin-left: 0px;
    }

    .nav-link {
        line-height: 3;
        width: 80px;
        padding: 0.2rem 0.3rem;
    }

    .config-icon {
        right: 126px;
    }

    .noti-icon {
        right: 70px;
    }

    .dropdown-user .dropdown-toggle {
        height: 75px;
        padding: 12px 0px;
        line-height: 2.5;
    }
}

/* --- Estudios Page / Index Styles */

@media (max-width: 480px) {
    /* Mobile: Up to 480px*/

    /* Patient Name Column */
    .mobile-w-PatientCol {
        width: 30% !important;
        min-width: 30% !important;
        max-width: 30% !important;
    }

    /* Modality and Date Columns */
    .mobile-w-ModalityDate {
        width: 15% !important;
        min-width: 15% !important;
        max-width: 15% !important;
        font-size: 0.68rem !important;
    }

    /* Icons Column*/
    .mobile-w-IconsCol {
        width: 55% !important;
        min-width: 55% !important;
        max-width: 55% !important;
    }
    
    .mobile-vertical-ModalityCol {
        display: none !important;
    }
    
    .mobile-hide-icons {
        display: none !important;
    }

    .logo-principal {
        width: 50px;
        height: 50px;
        margin-bottom: 0.4rem;
    }

    .menu-colapsado-movil {
        padding: 0.4rem;
    }
}


@media (min-width: 481px) and (max-width: 767px) {
    /* Extra small devices: 481px to 767px */

    /* Modality and Date Columns */
    .mobile-w-ModalityDate {
        width: 15% !important;
        min-width: 15% !important;
        max-width: 15% !important;
    }

    /* Patient Name Column */
    .mobile-w-PatientCol {
        width: 50% !important;
        min-width: 50% !important;
        max-width: 50% !important;
    }

    /* Icons Column*/
    .mobile-w-IconsCol {
        width: 35% !important;
        min-width: 35% !important;
        max-width: 35% !important;
    }

    .btn-search-custom span,
    .btn-clear-custom span {
        width: 40px !important;
        height: 30px !important;
    }

    .mobile-hide-icons {
        display: none !important;
    }

    .logo-principal {
        width: 50px;
        height: 50px;
        margin-bottom: 0.4rem;
    }

    .menu-colapsado-movil {
        padding: 0.4rem;
    }
}


@media (min-width: 768px) and (max-width: 991px) {
    /* Small tablets: 768px to 991px */
    
    /* Modality and Date Columns */
    .mobile-w-ModalityDate {
        width: 15% !important;
        min-width: 15% !important;
        max-width: 15% !important;
    }
    
    /* Patient Name Column */
    .mobile-w-PatientCol {
        width: 55% !important;
        min-width: 55% !important;
        max-width: 55% !important;
    }
    
    /* Icons Column*/
    .mobile-w-IconsCol {
        width: 30% !important;
        min-width: 30% !important;
        max-width: 30% !important;
    }

    .btn-search-custom span,
    .btn-clear-custom span {
        width: 40px !important;
        height: 30px !important;
    }

    .mobile-hide-icons {
        display: none !important;
    }
    
    .logo-principal {
        width: 50px;
        height: 50px;
        margin-bottom: 0.4rem;
    }

    .menu-colapsado-movil {
        padding: 0.4rem;
    }
}

/* Menu Burger Colapsable Movil */
.menu-colapsado-movil {
    background-color: rgba(0, 0, 0, 0.95); /* Fondo negro semitransparente */
}

/* Para que NO aparezca en pantallas grandes, puedes hacer un media query inverso, si hiciera falta */
@media (min-width: 992px) {
    .menu-colapsado-movil {
        background: transparent !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    /* Large tablets/laptops: 992px to 1199px */
    
}

