*{
    /* color: #333; */
    font-size: 15px;
}


a{
    text-decoration: none;
}

.float-right{
    float: right;
}

a:hover{
    text-decoration: underline;
}

.login-background{
    background: -webkit-linear-gradient(135deg, rgba(0, 87, 109, 0.88) 0%, #187188 100%);
    height: 100vh;
}

#contenido{
    background-color: #f2f2f26b;
}

.header-container {
    max-width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: nowrap;
    align-items: center;
    align-content: flex-start;
    background: #00576d;
    padding: 0 0.4rem;
}

.itsosris-logo {
    max-width: 100%;
    width: 33.33%;
    text-align: left;
    padding: 5px;
}

.user-logo {
    max-width: 100%;
    width: 33.33%;
    text-align: center;
    padding: 5px;
}

.user-data {
    max-width: 100%;
    width: 33.33%;
    padding: 5px;
    text-align: right;
    color: white;
}

.container-patient {
    width: 60%;
    margin: auto;
    position: relative;
    top: 11rem;
    -webkit-box-shadow: 0px 2px 15px 0px rgba(204,204,204,1);
    -moz-box-shadow: 0px 2px 15px 0px rgba(204,204,204,1);
    box-shadow: 0px 2px 15px 0px rgba(204,204,204,1);
}

.container-patient h1{
    font-size: 2em;
    font-weight: bolder;
}

.d-flex{
    display: flex;
}

.d-none{
	display: none;
}

.col-5{
	float: left;
	width: 5%;
	margin-top: 6px;
}

.col-10{
	float: left;
	width: 10%;
	margin-top: 6px;
}

.col-15{
	float: left;
	width: 15%;
	margin-top: 6px;
}

.col-20{
	float: left;
	width: 20%;
	margin-top: 6px;
}

.col-30{
	float: left;
	width: 30%;
	margin-top: 6px;
}

.col-35{
	float: left;
	width: 35%;
	margin-top: 6px;
}

.col-33{
	float: left;
	width: 33.33%;
	margin-top: 6px;
}

.col-25{
	float: left;
	width: 25%;
	margin-top: 6px;
}


.col-70 {
	float: left;
	width: 70%;
	margin-top: 6px;
}

.col-75 {
	float: left;
	width: 75%;
	margin-top: 6px;
}

.col-60 {
	float: left;
	width: 60%;
	margin-top: 6px;
}

.col-65 {
	float: left;
	width: 65%;
	margin-top: 6px;
}

.col-80 {
	float: left;
	width: 80%;
	margin-top: 6px;
}

.col-85 {
	float: left;
	width: 85%;
	margin-top: 6px;
}

.col-90 {
	float: left;
	width: 90%;
	margin-top: 6px;
}

.col-95 {
	float: left;
	width: 95%;
	margin-top: 6px;
}

.col-40{
	float: left;
	width: 40%;
	margin-top: 6px;
}


.col-42{
	float: left;
	width: 42%;
	margin-top: 6px;
}

.col-45{
	float: left;
	width: 45%;
	margin-top: 6px;
}

.col-30{
	float: left;
	width: 30%;
	margin-top: 6px;
}

.col-50{
	float: left;
	width: 50%;
	margin-top: 6px;
}

.col-55{
	float: left;
	width: 55%;
	margin-top: 6px;
}

.col{
	float: left;
	width: 100%;
	margin-top: 6px;
}

/* LIMPIEZA DE ELEMENTOS FLOTANTES */

.row:after {
	content: "";
	display: table;
	clear: both;
}


.align-items-center{
    align-items: center;
}

.m-0{
    margin: 0;
}

.mb-0{
    margin-bottom: 0;
}

.mt-0{
    margin-top: 0;
}

.mb-1{
    margin-bottom: 1rem;
}

.mr-1 {
    margin-right: 1rem;
}

.my-1{
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.d-inline{
    display: inline;
}

.bg-info{
	background-color: #128091;
}

.bg-white{
    background-color: #FFFFFF;
}

.bg-primary{
    background-color: #00576d;
}

.bg-warning{
    background-color: #ffc107;
}

.bg-danger{
	background-color: #ff2c46;
}

.bg-success{
	background-color: #91ca91;
}

.text-danger{
    color: #ff2c46;
}

.text-success{
	color: #080;
}

.text-primary{
    color: #00576d;
}

.text-white{
	color: white !important;
}

.text-success{
	color: #080;
}

.alert-danger{
	font-size: 13pt;
	color: #ff2c46;
}

.text-info{
	color: #128091;
}

.text-gray{
	color: #333;
}

.text-blue{
	color: blue;
}

/* .tooltip{
    display: inline-block;
    border-radius: 50%;
    padding: 2px 6px;
	position: relative;
	border: 1px solid #a9a9a9;
} */

.font-weight-bold{
	font-weight: bold;
}

.font-weight-ligther{
	font-weight: lighter;
}

a.text-primary:hover{
    color: #00405a;
}

.py-4{
    padding-top: 4rem;
    padding-bottom: 4rem;;
}

.py-1{
    padding-bottom: 1rem;;
}

.p-5{
    padding: 5rem;
}

.px-0{
    padding-left: 0;
    padding-right: 0;
}

.mt-1{
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 2rem;
}

.btn-primary{
    background-color: #00576d;
    border-color: #00405a;
}

.btn-primary:hover{
    background-color: #00405a;
}

.d-inline-block{
    display: inline-block;
}

.usuario{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: baseline;
}

@media (min-width: 768px) {
    .navbar-right .dropdown-menu {
      right: 0;
      left: auto;
    }
    .navbar-right .dropdown-menu-left {
      left: 0;
      right: auto;
    }
  }

  @media (min-width: 768px) {
    .navbar-left {
      float: left !important;
    }
  
    .navbar-right {
      float: right !important;
      margin-right: -15px;
    }
    .navbar-right ~ .navbar-right {
      margin-right: 0;
    }
  }

.navbar-default {
    background-color: #f8f8f8;
    border-color: #e7e7e7;
}

.navbar-default .navbar-brand {
    color: #00576d;
  }
  .navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
    color: #002e3a;
    background-color: transparent;
  }
  .navbar-default .navbar-text {
    color: #777;
  }
  .navbar-default .navbar-nav > li > a {
    color: #00576d;
  }
  .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    color: #003d4c;
    background-color: transparent;
    font-weight: 500;
  }
  .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #555;
    background-color: #989898;
  }
  .navbar-default .navbar-nav > .disabled > a, .navbar-default .navbar-nav > .disabled > a:hover, .navbar-default .navbar-nav > .disabled > a:focus {
    color: #ccc;
    background-color: transparent;
  }
  .navbar-default .navbar-toggle {
    border-color: #ddd;
  }
  .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #ddd;
  }
  .navbar-default .navbar-toggle .icon-bar {
    background-color: #888;
  }
  .navbar-default .navbar-collapse,
  .navbar-default .navbar-form {
    border-color: #e7e7e7;
  }
  .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
    background-color: #989898;
    color: #555;
  }
  @media (max-width: 767px) {
    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
      color: #00576d;
    }
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
      color: #003d4c;
      background-color: transparent;
    }
    .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
      color: #555;
      background-color: #989898;
    }
    .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
      color: #ccc;
      background-color: transparent;
    }
  }
  .navbar-default .navbar-link {
    color: #00576d;
  }
  .navbar-default .navbar-link:hover {
    color: #003d4c;
  }
  .navbar-default .btn-link {
    color: #00576d;
  }
  .navbar-default .btn-link:hover, .navbar-default .btn-link:focus {
    color: #003d4c;
  }
  .navbar-default .btn-link[disabled]:hover, .navbar-default .btn-link[disabled]:focus, fieldset[disabled] .navbar-default .btn-link:hover, fieldset[disabled] .navbar-default .btn-link:focus {
    color: #ccc;
  }

/* Menú principal */
nav#menu-navegacion {
    background-color: #eff0f3;
    border-color: #eff0f3;
    border-left: #dbe2ea;
    border-right: #dbe2ea;
    border-bottom: #dbe2ea;
    box-shadow: 0px 25px 15px -10px rgba(0, 0, 0, 0.35);
  }
  nav#menu-navegacion .navbar-collapse {
    border-color: #eff0f3;
  }
  nav#menu-navegacion .navbar-header button.navbar-toggle {
    border-color: #eff0f3;
    background-color: #eff0f3;
    box-shadow: 3px 3px 6px #c2c2c2, -3px -3px 6px white;
  }
  nav#menu-navegacion .dropdown-menu {
    min-width: 600px;
    padding-top: 0;
    background-color: #eff0f3;
    border: 1px solid #eff0f3;
    border-radius: 4px;
    box-shadow: 3px 3px 6px #c2c2c2, -3px -3px 6px white;
  }
  nav#menu-navegacion .dropdown-menu > ul li a {
    transition: 0.2s;
  }
  nav#menu-navegacion .dropdown-menu > li > a {
    padding-top: 7px;
    padding-bottom: 7px;
  }
  nav#menu-navegacion .collapse ul li.active {
    background-color: #eff0f3;
    box-shadow: inset 2px 2px 5px #c2c2c2, inset -3px -3px 7px #fdfdfe;
  }
  nav#menu-navegacion .collapse ul li a {
    color: #00576d;
  }
  nav#menu-navegacion .collapse ul li a span.caret {
    color: #00576d;
  }
  nav#menu-navegacion .collapse ul li a:hover {
    background-color: #eff0f3;
    border-color: #eff0f3;
    box-shadow: inset 2px 2px 5px #c2c2c2, inset -3px -3px 7px #fdfdfe;
    color: #00576d;
  }
  nav#menu-navegacion .collapse ul li a:focus {
    background-color: #eff0f3;
  }
  nav#menu-navegacion .nav .open > a {
    background-color: #eff0f3;
    box-shadow: inset 2px 2px 5px #c2c2c2, inset -3px -3px 7px #fdfdfe;
  }
  
  nav#menu-usuario .dropdown-menu {
    min-width: 380px;
  }
  
  .dropdown-list {
    padding: 0.2rem 0.5rem;
    list-style: none;
  }
  .dropdown-list li a {
    display: block;
    padding-left: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    color: #555555;
  }
  .dropdown-list li a:hover {
    border-radius: 4px;
    color: #000 !important;
  }
  .dropdown-list li a:focus {
    text-decoration: none;
  }
  
  /* Menú principal responsivo 
  @media (max-width: 767px){
      nav#menu-navegacion .nav-programs{
          display: block !important;
          flex-direction: unset;
          align-items: unset;
      }
  
      nav#menu-navegacion .navbar-collapse{
          padding-right: 15px;
          padding-left: 15px;
      }
  
      nav#menu-navegacion .dropdown-menu {
          min-width: 160px;
      }
  }
  */

li.nav-item a:hover{
    color: #FFFFFF !important;
    background-color: #00576d !important;
    border-color: #00576d;
}

/* RADIO BUTTONS CON ESTILO DE BOTONES SELECCIONABLES ;)  */

/* ESTILOS A LOS RADIO BUTTON DANDOLE APARIENCIA DE BOTONES */

.group-radio-button input[type="radio"]{
    /* Oculta los radios que vienen por defecto */
    opacity: 0;
    position: fixed;
    width: 0;
}

.group-radio-button label{
    font-weight: normal;
}

.group-radio-button label{
    /* Estilos a los label cuando no se seleccionan */
    display: inline-block;
    background-color: white;
    padding: .4em 1em;
    border: 1px solid #65778B;
    border-radius: 4px;
    cursor: pointer;
}

.group-radio-button input[type="radio"]:checked + label{
    /* Estilo cuando el radio es seleccionado */
    background-color: #00576d;
    border-color: #00576d;
    color: white;
}

/* .group-radio-button input[type="radio"]:focus + label{
    Estilos accesibles al hacer foco
    border: 1px dashed white;
} */

.group-radio-button label:hover{
    /* Efecto hover al pasar el mouse */
    background-color: #d5e3e6;
}

/*----------------------------------------------------------------------------*/

/* COMIENZO ESTILO TABLAS */

.table, .table-sm{
	border-collapse: collapse;
	background: white;
    width: 100%;
    margin-bottom: 0.5rem;
    color: #212529;
}

.table .thead-primary, .table-sm .thead-primary{
	background: #00576d;
	color: white;
}


.table thead th, .table-sm thead th, .table tfoot th, .table-sm tfoot th {
	vertical-align: middle;
	border-bottom: 2px solid #dee2e6;
    font-weight: bold;
    color: #FFF
}


.table tbody tr:nth-child(even), .table-sm tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

.table th[scope="row"], .table-sm th[scope="row"]  {
	font-weight: bold;
}

.table td, .table th , .table-sm td, .table-sm th {
	padding: .5rem;
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
	text-align: left;
}

.table-sm td, .table-sm th {
	padding: 0;
}

tr.marca_fila:hover{
		background-color: #d5e3e6 !important;
	}

caption {
	padding-top: .75rem;
    padding-bottom: .75rem;
    color: #6c757d;
    text-align: left;
    caption-side: top;
}




/* SPINNER PARA LAS DATA TABLES */

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-top-color: #333;
    animation: spinner .6s linear infinite;
}

@media screen and (max-width: 770px){
    .container-patient {
        width: 90%;
        top: 1rem;
    }
}

@media screen and (max-width: 1069px){
    .container-patient {
        width: 95%;
    }
}

.preloader {
    width: 250px;
    height: 150px;
    text-align: center;
}
.preloader .spinner_estudios_pacs {
    width: 50px;
    height: 50px;
    margin: auto;
    margin-bottom: 1rem;
    border: 10px solid #eee;
    border-radius: 50%;
    border-top: 10px solid #00576d;
    animation-name: girar;
    animation-duration: 0.3s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
@keyframes girar {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ESTILOS AL BUSCADOR DEL DATA TABLE*/ 

.dataTables_wrapper .dataTables_filter{
    float: none !important;
}

.dataTables_wrapper .dataTables_filter label{
    display: block;
}

.dataTables_filter input[type="search"]{ 
    width: 100% !important; 
    margin: 0.5rem 0 !important;
}

.dataTables_wrapper .dataTables_filter input[type="search"]{
    margin-left: 0 !important;
    height: 25px !important;
}

/* COMIENZO ESTILO VENTANAS MODALES */

.ui-widget-header {
	border: 1px solid #aaaaaa;
	background: #00576d;
	color: white;
	font-weight: normal;
}

/*  ESTILOS A LOS BOTONES DE LAS MODALES */


.btn-call-action{
	background: #00576d !important;
	color: white !important;
	border: none !important;
	border-radius: 4px !important;
	box-shadow: initial !important;
	padding: 2px !important;
	margin-left: 10px !important;
}

.btn-call-action:focus{
    outline: 2px solid #00576d !important;
    outline-offset: -1px !important;
    box-shadow: initial !important;
    transform: rotate(0deg) !important;
}

.btn-call-action:hover{
	background-color: #144259 !important;
}

.btn-call-secondary{
	background: white !important;
	color: #65778B !important;
	border: 1px solid #65778B !important; 
	border-radius: 4px !important;
	box-shadow: initial !important;
	padding: 2px !important;
	margin-left: 10px !important;
}

/* FIN ESTILO VENTANAS MODALES */

.d-none {
    display: none;
}

/*------------------ DRAG & DROP SUBIDA DE ARCHIVOS -------------------*/
.form-fileupload{
    /*height: 100px;*/
    border: 3px dashed #00576d;
    margin: 10px 0px;
    text-align: center;
}

.form-fileupload img{
    width: 45px;
    height: 45px;
    padding-top: 5px;
}

.form-fileupload p{
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 30px;
    color: #00576d;
    font-family: Arial;
}

.form-fileupload input{
    position: absolute;
    margin: 0;
    padding: 0;
    height: 100%;
    outline: none;
    opacity: 0;
    width: 48%;
    left: 50%;
    height: 26%;
}

/* .seleccion-tipo-archivo {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
} */

.seleccion-tipo-archivo .col-lg-6, .seleccion-tipo-archivo .col-md-6, .seleccion-tipo-archivo .col-sm-12 {
  display: flex;
  align-items: stretch;
  padding: 0;
  margin-bottom: 10px; /* Añade separación entre las tarjetas */
}

.card-tipo-archivo-adjuntos {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin: 10px;
  overflow: hidden;
  width: calc(100% - 20px); /* Ajusta el ancho para evitar que las tarjetas se desborden */
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.card-tipo-archivo-adjuntos:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-content-tipo-archivo-adjuntos {
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .seleccion-tipo-archivo .col-md-6, .seleccion-tipo-archivo .col-sm-12 {
      margin-bottom: 10px; /* Añade separación entre las tarjetas en vista móvil */
  }
}

.form-fileupload{
  height: 120px;
  border: 3px dashed #00576d;
  margin: 10px 0px;
  text-align: center;
}

.form-fileupload img{
  width: 45px;
  height: 45px;
  padding-top: 5px;
}

.form-fileupload p{
width: 100%;
height: 100%;
text-align: center;
line-height: 30px;
color: #00576d;
font-family: Arial;
}

.form-fileupload input{
position: absolute;
margin: 0;
padding: 0;
height: 100%;
outline: none;
opacity: 0;
width: 48%;
left: 50%;
height: 26%;
}

.widget-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.widget-style {
  position: relative;
  width: 100px;
  height: 100px;
  background: #00405A;
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.widget-icon img {
  width: 20px;
  height: auto;
  margin-bottom: 5px;
}

.widget-time {
  font-size: 16px;
  font-weight: bold;
}

.widget-date {
  font-size: 10px;
}

.progress-button {
  position: relative;
  overflow: hidden;
  padding-right: 40px;
  transition: all 0.4s ease;
}

.progress-button .spinner {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

.progress-button.loading {
  pointer-events: none;
  opacity: 0.6;
}

.progress-button.loading .spinner {
  display: inline-block;
}