/*
 * Custom style goes here.
 * A template should always ship with an empty custom.css
 */

.block-newsletter {
    background-color: transparent;
    /* Eliminar el fondo específico */
    padding: 20px;
    border-radius: 8px;
    box-shadow: none;
    /* Eliminar el box-shadow */
}

.footer-top {
    /* background-color: #f6f6f6; */
    background-color: #fff;
    /* Fondo de ancho completo */
    width: 100%;
    /* Asegurar que ocupe todo el ancho */
    padding: 20px 0;
    /* Espaciado vertical */
}

.block-newsletter .newsletter-container {
    display: flex;
    align-items: center;
    max-width: 100%;
    /* Permitir que ocupe todo el ancho disponible */
    margin: 0;
    /* Eliminar el centrado automático */
    text-align: left;
    /* Alinear el contenido a la izquierda */
}

.block-newsletter .newsletter-left h3 {
    font-size: 23px;
    font-weight: bold;
    color: inherit;
    /* Color por defecto */
    margin: 0;
    text-align: left;
}

.block-newsletter .newsletter-left h3 span {
    font-size: 46px;
    color: #68a898;
    /* Color corporativo */
    display: block;
}

.block-newsletter .newsletter-right .input-group {
    display: flex;
    align-items: stretch;
}

.block-newsletter .newsletter-right .form-control {
    height: 46px;
    /* Asegurar que el input tenga la misma altura que el botón */
    border: 1px solid #41b6a6;
    /* Mismo color que el botón */
    border-right: none;
    border-radius: 8px 0 0 8px;
    /* Más redondeado */
    padding: 10px;
    font-size: 1rem;
}

.block-newsletter .newsletter-right .input-group-append .btn {
    height: 46px;
    /* Asegurar que el botón tenga la misma altura que el input */
    background-color: #41b6a6;
    /* Mismo color que el texto "A NUESTRA NEWSLETTER" */
    color: #fff;
    border: 1px solid #41b6a6;
    border-radius: 0 4px 4px 0;
    padding: 10px 20px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.block-newsletter .newsletter-right .input-group-append .btn:hover {
    background-color: #4f7f6e;
    /* Color más oscuro para el hover */
}

.block-newsletter .newsletter-message {
    margin-top: 15px;
}

.block-newsletter .newsletter-message .alert {
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 4px;
}

.block-newsletter .newsletter-message .conditions {
    font-size: 0.8rem;
    color: #999;
}

.block-newsletter .newsletter-left .newsletter-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.block-newsletter .newsletter-left .subscribe-text {
    font-size: 26px;
    /* Asegurar que se aplique el tamaño */
    font-weight: 300;
    color: #3d3d3d;
    /* Color por defecto */
    margin-bottom: 5px;
}

.block-newsletter .newsletter-left .newsletter-text {
    font-size: 46px;
    /* Asegurar que se aplique el tamaño */
    font-weight: 300;
    color: #41b6a6;
    /* Color corporativo */
}

.block-newsletter .newsletter-left .newsletter-text-container span {
    display: block;
    width: 100%;
    white-space: normal;
    overflow: visible;
    line-height: 1.2;
    word-wrap: break-word;
}

.block-newsletter .newsletter-left .newsletter-small-text {
    font-size: 12px;
    /* Tamaño de fuente pequeño */
    color: #3d3d3d;
    /* Usar el color normal */
    margin-top: 5px;
    /* Espaciado superior */
}

@media (max-width: 768px) {
    .block-newsletter .newsletter-container {
        flex-direction: column;
        /* Cambiar a diseño vertical */
        text-align: center;
        /* Centrar el texto */
    }

    .block-newsletter .newsletter-left {
        margin-bottom: 20px;
        /* Espaciado entre bloques */
    }

    .block-newsletter .newsletter-left .newsletter-text-container {
        align-items: center;
        /* Centrar el contenido */
    }

    .block-newsletter .newsletter-right .input-group {
        flex-direction: column;
        /* Cambiar a diseño vertical */
    }

    .block-newsletter .newsletter-right .form-control {
        width: 100%;
        /* Asegurar que el input ocupe todo el ancho disponible */
        border-radius: 8px;
        /* Redondear completamente */
        border-right: 1px solid #68a898;
        /* Restaurar borde derecho */
        margin-bottom: 10px;
        /* Espaciado entre input y botón */
    }

    .block-newsletter .newsletter-right .input-group-append .btn {
        border-radius: 8px;
        /* Redondear completamente */
    }
}





/* Estilos generales del footer */
#footer {
    font-family: 'Arial', sans-serif;
    color: #333;
}

#footer h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

#footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer ul li {
    margin-bottom: 10px;
}

#footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

#footer a:hover {
    color: #41b6a6;
}

/* Footer Top - Newsletter */
.footer-top {
    /* background-color: #f5f5f5; */
    padding: 30px 0;
}

.newsletter-container {
    align-items: center;
}

.newsletter-text-container {
    display: flex;
    flex-direction: column;
}

.subscribe-text {
    color: #999;
    font-size: 14px;
}

.newsletter-text {
    font-size: 24px;
    font-weight: 600;
    color: #41b6a6;
    line-height: 1.2;
}

.newsletter-small-text {
    font-size: 14px;
    color: #777;
    margin-top: 5px;
}

.newsletter-right .input-group {
    display: flex;
    max-width: 100%;
}

.newsletter-right input.form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    height: auto;
}

.newsletter-right .btn-primary {
    background-color: #41b6a6;
    border-color: #41b6a6;
    color: white;
    text-transform: uppercase;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0 4px 4px 0;
    transition: background-color 0.3s;
}

.newsletter-right .btn-primary:hover {
    background-color: #369e90;
    border-color: #369e90;
}

/* Footer Main */
.footer-main {
    background-color: #fff;
    padding: 50px 0 30px;
    border-top: 1px solid #eee;
}

.footer-about-us {
    margin-bottom: 25px;
}

.footer-about-us p {
    /* color: #666; */
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.5;
}

.block-social ul.social-links {
    display: flex;
    margin-top: 20px;
}

.block-social ul.social-links li {
    background: transparent;
    margin-right: 15px;
}

.block-social ul.social-links li a {
    display: block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #fff;
    color: transparent;
    overflow: hidden;
    text-indent: -9999px;
    position: relative;
    transition: background-color 0.3s;
}

.block-social ul.social-links li a:hover {
    background-color: #41b6a6;
}

.block-social ul.social-links li.facebook a::before,
.block-social ul.social-links li.twitter a::before,
.block-social ul.social-links li.rss a::before,
.block-social ul.social-links li.youtube a::before,
.block-social ul.social-links li.vimeo a::before,
.block-social ul.social-links li.instagram a::before,
.block-social ul.social-links li.tiktok a::before {
    font-family: "Font Awesome 5 Brands";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* color: #555; */
    color: #41b6a6;
    text-indent: 0;
    font-size: 18px;
}

.block-social ul.social-links li a:hover::before {
    color: white;
}

.block-social ul.social-links li.facebook a::before {
    content: "\f39e";
}

.block-social ul.social-links li.twitter a::before {
    content: "\f099";
}

.block-social ul.social-links li.rss a::before {
    content: "\f09e";
}

.block-social ul.social-links li.youtube a::before {
    content: "\f167";
}

.block-social ul.social-links li.vimeo a::before {
    content: "\f27d";
}

.block-social ul.social-links li.instagram a::before {
    content: "\f16d";
}

.block-social ul.social-links li.tiktok a::before {
    content: "\e07b";
}

/* Footer Menu */
.footer-menu {
    padding: 0 15px;
}

.linklist h4 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.footer-right .linklist h4 {
    border-color: #41b6a6;
    border-width: 3px;
}

.linklist ul li a {
    display: block;
    padding: 3px 0;
    font-size: 14px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #eee;
    padding: 20px 0;
    background: #fff !important;
}

.copyright-payment p {
    margin: 0;
    padding: 5px 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .footer-top .newsletter-container {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-left {
        margin-bottom: 20px;
    }

    .footer-main {
        text-align: center;
    }

    .block-social ul.social-links {
        justify-content: center;
    }

    .footer-menu {
        margin-top: 30px;
    }

    .linklist {
        margin-bottom: 30px;
    }

    .copyright-payment .row .col-12 {
        text-align: center !important;
        margin-bottom: 15px;
    }
}

@media (max-width: 767px) {
    .newsletter-right .input-group {
        flex-direction: column;
    }

    .newsletter-right .form-control {
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .newsletter-right .btn-primary {
        border-radius: 4px;
        width: 100%;
    }
}

.footer-menu .linklist ul {
    column-count: 2;
}

@media (min-width: 992px) {

    .footer-menu .col-lg-8,
    .footer-menu .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.header-top-wrapper {
    align-items: center;
    display: flex;
    width: 100%;
}

.header-top-item.left {
    text-align: left;
    flex: 1;
}

.header-top-item.right {
    text-align: right;
    margin-left: 20px;
}

.header-top-item p {
    font-size: 0.75rem;
    margin-bottom: 0;
    margin-top: 0;
}

#header .header-bottom {
    background: #41b6a6;
}

#header .header-bottom #amegamenu li .amenu-link span {
    color: #fff;
}

#header .header-bottom #amegamenu li:hover .amenu-link span {
    color: #41b6a6;
}

#header .header-bottom #amegamenu li:hover .amenu-link span:after {
    display: none;
}

.btn-primary {
    color: #fff;
    background-color: #41b6a6;
    border-color: #41b6a6;
}

.btn-primary:hover {
    color: #fff;
    background-color: #41b6a6;
    border-color: #41b6a6;
    opacity: .7;
}

.left-nav-trigger {
    display: none;
}

#header .header-event-banner p {
    text-align: left;
}

#amegamenu .anav-top .adropdown.adrd5 .acot4 {
    width:100%;
}

#amegamenu .adropdown .category-title a {
    border-bottom: 2px solid #41b6a6;
}

.aone-popupnewsletter .popup-background {
    background-position: center;
    background-size: cover;
}

.aone-popupnewsletter .popup-content {
    max-width: unset !important;
}

.aone-popupnewsletter .popup-content h3 {
    text-align: center;
    place-self: center;
    color: #fff;
    font-size: 2rem;
    margin-top: 2rem;
    line-height: 2rem;
}

.aone-popupnewsletter .popup-content .block-newsletter .newsletter-container {
    flex-direction: column;
}

.aone-popupnewsletter .popup-content .block-newsletter .newsletter-container .newsletter-left,
.aone-popupnewsletter .popup-content .block-newsletter .newsletter-container .newsletter-right {
    max-width: 100%;
    flex: 1;
}

.aone-popupnewsletter .popup-content .block-newsletter .newsletter-container .newsletter-small-text,
.aone-popupnewsletter .popup-content .block-newsletter .newsletter-container .subscribe-text {
    color: #fff;
}

#footer .footer-main {
    background-color: #41b6a6;
}

#search_widget form i {
    top: 3px;
    left: 3px;
}

