body {
    font-family: "Fira Sans", Helvetica;
    background: white !important;
}

#toolbar-administration {
    margin-bottom: 20px !important;
}

#block-rediscentrogabo-primary-local-tasks {
    z-index:20000000;
}

header.main-header, header .nav-link {
    font-family: "Fira Sans", Helvetica;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 0;
    line-height: normal;
    font-size: 1rem;
}

header.main-header .menu {
    display:flex;
    justify-content: space-between;
    align-items: center;
}

header.main-header .menu-absolute {
    z-index: 1000;
}

header.main-header .dropdown-menu {
    background-color: rgba(256, 256, 256, 0.27);
    border: none;
    border-radius: 0 0 22px 22px;
}

header.main-header .dropdown-menu.google_tr {
    background-color: #F5C844;
}

header.main-header .dropdown-menu a {
    color: black;
}
header .translate-block ul, header .translate-block li , header .translate-block a  {
    width: 50px;
    --bs-dropdown-min-width: auto;
}

.new-footer {
  background-size: cover !important;
  background-repeat: no-repeat !important;  
}

.new-footer h3 {
    font-family: "Fira Sans", Helvetica;
    font-weight: 700;
    font-size: 1.5rem;
}

.new-footer h2::before {
    content: "";
    padding: 0;
}

.new-footer .block {
    border: none;
}

.new-footer a {
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 100;
    font-family: "Fira Sans", Helvetica;
}

.new-footer ul li.leaf {
    text-decoration: none;
    line-height: 3rem;
}

.btn-orange {
    background-color: #ff6b35 !important;
    --bs-btn-bg: #ff6b35 !important;
    --bs-btn-border-color: #ff6b35 !important;
    --bs-btn-hover-color: #fff !important;
    --bs-btn-hover-bg: #d7590b !important;
    --bs-btn-hover-border-color: #d7590b !important;
    --bs-btn-focus-shadow-rgb: 49, 132, 253 !important;
    --bs-btn-active-color: #fff !important;
    --bs-btn-active-bg: #d7590b !important;
    --bs-btn-active-border-color: #ff6b35 !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
    --bs-btn-disabled-color: #fff !important;
    --bs-btn-disabled-bg: #ff6b35 !important;
    --bs-btn-disabled-border-color: #ff6b35 !important;
}

.btn-orange a {
    color: white !important;
    text-decoration: none !important;
}

.main-header .justify-content-end .navbar .container-fluid {
    justify-content: end !important;
}

@media (max-width: 768px) {
    .main-menu-block #navbarSupportedContent {
        background-color: #F5C844;
        width: 100%;
        position: fixed;
        height: 100vh;
        z-index: 0;
        top: 0;
        right: 0;
        padding: 2rem;
    }

    .main-menu-block a,
    .main-menu-block a:hover,
    .main-menu-block li,
    .main-menu-block a:hover,
    header .nav-link,header .nav-link:focus,
    header .nav-link:hover,
    header.main-header .dropdown-menu a
    {
        text-decoration: none;
        color: black;
        font-size: 1.2rem;
    }

    header.main-header .dropdown-menu {
        background: none;
    }

    header .input-search {
        position: absolute;
        right: 0;
        top: 3px;
    }

    header .input-search button {
        border: none !important;
    }
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url('/themes/custom/rediscentrogabo/images/toggler-icon.svg');
}

.btn-filtro {
  --bs-btn-font-weight: 400;
  --bs-btn-color: black;
  --bs-btn-bg: white;
  --bs-btn-border-color: white;
  --bs-btn-hover-color: black;
  --bs-btn-hover-bg: #F5C844DD;
  --bs-btn-hover-border-color: #F5C844DD;
  --bs-btn-focus-shadow-rgb: #F5C844DD;
  --bs-btn-active-color: black;
  --bs-btn-active-bg: #F5C844DD;
  --bs-btn-active-border-color: #F5C844DD;
}

.btn-filtro.active {
  --bs-btn-font-weight: 400;
  --bs-btn-color: black;
  --bs-btn-bg: #F5C844DD;
  --bs-btn-border-color: white;
  --bs-btn-hover-color: black;
  --bs-btn-hover-bg: #F5C844DD;
  --bs-btn-hover-border-color: #F5C844DD;
  --bs-btn-focus-shadow-rgb: #F5C844DD;
  --bs-btn-active-color: black;
  --bs-btn-active-bg: #F5C844DD;
  --bs-btn-active-border-color: #F5C844DD;
}

input[type=email] {
    line-height: 30px;
}

/* Paginación */

ul.pager__items {
    justify-content: center;
    display: flex;
    list-style: none;
    margin-bottom: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

ul.pager__items a {
    color: black;
    text-decoration: none;
}

ul.pager__items .pager__item a {
    min-width: 32px;
    height: 40px;
    border-radius: 10px;
    display: block;
    padding: 10px 15px;
}

ul.pager__items .is-active a {
    color: white;
    background-color: #EC722E;
}


@media (max-width: 576px) {
    header.main-header .menu-absolute {
        left: 0;
    }
}

.bloque-header a {
    text-decoration: none;
}


#google-search-wrapper {
    position: absolute;
    right: 80px;
    top: 90px;
    width: 800px;
    background: #fff;
    z-index: 9999;
    height: auto;
    border-radius: 20px;
}

#google-search-wrapper .gsc-control-cse {
    border-color: #fff;
    background-color: #fff;
    border-radius: 25px;
    padding: 0;
}

.google-search-wrapper-mobile .gsc-search-button-v2,
#google-search-wrapper .gsc-search-button-v2 {
    background-color: #ffffff;
    border-color: #fff;
}

.google-search-wrapper-mobile .gsc-search-button-v2 svg,
#google-search-wrapper .gsc-search-button-v2 svg {
    fill: #000;
}

.google-search-wrapper-mobile .gsc-input-box {
    padding: 0;
}

#google-search-wrapper table.gsc-search-box td.gsc-input {
    padding-left: 20px;
}


#google-search-wrapper.search-visible {
    display: block !important;
}

#google-search-wrapper.search-hidden {
    display: none !important;
}


.page-contemos-gabo .view-articulos .article .descripcion-articulo span img,
.page-gabo-habla .view-articulos .article .descripcion-articulo span img {
    max-width: none;
    width: 25px;
    height: auto;
}

.gsc-input {
    width: 100%;
    padding: 0px;
    border: none;
    margin: -0.0625em 0px 0px;
    height: 2em !important;
    background: none !important;
    outline: none;
}

.gsc-search-button {
    display: none !important;
}

.gsst_a .gscb_a {
    color: #1d1d1b !important; 
}

@media (max-width: 768px) {
    .gsc-input-box {
        width: 100%;
        padding: 0px;
        border: none;
        height: 2.5em !important;
        outline: none;
        border-radius: 40px !important;
    }
}

.banner-newsletter {
    background-color: #F5F5F5;
    padding: 60px 0;
    width: 100%;
}

.banner-newsletter .banner-content {
    margin: 0 auto;
    padding: 0 20px;
}

.banner-newsletter .row {
    align-items: center;
}

.banner-newsletter .container_left h2 {
    font-family: "Neuton", serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: #000;
    margin: 0 0 16px 0;
}

.banner-newsletter .container_left p {
    font-family: "Fira Sans", sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    color: #000;
    margin: 0;
}

.banner-newsletter .container_right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.banner-newsletter .form-item-correo-electronico {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.banner-newsletter input[type="email"] {
    width: 100%;
    padding: 18px 24px;
    border: none;
    border-radius: 50px;
    background-color: #fff;
    font-family: "Fira Sans", sans-serif;
    font-size: 16px;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.banner-newsletter input[type="email"]:focus {
    outline: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.banner-newsletter input[type="email"]::placeholder {
    color: #999;
}

.banner-newsletter .webform-actions {
    margin: 0;
    flex-shrink: 0;
    order: 2;
}

.banner-newsletter .webform-button--submit {
    background-color: #F37C3D;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 18px 32px;
    font-family: "Fira Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    text-transform: capitalize;
}

.banner-newsletter .webform-button--submit:hover {
    background-color: #e06b2c !important;
    color: #fff !important;
}

.banner-newsletter .form-item-acepto-terminos-y-condiciones {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    width: 100%;
    order: 3;
    padding-left: 15px;
}

.banner-newsletter input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #4A90E2;
}

.banner-newsletter .form-item-acepto-terminos-y-condiciones label {
    font-family: "Fira Sans", sans-serif;
    font-size: 16px;
    color: #000;
    margin: 0;
    cursor: pointer;
    font-weight: 330;
}

.banner-newsletter .form-item-acepto-terminos-y-condiciones label a {
    color: #4A90E2;
    text-decoration: none;
}

.banner-newsletter .form-item-acepto-terminos-y-condiciones label a:hover {
    text-decoration: underline;
}

.banner-newsletter .form-required::after {
    display: none;
}

@media (max-width: 767px) {

    .banner-newsletter {
        padding: 40px 20px;
    }
    
    .banner-newsletter .banner-content {
        padding: 0;
    }
    
    .banner-newsletter .row {
        flex-direction: column;
        gap: 32px;
    }
    
    .banner-newsletter .container_left {
        text-align: center;
        margin-bottom: 5px;
    }
    
    .banner-newsletter .container_left h2 {
        font-size: 32px;
    }
    
    .banner-newsletter .container_left p {
        font-size: 16px;
    }
    
    .banner-newsletter .container_right {
        flex-direction: column;
        align-items: center;
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
        gap: 16px;
    }
    
    .banner-newsletter .form-item-correo-electronico {
        width: 100%;
        order: 1;
    }
    
    .banner-newsletter input[type="email"] {
        text-align: center;
    }
    
    .banner-newsletter .form-item-acepto-terminos-y-condiciones {
        order: 2;
        justify-content: center;
        padding-left: 0;
        width: 100%;
    }
    
    .banner-newsletter .webform-actions {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .banner-newsletter .webform-button--submit {
        width: auto;
        min-width: 200px;
        padding: 16px 40px;
    }

}


@media (max-width: 991px) {
    
    .banner-newsletter .container_left h2 {
        font-size: 40px;
    }
}

@media (max-width: 480px) {

    .banner-newsletter {
        padding: 30px 20px;
    }
    
    .banner-newsletter .container_left h2 {
        font-size: 36px;
    }
    
    .banner-newsletter .container_left p {
        font-size: 18px;
    }
    
    .banner-newsletter input[type="email"] {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .banner-newsletter .webform-button--submit {
        padding: 16px 28px;
        font-size: 15px;
    }
    
    .banner-newsletter .form-item-acepto-terminos-y-condiciones label {
        font-size: 14px;
    }

}