@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@1,700&display=swap');

:root {
    --white-color: #FFFFFF;
    --primary-color: #235AA6;
    --section-bg-color: #F9F9F9;
    --dark-color: #000000;
    --title-color: #565758;
    --p-color: #717275;
    --border-color: #eaeaea;
    --body-font-family: 'Open Sans', sans-serif;
    --h1-font-size: 48px;
    --h2-font-size: 36px;
    --h3-font-size: 32px;
    --h4-font-size: 28px;
    --h5-font-size: 24px;
    --h6-font-size: 22px;
    --p-font-size: 18px;
    --menu-font-size: calc(1.25vw);
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

@media screen and (min-width: 1349px) {
    :root {
        --menu-font-size: 16px;
    }
}

@media screen and (max-width: 1349px) {
    :root {
        --menu-font-size: 15px;
    }
}

* {
    font-family: 'Montserrat', serif;
}

body {
    font-family: 'Montserrat', serif;
}

/********************************************************************** */
/****************** BARRA DE NAVEGACIÓN******************************** */
/********************************************************************** */

/********************************************************************** */
/************* END  BARRA DE NAVEGACIÓN  ****************************** */
/********************************************************************** */

/*****************************************************************/


/* Iconos enlaces */

.col-md-4.mb-4.px-4 .row {
    border: 1px solid gainsboro;
    border-radius: 5px;
    box-shadow: 3px 4px 10px -5px rgba(0, 0, 0, 0.39);
    -webkit-box-shadow: 3px 4px 10px -5px rgba(0, 0, 0, 0.39);
    -moz-box-shadow: 3px 4px 10px -5px rgba(0, 0, 0, 0.39);
}

.icon-enlaces {
    border-radius: 50%;
    margin: 20px 25px;
    padding: 15px;
    color: white;
    background-color: #235AA6 !important;
}

.icon-enlaces img {
    width: 100%;
    transition: transform .5s;
}

@media screen and (max-width: 1349px) {
    .icon-enlaces {
        padding: 7.5px;
        width: 50px;
        height: 50px;
    }
}

.col-md-4.mb-4.px-4 a {
    color: #000;
}

.col-md-4.mb-4.px-4 .row .icon-enlaces {
    box-shadow: 0;
    transition: box-shadow .5s, -webkit-box-shadow .5s;
}

.col-md-4.mb-4.px-4 .row:hover .icon-enlaces {
    box-shadow: 0px 0px 0px 3px rgba(35, 90, 166, 0.51);
    -webkit-box-shadow: 0px 0px 0px 3px rgba(35, 90, 166, 0.51);
    -moz-box-shadow: 0px 0px 0px 3px rgba(35, 90, 166, 0.51);
}

.col-md-4.mb-4.px-4 .row:hover .icon-enlaces img {
    transform: scale(1.2);
}


/*****************************************************************/

.main-content {
    height: 60px;
}

.navbar-brand.principal {
    min-width: 90px;
    width: 30vw;
    max-width: 100px;
    position: relative;
}

.navbar-brand.principal img {
    margin-top: -25px;
    width: 80%;
    left: 15px;
    background: #FFF;
    position: absolute;
    border-radius: 2px;
    padding: 15px;
}

@media screen and (max-width: 1500px) {
    .main-content {
        height: 45px;
    }

    .etepa {
        min-width: 50px !important;
        /* width: 90vw; */
        position: relative;
    }

    .etepa img {
        margin-top: 0.5px;
        width: 100%;
        left: 30px;
        position: absolute;
    }

    .navbar-brand.principal {
        min-width: 168px !important;
        /* width: 90vw; */
        position: relative;
    }

    .navbar-brand.principal img {
        margin-top: 0.5px;
        width: 100%;
        left: 30px;
        background: #FFF;
        position: absolute;
    }
}

/* funcionamiento básico del sistema de pestañas */
#tabs_up {
    /* width: 100%; */
    padding-left: 50px;
    padding-right: 50px;
    margin-top: -50px;
    z-index: 1;
    position: absolute;
}

#tabs{
    margin: 24px;
    position: relative;
}
  
span.diana {
    position: fixed;
    display: none;
}
  
.diana + a {
    display: block;
    float: left;
    height: 32px;
    line-height: 32px;
    padding: 0 10px;
    /* border: 1px solid #ddd; */
    margin-bottom: -1px;
    border-radius: 8px 8px 0 0;
    margin-right: 2px;
    text-decoration: none;
}

/* UP */
#uno + a, #uno:target ~ #pnl_1 {
    color: #fff;
    background-color: #008bc5;
}
#dos + a, #dos:target ~ #pnl_2 {
    color: #fff;
    background-color: #235aa6;
}
#tres + a, #tres:target ~ #pnl_3 {
    color: #fff;
    background-color: #ba3c35;
}
#cuatro + a, #cuatro:target ~ #pnl_4 {
    color: #235aa6;
    background-color: #fff;
}
  
#pnl_1, #pnl_2, #pnl_3 {
    position: absolute;
    top: 31px;
    left: 0;
    border: none;
    clear: both;
    /* overflow: hidden; */
}

#uno + a, #uno:target ~ #pnl_1 {
    color: #fff;
    background-color: #008bc5;
}
#dos + a, #dos:target ~ #pnl_2 {
    color: #fff;
    background-color: #235aa6;
}
#tres + a, #tres:target ~ #pnl_3 {
    color: #fff;
    background-color: #ba3c35;
}
#cuatro + a, #cuatro:target ~ #pnl_4 {
    color: #235aa6;
    background-color: #fff;
}
  
#pnl_1, #pnl_2, #pnl_3{
    position: absolute;
    top: 31px;
    left: 0;
    border: none;
    clear: both;
    /* overflow: hidden; */
}
  
/* #pnl_1 > div, #pnl_2 > div, #pnl_3 > div{
    opacity: 0;
    transition: all 0.1s ease;
    padding: 30px;
}
  
#uno:target ~ #pnl_1, #dos:target ~ #pnl_2, #tres:target ~ #pnl_3{
    position: static;
}

#uno:target ~ #pnl_1 > div, #dos:target ~ #pnl_2 > div, #tres:target ~ #pnl_3 > div{
    opacity: 1;
    transition: all 1s ease; 
}*/

/* ============================================FOOTER============================================= */

.footer-background {
    background-color: #235aa6;
}

.footer-background .creditos-footer {
    background-color: gray;
    font-size: 1.5em;
    font-weight: bold;
    padding: 5px 0px;
}

@media (max-width: 1349px) {
    .footer-background .creditos-footer {
        font-size: 0.75em;
    }
}

.imagen-gobierno-footer {
    margin-top: -10px;
}

.footer-enlaces {
    font-size: 0.85em;
    text-align: left;
}


/* .footer-enlaces hr {
    width: 60%;
    margin-left: 40%;
    background-color: rgb(255, 255, 255);
    height: 2px;
} */

.footer-enlaces p {
    margin-bottom: 1px;
}

.informacion-gobierno {
    font-size: 0.85em;
    margin-bottom: 1px;
}

@media (max-width: 1349px) {
    .informacion-gobierno:nth-child(5) {
        margin-bottom: 15px;
    }
}

.aviso-privacidad {
    font-size: 0.75em;
}

@media (max-width: 1349px) {
    .aviso-privacidad {
        margin-top: 15px;
    }
}

.aviso-privacidad h6 {
    font-size: 1em;
}

/* ============================================ENLACES QUE TE PUEDEN INTERESAR============================================= */

.iconos-enlaces-interesantes {
    font-size: 3.5em;
    color: #BA3C35;
}

.texto-enlaces-interesantes {
    font-size: 0.75em;
}

.noticias-section {
    background-color: #235AA6;
}

.enlaces-internos-section h4 {
    margin-top: -40px;
    color: #235AA6;
    font-weight: 600;
}

.enlaces-internos-section hr {
    background-color: #235AA6;
    width: 60%;
    margin-left: 24%;
    margin-right: 15%;
    margin-top: 0;
    margin-bottom: 50px;
    height: 3px !important;
    opacity: 1;
}


/* ===========================================Redes Sociales================================================================ */


/* 
#235AA6 - Azul fuerte
#008BC5 - Azul Claro
#38ADA9 - Verde Aqua
#BA3C35 - Rojo
*/


/* ============================================ENLACES QUE TE PUEDEN INTERESAR============================================= */

.informacion-content {
    padding-left: 80px;
    padding-right: 80px;
    margin-top: -50px;
    z-index: 1;
}

.informacion-content .tarjeta-informacion {
    padding-top: 15px;
    padding-bottom: 15px;
    min-width: 360px;
    z-index: 1;
    min-height: 360px;
    transition: all 1s;
}

.informacion-content .tarjeta-informacion.br-s {
    border-radius: 0 0 0 4px;
}

.informacion-content .tarjeta-informacion.br-e {
    border-radius: 0 0 4px 0;
}

.informacion-content h2 {
    font-weight: var(--font-weight-semibold);
    font-size: 1.25em;
    padding-left: 15px;
    width: 100%;
    margin-bottom: 3px;
}

.hr-title {
    margin-left: 24%;
    margin-right: 15%;
    width: 60%;
    margin-top: 0;
    margin-bottom: 0;
    height: 2px !important;
    background: var(--white-color) !important;
    opacity: 1;
}

.tarjeta-content .enlaces {
    display: block !important;
    margin-bottom: 22px;
    color: var(--white-color);
    font-size: 1em
}

.tarjeta-content .enlaces i {
    margin-left: 8px;
    margin-right: 15px;
}

.tarjeta-content .enlaces a {
    color: var(--white-color);
}

@media screen and (max-width: 1050px) {
    .tarjeta-content .enlaces {
        font-size: calc(.95em);
    }
}

@media screen and (max-width: 880px) {
    .informacion-content {
        margin-top: 0;
    }
}


/* =======================FLOAT FLAG ============================== */

.img-float-flag {
    position: fixed;
    width: 15vw;
    min-width: 60px;
    left: 0;
    z-index: .91;
    top: -5px;
}
.img-float-flag > *{
    position: absolute;
    top: 0;
}

#banderin2{
    position:absolute;
    bottom:0;
    right:0;
    transform:rotate(180deg);
    width:240px;
}
@media screen and (max-width:1349px){
    .img-float-flag #banderin1{
        width: 150px;
    }
    #banderin2{
        width:150px;
    }

}
/* .papel-picado {
    position: absolute;
    top: 55px;
    width: calc(100vw - (100vw - 100%));
    height: 6vw;
    z-index: 101;
    background-image: url("/archivo-nuevo/images/icons/papel_picado.png");
    background-repeat: repeat-x;
    background-size: 20vw;

} */

@media screen and (max-width: 1400px) {

    /* .papel-picado {
        top: 45px;
        height: 25vw;
        background-size: 30vw;
    } */
    .img-float-flag {
        width: 25vw;
    }
    
}

.img-float-flag img {
    width: 100%;
    /* display: none; */
}

.cover {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-image: url('/archivo-nuevo/images/logos/marca.png');
    background-size: 20vw;
    background-repeat: no-repeat;
    background-position: 100% 100%;

    z-index: 90000;
    display: grid;
    place-items: center;
    animation: ocultar 4.5s forwards;
}

.cover09 {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-image: url('/archivo-nuevo/images/index-header/septiembre2022/fondo.png');
    background-position: center;
    background-repeat: repeat;
    background-position: 100% 100%;
    scrollbar-gutter: stable both-edges;
    z-index: 90000;
    display: grid;
    animation: ocultar 4s forwards;
    grid-template-rows: auto 1fr auto;
    font-family: 'Montserrat', serif;
}

.cover09 .bandera{
    position: absolute;
    width: 40vw;

}
.cover09 .bandera img{
    width: 100%;

}
.cover09 .bandera.inverse{
    bottom: 0;
    right: 0;
    transform: rotate(180deg);
}
.cover09 .cover-header{
    position: relative;
}
.cover09 .cover-header>div{
    position: absolute;
    right: 0;
    margin-right: 2em;

}
.cover09 .cover-header>div,.cover09 .cover-footer>div{
    width: 45vw;
    overflow: hidden;
}

.cover09 .cover-main{
    display: grid;
    place-items: center;
}
.cover09 .cover-main{
    display: grid;
    place-items: center;
}
.cover09 .cover-main img{
    width: 600px;
}
.cover09 .cover-main>div{
    display: inline-block;
    text-align: center;
}
.cover09 .cover-main p{
    margin:0 !important;
}
.cover09 .cover-footer{
    max-width: 100%;
}
.cover09 .cover-footer > div{
    margin-left: 2em;
}
.cover09 .cover-p1{
    font-size:34px;
    color: #00722e;

}

.cover09 .cover-header img,.cover09 .cover-footer img{
    width: 1000px !important;
}
.cover09 .cover-p2{
    font-size:48px;
    color: #00722e;
    text-align: center;
    line-height: 1.3em;
}

.cover09 .spinner{
    margin:0 auto;
    width: 48px;
    height: 48px;
    border:8px solid white;
    border-radius: 50%;
    border-top-color:hsl(352, 50%, 40%);
    border-bottom-color: hsl(164, 60%, 30%);
    animation:spin 1s linear infinite;
}
@keyframes spin{
    to{transform: rotate(360deg);}
}

@media screen and (max-width: 500px) {
    .cover09 .cover-main img{
        width: 320px;
    }
    .cover09 .cover-p1{
        font-size:24px;
        color: #00722e;
    }
    .cover09 .cover-p2{
        font-size:32px;
        color: #00722e;
        text-align: center;
        line-height: 1.3em;
    }
}
@keyframes ocultar {
    0% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.cover div {
    text-align: center;
}

.cover strong {
    font-size: 24px;
}


/* =======================COUNTER ============================== */
.contenedor {
    width: 100vw;
    height: 120px;
    position: absolute;
    z-index: 101;
    top: 25vw;
    color: #fff;
}

.widget {
    width: 50%;
    min-width: 330px;
    height: 40%;
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    padding-top: 15px;
    margin-bottom: 0;
}

.widget h3 {
    padding-top: 15px;
    margin-bottom: 0;
}

.reloj {
    width: 100%;
    font-size: 3em;
    text-align: center;
    background: #235AA660;
    border-radius: 4px;
}

.widget .reloj .timer {
    display: inline-block;
    font-size: 16px;
    margin-right: 15px;
}

.widget .reloj .timer span {
    display: block;
    font-size: 16px;
}

.widget .reloj .timer span.numeros {
    font-size: 2.5em;
    font-weight: 700;
}

/** PALOMITAS */

.win {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 101;
    top: 0;
    left: 0;
    color: #fff;
    background: #235AA660;
    text-align: center;
    display: none;
}

.win canvas {
    position: relative;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.win>div {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

.win h2 {
    font-family: 'IBM Plex Sans' !important;
    margin-top: 25vh;
    color: white;
    font-size: 7vw;
    letter-spacing: .4vw;
    transition: color .4s;
    animation: fuente-navidad 2s linear infinite;
}

@keyframes fuente-navidad {
    0% {
        font-size: 7vw;
    }

    25% {
        font-size: 6vw;
    }

    50% {
        font-size: 5vw;
    }

    75% {
        font-size: 6vw;
    }

    100% {
        font-size: 7vw;
    }
}


/* Bandera  */
.banGreen {
    position: absolute;
    top: 11px;
    left: 40px;
    background-color: #12800f;
    clip-path:
        polygon(30px 10px,
            30px 120px,
            45px 110px,
            60px 120px,
            60px 10px);
    height: 120px;
    width: 80px;
    transition: ease;
    animation: flag 5s ease-in-out infinite;
}

.banWhite {
    position: absolute;
    top: 11px;
    left: 62px;
    background-color: #ffffff;
    clip-path:
        polygon(30px 10px,
            30px 120px,
            45px 110px,
            60px 120px,
            60px 10px);
    height: 120px;
    width: 80px;
    transition: ease;
    animation: flag 5s ease-in-out infinite;

}
.banRed {
    position: absolute;
    top: 11px;
    left: 82px;
    background-color: #bb1d1d;
    clip-path:
        polygon(30px 10px,
            30px 120px,
            45px 110px,
            60px 120px,
            60px 10px);
    height: 120px;
    width: 80px;
    transition: ease;
    animation: flag 5s ease-in-out infinite;

}

@keyframes flag {
    0% {
        -webkit-clip-path:
            polygon(30px 10px,
                30px 120px,
                45px 110px,
                60px 120px,
                60px 10px);
    }
    25% {
        -webkit-clip-path:
            polygon(30px 10px,
                    40px 120px,
                    55px 110px,
                    70px 120px,
                    60px 10px);
    }
    50% {
        -webkit-clip-path:
            polygon(30px 10px,
                    25px 120px,
                    40px 110px,
                    55px 120px,
                    60px 10px);
    }
    75% {
        -webkit-clip-path:
            polygon(30px 10px,
                30px 120px,
                45px 110px,
                60px 120px,
                60px 10px);
    }
}

@keyframes cuadro {
    0% {
        -webkit-clip-path:
            polygon(10px 10px,
                10px 160px,
                70px 160px,
                70px 10px);
    }

    25% {
        -webkit-clip-path:
            polygon(10px 10px,
                25px 160px,
                85px 160px,
                70px 10px);
    }

    50% {
        -webkit-clip-path:
            polygon(10px 10px,
                5px 160px,
                65px 160px,
                70px 10px);
    }

    75% {
        -webkit-clip-path:
            polygon(10px 10px,
                10px 160px,
                70px 160px,
                70px 10px);
    }
}

@keyframes poly {
    0% {
        -webkit-clip-path:
            polygon(30px 10px,
                30px 200px,
                60px 190px,
                90px 200px,
                90px 10px);
    }

    25% {
        -webkit-clip-path:
            polygon(30px 10px,
                40px 200px,
                70px 190px,
                100px 200px,
                90px 10px);
    }

    50% {
        -webkit-clip-path:
            polygon(30px 10px,
                25px 200px,
                55px 190px,
                85px 200px,
                90px 10px);
    }

    75% {
        -webkit-clip-path:
            polygon(30px 10px,
                30px 200px,
                60px 190px,
                90px 200px,
                90px 10px);
    }
}

@media screen and (max-width: 1400px) {
    .cuadro {
        top: -5px;
        left: -3px;
        -webkit-clip-path:
            polygon(10px 10px,
                10px 100px,
                40px 100px,
                40px 10px);
        height: 350px;
        width: 350px;
        transition: ease;
        animation: cuadro 5s ease-in-out infinite;
    }

    .banner {
        top: -5px;
        left: -3px;
        -webkit-clip-path:
            polygon(20px 10px,
                20px 120px,
                35px 110px,
                50px 120px,
                50px 10px);
        height: 350px;
        width: 350px;
        transition: ease;
        animation: poly 5s ease-in-out infinite;
    }

    /* Bandera  */
    .banGreen {
        top: -5px;
        left: -10px;
        -webkit-clip-path:
            polygon(20px 10px,
                20px 120px,
                35px 110px,
                50px 120px,
                50px 10px);
        height: 200px;
        width: 200px;
        transition: ease;
        animation: poly 5s ease-in-out infinite;
    }
    .banWhite {
        top: -5px;
        left: 5px;
        -webkit-clip-path:
            polygon(20px 10px,
                20px 120px,
                35px 110px,
                50px 120px,
                50px 10px);
        height: 200px;
        width: 200px;
        transition: ease;
        animation: poly 5s ease-in-out infinite;
    }
    .banRed {
        top: -5px;
        left: 20px;
        -webkit-clip-path:
            polygon(20px 10px,
                20px 120px,
                35px 110px,
                50px 120px,
                50px 10px);
        height: 200px;
        width: 200px;
        transition: ease;
        animation: poly 5s ease-in-out infinite;
    }

    @keyframes cuadro {
        0% {
            -webkit-clip-path:
                polygon(10px 10px,
                    10px 100px,
                    40px 100px,
                    40px 10px);
        }

        25% {
            -webkit-clip-path:
                polygon(10px 10px,
                    20px 100px,
                    50px 100px,
                    40px 10px)
        }

        50% {
            -webkit-clip-path:
                polygon(10px 10px,
                    5px 100px,
                    35px 100px,
                    40px 10px);
        }

        75% {
            -webkit-clip-path:
                polygon(10px 10px,
                    10px 100px,
                    40px 100px,
                    40px 10px)
        }
    }

    @keyframes poly {
        0% {
            -webkit-clip-path:
                polygon(20px 10px,
                    20px 120px,
                    35px 110px,
                    50px 120px,
                    50px 10px);
        }

        25% {
            -webkit-clip-path:
                polygon(20px 10px,
                    30px 120px,
                    45px 110px,
                    60px 120px,
                    50px 10px);
        }

        50% {
            -webkit-clip-path:
                polygon(20px 10px,
                    15px 120px,
                    30px 110px,
                    45px 120px,
                    50px 10px);
        }

        75% {
            -webkit-clip-path:
                polygon(20px 10px,
                    20px 120px,
                    35px 110px,
                    50px 120px,
                    50px 10px);
        }
    }
}

