/* 
Theme Name: La Pegatina Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Tema custom per La Pegatina
Author: Xavier Gadea
Author URI: https://wwwoood.info
Template: hello-biz
Version: 2.0.0
Text Domain: lapegatina-child
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 */
.col-left-align-contentedor {
    padding-left: calc((100vw - 1320px) / 2) !important;
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 1400px) {
    .col-left-align-contentedor {
        padding-left: 20px !important;
    }
}

.fondo-puntos {

    /* Creamos dos capas de puntos */
    background-image:
        radial-gradient(#000 1px, transparent 2.5px),
        radial-gradient(#000 1px, transparent 2.5px) !important;

    /* Definimos el tamaño del patrón (p.ej. 30px) */
    background-size: 24px 22px;
    background-repeat: repeat no-repeat;


    /* Desplazamos la segunda capa la mitad del tamaño (15px) */
    background-position: 0 20px, 12px 7px;

}

input {
    padding-left: 0px !important;
}

@media (min-width: 768px) {
    #Footer_News button {
        position: absolute;
        top: -30px;

    }

}

@media (max-width: 768px) {
    #Footer_News input {
        text-align: center !important;
    }

    #Footer_News button {
        margin-top: 25px !important;
    }
}

input[type="checkbox"] {
    /* Elimina el estilo por defecto del navegador */
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    margin: 0;

    /* Dimensiones y bordes */
    width: 14px;
    height: 14px;
    border: 1px solid white !important;
    border-radius: 0px;

    /* Alineación básica y cursor */
    display: inline-grid;
    place-content: center;
    cursor: pointer;
    vertical-align: middle;
}

input[type="checkbox"]:checked {
    /* Dibujamos una palomita blanca usando una imagen de fondo (SVG) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 80% 80%;
    background-repeat: no-repeat;
    background-position: center;
}

input[type="checkbox"]:checked::before {
    transform: scale(1) !important;
}

.footer-direcciones a {
    color: #FFF !important;
    text-decoration: underline;
}

.footer-direcciones a:hover {
    color: #FFF !important;
}

.footer-direcciones .tel {
    text-decoration: none !important;
}

.breadcrumbs-custom a {
    color: #F29F05 !important;
    font-size: 13px;
}

.breadcrumbs-custom span {
    font-size: 13px !important;
}

/* Seleccionamos el SVG dentro del contenedor con la clase .bt-arrow-animation */
.bt-arrow-animation .elementor-button:hover .elementor-button-icon svg {
    transform: rotate(45deg);
    transition: transform 0.5s ease;
    /* Transición suave */
}

/* Opcional: Aseguramos que el icono tenga un estado inicial de transición */
.bt-arrow-animation .elementor-button-icon svg {
    transition: transform 0.5s ease;
}

.ico-down svg {
    transform: rotate(95deg) !important;
}

.ico-down .elementor-button:hover svg {
    transform: rotate(135deg) !important;
    transition: transform 0.5s ease;
}

/* Contenidor del formulari */
.members-login-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Amaga les etiquetes */
.members-login-form label {
    display: none !important;
}

/* Contenidor dels camps */
.members-login-form p {
    display: inline-block;
    width: 48%;
    margin-bottom: 30px;
    vertical-align: top;
}

/* Primer camp (email) a l'esquerra */
.members-login-form p:first-of-type {
    margin-right: 4%;
}

/* Camps d'entrada */
.members-login-form input[type="text"],
.members-login-form input[type="password"] {
    width: 100% !important;
    padding: 15px 0 !important;
    border: none !important;
    border-bottom: 2px solid #000 !important;
    background: transparent !important;
    font-size: 16px !important;
    outline: none !important;
    border-radius: 0px !important;
}

/* Placeholder personalitzat */
.members-login-form input[type="text"]::placeholder,
.members-login-form input[type="password"]::placeholder {
    color: #000;
    font-size: 16px;
}

/* Focus en els camps */
.members-login-form input[type="text"]:focus,
.members-login-form input[type="password"]:focus {
    border-bottom: 2px solid var(--e-global-color-secondary) !important;
}

.members-login-form .login-submit {
    width: 100% !important;
    margin-top: 30px;
}

/* Botó submit */
.members-login-form input[type="submit"] {
    display: block;
    width: 70%;
    max-width: 350px;
    margin: 30px auto 0;
    padding: 18px 30px;
    background: var(--e-global-color-secondary) !important;
    color: #000 !important;
    border: none;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background 0.3s;
    border-radius: 0px !important;
}

.members-login-form input[type="submit"]:hover {
    background: var(--e-global-color-secondary) !important;
}

/* Amaga checkbox "Recorda'm" */
.members-login-form .login-remember,
.members-login-form p.login-remember {
    display: none;
}

/* Amaga enllaços extras */
.members-login-form .members-login-links {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .members-login-form p {
        display: block;
        width: 100%;
        margin-right: 0;
    }

    .members-login-form input[type="submit"] {
        width: 100%;
    }
}

.slide-home-desktop .elementor-element .swiper .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 60px !important;
}

/* 1. OCULTAR EL MENÚ ORIGINAL DE ELEMENTOR */
/* Usamos selectores muy específicos para que no gane Elementor */
.elementor-nav-menu--main ul.sub-menu.elementor-nav-menu--dropdown,
.elementor-nav-menu--main .menu-item-has-children>a+ul.sub-menu,
.elementor-nav-menu--main .sub-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* La franja naranja siempre al 100% de la pantalla */
.full-width-orange-submenu {
    background-color: var(--e-global-color-secondary) !important;
    width: 100vw !important;
    left: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    display: none;
    z-index: 999999 !important;
    position: absolute !important;
    border: none !important;
    pointer-events: auto !important;
    white-space: nowrap;
    /* Evita que los items salten de línea */
}

/* Los items del submenú en horizontal */
.full-width-orange-submenu li {
    display: inline-block !important;
    list-style: none !important;
    margin-right: 20px;
    /* Espacio entre items del submenú */
}

.full-width-orange-submenu li a {
    color: #000 !important;
    text-decoration: none !important;
    padding: 10px 5px !important;
    display: block !important;
    font-size: 16px;
    font-weight: 500;
}

.full-width-orange-submenu li a:hover,
.full-width-orange-submenu li a.elementor-item-active {
    background-color: transparent !important;
    color: #000 !important;
}

/* Color original del texto (ajusta el color gris/negro que uses) */
.elementor-nav-menu--main .menu-item a {
    transition: color 0.3s ease !important;
    color: #FFF !important;
}

/* Color naranja al pasar el ratón por encima del padre */
.elementor-nav-menu--main .menu-item:hover>a,
.elementor-nav-menu--main .menu-item.is-active>a {
    color: #FF8C00 !important;
    /* Tu naranja */
}

/* Estado inicial del botón/flecha */
.conciertos-filtro .btn-buscar img {
    transition: transform 0.3s ease;
    /* Duración de la animación */
    transform: rotate(0deg);
    /* Posición original (vertical o la que tenga) */
}

/* Cuando el input tiene el foco, rotamos la imagen dentro del botón */
.conciertos-filtro .buscar-localidad:focus~.btn-buscar img {
    transform: rotate(45deg);
    /* Ajusta los grados según la posición original de tu SVG */
}

/* Opcional: Si quieres que también rote al pasar el ratón por el input */
.conciertos-filtro .buscar-localidad:hover~.btn-buscar img {
    transform: rotate(45deg);
}