@import "../template/css/font-awesome.min.css";
@import "../template/css/style.css";

* {
    box-sizing: border-box;
}

body {
    padding: 0px;
    font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
    overflow: hidden;
}

a {
    color: #00B7FF;
}

#content {
    width: 100vw;
    height: 100vh;
}

#main-map {
    width: 100%;
    height: calc(100% - 0px);
}

#settings {
    position: absolute;
    top: 0px;
    right: 90px;
    width: auto;
    background-color: #0d183c;
    padding: 0px 5px 4px 5px;
    border-radius: 3px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    min-height: 22px;
    z-index: 1000;
}

#version {
    position: absolute;
    font-weight: bold;
    top: 0px;
    right: 240px;
    width: auto;
    background-color: #d33317;
    padding: 0px 5px 4px 5px;
    border-radius: 3px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    min-height: 22px;
}

#timeZone {
    color: #d33317;
    background-color: #fff;
    font-size: xx-small;
    font-weight: bold;
    padding: 1px 1px 0px 1px;
}

.fa-info-circle {
    color: white;
    vertical-align: middle;
}


#features {
    position: absolute;
    bottom: 35px;
    right: 5px;
    width: auto;
    padding: 0px 4px 4px 4px;
    border-radius: 3px;
}

#features .items {
    color: white;
    padding: 4px;
    border-radius: 2px;
    background-color: #0d183c;
    font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
    font-size: x-small;
}

#features .items:hover {
    background-color: red;
    padding: 4px;
    border-radius: 2px;
    color: white;
    font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
    font-size: x-small;
}


#settings .items {
    color: white;
    font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
    font-size: x-small;
}

#version .items-version {
    color: white;
    font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
    font-size: x-small;
}

.ol-zoom {
    float: left;
    top: 5px;
    right: .5em;
    left: auto;
}

.ol-rotate {
    float: left;
    top: 5px;
    right: 3em;
    left: auto;
}

.ol-attribution {
    display: none;
}

#notam-list-window {
    position: absolute;
    /*width: 400px;*/
    width: 414px; /*modified to adjust TAnotam edit and cancel buttons */
    height: calc(100% - 50px);
    top: 10px;
    left: 10px;
    background-color: #0049B0;
}

#notam-list-window-airport-name {
    height: 55px;
    width: 100%;
    padding: 5px;
    text-align: center;
}

#designator {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 25px;
    font-weight: 600;
    color: white;
    display: block;
}

#airport-name {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: white;
    cursor: pointer;
    cursor: hand;
    padding: 2px;
}


#airport-name:hover {
    background-color: #58A7F4;
    border-radius: 0.2em;
    padding: 2px;
}

#airport-shuffle:hover {
    background-color: #58A7F4;
    border-radius: 0.2em;
    padding-left: 5px;
    padding-right: 5px;

}

#notam-list {
    width: calc(100% - 10px);
    height: calc(100% - 65px);
    background-color: white;
    margin-top: 5px;
    margin-left: 5px;
    margin-right: 5px;
    overflow: scroll;
}

#vnotam-logo {
    float: right;
    width: 99px;
    height: 64px;
}

#time-block {
    position: absolute;
    text-align: center;
    bottom: 9px;
    right: 10em;
}

.display-data-time {
    display: block;
    background-color: rgba(33, 63, 123, 0);
    font-family: "Courier New";
    font-size: 15px;
    font-weight: 800;
    color: #422ff6;
    padding: 5px;
    border-radius: 2px;
}

.bottom-widgets {
    position: absolute;
    bottom: 10px;
    left: 10px;
    height: 64px;
    width: calc(100% - 20px);
}

.display-data {
    display: block;
    height: 38px;
    background-color: rgba(0, 0, 0, 0.43);
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
    font-weight: 300;
    padding-top: 8px;
    color: white;
}

.display-name {
    display: block;
    height: 26px;
    background-color: #000000;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding-top: 4px;
    color: white;
}

#lightining-block {
    float: left;
    width: 200px;
    height: 64px;
    text-align: center;
    margin-left: 2px;
    margin-right: 2px;
}

#visibility-block {
    float: left;
    width: 75px;
    height: 64px;
    text-align: center;
    margin-left: 2px;
    margin-right: 2px;
}

#TFR-block {
    float: left;
    width: 75px;
    height: 64px;
    text-align: center;
    margin-left: 2px;
    margin-right: 2px;
}

#OBS-block {
    float: left;
    width: 75px;
    height: 64px;
    text-align: center;
    margin-left: 2px;
    margin-right: 2px;
}

#temp-block {
    float: left;
    width: 75px;
    height: 64px;
    text-align: center;
    margin-left: 2px;
    margin-right: 2px;
}

#dew-block {
    float: left;
    width: 75px;
    height: 64px;
    text-align: center;
    margin-left: 2px;
    margin-right: 2px;
}

#wind-dir-block {
    float: left;
    width: 200px;
    height: 64px;
    text-align: center;
    margin-left: 2px;
    margin-right: 2px;
}

.standard-bottom-block {
    float: left;
    width: 80px;
    height: 64px;
    text-align: center;
    margin-left: 2px;
    margin-right: 2px;
}

.wind-bottom-block {
    float: left;
    width: 160px;
    height: 64px;
    text-align: center;
    margin-left: 2px;
    margin-right: 2px;
}

#taxi-time-block {
    float: left;
    height: 64px;
    text-align: center;
    margin-left: 2px;
    margin-right: 2px;
}

.display-data-small {
    display: block;
    height: 38px;
    background-color: rgba(0, 0, 0, 0.43);
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 9px;
    font-weight: 900;
    padding-top: 8px;
    color: white;
}

.warning-red {
    background-color: rgba(255, 0, 0, 0.62);
}

.notam-header {
    width: 100%;
    height: 35px;
    background: #3F8CF1;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: normal;
    padding: 5px;
    color: white;
}

.datetime {
    width: 100%;
    height: 35px;
    background: #cc621f;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
    font-weight: 200;
    padding: 5px;
    color: white;
}

.notam-item, .notam-item-ta  {
    width: calc(100% - 10px);
    display: block;
    color: #F5F6F8;
    border-style: solid;
    border-color: rgba(211, 211, 211, 0.58);
    border-width: 1px;
    margin: 4px;
    cursor: hand;
}

.notam-item-badge {
    float: left;
    width: 30px;
    bottom: 0;
    padding: 1px;
    margin-top: 5px;
    margin-left: 5px;
}

.notam-item-text {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 10px;
    font-weight: 400;
    padding: 10px;
    color: black;
    display: block;
    top: -2px;
    cursor: pointer;
    margin-bottom:2px;
}

.notam-item-txy-ta{
    border-top: 1px solid rgba(211, 211, 211, 0.58);
}

.notam-item-text-inactive {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 10px;
    font-weight: 400;
    padding: 10px;
    color: #7a7a7a;
    display: block;
    top: -2px;
    cursor: pointer
}

.notam-item-text-issuedate {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 10px;
    font-weight: 300;
    padding: 10px;
    color: #727272;
}

.notam-item-footer {
    background-color: rgba(211, 211, 211, 0.36);
    width: 100%;
    height: 18px;
}

.notam-item-number {
    float: left;
    color: rgba(102, 102, 102, 0.99);
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 10px;
    padding: 2px;
    font-weight: 400;
}

.notam-item-date {
    float: right;
    color: rgba(102, 102, 102, 0.99);
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 10px;
    padding: 2px;
    font-weight: 400;
}

#taxiway-apron-notam-list {
    overflow: hidden;
}

#runway-notam-list {
    overflow: hidden;
}

#tenant-advisories-notam-list {
    overflow: hidden;
}

#notam-list {
    overflow-x: hidden;
    overflow-y: hidden;
}

#notam-list:hover {
    overflow-x: hidden;
    overflow-y: scroll;
}

#footer-dashboard {
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 30px;
    width: calc(100%);
    background-color: black;
    padding: 4px;
}

.footer-dashboard-module {
    padding-left: 4px;
    padding-right: 4px;
    float: left;
    height: 22px;
    margin-right: 4px;
    border-radius: 2px;
    border-width: 1px;
    border-color: rgba(33, 63, 123, 0.91);
}

.footer-dashboard-module-legend {
    margin-left: 10px;
    padding-left: 4px;
    padding-right: 4px;
    float: left;
    height: 22px;
    margin-right: 4px;
    border-width: 1px;
    border-color: rgba(33, 63, 123, 0.91);
}

.footer-dashboard-module-title {
    font-family: 'DejaVu Sans Mono', monospace;
    font-size: .75em;
    padding: 2px;
    float: left;
    display: block;
    color: rgba(211, 211, 211, 0.75);
}

.footer-dashboard-module-data {
    font-family: 'DejaVu Sans Mono', monospace;
    color: #01ff70;
    padding: 2px;
    cursor: hand;
    float: right;
    display: block;
}

.footer-dashboard-module-right {
    background-color: rgba(0, 0, 0, 0.91);
    padding-left: 4px;
    padding-right: 4px;
    float: right;
    height: 22px;
    margin-right: 4px;
}

#vnotamlegend {
    position: absolute;
    top: 0px;
    right: 100px;
}

.tooltip {
    position: relative;
    padding: 3px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    opacity: 0.7;
    white-space: nowrap;
    font: 10pt sans-serif;
}

.notam-item-edit, .notam-item-edit-ta {
    color: #666666;
    padding: 2px;
    font-size: xx-small;
    float: right;
    cursor: pointer;
    cursor: hand;
}

.edit-cancel-div {
    margin-left: 10px;
    float: right;
}

.font-danger-color {
    color: orangered;
}

.font-success-color {
    color: forestgreen;
}

.font-primary-color {
    color: steelblue;
}

#timeModeAlert {
    position: absolute;
    top: 10px;
    left: 450px;
    height: 25px;
    font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    color: #d90909;
    display: none;
}

/*#status-message {*/
/*    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;*/
/*    font-size: 10px;*/
/*    font-weight: 600;*/
/*    padding: 10px;*/
/*    background-color: #fff2bd;*/
/*    color: #393939;*/
/*}*/

.status-msg {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    padding: 10px;
    background-color: #fff2bd;
    color: #393939;
}

#tenant-advisories-notam-group {
    color: white !important;
    background: #3F8CF1 !important;
    font-weight: 100 !important;
}

#tenant-notam-count {
    border-radius: 0.2em;
    font-size: 12px;
    background-color: white;
    color: #666666;
}


#createTABtn {
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

#createCustomGeomBtn {
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.ol-popup {
    position: absolute;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 280px;
}

.ol-popup:after,
.ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}

.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}

.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}

.ol-popup-closer:after {
    content: "✖";
}