/*

	BASIC stuff	
	
*/	

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
  padding: 0;
  margin: 0;
} 


/* Leaflet crispness override */
.leaflet-container .leaflet-overlay-pane svg,
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer {
  max-width: none !important;
  /* Preserve crisp pixels with scaled up images */
  image-rendering: optimizeSpeed;             /* Legal fallback */
  image-rendering: -moz-crisp-edges;          /* Firefox        */
  image-rendering: -o-crisp-edges;            /* Opera          */
  image-rendering: -webkit-optimize-contrast; /* Safari         */
  image-rendering: optimize-contrast;         /* CSS3 Proposed  */
  image-rendering: crisp-edges;               /* CSS4 Proposed  */
  image-rendering: pixelated;                 /* CSS4 Proposed  */
  -ms-interpolation-mode: nearest-neighbor;   /* IE8+           */
}

.leaflet-double-touch {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
}
.leaflet-double-touch-drag {
        cursor: move;
        cursor: -webkit-grabbing;
        cursor:    -moz-grabbing;
        cursor:       row-resize;
}

/* 
	
	--------------------------------------------------------------------------------------
	DIVs, SPANs, etc...	
	
*/

#map {
  height: 100%;
  width: 100vw;
 -webkit-user-select: none; -webkit-touch-callout: none;
 }

#scl {
  z-index: 9999;
  position: absolute;
  left: 10px;
  padding: 0px;
  bottom: 25%;
  transform: translate(0%, 50%);
  text-align: left;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#scl img {
  width: 60%;
}

@media screen and (max-width: 767px) {
	
  #scl {
    bottom: 50px;
    transform: translate(0%, 0%);
  }

  #scl img {
    width: 50%;
  }
}

@media screen and (max-height: 400px) {
	
  #scl img {
    width: 50%;
  }
}

#div_appstore img {
  width: 150px;
}


#trigger {
  z-index: 9999;
  width: 150px;
  height: 27px;
  position: absolute;
  left: 10px;
  top: 10px;
  border: 1px solid grey;
  border-radius: 4px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.65);
  background-color: white;
  font-weight: bold;
  padding-left: 20px;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  background-image: url("/img/button.png");
  background-size: cover;
}

#slider {
  background-color: white;
  padding: 0px 3px 0px 0px;
  box-shadow: -5px 0 5px -5px #3f3f3f inset;
  height: 100%;
  text-align: center;
  font-family: Sans-serif;
}

#slider-inner {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  text-align: center;
}

#menu-icon {
  width: 100px;
  border-radius: 50px;
  margin: 20px 0px 10px 0px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.50);
}

#menu-title {
  font-size: 24px;
}

#menu-title2 {
  font-size: 10px;
  font-style: italic;
}

.menu-item-img {
  width: 25px;
  height: 25px;
  float: left;
  margin-right: 20px;
  text-align: center;
}

#menu-item-img img {
  height: 25px;
}

#controls {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 250px;
  border: 1px solid grey;
  border-radius: 4px;
  box-shadow: 0 0px 5px rgba(0,0,0,0.65);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 5px;
  z-index: 1000;
  text-align: center;
  /* bring your own prefixes */
  /* transform: translate(-50%, 0%); */
}

#synop_ctrl {
  width: 100%;
  text-align: center;
}

@media screen and (max-width: 767px) {
  #controls {
    top: inherit;
    bottom: 40px;
    left: 50%;
    transform: translate(-50%, 0%);
  }
}

#time_utc {
  font-weight: bold;
  font-size: 14px;
}

#time_utc2 {
  font-weight: bold;
  font-size: 14px;
}

#time_local {
  font-size: 10px;
  margin-bottom: 5px;
}

#div_anim_buttons {
  margin-bottom: 5px;
}

#filelist {
  text-align: center;
  width: 100%;
  height: 190px;
}

#btn_load {
  width: 100%;
  margin-top: 10px;
}

#time_updated {
  font-size: 9px;
  font-style: italic;
  margin-top: 10px;
  margin-bottom: 15px;
  cursor: hand;
  cursor: pointer;
}

#sidebar {
  text-align: center;
}

#estofex_div {
  z-index: 1010;
  width: 200px;
  position: absolute;
  left: 60px;
  top: 49px;
  display: none;
  border: 1px solid grey;
  border-radius: 4px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.65);
  font-size: 14px;
  background-color: white;
  font-weight: bold;
  padding: 5px;
  text-align: center;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}

/*
	
	--------------------------------------------------------------------------------------
	CLASSES
	

*/


.maplibregl-map.leaflet-gl-layer {
        z-index: 2;
        position: absolute;
      }

.menu-block {
  width: 100%;
  height: 20px;
  color: black;
  font-size: 14px;
  font-weight: bold;
  background-color: #d3d3d3;
  text-align: left;
  padding: 8px;
  line-height: 20px;
}

.menu-item {
  width: 100%;
  min-height: 30px;
  color: black;
  font-size: 16px;
  text-align: left;
  padding: 8px;
  line-height: 30px;
  border-bottom: 1px solid lightgrey;
  cursor: pointer;
}

.menu-grey {
  background-color: #f2f2f2;
}

.menu-green {
  background-color: #a3ffa9;
}

.leaflet-control-scale {
  margin-left: 10px !important;
}

.leaflet-control-zoom {
  margin-top: 50px !important;
}

.btn_ctrl {
  border: 1px solid black;
  background-color: #eeeeee;
  width: 25px;
  height: 20px;
  padding: 0px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-appearance: none;
  font-size: 10px;
}

.btn_ctrl2 {
  border: 1px solid black;
  background-color: #eeeeee;
  width: 25px;
  height: 20px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-appearance: none;
  padding: 0px;
  font-size: 10px;
}

.divTable {
  display: table;
  width: 100%;
  font-size: 12px;
}

.divTableRow {
  display: table-row;
}

.divTableHeading {
  display: table-header-group;
}

.divTableCell, .divTableHead {
  display: table-cell;
  padding: 3px 10px;
}

.divTableHeading {
  display: table-header-group;
  font-weight: bold;
}

.divTableFoot {
  display: table-footer-group;
  font-weight: bold;
}

.divTableBody {
  display: table-row-group;
}

.leaflet-container .leaflet-control-mouseposition {
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0px 5px rgba(0,0,0,0.65);
  padding: 0 5px;
  margin: 0;
  color: #000;
  font: 11px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.leaflet-control-locate a {
  font-size: 1.4em;
  color: #444;
  cursor: pointer;
}

.leaflet-control-locate.active a {
  color: #2074B6;
}

.leaflet-control-locate.active.following a {
  color: #FC8428;
}

.leaflet-control {
  cursor: pointer;
  cursor: hand;
}

.polyline-measure-unicode-icon {
  font-size: 19px;
  font-weight: bold;
  cursor: pointer;
}

a.polyline-measure-clearControl:active {
  background-color: #f88;
}

.polyline-measure-tooltip {
  font: 10px Arial, Helvetica, sans-serif;
  line-height: 10px;
  background-color: rgba(255, 255, 170, 0.7);
  border-radius: 3px;
  box-shadow: 1px 1px 4px #888;
  margin: 0;
  padding: 2px;
  width: auto !important;
  height: auto !important;
  white-space: nowrap;
  text-align: right;
}

.polyline-measure-tooltip-end {
  background-color: rgba(255, 255, 40, 0.7);
}

.polyline-measure-tooltip-total {
  color: #006;
  font-weight: bold;
}

.polyline-measure-tooltip-difference {
  color: #060;
  font-style: italic;
}

.polyline-measure-popupTooltip {
  font: 11px Arial, Helvetica, sans-serif;
  line-height: 11px;
}

.leaflet-bar button,
.leaflet-bar button:hover {
  background-color: #fff;
  border: none;
  border-bottom: 1px solid #ccc;
  width: 36px;
  height: 36px;
  line-height: 36px;
  font-size: 20px;
  display: block;
  text-align: center;
  text-decoration: none;
  color: black;
  -webkit-appearance: none;
}

.leaflet-bar button {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  overflow: hidden;
  display: block;
}

.leaflet-bar button:hover {
  background-color: #f4f4f4;
}

.leaflet-bar button:first-of-type {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.leaflet-bar button:last-of-type {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom: none;
}

.leaflet-bar.disabled,
.leaflet-bar button.disabled {
  cursor: default;
  pointer-events: none;
  opacity: .4;
}

.easy-button-button .button-state {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.leaflet-touch .leaflet-bar button {
  width: 44px;
  height: 44px;
  line-height: 44px;
  font-size: 20px;
  -webkit-appearance: none;
}

.slider_pct {
  margin-top: 10px;
  margin-bottom: 10px;
}

.red {
  color: #a00000;
}

.hidden {
  display: none;
}

.leaflet-credits-control {
  height: 39px;
  /* defined in the JavaScript code */
  padding-right: 39px;
  /* defined in the JavaScript code */
  background-image: none;
  /* defined in the JavaScript code */
  background-repeat: no-repeat;
  background-position: 100% 0;
  background-color: white;
  opacity: 0.90;
  border-radius: 5px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.leaflet-credits-control a {
  font-size: 8pt;
  color: #333333 !important;
  text-decoration: none;
  text-align: center;
  display: none;
  /* becomes visible on mouse hover, see creditsControl */;
}

.leaflet-credits-control a.leaflet-credits-showlink {
  display: inline-block;
  padding-left: 5px;
  padding-right: 5px;
  margin-top: 5px;
  line-height: 15px;
}

.leaflet-control-velocity {
  font: 11px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0px 5px rgba(0,0,0,0.65);
  padding: 0 5px;
  margin-left: 10px !important;
  color: #000;
  font: 11px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;

}

.velocity-overlay {
  position: absolute;
  z-index: 1;
}

