/*
Theme Name: Neuron
Theme URI: https://github.com/elementor/hello-theme/
Description: Neuron is a child theme of Hello Elementor, created by Ionic Team
Author: Foster the Market Team
Author URI: https://foster.cat
Template: hello-elementor
Version: 1.0.1
Text Domain: neuron
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/
/*************************************************************************
* Tipografia
* Header
* General
* La Ruta en 3 días
* Agenda de festividades
*************************************************************************/
:root {
    --primary-color: #015C3B;
    --secondary-color: #FFD100;
}
/****** Tipografia ******/
h1, .h1,
.elementor-widget-heading h1.elementor-heading-title {
	font-size: 90px;
    font-weight: 500;
}
h2, .h2,
.elementor-widget-heading.h2 .elementor-heading-title,
.elementor-widget-heading h2.elementor-heading-title {
    font-size: 34px;
}
.elementor-widget-heading.h2 .elementor-heading-title {
    font-weight: 500;
}
h3, .h3,
.elementor-widget-heading.h3 .elementor-heading-title,
.elementor-widget-heading h3.elementor-heading-title {
    font-size: 24px;
}
.elementor-widget-button .elementor-button.elementor-button-link {
    font-size: 20px;
}
a {
    color: var(--primary-color);
}
@media(max-width: 1024px) {
    .elementor-widget-heading h1.elementor-heading-title {
        font-size: 76px;
    }
}
@media(max-width: 880px) {
    .elementor-widget-heading h1.elementor-heading-title {
        font-size: 66px;
    }
}
@media(max-width: 767px) {
    .elementor-widget-heading h1.elementor-heading-title {
        font-size: 54px;
    }
    .elementor-widget-button .elementor-button.elementor-button-link {
        font-size: 16px;
    }
}
@media(max-width: 480px) {
    .elementor-widget-heading h1.elementor-heading-title {
        font-size: 36px;
    }
}

/****** Header ******/
.site-header .menu li.menu-item a {
    font-size: 18px;
    text-transform: uppercase;
}
.site-navigation ul.menu li ul.sub-menu {
    width: max-content;
}
.site-header .site-navigation-toggle-holder .site-navigation-toggle {
    background-color: transparent;
    color: var(--primary-color);
}
.site-header .site-navigation-dropdown ul.menu > li li {
    max-height: none;
    transform: none;
}
.site-header .site-navigation-dropdown ul.sub-menu > li > a {
    padding-left: 30px;
}
.site-header .site-navigation-dropdown ul.menu li.current-menu-item a {
    background-color: transparent;
    color: #55595c;
}
.site-header .site-navigation-dropdown ul.menu > li.current-menu-item > a,
.site-header .site-navigation-dropdown ul.sub-menu > li.current-menu-item > a {
    background-color: var(--primary-color);
    color: #ffffff;
}
@media (max-width: 410px) {
    .site-logo img {
        width: 230px;
    }
    .site-header .menu li.menu-item a {
        font-size: 16px;
    }
}
@media (min-width: 576px) {
    .site-header.dynamic-header .header-inner {
        max-width: 100%;
        padding: 0 10px;
    }
}
@media (min-width: 1200px) {
    .site-header.dynamic-header .header-inner {
        max-width: 1280px;
        padding: 0 10px;
    }
}

/****** General ******/
.imprescindibles__castillos .elementor-widget-image-box,
.imprescindibles__button .elementor-widget-image-box {
    background-color: var(--primary-color);
    transition: all .3s;
}
.imprescindibles__castillos:hover .elementor-widget-image-box,
.imprescindibles__button:hover .elementor-widget-image-box {
    background-color: var(--secondary-color);
}
.imprescindibles__castillos .elementor-widget-image-box p.elementor-image-box-description,
.imprescindibles__button .elementor-widget-image-box p.elementor-image-box-description {
    transition: all .3s;
}
.imprescindibles__castillos:hover .elementor-widget-image-box p.elementor-image-box-description,
.imprescindibles__button:hover .elementor-widget-image-box p.elementor-image-box-description {
    color: var(--primary-color);
}
.imprescindibles__castillos:not(:hover) .elementor-widget-image-box img,
.imprescindibles__button:not(:hover) .elementor-widget-image-box img {
    transition: filter 0.2s ease;
    filter: brightness(0) invert(1);
}
.natural__button .elementor-button {
    width: 100%;
}

/****** La Ruta en 3 días ******/
/* Botones */
.ruta-tabs {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.ruta-tab {
    border: 0;
    border-radius: 0;
    padding: 20px 40px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
    color: #1e1e1e;
}
.ruta-tab:hover {
    background-color: #E7E7E7;
    color: #1e1e1e;
}
.ruta-tab.is-active {
    background-color: #E7E7E7;
    font-weight: 700;
    color: #1e1e1e;
}

/* Timeline */
.ruta-timeline {
    position: relative;
}
.ruta-rail {
    position: relative;
    width: 26px;
    flex: 0 0 26px;
}
.ruta-rail:not(.last-rail):before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: -20px;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: #DAA900;
}
.ruta-rail::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 12px;
    height: 12px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: #DAA900;
    z-index: 2;
}

/****** Agenda de festividades ******/
.agenda-cal { 
    position: relative; 
}
.sw-cal-loading{
    position:absolute;
    inset:0;
    display:none;
    align-items:center;
    justify-content:center;
    background: rgba(255,255,255,.65);
    backdrop-filter: blur(1px);
    z-index: 10;
}
.sw-spinner{
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 3px solid rgba(0,0,0,.15);
    border-top-color: rgba(0,0,0,.55);
    animation: swspin .7s linear infinite;
}
@keyframes swspin { 
    to { 
        transform: rotate(360deg); 
    } 
}
#sw-agenda-calendar.fc {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 500;
}
#sw-agenda-calendar.fc .fc-button {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: #b8b8b8;
    border-radius: 12px;
    padding: 6px 10px;
}
#sw-agenda-calendar.fc .fc-prev-button.fc-button {
    margin-right: 10px;
}
#sw-agenda-calendar.fc .fc-today-button.fc-button {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #ffffff;
}
#sw-agenda-calendar.fc .fc-button:disabled {
    opacity: .45;
}
#sw-agenda-calendar .fc-header-toolbar {
    position: relative;
}
.sw-cal-toolbar-title {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 24px;
}
#sw-agenda-calendar .fc-daygrid-event,
#sw-agenda-calendar .fc-daygrid-block-event,
#sw-agenda-calendar .fc-event {
    border: 0;
}
#sw-agenda-calendar .fc-scrollgrid,
#sw-agenda-calendar .fc-scrollgrid-section > td,
#sw-agenda-calendar .fc-scrollgrid-section > th,
#sw-agenda-calendar .fc-col-header-cell,
#sw-agenda-calendar .fc-daygrid-day {
    border: 0;
}
#sw-agenda-calendar .fc-daygrid-day,
#sw-agenda-calendar .fc-daygrid-day-frame,
#sw-agenda-calendar .fc-daygrid-day-bg,
#sw-agenda-calendar .fc-highlight,
#sw-agenda-calendar .fc-daygrid-day.fc-day-today,
#sw-agenda-calendar table tbody>tr:nth-child(odd)>td, 
#sw-agenda-calendar table tbody>tr:nth-child(odd)>th {
    background: transparent;
}
#sw-agenda-calendar .fc-daygrid-day-frame {
    display: flex;
    align-items: center;
    justify-content: center;
}
#sw-agenda-calendar .fc-daygrid-day-top {
    justify-content: center;
}
#sw-agenda-calendar .fc-daygrid-day-number {
    line-height: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
}
#sw-agenda-calendar .fc-daygrid-day.has-event .fc-daygrid-day-number::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #daa900;
}
#sw-agenda-calendar .fc-daygrid-day.is-selected .fc-daygrid-day-number {
    border: 2px solid #daa900;
}
#sw-agenda-calendar .fc-daygrid-day:hover .fc-daygrid-day-number {
    border: 1px solid rgba(218,169,0,.45);
}
.agenda-results .agenda-day-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}
.sw-agenda-item {
    padding: 20px 0;
    border-bottom:1px solid #E0E0E0;
    font-family: "Montserrat", sans-serif;
}
.sw-agenda-item-row {
    padding-left: 20px;
    display:flex;
    justify-content:space-between;
    gap:16px;
    align-items:flex-start;
}
.sw-agenda-item__left {
    flex:1;
    min-width:0;
}
.sw-agenda-item__title {
    font-weight: 500;
    font-size: 16px;
    color: #3b3b3b;
}
.sw-agenda-item__meta {
    margin-top: 6px;
    font-size: 14px;
    color: #B8B8B8;
}
.sw-agenda-item__menu {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: #f5f5f5;
    color: #666666;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.sw-agenda-item__menu:hover {
    background: rgba(0,0,0,.08);
}
.sw-agenda-item__details {
    padding-top: 10px;
    padding-left: 20px;
}
@media (min-width: 481px) {
    .sw-cal-toolbar-title {
        position: absolute;
        left: 50%;
        top: 0;
        margin-bottom: 0;
    }
}