@font-face {
    font-family: GothamMedium;
    src: url(./GothamMedium.ttf);
}

body {
    background-color: #1f2957 !important
}

body #panoContainer {
    display: none;
    height: calc(100% - 65px);
    width: 100%;
    z-index: 10000000;
    position: absolute;
    top: 0
}

body .videoContainer {
    height: calc(100% - 65px);
    width: 100%
}

body #railwayVideo,
body #railwayVideo2 {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0
}

body .project-content {
    display: none;
    position: absolute;
    height: calc(100% - 65px);
    width: 100%;
    text-align: center
}

body .railwayaddclass {
    background: black !important
}

body #railwayVideo,
body #railwayVideo2 {
    display: none
}

body #project-image {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain
}

body #global-sideoptions,
body #kualalumpur-sideoptions,
body #malaysia-sideoptions,
body #project-sideoptions {
    display: none
}

body .activesideoptions {
    display: block !important
}

body #global-sideoptions,
body #kualalumpur-sideoptions,
body #malaysia-sideoptions,
body #project-sideoptions {
    position: absolute;
    right: 0;
    top: 150px;
    z-index: 9999
}

body #global-sideoptions ul,
body #kualalumpur-sideoptions ul,
body #malaysia-sideoptions ul,
body #project-sideoptions ul {
    list-style: none;
    padding: 0;
    margin: 0
}

body #global-sideoptions ul li,
body #kualalumpur-sideoptions ul li,
body #malaysia-sideoptions ul li,
body #project-sideoptions ul li {
    /* background-color: rgba(0, 0, 0, 0.479); */
    -webkit-transition: background 0.2s ease;
    transition: background 0.2s ease;
    border-radius: 20px 0px 0px 20px;
    border: 1px solid #fff;
    border-width: 1px 0 1px 1px;
    margin-bottom: 10px
}

body #global-sideoptions ul li button,
body #kualalumpur-sideoptions ul li button,
body #malaysia-sideoptions ul li button,
body #project-sideoptions ul li button {
    width: 212px;
    height: 35px;
    position: relative;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
    border: none;
    -webkit-transition: width 2s;
    transition: width 2s
}

body #global-sideoptions ul li button img,
body #kualalumpur-sideoptions ul li button img,
body #malaysia-sideoptions ul li button img,
body #project-sideoptions ul li button img {
    margin-left: 10px;
    width: 25px
}

body #global-sideoptions ul li button span,
body #kualalumpur-sideoptions ul li button span,
body #malaysia-sideoptions ul li button span,
body #project-sideoptions ul li button span {
    padding: 10px;
    color: #ffffffa6;
    text-transform: uppercase;
    font-size: 0.6rem;
    font-weight: 100;
    letter-spacing: 1px
}

body #project-sideoptions ul li {
    border-color: white
}

body #project-sideoptions ul li button {
    width: 150px
}

body #project-sideoptions ul li button img {
    opacity: 0.5;
    width: 25px
}

body #globalVideo,
body #globalVideo2 {
    width: 100%;
    height: calc(100% - 65px);
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute
}

body #globalVideo {
    z-index: 99
}

body #modes-toggler {
    padding: 0;
    margin: 10px 0;
    position: absolute;
    top: 0;
    width: 100%;
    text-align: center;
    z-index: 999
}

body #modes-toggler ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 20px;
    max-width: 420px;
    border: 1px solid #fff
}

body #modes-toggler ul li {
    width: 50%;
    -webkit-transition: background 0.2s ease;
    transition: background 0.2s ease
}

.active-location {
    background: rgba(0, 0, 0, 0.479);
}

body #modes-toggler ul li:first-child {
    border-radius: 20px 0 0 20px
}

body #modes-toggler ul li:nth-child(4) {
    border-radius: 0 20px 20px 0
}

body #modes-toggler ul li:nth-child(4) button {
    border: none !important
}

body #modes-toggler ul li button {
    border-right: 1px solid #fff;
    width: 100%;
    height: 30px;
    position: relative;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

body #modes-toggler ul li button .icon {
    display: inline-block;
    -webkit-mask-size: cover;
    mask-size: cover;
    background: grey;
    width: 18px;
    height: 18px;
    margin-right: 6px;
}

body #modes-toggler ul li button span {
    color: #fff;
    text-transform: uppercase;
    font-size: 0.55rem;
    font-weight: 100;
    letter-spacing: 1px;
    font-family: GothamMedium;
}

body #modes-toggler ul li:hover {
    background: rgba(0, 0, 0, 0.479);
}

body #modes-toggler ul li:hover {
    background: rgba(0, 0, 0, 0.479);
}

body #modes-toggler ul li.selected .icon {
    background: white;
    color: orange
}

body #modes-toggler ul li.selected span {
    color: #fff
}

body #modes-toggler ul li.selected:nth-child(4) {
    background: blue
}

.changeselectedcolor {
    color: #fff !important
}

.changeprojectselectedcolor {
    color: #fff !important
}

.chanegprojectimage {
    opacity: 1 !important
}

#threesixty {
    cursor: pointer;
    display: none;
    position: absolute;
    right: 50px;
    top: 20px;
    z-index: 9999000;
    width: 100px;
    height: 100px;
    background-color: rgba(240, 248, 255, 0)
}

#threesixty img {
    width: 100px;
    height: 100px
}

#closethreesixty {
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 99999999;
    width: 150px;
    height: 150px;
    background-color: rgba(240, 248, 255, 0);
    display: none
}

.potriate {
    display: none;
    background-color: white;
    text-align: center
}

.potriate .message {
    width: 100%;
    color: black;
    font-size: 21px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

nav {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-image: url("../assets/Bar.png");
    background-size: cover;
    height: 65px
}

nav ul {
    height: 100%;
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 500px;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    margin: 0 auto;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #ffffff
}

nav ul img {
    width: 85px;
    -o-object-fit: contain;
    object-fit: contain
}

@media (max-width: 900px) {
    body #panoContainer {
        height: calc(100% - 55px)
    }
    body .videoContainer {
        height: calc(100% - 55px)
    }
    /* body #modes-toggler ul {
        max-width: 350px
    } */
    body #globalVideo,
    body #globalVideo2 {
        height: calc(100% - 55px)
    }
    body #global-sideoptions,
    body #kualalumpur-sideoptions,
    body #malaysia-sideoptions {
        top: 80px
    }
    body #global-sideoptions ul li button,
    body #kualalumpur-sideoptions ul li button,
    body #malaysia-sideoptions ul li button,
    body #project-sideoptions ul li button {
        width: 130px;
        height: 28px
    }
    body #global-sideoptions ul li button img,
    body #kualalumpur-sideoptions ul li button img,
    body #malaysia-sideoptions ul li button img {
        width: 15px
    }
    body #global-sideoptions ul li button span,
    body #kualalumpur-sideoptions ul li button span,
    body #malaysia-sideoptions ul li button span {
        font-size: 0.5rem
    }
    body #modes-toggler ul li button {
        height: 25px;
    }
    body #project-sideoptions {
        top: 30px;
        height: calc(100% - 80px);
        overflow-y: scroll;
        z-index: 0;
    }
    body #project-sideoptions ul li {
        margin-bottom: 7px
    }
    /* body #project-sideoptions ul li button {
        width: 107px;
        height: 26px
    } */
    body #project-sideoptions ul li button img {
        width: 15px
    }
    body .project-content {
        height: calc(100% - 55px)
    }
    nav {
        height: 55px
    }
    nav ul img {
        width: 75px
    }
    #threesixty {
        left: 25px;
        top: 10px;
        width: 60px;
        height: 60px
    }
    #threesixty img {
        width: 60px;
        height: 60px
    }
    #closethreesixty {
        width: 50px;
        height: 50px
    }
}

@media screen and (orientation: portrait) {
    .videoContainer,
    #panoContainer,
    #threesixty,
    #closethreesixty,
    #modes-toggler,
    #global-sideoptions,
    #malaysia-sideoptions,
    #kualalumpur-sideoptions,
    #project-sideoptions,
    .main-nav {
        display: none !important
    }
    .potriate {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        height: 100vh
    }
}

html,
body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    outline: 0;
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif
}