@font-face{
    font-family: Avenir;
    src: url(../fonts/Metropolis-Light.otf);
}

@font-face{
    font-family: AvenirBold;
    src: url(../fonts/Metropolis-Bold.otf);
}

html, body{
    margin: 0;
    height: 100%;
    background-color: #2B3441;
    background-image: url(../img/fondo.jpg);
	background-position: center center;
	background-size: cover;
    color: white;
    position: relative;
    /* font-size: 1.6rem; */
}

html{
	font-size: 62.5%; /* Reset para REMS - 62,5% = 10px de 16px EJ: 150px = 15rem*/
	box-sizing: border-box; /*Para que le padding no modifique el tamaño del div*/
}

*, *:before, *:after{ /*Para que le padding no modifique el tamaño del div*/
	box-sizing: inherit; /*Para que le padding no modifique el tamaño del div*/
}

body.modal-open{
    padding-right: 0 !important;
}

canvas{
    position: absolute;
}

button{
    font-family: Avenir !important;
}

.limitar{
    overflow: hidden !important;
}

.boton{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.contenedor{
    max-width: 120rem;
	width: 95%;
	margin: 0 auto;
}

.mostrarPantalla{
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (orientation: landscape){
    .mostrarPantalla{
        flex-direction: row;
    }
}

.logo-app{
    padding: 0 0 1.5rem 0;
    width: 75% !important;
}

.mostrar{
    display: flex;
}

.ocultar{
    display: none !important;
}

.nombre-doctor{
    padding: .7rem 0 .7rem 1.2rem;
    margin: 0 0 7% 7%;
    background-color: #59BAA1;
    color: white;
    border-radius: 2rem;
    width: 75%;
    font-size: 1.5rem;
}

.grilla-imagenes{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: .1rem;
}

.fila-imagenes{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .1rem;
}

.imagen{
    width: 9.62rem;
    height: 9.62rem;
    object-fit: cover;
}

.lapiz{
    position: absolute;
    width: 17%;
    top: .5rem;
    right: .5rem;
    color: yellow;
    font-size: 1.6rem;
}

.boton-capturar{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 1.5rem;
}

.btn-capturar{
    height: 7rem;
    width: 7rem;
    background-color: #59BAA1;
    border-radius: 50%; 
    border: .35rem solid white;
    color: white;
}

.icono-camara{
    font-size: 2.5rem;
    pointer-events: none;
}

.fondo-popup{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
}
  
.globo-help{
    position: absolute;
    padding: 1.6rem 4.8rem 1.6rem 1.6rem;
    bottom: 6rem;
    width: 28rem;
    background-color: #59BAA1;
    z-index: 3000;
    border-radius: .5rem;
}

.globo-help strong{
    font-size: 1.6rem;
}
  
.globo-help::before{
    content: "";
    position: absolute;
    top: 8rem;
    left: 50%;
    transform: translateX(-50%);
    border-style: solid;
    border-width: 1.8rem 1.8rem 0 1.8rem;
    border-color: white transparent transparent transparent;
}
  
.globo-help::after{
    content: "";
    position: absolute;
    top: 8rem;
    left: 50%;
    transform: translateX(-50%);
    border-style: solid;
    border-width: 1.6rem 1.6rem 0 1.6rem;
    border-color: #59BAA1 transparent transparent transparent;
}

.alert-dismissible .btn-cerrar-globo{
    font-size: 1.6rem;
    padding: 1.6rem;
}

.popup-content{
    background-color: #2B3441;
    color: white;
    border-radius: .8rem;
    margin: 0 6rem;
}

.popup-body{
    padding: 1.6rem;
}

.popup-title{
    font-size: 2rem;
}

.popup-footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
}

.popup-footer .btn{
    font-size: 1.6rem;
    padding: .6rem 1.2rem;
    min-width: 9rem;
}

.popup-footer .btn-danger{
    background-color: red;
}

.btn-opcion{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 50%;
    height: 5rem;
    color: white;
    background-color: #59BAA1;
    margin-top: 5%;
    font-size: 1.6rem;
}

.btn-opcion:hover{
    background-color: #59BAA1;
}

.popup-opciones{
    background-color: transparent;
    border: none;
    padding: 0 2.8rem;
    gap: .6rem;
}

.boton-opcion{
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: .6rem 1.2rem;
    font-size: 1.6rem;
    height: 5rem;
}

.popup-descargar{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    gap: 2rem;
}

/* Estilos tomarFoto.html */

.seccion-imagen{
    position: relative;
}

.seccion-texto-botones{
    display: flex;
    justify-content: center;
    align-items: center;
}

.botones-responsive{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    flex-grow: 1;
    height: 100%;
}

.recuadroVideo{
    position: relative;
    height: 49rem; 
}

@media (orientation: landscape){
    .recuadroVideo{
        width: 49rem;
        height: 100%;
    }
}

.recuadro-imagen{
    width: 100%;
    height: 49rem; 
    object-fit: cover;
}

@media (orientation: landscape){
    .recuadro-imagen{
        width: 49rem;
        height: 100%; 
    }
}

.titulo{
    line-height: 1.5 !important;
    font-family: "Roboto", sans-serif !important;
    font-weight: normal !important;
}

.tituloFoto{
    color:#52b7a3;
    font-size: 2.2rem;
    text-align: center;
    margin: 1.7rem 0;
    line-height: 1.1 !important;
}

@media (orientation: landscape){
    .tituloFoto{
        position: absolute;
        top: -0.5rem;
        left: 16rem;
    }
}

.botones-accion{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

@media (orientation: landscape){
    .botones-accion{
        flex-direction: column;
        flex-grow: 1;
    }
}

.btn-capturar-foto{
    width: 9.4rem;
    height: 9.4rem;
    background-size: cover !important;
    border: 0;
    padding: 0;
    background-color: transparent;
    background: url('../img/fotosBotones/tomarFoto.png');
}

.btn-capturar-foto:focus{
    background-color: none;
}

.btn-accion{
    width: 6.8rem;
    height: 5rem;
    border-radius: 1rem;
    border: 0;
    color: white;
}

.btn-accion-cancelar{
    background-color: #FF2418;
}

.btn-accion-espejo{
    background-color: white;
}

.btn-accion-finalizar{
    background-color: #5BBAA1;
}

.icono-btn-accion{
    font-size: 4rem !important;
}

.textos-botones{
    line-height: 1.1 !important;
    font-family: "Roboto", sans-serif !important;
    color: white;
    font-size: 1.4rem !important;
}

.simetria{
    display: block;
    width: 4rem;
    height: 4rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: auto;
}

.simetria_norte{
    background-image: url('../img/fotosBotones/negra_norte.png');
}

.simetria_sur{
    background-image: url('../img/fotosBotones/negra_sur.png');
}

.simetria_este{
    background-image: url('../img/fotosBotones/negra_este.png');
}

.simetria_oeste{
    background-image: url('../img/fotosBotones/negra_oeste.png');
}

.texto-espejo{
    color: yellow;
    font-family: "Roboto", sans-serif;
    font-size: 2rem !important;
    line-height: 1.1;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: 0;
    padding: 1rem;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 1.5rem;
    z-index: 100;
}

.fondo-btn-flash{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 81%;
    bottom: 4%;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 5rem;
    height: 5rem;
}

.btn-flash{
    font-size: 3rem;
    color: white;
    margin-top: 3px;
    z-index: 1000;
}

@media (orientation: landscape){
    .btn-flash{
        left: 93%;
    }
}

.flash-slash{
    position: absolute;
    font-size: 3rem;
    transform: scaleX(-1);
}

.btn-flash-on{
    color: yellow;
}

.flipX-silueta{
    transform: translate(-50%, -50%) scaleX(-1) !important;
}

.flipY-silueta{
    transform: translate(-50%, -50%) scaleY(-1) !important;
}

.flipX-imagen{
    transform: scaleX(-1) !important;
}

.flipY-imagen{
    transform: scaleY(-1) !important;
}

.rostroFrente{ /* 1. Rostro frente */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58%;
    height: auto;
}

.sonrisaCompleta{ /* 2. Sonrisa completa */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58%;
    height: auto;
}

.rostroInoclusion { /* 3. Rostro inocuclusión */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58%;
    height: auto;
}

.perfil{ /* 4. Perfil */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58%;
    height: auto;
}

.oclusionFrente{ /* 5. Oclusión frente */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: auto;
}

@media (orientation: landscape){
    .oclusionFrente{
        width: 40%;
        right: 17rem;
    }
}

.oclusionDerecha{ /* 6. Oclusión derecha */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: auto;
}

@media (orientation: landscape){
    .oclusionDerecha{
        width: 40%;
        right: 17rem;
    }
}

.oclusionIzquierda{ /* 7. Oclusión izquierda */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: auto;    
}

@media (orientation: landscape){
    .oclusionIzquierda{
        width: 40%;
        right: 17rem;
    }
}

.arcadaSuperior{ /* 8. Arcada superior */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: auto;
}

.arcadaInferior{ /* 9. Arcada inferior */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: auto;
}

.rxFree{ /* 10. RX o Free */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 70%;
}

@media (orientation: landscape){
    .rxFree{
        width: 55%;
        height: 70%;
    }
}

/* Estilos fotoCapturada.html */

.seccion-texto-botones{
    flex-grow: 1;
}

.btn-accion-editar{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 8.5rem;
    height: 5.4rem;
}

.btn-accion-editar-imagen{
    background-color: white;
    color: black;
}

.contenedor-login{
    margin: 0 5%;
}

.input-login , .input-login:hover, .input-login:focus, .input-login:root{
    border-radius: 2.2rem;
    margin-bottom: 3%;
    font-size: 1.6rem;
    padding: .6rem 1.2rem;
}

.password-toggle-container {
    position: relative;
}

.password-toggle-container .toggle-button{
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    color: #212529;
    font-size: 1.6rem;
}

#inlineCheckbox1:checked, #inlineCheckbox2:checked, #exampleCheck1:checked{
    box-shadow: none;
    border-color: #59BAA1;
    background-color: #59BAA1;
    color:rgb(141, 207, 19);
}

.btn-iniciar-sesion, .btn-iniciar-sesion:hover, .btn-iniciar-sesion:focus{
    width: 100%;
    border-radius: 2rem;
    background-color: #59BAA1;
    color: white;
    font-size: 2rem;
    width: 90%;
    padding: .6rem 1.2rem;
}

#exampleCheck1{
    position: absolute; height: 4.4rem; width: 4.4rem; margin-left: -3%; border-radius: 1.2rem;
}

#errorClave{
    margin-top: .5rem; display: none;
    color: #59BAA1;
}

.contenedor-contacto{
    display: flex;
    justify-content: center;
    align-items: center;
}

.contacto{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    color: #59BAA1;
    font-size: 1.3rem;
    text-align: center;
}

.contacto p{
    margin: 0;
}

.contacto i{
    color: white;
}

/* Estilos solicitar-recomendacion.html */

.contenedor-solicitud{
    padding: 0 .8rem;
}

.titulo-solicitud{
    background-color: #59BAA1;
    color: white;
    border-radius: 2rem;
    width: 66%;
    float: left;
    margin-bottom: 7%;
    padding: .4rem 0 .4rem 1.2rem;
    font-size: 1.6rem;
}

.stepwizard{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.stepwizard p{
    text-align: center;
    margin-top: 1rem;
}

.btn-paso{
    display: block;
    color: white;
    width: 6rem;
    height: 4.4rem;
    text-align: center;
    line-height: 2.8rem;
    border-radius: 1rem;
    font-size: 3.2rem;
    text-decoration: none;
    border: .1rem solid transparent;
    pointer-events: none;
    background-color: #929497;
    padding: .5rem;
}

.boton-paso-activo{
    background-color: #59BAA1;
}

.descripcion-paso{
    font-size: 1.4rem;
}

.descripcion-paso-activo{
    color: #59BAA1;
}

.flecha-paso{
    align-self: flex-start;
    margin-top: 1.4rem;
    width: 1rem;
}

.flecha-paso-activo{
    content: url("../img/fotosBotones/flecha_steps_fill.png");
}

.subtitulo{
    font-size: 2rem;
    padding-bottom: .5rem;
}

.input-recomendacion{
    border-radius: 2.2rem;
    margin-bottom: 3%;
    padding: .6rem 1.2rem;
    font-size: 1.6rem;
}

.select-flechita{
    background-image: url(../img/fotosBotones/flecha_select.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 3rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
}

select.select-flechita::-ms-expand {
    display: none; /*Evita que se muestre la flecha por defecto en versiones de IE*/
}

.date-input-container{
    position: relative;
}

.date-input-container label {
    position: absolute;
    top: .7rem;
    left: 1.3rem;
    pointer-events: none;
    transition: all 0.2s ease;
    color: #212529;
    font-size: 1.6rem;
}

.date-input-container .calendar-icon{
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    pointer-events: none; /* Evita que el icono interfiera con el campo de entrada */
    color: #212529;
    font-size: 1.6rem;
}

.date-input-container input[type="date"]:focus + label, .date-input-container input[type="date"]:valid + label {
    transform: translateY(-100%);
    font-size: 1.2rem;
    color: #666;
    display: none;
}

.input-descripcion{
    padding-left: .75rem;
    margin-bottom: .8rem;
    font-size: 1.6rem;
}

th{
    padding-left: 0.5rem !important;
}

td {
    font-size: 1.6rem;
    background-color: white !important;
    padding-left: 0.5rem !important;
}

.tituloTabla{
    color: #59BAA1;
    background-color: white;
    font-size: 1.8rem;
}

.fila:last-child{
    border-bottom-color: transparent;
}

.datoIngresado{
    border-left-width: .1rem !important;
}

.input-error{
    border: .2rem solid red;
    background-image: linear-gradient(to bottom, rgba(255, 86, 86, 0.5), rgba(255, 86, 86, 0.5)), none;
}

.form-control:focus {
    border: .2rem solid #59BAA1;
    box-shadow: inset 0 .1rem .1rem rgba(0, 0, 0, 0.075), 0 0 .1rem #59BAA1;
}

#siguiente, #anterior{
    background-color: #59BAA1;
    color: white;
    box-shadow: none;
    border-radius: 1.1rem;
} 

#anterior{
    background-color: gray;
    margin-right: 2%;
}

.botones-prev-next{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
}

.btnPrevNext{
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 2rem;
    padding: .8rem 1.6rem;
    background-color: #59BAA1;
    color: white;
    /* pointer-events: none; */
}

.btnPrevNext:hover{
    background-color: #59BAA1;
    color: white;
}


.lds-ring {
    position: absolute;
    display: block;
    padding-top: 50%;
    padding-left: 25%;
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 150px;
    height: 150px;
    margin: 8px;
    border: 8px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #37A184 transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Estilos SideBar */

.sidebar{
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: -255px;
    z-index: 999; 
    background: #2B3441;
    color: #fff;
    transition: all .3s;
    box-shadow: 3px 3px 3px rgba(51, 51, 51, 0.5);
    font-family: 'Roboto', sans-serif;
    line-height: 30px;
    font-size: 16px;
    font-weight: 300;
}

.sidebar.active{
    left: 0;
}

.dismiss{
    width: 35px;
    height: 35px;
    position:
    absolute;
    top: 10px;
    right: 10px;
    transition: all .3s; 
    background: #59BAA1;
    border-radius: 4px;
    text-align: center;
    line-height: 35px; 
    cursor: pointer;
}

.dismiss:hover, .dismiss:focus{
    background: #555;
    color: #fff;
}

.sidebar .logo{
    padding: 40px 20px;
    border-bottom: 1px solid #444;
    transition: all .3s;
}

.sidebar .logo a{
    display: inline-block;
    width: 172px;
    height: 34px;
    background: url(../img/logo.png) left top no-repeat;
    border: 0;
    text-indent: -999999px;
}

.sidebar ul.menu-elements{
    padding: 10px 0;
    border-bottom: 1px solid #444;
    transition: all .3s;
}

.btn-sidebar{
    display: block;
    padding: 10px 20px;
    border: 0;
    color: white;
    text-decoration: none;
    transition: all .3s;
}
.btn-sidebar:hover,
.btn-sidebar:focus,
.sidebar ul li.active > a:hover,
.sidebar ul li.active > a:focus{
    outline: 0;
    background: #59BAA1;
    color: #fff;
    border: 0;
    text-decoration: none;
}

.btn-sidebar i{
    margin-right: 5px;
}

.sidebar ul li.active > a, a[aria-expanded="true"]{
    background: #444;
    color: #fff;
}

.sidebar a[data-toggle="collapse"]{
    position: relative;
}

.sidebar .dropdown-toggle::after{
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

/***** Dark overlay *****/

.overlay-sidebar{
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh; 
    background: rgba(51, 51, 51, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all .5s ease-in-out;
}

.overlay-sidebar.active{
    display: block;
    opacity: 1;
}

/***** Btn Abrir Sidebar *****/

.btn-abrir-sidebar{
    position: absolute;
    left: 2rem;
    top: 1.6rem;
    width: 5.5rem;
    font-size: 2.8rem;
}

/*****************************/

/*.recuadro-imagen{
    width: 49rem;
    height: 100%;
}*/