html {
    height:100%;
}

body {
    font-family: Open Sans, Helvetica Neue, Helvetica ,Arial ,sans-serif !important;
    background-color: #343a40!important;
    color: white !important;
    height:100%;
}


@media (max-width: 600px) {
  .header .logo-text  { display: none; }
}

@media (min-width: 960px) {
  .sidebar  { display: none; }
}


@media (max-width: 600px) {
  /*#message { font-size:3vw; }*/
}

.header {
    background-color: #2F2B28;
    color: white !important;
    height: 50px;
    padding-left: 2%;
    padding-right: 2%;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    z-index: 1000;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    align-items: center;
}

.footer {
    background-color: #2F2B28;
    color: white !important;
    padding: 0;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    z-index: 1000;
    height: 50px;
    width: 100%;
    position: -webkit-sticky;
    position: fixed;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    align-items: center;
}

.middle {
    padding: 0;
    background-color: #343a40!important;
    width: 100%;
    height:100%;
    /*height: calc(100vh - 100px);*/
    margin: 0!important;
    padding: 0!important;
    /* Solve address bar height issue on mobile: https://css-tricks.com/the-trick-to-viewport-units-on-mobile/ */
    height: calc(100vh - 100px - 56px);  /* Fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100 - 100px);  /* Use Custom Property --vh set in base.js
 }

main {
    width: 100%;
    /*height: calc(100vh - 100px);*/
}

#main-content {
    width: 100%;
    /*height:100%;*/
}

.content-spacer {
  height:50px!important;
}

.header img.logo {
  height: 50px;
}

.header .logo-text {
    /*font-family: Open Sans, Helvetica Neue, Helvetica ,Arial ,sans-serif !important;*/
    /*padding-left: 10px;*/
    font-size: 150%!important;
}



h1{
    /*font-size: 5em;*/
    /*font-family: Open Sans, arial, helvetica;*/
    /*color: #fff;*/
    /*margin:0;*/
    /*padding:0;*/
}

h2{
    /*color: #fff;*/
    /*font-family: Open Sans, arial, helvetica;*/
}

h4 {
/*    font-weight: 700;
    font-size: 2.4rem;
    line-height: 3rem;
    text-indent: .5rem;
    margin: 0 auto 3rem auto;
    padding-bottom: 1.2rem;
    background-size: 60px 5px;
    font-family: 'Montserrat',sans-serif;
    text-align: center;
    color: white !important;
*/}

h5 {
/*    font-size: 1.5em;
    font-family: Open Sans, arial, helvetica;
    color: #999;
    margin:0;
    padding:0;
    text-transform: uppercase;*/
}

h6 {
/*    font-size: 1.0em;
    font-family: Open Sans, arial, helvetica;
    color: #999;
    margin:0;
    padding:0;
    text-transform: uppercase;*/
}


.normal-text {
    color: #AAA;
    font-size: 20px;
    font-family: Open Sans, Helvetica Neue, Helvetica, Arial, sans-serif !important;
    line-height: 1.5;
    text-align: justify;
}

.fine-print {
  font-size: 14px;
  max-width: 80%;
}


.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-middle;
}


/*
 * Sidebar
 */

.sidebar {
  /*position: fixed;*/
  height:100%;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

/*.sidebar-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 50px;   Height of navbar
  height: calc(100vh - 50px);
  padding-top: 20px;
  overflow-x: hidden;
  overflow-y: auto;  Scrollable contents if viewport is shorter than content.
}
*/
.sidebar ul{
  list-style-type: none;
}

.sidebar .link{
    font-family: Open Sans, Helvetica Neue, Helvetica ,Arial ,sans-serif !important;
    padding-top: 5px;
    padding-bottom: 5px;
    color: white !important;
    font-size: 110%!important;
    right: 0 !important;
    line-height: 20px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
}

.footer .link{
    text-decoration: none;
}

.sidebar .link .feather {
  margin-right: 4px;
  color: #999;
}

.sidebar .link.active {
  color: #007bff;
}

.sidebar .link:hover .feather,
.sidebar .link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}


 /** Main*/


.main {
    padding: 0;
    background-color: #343a40!important;
    width: 100%;
    height: 100%;
    /*height: calc(100vh - 100px);*/
    margin: 0!important;
    padding: 0!important;
 }

#map {
    width: 100%;
    height: 100%;
    z-index: 0;
 }

#windy {
    width: 100%;
    height: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

#windy #logo-wrapper {
    /*top: initial;*/
    /*top: 40px;*/
}

#windy #logo-wrapper #logo {
    margin-top: 5px;
    left: 80px;
}

/* Fix blue background which seems to happen because of bootstrap 4 interfering with windy*/
#windy #bottom #progress-bar {
  background-color: #00000000!important;
}

#windy .iconfont {
  text-align: left;
}

.mouseposition {
  position: absolute;
  z-index: 10;
  text-transform: uppercase;
  bottom: 0;
  left: 45%;
  /*background-color: #2F2B28;*/
  font-size: 100%!important;
}

#next_update {
  position: absolute;
  bottom: 10px;
  text-transform: uppercase;
  color: white;
  margin: 0px 20px;
  font-size: 90%!important;
}

#next_update a:visited {
  color: white;
  text-decoration: underline;
  text-decoration-line: dashed;
}

#next_update a:link {
  color: white !important;
  text-decoration: underline;
  text-decoration-line: dashed;
}

#next_update a:hover {
  font-style: italic;
}

#feedback-btn {
  margin-left: 10px;
  margin-right: 5px;
}

.csir {
  margin: 0 15px;
}

hr.news {
  border-top: 1px solid grey;
}

.map-preview-card {
  width: 350px;
  font-size: 1.2rem;
  font-weight: 400;
  font-family: Open Sans, arial, helvetica;
  color: #555;
  margin: 10px;
  text-align: center!important;
  }

.map-preview-card a:link {
  text-decoration: none;
  font-style: normal;
}

a:visited {
  color: inherit;
}

a:link {
  color: inherit;
  text-decoration: underline;
}

a:hover {
  /*font-style: italic;*/
}

/*[class^="col"] { background-color: rgba(255, 0, 0, 0.3); }*/

.ol-zoom, .ol-zoomslider, .ol-bar.mainbar {
  left: auto!important;
  right: .8em!important;
}

.ol-scale-line, .ol-bar.userbar {
  right: auto!important;
  left: .8em!important;
}

.ol-bar.userbar {
  top: .5em!important;
}

.ol-bar.userbar button {
  width: 30px!important;
  height: 30px!important;
}

.ol-control.ol-layerswitcher, .ol-control.ol-layerswitcher-popup {
    right: 3.5em!important;
    top: 0.5em!important;
}

.ol-layerswitcher ul.panel {
    background-color: #343a40!important
}

.ol-layerswitcher .panel li label {
    max-width: none!important;
}

.ol-layerswitcher>button {
    background-color: transparent!important;
    font-size: 1.14em!important;
}

.ol-attribution {
  font-size: 12px;
}

/*.options a {
  cursor: pointer;
}*/

div#windy-app-promo {
  display: none;
}


iframe#__ybug-launcher {
  top:75%!important;
}

div#socialshare {
  padding-left: 10px;
}

div#legend {
  padding-right: 10px;
}

.popover {
  max-width: fit-content;
}

/*div {
  height: 200px;
  line-height: 200px;
  text-align: center;
  border: 2px dashed #f69c55;
}
*/

span {
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}

.pw-widget {
  margin: 4px;
}

.header img.covid19 {
  height: 50px;
}

.fdi-popup {
    background-color: #FFF;
    color: black !important;
}

div.prompt-dialog form {
    z-index: 2000;
    background-color: rgb(52, 58, 64) !important;
    color: #fff !important;
}

div.prompt-dialog input {
    color: #fff !important;
    /*background-color: rgb(52, 58, 64) !important;*/
}

div.prompt-dialog input#input-prompt-text {
    color: #000 !important;
    width: -webkit-fill-available;
    margin-top: 0.5rem;
}

#infopanel {
    bottom: 0;
    height: 0;
    position: absolute;
    z-index: 100;
    background-color: rgb(52, 58, 64);
    width: 100%;
}

.jsonview li {
    white-space: pre;
}

.jsonview div {
    display: inline;
}

.jsonview div.fdi.blue:after {
    content: "\2B24";
    color: blue;
}

.jsonview div.fdi.green:after {
    content: "\2B24";
    color: green;
}

.jsonview div.fdi.yellow:after {
    content: "\2B24";
    color: yellow;
}

.jsonview div.fdi.orange:after {
    content: "\2B24";
    color: orange;
}

.jsonview div.fdi.red:after {
    content: "\2B24";
    color: red;
}

.jsonview div.fdi.grey:after {
    content: "\2B24";
    color: grey;
}

#infopanel button {
    background-color: rgb(52, 58, 64, 0.5);
    color: #fff;
    border: 0;
    /*border-radius: 2px;*/
    /*font-size: .9em;*/
    /*font-weight: 700;*/
    /*width: 1.4em;*/
    /*height: 1.4em;*/
    /*margin: 10px 10px 0 0;*/
    padding: 8px;
    display: block;
    cursor: pointer;
    position: relative;
    float: right;
    font-family: Open Sans, Helvetica Neue, Helvetica ,Arial ,sans-serif !important;
    z-index: 2000;
}

#infopanel button.remove {
    position: absolute;
    right: 20px;
    top: 2px;
}

#infopanel button.down:after {
    content: "\2304";
    font-size: 1.5em;
    top: 25%;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    line-height: 1em;
    margin: -.5em 0;
    position: absolute;
    color: #fff;
}

/*#infopanel button.remove:after {
    content: "\00d7";
    font-size: 1.5em;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    line-height: 1em;
    margin: -.5em 0;
    position: absolute;
    color: #f00;
}
*/

pre#json-renderer {
    max-height: 200px;
    color: white;
}

pre#json-renderer span.num {
    color: #ffc107
}

pre#json-renderer span.string {
    color: #ffc107
}

pre#json-renderer span.bool {
    color: #ffc107
}

#datepicker {
    background-color: rgba(255,255,255,0);
    color: white;
    border-width: 0;
    width: 100px;
    text-align: center;
}

.footer-icon .feather {
    width: 24px!important;
    height: 24px!important;
}


.ol-control.ol-legend {
    top: 0.5em!important;
    right: 6em!important;
    bottom: unset!important;
    left: unset!important;
}

.ol-control.ol-legend button {
    width: 24px!important;
    height: 24px!important;
    display: none!important;
}

.ol-control.ol-legend.ol-collapsed {
    display: none!important;
}

.ol-control.ol-legend button.ol-closebox {
    display: block!important;
}

.ol-control.ol-legend button:first-child:before {
    top: 0.3em!important;
    height: 0.2em!important;
}

.ol-control.ol-legend button:first-child:after {
    width: 0.7em!important;
    top: 0.3em!important;
    height: 0.2em!important;
}


div.layer-info-button {
    background: unset!important;
    font-weight: bold;
}

.ol-popup h1 {
  font-size: 1em;
  background-size: 2em;
  padding-left: 3em;
}

.ol-button i
{   color: inherit;
}
.ol-button.ol-active button
{   background: rgba(60, 136, 0, 0.7)
    
}
.select
{   top:0.5em;
    right:50%;
}
.edit
{   top:0.5em;
    left:50%;
}    