/* 
Theme Name: Hello Elementor Child Economia
Theme URI:  https://unam.mx
Description: Hello Elementor Child is a child theme of Hello Elementor, created by UNAM
Author: UNAM
Author URI: https://unam.mx
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child-economia
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
header a{
    color: #3D4B58 !important;
}

.site-title a{
    color: #be0808;
}

.site-navigation ul.menu li a {
    display: block;
    padding: 8px 10px;
}

header#site-header {
    padding: 0;
    margin: 0;
}

.footer-widgets {
    background-color: #1f1f24;
    color: #fff;
    padding: 25px 0 0;
    margin: 35px 0 0 0;
}

footer#site-footer {
    background-color: #12304C;
    color: #fff;
}
.txt-color-write{
    color: #fff;
}
.txt-color-write a{
    color: #fff;
}
.txt-color-write a:hover{
    text-decoration: underline;
}
.txt-underline:hover {
    border-bottom: 1px solid;
    color: #fff;
}
.youtube-video{
    width:100%; 
    height:520px;
}
.c-title{
    color:#A8D3FD;
}
.social-links{
    display: flex;
    justify-content: baseline;
    align-items: center;
    gap: 10px;
}
.social-links a {
    font-size: 21px;
    color: #fff;
    text-decoration: none;
}
footer .wp-block-heading{
    color:#A8D3FD;
}

/*
header
#CBA10D
*/
.site-header {
    border-bottom: #CBA10D 3px solid;
        height: 100px;
}
#site-header .site-navigation li a{
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
}
.header-inner-fluid {
    width: 100%;
    display: flex;
    position: relative;
    height: auto;
    justify-content: space-between;
}
.btn-gbutton {
    background-color: #3B8CC4;
    color: #fff;
    padding: 10px 35px;
    border-radius: 21px;
    text-decoration: none;
    font-weight: bold;
}
/*Noticias
#ECF7FD
#3B8CC4
#153F58
*/

.c-noticias {
    color: #153F58;
}
/* .bg_noticias, .elementor-2 .elementor-element.elementor-element-8350876:not(.elementor-motion-effects-element-type-background), .elementor-2 .elementor-element.elementor-element-8350876 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #ECF7FD !important;
} */

/* Estilos sección última noticia */

.ult-not-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Estilos generales para secciones noticias, eventos... */

.main-card > .img-container {
    width: 100%;
}

.main-card > .content-container {
    width: 100%;
    padding: 5px 15px;
}

.main-card h4 {
    color: #153F58;
}

/*
.main-card img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}
*/

.custom-blockList-paginator {
    margin-top: 20px;
}

.custom-blockList-paginator > span, .custom-blockList-paginator > a {
    border: 1px solid lightgray;
    padding: 5px 10px;
}

.custom-blockList-paginator > .current {
    background-color: #3B8CC4;
}

.custom-blockList-paginator > :first-child {
    border-radius: 5px 0 0 5px;
}

.custom-blockList-paginator > :last-child {
    border-radius: 0 5px 5px 0;
}

/* Estilos página de evento */
    
.main-event-container > .img-container, .main-event-container > .content-container  {
    width: 100%;
}

.main-event-container > .content-container i {
    color: #3B8CC4;
}

.main-event-container h1, .more-events-container h4 {
    color: #153F58;
}

/* Estilos header */

.header-logos-container {
    display: flex;
    gap: 10px;
    margin: 0 10px;
}

.header-logo-img {
    width: auto;
    margin-bottom: 0;
}

.header-logo-img img {
    height: 57px;
    width: auto;
}

.site-navigation ul.menu {
    margin-bottom: 0;
}

/* Footer */

.site-footer .footer-inner {
    margin: 0 0;
    max-width: fit-content;
}

.site-footer p {
    font-size: 0.9rem;
}

.site-footer .wp-block-heading {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.site-footer .footer-separator {
    height: 2px;
    background-color: #3b8cc4;
}


@media (min-width: 768px){
    .header-logos-container {
        gap: 20px;
        margin: 0 20px;
    }
    .header-logo-img img {
        height: 80px;
    }

    .site-footer .footer-inner {
        margin: 0 3%;
    }

    /* Estilos página de evento */

    .main-event-container > .img-container {
        width: 40%;
    }

    .main-event-container > .content-container {
        width: 60%;
    }
}

@media (min-width: 992px) {
  .site-header.menu-dropdown-tablet:not(.menu-layout-dropdown) .site-navigation-toggle-holder {
    display: flex !important;
  }

    .site-footer .footer-inner {
        margin: 0 5%;
    }

    /* Estilos cards para secciones noticias, eventos... */

    .main-card > .img-container {
        width: 40%;
    }

    .main-card > .content-container {
        width: 60%;
    }
}

@media (max-width: 992px) {
  .site-header.menu-dropdown-tablet:not(.menu-layout-dropdown) .site-navigation {
    display: none !important;
  }
}

@media (min-width: 1400px) {
  .site-header.menu-dropdown-tablet:not(.menu-layout-dropdown) .site-navigation-toggle-holder {
    display: none !important;
  }
}
@media (max-width: 1399px) {
  .site-header.menu-dropdown-tablet:not(.menu-layout-dropdown) .site-navigation {
    display: none !important;
  }
}