body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", Arial, sans-serif !important;
    font-weight: bold;
}

a {
    color: #057d8d;
}

a:hover {
    color: #057d8d;
}

#map { position: absolute; top: 0; bottom: 0; width: 100%; }

.hidden {
    display: none;
}
.mainTitle {
    position: absolute;
    top:0px;
    left: 0px;
    margin: auto;
    color: white;
    z-index: 1;
    width: 360px;
}

.mainTitle h1 {
    font-size: 3.8rem;
    font-weight: 100;
    margin-bottom: 0;
}

.mainTitle img {
    width: 75%;
}

.xtreme-logo {
    position: absolute;
    top:30px;
    right: 30px;
    margin: auto;
    z-index: 1;
    width: 300px;
}

.xtreme-logo img {
    width: 75%;
    float: right;
}

.municipalityDiv {
    position: absolute;
    top:210px;
    left: 30px;
    width: 170px;
    margin: auto;
    color: white;
    z-index: 4;
}

.municipalityDiv h2 {
    font-size: 1rem;
    font-weight: 100;
}

.typologyDiv {
    position: absolute;
    top:270px;
    left: 30px;
    width: 170px;
    margin: auto;
    color: white;
    z-index: 3;
}

.typologyDiv h2 {
    font-size: 1rem;
    font-weight: 100;
}

.menu {
    /*position: absolute;*/
    z-index: 1;
    /*border-radius: 3px;*/
    width: 170px;
    /*border: 1px solid rgba(0, 0, 0, 0.4);*/
}

.menu a {
    font-size: 11px;
    color: #057d8d;
    display: block;
    margin: 0;
    padding: 10px;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    text-align: center;
    background-color: #ffffff;
}

.pos-relative {
    position: relative !important;
}

.z-index-2 {
    z-index: 2 !important;
}

.first {
    padding: 5px 10px !important;
}

/*#municipality-menu {
    top: 235px;
    left: 30px;
}

#typology-menu {
    top: 455px;
    left: 30px;
}*/

.menu-scrollbar {
    max-height: 300px;
    overflow-y: scroll;
}

.menu-scrollbar::-webkit-scrollbar {
    width: 10px;
}

.menu-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.menu-scrollbar::-webkit-scrollbar-thumb {
    background: #7fa9b7;
}

.menu-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #212529;
}

.menu a:last-child {
    border: none;
}

/*.menu a:hover {
    background-color: #057d8d;
    color: #057d8d;
}*/

.menu a.active {
    background-color: #057d8d;
    color: #ffffff;
}

.menu a.active:hover {
    background: #057d8d;
    color: #ffffff;
}

.serviceDiv {
    position: absolute;
    top:330px;
    left: 30px;
    width: 170px;
    margin: auto;
    color: white;
    z-index: 2;
}

.serviceDiv h2 {
    font-size: 1rem;
    font-weight: 100;
}

:root {
    --bg: #e3e4e8;
    --fg: #17181c;
    --transDur: 0.1s;
}

.switch input {
    color: var(--fg);
    font: 1em/1.5 "Platform Web", "Helvetica Neue", sans-serif;
}

.switch label {
    width: 114px;
}
.switch {
    position: absolute;
    top:160px;
    left: 10px;
    margin: auto;
    /*max-width: 24em;*/
    padding: 0 1.5em;
    font-size: 11px;
    z-index: 1;
}
.switch label {
    display: inline-block;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.switch label:first-child input {
    /*border-radius: 0.5em 0 0 0.5em;*/
    background-color: #ffffff;
}
/*.switch label:last-child input {
    border-radius: 0 0.5em 0.5em 0;
}*/
.switch label:first-child input:checked {
    background-color: #057d8d;
}
.switch label:last-child input:checked {
    background-color: #057d8d;
}
.switch input {
    /*background-image: linear-gradient(#ffffff 33%,#414751 58%,#837b52,#c5baa1,#c3adaa);*/
    background-color: #ffffff;
    border-radius: 0;

    cursor: pointer;
    display: block;
    margin-bottom: 0.5em;
    width: 100%;
    height: 1em;
    transition: box-shadow var(--transDur) ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.switch input:checked {
    /*background-image: linear-gradient(#ffffff 33%,#414751 58%,#827a7b,#c0b6ac,#c3adaa);*/
    background-color: #057d8d;

}
.switch input:checked + span {
    opacity: 1;
}
.switch input:focus {
    outline: transparent;
}
.switch input + span {
    opacity: 0.65;
    transition: opacity var(--transDur) ease-in-out;
    color: white;
}

.blocker {
    background-color: rgba(0,52,88,0.75) !important;
}

.modal {
    z-index: 1101 !important;
}

.modal-title {
    font-weight: bold;
    color: #057d8d;
    font-size: 26px;
    line-height: 28px;
    text-align: left;
    letter-spacing: 1px;
    font-style: normal;
    font-family: "Montserrat", Arial, sans-serif !important;
}

.modal-content {
    /*border: 1px solid #057d8d;
    background-color: #057d8d !important;*/
    color: #555 !important;
    font-weight: normal;
    font-size: 18px;
    border-radius: 0;
    overflow-y: scroll;
}

.modal-header {
    border-bottom: 0 !important;
}

.modal-body h3 {
    font-size: 1.25rem;
    font-weight: bold;
}

.modal-body h5 {
    font-weight: bold;
}

.close {
    color: #382c14;
}

.close:hover {
    color: #057d8d;
    text-decoration: none;
}

.material-icons {
    font-size: 18px;
}

#img_main img {
    border-radius: 3px;
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.35);
}

.gallery a img {
    float: left;
    width: 23.8%;
    height: auto;
    /*border: 2px solid #fff;*/
    -webkit-transition: -webkit-transform .15s ease;
    -moz-transition: -moz-transform .15s ease;
    -o-transition: -o-transform .15s ease;
    -ms-transition: -ms-transform .15s ease;
    transition: transform .15s ease;
    position: relative;

    border-radius: 3px;
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.35);
    margin-left: 0.6%;
    margin-right: 0.6%;
    margin-bottom: 16px;
}

.gallery a:hover img {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.sl-wrapper {
    z-index: 1103 !important;
}

.nav-tabs .nav-link {
    /*color: white;*/
    color: #057d8d;
    font-weight: bold;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #fff;
    background-color: #057d8d;
}

.mapboxgl-popup {
    cursor-events: none !important;
    z-index: 10000 !important;
}


/*.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {
    border-top-color: #ffffff;
    margin-top: -2px !important;
    z-index: 10000;
}*/

.mapboxgl-popup-content {
    pointer-events: none !important;
}

.mapboxgl-ctrl-logo {
    display: none !important;
}

.sl-overlay {
    background: #000000;
    z-index: 1102 !important;
    opacity: 1 !important;
}

.sl-close {
    color: #ffffff !important;
}

.sl-prev {
    color: #ffffff !important;
}

.sl-next {
    color: #ffffff !important;
}

.infobox {
    background: #fff;
    /*box-shadow: 0 0 2px 0 rgba(0,0,0,0.14), 0 2px 2px 0 rgba(0,0,0,0.12), 0 1px 3px 0 rgba(0,0,0,0.2);*/
    color: #057d8d;
    padding: 15px;
}

.infobox-the-atlas .infobox-content {
    display: block;
}

.infobox-image {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    overflow: hidden;
}

.infobox-image img {
    position: relative !important;
}

.infobox-the-atlas .infobox-image {
    /*height: 136px;*/
    display: block;
    margin: 0 0 10px;
}

.infobox-info {
    /*width: 170px;*/
    display: inline-block;
    vertical-align: top;
}

/*.infobox-the-atlas .infobox-info {
    width: 204px;
}*/

.ath-label-tiny {
    font-size: 11px;
    line-height: 11px;
    letter-spacing: 1.32px;
    text-transform: uppercase;
    font-weight: 600;
    font-family: "Montserrat", Arial, sans-serif !important;
}

.infobox-location {
    color: #057d8d;
    padding-top: 3px !important;
    margin-bottom: 3px;
}

.ath-title-micro {
    font-size: 19px;
    line-height: 21px;
    text-align: left;
    color: #057d8d;
    letter-spacing: 0.57px;
    font-style: normal;
    font-weight: 600;
    font-family: "Montserrat", Arial, sans-serif !important;
}

.infobox-title {
    margin-bottom: 3px;
}

.infobox-subtitle {
    font-family: "Montserrat", Arial, sans-serif !important;
    font-weight: 500;
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 16px;
    text-align: justify;
}

.model-viewer-container {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: fixed;
    z-index: 1500;
    background-color: #000000;
    display: none;
}

/* Estilo para el modelo viewer */
model-viewer {
    width: 100%;
    height: 100%;
}
/* Estilo para la descripción */
.model-description {
    position: absolute;
    bottom: 10px; /* Ajusta la distancia desde la parte inferior */
    right: 10px; /* Ajusta la distancia desde la parte derecha */
    font-size: 24px; /* Tamaño de la fuente */
    color: white; /* Color del texto */
    /*background-color: rgba(0, 0, 0, var(--intensidad-luz, 5));*/ /* Intensidad de la luz a través de variable CSS */
    padding: 10px; /* Espaciado interno */
    z-index: 1001;
}

/* Estilo para el audio */
.model-audio {
    position: absolute;
    top: 10px; /* Ajusta la distancia desde la parte inferior */
    left: 10px; /* Ajusta la distancia desde la parte derecha */
    font-size: 24px; /* Tamaño de la fuente */
    color: white; /* Color del texto */
    /*background-color: rgba(0, 0, 0, var(--intensidad-luz, 5));*/ /* Intensidad de la luz a través de variable CSS */
    padding: 10px; /* Espaciado interno */
    z-index: 1001;
}

audio {
    width: 100% !important;
}

.model-viewer-close {
    display: none;
    position: fixed;
    right: 30px;
    top: 30px;
    z-index: 10060;
    margin-top: -14px;
    margin-right: -14px;
    height: 44px;
    width: 44px;
    line-height: 44px;
    font-family: "Montserrat", Arial, sans-serif !important;
    color: #fff;
    font-size: 3rem;
    border: 0 none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.btn {
    font-size: 11px;
    display: block;
    margin: 0;
    padding: 10px;
    text-decoration: none;
    text-align: center;
    background: #057d8d;
    color: #ffffff !important;
}

.btn:hover {
    /*background-color: #ffffff;
    color: #057d8d;*/
    background-color: #057d8d;
    color: #ffffff !important;
}

.btn-3dobject {
    font-size: 14px;
    font-weight: bold;
}

.map-icon {
    position: fixed;
    z-index: 1060;
    font-family: "Montserrat", Arial, sans-serif !important;
    color: #fff;
    border: 0 none;
    background: transparent;
    cursor: pointer;
}

.pitch {
    right: 10px;
    bottom: 120px;
    padding: 0;
    z-index: 1;
}

.bottom-button {
    position: fixed;
    z-index: 1;
    bottom: 24px;
    padding: 0;
    color: #fff;
    border: 0 none;
    background: transparent;
    cursor: pointer;
}

.legal-notice-button {
    right: 188px;
}

.help-button {
    right: 132px;
}

.about-button {
    right: 50px;
}

.header-button {
    position: fixed;
    right: 148px;
    top: 35px;
    z-index: 1;
    font-family: "Montserrat", Arial, sans-serif !important;
    color: #fff;
    border: 0 none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.home {
    right: 172px;
}

.search {
    right: 138px;
}

.reset {
    right: 104px;
}

.language_es {
    right: 62px;
    top: 35px;
    padding: 0 5px;
    border-right: 1px solid;
}

.language_en {
    right: 30px;
    top: 35px;
    padding: 0 5px;
}

.a-enter-vr-button, .a-info-message-button, .a-enter-ar-button,.a-upload-model-input,.a-upload-model-button {
    display: none !important;
}

.ql-indent-1:not(.ql-direction-rtl), .ql-content .ql-indent-1:not(.ql-direction-rtl) {
    padding-left: 2rem;
}

.ql-align-justify, .ql-content .ql-align-justify {
    text-align: justify;
}

#search-results .infobox-info {
    width: auto !important;
}

.full-page-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    border: none;
    z-index: 100000;
}

.disappear {
    display: none;
}

.close-btn{
    display: block;
    position: absolute;
    transform: rotate(45deg);
    cursor: pointer;
    font-weight: 700;
    z-index: 100001;
    right: 30px;
    top: 30px;
    margin-top: -14px;
    margin-right: -14px;
    height: 44px;
    width: 44px;
    line-height: 44px;
    font-family: "Montserrat", Arial, sans-serif !important;
    color: #fff;
    font-size: 3rem;
    border: 0 none;
    background: transparent;
    padding: 0;
}

#loadingCircle {
    width: 800px;
    height: 600px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loadingText {
    position: absolute;
    color: #fff;
    padding-top: 50px;
    font-size: 10px;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin: 2px;
}

.spanner{
    position:absolute;
    top: 50%;
    left: 0;
    /**background: #2a2a2a55;**/
    width: 100%;
    display:block;
    text-align:center;
    height: 300px;
    color: #FFF;
    transform: translateY(-50%);
    z-index: 1000;
    visibility: hidden;
}

.overlay{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    visibility: hidden;
    z-index: 1070;
}

.visor-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 10;
}

.loader,
.loader:before,
.loader:after {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation: load7 1.8s infinite ease-in-out;
    animation: load7 1.8s infinite ease-in-out;
}
.loader {
    color: #ffffff;
    font-size: 10px;
    margin: 80px auto;
    position: relative;
    text-indent: -9999em;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
.loader:before,
.loader:after {
    content: '';
    position: absolute;
    top: 0;
}
.loader:before {
    left: -3.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.loader:after {
    left: 3.5em;
}

#phases_div ul {
    position: absolute;
    background: white;
}
#phases_div ul li {
    display: block !important;
    float: none !important;
}
#phases_div ul li.active a {
    text-align: left !important;
}
#phases_div ul li.active a:after {
    font-family: FontAwesome;
    content: "\f105";
    font-size: 1em;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    line-height: 2;
    min-width: 1em;
    margin-left: 1em;
    text-decoration: inherit;
    text-transform: none;
    float: right;
    transform: rotate(90deg);
}
#phases_div ul li:not(.active) {
    display: none !important;
}
#phases_div ul.expanded li {
    display: block !important;
}
#phases_div ul.expanded li:not(.active) a {
    text-align: left !important;
}
#phases_div ul.expanded li.active a:after {
    font-family: FontAwesome;
    content: "\f104";
}

#phases_div .nav>li>a {
    position: relative;
    display: block;
    padding: 10px 15px;
}

#phases_div .nav-pills>li.active>a, #phases_div .nav-pills>li.active>a:hover, #phases_div .nav-pills>li.active>a:focus {
    color: #fff;
    background-color: #057d8d;
    text-decoration: none;
}

@-webkit-keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}
@keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}

.show{
    visibility: visible;
}

.spanner, .overlay{
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.spanner.show, .overlay.show {
    opacity: 1
}

#interestPointModal .modal-dialog {
    position:fixed;
    right: 0;
    margin: auto;
    width: 25%;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
    -webkit-box-shadow: -5px 0px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: -5px 0px 5px 0px rgba(0,0,0,0.75);
    box-shadow: -5px 0px 5px 0px rgba(0,0,0,0.75);
}

#interestPointModal .modal-content {
    height: 100%;
    overflow-y: auto;
}

#marker_accessibility p {
    padding-left: 28px;
}

#marker_visitable p {
    padding-left: 28px;
}

.resetDiv {
    position: absolute;
    top: 390px;
    left: 30px;
    z-index: 1;
}

.x-on-icon-green {
    position: absolute;
    width: 30px;
    height: 30px;
    font-size: 25px;
    color: #057d8d;
    padding-left: 4px;
    margin-top: -3px;
}

.patrocinadores {
    width: 20vw;
    height: 0vw;
    bottom: calc(0vh + 4.5vw);
    left: 1.6vw;
    position: absolute;
    display: block;
}

.patrocinadores img {
    width: 100%;
    background-color: white;
}

.controls {
    text-align: center;
    padding: 10px;
}
.controls button {
    background-color: red;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}
.controls button:hover {
    background-color: darkred;
}

.roadStatuses {
    position: absolute;
    bottom: 30px;
    left: 30px;
    margin: auto;
    background-color: white;
    z-index: 1;
    padding: 10px;
    font-size: 12px;
    font-weight: normal;
}

.mapboxgl-popup-content p {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

@media (max-width:991px){
    #interestPointModal .modal-dialog {
        position: unset;
        margin: 1.75rem auto;
        width: auto;
        height: unset;
        -webkit-transform: translate3d(0%, 0, 0);
        -ms-transform: translate3d(0%, 0, 0);
        -o-transform: translate3d(0%, 0, 0);
        transform: translate3d(0%, 0, 0);
        -webkit-box-shadow: unset;
        -moz-box-shadow: unset;
        box-shadow: unset;
    }

    .patrocinadores {
        width: 55vw;
        height: 6vw;
        bottom: 0;
    }
}

@media (max-width:768px) {
    .mainTitle h1 {
        font-size: 2rem;
    }

    .mainTitle p {
        font-size: 0.5rem;
    }

    .switch {
        top: 110px;
    }

    .header-button {
        top: 12px;
    }

    .language_es {
        top: 16px;
    }

    .language_en {
        top: 16px;
    }

    .pitch {
        bottom: calc(0vh + 36vw);
    }

    .model-description {
        font-size: 20px !important; /* Tamaño de la fuente */
        left: 10px;
    }

    .mainTitle img {
        width: 40%;
    }

    #interestPointModal .modal-dialog {
        margin: .5rem;
    }

    .municipalityDiv {
        top: 270px;
    }

    .typologyDiv {
        top: 330px;
    }

    .serviceDiv {
        top: 390px;
    }

    .resetDiv {
        top:450px
    }

    .patrocinadores {
        width: 65vw;
        height: 7vw;
        bottom: 0;
    }

    .bottom-button {
        bottom: 40px;
    }

    .roadStatuses {
        bottom: 10px;
        left: 10px;
        padding: 8px;
        font-size: 10px;
    }

    .dot {
        height: 8px;
        width: 8px;
    }

    .xtreme-logo {
        top:10px;
        right: 10px;
        width: 100px;
    }

}


