#tecnicas{
    width: 100%;
    min-height: 300px;

    display: flex;
    flex-flow: wrap;
    justify-content: center;
}

#tecnicas-info{
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    text-align: justify;

    font-size: 1.2em;
    font-family: 'Roboto',sans-serif;

    
}


/* Estilos para Cuadro Conceptual */

#esquema{
    width: 80%;
    min-height: 300px;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;

    margin-top: 50px;
}

#esquema-header{
    height: 40px;
    width: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;

    font-size: 1.3em;
    font-family: 'Roboto',sans-serif;
    text-transform: uppercase;
    font-weight: bold;

    border: 2px solid var(--rojoL);
}

.esquema-separador{
    width: 100%;
}

#esquema-linea-conector{
    width: 2px;
    height: 50px;
    background-color: var(--rojoL);
}

#esquema-linea-principal{
    width: 0%;
    height: 2px;
    background-color: var(--rojoL);
    position: relative;

}

.esquema-item{
    width: 150px;
    height: 100px;
    /* background-color: brown; */
    position: relative;
    margin-top: 50px;

    cursor: pointer;
}

.esquema-item:hover .esquema-img, .esquema-item:hover .esquema-item-titulo{
    transform: scale(1.1);
    transition: 0.3s;
}

.linea-item-principal{
    width: 100%;
    height: 2px;
    background-color: var(--rojoL);
    position: absolute;
    margin-top: -50px;
}

.linea-item-conector{
    position: absolute;
    height: 50px;
    width: 2px;
    background-color: var(--rojoL);
    margin-top: -50px;
    left: 50%;
    transform: translate(-50%);
}

.esquema-img{
    width: 90%;
    height: 100%;
    border: 2px solid var(--rojoL);
    position: relative;
    border-radius: 5px;
    transition: 0.3s;

    object-fit: cover;
}

.esquema-item-titulo{
    width: 90%;
    height: 100%;
    text-align: center;
    position: absolute;
    margin-top: -102px;
    margin-left: 2px;

    border-radius: 2px;

    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;

    font-family: 'Roboto',sans-serif;
    font-size: 1em;
    color: #111;
    font-weight: bold;

    background-color: rgba(255,255,255,0.72);

    transition: 0.2s ease-in-out;
}

#esquema [data="primero"]{
    width: 50%;
    margin-left: 50%;
}

#esquema [data="ultimo"]{
    width: 50%;
    margin-right: 50%;
}

.responsive-divider-esquema{
    display: none;

}

.boton-info-esquema{
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    position: absolute;
    margin-top: 20px;

    left: 50%;
    transform: translate(-52%);

    font-family: 'Roboto',sans-serif;

    padding: 5px;
    border-radius: 5px;

    background-color: var(--rojoL);
    color: #fff;
}

.boton-info-esquema:hover{
    background-color: var(--texto);
    color: #fff;
}


@media (min-width:1600px) {

    .esquema-item{
        width: 170px;
        height: 120px;
    }

    .esquema-item-titulo{
        margin-top: -122px;
    }
}


@media (min-width:1150px) and (max-width:1300px) {

    .esquema-item{
        width: 130px;
        height: 80px;
    }

    .esquema-item-titulo{
        margin-top: -82px;
    }
}

@media (min-width:900px) and (max-width:1149px) {

    .esquema-item{
        width: 100px;
        height: 70px;
    }

    .esquema-item-titulo{
        margin-top: -72px;
    }

    .esquema-item-titulo{
        font-size: 0.8em;
    }
}


@media (max-width:900px){
    .esquema-item{
        width: 200px;
        height: 150px;
    }

    .esquema-item-titulo{
        margin-top: -152px;
    }

    .esquema-item-titulo{
        font-size: 1.2em;
    }

    .linea-item-conector{
        width: 30px;
        height: 2px;
        margin-top: 0px;
        left: -15px;
        top:50%;
        left: none;
    }

    .responsive-divider-esquema{
        display: flex;
        width: 100%;
    }

    .linea-item-principal{
        width: 2px;
        height: 140%;
        left: -30px;
        margin-top: 0%;
    }

    #esquema [data="primero"]{
        width: 2px;
        height: 100%;
        margin-left: 0%;
        bottom: -76px;
    }
    
    #esquema [data="ultimo"]{
        width: 2px;
        height: 50%;
        margin-right: 0%;
    }

    #esquema .esquema-item:nth-child(5){
        margin-top: 0px;
    }

    #tecnicas{
        padding-bottom: 50px;
    }

    #tecnicas-info{
        width: 80%;
        font-size: 1.3em;
    }

    .boton-info-esquema{
        position: absolute;
        margin-top: 0px;

        font-size: 1.4em;
    
        left: auto;
        margin-top: -100px;
        right: -50px;
        transform: translate(0%);

    }
}

#mostrar-info-esq{
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
   
    width: max-content;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Roboto',sans-serif;

    padding: 10px;
    border-radius: 5px;
    user-select: none;

    /* background-color: var(--rojoL); */
    color: #111;
    cursor: pointer;
}

#mostrar-info-esq:hover{
    /* background-color: var(--texto); */
    color:var(--rojoL);
}

/* Vista Info Item */
#esquema-dim{

    display: none;

    /* display: block; */
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);

    z-index: 1;

    cursor: alias;
}

#esquema-viewer{

    display: none;

    /* display: flex; */
    flex-flow: wrap;
    position: fixed;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 90%;
    background-color: #fff;
    border-radius: 5px;

    z-index: 2;

    overflow-y: scroll;
}

#cerrar-viewer{
    width: 200px;
    height: 30px;
    display: flex;
    background-color: var(--rojoL);
    color: #fff;
    text-transform: uppercase;
    font-family: 'Roboto',sans-serif;
    font-weight: bold;
    justify-content: center;
    align-items: center;
    align-content: center;

    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 30px;

    cursor: pointer;
}

#cerrar-viewer:hover{
    background-color: var(--texto);
    color: #fff;
}

.info-esquema-container{
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    /* display: flex; */
    flex-flow: wrap;

    justify-content: center;

    display: none;
}

.titulo-esquema-container{
    margin-left: auto;
    margin-right: auto;
    width: 98%;
    text-align: center;

    font-family: 'Lato',sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.4em;
    color: var(--rojoL);

    margin-top: 30px;
}

.texto-esquema-container{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;

    font-family: 'Roboto',sans-serif;

    margin-top: 20px;
    margin-bottom: 40px;
}

.texto-esquema-container li{
    margin-top: 20px;
    margin-bottom: 20px;
}

.img-esquema-container{
    width: 100%;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
}

.img-esquema-container img{
    width: 40%;
    height: max-content;
    object-fit: contain;
}


@media (max-width:900px) {
    #esquema-viewer{
        width: 100%;
        height: 100%;
        border-radius: 0px;
    }

    .img-esquema-container img{
        width: 90%;
        height: 200px;
        object-fit: contain;
        margin-bottom: 20px
    }
}

#hide {
    width: 60px;
    height: 60px;
    background-color: var(--texto);
    color: #fff;
    position: fixed;
    bottom: 24;
    left: 24;
    /* display: flex; */
    justify-content: center;
    align-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    border-radius: 10px;
    display: none;
    cursor: pointer;
    z-index: 3;
}

#hide:hover{
    background-color: #555;

}

#hide::before{
    margin-top: -4px;
}