:root {
    --color-primary:      #386079;
    --color-accent:       #467eb6;
    --color-background:   #386079;
    --color-on-primary:   #ffffff;
    --color-on-background: #ffffff;
    --font-primary:       'Roboto', sans-serif;
}

body {
    background-color: var(--color-background, #386079);
    font-family: var(--font-primary, 'Roboto', sans-serif);
    margin: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    flex-direction: row;
    font-size: 22px;
    line-height: 2.3rem;
}

#defaultprojects {
    display: none;
    height: 0;
    opacity: 0;
    width: 0;
}

#splashlogo {
    background-color: #ffffffb5;
    border-bottom: 3px #fff solid;
    border-top: 3px #fff solid;
    margin: 1em;
    padding: 1em;
    transition: all ease 0.5s;
    width: 100%;
}

#splashlogo img,
.loadingAlert {
    animation: fadeinphoto 3s 1s 1;
    -moz-animation: fadeinphoto 3s 1s 1;
    -webkit-animation: fadeinphoto 3s 1s 1;
    -o-animation: fadeinphoto 3s 1s 1;
    animation-iteration-count: infinite;
    opacity: 0;
    width: 25%;
}

#splashlogo.hide {
    opacity: 0;
    height: 0;
    width: 0;
}

.loadingAlert {
    color: #fff;
    width: 75% !important;
}

@keyframes fadeinphoto {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-moz-keyframes fadeinphoto {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-webkit-keyframes fadeinphoto {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-o-keyframes fadeinphoto {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.indexdesctitle,
.indexslogan,
.indexdesc p {
    color: #fff !important;
    margin-bottom: 2rem;
}

.indexdesctitle {
    font-size: 2.5em;
}

.indexslogan {
    font-size: 1.5em
}

/* Icons */
.icons {}

.material-symbols-outlined {
    transition: all ease 0.3s;
}

.material-symbols-outlined.disabled {
    color: silver;
}

.distanceicon,
.distanceinfo {
    height: 0px;
    vertical-align: middle;
    margin-right: 15px;
    transition: all ease 0.5s;
    transition-delay: 1s;
    /* Add a 0.5s delay */
    opacity: 0;
}

.distanceicon.inview,
.distanceinfo.inview {
    height: 18px;
    opacity: 1;
    transition: all ease 0.5s;
    transition-delay: 1s;
    font-size: 16px;
}

span.distanceinfo.inview {
    display: inline;
}

footer .material-symbols-outlined {
    color: #0f0f0f;
    font-size: 2.5rem;
    vertical-align: middle;
    font-weight: bold;
    transition: all ease 0.3s;
}

/* fallback icons on page load until material icons load */
.material-symbols-outlined img,
footer img {
    width: 36px
}

footer button {
    background-color: transparent;
    border: none;
}

/* Sweeping loading bar at the top of the footer — visible against the light #eceaea footer background */
body.content-loading footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--color-primary, #386079) 45%, #66a8d0 55%, transparent 100%);
    background-size: 250% 100%;
    animation: content-loading-sweep 1.2s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes content-loading-sweep {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/* Noticeably dim and desaturate footer buttons while content is loading */
.content-loading footer button {
    opacity: 0.35;
    filter: grayscale(100%);
    transition: opacity 0.2s, filter 0.2s;
}

/* Instant tactile feedback on tap/click — fires before any JS runs */
footer button:active {
    opacity: 0.5;
    transform: scale(0.88);
    transition: none;
}

/*mapguide*/
.mapGuide {
    width: auto;
    position: absolute;
    background-color: #f5f5f5cc;
    cursor: pointer;
    z-index: 0;
    margin-bottom: 2rem;
    right: calc(12% - 32px);
    top: 20px;
    text-align: right;
    padding-left: 10px;
    transition: all ease 0.5s;
    transition-delay: 1s;
    /* Add a 0.5s delay */
    opacity: 0;
}

.mapGuide.inview {
    opacity: 1;
    transition: all ease 0.5s;
    transition-delay: 1s;
}

.mapGuide i {
    font-size: 1.5rem;
}

.mapGuide button,
.mapGuide span,
.mapGuide i {
    border: none;
    background: transparent;
    display: inline-block;
    margin-right: 1rem;
    width: auto;
}

.mapGuide i.fa-solid.fa-location-dot {
    font-size: 26px;
    color: #333;
}

.shareButton {
    background: none;
    border: none;
    margin-left: 1em;
}

.fa-share-nodes {
    height: 10px;
}

#backicon {
    transition: all ease 0.3s;
}

#backicon.hidden {
    opacity: 0;
}

.pshare {
    padding-bottom: 0px;
}

.inputShare {
    display: none;
}

button.shareSocialButton {
    border: none;
    margin: 0 1rem;
}

.copyButton {
    background: none;
    border: none;
}

/*mapguide*/


h1 {
    text-align: center;
    color: #fff;
    line-height: 4rem;
}

p {
    color: #fff;
    padding: 1rem 3rem;
    margin: 0.3rem 0;
}

.container p {
    color: #111;
}

/*general styles*/
.header {
    background: var(--color-primary, #386079);
    position: fixed;
    display: inline-flex;
    width: 100%;
    height: 85px;
    flex-wrap: nowrap;
    justify-items: center;
    justify-content: space-between;
    z-index: 10;
    transition: all ease 1s;
}

content {
    width: 100%;
}

header.scroll {
    box-shadow: 0px 0px 1rem 1px #ecf4f9;
    border-bottom: 1px solid #fefefe;
    height: 70px;
}

#logo {
    width: 100%;
    margin-top: 0.8em;
    margin-bottom: 0.7em;
    transition: all ease 0.7s;
}

#logo img {
    display: block;
    height: 50px;
    margin: 0 auto;
}

header.scroll #logo img {
    height: 40px;
}

footer i {
    display: inline-block;
    margin: 0 1rem;
    z-index: 999;
}

footer {
    box-shadow: 0px 0px 1rem 0px #989898;
    display: flex;
    justify-content: space-evenly;
    height: 2.5rem;
    background: #eceaea;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.8rem;
    position: fixed;
    bottom: 0;
    margin-bottom: 0px;
    z-index: 999;
    align-items: flex-end;
    transition: all ease 0.5s;
}

footer a {
    height: 54px;
}

p.signature {
    text-align: right;
    font-style: italic;
    font-size: 0.9rem;
}

.logo img {
    height: 100%;
}

/*Estilos para el botón de selección de modo de transporte */
select#travel-mode-control {
    background: none padding-box rgb(255, 255, 255);
    display: table-cell;
    border: 0px;
    margin: 0px;
    margin-top: 11px;
    padding: 0px 17px;
    text-transform: none;
    appearance: none;
    position: relative;
    cursor: pointer;
    user-select: none;
    direction: ltr;
    text-align: center;
    height: 40px;
    vertical-align: middle;
    color: rgb(0, 0, 0);
    font-family: var(--font-primary, 'Roboto', sans-serif);
    font-size: 18px;
    border-bottom-left-radius: 2px;
    border-top-left-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    min-width: 45px;
    font-weight: 500;
}

/*------------*/



/* columns */
.container {
    margin-top: 3em;
    display: flex;
    justify-content: center;
    width: 100%;
    height: fit-content;
}

.left-column {
    display: flex;
    margin-right: 15px;
    width: 50%;
    margin-top: 30px;
    text-align: left;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    align-items: center;
    height: fit-content;
}

body.site-view-active .left-column,
body.site-view-active .right-column {
    overflow-y: visible !important;
}

body.site-view-active .titleImg {
    position: relative !important;
}

.right-column {
    display: flex;
    margin: 0 15px;
    width: 50%;
    margin-top: 30px;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    align-items: center;
    height: fit-content;
    background-color: var(--color-primary, #386079);
    perspective: 1000px;
    /* Adjust for depth */
    perspective-origin: center;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.right-column.searchresults {
    margin-top: calc(30px + 6rem);
}

.right-column>div {
    width: 100%;
    transform-origin: center;
    transform-style: preserve-3d;
    transition: transform 0.5s ease-in-out;
}

/*----------*/
/**/
/*boxes on the columns*/
.boxes {
    display: flex;
    position: relative;
    /* anchor for absolute-positioned .mapGuide inside */
    width: 100%;
    background-color: #f2f2f2;
    margin: 10px 4%;
    text-decoration: none;
    box-shadow: 4px 5px 16px 0px rgb(36 36 36);
    flex-wrap: wrap;
    opacity: 1;
    transition: opacity 1.5s;
}

/* Desktop masonry: CSS columns, 2 up from 700px, 3 up from 1100px.
   Site-view (single point) stays full-width. */
@media (min-width: 700px) {
    body:not(.site-view-active) .right-column {
        display: block;
        columns: 2;
        column-gap: 10px;
    }

    body:not(.site-view-active) .right-column .boxes {
        break-inside: avoid;
        display: inline-block; /* required for column layout */
        width: 100%;
        margin: 0 0 10px 0;
    }
}

@media (min-width: 1100px) {
    body:not(.site-view-active) .right-column {
        columns: 3;
    }
}

.indexpage .boxes {
    margin: 0 0 1em 0;
}

/* Clase que controlará la aparición de las cajas al hacer scroll */
.appear {
    opacity: 1;
    /* Cuando la clase appear se agrega, las cajas se vuelven visibles */
}


.boxes:hover {
    border: 0.5px #000;
    outline: #000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.box {
    display: block;
    width: 100%;
    background-color: #fff;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    min-height: 120px;
}

/* Shimmer animation while image loads */
.box-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #ececec 25%, #d4d4d4 50%, #ececec 75%);
    background-size: 400% 100%;
    animation: box-shimmer 1.4s infinite linear;
    z-index: 1;
    pointer-events: none;
}

@keyframes box-shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/*----------*/

/* Scroll-load sentinel & spinner */
.scroll-load-sentinel {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 0 16px;
    width: 100%;
}

.scroll-load-spinner {
    width: 36px;
    height: 36px;
    border: 4px solid #e0e0e0;
    border-top-color: #555;
    border-radius: 50%;
    animation: scroll-load-spin 0.8s linear infinite;
}

@keyframes scroll-load-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll hint arrow */
#scrollHintBtn {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 900;
    opacity: 1;
    transition: opacity 0.4s ease;
    animation: scroll-hint-bounce 1.4s ease-in-out infinite;
}

#scrollHintBtn.scroll-hint-hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes scroll-hint-bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

/*----------*/
.image {
    display: block;
    margin: 0 auto;
    width: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image.img-loaded {
    opacity: 1;
}

.title {
    border-top: 1px solid #c9c9c9;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 1em;
    align-content: center;
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 0;
    text-overflow: ellipsis;
    padding: 0.3em;
    line-height: 1.25em;
}

.title-open-icon {
    flex-shrink: 0;
    margin-left: 0.4em;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.4s ease 0.5s, transform 0.4s ease 0.5s;
    display: flex;
    align-items: center;
    color: #888;
}

.boxes.box-inview .title-open-icon {
    opacity: 1;
    transform: translateX(0);
}

/*----------*/

/*left column*/


/*----------*/

/*Description and title*/
.mainbox {
    font-family: var(--font-primary, 'Roboto', sans-serif);
    text-align: left;
    text-justify: distribute-all-lines;
    display: flex;
    flex-wrap: wrap;
    width: 70%;
    background-color: #f2f2f2;
    margin-bottom: 2em;
    width: 100%;
    text-decoration: none;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
    padding-top: 1em;
    padding-bottom: 1em;
}

.mainbox p {
    text-align: left;
    text-justify: distribute;
    letter-spacing: 0.2px;
    width: 70%;
    background-color: #f2f2f2;
    width: 95%;
    text-decoration: none;
    padding: 1em;
    padding-top: 0em;
}


.mainbox:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#descriptionp {
    text-align: center;
    padding: 2em;
}

/*----------*/

/*right column*/
h2 {
    font-weight: 200;
    font-size: 2em;
    margin-top: 0.8em;
    margin-bottom: 0.4em;
    line-height: 1.25em;
    width: 100%;
    letter-spacing: 0.2px;
    text-align: center;
    color: #333;
}

/*----------*/


/*after click*/

.titleImg {
    display: flex;
    position: relative;
    width: 100%;
    height: 370px;
    background-size: cover;
    background-position: center top;
    text-decoration: none;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}

@media screen and (min-width: 700px) {
    .titleImg {
        height: 520px;
    }
}

@media screen and (min-width: 1200px) {
    .titleImg {
        height: 640px;
    }
}

#cristal {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    align-items: center;
    z-index: 1;
}

#title {
    display: flex;
    width: 90%;
    padding-top: 0.5em;
    height: 30%;
    color: white;
    z-index: 2;
    font-weight: bold;
    font-weight: 300px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

#infoRoutes {
    color: white;
    font-weight: 300px;
    font-size: 1em;
    padding: 1em;
    font-weight: bold;
    clear: both;
    z-index: 2;
    /* Agrega un valor de z-index mayor para que aparezca por encima del pseudo-elemento */
}

/*----------*/
/*InfoPage*/

#info {
    margin-top: 1.3em;
    display: flex;
    background-color: rgb(255, 255, 255);
    width: 100%;
    flex-direction: column;
}

#info a {
    padding-top: 1em;
    font-size: 1em;
    color: #333 !important;
    text-decoration: none;
    border-bottom: 1px solid #dedede;
    padding-bottom: 1rem;
}

#infoLinksBottom {
    padding-bottom: 5em;
}

#infoTitle {
    color: rgb(0, 0, 0);
    font-size: 1.3em;
}

.closeInfo {
    border: none;
    background: none;
}

#dontShowMore {
    border-radius: 15px;
    background-color: var(--color-primary, #386079);
    color: white;
    padding: 0.6em;
    border: none;
    box-shadow: #000;
    margin-bottom: 1em;
}

#noLocationMsg {
    background-color: white;
    font-size: 18px;
    padding-left: 1em;
    padding-right: 1em;
    font-stretch: normal;
    line-height: 1.5;
    margin-bottom: 1em;
    margin-top: 1em;
}

#noLocation img {
    width: 30px;
    animation: pulsate 4s infinite ease-in-out;
}

@keyframes pulsate {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.buttonPanel {
    background-color: white;
    display: flex;
    width: 100%;
    height: 30%;
    flex-direction: column;
}

#optionsTitle {
    padding: 1em;
    font-size: 1.2em;
    font-weight: bold;
}

#geolocationDiv {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 2em;
}

#geolocationDiv .tooltiptext {
    visibility: hidden;
    width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 15px;
    line-height: 1;
}

/* Mostrar el tooltip al pasar el cursor sobre el elemento */
#geolocationDiv:hover .tooltiptext {
    z-index: 200;
    visibility: visible;
    opacity: 1;
}

#notificationsDiv {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 2em;
}

#assistantDiv {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 2em;
    margin-left: 1.3em;
}

#assistantCircle span {
    font-size: 20px;
    vertical-align: middle;
    padding: 20px 10px 6px 10px;
    background: #d7dde0e8;
    border-radius: 30px;
}

#assistantCircle img {
    width: 30px;
}

.assistant-alert {
    animation: pulse-size 1.5s infinite;
    /* Only animating size on the parent */
}

.assistant-alert span#assistantI {
    background: #1742a3b0;
    /* Default background color */
    animation: pulse-color 1.5s infinite;
    /* Color animation for the child */
}

/* Keyframe for size (applied to the parent) */
@keyframes pulse-size {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Keyframe for background color (applied to the child) */
@keyframes pulse-color {
    0% {
        background-color: #c5def5;
        /* Initial color */
    }

    100% {
        background-color: #c1daf3;
        /* Back to original color */
    }
}




/*geolocation*/

#noLocation {
    display: flex;
    align-items: center;
}

input[type=checkbox] {
    height: 1.5em;
    width: 3em;
    visibility: hidden;
}

.geolocation {
    cursor: pointer;
    text-indent: -9999px;
    width: 3em;
    height: 1.5em;
    background: grey;
    display: block;
    border-radius: 100px;
    position: relative;
}

.geolocation:after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 1.4em;
    height: 1.4em;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
}

input:checked+label {
    background: #66c1fa;
}

input:checked+.geolocation:after {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

.geolocation:active:after {
    width: 3em;
}

/*geolocation*/

/*notofications*/
input[type=checkbox] {
    height: 1.5em;
    width: 3em;
    visibility: hidden;
}

.notifications {
    cursor: pointer;
    text-indent: -9999px;
    width: 3em;
    height: 1.5em;
    background: grey;
    display: block;
    border-radius: 100px;
    position: relative;
}

.notifications:after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 1.4em;
    height: 1.4em;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
}

input:checked+label {
    background: #66c1fa;
}

input:checked+.notifications:after {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

.notifications:active:after {
    width: 3em;
}

/*assitant toggle*/
input[type=checkbox] {
    height: 1.5em;
    width: 3em;
    visibility: hidden;
}

.assistant {
    cursor: pointer;
    text-indent: -9999px;
    width: 3em;
    height: 1.5em;
    background: grey;
    display: block;
    border-radius: 100px;
    position: relative;
}

.assistant:after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 1.4em;
    height: 1.4em;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
}

input:checked+label {
    background: #66c1fa;
}

input:checked+.assistant:after {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

.assistant:active:after {
    width: 3em;
}

#assistantI .fa-circle-exclamation {
    right: -0.522em;
    top: 0.23em;
}

/* Estilo para el selector de idioma */
.language-selector {
    margin-bottom: 10px;
}

/* Estilo para la etiqueta del selector */
.language-selector label {
    font-weight: bold;
    margin-right: 10px;
}

/* Estilo para el selector de idioma */
.language-selector select {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 16px;
}

/* Estilo para las opciones del selector */
.language-selector select option {
    font-size: 16px;
}

/*end info page*/

/* 
 * Always set the map height explicitly to define the size of the div element
 * that contains the map. 
 */
.showMap {
    background: none;
    border: none;
    position: relative;
    cursor: pointer;
}

.tooltip-map {
    visibility: hidden;
    width: 250px;
    font-size: 18px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 5px;
    position: absolute;
    z-index: 999;
    bottom: 160%;
    /* Posiciona el tooltip arriba del botón */
    left: 40%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s;
}

.showMap:hover+.tooltip-map {
    visibility: visible;
    opacity: 1;
}








.backButton {
    background: none;
    border: none;
}

.searchButton {
    background: none;
    border: none;
    font-size: 30px;
}

.searchButton a {
    color: #000;
}

.infoButton {
    background: none;
    border: none;
    z-index: 999;
}

.gm-style-mtc {
    z-index: 101;
}

#custom-info-window.show {
    opacity: 1;
    visibility: visible;
}

#title4markers {
    font-size: 20px;
    text-decoration: none;
    /* Agrega un subrayado */
    color: #0c283f;
    /* Cambia el color del texto a un tono típico de enlaces */
    cursor: pointer;
    /* Cambia el cursor al pasar sobre el enlace */
    text-align: center;
    padding: 15px;
}

#title4markers span.material-symbols-outlined {
    vertical-align: middle;
    margin-left: 1rem;
}

#title4markers p {
    margin: 0;
    padding: 0;
}

#title4markers img {
    height: 24px;
}

#duration {
    font-size: 18px;
}

#transport-button-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Creates 2 equal-width columns */
    gap: 10px;
    /* Adds space between the buttons */
    justify-content: center;
    /* Centers the grid horizontally */
    align-items: center;
    /* Centers the buttons vertically */
}

#transport-button-container button {
    width: 100%;
    height: 50px;
    background: #fefefe;
    border: 1px solid silver;
}

#transport-button-container button:hover {
    background-color: var(--color-accent, #467eb6);
    color: white;
}

#transport-button-container button:focus {
    outline: none;
}

#transport-button-container button:active {
    background-color: var(--color-accent, #467eb6);
    color: white;
}

div#transport-error-message {
    font-size: 0.9em;
    color: #333;
    margin-top: 1em;
    border-top: 1px solid red;
}

div#transport-error-message {
    font-size: 0.8em;
    padding: 2%;
}

#closeButton {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 15px;
    top: 10px;
}

#centerButton {
    background: whitesmoke;
    display: block;
    border: 0px;
    margin: 0px;
    padding: 0px;
    text-transform: none;
    appearance: none;
    position: relative;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    width: 40px;
    height: 40px;
    FONT-VARIANT: JIS04;
    right: 0.8em !important;
}

#centerText {
    padding: 0.2em;
    font-size: 10px;
}


.mainbox2 {
    background-color: white;
    padding: 0%;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 0 20px #888;
    width: 100%;
    clear: both;
    align-content: flex-start;
    align-items: left;
    justify-content: center;
    height: fit-content;
    /* Modificación aquí */
    margin-bottom: 4em;
}

.mainbox2 div#links {
    margin: 2rem 0;
    text-align: left;
    width: 90%;
}

.mainbox2 div {
    margin: 1rem 0;
    width: 90%;
}

.mainbox2 div a {
    white-space: pre-wrap;
    /* CSS3 */
    white-space: -moz-pre-wrap;
    /* Mozilla, since 1999 */
    white-space: -pre-wrap;
    /* Opera 4-6 */
    white-space: -o-pre-wrap;
    /* Opera 7 */
    word-wrap: break-word;
    /* Internet Explorer 5.5+ */
    padding: 1rem 0;
    display: block;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid silver;
}

.contentText {
    color: #444;
    font-size: 1.05em;
    font-weight: 300;
    line-height: 1.75em;
    position: relative;
    text-align: justify;
    width: 95%;
}

.mainboxTitle {
    font-weight: 300;
    font-size: 1.8em;
    line-height: 1.2;
    margin-top: 0.8em;
    margin-bottom: 0.4em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    text-align: center;
}

.mainbox2 {
    background-color: white;
    padding: 3%;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 0 20px #888;
    width: 94%;
    clear: both;
    align-content: flex-start;
    align-items: left;
    justify-content: center;
    height: auto;
    margin-bottom: 4em;
    text-align: left;
}

.mainbox2 p {
    font-family: var(--font-primary, 'Roboto', sans-serif);
    text-align: left;
    text-justify: distribute;
    letter-spacing: 0.2px;
    width: 70%;
    background-color: #ffffff;
    width: 95%;
    text-decoration: none;
    padding: 1em;
    padding-top: 0em;
}

#mainContentNoLinks p.link {
    width: 100%;
    margin: 0.35rem 0 0;
    padding: 0.35rem 0;
    color: #6d7680;
    font-size: 0.9em;
    line-height: 1.45;
    border-top: 1px solid #eceff2;
    word-break: break-all;
}

.site-chat-root {
    width: 0;
    height: 0;
}

.site-chat-root-fixed {
    position: fixed;
    left: 50%;
    bottom: 4.7rem;
    transform: translateX(-50%);
    width: min(720px, calc(100vw - 1.2rem));
    z-index: 1200;
    transition: opacity 0.2s ease;
}

.site-chat-root-fixed--hidden {
    opacity: 0;
    pointer-events: none;
}

.site-chat-launcher {
    width: 100%;
    padding: 1.5rem;
    height: 2.8rem;
    border: 2px solid #ffffff;
    border-radius: 16px;
    background: var(--color-primary, #386079);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.95rem;
    font-weight: 400;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.site-chat-launcher-input {
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #ffffff;
    border: 1px solid #d7dce1;
    border-radius: 16px;
    padding: 0.35rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.site-chat-launcher-input__field {
    flex: 1;
    border: 0;
    font: inherit;
    color: #222;
    background: transparent;
    padding: 0 0.5rem;
    height: 2rem;
}

.site-chat-launcher-input__field:focus {
    outline: none;
}

.site-chat-launcher-input__send {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: var(--color-primary, #386079);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-chat-sheet {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 4.5rem;
    background: #ffffff;
    z-index: 1150;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    display: flex;
    flex-direction: column;
}

.site-chat-sheet--open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

@media (min-width: 700px) {
    .site-chat-sheet {
        top: 50%;
        left: 0;
        right: 0;
        bottom: auto;
        width: min(860px, calc(100vw - 2rem));
        max-height: calc(100vh - 4rem);
        margin: 0 auto;
        transform: translateY(-40%);
        border-radius: 16px;
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.28);
    }

    .site-chat-sheet--open {
        transform: translateY(-50%);
    }
}

.site-chat-sheet__header {
    min-height: 3.6rem;
    border-bottom: 1px solid #eceff2;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
}

.site-chat-sheet__title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 500;
    color: #2d3135;
}

.site-chat-sheet__about {
    border: 0;
    background: transparent;
    color: var(--color-primary, #386079);
    font: inherit;
    font-size: 0.82rem;
    text-decoration: underline;
    cursor: pointer;
}

.site-chat-sheet__close {
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 999px;
    background: #eff2f5;
    color: #2f3539;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.site-chat-sheet__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.site-chat-sheet__explain {
    margin: 0.7rem;
    padding: 0.8rem;
    background: #f6f8fb;
    border: 1px solid #dde3ea;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #2f3338;
}

.site-chat-sheet__explain p {
    color: #777;
    margin: 0 0 0.6rem;
    padding: 0;
    width: 100%;
    background: transparent;
}

.site-chat-sheet__model-status {
    margin: 0 0 0.6rem;
    font-size: 0.85rem;
    color: #50555a;
}

.site-chat-sheet__model-status--error {
    color: #b42318;
}

.site-chat-sheet__load {
    border: 0;
    border-radius: 20px;
    padding: 0.5rem 0.9rem;
    background: var(--color-primary, #386079);
    color: #fff;
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}

.site-chat__messages {
    flex: 1;
    overflow-y: auto;
    padding: 0.6rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-height: 0;
}

.site-chat__message {
    max-width: 88%;
    padding: 0.5rem 0.72rem;
    border-radius: 12px;
    font-size: 0.92rem;
    line-height: 1.4;
    word-break: break-word;
}

.site-chat__message--assistant {
    align-self: flex-start;
    background: #eef2f6;
    color: #26303a;
}

.site-chat__message--assistant p {
    color: #000;
    margin: 0 0 0.55em;
    padding: 1em;
}

.site-chat__message--assistant p:last-child {
    margin-bottom: 0;
}

.site-chat__message--user {
    align-self: flex-end;
    background: var(--color-primary, #386079);
    color: #ffffff;
}

/* Audio badge on point list boxes */
.title-audio-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 5px;
    color: var(--color-primary, #386079);
    opacity: 0.85;
    flex-shrink: 0;
}

/* Error state for assistant bubbles */
.site-chat__message--error {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
}

/* Loading dots shown while waiting for first response token */
.site-chat__loading-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 0;
}

.site-chat__loading-dots span {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6b8a9a;
    animation: chat-dot-bounce 1.2s infinite ease-in-out both;
}

.site-chat__loading-dots span:nth-child(2) {
    animation-delay: 0.18s;
}

.site-chat__loading-dots span:nth-child(3) {
    animation-delay: 0.36s;
}

@keyframes chat-dot-bounce {

    0%,
    80%,
    100% {
        transform: scale(0.55);
        opacity: 0.4;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Blinking cursor while the word-by-word typing animation plays */
.site-chat__message--typing::after {
    content: "|";
    display: inline-block;
    margin-left: 1px;
    color: var(--color-primary, #386079);
    font-weight: 300;
    animation: chat-cursor-blink 0.65s step-end infinite;
}

@keyframes chat-cursor-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.site-chat-sheet__composer {
    border-top: 1px solid #eceff2;
    padding: 0.5rem 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: #ffffff;
}

.site-chat-sheet__input {
    flex: 1;
    height: 2.4rem;
    border: 1px solid #d8dfe6;
    border-radius: 999px;
    padding: 0 0.85rem;
    font: inherit;
    font-size: 0.92rem;
    color: #2d3135;
    background: #fff;
}

.site-chat-sheet__input:focus {
    outline: none;
    border-color: var(--color-primary, #386079);
}

.site-chat-sheet__send {
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 999px;
    background: var(--color-primary, #386079);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.site-chat-sheet__load:disabled,
.site-chat-sheet__send:disabled,
.site-chat-launcher-input__send:disabled {
    opacity: 0.65;
    cursor: wait;
}


div#hashTag {
    display: none;
}

.adp-directions {
    width: 100%;
    cursor: pointer;
    border-collapse: collapse;
}



/*search field*/

#searchField {
    position: fixed;
    height: 3em;
    width: 100%;
    top: 5em;
    justify-content: center;
    z-index: 200;
}

#searchInput {
    position: relative;
    height: 2.5em;
    text-align: center;
    width: 70%;
    padding: 0 5%;
    font-size: 1em;
    border: none;
    transition: all ease 0.3s;
    box-shadow: inset 5px 4px 8px 3px #c4c1c1;
    margin: 0 10%;
}

#inputButton {
    display: none;
    position: relative;
    font-size: 16px;
    background: none;
    border: none;
    right: 2.1em;
}

/*assistant*/
.assistant-icon {
    position: fixed;
    bottom: 5em;
    right: 2em;
    z-index: 9999;
    cursor: pointer;
    height: 2em;
    width: 2em;
    border-radius: 100%;
    opacity: 1;
    transition: all ease 0.5s;
}

.hide-assistant {
    display: none;
    opacity: 0;
}

.hide-icon {
    display: none !important;
}

#assistantI {
    position: relative;
    /* Cambiar a 'relative' en lugar de 'fixed' */
    right: -0.54em;
    top: 0.2em;
}


.tooltipAssistant {
    box-shadow: 0 0 15px 5px #ccc;
    visibility: hidden;
    width: 20em;
    background-color: var(--color-primary, #386079);
    color: var(--color-on-primary, #fff);
    text-align: center;
    border-radius: 6px;
    padding: 2px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-90%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 15px;
    line-height: 1;
    display: flex;
    justify-content: center;
    border: 1px solid #ffffff;
    align-items: center;
}

.tooltipAssistant h1 {
    color: var(--color-on-primary, #fff) !important;
    font-weight: lighter;
    font-size: 1.5rem;
    margin-top: 0.8em;
    display: flex;
    flex-wrap: wrap;
    padding: 0 8%;
    line-height: 2.5rem;
}

.tooltipAssistant .tooltipArrow {
    color: var(--color-on-primary, #fff);
    font-size: 24px;
    cursor: pointer;
    margin: 0 10px;
    display: none;
    opacity: 0;
}


.tooltipAssistant.visible {
    z-index: 200;
    visibility: visible;
    opacity: 1;
}

.tooltipAssistant.visible .tooltipArrow {
    display: inline;
    opacity: 1;
}

.tooltipAssistant.visible p {
    padding: 0.5rem;
    font-size: 1.2rem;
    line-height: 1.8rem;
}

.tooltipAssistant a {
    color: var(--color-on-primary, #fff);
}

#projectTitle {
    color: #0000f9;
}


.guideTDI {
    height: fit-content;
    display: flex;
    background-color: white;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    overflow-y: auto;
    margin-bottom: 1em;
    /* Agrega esta línea para habilitar el scrolling vertical */
}

.guideD {
    margin: 1rem 0;
    width: 84.6%;
    justify-content: center;
    text-align: left;
}

.guideD p {
    padding: 1rem 0;
}

.guideT {
    display: flex;
    text-align: center;
    margin-top: 1em;
    font-size: 1.8em;
    line-height: 1.2em;
    width: 84.6%;
    font-weight: 300;
    margin-bottom: 0.67em;
    overflow-wrap: break-word;
    word-break: break-word;
}




#userInfoWrapper {
    padding: 0% 5%;
    margin-bottom: 10px;
    float: left;
    color: var(--color-on-primary, #fff) !important;
    font-size: 0.9rem;
    line-height: 1.2rem;
    text-align: left;
}

.arrowContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}



.close-button {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    font-size: 100px;
    color: red;
    /* Puedes personalizar el color */
    z-index: 2;
    display: none;
    /* Ocultar la "x" inicialmente */
}

.close-button:hover {
    color: darkred;
    /* Cambia el color al pasar el cursor */
}

.darkCristal {
    position: fixed;
    height: 100%;
    width: 100%;
    background-color: #000000ab;
    display: none;
}

/*assistant*/

/*styles for the extra info in points*/

#mainPhoto {
    display: none;
}

#pointRadius {
    display: none;
}

#images {
    align-items: center;
}

#images img {
    width: 100%;
    /* Establece el ancho máximo al 100% del contenedor padre */
    height: auto;
    /* Mantiene la proporción de aspecto de la imagen */
}

/*styles for the extra info in points*/

/*general styles  --ends--*/
@media screen and (min-width: 1200px) {

    .container {
        display: flex;
        /*margin: 0 15px;*/
        margin-top: 3em;
    }

    .left-column {
        display: flex;
        margin: 0 15px;
        width: 50%;
        margin-top: 3em;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
        align-content: center;
        align-items: center;
        height: fit-content;
        overflow-y: auto;
        /* Habilita el scrolling vertical */

        top: 0;
        /* Fija la columna en la parte superior */
    }

    #mapContainer {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 900;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }

    #mapContainer.show {
        opacity: 1;
        visibility: visible;
    }

    #map {
        width: 100%;
        height: 92%;
        background-size: cover;
        margin: 0px;
        margin-top: 0px;
        text-decoration: none;
        border: 1px solid #ddd;
        box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
        padding: 0px;
        padding-top: 0px;
    }


    .right-column {
        display: flex;
        width: 50%;
        margin-top: 3em;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
        align-content: center;
        align-items: center;
        height: fit-content;
        overflow-y: auto;
        margin-bottom: 10em;
        transition: all ease 0.5s;
    }
}

@media screen and (max-width: 1200px) {
    .container {
        display: flex;
        margin-bottom: 30px;
    }

    .left-column {
        display: flex;
        margin: 0 15px;
        width: 50%;
        margin-top: 3em;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
        align-content: center;
        align-items: center;
        height: fit-content;
        overflow-y: auto;
        /* Habilita el scrolling vertical */
        position: relative;
        top: 2em;
    }

    .right-column {
        display: flex;
        position: relative;
        margin: 0 15px;
        width: 50%;
        margin-top: 3em;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
        align-content: center;
        align-items: center;
        height: fit-content;
        overflow-y: auto;
        /* Habilita el scrolling vertical */
    }

    .guideTDI {
        height: fit-content;
        display: flex;
        background-color: white;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        overflow-y: scroll;
        /* Agrega esta línea para habilitar el scrolling vertical */
    }

    .guideD {
        margin: 1rem 0;
        justify-content: center;
        text-align: left;
    }

    .guideT {
        display: flex;
        margin-top: 1em;
    }
}

@media screen and (max-width: 992px) {
    .container {
        display: flex;
        margin-top: 3em;
    }

    .left-column {
        display: flex;
        margin: 0 15px;
        width: 50%;
        margin-top: 3em;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
        align-content: center;
        align-items: center;
        height: fit-content;
        overflow-y: auto;
        /* Habilita el scrolling vertical */
        position: relative;
        top: 0;
        /* Fija la columna en la parte superior */
    }

    #mapContainer {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }

    #mapContainer.show {
        opacity: 1;
        visibility: visible;
    }

    #map {
        width: 100%;
        height: 92%;
        background-size: cover;
        margin: 0px;
        margin-top: 0px;
        text-decoration: none;
        border: 1px solid #ddd;
        box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
        padding: 0px;
        padding-top: 0px;
    }

    .right-column {
        display: flex;
        margin: 0 15px;
        width: 50%;
        margin-top: 3em;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
        align-content: center;
        align-items: center;
        height: fit-content;
        overflow-y: auto;
        /* Habilita el scrolling vertical */
    }

    .guideTDI {
        height: fit-content;
        display: flex;
        background-color: white;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        overflow-y: auto;
        /* Agrega esta línea para habilitar el scrolling vertical */
    }

    .guideD {
        margin: 1rem 0;
        justify-content: center;
    }

    .guideT {
        display: flex;
        margin-top: 1em;
    }

    .guideI img {
        width: 100%;
    }
}

@media screen and (min-width: 700px) {
    .guideI {
        width: 100%;
        height: 520px;
        overflow: hidden;
    }

    .guideI img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }
}

@media screen and (min-width: 1200px) {
    .guideI {
        height: 640px;
    }
}

@media screen and (max-width: 767px) {

    .indexdesctitle,
    .indexslogan,
    .indexdesc p {
        color: #fff !important;
        margin-bottom: 1.5rem;
    }

    .indexdesctitle {
        font-size: 2em;
    }

    .indexslogan {
        font-size: 0.8rem;
        margin-top: -1em;
    }

    #map {
        width: 100%;
    }

    .header {
        background: var(--color-primary, #386079);
        position: fixed;
        display: inline-flex;
        width: 100%;
        height: 85px;
        flex-wrap: nowrap;
        justify-items: center;
        justify-content: space-between;
        z-index: 10;
    }

    .container {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        margin-top: 3em;
        text-align: center;
        padding-bottom: 3em;
        margin-bottom: 30px;
    }

    .left-column {
        margin: 0em;
        padding: 0em;
        width: 100%;
        display: flex;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
        align-content: center;
        align-items: center;
    }

    .right-column {
        display: flex;
        margin-top: 30px;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
        align-content: center;
        align-items: center;
    }

    .guideTDI {
        height: fit-content;
        display: flex;
        background-color: white;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: center;
        /* Agrega esta línea para habilitar el scrolling vertical */
    }

    #mapContainer {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }

    #mapContainer.show {
        opacity: 1;
        visibility: visible;
    }

    #map {
        width: 100%;
        height: 92%;
        background-size: cover;
        margin: 0px;
        margin-top: 0px;
        text-decoration: none;
        border: 1px solid #ddd;
        box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
        padding: 0px;
        padding-top: 0px;
    }

    .right-column {
        margin: 0em;
        padding: 0em;
        width: 100%;
    }

    .site-chat-root-fixed {
        width: 60vw;
        bottom: 5rem;
    }

    .site-chat-sheet {
        bottom: 4.5rem;
    }

    .site-chat-sheet__header {
        padding: 0.45rem 0.55rem;
        min-height: 3.2rem;
    }

    .site-chat-sheet__about {
        font-size: 0.78rem;
    }

    .site-chat-sheet__explain {
        margin: 0.55rem;
        padding: 0.7rem;
        font-size: 0.84rem;
    }

    .site-chat__message {
        max-width: 67%;
        font-size: 0.88rem;
    }

    #title {
        font-size: 2em;
    }
}

/*----------*/
@media screen and (max-width: 576px) {
    body {
        margin: 0px;
    }

    .indexdesctitle,
    .indexslogan,
    .indexdesc p {
        margin-bottom: 1rem;
    }

    .indexdesctitle {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 0;
    }

    .indexslogan {
        font-size: 0.8rem;
        margin-top: -1em;
    }

    .indexdesc {
        display: none;
    }

    .indexdesc p {
        font-size: 1rem;
        margin-bottom: 0rem;
        padding: 0.1rem 2rem;
        line-height: 1.5rem;
    }

    .header {
        height: 85px;
    }

    #onlySpace {
        display: block;
        height: 8em;
    }

    #toggle-menu.show {
        transform: translateY(56%);
        opacity: 1;
    }

    #title {
        font-size: 1.8em;
    }

    .logo {
        height: 55%;
        margin-top: 1.4444em;
    }

    .container {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        margin-top: 3em;
        text-align: center;
        width: 100%;
        align-content: center;
        justify-content: center;
        align-items: center;
        margin-bottom: 30px;
    }

    .left-column {
        padding: 0em;
        width: 100%;
        margin-left: 0em;
        margin-top: 1em;
    }

    .right-column {
        display: flex;
        margin: 0em;
        padding: 0em;
        width: 100%;
        margin-left: 0em;
        flex-direction: column;
    }

    .mainbox2 {
        height: fit-content;
        margin-bottom: 4em;
        text-align: left;
    }

    div#mainContentNoLinks a {
        margin-top: 0;
        word-break: break-all;
    }

    #mainContentNoLinks p {
        width: 100%;
        padding: 1em 0;
    }

    #fixed-button {
        width: 3em;
        height: 3em;
        transform: translateY(300%);
    }
}

/*----------*/
@media screen and (max-width: 400px) {
    .container {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        margin-top: 3em;
        padding: 0em;
        text-align: center;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

    #title {
        font-size: 1.5em;
    }

    #infoRoutes {
        color: white;
        font-weight: 300px;
        font-family: var(--font-primary, 'Roboto', sans-serif);
        font-size: 0.9em;
        padding-bottom: 1em;
        font-weight: bold;
        clear: both;
        z-index: 2;
    }




    .right-column {
        margin-bottom: 2em;
    }

    .left-column {
        margin-top: 2em;
    }

    .description {
        margin-left: 0em;
    }

    .mainbox2 {
        text-align: left;
        height: fit-content;
        margin-bottom: 4em;
    }
}

.playAudioButton {
    margin-bottom: 4px;
}

.popup-message {
    padding: 1em;
    line-height: 1.5em;
    font-size: 1.2em;
}

a.close-popup {
    display: block;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border: 1px solid silver;
    width: 80%;
    margin: 1em auto;
    padding: 0.5rem;
}

/* Arrow pointing toward the info/settings icon in the footer */
.geo-settings-pointer {
    text-align: center;
    margin-top: 0.5em;
}

.geo-arrow {
    display: inline-block;
    font-size: 1.8em;
    color: var(--color-primary, #386079);
    animation: geo-bounce 1s infinite ease-in-out;
}

@keyframes geo-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

div#directionsPanel {
    display: none;
    height: 0;
    width: 0;
    opacity: 0;
}