/*
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: 70px;
    width: 35%;
    height: 800px;
    float: left;
    left: 20px;
    transition: .5s ease;
}

.arti2{
    z-index: 2;
    position: relative;
    margin-top: 70px;
    width: 60%;
    height: 800px;
    float: left;
    transition: .5s ease;
}

.footer{
    text-align: center;
    z-index: 3;
    width: 100%;
    position: relative;
    clear: both;
    margin-top: 10px;
    padding-bottom: 20px;
    font-size: 13px;
    color: #ffffff;
    font-family: 'Noto Sans', sans-serif; 
}

#letaFoo{
    color: #E8BB00;
}

.indicadores3{
    display: none;
}

.indicadores2{
    display: none;
}

.mexContexto2{
    display: none;
}

.comparativo2{
    display: none;
}


/**
Elemtos Home
**/



.overlay{
    position: absolute;
    background-color: rgba(13, 49, 64, 0.6);
    width: 100%;  
    height: 0;
    bottom:  0px;
    opacity: .9;
    transition: .5s;
    border-radius: 2px;
}

.texto{
    font-family: 'Noto Sans', sans-serif; 
    text-align: justify;
    color: white;
    transition: .5s;
    padding: 20px;
    font-size: 15px;
}

#datosRapido2{
    display: none;
}

#indicadores2{
    display: none;
}

.content{
    z-index: 3;
    display: block;
    position: relative;
    float: left;
    top: 20px;
    left: 190px;
    width: 330px;
    height: 290px;
    overflow: hidden;
    transition: .5s;
}



.content2{
    z-index: 3;
    display: block;
    position: absolute;
    float: left;
    top: -20px;
    left: 310px;
    width: 400px;
    height: 230px;
    overflow: hidden;   
    transition: .5s;
}

.content2 .overlay .texto{
    position: absolute;
    top: 30%;
}

.content2:hover .overlay{
    height: 100%;
    transform: translateY(0%);
}

.content3{
    z-index: 3;
    display: block;
    position: absolute;
    float: left;
    top: 220px;
    left: 310px;
    width: 400px;
    height: 230px;
    overflow: hidden;   
    transition: .5s;
}

.content3:hover .overlay{
    height: 100%;
    transform: translateY(0%);
}

.content3 .overlay .texto{
    position: absolute;
    top: 30%;
}




@media only screen and (max-height: 1080px){
    .arti1{
        height: 640px;
    }
    .arti2{
        height: 640px;
    }

    .content{
        top: 120px;
        width: 410px;
        height: 360px;
    }

    .content2{
        top: -20px;
        width: 540px;
        height: 300px;
    }

    .content3{
        top: 290px;
        width: 540px;
        height: 300px;
    }
}


@media only screen and (max-height: 950px){
    .arti1{
        height: 600px;
    }
    .arti2{
        height: 600px;
    }
    .content{
        top: 70px;
        left: 180px;
        width: 360px;
        height: 340px;
    }

    .content2{
        top: -30px;
        width: 470px;
        height: 260px;
    }
    .content3{
        top: 240px;
        width: 470px;
        height: 260px;
    }
}

@media only screen and (max-height: 850px){
    .arti1{
        height: 500px;
    }
    .arti2{
        height: 500px;
    }
    .content{
        top: 30px;
        left: 130px;
        width: 330px;
        height: 290px;
    }
    .content2{
        top: -30px;
        width: 430px;
        height: 230px;
    }

    .content3{
        top: 210px;
        width: 430px;
        height: 230px;
    }
}

@media only screen and (max-height: 780px){
    .arti1{
        height: 420px;
    }
    .arti2{
        height: 420px;
    }
    .content{
        top: 10px;
    }
}
@media screen and (min-width: 1900px) {
    .section .container-grid {
        display: flex !important;
        justify-content: flex-start !important;
        width: 1840px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    .arti1 {
        left: auto !important;
        width: 330px !important;
        float: none !important;
        margin-top: 0 !important;
        margin-right: 0 !important;
    }
    .arti2 {
        width: 820px !important;
        float: none !important;
        left: auto !important;
        margin-top: 0 !important;
        margin-left: auto !important;
    }
    .content {
        left: 0 !important;
    }
    .content2 {
        position: absolute !important;
        top: -20px !important;
        right: 0 !important;
        left: auto !important;
    }
    .content3 {
        position: absolute !important;
        top: 220px !important;
        right: 0 !important;
        left: auto !important;
    }
}

@media only screen and (max-width: 1680px) {
    .section .container-grid {
        display: flex !important;
        justify-content: flex-start !important;
        width: 1700px !important;
        margin: 0 auto !important;
        padding: 0 30px !important;
    }
    .arti1 {
        left: auto !important;
        width: 330px !important;
        float: none !important;
        margin-top: 0 !important;
        margin-right: 0 !important;
    }
    .arti2 {
        width: 820px !important;
        float: none !important;
        left: auto !important;
        margin-top: 0 !important;
        margin-left: auto !important;
    }
    .content {
        left: 0 !important;
    }
    .content2 {
        position: absolute !important;
        top: -20px !important;
        right: 0 !important;
        left: auto !important;
    }
    .content3 {
        position: absolute !important;
        top: 220px !important;
        right: 0 !important;
        left: auto !important;
    }
    .texto{
        font-size: 12px;
    }
}

@media only screen and (max-width: 1400px){

    .content{
        left: 140px;
    }
}

@media only screen and (max-width: 1370px){
    .section .container-grid {
        display: flex !important;
        justify-content: flex-start !important;
        width: 1326px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    .arti1 {
        left: auto !important;
        width: 280px !important;
        float: none !important;
        margin-top: 0 !important;
        margin-right: 0 !important;
    }
    .arti2 {
        width: 650px !important;
        float: none !important;
        left: auto !important;
        margin-top: 0 !important;
        margin-left: auto !important;
    }
    .content {
        left: 0 !important;
        width: 280px !important;
    }
    .content2 {
        position: absolute !important;
        top: -20px !important;
        right: 0 !important;
        left: auto !important;
        width: 360px !important;
    }
    .content3 {
        position: absolute !important;
        top: 190px !important;
        right: 0 !important;
        left: auto !important;
        width: 360px !important;
    }
}

@media only screen and (max-width: 1300px){
    .arti1{
        left: 7px;
    }
    .content{
        left: 120px;
    }
    .content2{
        width: 360px;
        height: 190px;
    }
    .content3{
        width: 360px;
        height: 190px;
    }
}


@media only screen and (max-width: 1283px){


    .arti1{
        left: 0;
        width: 35%;

    }
    .arti2{
        width: 60%;

    }

    .content{
        left: 120px;
    }
    .content2{
        left: 150px;
        top: 10px;
        width: 360px;
        height: 180px;
    }
    .content3{
        left: 150px;
        top: 200px;
        width: 360px;
        height: 180px;
    }


}

@media only screen and (max-width: 1234px){
    .arti1{
        left: 0;
        width: 40%;

    }
    .arti2{
        width: 47%;

    }
    .content{
        left: 100px;
        top: 50px;
    }
    .content2{
        left: 100px;
        top: 20px;
        width: 360px;
        height: 180px;
    }
    .content3{
        left: 100px;
        top: 210px;
        width: 360px;
        height: 180px;
    }

}


@media only screen and (max-width: 1200px){

    .arti1{
        left: 0;
        width: 47%;
        height: 650px;
    }
    .arti2{
        width: 47%;
        height: 650px;
    }

}

@media only screen and (max-width: 1180px){
    body{
        /* background-image: url(../image/fondoCRT.jpg);*/
        background-size: cover;
        background-repeat: no-repeat;
    }


    .arti1{
        left: 0;
        width: 47%;
        height: 650px;
    }
    .arti2{
        width: 47%;
        height: 650px;
    }

    .content{
        left: 50px;
    }
    .content2{
        left: 70px;
    }
    .content3{
        left: 70px;
    }

}

@media only screen and (max-width: 1160px){


    .arti1{
        left: 0;
        width: 47%;
        height: 650px;
    }
    .arti2{
        width: 47%;
        height: 650px;
    }


}


@media only screen and (max-width: 1100px){
    .mexContexto2{
        display: block;
    }
    .mexContexto{
        display: none;
    }
    .comparativo2{
        display: block;
    }
    .comparativo{
        display: none;
    }

}

@media only screen and (max-width: 1000px){

    .content{
        left: 40px;
    }
    .content2{
        width: 360px;
        height: 180px;
    }
    .content3{
        width: 360px;
        height: 180px;
    }
}

@media only screen and (max-width: 950px){

    .content3:hover .overlay{
        height: 100%;
        transform: translateY(0%);
    }
    .content2:hover .overlay{
        height: 100%;
        transform: translateY(0%);
    }

    .content2 .overlay .texto{
        position: absolute;
        top: 25%;
    }    
    .content3 .overlay .texto{
        position: absolute;
        top: 25%;
    }
    .content2{
        left: 20px;
    }
    .content3{
        left: 20px;
    }

}

@media only screen and (max-width: 870px){
    .content{
        left: 0;
        width: 100%;
    }
    .content2{
        left: 10px;
        width: 90%;
    }
    .content3{
        left: 10px;
        width: 90%;
    }

}
@media only screen and (max-width: 830px){
}

@media only screen and (max-width: 760px){

    .arti1{
        left: 0;
        margin-top: 20px;
        width: 100%;
        height: 400px;

    }
    .arti2{
        left: 0;
        margin-top: 5px;
        width: 100%;
        height: 450px;

    }
    .content{
        top: 80px;
        left: 0;
        height: 250px;
        width: 100%;

    }
    .content2{
        top: 15px;
        width: 100%;
        left: 0;
    }
    .content3{
        top: 215px;
        width: 100%;
        left: 0;
    }
    .indicadores2{
        display: block;
    }
    .indicadores{
        display: none;
    }
}

@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;
    }

    .indicadores3{
        display: block;
    }
    .indicadores2{
        display: none;
    }

}

/* Quick Links positioning - use absolute positioning synced with footer */
/* .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: 780px !important;
} */

/* @media only screen and (max-height: 1080px){
    .quick-links-container{
        top: 770px !important;
    }
} */

/* @media only screen and (max-height: 950px){
    .quick-links-container{
        top: 770px !important;
    }
} */

/* @media only screen and (max-height: 850px){
    .quick-links-container{
        top: 740px !important;
    }
} */

/* @media only screen and (max-height: 780px){
    .quick-links-container{
        top: 740px !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: 770px !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;
    }
}


/* 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;
    }
}
