@import 'reset.css';
@import 'collapse.css';
@import 'popup.css';
@import 'container.css';
@import 'content-html.css';
@import 'content-html-2.css';
@import 'vars.css';
@import 'fonts.css';
@import 'navbar.css';
@import 'estilo_base.css';
@import 'galeria.css';
@import 'btn_efec.css';
@import 'pagination.css';
@import 'portada_index.css';

section {
    margin-bottom: 60px;
    margin-top: 60px;
}

.content-pagina {
    position: relative;
    min-height: 90vh;
    padding-top: 3rem;
    padding-bottom: 3rem;   
}
.fondo_gradiente {
    background-image: linear-gradient(to bottom, white, var(--color-07));
    width: 100%;
    height: 80%;
}

.degradado {
    background-color: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));  
}

/*Footer*/
footer {   
    position: relative;
    background-color: var(--color-11);
    padding: 20px;
    color: white;
    text-align: center;

    .container_footer {
        height: 300px;
        padding-left: 50px;
        padding-right: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    
    .footer_info {
        display: grid;             
        justify-content: center;
        align-items:center;
        gap: 50px;
        border-bottom: 1px solid var(--color-06);
        padding-bottom: 20px;
        margin-bottom: 20px;
        width: 100%;

        p span {
            font-weight: bold;
        }
        .sitio_nombre {
            width: 500px;
        }
    }
    .footer_contacto {
        text-align: left;
    }
    .footer_logo img{
        width: 100px;
        height: auto;
        margin-bottom: 20px;
    }
}
.redes_sociales{
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    gap: 20px;

    .redes_sociales_enlace {
        font-size: 50px;
    }
    .redes_sociales_enlace:hover ion-icon{
         color: var(--color-04);
    }
}
.principios{
    padding-top: 40px;
    padding-bottom: 40px;      
}
.lista {    
    color: grey;
    margin-left: 20px;
    .item-lista{
        cursor: pointer;
        list-style-type: none;
        a:hover {
            color: black !important;
        }
    }
}

.btn_01 {   
    border: 2px solid white;
    background-color:var(--color-02);
    color: white;
    border-radius: 5px;
    padding: 10px 15px;
    margin-right: 20px;
    display: inline;
    text-align: center;
    font-size: 1.2rem;
     font-weight: 600;

    &:hover {
        border: 1px solid var(--color-04);
        background-color: white;
        color: var(--color-04);
    }
}
.btn_02 {   
    color: var(--color-03);
    font-weight: 600;
    border-radius: 5px;
    padding: 10px 15px;
    display: inline;
    text-align: center;
    font-size: 1.2rem;

    &:hover {     
        color: var(--color-03);
        background-color: var(--color-05);
    }
}
.bg_comentario {
    color: black;
    min-height: 100px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.flex_justify_center {
    justify-content: center !important;
}
.botones-lista{
    display: flex;    
    gap:15px;
    justify-self: baseline;    
}
.logo-comentarios{
    width: 100px;
    height: auto;
}
.titulo_modal {
    font-size: 1.2em;
    text-transform: uppercase;
    padding-bottom: 20px;
    font-weight: 700;
}
.titulo-seccion {
    font-size: 2.5rem;    
    font-weight: 500;
    line-height: 1.2;
    list-style: none;
    font-family: var(--font-02);

    span{
        color: var(--color-08);
        font-size: 2.5rem;
    }
}
.titulo-small {
    font-size: 0.9rem;    
    font-family: var(--font-03);
    font-weight: 600;
}

.lista-puntos-color {
    padding-left:20px;
    font-size: 1.2rem;
    
    li:first-child {
        &::marker {
            color: var(--color-08);
        }
    }  

    li::marker {
        color: var(--color-04);
        font-size: 25px;
        font-weight: 700;        
    }
}
.enlace {
    font-weight: bold;
    margin-top: 20px;    
    &:hover {
        color: var(--color-10);
    }
} 
.flex_center {
    justify-content: center;
    align-items: center;
}
.seccion {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
/*Tendencias y noticias*/
.grupo-notas {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;    
}
.container-nota {
    width: 365px;
    height: 520px;
    padding: 20px;     
    gap: 2rem;
    border: 1px solid var(--color-grey-light);
    border-radius: 8px;
    box-shadow: 1px 1px 5px var(--color-grey-light);
    img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 8px;
    }
    &:hover {
        box-shadow: 2px 2px 15px var(--color-07);
    }
}
.container-nota-02 {
    width: 365px;
    height: 400px;       
    gap: 2rem;
    
    img {
        width: 100%;
        height: 200px;
        object-fit: cover;       
    }
    span {
        font-size: 30px;
        color: var(--color-10);
    }
    &:hover {
        box-shadow: 4px 4px 20px var(--color-02);
    }
    .container-nota-info{
        padding: 20px;
    }
}
.etiqueta {
    display: inline;
    border-radius: 15px;
    padding: 3px 15px;
    font-size: 0.9rem;
    color: white;
    font-weight: bold;    
}
.nota__title {
    font-size: 1.1rem;
    font-weight: bold;
    height: 65px;
    display: -webkit-box;    
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nota__descripcion {
    font-size: 1rem;
    color: var(--color-grey);
    height: 120px;
    line-height: 1.5rem;
    width: 320px;
    display: -webkit-box;    
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    
    p a {
        color: var(--color-02);
        &:hover {
            color: var(--color-04);
        }
    }
}
.nota__fecha {   
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: 10px;
}

/*Glosario*/
.container-glosario-titulo {
    padding: 5rem;
    background-color: var(--color-02);
    display: flex;
    flex-direction: row;    

    h2 {
        color: var(--color-04);        
        font-size: 3rem;
        font-weight: 300;

        span {
            color: var(--color-07);
            font-size: 3rem;
            font-weight: 400;
        }
    }
    p {
        color: white;
    }
}
.glosario-titulo {
    width: 50%;

    h2{
        font-family: var(--font-02);
        font-weight: 600;
        text-transform: uppercase;
    }
}
.glosario-definicion {
    width: 100%;
    text-align: justify;
}
.concepto {
    display: flex;
    flex-direction: row;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-06);
}

/*Informacion capacitaciones*/
.fondo-lila {
    position:absolute;
    bottom: -200px;    
    background-color: var(--color-07);   
    width: 90%;
    height: 60%;
    z-index: -100;   
}

.container-capacitaciones {
    display: flex;
    flex-direction: row;

    p{
        color: var(--color-02);
    }
}
.referencia {
    width: 35%;
    padding: 20px;
}
.descripcion_calendario {
    font-size: 1rem;
    color: var(--color-dark);
    
    p strong {
        font-size: 1rem;
    }
    ul, ol {
        margin: 20px;
        li {
            color: var(--color-01);
        }
        li strong {
            font-weight: 700;
        }
    }
}
.detalles-calendario {
    width: 65%;
    display: flex;
    flex-direction: row;

    .calendario {
        background-color: var(--color-02);
        color: white;
        width: 50%;
        height: 460px;
        padding: 20px;
        text-align: center;

        img {
            width: 200px;
            margin: 0 auto;
            margin-bottom: 20px;            
            fill: white;
        }
        .titulo-calendario{
            color: var(--color-07);
            font-size: 1.3rem;
            text-transform: uppercase;
        }
    }
    .informacion {
        padding: 20px;
        width: 50%;
    }
   
    .calendario_hora{
        font-size:1.2rem;
    }
}
 .detalles_descripcion {
        margin-bottom: 3rem;
        margin-top: 2rem;
    }
/*Calendario*/
.day.con-evento {
    background: var(--color-03);
    color: var(--color-01);
    border-radius: 50%;
}
.day:hover {
    background-color: #eef;
}
.container-calendario {
    width: 100%;
    background: default;    
    overflow: hidden;
}

.header-calentario {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    color: white;
    padding: 15px;
}

.calendar-header button {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.dia-calendario,
.fecha-calendario {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.dia-calendario div {
    font-weight: bold;
    padding: 10px 0;   
}

.fecha-calendario div {
    padding: 10px;
    cursor: pointer;    
}

.fecha-calendario div:hover {
    background: #d9eaff;
    border-radius: 50%;
    color: var(--color-01);
}

.fecha-calendario .today {
    background: var(--color-03);
    color: var(--color-01);
    border-radius: 50%;
}
.fecha-calendario .select {
    background: var(--color-06);
    color: var(--color-01);
    border-radius: 50%;
}
/* Publicaciones */
.publicaciones {
    color: var(--color-black);
}
figure {
    padding: 1rem;
}
.container_img {
    width: 100%;
    max-height: 500px;   
    object-fit: contain;
    object-position: bottom center;   
}
.lista_documentos {
    margin: 20px;

    li {
        list-style: none;
        min-height: 50px;
        

        .enlace_documento {
            display: flex;
            flex-direction: row;
            align-items: center;

            &:hover .lista_icon {
                color: var(--color-01);
                background-color: var(--color-07);
            }
        }
        .seccion_icon {
            width: 60px;
            height: 60px;
        }

        .enlace_documento .lista_icon {
            color: var(--color-07);
            background-color: var(--color-01);
            padding: 10px;            
            border-radius: 50%;
            font-size: 20px;  
            width: 30px;
            height: 30px;
            margin-right: 20px;         
        }
        p {
            padding: 10px;
            font-size: 1rem;
            font-family: var(--font-01);
        }
       
        .enlace_documento a:hover {
            color: var(--color-06);
        }
        .enlace_documento .etiqueta:hover {
            background-color: var(--color-10); 
        }
        .enlace_documento_titulo {
            margin-right: 10px;
        }
    }
}
.bloque-texto {   
    padding-left: 20px;
    margin-top: 2rem;
    margin-bottom: 2rem;       
}

.titulo {
    font-size: 2rem;
    font-weight: 600;
    font-family: var(--font-02);
} 

/*Estilo para la unidad de atención a la violencia contra las mujeres*/

.container_colum_02{
    display: flex;
    gap: 20px;
    align-items: center; 
    .column {
        width: 50%;
        img {
            margin: 20px;
        }
    }
}

/*Equipo de trabajo */
.container_equipo {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    .integrante {       
        width: 350px;
        img {
            width: 100%;
            height: 400px;
            object-fit: cover;
            border-radius: 15px;
        }
        .nombre {
            font-family: var(--font-02);
            font-size: 1.2rem;
            text-transform: uppercase;
            padding-top: 10px;
            font-weight: 600;
            margin-bottom:10px;
            width: 100%;
            text-align: center;
        }
        .cargo {
            width: 100%;
            text-align: center;
        }
    }
}
.select_filtrar {
    display: flex;
    flex-direction: row;
    justify-content: right;

    label, select {
        font-size: 20px;
    }
}
/*Estilo para el glosario */
.filtro_letras {
    color: var(--color-01);
    padding: 30px;
    background-color: #B57EDC;
    height: 130px;
    margin: 20px;
    border-radius: 10px;
    position: relative;
    top: -70px;
    .titulo_filtro {
        font-size: 1rem;
        font-family: var(--font-02);
        font-weight: bold;
        text-align: center;
    }
    .letras {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
            
        .letra {
            height: 30px;
            width: 30px;
            text-align: center;
            display: flex;
            justify-content: center;
            align-items: center;         
        }
        .letra:hover {
            background-color: var(--color-02);
            color: white;                
            border-radius:50%;
            height: 30px;
            width: 30px;           
            text-align: center;
        }
    }
    .letra_select {
        height: 30px;
        width: 30px;
        border-radius:50%;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--color-03); 
    }
    .btn {
        font-weight: 700;
        font-size: 16px;
    }
}


@media only screen and (max-width: 1024px) {
    footer .container_footer {
        padding-left: 10px;
        padding-right: 10px;        
        height: 400px;
    }
    .container_footer .footer_info {    
        grid-template-columns: 1fr;
        justify-content: center;

        .footer_contacto {
            text-align: center;
        }
        .sitio_nombre {
            width: 100%;
        }
    }
    .redes_sociales {
        justify-content: center;
    }
}

@media only screen and (max-width: 767px) {
    .centrar_movil {
        text-align: center;
    }
    .container_colum_02 {
        flex-direction: column-reverse;
        text-align: center;
        .column{
            width: 100%;
        }
    }
    .container_equipo {
        justify-content: center;                
    }
    .content-pagina {
        padding-top: 10px;
    }    
    
    .btn_01 {
        margin-right: 0px;
    }  
    .enlace_documento .lista_icon {
        font-size: 50px;
    }         
    /*Información capacitaciones*/
    .container-capacitaciones {
        flex-direction: column;

        .referencia {
            width: 100%;
        }
        .detalles-calendario {
            width: 100%;
            flex-direction: column;

            .calendario {
                width: 100%;
                height: 460px;
            }
            .informacion{
                width: 100%;               
            }
        }
    }
    /*Estilo para las publicaciones*/ 
    .lista_documentos {
        margin-left: 0px;
        margin-right: 0px;
    }
    .enlace_documento {   
        flex-direction: column !important;
        border-bottom: 1px solid var(--color-06);
        text-align: center;
        padding: 15px;
    }
    .filtro_letras {
        height: 200px;
    }
    .letras {
        flex-wrap: wrap;
        justify-content: center;
    }
    .container-glosario-titulo {
        padding: 3rem;
        flex-direction: column;        
    }
    .glosario-titulo {
        width: 100%;
        text-align: justify;
        margin-bottom: 20px;
        margin-top: 20px;

        h2 {
            line-height: 1.1;
            text-align: center;
            font-family: var(--font-02);
            text-transform: uppercase;
        }
    }
    
    .concepto {
        flex-direction: column;
        padding-top:0px;
    } 
    section h1 {
        text-align: center;
    }
}
.compartir_redes_sociales {
    margin-top: 2rem;
    align-content: center;
}
.compartir_redes_sociales .botones a {
    margin: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    color: white;
    text-decoration: none;
}
.botones {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.btn-social {
    display: flex;
    flex-direction: row;
    align-items:center;
    justify-content: center;
    gap: 10px;
   
}
.btn-social.facebook {
    background-color: #3b5998;

    &:hover {
        background-color: #183167;
    }
}
.btn-social.twitter {
    background-color:black;

     &:hover {
        background-color: grey;
    }
}
.btn-social.whatsapp {
    background-color: #25d366;

    &:hover {
        background-color: #06772f;
    }
}
.btn-social .img_icon {
    width: 15px;
}
