#applist .media i {
    text-align: center;
}

/* On the main App list want each of the services to show a hand cursor when hover. */
.media {
    cursor: pointer;
}

/* For mobile devices removed the border for the map. Looks good on desktop. */
#main {
    right: 15px;
}

#map {
    /* Set the minimum to remaining screen height after consider header. */
    min-height: 90vh;
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
}

body { padding-top: 70px; }

/* User login welcome banner in the navigation header. */
#user {
    color: #9d9d9d;
    padding: 15px;
    display:flex;
}

/* User name link in the navigation header. */
#user-link {
    margin-left: 15px;
    padding: 0px;
}

.fa-fly {
  color: rgb(0, 166, 207);
}

.media-left, .media>.pull-left {
    padding-right: 0px;
    margin-right: 10px;
}

/* Progress bar for user automated, composite and shared forecasts remaining. */
.progress-custom {
    margin-bottom: -3px;
    cursor: pointer;
}

#defaultMetric, #defaultEnglish, #defaultLight, #defaultDark, #defaultFixed, #defaultFull, #defaultStreetMap, #defaultSatelliteMap, #defaultTwoDimensions, #defaultThreeDimensions, #defaultFlySlow, #defaultFlyMedium, #defaultFlyFast, #defaultCsvFormat, #defaultKmlFormat, #defaultGpxFormat {
    margin: 0px 0 0;
}

#defaultMetricLabel, #defaultEnglishLabel, #defaultLightLabel, #defaultDarkLabel, #defaultFixedLabel, #defaultFullLabel, #defaultStreetMapLabel, #defaultSatelliteMapLabel, #defaultTwoDimensionsLabel, #defaultThreeDimensionsLabel, #defaultFlySlowLabel, #defaultFlyMediumLabel, #defaultFlyFastLabel, #defaultCsvFormatLabel, #defaultKmlFormatLabel, #defaultGpxFormatLabel {
    margin-bottom: 0px;
    font-weight: 500;
}

.btn-group-navigate {
    bottom: -25px;
    right: -5px;
}

.form-group-navigate {
    padding-left: 0px;
}

.table {
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0px;
}

.table>thead>tr>th {
    text-align: center;
}

/* Check boxes in the automated forecast results table. */
#table-align-text {
    text-align: left;
    padding-right: 0px;
    padding-left: 6px;
}

/* Check boxes in the automated forecast results table. */
#table-align-checkbox {
    text-align: right;
    vertical-align: middle;
    padding-right: 4px;
}

/* Labels in the automated forecast results table. */
#table-align-label {
    vertical-align: middle;
    padding-right: 0px;
    padding-bottom: 2px;
    text-align: right;
}

#jobtable {
    max-height: 500px;
}

#jobtablediv {
    min-height: 9em;
    max-height: 18em;
    overflow-y: scroll;
}

/* Automated forecast jobs table so we can scroll through them. */
#jobtablebody {
    display: table;
    width: 100%;
}

/* Automated forecast jobs table the number of predictions performed for each mission. */
.label {
    border-radius: 10px;
}

/* Automated forecast check box in the table to select items to download or delete. */
#checkboxInput {
    cursor: pointer;
}

/* Shared forecast to copy the URL to the clip board. */
#copyUrl {
    cursor: pointer;
}

table::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}

/* Compressed table for the forecast results table. */
table.borderless tr>td, table.borderless tr>th {
    border: none;
    border-top: none;
    padding: 1px;
    padding-right: 10px;
}

/* Each of the main headers for the forecast results table, such as overview, launch, burst and landing. */
#table-align-header-rotate {
    vertical-align: middle;
}

.table-header-align-vertical-rotate div {
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
}

/* Each of the fields in the forecast results table. */
.table-header-align-right {
    text-align: right;
}

/* Forecast results table. All of the row to activate on hover. */
#overviewRow {
    background-color: #ffffff;
    border: 3px solid #f5f5f5;
}

#overviewRow:hover, th.hover {
    background-color: #f5f5f5;
}

#launchRow {
    background-color: #dff0d8;
}

#launchRow:hover, th.hover {
    background-color: #c9eac8;
}

#burstRow {
    background-color: #fcf8e3;
}

#burstRow:hover, th.hover {
    background-color: #faf3cf;
}

#landingRow {
    background-color: #f2dede;
}

#landingRow:hover, th.hover {
   background-color: #f0cccc;
}

td.table-data-align-left {
    min-width: 140px;
    max-width: 141px;
}

/* Get the scroll bars in the leaflet overlays menu. */
.leaflet-control-layers-list {
    overflow: auto;
}

/* For specific markers want the mouse cursor to change into a hand pointer for  */
#marker-cursor-ponter {
    cursor: pointer;
}

/* Location search bar to line up with the search magnifying glass icon. */
.algolia-places {
    vertical-align: middle;
}

#mapmenu {
    position: absolute;
    display: block;
    top: 10px;
    left: 25px;
    padding: 3px;
    background: white;
    color: black;
    opacity: 0.7;
    border-radius: 5px;
    width: auto;
}

/* Automated forecast jobs table, dynamically add scroll bar when more than 3 forecasts. */
#mapmenubody {
    display: block;
    max-height: 85px;
}

/* Base layers menu, Street and Satellite. */
#menu {
    position: absolute;
    top: 10px;
    right: -5px;
    padding: 5px;
    background: white;
    color: black;
    opacity: 0.7;
    border-radius: 5px;
}

/* Change between 2D and 3D views. */
#dimensionmenu {
    position: absolute;
    top: 50px;
    right: -5px;
    padding: 5px;
    background: white;
    color: black;
    opacity: 0.7;
    border-radius: 5px;
}

#flymenu {
    position: absolute;
    top: 90px;
    right: -5px;
    padding: 5px;
    background: white;
    color: black;
    opacity: 0.7;
    border-radius: 5px;
}

/* Hover on a list group item set the background to white smoke. */
.list-group-item:hover {
    background-color: #f5f5f5;
}

/* Set the padding to zero for a cleaner look and feel, don't want a thick white border. */
.mapboxgl-popup-content {
    padding: 4px;
}

/* To get modern looking tool tips for the automated forecast results table. */
.customtooltip {
    border-bottom: 0px dotted #000000;
    color: #000000; outline: none;
    cursor: help; text-decoration: none;
    position: absolute;
}

/* On screens that are 768px or less. */
@media screen and (max-width: 768px) {
    .customtooltip {
        border-bottom: 0px dotted #000000;
        color: #000000; outline: none;
        cursor: help; text-decoration: none;
        position: relative;
    }
}
.customtooltip span {
    margin-left: -999em;
    position: absolute;
}

.customtooltip:hover span {
    position: absolute;
    left: 1em;
    top: 2em;
    z-index: 99;
    margin-left: -10px;
    width: 350px;
}

.customtooltip:hover img {
    border: 0;
    margin: -10px 0 0 -55px;
    float: left;
    position: absolute;
}

.customtooltip:hover em {
    font-size: 1.2em;
    font-weight: bold;
    display: block;
    padding: 0.2em 0 0.6em 0;
}

.classic { 
    padding: 0.8em 1em;
    background: #f5f5f5;
    border-radius: 5px;
}

.custom { 
    padding: 0.5em 0.8em 0.8em 2em;
}

.label-black {
    background-color: #333;
    display: inline-block;
    float: right;
}

* html a:hover { background: red; }

