body {
    font-weight: normal;
    font-size: 1.5em;
    font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;
}

a, .leaflet-container a {
    display: block;
    text-decoration: none;
    color: black;
    pointer-events: auto;
}

a:hover, .leaflet-container a:hover {
    text-decoration: underline;
    color: #014c8c;
    pointer-events: auto;
}

a:active, a:focus, .leaflet-container a:active, .leaflet-container a:focus {
    text-decoration: underline;
    color: #014c8c;
    pointer-events: auto;
}
.client-logo {
    max-width: 150px;
    max-height: 150px;
    display: block;
    width: 100%;
}
.sat-logo {
    max-width: 230px;
    width: 100%;
}
#satLogo {
    padding: 5px;
}
.navbar-default {
    background-color: #042340 !important;
}
.red {
    color: red;
}
.green {
    color : green;
}
.light-grey-bg {
    background-color: #dddddd;
}
.black {
    color: black;
}
.white, .white-link, .white-link:hover, .white-link:active, .white-link:focus {
    color: white !important;
}
.dark-grey {
    color: #9d9d9d;
}
.navbar-text {
    margin-bottom: 12px;
    margin-top: 12px;
}
.center {
    margin: 0 auto;
}
.nopadding {
    padding: 0 !important;
}
.nomargin {
    margin: 0 !important;
}
.navbar {
    margin-bottom: 0px !important;
    border-radius: 0px !important;
}
.sidebar-brand {
    color: white;
    padding-left: 10px;
    font-variant: small-caps;
    padding-bottom: 8px;
    font-weight: bold;
}
input:checked + span {
    /*    background-color: #ffcc80;*/
    font-weight: bold;
}
.bgWhite {
    background-color: white;
}
label {
    font-weight: normal;
    margin: 0px;
}
.btn-primary {
    background: #F7F8F9;
    color: #042340;
    outline: none;
}
.modal-header, .ui-widget-header {
    background: #042340;
    background: -moz-linear-gradient(top,  #042340 0%, #010E1E 100%);
    background: -webkit-linear-gradient(top,  #042340 0%,#010E1E 100%);
    background: linear-gradient(to bottom,  #042340 0%,#010E1E 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#042340', endColorstr='#010E1E',GradientType=0 );
    color: white;
    border-color: #042340;
}
button.close {
    color: white;
    font-size: 1.5em;
    opacity: 1;
    text-shadow: none;
}
.modal-lg {
    max-height: 90vh;
    max-width: 90vw;
    width: auto;
}
.small-caps, .modal-header, .panel-heading, #holdon-message, #PlayerDate {
    font-variant: small-caps;
}
.dropdown-menu>li>label {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}
.pointer {
    cursor: pointer;
}
.not-active {
    pointer-events: none;
    cursor: default;
}
.modal-title {
    font-weight: bold;
}
h4 {
    font-size: 1em;
}
.table, th {
    text-align: center;
}
.leaflet-control-attribution {
    display: none !important;
    visibility: hidden !important;
}
.leaflet-control-coordinates div span {
    color: black;
    font-weight: normal;
    /*    background: #042340;
        background: -moz-linear-gradient(top,  #042340 0%, #010E1E 100%);
        background: -webkit-linear-gradient(top,  #042340 0%,#010E1E 100%);
        background: linear-gradient(to bottom,  #042340 0%,#010E1E 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#042340', endColorstr='#010E1E',GradientType=0 );*/
}
.label {
    font-size: 100%;
    text-align: left;
}
#legendDiv {
    margin-bottom: 10px;
    margin-right: 10px;
    background-color: white;
    padding: 5px;
    /*border-radius: 5px;*/
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    min-height: 35px;
    min-width: 15px;
}
#legendLinkDiv {
    min-height: 100%;
    display: inline-block;
}
#legend {
    pointer-events: auto;
    display: inline-block;
}
#legendLink {
    min-height: 100%;
}
#menuDiv {
    margin-top: 10px;
    margin-left: 10px;
}
#menuLink {
    margin-right: 1px;
    margin-top: 1px;
}
#menu {
    margin-left: 0px;
    margin-top: 0px;
}
#controlDiv {
    margin-top: 10px;
    margin-right: 10px;
    pointer-events: auto;
    min-width: 205px;
}
#toggleMenuBtn, #toggleLegendBtn, #toggleControlBtn {
    font-size: 32px !important;
}
.table-legend {
    border: 0px none black;
    width: 100%;
}
.table-legend td {
    padding-left: 5px;
    padding-right: 5px;
}
.tab-pane {
    padding: 5px;
}
.tab-pane span {
    padding-right: 5px;
    padding-left: 5px;
}
.nav > li > a {
    padding: 5px 10px;
}
.windbarb {
    max-height: 34px;
}
.sat-blue {
    background: #042340;
    background: -moz-linear-gradient(top,  #042340 0%, #010E1E 100%);
    background: -webkit-linear-gradient(top,  #042340 0%,#010E1E 100%);
    background: linear-gradient(to bottom,  #042340 0%,#010E1E 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#042340', endColorstr='#010E1E',GradientType=0 );
}
.sat-orange { font-color:#ffa500;}
#map {
    width: 100%;
    height: 100%;
}
#layer-select {
    float: left;
    padding: 6px 0px;
}
.leaflet-control-layers-expanded, #controlDiv {
    background: #042340;
    background: -moz-linear-gradient(top,  #042340 0%, #010E1E 100%);
    background: -webkit-linear-gradient(top,  #042340 0%,#010E1E 100%);
    background: linear-gradient(to bottom,  #042340 0%,#010E1E 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#042340', endColorstr='#010E1E',GradientType=0 );
}
.leaflet-control-layers-list, #controlDiv .leaflet-control {
    padding: 0;
    margin: 0;
}
#controlDiv .leaflet-control {
    padding: 8px;
}
.leaflet-control-layers {
    border-radius: 0px;
}
.leaflet-container {
    font: 1em "Helvetica Neue",Arial,Helvetica,sans-serif;
}
hr {
    margin-bottom: 4px;
    margin-top: 4px;
}
.menu {
    /*max-width: 200px;*/
}
input[type="checkbox"], input[type="radio"] {
    margin: 0px;
}
#infoControl, #coordinateControl, #unitControl {
    padding: 6px 0px;
    background: white;
    min-width: 100%;
    border-radius: 0px;
    display: table;
}
.info h4, .grey {
    color: #555 !important;
}
.light-grey {
    color: #777 !important;
}
.leaflet-bar-timecontrol a.timecontrol-date, .leaflet-bar-timecontrol a.timecontrol-date:hover {
    width: 100%;
    max-width: 100%;
    padding: 0;
}
.leaflet-bar-timecontrol .timecontrol-speed .speed {
    text-align: left;
    width: auto;
}
.timecontrol-speed {
    position: absolute !important;
    right: 10px;
    top: 1px;
    width: 50% !important;
}
#playerBtn {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 1.5em;
}
#player {
    display: block;
    max-width: 100%;
    text-indent: 0px;
}
#playerBtn .leaflet-control-timecontrol {
    display: inline-block;
    float: none;
    vertical-align: middle;
}
#PlayerDate {
    color: white;
}
.leaflet-bar-timecontrol a.timecontrol-date.utc, .leaflet-bar-timecontrol a.timecontrol-date.utc:hover {
    min-width: 0px;
}
.leaflet-control-coordinates .uiElement .labelFirst {
    margin-right: 0px;
}
.leaflet-control-coordinates .uiElement {
    margin: 0px;
}
#zoomControl div {
    float: right;
}
#legendPressure {
    margin-top: 10px;
}
.hline_red {
    width:50px; 
    height:2px; 
    background: #ff0000;
    display: inline-block;
    margin-bottom: 0.25em;
}
.hline_yellow {
    width:50px; 
    height:2px; 
    background: #ffff00;
    display: inline-block;
    margin-bottom: 0.25em;
    margin-left: 10px;
}
.hline_blue {
    width:50px; 
    height:2px; 
    background: #0000ff;
    display: inline-block;
    margin-bottom: 0.25em;
    margin-left: 10px;
}
.hline_green {
    width:50px; 
    height:2px; 
    background: #21b121;
    display: inline-block;
    margin-bottom: 0.25em;
}
.bold {
    font-weight: bold;
}
#legendWindTable {
    font-weight: normal;
    font-size: 1em;
    font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;
}
.slider-track {
    border-radius: 0px;
}
.nav-tabs > li > a {
    color: #555;
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
    color: black;
}
#speedSlider {
    max-width: 50px;
}
#speedSlider .slider-handle {
    background-color: #888;
}
#btnFast, #btnSlow {
    font-size: 10px;
}
.animation {
    border-radius: 0;
    padding: 5px 6px;
    background-color: white;
    color: black;
    border-color: black;
    font-size: 1em;
}
.animation.focus, .animation:hover, .animation:focus {
    background-color: lightgray;
}
.animation-speed {
    padding: 0px 4px;
    line-height: 1;
}
.input-group-addon {
    border-radius: 0px;
}
#ui-datepicker-div {
    z-index: 1000 !important;
    left: 32px !important;
}
#datetimepicker {
    text-align: center;
}
.ui_tpicker_hour_slider::after {
    content: ":00";
}
.leaflet-popup-content-wrapper {
    border-radius: 0px;
    padding: 0px;
}
.leaflet-popup-content {
    margin: 0px;
}
.leaflet-popup-sat {
    padding: 5px;
}
.site-name {
    color: white;
    font-variant: small-caps;
    font-weight: bold;
}
.site-name-primary {
     font-size: 130%;
}
.downloads_button {
     border:none; 
     text-decoration:none;
     background-color: #ffffff;
}
#vessel_list option{
    font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;
}

/*Mobile Portrait*/
@media only screen and (max-width : 320px) {
    .leaflet-container {
        /*font: 0.5em "Helvetica Neue",Arial,Helvetica,sans-serif;*/
    }
    .timecontrol-slider {
        display: none;
    }
    #menuDiv, .leaflet-bar-timecontrol, .timecontrol-date {
        max-width: 100px;
        width: 100px;
    }
    .bgWhite {
        padding-left: 4px;
    }
    .first_item {
        padding-top: 6px;
    }
    .last_item {
        padding-bottom: 6px;
    }
}
/*Mobile Landscape*/
@media only screen and (min-width : 321px) {
    .leaflet-container {
        /*font: 0.5em "Helvetica Neue",Arial,Helvetica,sans-serif;*/
    }
    .timecontrol-slider {
        display: none;
    }
    #menuDiv, .leaflet-bar-timecontrol, .timecontrol-date {
        max-width: 100px;
        width: 100px;
    }
    .bgWhite {
        padding-left: 4px;
    }
    .first_item {
        padding-top: 6px;
    }
    .last_item {
        padding-bottom: 6px;
    }
    #toggleMenuBtn, #toggleControlBtn {
        transform: none;
    }
}
/*Tablet Portait*/
@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : portrait) {
    .leaflet-container {
        /*font: 0.5em "Helvetica Neue",Arial,Helvetica,sans-serif;*/
    }
    .timecontrol-slider {
        display: none;
    }
    #menuDiv, .leaflet-bar-timecontrol, .timecontrol-date {
        max-width: 100px;
        width: 100px;
    }
    .bgWhite {
        padding-left: 4px;
    }
    .first_item {
        padding-top: 6px;
    }
    .last_item {
        padding-bottom: 6px;
    }
    #toggleMenuBtn, #toggleControlBtn {
        transform: none;
    }
}
/*Tablet Landscape*/
@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : landscape) {
    .leaflet-container {
        /*font: 0.5em "Helvetica Neue",Arial,Helvetica,sans-serif;*/
    }
    .timecontrol-slider {
        display: block;
    }
    #menuDiv, .leaflet-bar-timecontrol, .timecontrol-date {
        max-width: 100px;
        width: 100px;
    }
    .bgWhite {
        padding-left: 4px;
    }
    .first_item {
        padding-top: 6px;
    }
    .last_item {
        padding-bottom: 6px;
    }
    #toggleMenuBtn, #toggleControlBtn {
        transform: none;
    }
}
/* big landscape tablets, laptops, and desktops */
@media only screen and (min-width:1025px) and (max-height:768px) {
    .leaflet-container {
        /*font: 0.8em "Helvetica Neue",Arial,Helvetica,sans-serif;*/
    }
    .timecontrol-slider {
        display: block;
    }
    #menuDiv, .leaflet-bar-timecontrol, .timecontrol-date {
        max-width: 200px;
        width: 200px;
    }
    .bgWhite {
        padding-left: 20px;
    }
    .first_item {
        padding-top: 10px;
    }
    .last_item {
        padding-bottom: 10px;
    }
    #toggleMenuBtn, #toggleControlBtn {
        transform: scale(3.5,1.2);
    }
}
/* HD and 4k+ */
@media only screen and (min-width:1281px) and (min-height:900px) {
    .leaflet-container {
        /*font: 1em "Helvetica Neue",Arial,Helvetica,sans-serif;*/
    }
    .timecontrol-slider {
        display: block;
    }
    #menuDiv, .leaflet-bar-timecontrol, .timecontrol-date {
        max-width: 300px;
        width: 300px;
    }
    .bgWhite {
        padding-left: 20px;
    }
    .first_item {
        padding-top: 10px;
    }
    .last_item {
        padding-bottom: 10px;
    }
    #toggleMenuBtn, #toggleControlBtn {
        transform: scale(3.5,1.2);
    }
}
@media screen and (min-width: 2560px) {
    .leaflet-container {
        /*font: 1em "Helvetica Neue",Arial,Helvetica,sans-serif;*/
    }
    .timecontrol-slider {
        display: block;
    }
    #menuDiv, .leaflet-bar-timecontrol, .timecontrol-date {
        max-width: 300px;
        width: 300px;
    }
    .bgWhite {
        padding-left: 20px;
    }
    .first_item {
        padding-top: 10px;
    }
    .last_item {
        padding-bottom: 10px;
    }
    #toggleMenuBtn, #toggleControlBtn {
        transform: scale(3.5,1.2);
    }
}
