/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Sep 10, 2018, 3:56:56 PM
    Author     : ST10
*/

/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 12-ago-2018, 17:56:24
    Author     : Miguel Tirador
*/

/**
Layout Home
**/





html, body {
    background-image: url("../image/fondoCRT.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: 100%;
    overflow-y: no-display;
    margin: 0px;
}

.section p{
    text-align: center;
    color: white;
}

img{
    position: absolute;
    width: 100%;
    height: 100%;
}

.section:after{
    content: "";
    display: table;
    clear: both;
}

.arti1{
    z-index: 2;
    position: relative;
    margin-top: 100px;
    width: 40%;
    height: 800px;
    float: left;
    left: 20px;
    transition: .5s ease;
}

.arti2{
    z-index: 2;
    position: relative;
    margin-top: 100px;
    width: 50%;
    height: 800px;
    float: left;
    transition: .5s ease;
}

.footer{
    text-align: center;
    z-index: 3;
    width: 100%;
    height: 30px;
    position: relative;
    font-size: 13px;
    color: #ffffff;
    left: 0;
    float: left;
    font-family: 'Noto Sans', sans-serif;
    clear: both;
}

#letaFoo{
    color: #E8BB00;
}

.encuestas2{
    display: none;
}
.encuestas3{
    display: none;
}

.endutih2{
    display: none;
}

.usuarioDs2{
    display: none;
}

.encuestasusuarios2{
    display: none;
}
.encuestasusuarios3{
    display: none;
}


/**
Elemtos Home
**/



.overlay{
    position: absolute;
    background-color: rgba(13, 49, 64, 0.6);
    width: 100%;  
    height: 0;
    opacity: .9;
    bottom:  0px;
    transition: .5s;
    border-radius: 2px;
}

.texto{
    font-family: 'Noto Sans', sans-serif;
    text-align: justify;
    color: #ffffff;
    transition: .5s;
    padding: 20px;
    font-size: 15px;
}

#datosRapido2{
    display: none;
}

#indicadores2{
    display: none;
}

.content{
    z-index: 3;
    display: block;
    position: relative;
    float: left;
    top: 40px;
    left: 230px;
    width: 390px;
    height: 410px;
    overflow: hidden;
    transition: .5s;
}













.content2{
    z-index: 3;
    display: block;
    position: relative;
    float: left;
    top: 320px;
    left: 230px;
    width: 270px;
    height: 250px;
    overflow: hidden;   
    transition: .5s;
}

.content2:hover .overlay{
    height: 100%;
    transform: translateY(0%);
}

.content3{
    z-index: 3;
    display: block;
    position: relative;
    float: left;
    top: 250px;
    left: 240px;
    width: 270px;
    height: 250px;
    overflow: hidden;   
    transition: .5s;
}

.content3:hover .overlay{
    height: 100%;
    transform: translateY(0%);
}

.content4{
    position: absolute;
    z-index: 3;
    display: block;
    float: left;
    top: 10px;
    left: 230px;
    width: 550px;
    height: 320px;
    overflow: hidden;   
    transition: .5s;
}

.content4 .overlay .texto{
    position: absolute;
    top: 30%;
}

.content4:hover .overlay{
    height: 100%;
    transform: translateY(0%);
}


@media only screen and (max-height: 1080px){
    .arti1{
        height: 640px;
    }
    .arti2{
        height: 640px;
    }

    .footer{
        /* top: 850px; */
    }

    .content{
        top: 120px;
    }

    .content2{
        top: 340px;
    }

    .content3{
        top: 340px;
    }
    .content4 .overlay .texto{
        top: 33%;
    }
}


@media only screen and (max-height: 950px){
    .arti1{
        height: 600px;
    }
    .arti2{
        height: 600px;
    }
    .content{
        top: 90px;
        left: 180px;
        width: 340px;
        height: 360px;
    }

    .content2{
        top: 280px;
        width: 250px;
        height: 230px;
    }
    .content3{
        top: 280px;
        width: 250px;
        height: 230px;
    }
    .content4{
        width: 510px;
        height: 260px;
    }
}

@media only screen and (max-height: 850px){
    .arti1{
        height: 500px;
    }
    .arti2{
        height: 500px;
    }

    .footer{
        /* top: 680px; */
    }

    .content{
        top: 90px;
        left: 130px;
        width: 290px;
        height: 310px;
    }
    .content2{
        top: 250px;
        width: 220px;
        height: 200px;
    }   

    .content3{
        top: 250px;
        width: 220px;
        height: 200px;
    }

    .content4{
        width: 450px;
        height: 230px;
    }
}

@media only screen and (max-height: 780px){
    .arti1{
        height: 420px;
    }
    .arti2{
        height: 420px;
    }
    .footer{
        /* top: 650px; */
    }
}

@media only screen and (max-width: 2220px){

    .content4{

    }
}


/* Ajustes para alineación y distribución en una sola fila */
.herramientas-content-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    width: 100% !important;
    margin: 60px 0 0 0 !important;
    padding: 0 !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    gap: 25px !important;
}

.arti2-item {
    flex: 0 0 auto !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    background-color: rgba(16, 61, 80, 0.5) !important;
}

.arti1 {
    flex: 0 0 auto !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
}

/* Reset de estilos antiguos que pueden interferir */
.content, .content2, .content3, .content4 {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
}

@media screen and (min-width: 1900px) {
    .section .container-grid {
        max-width: 1880px !important;
        width: 1880px !important;
        padding: 0 20px !important;
        margin: 0 auto !important;
    }
    .arti1 {
        width: 420px !important;
        height: 420px !important;
    }
    .arti2-item {
        width: 340px !important;
        height: 340px !important;
    }
    .content, .content img { width: 100% !important; height: 100% !important; }
}

@media screen and (min-width: 1760px) and (max-width: 1899px) {
    .section .container-grid {
        max-width: 1720px !important;
        width: 1720px !important;
        padding: 0 20px !important;
        margin: 0 auto !important;
    }
    .arti1 {
        width: 420px !important;
        height: 420px !important;
    }
    .arti2-item {
        width: 340px !important;
        height: 340px !important;
    }
}

@media screen and (min-width: 1600px) and (max-width: 1759px) {
    .section .container-grid {
        max-width: 1640px !important;
        width: 1640px !important;
        padding: 0 20px !important;
        margin: 0 auto !important;
    }
    .arti1 {
        width: 420px !important;
        height: 420px !important;
    }
    .arti2-item {
        width: 340px !important;
        height: 340px !important;
    }
}

@media screen and (min-width: 1370px) and (max-width: 1599px) {
    .section .container-grid {
        max-width: 1330px !important;
        width: 1330px !important;
        padding: 0 20px !important;
        margin: 0 auto !important;
    }
    .arti1 {
        width: 320px !important;
        height: 320px !important;
    }
    .arti2-item {
        width: 280px !important;
        height: 280px !important;
    }
}

@media only screen and (max-width: 1310px){
    .arti1{
        left: 7px;
    }
}


@media only screen and (max-width: 1280px){
    .arti1{
        left: 0;
        width: 40%;
    }
    .arti2{
        width: 50%;
    }
    .content2{
        left: 100px;
    }
    .content3{
        left: 110px;
    }
    .content4{
        left: 100px;
    }
}

@media only screen and (max-width: 1230px){
    .arti1{
        left: 0;
        width: 47%;
    }
    .arti2{
        width: 47%;
    }
    .content2{
        left: 80px;
    }
    .content3{
        left: 90px;
    }
    .content4{
        left: 80px;
    }
}


@media only screen and (max-width: 1200px){
    .arti1{
        left: 0;
        width: 47%;
    }
    .arti2{
        width: 47%;
    }
}

@media only screen and (max-width: 1180px){
    body{
        background-size: cover;
        background-repeat: no-repeat;
    }
    .arti1{
        left: 0;
        width: 47%;
    }
    .arti2{
        width: 47%;
    }
    .content2{
        left: 70px;
    }
    .content3{
        left: 80px;
    }
    .content4{
        left: 70px;
    }
}

@media only screen and (max-width: 1160px){
    .arti1{
        left: 0;
        width: 47%;
    }
    .arti2{
        width: 47%;
    }
}


@media only screen and (max-width: 1100px){
    .arti1{
        width: 50%;
    }
    .arti2{
        width: 50%;
    }
    .content2{
        left: 30px;
    }
    .content3{
        left: 40px;
    }
    .content4{
        left: 30px;
    }
}

@media only screen and (max-width: 1000px){
    .arti1{
        width: 40%;
    }
    .arti2{
        width: 40%;
    }
    .content{
        top: 170px;
        left: 30px;
        width: 250px;
        height: 250px;
    }
    .content2{
        top: 300px;
        left: 10px;
        width: 180px;
        height: 180px;
    }
    .content3{
        top: 300px;
        left: 20px;
        width: 180px;
        height: 180px;
    }
    .content4{
        width: 370px;
        height: 190px;
        left: 10px;
        top: 100px;
    }
    .footer{
        /* top: 700px; */
    }
}

@media only screen and (max-width: 950px){
    .content4:hover .overlay{
        height: 100%;
        transform: translateY(0%);
    }
    .content4 .overlay .texto{
        position: absolute;
        top: 20%;
    }
    .content2 .overlay .texto{
        position: absolute;
        top: 20%;
    }
    .content3 .overlay .texto{
        position: absolute;
        top: 20%;
    }
    .arti1{
        height: 620px;
        width: 45%;
    }
    .arti2{
        height: 620px;
        width: 45%;
    }
    .content{
        top: 170px;
        left: 30px;
        width: 70%;
        height: 250px;
    }
    .content2{
        top: 60px;
        left: 10px;
        width: 100%;
        height: 180px;
    }
    .content3{
        top: 70px;
        left: 10px;
        width: 100%;
        height: 180px;
    }
    .content4{
        position: relative;
        width: 100%;
        height: 160px;
        left: 10px;
        top: 80px;
    }
    .espectro2{
        display: block;
    }
    .espectro{
        display: none;
    }
    .anuario2{
        display: block;
    }
    .anuario{
        display: none;
    }
    .trimestral2{
        display: block;
    }
    .trimestral{
        display: none;
    }

    .usuarioDs{
        display: none;
    }
    .usuarioDs2{
        display: block;
    }
    .encuestasusuarios2{
        display: block;
    }
    .encuestasusuarios{
        display: none;
    }
    .footer{
        /* top: 820px; */
    }
}




@media only screen and (max-width: 760px){
    .arti1{
        left: 0;
        margin-top: 30px;
        width: 100%;
        height: 390px;
    }
    .arti2{
        left: 0;
        margin-top: 5px;
        width: 100%;
        height: 600px;
    }
    .content{
        top: 70px;
        left: 0;
        width: 100%;
        height: 300px;
    }
    .content2{
        top: 15px;
        left: 0;
    }
    .content3{
        top: 25px;
        left: 0;
    }
    .content4{
        top: 35px;
        left: 0;
    }
    .informacion{
        display: none;
    }
    .informacion2{
        display: block;
    }
    .footer{
        /* top: 990px; */
    }
}

@media only screen and (max-width: 650px){
    .arti1{
        width: 100%;
    }
    .arti2{
        width: 100%;
    }
    #datosRapido2{
        display: block;
    }
    #datosRapido{
        display: none;
    }
    #indicadores{
        display: none;
    }
    #indicadores2{
        display: block;
    }
}

/* Quick Links positioning for EstadisticasGenero page */
/*.quick-links-container{
    position: absolute !important;
    width: 100% !important;
    display: flex !important;
    justify-content: flex-end !important;
    padding-right: 20px !important;
    margin: 0 !important;
    z-index: 10 !important;
    top: 800px !important;
}

@media only screen and (max-height: 1080px){
    .quick-links-container{
        top: 790px !important;
    }
}

@media only screen and (max-height: 950px){
    .quick-links-container{
        top: 790px !important;
    }
}

@media only screen and (max-height: 850px){
    .quick-links-container{
        top: 620px !important;
    }
}

@media only screen and (max-height: 780px){
    .quick-links-container{
        top: 610px !important;
    }
}

@media only screen and (max-width: 1000px){
    .quick-links-container{
        top: 640px !important;
    }
}

@media only screen and (max-width: 950px){
    .quick-links-container{
        top: 690px !important;
    }
}

@media only screen and (max-width: 760px){
    .quick-links-container{
        top: 930px !important;
    }
}*/

@media screen and (max-width: 1200px) {
    .section .container-grid {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 15px !important;
    }
    .herramientas-content-wrapper {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 30px !important;
        display: flex !important;
        width: 100% !important;
    }
    .arti1 {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 400px !important;
        height: auto !important;
        margin: 0 auto !important;
        position: relative !important;
        display: flex !important;
        justify-content: center !important;
        top: 0 !important;
        left: 0 !important;
    }
    .arti2-item {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 340px !important;
        height: 340px !important;
        margin: 0 auto !important;
        top: 0 !important;
        position: relative !important;
        padding-top: 0 !important;
    }
    .content, .content2, .content3, .content4 {
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
    }
}

@media screen and (max-width: 480px) {
    .section .container-grid {
        padding: 0 10px !important;
    }

    .section .container-grid .herramientas-content-wrapper {
        display: grid !important;
        grid-template-columns: 170px !important;
        grid-auto-rows: 170px !important;
        justify-content: center !important;
        align-content: start !important;
        row-gap: 14px !important;
        column-gap: 0 !important;
        width: 100% !important;
        margin: 12px auto 0 auto !important;
        padding: 0 !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti1 {
        display: none !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti2-item {
        width: 170px !important;
        height: 170px !important;
        max-width: 170px !important;
        max-height: 170px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        float: none !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        margin: 0 !important;
        overflow: hidden !important;
        border-radius: 0 !important;
        border: none !important;
        background-color: rgba(16, 61, 80, 0.5) !important;
        box-shadow: none !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        z-index: 5 !important;
    }

    .section .container-grid .herramientas-content-wrapper .content2 {
        background-image: url("../image/encuestasusuarios2.png") !important;
    }

    .section .container-grid .herramientas-content-wrapper .content3 {
        background-image: url("../image/empleo-08.png") !important;
    }

    .section .container-grid .herramientas-content-wrapper .content4 {
        background-image: url("../image/indicadoresinformacion-08.png") !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti2-item > a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti2-item img,
    .section .container-grid .herramientas-content-wrapper .arti2-item .overlay,
    .section .container-grid .herramientas-content-wrapper .arti2-item .texto {
        display: none !important;
    }
}



/* XS_OVERLAY_STANDARD: configuracion homologada para overlays en movil */
@media screen and (max-width: 480px) {
    .overlay,
    .section .container-grid .herramientas-content-wrapper .arti2-item .overlay {
        display: block !important;
        position: absolute !important;
        top: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 0 !important;
        opacity: 1 !important;
        background-color: rgba(13, 49, 64, 0.6) !important;
        overflow: hidden !important;
        transition: height 0.28s ease !important;
        border-radius: 0 !important;
    }

    .texto,
    .overlay .texto,
    .section .container-grid .herramientas-content-wrapper .arti2-item .texto {
        display: block !important;
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 3px !important;
        color: #ffffff !important;
        font-family: 'Noto Sans', sans-serif !important;
        font-size: 8.6px !important;
        line-height: 1.08 !important;
        text-align: left !important;
        box-sizing: border-box !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    .content:hover .overlay,
    .content2:hover .overlay,
    .content3:hover .overlay,
    .content4:hover .overlay,
    .conten3:hover .overlay,
    .conten4:hover .overlay,
    .conten5:hover .overlay,
    .conten6:hover .overlay,
    .conten7:hover .overlay,
    .conten8:hover .overlay,
    .estadistica1:hover .overlay,
    .estadistica2:hover .overlay,
    .estadistica3:hover .overlay,
    .estadistica4:hover .overlay,
    .estadistica5:hover .overlay,
    .estadistica6:hover .overlay,
    .estadistica7:hover .overlay,
    .estadistica8:hover .overlay,
    .contentX:hover .overlay,
    .contentY:hover .overlay,
    .arti2-item:hover .overlay {
        height: 100% !important;
    }
}
/* SM_LAYOUT_481_767_GRID2_SURFACE_DUO */
@media screen and (min-width: 481px) and (max-width: 767px) {
    .section .container-grid {
        padding: 0 12px !important;
    }

    .section .container-grid .herramientas-content-wrapper,
    .herramientas-content-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-rows: 190px !important;
        justify-content: center !important;
        justify-items: center !important;
        align-content: start !important;
        gap: 14px !important;
        width: min(540px, 100%) !important;
        margin: 14px auto 0 auto !important;
        padding: 0 !important;
        top: 0 !important;
        left: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti1,
    .arti1 {
        display: none !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti2-item,
    .arti2-item {
        width: 100% !important;
        max-width: 250px !important;
        min-height: 190px !important;
        height: 190px !important;
        margin: 0 !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        float: none !important;
        overflow: hidden !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background-color: rgba(16, 61, 80, 0.5) !important;
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti2-item > a,
    .arti2-item > a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
        z-index: 2 !important;
    }
}


/* SM_OVERLAY_STANDARD_481_767: overlays homologados para Surface Duo */
@media screen and (min-width: 481px) and (max-width: 767px) {
    .overlay,
    .section .container-grid .herramientas-content-wrapper .arti2-item .overlay {
        display: block !important;
        position: absolute !important;
        top: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 0 !important;
        opacity: 1 !important;
        background-color: rgba(13, 49, 64, 0.6) !important;
        overflow: hidden !important;
        transition: height 0.28s ease !important;
        border-radius: 0 !important;
    }

    .texto,
    .overlay .texto,
    .section .container-grid .herramientas-content-wrapper .arti2-item .texto {
        display: block !important;
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 5px !important;
        color: #ffffff !important;
        font-family: 'Noto Sans', sans-serif !important;
        font-size: 10.4px !important;
        line-height: 1.12 !important;
        text-align: left !important;
        box-sizing: border-box !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    .content:hover .overlay,
    .content2:hover .overlay,
    .content3:hover .overlay,
    .content4:hover .overlay,
    .conten3:hover .overlay,
    .conten4:hover .overlay,
    .conten5:hover .overlay,
    .conten6:hover .overlay,
    .conten7:hover .overlay,
    .conten8:hover .overlay,
    .estadistica1:hover .overlay,
    .estadistica2:hover .overlay,
    .estadistica3:hover .overlay,
    .estadistica4:hover .overlay,
    .estadistica5:hover .overlay,
    .estadistica6:hover .overlay,
    .estadistica7:hover .overlay,
    .estadistica8:hover .overlay,
    .contentX:hover .overlay,
    .contentY:hover .overlay,
    .arti2-item:hover .overlay,
    .arti2-item:active .overlay,
    .arti2-item:focus-within .overlay,
    .arti2-item > a:hover .overlay,
    .arti2-item > a:active .overlay,
    .arti2-item > a:focus .overlay,
    .arti2-item > a:focus-visible .overlay {
        height: 100% !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .section .container-grid {
        padding: 0 12px !important;
    }

    .section .container-grid .herramientas-content-wrapper,
    .herramientas-content-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-rows: 190px !important;
        justify-content: center !important;
        justify-items: center !important;
        align-content: start !important;
        gap: 14px !important;
        width: min(540px, 100%) !important;
        margin: 14px auto 0 auto !important;
        padding: 0 !important;
        top: 0 !important;
        left: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti1,
    .arti1 {
        display: none !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti2-item,
    .arti2-item {
        width: 100% !important;
        max-width: 250px !important;
        min-height: 190px !important;
        height: 190px !important;
        margin: 0 !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        float: none !important;
        overflow: hidden !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background-color: rgba(16, 61, 80, 0.5) !important;
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti2-item > a,
    .arti2-item > a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
        z-index: 2 !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .overlay,
    .section .container-grid .herramientas-content-wrapper .arti2-item .overlay {
        display: block !important;
        position: absolute !important;
        top: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 0 !important;
        opacity: 1 !important;
        background-color: rgba(13, 49, 64, 0.6) !important;
        overflow: hidden !important;
        transition: height 0.28s ease !important;
        border-radius: 0 !important;
    }

    .texto,
    .overlay .texto,
    .section .container-grid .herramientas-content-wrapper .arti2-item .texto {
        display: block !important;
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 5px !important;
        color: #ffffff !important;
        font-family: 'Noto Sans', sans-serif !important;
        font-size: 10.4px !important;
        line-height: 1.12 !important;
        text-align: left !important;
        box-sizing: border-box !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    .content:hover .overlay,
    .content2:hover .overlay,
    .content3:hover .overlay,
    .content4:hover .overlay,
    .conten3:hover .overlay,
    .conten4:hover .overlay,
    .conten5:hover .overlay,
    .conten6:hover .overlay,
    .conten7:hover .overlay,
    .conten8:hover .overlay,
    .estadistica1:hover .overlay,
    .estadistica2:hover .overlay,
    .estadistica3:hover .overlay,
    .estadistica4:hover .overlay,
    .estadistica5:hover .overlay,
    .estadistica6:hover .overlay,
    .estadistica7:hover .overlay,
    .estadistica8:hover .overlay,
    .contentX:hover .overlay,
    .contentY:hover .overlay,
    .arti2-item:hover .overlay,
    .arti2-item:active .overlay,
    .arti2-item:focus-within .overlay,
    .arti2-item > a:hover .overlay,
    .arti2-item > a:active .overlay,
    .arti2-item > a:focus .overlay,
    .arti2-item > a:focus-visible .overlay {
        height: 100% !important;
    }
}

/* MD_LAYOUT_1024_1470_ESTADISTICAS_GENERO:
   asegura visibilidad de la tarjeta principal y 3 tarjetas de acceso */
@media screen and (min-width: 1024px) and (max-width: 1470px), screen and (min-width: 1471px) and (max-width: 1919px) {
    .section .container-grid {
        max-width: 980px !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 12px !important;
    }

    .section .container-grid .herramientas-content-wrapper,
    .herramientas-content-wrapper {
        display: grid !important;
        grid-template-columns: 220px 168px 168px 168px !important;
        grid-auto-rows: 168px !important;
        justify-content: center !important;
        align-content: start !important;
        justify-items: center !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        margin: 12px auto 0 auto !important;
        padding: 0 !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti1,
    .arti1 {
        display: block !important;
        width: 220px !important;
        height: 220px !important;
        margin: 0 !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        float: none !important;
        grid-column: 1 / 2 !important;
        grid-row: 1 / 2 !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti1 .content,
    .arti1 .content {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        float: none !important;
        overflow: hidden !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti2-item,
    .arti2-item {
        width: 168px !important;
        max-width: 168px !important;
        min-width: 168px !important;
        height: 168px !important;
        min-height: 168px !important;
        max-height: 168px !important;
        margin: 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        float: none !important;
        overflow: hidden !important;
        border: none !important;
        border-radius: 0 !important;
        background-color: rgba(16, 61, 80, 0.5) !important;
        box-shadow: none !important;
        transform: none !important; /* anula escala global para control local */
    }

    .section .container-grid .herramientas-content-wrapper .content2,
    .section .container-grid .herramientas-content-wrapper .content3,
    .section .container-grid .herramientas-content-wrapper .content4,
    .content2, .content3, .content4 {
        top: auto !important;
        left: auto !important;
    }

    .section .container-grid .herramientas-content-wrapper .content2 {
        grid-column: 2 / 3 !important;
        grid-row: 1 / 2 !important;
    }

    .section .container-grid .herramientas-content-wrapper .content3 {
        grid-column: 3 / 4 !important;
        grid-row: 1 / 2 !important;
    }

    .section .container-grid .herramientas-content-wrapper .content4 {
        grid-column: 4 / 5 !important;
        grid-row: 1 / 2 !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti2-item > a,
    .arti2-item > a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti2-item img,
    .section .container-grid .herramientas-content-wrapper .arti1 img {
        display: block !important;
    }

    /* En este rango se muestra una sola imagen por tarjeta */
    .section .container-grid .herramientas-content-wrapper .arti2-item img.encuestasusuarios2,
    .section .container-grid .herramientas-content-wrapper .arti2-item img.usuarioDs2,
    .section .container-grid .herramientas-content-wrapper .arti2-item img.endutih2 {
        display: none !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti2-item img.encuestasusuarios,
    .section .container-grid .herramientas-content-wrapper .arti2-item img.usuarioDs,
    .section .container-grid .herramientas-content-wrapper .arti2-item img.endutih {
        display: block !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti2-item .overlay .texto,
    .section .container-grid .herramientas-content-wrapper .arti2-item .texto {
        font-size: 10px !important;
        line-height: 1.12 !important;
        padding: 6px !important;
    }
}

/* ESTADISTICAS_GENERO_CENTER_WITHOUT_STATIC_TILE:
   remove placeholder tile (arti1) and center actionable cards only. */
@media screen and (min-width: 1024px) {
    .section .container-grid .herramientas-content-wrapper .arti1,
    .arti1 {
        display: none !important;
    }

    .section .container-grid .herramientas-content-wrapper,
    .herramientas-content-wrapper {
        display: grid !important;
        justify-content: center !important;
        justify-items: center !important;
        align-items: center !important;
        align-content: start !important;
        width: 100% !important;
        margin: 12px auto 0 auto !important;
        padding: 0 !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti2-item,
    .arti2-item {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        float: none !important;
        margin: 0 !important;
    }

    .section .container-grid .herramientas-content-wrapper .content2 {
        grid-column: 1 / 2 !important;
        grid-row: 1 / 2 !important;
    }

    .section .container-grid .herramientas-content-wrapper .content3 {
        grid-column: 2 / 3 !important;
        grid-row: 1 / 2 !important;
    }

    .section .container-grid .herramientas-content-wrapper .content4 {
        grid-column: 3 / 4 !important;
        grid-row: 1 / 2 !important;
    }
}

/* ESTADISTICAS_GENERO_HOMOLOGACION_HERRAMIENTAS_MD_LG:
   same card size as HerramientasCRT for 1024-1919, with 3 columns / 1 row. */
@media screen and (min-width: 1024px) and (max-width: 1919px) {
    .section .container-grid {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 20px !important;
    }

    .section .container-grid .herramientas-content-wrapper,
    .herramientas-content-wrapper {
        grid-template-columns: repeat(3, minmax(180px, 220px)) !important;
        gap: 18px !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti2-item,
    .arti2-item {
        width: 100% !important;
        max-width: 220px !important;
        min-height: 180px !important;
        height: 220px !important;
    }
}

/* ESTADISTICAS_GENERO_HOMOLOGACION_HERRAMIENTAS_XL:
   same visual card scale as HerramientasCRT for >=1920, keeping 3 columns / 1 row. */
@media screen and (min-width: 1920px) {
    .section .container-grid .herramientas-content-wrapper,
    .herramientas-content-wrapper {
        grid-template-columns: repeat(3, minmax(280px, 340px)) !important;
        gap: 25px !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti2-item,
    .arti2-item {
        width: 100% !important;
        max-width: 340px !important;
        min-height: 280px !important;
        height: 340px !important;
    }
}


/* DESKTOP_OVERLAY_COLOR_STANDARD_1920 */
@media screen and (min-width: 1024px) {
    .overlay .texto,
    .section .container-grid .herramientas-content-wrapper .arti2-item .overlay .texto,
    .section .container-grid .herramientas-content-wrapper .arti2-item .texto {
        color: #ffffff !important;
    }
}

/* OVERLAY_COLOR_STANDARD_1920_ALL_RANGES */
@media screen and (max-width: 1023px) {
    .overlay .texto,
    .section .container-grid .herramientas-content-wrapper .arti2-item .overlay .texto,
    .section .container-grid .herramientas-content-wrapper .arti2-item .texto {
        color: #ffffff !important;
    }
}

/* ESTADISTICAS_GENERO_CARD_SCALE_PLUS_60_1201_1919 */
@media screen and (min-width: 1201px) and (max-width: 1919px) {
    .section .container-grid {
        padding-top: 120px !important;
        box-sizing: border-box !important;
    }

    .section .container-grid .herramientas-content-wrapper,
    .herramientas-content-wrapper {
        grid-template-columns: repeat(3, minmax(288px, 352px)) !important;
        gap: 25px !important;
        margin-top: 0 !important;
        transform: translateY(24px) !important;
    }

    .section .container-grid .herramientas-content-wrapper .arti2-item,
    .arti2-item {
        width: 100% !important;
        max-width: 352px !important;
        min-height: 288px !important;
        height: 352px !important;
    }
}
