/*MAIN ELEMENTS*/
* {
    margin: 0;
    border: 0;
    padding: 0;
    user-select: none;
    scrollbar-width: none;
    scrollbar-color: #027bdf rgba(50, 50, 50, .05);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}



*:focus {
    outline: none;
}

body {
    height: 100%;
}

#app {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

/* .content h4 {
    padding-left: 10px;
    text-align: justify;
} */

.pages {
    width: 100%;
    height: calc(100% - 60px);
    position: relative;
    display: none;
    text-align: center;
    /* background: linear-gradient(rgba(61, 61, 61, 0.85),
            rgba(78, 78, 78, .7)),
        url("../media/vt2_bg_trim.webp"); */
    background: url("../media/vt2_bg_trim.webp"), url("../media/vt2_bg_low.webp");
    background-size: cover, cover;
    /* background-blend-mode: darken, darken; */
    background-position: center, center;
}

.content {
    /*padding: 10px;*/
    padding-bottom: 10px;
    position: relative;
    /*max-height: calc(100% - 25px);*/
    max-height: 100%;
    text-align: justify;
    max-width: 1280px;
    background-color: rgb(180, 180, 180);
    margin: 0 auto;
    text-align: center;
    overflow-y: auto;
    overflow-x: hidden;
}

.media {
    padding: 0;
    position: relative;
    background-color: transparent !important;
    max-height: 100%;
    height: 100%;
    vertical-align: middle;
}

#settingsButton {
    position: absolute;
    border-radius: 100%;
    top: 33px;
    right: 10px;
    width: 25px;
    z-index: 101;
}

#settingsButton:hover {
    cursor: pointer;
    transform: scale(1.2);
    background-color: white;
}

#userButton {
    color: #6ec6e9;
}

#userButton:hover {
    cursor: pointer;
    transform: scale(1.2);
    color: rgb(1, 96, 219);
}

.btnSelected {
    background-color: #111111 !important;
}

*::-webkit-scrollbar-thumb {
    background-color: #027bdf;
    outline: 3px solid #000e22;
}


*::-webkit-scrollbar {
    width: 2px;
    height: 4px;
    background-color: #26313b;
}

.mapMenus {
    scrollbar-width: none;
}

.listImage {
    width: 22px;
    display: inline-table;
    float: left;
    padding-left: 10px;
}

input[type=text],
input[type=password],
input[type=number],
input[type=date],
input[type=email] {
    height: 20px;
    margin-bottom: 10px;
    /*border: none;
    border-left: 2px #333333 solid;
    border-bottom: 2px #333333 solid;*/
}

input[type=submit] {
    height: 30px;
    background-color: #21628d;
    color: white;
    opacity: .8;
}

input[type=submit]:hover {
    cursor: pointer;
    opacity: 1;
}

input[type=radio],
input[type=checkbox] {
    width: 18px;
    height: 18px;
}

.input-icon {
    cursor: pointer;
    display: block;
    background-size: contain;
    height: 14px;
    width: 17px;
    float: right;
}

option {
    background-color: #1a3f58;
    color: white;

}

h2 {
    color: white;
    /*padding: 0px 40px 5px 40px;*/
}

li {
    list-style: none;
    display: list-item;
    color: white;
    font-size: 20px;
    padding: 10px 0 10px 0;
    cursor: pointer;
    background-color: #333333;
    text-align: center;
}

li:hover {
    background-color: #19477a;
}


.highlight {
    width: 110px;
    height: 40px;
    background-color: #1a3f58;
    color: white;
    cursor: pointer;
    margin: 3px;
}

.highlight:hover {
    background-color: #2d6c96;

}

.green {
    background-color: #105210;
}

.green:hover {
    background-color: #2a882a;
}

.red {
    background-color: #772222;
}

.red:hover {
    background-color: #aa2222;
}


input:disabled,
textarea:disabled {
    background-color: #d4d4d4;
}



/*All title bar and footer style*/
#appTitleBar {
    width: 100%;
    height: 30px;
    background-color: #1d1d1d;
    color: white;
    text-align: center;
    position: relative;
}

#appTitleBar p {
    width: 100%;
    height: calc(100% - 5px);
    padding-top: 5px;
    vertical-align: middle;
}

#maintitle {
    position: absolute;
    height: calc(100% - 5px);
    padding-top: 5px;
    right: 0;
    top: 0px;
    padding-right: 10px;
    padding-left: 10px;
    background-color: black;
    vertical-align: middle;
}

#pagetitle {
    margin-left: 10px;
}

#footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background-color: #1d1d1d;
    color: white;
}

#footer select {
    /* for Firefox */
    -moz-appearance: none;
    /* for Chrome */
    -webkit-appearance: none;
}

/* For IE10 */
#footer select::-ms-expand {
    display: none;
}

#userdetails {
    float: right;
    padding-right: 10px;
    padding-top: 5px;
}

#mapDiv img {
    max-width: 100%;
    max-height: 100%;
}

#mapPage .content {
    height: 100%;
}


/*LOGIN PAGE STYLE*/

#loginPage {
    text-align: center;

}

#loginPage>div {
    position: absolute;
    top: calc(45% - 150px);
    /*top: 20%;*/
    left: calc(50% - 150px);
    width: 300px;
    background-color: #777777;
    padding: 4px 0 20px 0;
    color: white;
}

#loginPage .local-file {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200px;
}

#createUserDiv {
    display: none;
    width: 100%;
    margin-top: 10px;
}

#loginUserDiv {
    width: 100%;
    margin-top: 10px;
}

#activate-user-div {
    display: none;
    width: 100%;
    margin-top: 10px;
}

#createTab {
    display: inline-table;
    padding: 5px 0 5px 0;
    height: 25px;
    width: 144px;
    background-color: #333333;
    color: white;
}

#loginTab {
    display: inline-table;
    padding: 5px 0 5px 0;
    height: 25px;
    width: 144px;
    background-color: #21628d;
    color: white;
}

#createTab:hover,
#loginTab:hover {
    cursor: pointer;
    transform: scale(1.02);
}

#loginPage form {
    width: 200px;
    margin: 0 auto;
    text-align: left;
}

#loginPage input {
    width: 100%;
}


/*SETTINGS PAGE STYLE*/

.settings-modules {
    /*top: 20%;*/
    display: inline-block;
    vertical-align: top;
    left: calc(50% - 160px);
    width: 300px;
    max-width: 100%;
    background-color: #777777;
    padding: 4px 0 20px 0;
    margin-top: 5px;
    color: white;
}

.settings-modules p {
    color: #000;
    width: 200px;
    background-color: rgb(207, 207, 207);
}

.settings-modules form {
    width: 200px;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
}

#pw-change-cont {}

#pwrd-change-form {}

#settingsPage input {
    width: 100%;
}


/*TEWT PAGE STYLE*/

#tewtMenuButton {
    position: absolute;
    width: 50px;
    top: -10px;
    left: 20px;
    z-index: 102;
}


#tewtPage input {
    width: 200px;
}



.menu h2 {
    background-color: #111111;
}

#tewtPage textarea {
    width: 100%;
    height: 100px;
    resize: vertical;
    margin-bottom: 20px;
}

.tewtPage,
.mainPage {
    display: none;
    width: 100%;
    height: 100%;
    text-align: center;
    position: relative;
    text-align: center;
}

#exSelection {
    display: block;
}

#exSelection .content {
    padding-bottom: 0;
    background-color: rgba(170, 170, 170, 0.507);
    border-radius: 5px;
}

.tewtBtns {
    width: 150px;
    height: 80px;
    background-color: #1a3f58;
    color: white;
    display: inline-table;
    cursor: pointer;
    padding: 10px;
    margin: 5px;
    position: relative;
    border-radius: 5px;
    transition: all 0.3s;
}

.tewtBtns p {
    font-size: 15px;
    text-align: center;
    color: white;
    padding-top: 25px;

}

.tewtBtns:hover {
    background-color: #21628d;
    transform: scale(1.05);
}

#uavVideo {
    max-width: 100%;
    max-height: 99%;
}

#tewtIntroVideo {
    max-height: 100%;
    max-width: 100%;
}

.videoDiv {
    position: relative;
    background-color: none !important;
    padding: 10px;
    max-height: calc(100% - 50px);
    margin-top: 40px;
    text-align: justify;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    overflow-y: auto;
    overflow-x: hidden;
}

#tewtUavPage .content {
    background-color: none
}

#tewtOrdersPage .content {
    max-height: calc(100% - 60px);
    max-width: 1000px;
    padding: 10px;
    text-align: justify;
}

#manWheelPage {
    position: relative;
    height: 100%;
    width: 100%;
}

#man-wheel {
    position: relative;
    height: calc(100% - 27px);
    width: 100%;
    padding: 0;
}

.mapBtns {
    position: absolute;

}

.mapMenus {
    position: absolute;
    z-index: 102;
    background-color: black;
    display: none;
}

#mapItems {
    display: block;
}

.menuHorizontal {
    width: fit-content;
    max-width: 100%;
    height: 54px;
    left: 0;
    right: 0;
    text-align: center;
    bottom: 0;
    margin: 0 auto;
    padding-bottom: 4px;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
}

.menuVertical {
    width: 60px;
    /*max-height: calc(100% - 20px);*/
    height: fit-content;
    max-height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    padding-right: 4px;
}

.mapMenuIcon {
    width: 60px;
    height: 50px;
    border: 1px #919191 solid;
    background-color: rgb(177, 177, 177);
    display: inline-block;
    position: relative;
    overflow-x: visible;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    margin: auto;
    /*overflow: hidden;*/
}

.mapMenuIconTitle {
    width: 65px;
    height: 45px;
    background-color: rgb(0, 0, 0);
    display: inline-block;
    position: relative;
    overflow-x: visible;
    vertical-align: middle;
    color: white;
    /*overflow: hidden;*/
}

.mapMenuIcon:hover,
.mapMenuIcon p:hover {
    background-color: rgba(73, 73, 73, .8);
    cursor: pointer;
    color: white;
}


.mapMenuIcon img {
    /*width: 90%;*/
    height: 90%;
    z-index: 101;
}

.mapMenuIcon p,
.mapMenuIconTitle p {
    display: block;
    position: absolute;
    left: 0;
    font-size: 12px;
    ;
    top: 0;
    width: 100%;
    height: calc(100% - 5px);
    margin: 0;
    padding: 0;
    padding-top: 5px;
    z-index: 102;
}

.mapMenuIconTitle p {
    padding-top: 5px;
}

.mapMenuIcon p {
    background-color: rgba(177, 177, 177, .75);
    font-weight: bold;
}

.mapSmallIcon {
    width: 24px;
    height: 24px;
    display: inline-table;
}

.mapSmallIcon img {
    width: 24px;
}

.mapSelect {
    position: absolute;
    top: 25px;
    left: 10px;
    z-index: 102;
    width: 110px;
    border: 1px black solid;
}

/*.mapSelect:first-child{
    top: 5px;
}*/

#selections {
    top: 5px;
}

#layerSelectBtn {
    position: absolute;
    padding: 4px 5px 4px 5px;
    top: 45px;
    width: fit-content;
    left: 10px;
    z-index: 102;
    border: 1px black solid;
}

.menuHeadVertical {
    width: 100%;
    height: 24px;
    background-color: #19477a;
}

.menuHeadHorizontal {
    width: 24px;
    height: 100%;
}

#lineFinishPopup,
#areaFinishPopup {
    display: none;
    width: fit-content;
    height: fit-content;
    position: absolute;
    z-index: 102;
}

.popupTop {
    right: 0;
    top: 0;
}

.popupBottom {
    bottom: 0;
    left: 0;
}



/*MENUS for MAIN, TEWT and ADMIN*/
.closedMenu {
    width: 0;
}

.openMenu {
    width: 200px;
    left: 20px;
    top: -20px;
}

.menu {
    position: absolute;
    max-height: 100%;
    text-align: center;
    animation: .5s all;
    overflow: hidden;
    z-index: 104;
}

.menu-icon {
    position: absolute;
    width: 30px;
    height: 30px;
    left: 10px;
    top: -30px;
    z-index: 105;
    cursor: pointer;
}

.menub1,
.menub2,
.menub3 {
    width: 30px;
    height: 5px;
    background-color: rgb(175, 175, 175);
    margin: 4px 0;
    transition: 0.4s;
}

.change .menub1 {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-6px, 6px);
}

.change .menub2 {
    opacity: 0;
}

.change .menub3 {
    -webkit-transform: rotate(45deg) translate(-6px, -8px);
    transform: rotate(45deg) translate(-6px, -8px);
}

.admin-icon {
    top: 0;
}

.admin-menu {
    top: 10px;
}




/*POPUPS and MENUS*/

.closeButton {
    position: absolute;
    width: 25px;
    height: 20px;
    padding-top: 4px;
    top: 2px;
    right: 2px;
    color: white;
    background-color: rgb(112, 0, 0);
    border: 1px black solid;
    line-height: 15px;
    vertical-align: middle;
    text-align: center;
    z-index: 106;
}

.closeButton:hover {
    background-color: #b90000;
    transform: scale(1.1);
    cursor: pointer;
}

#followMenu,
#loginPopup {
    width: 200px;
    min-height: 50px;
    position: absolute;
    top: calc(50% - 100px);
    left: calc(50% - 100px);
    background-color: #999999;
    display: none;
}

#followMenu h2,
#loginPopup h2 {
    background-color: #333333;
    color: white;
}

#loginPopup h2 {
    text-align: center;
    background-color: #111111
}

#loginPopup div {
    padding: 5px;
    font-size: 22px;
    padding-bottom: 10px;
    background-color: #333333;
    color: white;
    text-align: center;
}

#loginPopup div:hover {
    cursor: pointer;
    background-color: #2d6c96;
}

#followMenu div {
    margin-top: 20px;
}





@media only screen and (max-width: 500px) {
    #appTitleBar {
        text-align: left;
        padding-left: 40px;
        width: calc(100% - 40px);
    }

    #tewtPage h2 {
        padding-top: 10px;
    }
}


/*Cesium styling*/
#cesiumMap {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.cesium-viewer-bottom {
    /* display: none !important; */
}

.cesium-credit-logoContainer {
    display: none !important;
}

.cesium-viewer-toolbar {
    right: 85px;
}

.cesium-viewer-animationContainer {
    display: none;
}

.cesium-viewer-timelineContainer {
    display: none;
}

.cesium-infoBox {
    right: 85px !important;
}

.cesium-infoBox-camera {
    display: none !important;
}

#loadingpage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(56, 56, 56, 0.7);
    display: block;
    z-index: 106;
}

#loadingpage div {
    height: 300px;
    width: 500px;
    top: calc(50% - 150px);
    margin: 0 auto;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
}

#loadingpage img {
    width: 100%;
}



/*DEBRIEF PAGE STYLES*/
.debrief_controls button {
    width: 100px;
    height: 40px;
    opacity: 0.8;
}

.debrief_controls button:hover {
    opacity: 1;
    cursor: pointer;
}

.debrief_video {
    /*width: 95%;*/
    height: 90%;
    max-height: 100%;
    max-width: 100%;
}

.debrief_controls {
    position: absolute;
    bottom: 5px;
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    left: 0;
    right: 0;
    text-align: center;
    background-color: rgba(78, 78, 78, 0.445);
    border-radius: 5px;
}

#deb_con_playback {
    display: none;
}

#tewtDebriefPage {
    background-color: rgb(32, 32, 32);
}

#tewtDebriefPage h2 {
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
}

#debrief_time {
    position: absolute;
    background-color: rgba(78, 78, 78, .63);
    color: rgb(255, 255, 255);
    width: 100px;
    top: 5px;
    left: 5px;
}

#debrief_playback {
    display: none;
}

@media only screen and (max-height: 380px) {

    li {
        font-size: 15px;
        padding: 5px 0 5px 0;
    }

    .listImage {
        width: 15px;
    }

    h2 {
        font-size: 1em;
    }
}