@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');
*{
    margin: 0;
    box-sizing: border-box;
}

:root{
    font-family: 'Lato', sans-serif;
}

body{
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to top, #2980b9, #6dd5fa, #ffffff);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    min-height: 100vh;
}

.container_general{
    margin: 10px auto;
    background-color: rgba(255, 255, 255, 0.468);
    width: 60%;
    border-radius: 10px;
}

.container_inicio{
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 100px;
}

.inicio_logo{
    height: 100%;
}

.inicio_texts > a{
    text-decoration: none;
    color: black;
}

.inicio_texts > a:hover{
    color: black;
}

.logo_img{
    height: 70%;
}

.container_form{
    text-align: center;
}

.dato_paciente{
    display: flex;
    flex-direction: column;
    margin: auto;
    width: 90%;
}

.codigo-list {
  list-style: none;
  text-align: left;
  position: absolute;
  z-index: 1;
  background-color: #f0fbfe;
  width: 100%;
  border-radius: 0 0 5px 0;
  min-height: 5px;
  max-height: 300px;
  overflow-y: scroll;
}

.codigo-list > li:nth-child(2n){
    background-color: #aae1f6aa;
    border-radius: 2px;
    padding-left: 5px;
}

.codigo-list::-webkit-scrollbar {
    width: 1px;
    background-color: transparent;
  }

.diagnostico{
    display: grid;
    height: 60px;
    grid-template-columns: repeat(10,2fr);
    gap: 10px;
}

.pad{
    grid-column: 1/3;
}

.cirugia{
    grid-column: 3/10;
}

.boton-madre{
    display: grid;
    grid-column: 10/11;
    margin-top: 5px;
}

.btn-add{
    background-image: url(/static/svg/add.svg);
    background-repeat: no-repeat;
    background-size: 47px;
    background-position: center;
    background-color: #3ba4ce;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 5px;
    transition: background .3s;
}

.btn-add:hover{
    background-color: #2980b9;
}

.list_content{
    width: 100%;
}


#list_cirugia{
    display: none;
    list-style: none;
    list-style-position: outside;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.591);
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    padding-left: 20px;
}

#list_cirugia > li{
    display: flex;
    justify-content: space-between;
    padding: 5px;
}

.btn-eliminar{
    background-color: rgba(248, 39, 39, 0.778);
    border: none;
    width: 30px;
    border-radius: 5PX;
    color: white;
    transition: background-color .3s
}

.btn-eliminar:hover{
    background-color: red;
}

.mensaje-flash {
    position: fixed;
    top: 30%;
    left: 50%;
    width: 300px;
    height: 100px;
    display: flex;
    align-items: center;
    transform: translate(-50%, -50%);
    background-color: rgba(121, 190, 121, 0.808);
    border: 1px solid #ccc;
    padding: 10px 20px;
    border-radius: 20px;
    z-index: 1;
    box-shadow: 0 0 0 2px #79be79ce;;
  }
  
.hidden {
    display: none;
    transition: display .3s;
  }

#hospitalizacion{
    margin-top: 10px;
}

.mensaje-flash > strong{
    text-align: center;
    font-size: 20px;
    color: #000000b1;
  }

.dato_paciente_print{
    display: none;
  }

.gap-2 {
    margin-bottom: 10px;
}

.formulario{
    margin-top: 30px;
    width: 100%;
}

.container_tromboembolica{
    border-radius: 5px;
    width: 100%;
}

.tromboembolica_valor1, .tromboembolica_valor2, .tromboembolica_valor3, .tromboembolica_valor4{
    background-color: white;
    padding: 10px;
    text-align: left;
    border-radius: 5px;
    margin-bottom: 20px;
}

.tromboembolica_valor1 > h6,
.tromboembolica_valor2 > h6,
.tromboembolica_valor3 > h6,
.tromboembolica_valor4 > h6{
    text-align: center;
    margin-bottom: 20px;
    font-size: 20px;
}

h6 > p{
    color: rgba(255, 0, 0, 0.691);
}


.tromboembolica_valor1 input[type="checkbox"],
.tromboembolica_valor2 input[type="checkbox"],
.tromboembolica_valor3 input[type="checkbox"],
.tromboembolica_valor4 input[type="checkbox"] {
  margin-right: 20px;
  margin-bottom: 10px;
  width: 20px;
  height: 20px;
}

.puntaje_total{
    color: red;
}

.container_tabla{
    display: flex;
    justify-content: center;
}

.tabla_recomendaciones{
    background-color: #FFFFFF;
    border-radius: 5px;
}

.recomendaciones_titles{
    background-color: rgba(188, 234, 255, 0.998);
}

.recomendaciones_title{
    padding: 20px;
}

.recomendaciones_hijos{
    height: 100px;
}

.recomendaciones_hijo{
    border-right: 1px solid gray;
}

.indicacion{
    width: 300px;
}

.indicacion > textarea{
    height: 100px;
    width: 100%;
    border: none;
    padding: 4px;
}


@media  (max-width: 900px) {
    .container_general{
        margin-top: 0;
        width: 100%;
    }
    .dato_paciente{
        width: 90%;
    }
    #tuFormulario{
        margin-top: 10px;
    }
    .inicio_texts{
        display: none;
    }
    .row{
        margin-bottom: 10px;
    }
    .title_paciente, .info_add, .title_codigo{
        font-size: 20px;
    }
    .diagnostico{
        margin-bottom: 20px;
    }
    .codigo-list{
        font-size: 12px;
    }
    .tromboembolica_pregunta {
        border: 1px solid rgba(167, 167, 167, 0.817);
        border-radius: 5px;
        padding: 3 px;
        font-size: 12px; 
        margin-bottom: 8px; 
    }
    
    .tromboembolica_label {
        margin-left: 5px;
    }
    .tabla_recomendaciones th,
    .tabla_recomendaciones td {
      font-size: 12px;
      padding: 4px; 
    }
    .tromboembolica_valor1 input[type="checkbox"],
    .tromboembolica_valor2 input[type="checkbox"],
    .tromboembolica_valor3 input[type="checkbox"],
    .tromboembolica_valor4 input[type="checkbox"] {
    margin-right: 0.5px;
    }
  }
  @media (max-width: 576px) {
    .container_tabla {
      overflow-x: auto;
    }
  
}

@media  (max-width: 1350px) {
    .container_general{
        width: 90%;
    }
}

