/*
Theme Name: D-Hijo
Theme URI: http://acuabit.es
Version: 1.0
Description: Tema para Wordpress desarrollado por ACUABIT
Author: ACUABIT
Author URI: http://acuabit.es
Template: Divi
*/
/*----------------- General -------------------------------*/

:root {
    --rojo: #d60101;
}


/* Barra de scroll general */
::-webkit-scrollbar {
    width: 12px;
}

/* Color de fondo del track (canal) */
::-webkit-scrollbar-track {
    background: #f2f2f2;
}

/* Color de la barra (thumb) */
::-webkit-scrollbar-thumb {
    background-color: var(--rojo);
    /* Rojo */
    border-radius: 6px;
    border: 4px solid #f2f2f2;
    /* Para dar espacio alrededor */
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--rojo) #f2f2f2;
}


.sigla-red {
    display: inline-block;
    transform: rotate(-12deg);
    color: var(--rojo);
    font-size: 36px;
    font-weight: 550;
}

.sigla-red-h1-home {
    display: inline-block;
    transform: rotate(-12deg);
    color: var(--rojo);
    font-size: 52px;
    font-weight: 550;
}

.sigla-red-h1-titles {
    display: inline-block;
    transform: rotate(-12deg);
    color: var(--rojo);
    font-size: 58px;
    font-weight: 550;
}

.sigla-red-titulos-espectaculos {
    display: inline-block;
    transform: rotate(-12deg);
    color: var(--rojo);
    font-size: 52px;
    font-weight: 550;
}

.color-red {
    font-size: 14px !important;
    font-weight: 400;
    color: var(--rojo);
}

/*----------------- Breadcrumbs --------------------------*/

#breadcrumbs {
    padding: 0px;
    color: white;
}

/*----------------- Menu Responsive ---------------------*/
.et_mobile_menu {
    overflow-y: scroll !important;
    max-height: 80vh !important;
    -overflow-scrolling: touch !important;
    -webkit-overflow-scrolling: touch !important;
}

/*----------------- Header ---------------------------*/

/* fondo borroso y con opacidad del header */
.et_fixed_nav #main-header {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

#top-header .container {
    padding-top: 0;
}

#logo {
    max-height: 140% !important;
    position: absolute;
    top: -16px;
}

.compania-teatral {
    margin-left: 14%;
    margin-top: 1%;
    font-family: 'Arvo', serif;
    font-weight: bold;
    font-size: 18px;
    color: #fff;
    display: inline-block;
    line-height: 1.2;
    transition: margin-left 0.3s ease;
}

/* Cuando el menú se reduce al hacer scroll */
.et-fixed-header .compania-teatral {
    margin-left: 12%;
    font-size: 16px;
    margin-top: 0%;
}

/* ---- Menu Header ---- */

#top-menu li.current-menu-item a,
#top-menu li.current_page_item a {
    background-color: var(--rojo);
    color: white !important;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.et_header_style_left #et-top-navigation nav>ul>li>a {
    padding-bottom: 12px;
    padding-top: 10px;
    font-weight: 500 !important;
}

.et_header_style_left .et-fixed-header #et-top-navigation nav>ul>li>a {
    padding-bottom: 10px;
    color: white !important;
}

#top-menu {
    margin-bottom: 10px;
}

#top-menu li a {
    position: relative;
    overflow: hidden;
}

#top-menu-nav>ul>li>a:hover {
    color: white !important;
    font-weight: 600;
}

/* Línea roja solo para items principales SIN hijos */
#top-menu>li:not(.menu-item-has-children)>a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 4px;
    bottom: 0;
    left: 0;
    background-color: var(--rojo);
    transition: width 0.4s ease;
}

/* Hover en items principales SIN hijos */
#top-menu>li:not(.menu-item-has-children)>a:hover::after {
    width: 100%;
}

/* Línea roja también para items del SUBMENU */
#top-menu .sub-menu li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 4px;
    bottom: 0;
    left: 0;
    background-color: var(--rojo);
    transition: width 0.4s ease;
}

/* Hover en items del SUBMENU */
#top-menu .sub-menu li a:hover::after {
    width: 100%;
}

/* Flechita solo para items CON hijos (desplegables) */
#top-menu .menu-item-has-children>a:first-child::after {
    font-family: ETmodules;
    content: "3";
    font-size: 16px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 800;
    background: none;
}

#main-header .nav li ul {
    background-color: black !important;
}

nav #top-menu #menu-item-8587 .sub-menu {
    background-color: black !important;
}

#main-header .nav li ul a {
    color: white !important
}

nav #top-menu #menu-item-9553 .sub-menu li>a {
    color: white !important;
}


/*----------------- Top Header 1 ---------------------------*/

#top-header-content-1 {
    padding: 8px 0px 0px 0px;
    background: transparent;
}

#top-header-content-1 .top-header-item {
    margin-bottom: 1.25%;
}

#top-header-content-1 .et_pb_row {
    padding: 0;
}

#top-header-content-1 .et_pb_row .et_pb_column {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

#top-header-content-1 .et_pb_blurb_position_left .et_pb_blurb_container {
    padding-left: 0px;
    color: #303030;
}

#top-header-content-1 .top-header-item {
    font-size: 12px;
    line-height: 20px;
    padding-right: 10px;
}

#top-header-content-1 .et_pb_blurb .et_pb_image_wrap {
    width: 15px;
}

#top-header-content-1 .et_pb_blurb_position_left .et-pb-icon {
    font-size: 20px;
}

#top-header-content-1 .et_pb_blurb .et-pb-icon {
    color: #000;
}

/*----------------- Inicio -------------------------------*/

#fila-nuestra-mision {
    overflow: visible !important;
}

#container-titulo-home .et_pb_slide_description {
    margin-top: 4%;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container .header-content a.et_pb_button {
    margin-top: 0px;
}

#home-hero .et_pb_slide_description .et_pb_more_button {
    margin-top: 0px;
}

.et_pb_slides .et_pb_slider_container_inner {
    display: flex;
}

.et_pb_fullwidth_slider_0 .et_pb_slide .et_pb_slide_description {
    padding: 0;
    margin-top: 2%;
}

.separador-magico {
    width: 100%;
    height: 60px;
    overflow: hidden;
}

.separador-magico svg {
    width: 100%;
    height: 100%;
    display: block;
}


/*----------------- Paginas ------------------------------*/

.ciudad-premios {
    font-size: 14px;
    font-weight: 400;
}

.container-hero-clown {
    display: flex;
    align-items: center;
}

.hero-espectaculos {
    display: flex;
    align-items: center;
}

#espectaculos-hero {
    display: flex;
    align-items: end;

    .fila-btn-ver-espectaculo {
        padding-bottom: 0px;
        margin-bottom: 0px;
    }
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}




/* -------------- Agenda -------------- */


.tribe-events-view {
    background-color: white;
}

.et-db #et-boc .et-l .et_pb_section {
    background-color: black;
    padding: 0px !important;
}

.ecmd-list-post.style2 .ecmd-list-post-left .ecmd-date-highlight {
    width: 25%;
}

#tribe-events-content,
.tribe-events-single-event-title,
.tribe-events-single-section-title,
.tribe-event-date-start {
    color: white;
}


/*------------------ Blog --------------------*/

.et_pb_post a img {
    max-width: 50% !important;
    border-radius: 6px !important;
    box-shadow: -4px 0 0 0 var(--rojo);
    display: inline-block;
}


#left-area article img {
    max-width: 50% !important;
    border-radius: 6px !important;
    box-shadow: -4px 0 0 0 var(--rojo);
    display: inline-block;

}

.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__export-icon,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__export-icon {
    display: none;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item a,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item a {
    color: white;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown,
.tribe-events .tribe-events-c-subscribe-dropdown {
    margin: 0px;
}

.tribe-events-single-event-description p {
    margin-bottom: 0px;
}

.tribe-events-event-categories a {
    color: white !important;
}

#tribe-events-content p a {
    color: white !important;
}

.tribe-events-schedule {
    margin: 0px;
}

.tribe-events-nav-pagination .tribe-events-sub-nav {

    .tribe-events-nav-previous a,
    .tribe-events-nav-next a {
        color: white;
    }
}

.tribe-events-event-image img {
    max-width: 50%;
    border-radius: 6px;
    border: solid 2px var(--rojo);
}

.tribe-common button {
    padding: 8px;
    background-color: var(--rojo);
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
}

/*----------------- Footer ------------------------------*/

#main-footer .fila-contacto-footer .tel-mail-footer a {
    color: white !important;
}

.fila-contacto-footer {
    display: flex;
    align-items: center;
}

.creditos-pie {
    text-align: center;
    color: #ffffff;
}

.creditos-pie a,
#footer-info {
    color: #ffffff;

    &:hover {
        color: var(--rojo);
    }
}

.creditos-pie .elemento {
    display: inline-block;
    margin: 0px 15px;
}

.creditos-pie .elemento.copy #footer-info {
    float: right;
    margin-left: 5px;
}

.bottom-nav li.current-menu-item>a {
    color: var(--rojo);
}


#pie-pagina,
#pie-pagina h3,
#pie-pagina h4,
#pie-pagina h5 {
    color: white;
    font-size: 20px;
}

#pie-pagina a {
    color: #ffffff;
}

#pie-pagina {
    font-size: 14px;
}

#pie-pagina .et_pb_menu {
    background-color: transparent;
}

#pie-pagina .et_pb_menu .et-menu {
    margin-left: 0;
    margin-right: 0;
    display: initial;
}

#pie-pagina .et_pb_module {
    margin-bottom: 15px;
}

#et-footer-nav {
    background: #000000;
    border-top: 1px solid #f6f6f6;
    border-bottom: 1px solid #f6f6f6;
}

#footer-bottom {
    background: #000000;
    font-size: 10px;
    padding: 10px 0px;
}

#firma .container {
    text-align: center;
    font-size: 9.5px;
    color: white;
}

#firma .firma-link {
    color: #ffffff;
    font-weight: bold;
}

/*--------------- CUADRO BUSQUEDA --------------*/

form.et-search-form {
    background: white !important;
}


/*------------ FCUSTOM-FORM-7 CSS ----------*/

.cf7-custom-css {
    color: #ffffff;
    border: 1px solid white;
    border-radius: 6px;
    padding: 20px;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: var(--rojo);
    border-radius: 6px;
    color: white;
}

/* Estilo para todos los inputs y textarea */
.fields .field-item input[type="text"],
.fields .field-item input[type="tel"],
.fields .field-item input[type="email"],
.fields .field-item textarea {
    border: none;
    border-bottom: 1px solid var(--rojo);
    width: 100%;
    padding: 6px !important;
    box-sizing: border-box;
    margin-bottom: 36px;
    font-size: 18px;
    background-color: transparent;
    color: white;
}

/* Estilo para el textarea */
.fields .field-item textarea {
    padding: 10px;
    margin-bottom: 20px !important;
}



/* Estilo para el boton de envio */
.submit .et_pb_contact_submit {
    background-color: var(--rojo);
    color: white !important;
    padding: 10px 20px;
    border: 1px solid var(--rojo);
    border-radius: 12px;
    cursor: pointer;
    margin-top: 20px;
    margin-left: 0px;

}


/* Efecto hover para el boton */
.submit .et_pb_contact_submit:hover {
    background-color: var(--rojo);
    color: white;

    .wpcf7-spinner {
        display: none;
    }
}

.conditions {
    p {
        color: rgb(255, 255, 255);

        a {
            color: var(--rojo) !important;
            font-weight: 700;
        }
    }

    .wpcf7-list-item {
        margin: 0 !important;
    }
}

.contacto {
    .et_pb_blurb_content {
        max-width: 100%;
    }
}

/* END ***** PLUGIN - CF7 */

@media(max-width: 767px) {
    .cf7-custom-css .fields-cols {
        display: initial;
    }

    .cf7-custom-css .fields-cols .field-item {
        margin-right: 0px;
    }
}


/*----- Banner--Cookies -----*/
html.show--consent .btnpref,
html.show--preferences .btnpref {
    display: none;
}

.btnpref {
    position: fixed;
    z-index: 99999999999;
    bottom: 15px;
    left: 15px;
    max-width: 72px;
    font-size: 14px;
    padding: 5px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 1px -1px 1px 0px rgba(0, 0, 0, 0.3);
}

.btnpref img {
    max-width: 40px;
    transition: transform 0.3s ease-in-out;
}

.btnpref img:hover {
    transform: scale(1.1);
    animation: bounce 0.5s ease;
}

/*animacion efecto rebote*/
@keyframes bounce {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.btnpref:hover {
    cursor: pointer;
}

/* ---- FOOTER FLOTANTE RESPONSIVE ---- */
.footer-flotante-movil {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #ffffff;
    display: none;
    /* Se activa solo en móviles */
    justify-content: center;
    padding: 12px 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

.footer-flotante-movil a {
    text-decoration: none;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: bold;
    flex: 1;
    margin: 0 5px;
    text-align: center;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

/* Estilos individuales por botón */
.boton-llamar {
    background-color: #28a745;
    /* Verde teléfono */
}

.footer-flotante-movil .fa-phone-alt {
    transform: scaleX(-1);
}

.boton-whatsapp {
    background-color: #25D366;
    /* Verde WhatsApp */
}

.boton-mail {
    background-color: #ff9800;
    /* Naranja email */
}

.footer-flotante-movil a:hover {
    opacity: 0.9;
}


/*-------  MEDIA  QUERIES --------*/

@media(min-width: 1080px) and (max-width: 1660px) {

    .et_pb_row,
    .et_pb_row_1 {
        width: 90% !important;
    }

    .container {
        width: 90% !important;
    }

    div#n2-ss-2 .n-uc-uXYj8S4YWqmm-inner,
    .n-uc-gXH7DCANzd2A-inner,
    .n-uc-P3pLWDg5961Q-inner,
    .n-uc-fYcDqffFvQeF-inner,
    .n-uc-NKJSJ4uiOtBz-inner,
    .n-uc-7DA5YdaSD7p7-inner {
        padding: 10px 90px 50px 10px !important;
    }

}


@media(min-width: 1660px) and (max-width: 1920px) {

    .compania-teatral {
        margin-left: 14%;
    }

    .et-fixed-header .compania-teatral {
        margin-left: 12% !important;
    }
}

@media(min-width: 1440px) and (max-width: 1659px) {

    .compania-teatral {
        margin-left: 17%;
    }

    .et-fixed-header .compania-teatral {
        margin-left: 14% !important;
    }
}

@media(min-width: 1281px) and (max-width: 1439px) {

    .compania-teatral {
        margin-left: 18% !important;
    }

    .et-fixed-header .compania-teatral {
        margin-left: 14% !important;
    }
}

@media(min-width: 1080px) and (max-width: 1280px) {

    .compania-teatral {
        margin-left: 20% !important;
    }

    .et-fixed-header .compania-teatral {
        margin-left: 16% !important;
    }
}


@media(max-width: 980px) {

    .compania-teatral {
        margin-left: 34% !important;
    }

    .et-fixed-header .compania-teatral {
        margin-left: 28% !important;
    }

    #et_mobile_nav_menu .mobile_menu_bar::before {
        color: white !important;
        border: solid 1px white;
        border-radius: 4px !important;
    }

    /*--Banner--Cookies--*/
    .btnpref {
        bottom: 69px;
        left: 0px;
        max-width: 180px;
        border-radius: 8px;
        padding: 4px;
        background-color: white;
        border: none;
        border-radius: 0px 8px 0px 0px !important;
    }

    .btnpref img {
        max-width: 14px !important;
    }

    .fila-contacto-footer {
        flex-direction: column;
    }

    .bottom-nav li {
        padding-right: 0px;
    }

    .footer-flotante-movil {
        display: flex;
    }

    .order-column {
        display: flex;
        flex-direction: column;

        .column-1 {
            order: 2;
        }

        .column-2 {
            order: 1;
        }
    }

}

@media(max-width: 480px) {

    #main-header .logo_container .swift-in-viewport {
        margin-left: 2% !important;
        padding-top: 2% !important;
    }

    .compania-teatral {
        margin-left: 0% !important;
    }

    .et-fixed-header .compania-teatral {
        margin-left: 0% !important;
    }

    #logo {
        max-height: 100% !important;
        position: relative;
        top: 0px;

    }

    #main-header .container {
        width: 90% !important;
    }

    #menu-legal {
        display: flex;
        flex-direction: column;
    }



    #et_mobile_nav_menu .mobile_menu_bar .text {
        display: none;
    }

    .et_fixed_nav #main-header {
        position: fixed !important;
        border-bottom: solid 1px white;
    }

    #main-header {

        #mobile_menu {
            margin: 0 -5.5%;
            width: 100vw;
            max-height: 75vh;
            border-top: solid 2px var(--rojo);
            border-bottom: solid 2px var(--rojo);

            li a {
                font-size: 16px;
                text-transform: uppercase;
                text-align: start;
                font-family: 'Arvo', serif !important;
                border-bottom: 0.5px dashed var(--rojo);
            }

        }

    }

    .sub-menu {
        li {
            padding-left: 0px;
        }

        li a {
            text-transform: inherit !important;
        }
    }

    .sub-menu li a::before {
        content: "-";
        color: var(--rojo);
        margin-right: 2px;
        font-weight: bold;
    }


    .sigla-red-h1-home {
        font-size: 34px;
    }

    .sigla-red-h1-titles {
        font-size: 36px !important;
    }

    .sigla-red {
        font-size: 28px;
    }

    #h1-hero-home {
        margin-bottom: -110px !important;
        top: -520px !important;
    }



    .cambiar-orden {
        display: flex;
        flex-direction: column;

        .texto {
            order: 2;
        }

        .imagen {
            order: 1;
        }
    }

    #barra-contacto-movil {
        padding: 35px 0 !important;
    }



    .sigla-red-h1-pages {
        font-size: 44px;
    }

    .sigla-red-titulos-espectaculos {
        font-size: 32px !important;
    }

    body #page-container .et_pb_section .et_pb_fullwidth_header_0 .et_pb_button_one.et_pb_button {
        margin-right: 0px;
    }

    .et_pb_fullwidth_header .et_pb_fullwidth_header_container {
        width: 94%;
    }

    .et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
        width: 100%;
    }

    #fondo-espectaculo-igualdad {
        background-position: left 12% center;
    }



    /*-- contacto --*/
    div.et_pb_section.et_pb_section_0 {
        background-position: left 14% bottom 0% !important;
    }

}

@media(max-width: 320px) {
    .ecmd-list-post.style2 .ecmd-list-post-left .ecmd-date-highlight {
        width: 40%;
    }
}