html {
  position: relative;
  min-height: 100%;
}
section.content > .main-container,
section.content > .tab-content > .main-container {
  margin: 0 15px;
  min-height: 60vh;
}
.content-wrapper {
  min-height: calc(100vh); /*calc(100vh - 59px);   */
}
.left {
  float: left;
}
.right {
  float: right;
}
.alert {
  margin: 10px 0 0 0;
}
.progressbar {
  position: relative;
  left: -50%;
  width: 200px;
  background-color: #777777;
  border: solid 1px #aac2d5;
  margin-top: 10px;
  border-radius: 4px;
  border-radius: 4px;
  text-align: center;
}
.bar {
  border-radius: 4px;
  border-radius: 4px;
  width: 1%;
  height: 19px;
  background-color: #236192;
  text-align: center;
}
.percent {
  position: absolute;
  left: 85px;
  font-size: 14px;
  color: white;
}
.page-title {
  margin-top: 0;
}
.panel-atlas {
  text-align: center;
}
.panel-atlas .pagination {
  margin: auto;
}
.dropdown-center li {
  text-align: center;
}
/**/
.container-header .navbar-brand {
  height: 55px;
}
.container-header .logo {
  width: 96px;
  height: 50px;
}
.login-box .poweredby {
  width: 220px;
}
.login-box-footer {
  text-align: center;
  margin-top: 10px;
}
.vertical-center {
  min-height: 100%; /* Fallback for browsers do NOT support vh unit */
  min-height: 100vh; /* These two lines are counted as one :-)       */

  display: flex;
  align-items: center;
}

/**/
/* .footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  / * Set the fixed height of the footer here * /
  height: 40px;
  background-color: #222;  
}
.footer .container-fluid{
    text-align: center;
    padding-top: 10px;
}
.footer .text-muted{    
    color:#9d9d9d;
} */
.dropdown-menu-center {
  left: 50%;
  right: auto;
  text-align: center;
  transform: translate(-50%, 0);
}
.viewer .range {
  width: 80px;
  margin: 0 10px;
}
.center-img {
  display: flex;
  justify-content: center;
  align-items: center;
}
.border-rounded {
  border-radius: 20px;
  /* padding: 1.5%; */
}
.border-rounded-left {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
.border-rounded-right {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}
.btn.border-rounded {
  border-radius: 16px;
}
label.border-rounded {
  padding: 0.5em;
}
.text-size-16 {
  font-size: 16px;
}
.estudios-fmt {
  text-align: center;
}
.estudios-fmt-text {
  font-weight: bold;
  color: #236192;
}
.text-primary {
  color: #236192;
}
.skin-atlas .content .encabezado-paciente,
.encabezado-paciente {
  background-color: #3a6dbc;
  font-weight: bold;
  color: white;
  text-align: center;
}
.skin-atlas .btn-primary {
  background-color: #3a6dbc;
  font-weight: bold;
  color: white;
  text-align: center;
  cursor: pointer;
}
.skin-atlas .btn-primary:hover {
  background-color: #054b86;
  box-shadow: 3px 3px 5px gray;
}
.main-header .bg-atlas-new {
  background-color: #054b86 !important;
  color: white !important;
  text-align: center !important;
  min-height: 70px;
}
.skin-blue .main-header .logo {
  background-color: #054b86 !important;
}
.skin-blue .main-header .navbar .sidebar-toggle {
  margin-top: 15px;
}
.skin-blue .main-header .navbar .sidebar-toggle:hover {
  background-color: #3a6dbc;
}
.skin-white-atlas {
  background: #fff url(../../atlas/images/atlas-blue-md.png) bottom right
    no-repeat;
}
.label-on-top {
  z-index: 10;
}
.col-md-back {
  margin-left: -30px;
}
.col-md-back > .input-back {
  padding-left: 20px !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}
.col-datetime {
  width: 140px;
  white-space: nowrap;
  text-align: center;
}
.btn-color-white {
  color: white !important;
}
.ml-1 {
  margin-left: 1.5rem;
}
.ml-2 {
  margin-left: 3rem;
}
.ml-3 {
  margin-left: 4.5rem;
}
.panel-heading {
  cursor: pointer;
}
.panel-heading.encabezado-paciente.collapsed {
  border-radius: 20px;
}
.panel-heading.encabezado-paciente {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.panel-row-atlas {
  min-height: 200px;
  background: transparent url(../images/atlas-white-sm.png) bottom right
    no-repeat;
  background-position: right 20px bottom;
  /* margin-right: 5px; */
  position: relative;
}
.study-header {
  margin: 5px 0 2px 0;
}
.panel-row-atlas .vertical-bottom {
  /* position: absolute; */
  bottom: 0;
  /* right: 80px; */
}
.study-view {
  display: flex;
  justify-content: end;
}
.study-view .item {
  background-color: white;
  width: 140px;
  /* float: right; */
}
.study-view .item:last-child {
  margin-right: 0;
}
.icon-atlas-viewer {
  width: 45px;
  height: 54px;
}
.skin-blue .main-header li.user-header,
.navbar-toolbar .nav > .dropdown > .dropdown-menu {
  background-color: #054b86 !important;
}
section.content > .container-fluid,
section.content > .tab-content > .container-fluid {
  padding-top: 15px;
  padding-bottom: 15px;
}
#main-logo-atlas {
  display: block;
  /* width: 180px; */
  height: 70px;
  background: transparent url("../images/atlas-logo-blanco.png") no-repeat
    center center;
  background-size: 180px 70px;
}
/* #backend #main-logo-atlas{
    width: 230px;
} */
.backend.sidebar-collapse #main-logo-atlas {
  width: 50px;
  background: transparent url("../images/atlas-white.png") no-repeat center
    center;
  background-size: 23px 50px;
}
/**
Visor
**/
.container-white {
  background-color: white;
}
.container-black {
  background-color: black;
}
.skin-atlas .viewportWrapper {
  border: 3px solid #3a6dbc;
}
a.list-group-item.active,
a.list-group-item.active:hover,
a.list-group-item.active:focus {
  background-color: #054b86;
  border: 2px solid #3a6dbc;
}
a.list-group-item {
  background-color: #29373d;
  padding: 2px;
  border: 2px solid #3a6dbc;
}
a.list-group-item,
button.list-group-item {
  color: white;
}
.viewportWrapper .overlay div,
.viewportWrapper .overlay span {
  color: white;
}
.thumbnailSelector {
  /* width: 121px; */
  width: 100%;
  overflow: scroll;
}
.no-gutters [class^="col-"],
.no-gutters {
  padding-left: 0;
  padding-right: 0;
}
.text-box-info {
  border: black;
  color: blue;
}
.form-inline {
  display: inline;
}
.col-i {
  width: 40px;
}
td.col-i {
  text-align: right;
}
.col-1icon {
  width: 60px;
}
.col-2icon {
  width: 110px;
}
.col-3icon {
  width: 155px;
}
.col-4icon {
  width: 200px;
}
.col-5icon {
  width: 240px;
}
.col-6icon {
  width: 280px;
}
.pr-1 {
  padding-right: 15px;
}
.pdata {
  padding-top: 7px;
}
.firma {
  height: 200px;
}
.firmamin {
  height: 100px;
  border: 1px solid #ccc;
  vertical-align: top;
}
.loadergif {
  height: 80px;
  width: 100%;
  background: transparent url(../images/loaders/gears.gif) center bottom
    no-repeat;
}
.btn-app.btn-toolbar {
  background: none;
  margin: 0 0 0px 0;
  border-bottom-left-radius: 0%;
  border-bottom-right-radius: 0%;
}
.dropdown-menu > li > a {
  color: white;
}
.cornerstone .sidebar-toggle,
.cornerstone .main-sidebar {
  display: none;
}
.cornerstone .col-thumbs {
  padding-left: 0;
  padding-right: 0;
}
.cornerstone .col-viewer {
  padding-left: 0;
  padding-right: 0;
}
/** Cornerstone Viewer**/
.cornerstone .main-container {
  /*Header: 70px + 30px padding gutters*/
  height: calc(100vh - 100px);
}
.viewer {
  /*Header: 70px + 30px padding gutters + 30px padding gutters*/
  height: calc(100vh - 130px); /*calc(100vh - 130px);*/
}
.thumbnailSelector {
  /*Header: 70px + 30px padding gutters + 30px padding gutters*/
  height: calc(100vh - 180px); /*calc(100vh - 130px);*/
}
.viewer {
  width: 100%;
}
.viewportWrapper .overlay.patient-info,
.viewportWrapper .overlay.top-left {
  top: 10px;
  left: 10px;
}
.viewportWrapper .overlay.study-info,
.viewportWrapper .overlay.top-right {
  top: 10px;
  right: 10px;
}
.viewportWrapper .overlay.bottom-left {
  bottom: 10px;
  left: 10px;
}
.viewportWrapper .overlay.bottom-right {
  bottom: 10px;
  right: 10px;
}
.viewportWrapper .overlay.left {
  top: 55%;
  left: 10px;
}
.viewportWrapper .overlay.right {
  top: 55%;
  right: 10px;
}
/*scrollbar test*/
/* width */
.cornerstone ::-webkit-scrollbar {
  width: 5px;
  height: 3px;
}

/* Track */
.cornerstone ::-webkit-scrollbar-track {
  background: #3a6dbc;
}

/* Handle */
.cornerstone ::-webkit-scrollbar-thumb {
  background: #f1f1f1;
}

/* Handle on hover */
.cornerstone ::-webkit-scrollbar-thumb:hover {
  background: #f1f1f1;
}
#deletedModal {
  color: white;
}
.table thead a {
  color: #333;
}
.table thead a:hover {
  color: #3c8dbc;
}
.table .programmed td {
  font-style: italic;
}
/**
** sync modal
**/
.fixed-bottom-right {
  position: fixed;
  bottom: 0px;
  right: 0px;
}
.sync-container {
  position: relative;
  padding: 10px 20px;
  background-color: #222d32 !important;
}
.sync-container h5 {
  margin: 5px 30px 5px 10px;
}
.sync-container img {
  margin-right: 5px;
}
.text-white {
  color: white;
}
/* .sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .right-side, .sidebar-mini.sidebar-collapse .main-footer{
    margin-left: 0!important;
} */
.modal {
  color: #fff;
}
.modal .modal-header .close {
  color: #fff;
  opacity: 0.9;
}
.modal.modal-form {
  color: #333;
}
.col-btn-messagge {
  margin-top: 170px;
}
.table-responsive .label-responsive {
  display: none;
  margin-right: 5px;
}
.navbar-custom-menu > .navbar-nav > li.refresh {
  display: none;
}
.thumbnailButtonsX {
  display: block;
}
.thumbnailButtonsY {
  display: none;
}
.scroll-thumb-up {
  width: 100%;
  height: 25px;
}
.scroll-thumb-down {
  width: 100%;
  height: 25px;
}
@media (max-width: 767px) and (orientation: portrait) {
  .navbar-custom-menu > .navbar-nav > li.refresh {
    display: inline;
  }
  .thumbnailButtonsX {
    display: none;
  }
  .thumbnailButtonsY {
    display: inline;
  }
  .scroll-thumb-left {
    float: left;
    width: 25px;
    height: 125px;
  }
  .scroll-thumb-right {
    float: right;
    width: 25px;
    height: 125px;
  }
  .cornerstone ::-webkit-scrollbar {
    height: 10px;
  }
  .cornerstone section.content,
  .cornerstone section.content > .container-fluid {
    padding: 0;
    margin: 0;
  }
  .cornerstone .col-thumbs,
  .cornerstone .col-viewer {
    padding-left: 10px;
    padding-right: 10px;
  }
  .cornerstone .col-thumbs {
    padding-top: 10px;
  }
  .cornerstone .border-rounded {
    border-radius: 0px;
  }
  .cornerstone .main-container {
    /*Header: 120px */
    height: calc(100vh - 54px); /*calc(100vh - 120px);*/
  }
  .cornerstone .col-thumbs {
    height: 135px;
  }
  .thumbnailSelector {
    height: 125px;
    width: calc(100% - 54px);
    overflow-x: scroll;
  }
  .thumbnailSelector a.list-group-item {
    float: left;
  }
  .thumbnailSelector a.list-group-item .csthumbnail {
    height: 90px;
  }
  .viewer {
    /*Header: 120px 
          SerieList: 135px
          10px padding gutters
          2px border
        */
    height: calc(100vh - 267px);
  }
  .navbar-toolbar .btn-app.btn-app.btn-toolbar {
    border-radius: 0%;
    margin: 0;
    height: auto;
    border: none;
    min-width: auto;
  }
  .navbar-toolbar .nav > li > a {
    padding-left: 10px;
    padding-right: 10px;
  }
  .navbar-toolbar .btn-app.btn-app.btn-toolbar > span {
    display: none;
  }
  .table-responsive > .table > thead > tr > th {
    display: none;
  }
  .table-responsive > .table > tbody > tr > th,
  .table-responsive > .table > tfoot > tr > th,
  .table-responsive > .table > thead > tr > td,
  .table-responsive > .table > tbody > tr > td,
  .table-responsive > .table > tfoot > tr > td {
    display: flex;
  }
  .table-responsive .label-responsive {
    display: inline;
  }
}
@media (min-width: 768px) and (orientation: portrait) {
  /* #backend #main-logo-atlas{
        width: 100%;
    } */
  .navbar-custom-menu > .navbar-nav > li.refresh {
    display: inline;
  }
  .thumbnailSelector {
    overflow-x: scroll;
  }
  .thumbnailButtonsX {
    display: none;
  }
  .thumbnailButtonsY {
    display: inline;
  }
  .scroll-thumb-left {
    float: left;
    width: 25px;
    height: 125px;
  }
  .scroll-thumb-right {
    float: right;
    width: 25px;
    height: 125px;
  }
  .container-fluid.container-header {
    height: 70px;
  }
  .container-header .navbar-brand {
    height: 73px;
  }
  .container-header .logo {
    width: 140px;
    height: 73px;
  }
  .navbar-collapse {
    padding-left: 0;
    padding-right: 0;
  }
  .navbar-form {
    padding-left: 0;
  }
  .navbar-form .input-group > .form-control.bigtext {
    width: 400px;
  }
  .navbar-form .form-control.mediumbutton {
    width: 200px;
  }
}
@media (max-width: 991px) and (orientation: portrait) {
  .navbar-custom-menu > .navbar-nav > li.refresh {
    display: inline;
  }
  .thumbnailSelector {
    overflow-x: scroll;
  }
  .thumbnailButtonsX {
    display: none;
  }
  .thumbnailButtonsY {
    display: inline;
  }
  .scroll-thumb-left {
    float: left;
    width: 25px;
    height: 125px;
  }
  .scroll-thumb-right {
    float: right;
    width: 25px;
    height: 125px;
  }
  #backend #main-logo-atlas {
    /* width: 100%; */
    float: left;
    height: 50px;
    width: 45px;
    background: transparent url(../images/atlas-white-xs.png) no-repeat center
      center;
  }
  .username {
    display: none;
  }
  .col-md-back {
    margin-left: 0;
  }
  .col-md-back > .input-back {
    padding-left: 0 !important;
    border-top-left-radius: 30px !important;
    border-bottom-left-radius: 30px !important;
  }
  .label-on-top {
    margin-left: 15px;
    margin-right: 15px;
  }

  .panel-row-atlas {
    margin-right: 0;
    background-size: 50px;
  }
  .panel-row-atlas .vertical-bottom {
    position: static;
  }
  .viewer {
    /* height: calc(100vh - 195px); */
    height: calc(100vh - 225px);
  }
  .study-view .item {
    /* float: none; */
    margin: 10px auto;
  }
  .skin-blue .main-header .navbar .sidebar-toggle {
    margin-top: 0;
  }
  .main-header .bg-atlas-new,
  .skin-atlas .main-header .logo {
    min-height: auto;
  }
  .main-header > .navbar {
    -webkit-transition: margin-left 0.3s ease-in-out;
    -o-transition: margin-left 0.3s ease-in-out;
    transition: margin-left 0.3s ease-in-out;
    margin-bottom: 0;
    margin-left: 45px;
    border: none;
    min-height: 50px;
    border-radius: 0;
    width: inherit;
  }

  .fixed .content-wrapper,
  .fixed .right-side {
    padding-top: 50px;
  }

  .studyRow .toolbar {
    display: none;
  }

  /* .studyRow .thumbnailSelector{
        display: none;
    } */
  /* .viewportWrapper .overlay{
        display: none;
    } */
  .viewportWrapper .overlay.study-info,
  .viewportWrapper .overlay.top-right {
    top: 10px;
    left: 10px;
  }
  .viewportWrapper .overlay.top-left {
    top: 30px;
  }

  .col-btn-messagge {
    margin-top: 0px;
  }

  /* #main-logo-atlas {
        width: 125px;
        height: 50px;
        background: transparent url(../images/atlas-logo-blanco.png) no-repeat center center;
        background-size: 125px 50px;
    }     */

  /* .thumbnails {
        margin: 0px;
        margin-top: 10px;
        margin-bottom: 0px;
        overflow-x: scroll;
        overflow-y: hidden;
    }
    .thumbnailSelector{
        width: 100%;
        height: 105px;
    } */
  .thumbnailSelector {
    width: calc(100% - 54px);
  }
}
/*antes 767*/
@media (max-width: 991px) and (orientation: landscape) {
  .navbar-custom-menu > .navbar-nav > li.refresh {
    display: inline;
  }
  .thumbnailButtonsX {
    display: block;
  }
  .cornerstone ::-webkit-scrollbar {
    width: 10px;
  }
  .cornerstone .main-container {
    height: calc(100vh - 50px);
  }
  .fixed .content-wrapper,
  .fixed .right-side {
    padding-top: 50px;
  }
  .cornerstone section.content,
  .cornerstone section.content > .container-fluid {
    padding: 0;
    margin: 0;
  }
  .cornerstone .border-rounded {
    border-radius: 0px;
  }
  .cornerstone .col-thumbs {
    padding-left: 10px;
  }
  .cornerstone .col-viewer {
    padding-right: 10px;
  }
  .cornerstone .col-thumbs,
  .cornerstone .col-viewer {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  body.layout1x2 .overlay.top-left,
  body.layout2x2 .overlay.top-left {
    top: 30px;
  }
  .navbar-custom-menu.navbar-toolbar {
    /* margin-top: 20px; */
  }
  .navbar-toolbar .btn-app.btn-app.btn-toolbar {
    border-radius: 0%;
    margin: 0;
    height: auto;
    border: none;
    min-width: auto;
  }
  .navbar-toolbar .nav > li > a {
    padding-left: 12px;
    padding-right: 12px;
  }
  .navbar-toolbar .btn-app.btn-app.btn-toolbar > span {
    display: none;
  }

  .main-header .navbar {
    -webkit-transition: margin-left 0.3s ease-in-out;
    -o-transition: margin-left 0.3s ease-in-out;
    transition: margin-left 0.3s ease-in-out;
    margin-bottom: 0;
    margin-left: 55px;
    border: none;
    min-height: 50px;
    border-radius: 0;
    width: inherit;
  }
  #main-logo-atlas {
    float: left;
    height: 50px;
    width: 55px;
    background: transparent url(../images/atlas-white-xs.png) no-repeat center
      center;
  }
  .main-header {
    max-height: 70px;
  }
  .username {
    display: none;
  }
  .col-xs-12.col-thumbs {
    width: 16.66666667%;
  }
  .col-xs-12.col-viewer {
    width: 83.33333333%;
  }

  /* .cornerstone section.content, .cornerstone section.content > .container-fluid {
        padding: 0;
        margin: 0;
    }
    .cornerstone .col-thumbs,.cornerstone .col-viewer{
        padding-left: 10px;
        padding-right: 10px;
    }
    .cornerstone .col-thumbs{
        padding-top: 10px;
    }
    .cornerstone .border-rounded {
        border-radius: 0px;
    }
    .cornerstone .main-container{
        / *Header: 120px * /
        height: calc(100vh - 120px);
    } */
  .col-btn-messagge {
    margin-top: 0px;
  }
}
.m-0 {
  margin: 0px !important;
}
.mt-0 {
  margin-top: 0px !important;
}
.p-0 {
  padding: 0px !important;
}
.input-atlas {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  width: 100%;
}
/*div label*/
.input-atlas-prepend {
  margin-right: -1px;
}
.input-atlas-append,
.input-atlas-prepend {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
/*label*/
.input-atlas
  > .input-atlas-append:last-child
  > .btn:not(:last-child):not(.dropdown-toggle),
.input-atlas
  > .input-atlas-append:last-child
  > .input-atlas-text:not(:last-child),
.input-atlas > .input-atlas-append:not(:last-child) > .btn,
.input-atlas > .input-atlas-append:not(:last-child) > .input-atlas-text,
.input-atlas > .input-atlas-prepend > .btn,
.input-atlas > .input-atlas-prepend > .input-atlas-text {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input-atlas-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* padding: 0.375rem 0.75rem; */
  margin-bottom: 0;
  /* font-size: 1rem; */
  font-weight: 400;
  /* line-height: 1.5; */
  /* color: #495057; */
  text-align: center;
  white-space: nowrap;
  /* background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem; */
}
.input-atlas-text label.control-label {
  padding: 0.5em 2em;
  margin: 0;
}
/*input*/
.input-atlas > .custom-select:not(:first-child),
.input-atlas > .form-control:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.input-atlas > .custom-file,
.input-atlas > .custom-select,
.input-atlas > .form-control {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  width: 1%;
  margin-bottom: 0;
}
/* .input-atlas .form-control{
    margin-left: -15px;
    padding-left: 20px;
} */
.input-atlas .input-atlas-prepend + .form-control {
  margin-left: -15px;
  padding-left: 20px;
}
.input-atlas .form-control + .input-atlas-append {
  margin-left: -25px;
  z-index: 10;
}
.no-btn {
  border: none;
  background: none;
}
.orthanctech {
  position: relative;
  top: 8px;
  color: #054b86;
}
.ck-editor__editable_inline:not(.ck-comment__input *) {
  height: 300px;
  overflow-y: auto;
}
@media (max-width: 768px) {
  /* Cambia 768px al tamaño que desees para móviles */
  .study-view {
    flex-direction: column; /* Cambia la dirección del flex a columna en móviles */
    align-items: flex-start; /* Alinea los elementos al inicio (izquierda) */
  }
  .study-view .item:last-child {
    margin: 10px auto;
  }

  .mailbox-attachments {
    width: 100%; /* Asegura que ocupe el 100% del contenedor */
  }
}
