* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#ui {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    pointer-events: none;
    transition: all .5s;
}

#ui.with-thumbs #menu {
    bottom: 125px;
}

#ui.hide {
    top: 50%;
}

#menu {
    position: absolute;
    bottom: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
    transition: all .5s;
}

#menu-wrapper {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: #F0BD4B;
    padding: 10px 30px;
    /* background-color: rgba(26, 109, 168, .9); */
    border-radius: 30px;
}

#menu-delimiter {
    width: 2px;
    height: 40%;
    margin: 0 5px;
    background-color: #F0BD4B;
}

#menu-wrapper>div {
    pointer-events: all;
    display: flex;
}

#menu-wrapper>div>div {
    margin: 0 5px;
}

#menu-wrapper img {
    width: 50px;
}

#menu-wrapper span {
    display: block;
    white-space: nowrap;
    font-size: 12px;
}

#thumbs {
    width: 100%;
    left: 0;
    bottom: 0;
    position: absolute;
    background-color: transparent;
    padding: 10px;
    background-color: rgb(138, 32, 40, 0.9);
    transition: all .3s;
}

#thumbs.hide {
    bottom: -500px;
}

#thumbs .swiper-slide {
    width: 140px;
    pointer-events: all;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}

#thumbs .swiper-slide img {
    width: 100%;
}

#thumbs .swiper-slide p {
    text-align: center;
    font-size: 14px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, .6);
    color: #F0BD4B;
}

#mp0 {
    position: fixed;
    width: 30%;
    max-width: 220px;
    right: 10px;
    top: 10px;
    pointer-events: all;
    transform-origin: right top;
    cursor: pointer;
}

#mp0 img {
    width: 100%;
    vertical-align: top;
    height: auto;
}

#radar {
    transform-origin: center center;
    width: 8px;
    height: 8px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    overflow: hidden;
    background-color: #F0BD4B;
    box-shadow: 0 0 1px 1px #F0BD4B;
    left: -100px;
    top: -100px;
    /* transition: all .3s; */
    z-index: 2;
}

#ui.hide #topmenu {
    display: none;
}

#topmenu {
    position: fixed;
    right: 10px;
    top: 30px;
    user-select: none;
    pointer-events: all;
    cursor: pointer;
    text-align: center;
    color: #F8E1C0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 5em;
    transform-origin: right top;
    transform: scale(0.7);
}

#topmenu img {
    width: 100%;
    height: 100%;
}

#ui.hide #hotspots {
    right: -120%
}

#hotspots {
    position: fixed;
    right: -600px;
    top: 10px;
    width: 300px;
    max-height: calc(100% - 20px);
    background-color: rgba(26, 109, 168, .9);
    color: #F8E1C0;
    pointer-events: all;
    display: flex;
    flex-direction: column;
    transition: all .5s;
    border-radius: 10px;
    z-index: 999;
    padding: 5px 5px 5px 5px;
    box-sizing: border-box;
    text-align: center;
}

#hotspots.show {
    right: 10px;

}

#hotspots [close] {
    border-bottom: 1px solid #F8E1C0;
    font-size: 24px;
    padding: 5px;
    user-select: none;
    cursor: pointer;
    text-align: center;
}

#hotspots [list] {
    flex-grow: 1;
    overflow: hidden;
    padding: 10px;
    position: relative;
}

#hotspots [list] li {
    list-style: none;
    line-height: 46px;
    font-size: 16px;
    padding: 5px 5px 0 5px;
    transition: all .5s;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: all .5s;
}

/* #hotspots [list] li:hover{
         overflow: auto;
         white-space:initial;
         text-overflow:initial;
      } */
#hotspots [list] .swiper-scrollbar-drag {
    background-color: #e5cdb1;
    width: 2px;
    margin-left: 3px;
    border-radius: 5px;
}

#hotspots [list] li:hover {
    background-color: rgba(229, 205, 177, 0.2);
}

.photo-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    padding: 8px;

    display: flex;
    flex-direction: column;
}

.photo-wrapper .photo-text {
    padding-top: 10px;
    text-align: center;
    color: white;
}

.photo-wrapper .photo-img {
    flex-grow: 1;
    overflow: hidden;
    text-align: center;
    background-color: white;
    border-radius: 10px;
}

.photo-wrapper .photo-img img {
    width: 90vmin;
    max-height: calc(100vh - 60px);
    max-width: 600px;
    object-fit: contain;
    object-position: center center;
}

#video-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 800px;
    width: calc(100% - 40px);
}

#poster {
    background: url(h.jpg) no-repeat center center;
    background-size: contain;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #0F1011;
    z-index: 1000;
    cursor: pointer;
}


@media only screen and (orientation: portrait) and (max-width: 768px) {

    #poster {
        background: url(v.jpg) no-repeat center center;
        background-size: contain;
    }

}

@media screen and (max-width: 740px) {
    /* #mp0 {
        transform: rotate(90deg) translateY(-100%);
     } */

    #hotspots {
        right: -120%;
        border-radius: 0;
        padding: 5px 5px 20px 5px;
    }

    #hotspots.show {
        width: 100vw;
        height: 100vh;
        top: 0;
        right: 0;
    }

    #menu {
        bottom: 0;
    }

    #menu-wrapper {
        width: 100%;
        border-radius: 0;
        background-color: transparent;
        padding: 0 0 15px 0;
        align-items: flex-end
    }

    #menu-wrapper>div {
        flex-direction: column;
    }

    #menu-delimiter {
        display: none !important;
    }
}

#_stat {
    color: white;
    padding: 5px;
}

#thumbs .swiper-slide {
    border: 3px solid transparent;
    box-sizing: border-box;
}

#thumbs .current-thumb {
    border: 3px solid #F0BD4B;
}

#map0-point-wrapper {
    transform: scale(1);
}

.map-point {
    display: none;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    padding: 3px;
    background: red;
    font-size: 10px;
}

/* #mp0 {
    width:  100vmin;
    max-width:none;
}

.map-point{
    display: block;
} */