﻿@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.css");
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Fira Sans Regular'), local('FiraSans-Regular'), url(https://fonts.gstatic.com/s/firasans/v10/va9E4kDNxMZdWfMOD5Vvl4jO.ttf) format('truetype');
}
html,
body {
  margin: 0px;
  padding: 0px;
  font-family: 'Fira Sans', sans-serif;
  font-size: 16px;
}
html {
  height: 100%;
}
body {
  min-height: 100%;
}
a {
  color: #21C1E5;
  text-decoration: none;
}
a:visited {
  color: #21C1E5;
}

.container {
  height: 100%;
}

.rt-map {
  min-height: 100%;
}

#map-and-chart {
  min-height: 100%;
}

.rt-map #mapid {
  /* height: 500px; */
  height: 100%;
  overflow: hidden;
}
.rt-map #mapid path:hover {
  fill: blue !important;
  stroke: blue !important;
}
.rt-map #chart {
  xheight: 400px;
  min-width: 310px;
}
.rt-map #choose-layout {
  padding: 12px 6px;
}
.rt-map .img-rain {
  image-rendering: -moz-crisp-edges;
  image-rendering: pixelated;
  -ms-interpolation-mode: nearest-neighbor;
}
.rt-map .scale-of-rain {
  float: right;
  margin-left: 12px;
}
.rt-map .scale-of-rain > div {
  padding: 6px;
  min-width: 100px;
  text-align: center;
}
.rt-map .scale-of-rain > div.item {
  color: #FFFFFF;
}
.rt-map .srazkomer-square {
  border: 1px rgba(24,62,110) solid;
  background-color: rgba(24,62,110, 0.5);
}
.rt-map .rain-scale img {
  max-height: 300px;
}
.rt-map .leaflet-pane .leaflet-popup-tip-container {
  bottom: -18px;
}
.rt-map .leaflet-pane .leaflet-popup-tip-container .leaflet-popup-tip {
  border: 2px solid #183e6f;
}
.rt-map .leaflet-pane .leaflet-popup-content-wrapper {
  border: 2px solid #183E6F;
}
.rt-map .leaflet-pane .leaflet-popup-close-button {
  color: #183E6F;
}
.rt-map .leaflet-pane .leaflet-popup-content {
  line-height: 21px;
}
.rt-map .leaflet-pane .rt-popup .leaflet-popup-content-wrapper {
  color: #183E6F;
}
.rt-map .leaflet-pane .rt-popup .leaflet-popup-content-wrapper label {
  display: none;
}
.rt-map .btn-chart {
  display: block;
  text-align: center;
  padding-top: 6px;
}
.rt-map .btn-chart span {
  background-color: #183E6F;
  color: #ffffff;
  padding: 6px;
  border-radius: 3px;
}
.rt-map .r4toolbar input {
  display: none;
}
.rt-map .r4toolbar .item {
  position: relative;
}
.rt-map .r4toolbar .item input ~ .submenu {
  display: none;
}
.rt-map .r4toolbar .item input ~ .submenu.srazkomer label {
  background-color: #183E6F;
  color: #ffffff;
}
.rt-map .r4toolbar .item input:checked ~ .submenu {
  display: block;
  position: absolute;
  overflow: hidden;
  top: 0px;
  left: 100%;
  padding: 0px 6px;
  width: 150px;
}
.rt-map .r4toolbar .item input:checked ~ .submenu > * {
  float: left;
  margin-right: 6px;
}
.rt-map .r4toolbar label {
  display: block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  background-color: white;
  margin-bottom: 6px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 5px;
  border: 1px solid #183E6F;
  cursor: pointer;
  text-align: center;
}
.rt-map .r4toolbar label span {
  display: none;
}
.rt-map .r4toolbar .fax {
  display: block;
  height: 30px;
  line-height: 30px;
  font-size: 22px;
  color: #183E6F;
  text-align: center;
}
.rt-map .r4toolbar .plus {
  background-image: url(../images/zoom-plus.svg);
}
.rt-map .r4toolbar .minus {
  background-image: url(../images/zoom-minus.svg);
}

.rt-map .r4toolbar input[value="line"] + label {
  background-image: url(../images/line.svg);
}

.rt-map .r4toolbar input[value="area"] + label {
  background-image: url(../images/polygon.svg);
}
.rt-map .r4toolbar-old {
  font-size: 16px;
  margin-bottom: 16px;
}
.rt-map .r4toolbar-old > * {
  display: inline;
  padding: 10px;
  background-color: #FFFFFF;
  margin-left: 2px;
  text-decoration: none;
  color: black;
  border-radius: 2px;
  border: 1px solid #e6dfdf;
}
.header {
  color: #1996CC;
  font-size: 20px;
  padding-right: 48px;
  padding-left: 48px;
}
.header > div {
  height: 90px;
  line-height: 90px;
}
.header > div > a {
  display: inline-block;
  padding: 0px 0px;
  text-align: center;
  cursor: pointer;
  color: #00427C;
  opacity: 0.7;
  margin-top: 3px;
}
.header > div > a:hover {
  opacity: 1;
}
.header > div > a span {
  padding: 0px 12px;
}
.header .logo {
  background-image: url(../images/tel4rain.svg);
  float: left;
  background-repeat: no-repeat;
  width: 180px;
}
.header .user {
  float: right;
}
.header .user > a {
  color: #1A96CC;
}
.header .user a span {
  border: 2px solid #1A96CC;
  padding: 3px;
  border-radius: 8px;
}
.header .user a.logout span {
  padding-left: 24px;
  padding-right: 24px;
}
.header .user a.user-name {
  opacity: 1;
  color: #00427C;
}
.header .user a.user-name span {
  border: none;
}
.header .menu {
  overflow: hidden;
}
.header .menu > a {
  min-width: 100px;
}
.footer {
  background-color: #183E6F;
  min-height: 50px;
  padding: 12px;
  color: #FFFFFF;
}
.footer .partners {
  height: 90px;
  text-align: center;
}
.footer .partners img {
  max-height: 100%;
  max-width: 100%;
}
.footer .copyright > * {
  margin-right: 12px;
}
.loader {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 9997;
}
.loader::before {
  content: ' ';
  background-color: black;
  opacity: 0.2;
  display: block;
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 9998;
}
.loader::after {
  content: ' ';
  background: url(../images/loader.svg) no-repeat;
  background-position: center center;
  background-size: 300px 300px;
  display: block;
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 9999;
}
.imgplayer {
  overflow: hidden;
  border: 2px solid #e6dfdf;
  border-radius: 5px;
  background-color: #FFFFFF;
  color: #183E6F;
  font-weight: bold;
}
.imgplayer > div {
  border-right: 1px solid #e6dfdf;
  padding: 7px;
  line-height: 29px;
  height: 29px;
  float: left;
}
.imgplayer .control {
  font-size: 29px;
  float: left;
  cursor: pointer;
  width: 29px;
  background-position: center center;
}
.imgplayer .fast-backward {
  background-image: url(../images/play1.svg);
}
.imgplayer .fast-forward {
  background-image: url(../images/play2.svg);
}
.imgplayer .play {
  background-image: url(../images/play.svg);
}
.imgplayer .slider {
  display: none;
  float: none;
  height: 29px;
  overflow: hidden;
  position: relative;
  text-align: center;
  min-width: 200px;
}
.imgplayer .slider .knob {
  display: block;
  position: absolute;
  top: 0px;
  width: 8px;
  height: 25px;
  border: 1px solid #a5a5a5;
  background-color: #ddd;
  border-radius: 2px;
  top: 7px;
}
.imgplayer .slider .body {
  border: 1px solid #e6dfdf;
  height: 7.5px;
  margin-top: 9px;
}
.imgplayer .slider .body:first-letter {
  display: none;
}
.imgplayer .label {
  vertical-align: bottom;
}

.sidebar {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: white;
  z-index: 9999;
  box-shadow: -3px 0px 3px 1px #eeeeee;
  padding: 20px;
}

.sidebar .close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.sidebar .close a {
  color: #666666;
}

.sidebar .close:hover  a {
  color: black;
}

.sidebar.active {
  display: block;
}

.sidebar-large {
  width: 80%;
}

.sidebar-medium {
  width: 33%;
}

.sidebar-small {
  width: 200px;
}


.sidebar-export h1 {
  font-size: 1.6rem;
}

.sidebar-export h2 {
  margin-top: 2em;
  margin-bottom: 0.5em;
  font-size: 1rem;
}

.sidebar-export  {
  font-size: 0.9em;
}

.sidebar-export .datepicker {
  margin-top: 0.8em;
  display: flex;
  align-items: center;
}

.sidebar-export .datepicker label{
  margin-right: 0.5em;
}

.sidebar-export .datepicker input{
  margin-right: 1em;
  width: 7em;
}

#map-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 9990;
  height: 50px;
  width: 50px;
  text-align: right;
}

#map-menu .map-menu-item {
  background-color: white;
  height: 50px;
  width: 50px;
  color: black;
  font-size: 2em;
  text-align: center;
  border: 1px solid darkgrey;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
}

#map-menu .map-menu-item a {
  color: #183E6F;
  display: block;
}

#map-menu .map-menu-item:hover a {
  color: #1A96CC;
}

.bw {
        filter: grayscale(100%);
      }
