/*
Theme Name:   generatepress child theme
Description:  Tema hijo para hacer personalizaciones de código
Author:       e-ducativa
Author URL:   https://red.infd.edu.ar
Template:     generatepress
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  generatepress-child
*/

/* CSS que pisa theme (padre), y levanta siempre */

/* ------------
   CONTENEDORES
   ------------ */
.contenido {
    position:relative;
    width:924px;
    margin:0 auto;
    padding:0 0 0;
}
.fondo_gradient {
    position:absolute;
    top:0;
    width:100%;
    height:580px;
    background: url(../images/back_top.png) repeat-x;
}
.main-navigation .main-nav ul li a {
    padding-left: 19px;
    padding-right: 19px;
    line-height: 56px;
}
.header-widget { display: none; }


/* ----------------------------
   HOME: Novedades provinciales
   ---------------------------- */
.ocultar { display: none; }

/* La de berta - noticias */
body { margin: 0; }

section.noticias_mapa_bg {
    display: flex;
    justify-content: center;
    min-height: 594px;
    /* background: linear-gradient(45deg, #47b9eb, #47b9eb); */
}
.wrapper_noticias_mapa {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 20px;
}

/* Primer columna noticias
   ----------------------- */
.col_1_noticias {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 705px;
    margin-top: 48px;
}
.row_title_select {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0 30px;
}
h2.titulo_noticias {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    line-height: 2rem;
    color: #ffffff;
}
.select_provincias {
    width: 250px;
    margin-top: 14px;
    padding: 7px;
    font-family: 'Roboto', sans-serif;
    font-size: .875rem;
    font-weight: 700;
    color: #1e73be;
}
.nov_content {
    height: 328px;
    margin: 28px 30px 0;
    padding: 26px 28px;
    border-radius: 7px;
    background-color: #0d3557;
    overflow: hidden;
}
.nov_relative { position: relative; }

.combo_nov {
    position: absolute;
    width: 100%;
}
.noticia_ampliada {
    height: 350px;
    margin-right: -16px;
    padding-right: 22px;
    font-family: 'Roboto', sans-serif;
    overflow-y: scroll;
}
.fecha_noticia_amp {
    font-size: 0.875rem;
    color: #2388e0;
}
.instituto_noticia_amp {
    font-size: 1.0625rem;
    color: #66B7FF;
}
.titulo_noticia_amp {
    margin-top: 20px;
    font-size: 1.1875rem;
    font-weight: bold;
    color: #c4e3ff;
}
.texto_noticia_amp {
    margin-top: 8px;
    font-size: 1.0625rem;
    line-height: 1.5625rem;
    color: #66b7ff;
}
.link_noticia_amp { margin-top: 28px; }

.link_noticia_amp a { color: #2388e0; }

.link_noticia_amp a:hover { color: #689fd0; }

.noticia_ampliada { overflow-y: auto; }

.fecha_noticia_amp {  }

.instituto_noticia_amp {  }

.titulo_noticia_amp {  }

.texto_noticia_amp {  }

.link_noticia_amp {  }

.row_noticia {
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid #100314;
}
.row_noticia:first-child { padding: 0 0 20px; }

.row_noticia:last-child {
    padding: 20px 0 25px;
    border-bottom: 0px solid transparent;
}
.row_noticia:hover {
    opacity: .7;
    cursor: pointer;
}
.cont_bandera_title {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}
.bandera_provincia {
    margin-right: 12px;
    line-height: 0;
}
.titulo_row_noticia {
    font-family: 'Roboto', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.3125rem;
    font-weight: bold;
    color: #66b7ff;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.resumen_noticia_prov {
    margin: 5px 0;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1rem;
    line-height: 1.3125rem;
    color: #248be6;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.row_control_noticias {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}
.avanzar_retroceder_noticias {
    display: flex;
    align-items: center;
    margin-right: 20px;
}
.control_noticia {
    line-height: 0;
    cursor: pointer;
}
.control_noticia:hover { opacity: .8; }

.paginas_noticias_info {
    margin: 0 6px;
    line-height: 0;
    color: #103E66;
}
.pausar_play_noticias {
    display: flex;
    align-items: center;
    width: 78px;
    line-height: 0;
    color: #ADD9FF;
    cursor: pointer;
}
.pausar_play_noticias:hover { mix-blend-mode: color-dodge; }

.pausar_play_noticias span { margin-right: 8px; }

.col_2_mapa {
    max-width: 377px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    cursor: pointer;
}

/* GG puso... berta, cambialo no se */
.noticias_mapa_bg_red {
    background: url(img/bg_noticias_left.png),
                url(img/bg_noticias_right.png),
                linear-gradient(45deg, #47b9eb, #47b9eb);
    background-position: left, right, center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ------
   FOOTER
   ------ */
.box-contact-data {
    gap: 34px;
    margin: 54px 0;
    text-align: center;
}
.cont-contact-info { font-size: .875rem; }

.txt-contact-info {
    margin-bottom: 5px;
    padding-bottom: 4px;
    border-bottom: 1px solid #d3d3d3;
}
.cont-contact-smedia {
    gap: 40px;
    display: flex;
    justify-content: center;
}


/* -------------
   Media queries
   ------------- */
@media (min-width: 320px) {

}

@media (min-width: 420px) {
    .row_control_noticias { font-size: 1.125rem; }

    .avanzar_retroceder_noticias { margin-right: 46px; }

    .paginas_noticias_info { margin: 0 22px; }

    .pausar_play_noticias { width: 92px; }
}

@media (max-width: 620px) {
    /* mejora para celular, la visualiacion del logo y titulo de la pagina (corroborado con infod) */
    .site-branding-container { display: table-row; }

    .main-title a,
    .main-title a:hover,
    .main-title a:visited { font-size: 1.22rem; }

    .inside-header { padding: 20px 20px; }
}

@media (min-width: 620px) {
    /*  section.noticias_mapa_bg {
        background: url(img/bg_noticias_left.png), url(img/bg_noticias_right.png), linear-gradient(45deg, #47b9eb, #47b9eb);
        background-position: left, right, center center;
        background-repeat: no-repeat;
        background-size: cover;
    } */
    .wrapper_noticias_mapa { margin: 0 30px; }

    h2.titulo_noticias { font-size: 2.375rem; }

    .nov_content { height: 350px; }

    .titulo_row_noticia {
        font-size: 1.125rem;
        line-height: 1.4375rem;
    }
    .resumen_noticia_prov {
        font-size: 1.0625rem;
        line-height: 1.5rem;
    }
}

@media (min-width: 800px) {
    .header-widget { display: inherit; }

    .row_title_select {
        flex-direction: row;
        margin: 0;
    }
    .select_provincias {
        margin-top: 0;
        margin-left: 31px;
    }
    .nov_content { margin: 28px 0 0; }

    .box-contact-data {
        gap: 40px;
        text-align: inherit;
    }
}

@media (min-width: 1142px) {
    /* section.noticias_mapa_bg { background-size: contain; } */

    .wrapper_noticias_mapa { justify-content: space-between; }

    .col_2_mapa { margin-top: auto; }
}
