/*Grandes*/
body{
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: start;
    margin-top: 64px;
    background-color: rgba(0,0,0,.1);
    color: rgba(0,0,0,.9);
}
header{
    height: 64px;
    width: 100%;
    background-color: #009DE2;
    position: fixed;
    top:0;
    left: 0;
    box-shadow: 0 1px 4px 0 rgba(0,0,0,.32);
    box-sizing: border-box;
    z-index: 62;
    justify-content: space-between;
    display: flex;
    align-items: center;
    transition: all .15s ease-in-out;
}

/*Seccion de menu*/
.menu-section{
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 17px;
    min-width: 229px;
    border-right: 1px solid rgba(0,0,0,.1);
    min-height: 64px;
    padding-left: 25px;
}
.user-section{
    cursor: pointer;
    height: 100%;
    display: flex;
    padding-right: 40px;
}
#menu-button{
    border: none;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
#menu-button .linea-menu-visual{
    width: 20px;
    background-color: black;
    height: 2px;
    pointer-events: none;
}

/*Visuales*/
.panel, .panel-1, .panel-funcion{
    background-color: #fff;
    box-shadow: var(--box-shadow);
    border-radius: 6px !important;
    box-sizing: border-box;
    width: 300px;
    margin-bottom: 35px;
    overflow: hidden;
    transition: all .14s ease-in-out;
}
.panel-1, .panel-funcion{
    padding: 16px;
}
.circulo, .circulo-small{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-family: var(--fuente-secundaria);
    font-weight: 100;
    color: #009ee3;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.207);
}
.circulo-small{
    width: 32px;
    height: 32px;
}
.signal{
    font-family: var(--fuente-secundaria);
    color: rgba(0,0,0,.3);
    font-size: 1.9rem;
}
.flecha{
    transform: scaleX(.75);
    margin-right: 7px;
    cursor: pointer;
}
.touchable{
    cursor: pointer;
}
.panel-funcion{
    max-width: 280px;
    width: 100%;
    min-width: 140px;
    min-height: 140px;
    margin-bottom: 0;
}

/*Botones*/
.boton-s{
    background-color: rgba(65, 137, 230, 0.2);
    border-color: transparent;
    color: #009ee3;
    border-radius: 4px;
    font-size: 1.2rem;
    height: 2.4rem;
    line-height: 2.4rem;
    padding: 0 .8rem;
    cursor: pointer;
    font-weight: 600;
}
.boton-s:hover {
  background: #009ee3 !important;
  color: white;
  box-shadow: 0px 0px 0px 1px #ffffff85;
}

/* Escritura */
p {
    margin: 0;
}

.subtitulo {
    color: rgba(0, 0, 0, 0.55);
    font-size: 1.4rem; /* 14px */
    line-height: 1.1428571429em;
    font-weight: 300;
}

.subtitulo-exterior {
    font-size: 1.7rem; /* 17px */
    line-height: 2.2rem; /* 22px */
    color: rgba(0, 0, 0, 0.9);
    font-weight: 600;
    padding: 1.6rem; /* 16px */
}

.subtitulo-grande {
    font-size: 1.4rem; /* 14px */
    font-weight: 400;
}

.anotacion {
    color: rgba(0, 0, 0, 0.7);
    font-size: 1.2rem; /* 12px */
    font-weight: 500;
    line-height: 1.5;
}

.anotacion-m {
    font-weight: 500;
    line-height: 1.5;
    font-size: 1.3rem; /* 13px */
    color: rgba(0, 0, 0, 0.8);
}

.titulo-s {
    /* font-weight: 500; */
    font-size: 1.4rem; /* 14px */
}

.titulo{
    font-size: 1.25rem;
}

.titulo-m {
    color: rgba(0, 0, 0, 0.9);
    font-weight: 600 !important;
    line-height: 1.25;
    font-size: 2.4rem; /* 24px */
}

.titulo-normal {
    font-size: 1.6rem; /* 24px */
    color: rgba(0, 0, 0, 0.9);
}

.titulo-normal-secundario {
    color: rgba(0, 0, 0, 0.4);
    font-size: 1.4rem; /* 14px */
    line-height: 2rem; /* 20px */
}

.titulo-seccion {
    font-size: 1.7rem; /* 17px */
    font-weight: 500;
    color: rgba(0, 0, 0, 0.9);
}


/*Excepcion escritura*/
.font-h{
    font-family: var(--fuente-secundaria) !important;
}

/*Organización*/
.columna-contenedores{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}
.fila{
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 14px;
}
.fila-superior{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    gap: 20px;
}
.columna{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}
.linea-divisoria-1, .linea-divisoria-2, .linea-divisoria-3{
    border-bottom-style: none;
    border-top: 1px solid rgba(0,0,0,.1);
}
.linea-divisoria-2{ 
    margin: 7px 0;
}
.linea-divisoria-3{
    margin: 16px 0;
}
.linea-divisoria-vertical {
    border-right: 1px solid rgba(0,0,0,.1);
    height: 60%;
}
.acumulable{
    margin-bottom: 12px;
    transition: all .14s ease-in-out;
}
.acumulable:hover, .panel-1:hover, .panel-funcion:hover{
    background-color: rgba(255,255,255,.6);
    cursor: pointer;
}
.panel-2:hover{
    cursor: default;
    background-color: #fff !important;
}
.acumulador-filas{
    display: flex;
    width: 100%;
    flex-direction: column;
}

.grid-funciones{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(1, 1fr);
    row-gap: 24px;
    column-gap: 24px;
}
.descripcion-funcion{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 4px;
}

/*Botones*/
.consulta-fila{
    padding: 16px;
    cursor: pointer;
    transition: all .14s ease-in-out;
}
.nueva-consulta-button, .contenedor-vacio{
    padding: 16px;
    cursor: pointer;
    position: relative;
    transition: all .14s ease-in-out;
}
.contenedor-vacio{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    cursor: default;
}
.nueva-consulta-button:hover, .consulta-fila:hover, .nueva-consulta-section:hover{
    background-color: rgba(0,0,0,.04);
}

:root{
    --box-shadow: 0 1px 2px 0 rgba(0,0,0,.12);
    --fuente-secundaria: Arial, Helvetica, sans-serif;
}
.fila-datos{
    justify-content: space-between;
}
.formulario_nueva_consulta{
    max-height: 1180px;
    overflow: hidden;
    transition: all .3s ease-in-out;
}
.nueva-consulta-section{
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all .14s ease-in-out;

    /*Parametros animados*/
    opacity: 1;
    max-height: 74px;
}
.ocultar-section{
    max-height: 0px;
    opacity: 0;
    padding: 0 16px !important;
}
.botones_historia_clinica{
    display: flex;
    align-items: center;
    gap: 12px;
    height: min-content;
}
.button-mini{
    font-size: 1.3rem;
    height: min-content;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    padding: .2rem 1rem;
}
.button-mini {
  color: #009ee3;
  background: white;
}
.button-alternativo {
  background: rgba(255,255,255,.26);
  color: white;
}
.archivo_consulta{
    max-height: 135px;
    max-width: 100px;
    cursor: pointer;
}
.archivo_full_size{
    height: 60vh;
    z-index: 11111;
    position: fixed;
    top: calc(50% + 64px);
    left: 50%;
    transform: translate(-50%, calc(-50% - 32px));
}