@font-face {
    font-family: 'menloregular';
    src: url('./menlo-regular-webfont.woff2') format('woff2'),
        url('./menlo-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

* {
    box-sizing: border-box;
    font-family: 'menloregular';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Make the display fill the screen completely */

html, body, #wrapper {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Map */

#mapDiv {
    height: 100%;
    z-index: 0;
}

/* Format flight information */

.formatInfo {
    background-color: #101618;
    text-align: center;
    font: normal 10px 'menloregular';
    padding: 10px;
    user-select: none;
}

/* Flight information */

.flightInfoPanel {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 15px;
    width: 20vw;
    color: #e2e2e2;
    user-select: none;
    transition: 0.5s;
}

#flightInfoDiv {
    opacity: 0.8;
    z-index: 1;
    display: none;
}

#flightInfoContainer {
    z-index: 2;
    display: none;
}

#openInfoPanelButton {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: calc(20vw - 5px);
    height: 60px;
    width: 20px;
    padding: 0;
    font-size: small;
    font-weight: bolder;
    color: #e2e2e2;
    background-color: rgba(16, 33, 37);
    border: none;
    transition: 0.5s;
    border-radius: 5px;
    cursor: pointer;
}


#flightInfoBackground {
    background-color: rgba(16, 33, 37);
}

#flightStripsDiv {
    height: 85%;
}

.flightStripList {
    height: 50%;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 1;
}

#arrivalListDiv {
    height: 90%;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

#droneStripsDiv {
    height: 15%;
}

#textConsoleDiv {
    position: absolute;
    bottom: 30px;
    left: 0px;
    margin: 0 1vw;
    padding: 2px;
    color: #e2e2e2;
    font-size: 13px;
    user-select: none;
    z-index: 2;
    transition: 0.5s;
}

#commandLineDiv {
    display: none;
}



#commandLineInput {
    width: 100%;
    padding: 8px 20px;
    margin: 0;
    display: inline-block;
    border: 0px;
    background-color: #1e1f21;
    opacity: 1;
    color: #e2e2e2;
    font-weight: normal;
    font-size: 13px;
    transition: 0.5s;
}



#commandLineInput:focus {
    outline: none;
}

#consoleList li {
    margin: 2px 0;
    padding: 4px 0;
    animation: fadeOut ease 40s;
    animation-fill-mode: forwards;
}

#consoleList li:hover {
    background-color: rgb(129, 129, 129, 0.6);
}

@keyframes fadeOut {
    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeOutLin {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Scenario indicator */
#indicatorDiv {
    position: absolute;
    top: 12px;
    left: 50px;
    user-select: none;
    display: none;
    z-index: 2;
}

#logoInMap {
    position: relative;
    left: 15px;
    display: inline-block;
}

#logoInMap img {
    width: 80px;
    height: auto;
    opacity: 0.8;
}

#scenarioIndicatorDiv {
    position: relative;
    color: #e2e2e2;
    font-size: 13px;
    display: inline-block;
}

/* Start Screen */

#startScreen {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    z-index: 1;
}

#menu {
    position: relative;
    margin: auto;
    padding: 2%;
    top: 20%;
    width: 33%;
    border-radius: 10px;
    background-color: #454955;
    opacity: 0.65;
}

#menuTitle {
    margin: auto;
    padding-top: 5vh;
    width: 80%;
    color: #e2e2e2;
    text-align: center;
    font: bold 30px 'menloregular';
}

/* login */

#loginContainer {
    padding-top: 5vh;
    padding-bottom: 3vh;
    margin: auto;
    width: 80%;
}

input[type=text], input[type=password] {
    width: 100%;
    padding: 8px 20px;
    margin: 12px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-weight: bold;
    font-size: large;
}

.loginText {
    color: #e2e2e2;
    font-weight: bold;
    font-family: 'menloregular';
}

#loginButton {
    background-color: #00B4EB;
    color: white;
    padding: 12px 20px;
    margin: 15px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    font-size: medium;
}

button:hover {
    opacity: 0.8;
}

/* reset map */
#resetMapButton {
    position: relative;
    margin: 0;
    top: -5px;
    left: 40px;
    width: 100px;
    height: 40px;
    border: none;
    user-select: none;
    white-space: nowrap;
    display: none;
    cursor: pointer;
    color: white;
    background-color: #0085ad;
    border-radius: 5px;
    font: bold 12px 'menloregular';
    opacity: 0.8;
}

#resetMapButton:hover {
    opacity: 0.6;
}

/* settings */

#settingPanelDiv {
    position: absolute;
    margin: 0;
    top: 80px;
    left: 8px;
    width: 280px;
    user-select: none;
    white-space: nowrap;
    display: none;
    opacity: 0.65;
    z-index: 3;
}

#openSettingPanelButton {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 255px;
    height: 60px;
    width: 20px;
    padding: 0;
    font-size: small;
    font-weight: bolder;
    color: #e2e2e2;
    background-color: #454955;
    border: none;
    border-radius: 5px;
    transition: 0.5s;
    cursor: pointer;
}

#informationLayerContainer {
    position: relative;
    width: 260px;
    padding: 10px 10px 30px 10px;
    background-color: #454955;
    border-radius: 10px;
    transition: 0.5s;
    overflow: hidden;
}

#informationLayerTitle {
    color: #e2e2e2;
    text-align: center;
    font: bold 13px 'menloregular';
}

.settingBox {
    position: relative;
    top: 12px;
    padding-bottom: 2px;
    background-color: #34363b;
}

.settingHeader {
    color: #e2e2e2;
    text-align: center;
    padding: 5px;
    background-color: #1e1f21;
    font: bold 13px 'menloregular';
    cursor: pointer;
    pointer-events: auto;
}

.settingText {
    color: #e2e2e2;
    font: 12px 'menloregular';
}

.settingList {
    position: relative;
    margin: 0.3vh auto;
    left: 15px;
    max-height: 35vh;
    overflow-y: auto;
}

/* width */
.settingList::-webkit-scrollbar {
    width: 15px;
}

/* Track */
.settingList::-webkit-scrollbar-track {
    background: #888;
}

/* Handle */
.settingList::-webkit-scrollbar-thumb {
    background: #565a68;
}

/* Handle on hover */
.settingList::-webkit-scrollbar-thumb:hover {
    background: #454955;
}

.settingList li {
    margin: 0.8vh auto;
}

.inlineBox {
    display: inline-block;
}

label, input {
    vertical-align: middle;
}

#instruction {
    position: absolute;
    margin: 0;
    top: 80px;
    left: 100px;
    padding: 12px 12px 12px 12px;
    border-radius: 5px;
    background-color: #454955;
    color: #e2e2e2;
    font: normal 13px "menloregular";
    user-select: none;
    white-space: nowrap;
    line-height: 20px;
    opacity: 0.7;
    transition: 0.5s;
    overflow: hidden;
    display: none;
    z-index: 3;
}

#close-instruction {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: #e2e2e2;
    font-size: 14px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

#close-instruction:hover {
    opacity: 1;
}

#surveyDiv {
    position: absolute;
    margin: 0;
    top: 30px;
    right: 20px;
    width: 500px;
    padding: 5px 12px 12px 12px;
    border-radius: 5px;
    background-color: #454955;
    user-select: none;
    white-space: pre-wrap;
    opacity: 0.9;
    transition: 0.5s;
    display: none;
    z-index: 3;
}

.surveyText {
    color: white;
    font: normal 13px 'menloregular';
    line-height: 20px;
}

.surveyRadio {
    margin-top: -1px;
    margin-right: 10px;
    accent-color: #0085ad;
}

.surveyList {
    margin: -15px 0;
    padding: 0;
}

.surveyList li {
    margin: 8px auto;
}

#surveyButtonDiv {
    position: relative;
    margin: 10px 0;
    height: 20px;
    width: 100%;
    text-align: center;
}

#surveyButton {
    margin: 0;
    left: 300px;
    width: 100px;
    height: 40px;
    border: none;
    user-select: none;
    white-space: nowrap;
    cursor: pointer;
    color: white;
    background-color: #0085ad;
    border-radius: 5px;
    font: bold 12px 'menloregular';
    opacity: 0.8;
}

#surveyButton:hover {
    opacity: 0.6;
}

.surveySlider {
    position: relative;
    width: 75%;
    margin-right: 10px;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.surveySlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 23px;
    height: 20px;
    background: #0daedf;
    cursor: pointer;
}

.surveySlider::-moz-range-thumb {
    width: 23px;
    height: 20px;
    background: #0daedf;
    cursor: pointer;
}

.surveySlider:hover {
    opacity: 1;
}

#divTLX {
    height: 80%;
    width: 80%;
    top: 10%;
    position: absolute;
    left: 10%;
    border: 2px solid black;
    border-radius: 10px;
}

#divCARS {
    height: 80%;
    width: 80%;
    top: 10%;
    position: absolute;
    left: 10%;
    border: 2px solid black;
    border-radius: 10px;
    background-color: white;
}

#closeCARS {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: black;
    font-size: 20px;
    padding: 7px 14px;
    background-color: white;
    border-radius: 8px;
    border-color: dodgerblue;
}

/* setting using buttons */
#settingIconDiv {
    position: absolute;
    margin: 0;
    top: 80px;
    left: 10px;
    background-color: #343537;
    border-radius: 5px;
    padding: 5px;
    user-select: none;
    white-space: nowrap;
    display: none;
    opacity: 0.75;
    z-index: 3;
}

.settingIconButton {
    cursor: pointer;
    background-color: #343537;
    display: block;
}

.settingIcon {
    margin-top: 5px;
    padding: 1px;
    height: 40px;
    width: 40px;
    border-radius: 5px;
    border: 2px solid rgb(226, 222, 222);
}

#cpaDirectIcon {
    padding: 2px 4px;
}

#geofenceIcon {
    padding: 3px 2px 2px 3px;
}

#windIcon {
    padding: 5px 2px;
}

#enduranceIcon {
    padding-left: 2px;
}

/* play */
#playButton {
    position: relative;
    left: 20px;
    padding: 0;
    height: 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #343537;
    display: none;
}

#playIcon {
    padding: 1px;
    height: 25px;
    width: 25px;
    border-radius: 5px;
    border: 2px solid rgb(226, 222, 222);
}