body {
    margin: 0;
    /* font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    font-family: Verdana, Geneva, Arial, sans-serif;
    overflow: hidden;
}

*{   
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color:transparent;
}

.select_disable {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.no-events {
    pointer-events: none;
}
.google-events-1 {
    pointer-events: none;
    position: fixed !important;
    inset: 0;
}

.select_disable .scroll-item {
    pointer-events: none;
}
.select_disable .scroll-item .link_container_scroll {
    pointer-events: auto;
}

.select_disable .scroll-item .link_container_scroll_poi {
    pointer-events: auto;
}

#save_container {
    position: absolute;
    top: 1em;
    right: 0;
    bottom: 1em;
    /* display: flex;
    flex-direction: column; */
    cursor: default;
    width: 410px;
    /* height: 100%; */
    overflow: visible;
    /* background-color: #999999bb; */
    background-color: white;
    transition: transform 0.5s;
}
#save_container.collapsed {
    transform: translateX(410px);
}
#save_container .toggle_button {
    position: absolute;
    left:-3.4em;
    width:3.4em;
    height:3.4em;
    top: 0;
    /* background-color: white; */
    text-align: center;
}
#save_container .pois_container {
    overflow: auto;
}
#save_container .header_font_size {
    font-size: 1.4em;
}
#save_container .accordion-button {
    border: unset !important;
}
#save_container .accordion {
    --bs-accordion-transition: unset !important;
}
#save_container .accordion-button:focus {
    border-color: unset !important;
    box-shadow: unset !important;
}
#save_container .accordion-button:not(.collapsed) {
    color: unset !important;
    background-color: unset !important;
    box-shadow: unset !important;
    /* font-weight: bold; */
}
#save_container .accordion-item:has(.accordion-button:not(.accordion-pois .accordion-button):not(.collapsed)) {
    background-color: rgb(235, 235, 235);
}

#mapEditorModal {
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    overflow:hidden;
    max-width:none;
    margin:0;
    z-index:9999;
}

#mapEditorModal .close {
    position:absolute;
    left:1em;
    top:1em;
    width: 3.4em;
    height: 3.4em;
}

.fixed_textarea {
    resize: none;
    height: 8em;
}
/* #save_container .save_item {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 2em;
    border-bottom: 2px solid white;
    font-size: 1em;
    line-height: 2em;
}
#save_container .text_item {
    color: white;
    width: 100%;
    height: 2em;
    margin-left: 0.4em;
}
#save_container .remove_item {
    width: 2em;
    color: white;
    border-left: 1px solid white;
    text-align: center;
}
#save_container .header {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    font-weight: bold;
    color:white;
    background-color: white;
}
#save_container .header .row {
    width: 100%;
    height: 2em;
    display: flex;
    flex-direction: row;
    margin-bottom: 4px;
}
#save_container .header .item {
    width: 100%;
    text-align: center;
    line-height: 2em;
    background-color: #999999;
    margin: 1px;
} */

#control_container {
    position: absolute;
    top: 1em;
    left: 0.5em;
    display: flex;
    flex-direction: row;
    cursor: default;
    z-index: 999;
}
#control_container .prev {
    width: 3em;
    height: 3em;
    margin: 0.4em 0.2em 0.4em 0.4em;
    /* background-color: rgba(0, 0, 0, 0.55); */
    padding: 0.2em;
    border-radius: 0.2em;
}
#control_container .toggle {
    width: 4em;
    height: 4em;
    /* margin: 0.4em 0.2em 0.4em 0.2em; */
    /* padding: 0.2em; */
    /* border-radius: 0.2em; */
}
#control_container .toggle.on {
    /* filter: drop-shadow(2px 4px 3px black); */
    filter: drop-shadow(0px 0px 4px white);
    
    /* -webkit-animation-name: spin;
    -webkit-animation-duration: 10000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;

    -moz-animation-name: spin;
    -moz-animation-duration: 10000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;

    -ms-animation-name: spin;
    -ms-animation-duration: 10000ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;

    animation-name: spin;
    animation-duration: 10000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear; */
}

#toggle_free_flight {
    position: absolute;
    top: 5em;
    left: 0.5em;
    display: flex;
    flex-direction: row;
    cursor: default;
    z-index: 999;
}

#toggle_free_flight > div {
    width: 2em;
    height: 2em;
    margin: 0.4em 0.2em 0.4em 0.4em;
    /* background-color: rgba(0, 0, 0, 0.55); */
    padding: 0.2em;
    border-radius: 0.2em;
}

#free_flight_unlocked {
    position: fixed !important;
    top: 0.5em;
    left: 0.5em;
}

#layers {
    position: absolute;
    bottom: 1em;
    right: 1em;
    display: flex;
    flex-direction: row;
    cursor: default;
    z-index: 999;
}
#layers .toggle {
    fill: white;
    width: 4em;
    height: 4em;
}
#layers .toggle.on {
    filter: drop-shadow(0px 0px 4px white);
}


#control_container_burguer {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
    /* background-color:rgba(0, 0, 0, 0.3); */
    background: transparent;
    color: white;
    text-align: right;
    user-select: none;
}

#control_container_burguer ul {
    display: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

#control_container_burguer input:checked~ul {
    display: block;
    height: 100vmax;
    padding: 3em 0 0 0;
    background-color: rgba(0, 0, 0, 0.6);
    min-width: 15vmax;
}

#control_container_burguer li:hover {
    background-color: rgba(100, 100, 100, 0.5);
}

#control_container_burguer input {
    display: none;
}

#control_container_burguer label {
    box-sizing: border-box;
    display: inline-block;
    width: 2em;
    height: 1em;
    line-height: 1.4em;
    font-size: 2em;
    text-align: center;
    user-select: none;
    position: absolute;
    right: 0;
    top: 0;
}

#control_container_burguer li {
    display: block;
    margin: 0;
    padding: 0.6em 1em;
    list-style: none;
    user-select: none;
    line-height: 1.2em;
}
@-ms-keyframes spin { 
    from { 
        -ms-transform: rotate(0deg); 
    } to { 
        -ms-transform: rotate(360deg); 
    }
}
@-moz-keyframes spin { 
    from { 
        -moz-transform: rotate(0deg); 
    } to { 
        -moz-transform: rotate(360deg); 
    }
}
@-webkit-keyframes spin { 
    from { 
        -webkit-transform: rotate(0deg); 
    } to { 
        -webkit-transform: rotate(360deg); 
    }
}
@keyframes spin { 
    from { 
        transform: rotate(0deg); 
    } to { 
        transform: rotate(360deg); 
    }
}

#control_container .next {
    width: 3em;
    height: 3em;
    margin: 0.4em 0.4em 0.4em 0.2em;
    /* background-color: rgba(0, 0, 0, 0.55); */
    padding: 0.2em;
    border-radius: 0.2em;
}

.scene_item {
    font-size: 1.2em;
    background-color: #ffffffbb;
    width: 3em;
    height: auto;
    margin: 0.1em;
    text-align: center;
    line-height: 2em;
    z-index: 999;
}

#splash {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    /*background-color: #4b7695;*/
    background: linear-gradient(#ffffff, #4b7695);
    z-index: 9999;
}
#centered_container {
    font-size: 2em;
    color: white;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.info_container {
    /* position: absolute;
    width: 400px;
    height: auto;
    top: 20px;
    right: 10px;
    background-color: #ffffffcc;
    padding: 1em;
    border-radius: 0.4em;
    display: flex;
    flex-direction: column; */

    position: absolute;
    color: white;
    width: 30%;
    right: 10px;
    top: 20px;
    text-shadow: 2px 1px 2px black;
    line-height: 1.4em;
}

@media (max-width: 600px) {
    .info_container {
        top: 15% !important;
        width: 80% !important;
        top: 6em !important;
        font-size: 0.9em !important;
    }
}

.svg-default {
    stroke: #fff;
    stroke-width: 0.3em;
    fill: none;
}
.mirrored {
    transform: rotate(180deg);
}
.svg-default-fill {
    fill: #fff;
}

.svg-default-fill-color {
    fill: currentColor;
}

.toggle-image {
    width: 100%;
    height: 100%;
    background-size: contain;
}

.default-toggle {
    border: 0.24em solid white;
    border-radius: 50% !important;
    margin: 0.2em !important;
}

/* POPUP */

#popup {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.75);
    width: 100%;
    height: 100%;
    z-index: 2000;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hide {
    display: none !important;
  }
  #popup .container {
    position: relative;
    width: 100%;
    height: 100%;
  }
  #popup .container .close {
    cursor: default;
    z-index: 2001;
    color: #fff;
    background: transparent;
    text-shadow: 2px 1px 4px black;
    font-size: 1.8em;
    position: absolute;
    right: 0em;
    top: 0em;
    font-family: monospace;
    width: 1.4em;
    height: 1.4em;
  }
  #popup .container .close.pdf {
    background: black;
    padding: 0.0em 0.0em 0.0em 0.6em;
  }

  #popup .data {
    width: 100%;
    height: 100%;
  }
  
  #popup .data .image-data {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  #popup .data .image-data .image-footer {
    width:100%;
    justify-content: center;
    padding: 0.4em;
    height: 2em;
    display: flex;
    flex-direction: row;
  }
  #popup .data .image-data .image-footer .phone {
    padding: 0.4em;
    width: 2em;
    height: 2em;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 0.2em;
  }

  #external_frame {
      border: none;
  }

  .link_container {
      /* text-align: center;
      padding: 0.2em;
      font-weight: bold;
      text-decoration: underline;
      cursor: pointer; */
        padding-top: 1.2em;
        text-align: left;
        font-weight: bold;
        text-decoration: underline;
        cursor: pointer;
        display: block;
  }

  .link_container_scroll {
    text-align: left;
    padding: 0.2em;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
    display: block;
}

.link_container_scroll_poi {
    text-align: left;
    /* padding: 0.2em; */
    margin-top: 1em;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
    display: block;
}

#link {
    position: absolute;
    left: 1em;
    bottom: 1em;
}
#link img {
    width: auto;
    height: 3em;
}

/*
* SCROLL
*/

#scroll {
    position: relative;
    /* z-index: 2001; */
    overflow-y: hidden !important;
}

#ul-scroll {
    margin: 0;
    padding-left: 0;
}

#ul-scroll .scroll-item {
    width: 100%;
    height: 100vh;
    /* z-index: 2002; */
    position: relative;
}

#ul-scroll .scroll-item .content {
    position: absolute;
    color: white;
    width: 30%;
    right: 5%;
    top: 50%;
    transform: translate(0, -50%);
    /* text-shadow: 0 0 10px rgb(0 0 0 / 20%); */
    /* text-shadow: 2px 1px 4px black; */
    text-shadow: 2px 1px 2px black;
    z-index: 1003;
    line-height: 1.4em;
}

@media (max-width: 768px) {
    #ul-scroll .scroll-item .content {
        width: 90%;
        right: 5%;
        bottom: 10%;
    }
}

#ul-scroll .scroll-item .content a {
    color: white;
}

#ul-scroll .scroll-item.header {
    background-image: linear-gradient(white, transparent);
}

#ul-scroll .scroll-item.header .content {
    width: 100%;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
    z-index: 1;
    line-height: 1.4em;
    text-align: center;
}

#ul-scroll .scroll-item.header .scroll-down {
    color: white;
    width: 100%;
    text-align: center;
    text-align: -webkit-center;
    font-size: 1.4em;
    /* box-shadow: 2px 1px 4px black; */
    animation: scroll-down-effect 1s linear infinite;
}
#ul-scroll .scroll-item.header .icon {
    height: 5em;
    width: 5em;
    filter: drop-shadow(2px 1px 4px black);
}
@media (hover: none) and (pointer: coarse) {
    #ul-scroll .scroll-item.header .icon {
        transform: rotate(180deg);
    }
    #ul-scroll .scroll-item.header .scroll-down {
        animation: scroll-up-effect 1s linear infinite !important;
    }
}
@keyframes scroll-down-effect {
    0% {
        opacity: 0;
        transform: translateY(-80px);
    }

    50% {
        opacity: 1;
        transform: translateY(-40px);
    }

    100% {
        opacity: 0;
        transform: translateY(0px);
    }
}
@keyframes scroll-up-effect {
    0% {
        opacity: 0;
        transform: translateY(80px);
    }

    50% {
        opacity: 1;
        transform: translateY(40px);
    }

    100% {
        opacity: 0;
        transform: translateY(0px);
    }
}

#credits_container {
    position: fixed;
    bottom: 0px;
    left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 1001;
    color: white;
}
#credits_container .text {
    opacity: 0.5;
    font-size: 1.0vmax;
    /* padding-bottom: 4px; */
    padding: 4px 0;
    text-align: left;
}
#credits_container img {
    display: block;
    object-fit: contain !important;
    object-position: left;
    width: 14vmax;
    /* max-height: 6em; */
    max-height: 11vmax;
}
#credits_container #credits {
    color: white;
    opacity: 0.5;
    padding: 5px 0px;
    line-height: 1.25em;
    font-size: 0.7vmax;
}

@media (min-width: 800px) {
    #credits_container .text {
        font-size: 1.30vmin;
    }
    #credits_container img {
        /* width: 11vmax; */
        width: 13vmax;
        /* max-height: 7em; */
        max-height: 12vmax;
    }
    #credits_container #credits {
        font-size: 0.7vmax;
    }
}
@media (min-width: 1100px) {
    #credits_container .text {
        font-size: 1.30vmin;
    }
    #credits_container img {
        /* width: 11vmax; */
        width: 13vmax;
        /* max-height: 7em; */
        max-height: 10vmax;
    }
    #credits_container #credits {
        font-size: 0.7vmax;
    }
}
@media (min-width: 1300px) {
    #credits_container .text {
        font-size: 1.20vmin;
    }
    #credits_container img {
        width: 10vmax;
        /* max-height: 6em; */
        max-height: 7vmax;
    }
    #credits_container #credits {
        font-size: 0.5vmax;
    }
}

/* UI */

.centered-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 400px;
    min-height: 200px;
    background: #fff;
    border-radius: var(--bs-border-radius-lg);
    padding: 20px;
    box-sizing: border-box
}


.loading {
    fill: white;
    width: 3em;
    height: 3em;

    -webkit-animation:loading-spin 2s linear infinite;
    -moz-animation:loading-spin 2s linear infinite;
    animation:loading-spin 1s linear infinite;
}
@-moz-keyframes loading-spin { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes loading-spin { 
    100% { -webkit-transform: rotate(360deg); } 
}
@keyframes loading-spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}

gmp-map-3d {
    height: 100%;
    width: 100%;
}

.gmp-map-3d-offset {
    /* credits_container */
    left: 12px !important;
    bottom: 38px !important;
}


.fs-7 {
    font-size: 0.9rem;
}