:root {
    --gap-1: 3px;
    --gap-2: 9px;
    --gap-3: 12px;
    --gap-4: 15px;
    --p-1: 5px;
    --p-2: 10px;
    --p-3: 20px;

    --sm: 20px;
    --md: 40px;
    --lg: 60px;
    --xl: 80px;

    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1500px;
    --header-height: 60px;
}

html {
    font-family: Lato, sans-serif;
    color: var(--font-primary-color);
    overflow-x: hidden;
}

html,
body {
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    gap: var(--sm);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Kelson, sans-serif;
    color: var(--font-h-primary-color);
}

main {
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: var(--max-width);
    /*min-height: 50vh;*/
    margin: 0 auto;
}

@media (max-width: 576px) {
    main {
        margin: 50px;
    }
}

@media (max-width: 1024px) {
    main {
        margin: initial;
        margin: 25px;
        /*margin: 0 auto;*/
    }

    main.main-home {
        max-width: 800px;
        word-wrap: break-word;
    }

    img {
        max-width: 100% !important;
    }
}

@media (min-width: 1024px) {
    main {
        margin: 50px auto;
    }
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    border-radius: var(--border-radius);
    color: var(--primary-btn-color);
    border: 2px solid var(--primary-btn-bg-color);
    background-color: var(--primary-btn-bg-color);
    transition: all 0.3s ease;
}

.btn.btn-img {
    background-image: url(/img/search.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px;
    width: 64px;
}

.btn:hover {
    color: var(--primary-btn-hover-color);
    background-color: var(--primary-btn-bg-hover-color);
    border-color: var(--primary-btn-border-hover-color);
}

.btn.btn-secondary {
    color: var(--secondary-btn-color);
    background-color: var(--secondary-btn-bg-color);
    border-color: var(--secondary-btn-border-color);
}

.btn.btn-secondary:hover {
    color: var(--secondary-btn-hover-color);
    background-color: var(--secondary-btn-bg-hover-color);
    border-color: var(--secondary-btn-border-hover-color);
}

.btn.btn-disabled {
    color: var(--disabled-btn-color);
    background-color: var(--disabled-btn-bg-color);
    border-color: var(--disabled-btn-border-color);
}

.btn.btn-disabled:hover {
    color: var(--disabled-btn-hover-color);
    background-color: var(--disabled-btn-bg-hover-color);
    border-color: var(--disabled-btn-border-hover-color);
}

.btn.btn-fav {
    color: var(--fav-btn-color);
    background-color: var(--fav-btn-bg-color);
    border-color: var(--fav-btn-border-color);
    position: relative;
}

.btn.btn-fav:hover {
    color: var(--fav-btn-hover-color);
    background-color: var(--fav-btn-bg-hover-color);
    border-color: var(--fav-btn-border-hover-color);
}

.glowing:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 1;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

* {
    box-sizing: border-box;
    accent-color: var(--primary-accent-color);
}

a {
    color: inherit;
}

a.btn {
    text-decoration: none;
}

.hystmodal__window {
    border-radius: var(--border-radius);
}

#home-banner {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding-top: 5vh;
    padding-bottom: 5vh;
}

.banner-item {
    text-align: center;
    max-width: 250px;
}

@media (max-width: 576px) {
    #home-banner {
        flex-direction: column;
        align-items: center;
    }

    .banner-item {
        padding: var(--p-3);
    }
}

.message {
    color: #333;
    width: 100%;
    padding: var(--p-3);
    border-radius: var(--border-radius);
    background-color: var(--bg-alert-color);
    border-left: 5px solid #3378b5;
    box-shadow: var(--box-shadow);
    cursor: pointer;
}

.message:not(:last-child) {
    margin-bottom: var(--p-2);
}

.message.success {
    background-color: #a8f0c6;
    border-left: 5px solid #178344;
}

.message.error,
.message.danger {
    background-color: #f7a7a3;
    border-left: 5px solid #8f130c;
}

.message.warning {
    background-color: #ffd48a;
    border-left: 5px solid #8a5700;
}

.message.hidden {
    display: none;
}

.login-form {
    display: grid;
    grid-area: main;
    align-items: center;
    justify-self: center;
    width: 100%;
    min-width: 350px;
    max-width: 600px;
}

.login-form form {
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: var(--p-3);
    background-color: #fff;
    width: 100%;
}

.results {
    display: grid;
    width: 100%;
    gap: 3rem;
}


/* Estilos para tarjetas de excuriones */
.result-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.category-tag {
    background-color: var(--category-bg-color);
    border-radius: 0.25rem;
    width: fit-content;
    color: var(--category-color);
    font-size: 0.8rem;
    height: 1.3rem;
    font-weight: bold;
    padding: 0.25rem 0.5rem;
    text-transform: uppercase;
}

.price {
    color: var(--font-h-primary-color);
    font-weight: bold;
    font-size: 1.4rem;
}

/* FIN Estilos para tarjetas de excursiones */


@media (max-width: 576px) {
    .results {
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
    }

    .category-tag {
        font-size: 1rem;
        height: 1.5rem;
    }

    .two-inputs {
        display: flex;
        justify-content: space-between;
        gap: var(--gap-2);
    }

    .two-inputs div {
        flex: 1;
    }
}

@media (min-width: 768px) {
    .results {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .results {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1500px) {
    .results {
        grid-template-columns: repeat(3, minmax(300px, 1fr));
    }
}

@media (max-width: 1400px) {
    .result-title {
        flex-direction: column;
        gap: var(--p-1);
    }
}

.result {
    width: 100%;
    box-shadow: var(--box-shadow);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    border-radius: var(--border-radius);
    outline: none;
    cursor: pointer;
    overflow: hidden;
}

.result:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.result .container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--p-1) var(--p-3);
    height: 180px;
}

.result .container h3 {
    text-transform: uppercase;
}

.result .container-categories {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--p-1) var(--p-3);
    text-align: center;
    height: 250px;
    box-shadow: inset 0px -150px 50px -90px rgba(0, 0, 0, 0.8);
    transition: all 0.2s ease-in-out;
}

.result .container-categories:hover {
    box-shadow: inset 0px -350px 100px -250px rgba(0, 0, 0, 0.8);
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.result .container-categories h3 {
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--bg-card-color);
}

.result .image {
    height: 200px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin-bottom: var(--p-2);
}

.result p.price {
    align-self: flex-end;
    font-size: 0.8em;
    color: #888;
}

header {
    box-sizing: content-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: var(--header-height);
    padding: 20px;
}

.full-header {
    height: 80vh;
    background-image: var(--header-bg-image);
    background-position: var(--header-bg-position);
    background-size: cover;
}

.full-header h2 {
    font-size: 5vw;
}

@media (max-width: 576px) {
    .full-header h2 {
        font-size: 10vw;
    }
}

/* Medida temporal para la demo */
@media (max-width: 1024px) {
    .full-header {
        background-position: var(--mobile-header-bg-position);
    }
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

header .header-main {
    max-width: var(--max-width);
}

header .header-search {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
}

header .header-search h2 {
    margin-top: 0;
}

@media (max-width: 1024px) {
    header .header-main {
        max-width: initial;
    }
}


/* HEADER STICKY */

#topheader {
    box-sizing: content-box;
    display: flex;
    /*opacity: 0;*/
    flex-direction: column;
    align-items: center;
    background-color: var(--bg-card-color);
    box-shadow: var(--box-shadow);
    height: var(--sticky-header-height);
    padding: 20px;
    width: 100%;
    position: fixed;
    top: -100px;
    z-index: 99;
    transition: top .3s ease-in-out;
}

#topheader.show {
    top: 0;
    transition: top .3s ease-in-out;
}

#topheader .sticky-header-main {
    max-width: var(--max-width);
    height: var(--header-height);
    color: var(--header-dark-font-color);
}

#topheader nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

#topheader h2 {
    font-size: 5vw;
}

#topheader ul {
    flex-grow: 1;
}

#topheader li {
    display: flex;
    align-items: center;
    text-align: center;
    gap: var(--gap-1);
    list-style: none;
}

#topheader a {
    text-decoration: none;
}

#topheader h1 {
    height: 100%;
}

#topheader h1 img {
    height: 90%;
    width: auto;
}

#topheader .hamburger-sticky {
    margin-right: var(--p-2);
    display: none;
}

#topheader .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--font-primary-color);
}

#topheader .hamburger-sticky:hover .bar {
    background-color: var(--font-primary-hover-color);
}

#topheader ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

#topheader a {
    font-weight: 700;
    color: var(--font-primary-color);
}

#topheader a:hover {
    color: var(--header-dark-font-hover-color);
}

@media (max-width: 1024px) {
    #topheader .sticky-header-main {
        max-width: initial;
    }
}

@media (max-width: 576px) {
    #topheader {
        width: 90%;
    }
}

/* FIN HEADER STICKY */

header h2 {
    font-size: 5vw;
}

header ul {
    flex-grow: 1;
}

header li {
    display: flex;
    align-items: center;
    text-align: center;
    gap: var(--gap-1);
    list-style: none;
}

header h1 {
    height: 100%;
}

header h1 img {
    max-height: 100px;
    max-width: 50vw;
    height: auto;
}

header .hamburger {
    margin-right: var(--p-2);
    display: none;
}

header .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--font-primary-color);
}

header .hamburger:hover .bar {
    background-color: var(--font-primary-hover-color);
}

header ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    align-self: flex-start;
    gap: 1rem;
}

header a {
    font-weight: 700;
    text-decoration: none;
}


header.light a {
    color: var(--header-light-font-color);
}

header.dark a {
    color: var(--header-dark-font-color);
}

header.light a:hover {
    color: var(--header-light-font-hover-color);
}

header.dark a:hover {
    color: var(--header-dark-font-hover-color);
}

#flash-messages {
    grid-area: flash;
}

#featured-slider {
    padding-top: 5vh;
}

#featured-slider>h2 {
    font-size: 3vh;
    font-weight: bold;
    text-align: center;
}

#featured-categories {
    margin: 0 auto;
}

#featured-categories {
    margin-top: var(--p-2);
}

#featured-categories>h2 {
    font-size: 3vh;
    font-weight: bold;
    text-align: center;
}

.featured-thumb,
.excursion-slide,
.featured-categories-thumb,
.fakeButton {
    cursor: pointer;
}

.filters {
    height: fit-content;
    min-width: 300px;
    top: 0;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
}

#thumbnail-slider {
    margin-top: var(--p-2);
}

#thumbnail-slider .splide__pagination {
    bottom: -1em;
}

.footer-div {
    width: 100%;
    margin: 50px auto 0 auto;
}

footer {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: var(--p-2) 0;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-divider {
    border-bottom: 1px solid #CCC;
    height: 1px;
    margin-bottom: 1rem;
}

/* Temporalmente para ver el logo de clicatur*/
footer div.footer-logo img {
    width: auto;
}

/* Temporalmente para ver el logo de clicatur*/

footer .links {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

footer .links .made-by {
    flex: 1;
}

footer .links a {
    color: var(--font-primary-color);
    text-decoration: none;
}

footer .links a:hover {
    /*font-weight: 700;*/
    color: var(--font-primary-hover-color);
}

footer .weather {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: flex-end;
    align-items: center;
    gap: var(--gap-4);
    flex: 1;
}

footer .weather .upcoming {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    justify-self: flex-start;
    gap: var(--gap-2);
}

footer .weather .now {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    align-items: center;
    justify-content: center;
    justify-self: flex-end;
    gap: var(--gap-2);
}

footer .weather .now .icon {
    width: 100px;
    height: 100px;
    text-align: center;
}

footer .weather .now .temp {
    font-weight: 700;
    font-size: 2rem;
    text-align: right;
}

footer .weather .now .speed {
    font-size: 0.8rem;
    text-align: right;
}

footer .upcoming>div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .upcoming {
    font-size: 0.8rem;
}

footer .upcoming .max {
    color: #eb7976;
}

footer .upcoming .min {
    color: #4f9fcf;
}

footer .info {
    display: flex;
    flex-direction: column;
    justify-content: left;
    gap: var(--gap-2);
    font-size: 0.8rem;
    flex: 1;
}

footer .info address {
    padding: 0 var(--p-2);
}

footer .address {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-content: center;
    gap: var(--gap-2);
    font-size: 0.8rem;
    flex: 1;
}

footer .address .address-lines {
    color: #333;
}

footer address {
    padding: 0 var(--p-2);
    font-style: normal;
}

footer .info .contact {
    color: #333;
}

footer .info .social {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

footer .info .social svg {
    width: 32px;
    height: 32px;
    cursor: pointer;
}

footer .info .social svg:hover {
    color: var(--font-primary-hover-color);
}

footer .config {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-area: config;
}

footer .config .view-selector .input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-4);
}

footer .config .view-selector label {
    text-align: right;
}

footer .config .view-selector .input>* {
    margin-bottom: 0;
}

footer .mainfooter {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

#view {
    width: max-content;
}

.lang-flags {
    cursor: pointer;
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: var(--p-3);
    margin-bottom: var(--p-2);
}

p {
    margin-bottom: var(--p-3);
}

.text-small {
    font-size: 0.8rem;
}

.input.select>label,
.input.email>label,
.input.tel>label,
.input.password>label,
.input.text>label,
.input.textarea>label {
    display: block;
    font-weight: 700;
    margin-bottom: var(--p-2);
}

.input.select .checkbox input {
    margin-bottom: var(--p-1);
}

#product-title {
    /*font-size: 4vh;*/
    font-size: 2rem;
}

#product-info #rates {
    display: grid;
    grid-template-rows: repeat(4, min-content);
}

.order-item {
    display: grid;
    align-items: center;
    justify-items: space-between;
    grid-template-columns: min-content 1fr;
    gap: var(--p-3);
    padding: var(--p-3);
    border-radius: var(--border-radius);
    background-color: var(--bg-card-color);
    box-shadow: var(--box-shadow);
    margin-bottom: var(--p-2);
}

.order-item * {
    margin: 0;
}

.order-item .order-number {
    font-weight: 700;
    font-size: 3rem;
}

.order-item .info {
    text-align: right;
}

.order-item .order-price {
    font-weight: 700;
    font-size: 2rem;
}

.order-status {
    font-weight: 700;
}

.order-status-0 {
    color: grey;
}

.order-status-1 {
    color: green;
}

.order-status-3 {
    color: red;
}

#booking-list {
    grid-area: cart;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(140px, min-content);
    gap: var(--p-2);
}

.booking-item {
    display: grid;
    grid-template-columns: 140px 1fr min-content;
    gap: var(--gap-2);
    border-radius: var(--border-radius);
    background-color: var(--bg-card-color);
    overflow: hidden;
}

.booking-title,
.total-title {
    display: flex;
    justify-content: space-between;
}

.item-info {
    display: flex;
    flex-direction: column;
    padding: var(--p-2);

}

.booking-total {
    align-self: flex-end;
}

.booking-info {
    display: grid;
    grid-template-columns: 1fr max-content;
    height: 100%;
}


@media (max-width: 1199px) {

    footer {
        flex-direction: column;
    }

    footer .info address {
        text-align: right;
    }

    footer .links,
    footer .weather {
        border-right: none;
        flex: 1;
    }

    footer .weather {
        grid-area: weather;
        justify-content: center;
    }

    footer .links {
        grid-area: links;
        flex-direction: row;
        justify-content: center;
    }

    footer .social {
        grid-area: social;
    }
}

@media (max-width: 1024px) {
    header ul {
        position: fixed;
        top: 0;
        left: -120%;
        flex-direction: column;
        justify-content: center;
        background-color: #fff;
        gap: 2em;
        height: 100%;
        width: 100%;
        text-align: center;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        z-index: 98;
    }

    header li {
        margin: 0;
    }

    header ul.active {
        left: 0;
        margin: 0;
        padding: 0;
    }

    header .hamburger {
        display: block;
        cursor: pointer;
        z-index: 99;
        align-self: flex-start;
    }

    header .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    header .hamburger.active:hover .bar {
        background-color: var(--font-primary-hover-color);
    }

    header .hamburger.active .bar {
        background-color: var(--font-primary-color);
    }

    header .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    header .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* STICKY HEADER */

    /*#topheader {
        width: 90%;
    }*/

    #topheader ul {
        position: fixed;
        top: 0;
        left: -120%;
        flex-direction: column;
        justify-content: center;
        background-color: #fff;
        gap: 2em;
        height: 100%;
        width: 100%;
        text-align: center;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        z-index: 98;
    }

    #topheader li {
        margin: 0;
    }

    #topheader ul.active {
        left: 0;
        margin: 0;
        padding: 0;
    }

    #topheader .hamburger-sticky {
        display: block;
        cursor: pointer;
        z-index: 99;
    }

    #topheader .hamburger-sticky.active .bar:nth-child(2) {
        opacity: 0;
    }

    #topheader .hamburger-sticky.active:hover .bar {
        background-color: var(--font-primary-hover-color);
    }

    #topheader .hamburger-sticky.active .bar {
        background-color: var(--font-primary-color);
    }

    #topheader .hamburger-sticky.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #topheader .hamburger-sticky.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* STICKY HEADER END */

    footer .links {
        flex-direction: column;
    }

    footer .info {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 1fr) repeat(2, max-content);
        flex-direction: column;
        grid-template-areas:
            "address"
            "contact"
            "social"
            "config";
        gap: var(--gap-2);
    }

    footer .links,
    footer .info address,
    footer .info .contact {
        text-align: center;
    }
}

@media (max-width: 1024px) {
    #topheader ul {
        justify-content: center;
    }
}

@media (max-width: 575px) {

    .result .image {
        height: 200px;
    }

    .filters h3 {
        cursor: pointer;
    }

    .order-item {
        grid-template-columns: 1fr;
    }

    .order-item .order-number {
        text-align: center;
        font-size: 2rem;
    }

    .order-item .order-price {
        font-size: 1.5rem;
    }

    .order-item .info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    footer {
        margin-bottom: var(--md);
    }

    footer .footer-logo {
        text-align: center;
        padding: 1rem;
    }

    footer .mainfooter {
        flex-direction: column;
    }

    footer address {
        text-align: center;
        padding-bottom: var(--p-2);
    }

    footer .info {
        padding: var(--p-3);
        font-size: inherit;
    }

    footer .mainfooter .social {
        justify-content: center;
    }

    footer .address {
        flex-direction: column;
        justify-content: center;
        gap: var(--gap-2);
        font-size: inherit;
        flex: 1;
    }

    footer .weather {
        grid-template-rows: repeat(2, max-content);
        grid-template-columns: 1fr;
    }

    footer .weather .now,
    footer .weather .upcoming {
        justify-self: center;
    }

    footer .made-by {
        order: 10;
    }
}

@media (max-width: 768px) {
    footer .mainfooter {
        flex-direction: column;
        gap: var(--sm);
    }

    footer .info {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: var(--gap-2);
    }

    footer .address {
        flex-direction: column;
        text-align: center;
        align-content: center;
        gap: var(--md);
        font-size: 0.8rem;
        flex: 1;
    }

    footer .info .social {
        align-items: center;
        justify-content: center;
    }

    footer .links {
        flex-direction: column;
        gap: var(--md);
    }
}

@media (min-width: 576px) and (max-width: 767px),
(min-width: 1200px) {
    .two-inputs-half {
        display: flex;
        /*justify-content: space-between;*/
        gap: var(--gap-2);
    }

    .two-inputs-half div {
        flex: 1;
    }
}

.subtitle {
    font-style: italic;
    margin-bottom: var(--p-2);
}

.subtitle>*:first-child {
    display: inline;
}

.subtitle>* {
    margin: 0;
}

.accent {
    color: var(--primary-accent-color);
}

p.mini {
    margin: var(--p-1) 0 var(--p-1) 0;
}

.mw-400 {
    max-width: 400px;
}

.ml-3 {
    margin-left: var(--p-3);
}

.grow {
    flex-grow: 1;
}

.plusminus-input {
    display: flex;
}

.plusminus-input input {
    width: 64px;
    height: 36px;
    text-align: center;
    margin-bottom: 0;
    padding: 0 var(--p-1);
    border-radius: 0;
    border-right: none;
    border-left: none;
}

.plusminus-input button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    background-color: var(--primary-bg-color);
    border: 0.1rem solid #d1d1d1;
    cursor: pointer;
    color: var(--font-h-primary-color);
}

.plusminus-input .minus {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    border-right: 0;
}

.plusminus-input .plus {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    border-left: 0;
}

#book-form button[type="submit"] {
    border-radius: var(--border-radius);
}


.languageChecked {
    border: 1px solid #DDD;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    background-color: var(--font-primary-color);
    color: #FFF;
    cursor: pointer;
    margin-right: 1rem;
}

.languageNotChecked {
    border: 1px solid #DDD;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    background-color: #FFF;
    color: #999;
    cursor: pointer;
    margin-right: 1rem;
}

#book-form .input.radio.required label:not(.custom-label) input[type="radio"] {
    display: none;
}

.flex-right {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-direction: row;
    gap: var(--p-2);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: var(--p-2);
}

#debug-menu {
    position: fixed;
    top: 30%;
    right: 0;
    padding-right: 1em;
    color: #fff;
    background: #d33c44;
    z-index: 9999;
    transform: translateX(95%);
    transition: all 0.5s ease;
}

#debug-menu:hover {
    transform: translateX(0);
}

#cart-badge {
    display: inline-block;
    box-sizing: initial;
    min-width: 1em;
    /* em unit */
    padding: .3em .4em;
    /* em unit */
    border-radius: var(--border-radius);
    font-size: 12px;
    text-align: center;
    background-color: var(--primary-accent-color);
    color: var(--font-secondary-color);
}

.fc-daygrid-day .fc-event {
    cursor: pointer;
}

.fc-daygrid-day .fc-event:hover {
    filter: brightness(70%);
}

.fc .fc-daygrid-day-number {
    padding: 4px 4px 0 0;
}

.input-home-btn {
    display: flex;
    min-width: 35vw;
}

.input-home-btn .text {
    width: 100%;
}

.input-home-btn .text input {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-home-btn .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    height: 3rem;
}

.filters input.btn.btn-img {
    width: 96px;
    height: 48px;
}

.input-with-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--sm);
}

.input-with-btn .input {
    flex: 1;
}

.input-with-btn input, select {
    border-radius: var(--border-radius);
}

.mobile-searcher {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: var(--sm);
}

@media (max-width: 576px) {
    .input-with-btn>div {
        flex: 1;
        width: 100%;
    }

    .input-with-btn {
        flex-direction: column;
        gap: var(--p-1);
    }
}

.custom-label {
    display: block;
    font-weight: 700;
}

.rate-item {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(80px, max-content) max-content 1fr;
    gap: var(--p-2);
}

.rate-price {
    text-align: right;
}

.rate-description {
    font-size: 0.8rem;
    font-weight: normal;
    font-style: italic;
}

.rate-item input[type="number"] {
    max-width: 100px;
}

#pickuplocation option {
    margin-bottom: var(--p-1);
}

#pickuplocation option[value="not-in-list"] {
    font-weight: 700;
}

.callout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--p-2);
    border: 1px solid var(--primary-accent-color);
    border-radius: var(--border-radius);
    text-align: center;
    margin: var(--p-2) auto;
    width: 100%;
}

.paginator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.paginator ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: var(--p-2);
    padding-left: 0;
}

.paginator ul a {
    text-decoration: none;
    /*border: 1px solid var(--primary-accent-color);*/
    border-radius: var(--border-radius);
    padding: var(--p-2) var(--p-2);
}

.paginator ul > li.active > a {
    color: var(--primary-btn-color);
    background-color: var(--primary-btn-bg-color);
}

.paginator ul > li.active > a:hover {
    color: var(--primary-btn-color);
    background-color: var(--primary-btn-bg-hover-color);
}

.paginator ul a:hover {
    color: var(--primary-btn-color);
    background-color: var(--primary-btn-bg-color);
}

#pickup-desc {
    font-size: 0.9rem;
}

#pickup-desc>* {
    margin-top: 0;
}

/* loader */
.fullscreen-loader {
    display: flex;
    align-items: center;
    justify-content: center;

    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 99999;
}

.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}

.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: var(--border-radius);
    background: #fff;
    margin: -4px 0 0 -4px;
}

.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
}

.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
}

.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
}

.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
}

.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
}

.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
}

.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
}

.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
}

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* loader */

#active-user {
    grid-area: user;
    padding: var(--p-1) var(--p-2);
    background-color: var(--secundary-accent-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}

/* Cambios CSS para Calendario (fullcalendar) */
#calendar {
    padding-bottom: 10px;
}

.fc-toolbar-title {
    padding-left: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: #FFF;
}

.fc-header-toolbar {
    background-color: var(--font-h-primary-color);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.fc .fc-scrollgrid *, .fc .fc-scrollgrid table {
    border: none !important;
}

.fc .fc-daygrid-day-frame {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /*height: 8vh;*/
}

.fc-theme-standard .fc-scrollgrid {
    border: none !important;
}

.fc-event, .fc-day-today {
    border-radius: 50px;
}

.fc-daygrid-day-number {
    pointer-events: none;
}

.fc .fc-daygrid-day.fc-day-today {
    background-color: transparent !important;
}

.fc-col-header-cell {
    text-transform: uppercase;
    /*width: 8vh;*/
}

.fc .fc-daygrid-day.fc-day-today>div {
    border-radius: 50px;
}

.fc .fc-daygrid-day.fc-day-other {
    color: #333 !important;
}

.fc-highlight {
    opacity: inherit;
}

/*.fc-scrollgrid-sync-inner {
    width: 8vh;
}*/

.fc-col-header tbody tr {
    border-bottom: 1px black !important;
}

#calendar {
    color: #333;
}

.fc .fc-button-primary {
    background-color: transparent !important;
    border: none !important;
}

.fc .fc-bg-event {
    opacity: 0.5 !important;
}

a.fc-col-header-cell-cushion {
    color: var(--secundary-accent-color);
}

@media (max-width: 576px) {
    .fc-col-header-cell {
        width: inherit;
    }

    .fc-scrollgrid-sync-inner {
        width: inherit;
    }

    .fc-header-toolbar {
        text-align: center;
    }

    /*.fc .fc-daygrid-day-frame {
        height: 6vh;
    }*/

}

/* Fin de clases para calendario */

#excursion-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 2rem;
}

#excursion-info>div:first-child {
    flex: 2;
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

#excursion-info>div:last-child {
    flex: 1;
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

@media (max-width: 576px) {
    #excursion-info {
        flex-direction: column;
    }
}

#excursion-details {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    padding: 1rem;
    border-radius: var(--border-radius);
    gap: 1rem;
    font-size: 1.5rem;
}

/* Estilos para el selector de lugar de recogida */
.custom-select2 .select2-container {
    margin-bottom: 1rem;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    margin-bottom: 0;
}

.custom-select2 .select2-container .select2-selection--single {
    height: auto;
}

.custom-select2 .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0.6rem 3rem 0.7rem 1rem;
}

.custom-select2 .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
}

/* Estilos para el botón "go to top" */
#gototop {
    display: none;
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 50px;
    right: 50px;
    z-index: 99;
    border: none;
    background-color: var(--primary-btn-bg-color);
    color: var(--primary-btn-color);
    cursor: pointer;
    padding: 15px;
    border-radius: 50px;
    font-size: 18px;
    transition: all 0.3s ease;
}

#gototop:hover {
    background-color: var(--primary-btn-bg-hover-color);
    color: var(--primary-btn-hover-color);
    transition: all 0.3s ease;
}

.attention-box {
    color: red;
    border: 1px solid red;
    border-radius: 5px;
    padding: 5px;
    font-size: 18px;
}

@media (max-width: 576px) {
    #gototop {
        width: 40px;
        height: 40px;
        bottom: 30px;
        right: 30px;
        padding: 10px;
    }

    .padding-top {
        padding-top: 2rem;
    }
}

#main-slider {
    height: fit-content;
}

.select-map {
    display: inline-block;
    margin-left: 15px;
    background-color: coral;
    border-radius: 5px;
    border: 1px solid transparent;
    color: #fff;
    cursor: pointer;
}

.select-map:hover {
    background-color: rgb(255, 145, 106);
}

#flash-messages {
    padding: 15px 30px;
}

.no-available {
    fill: rgba(255, 127, 80, 0.5) !important;
    stroke: rgba(255, 127, 80) !important;
    stroke-width: 0.5;
}

.available {
    fill: rgba(95, 255, 80, 0.5) !important;
    stroke: rgba(95, 255, 80) !important;
    stroke-width: 0.5;
    cursor: pointer;
}
