/*-----------------------
Author Anna Konstantinova
-------------------------*/

@font-face {
  font-family: Roboto;
  src: url('../fonts/Roboto/Roboto-Regular.ttf');
}

html, body {
  height:100%;
  /*width:100%;*/
  padding:0px;
  margin:0px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size:14px;
}

#map-heading {
  height: 7em;
  background: white;
  position:fixed;
  width: 100%;
  z-index:1000;
  transform: translateY(-100%);
}

#map-heading.active {
  transform: translateY(0);
}

.map-heading-content {
  width: 100%;
  padding-left:4em;
  padding-bottom:1em;
  position:absolute;
  bottom:0;
}

#map-heading-text {
  margin:0;
  font-weight: 600;
  font-size: 2.2em;
}

/*.map-heading-logo {
  float: left;
  display:inline-block;
  padding-left: 1em;
  padding-bottom:1em;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position:absolute;
  bottom:0;
}*/

.map-heading-text {
  width: 75%;
  display:inline-block;
}

.map-heading-logo {
  /*float: right;*/
  display:inline-block;
  position:absolute;
  bottom:1em;
  right: 1em;
}

.share-icon-wrapper {
  display: inline-block;
  overflow: hidden;
}

a .share-icon-wrapper {
    cursor: pointer;
}

.share-button-twitter .share-icon-wrapper {
  line-height: 32px;
  height: 32px;
  width: 32px;
  background-color: rgb(29, 161, 242);
}

.share-button-facebook .share-icon-wrapper {
  line-height: 32px;
  height: 32px;
  width: 32px;
  background-color: rgb(59, 89, 152);
}

.share-icon {
  fill: white;
  border: 0;
  position:relative;
}

.share-icon:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.wrapper {
  width:100%;
  height: 100%;
  overflow: hidden;
}

.map {
  height: 100%;
  overflow: hidden;
  /*background-color: #ecf0f1;*/
  background-color: #ffffff;
  /*cursor: grab;
  cursor: -webkit-grab;
  cursor: -moz-grab;*/
}

#map-sidebar {
  position:fixed;
  width: 300px;
  height: 100%;
  background: white;
  float:left;
  overflow:auto;
  transform: translateX(-100%);
  transition: 0.2s ease-in-out;
  display: block;
  z-index:1001;
  box-shadow: 0 1px 10px rgba(0,0,0,0.10)
}

#map-sidebar.active {
  transform: translateX(0);
}

#progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 7px;
  background: rgba(231, 76, 60,.9);
  width: 0;
  transition: width 250ms;
}

.moved-right {
  transform: translateX(300px);
  transition: 0.2s ease-in-out;
}

.unmoved-right {
  transform: translateX(0);
  transition: 0.2s ease-in-out;
}

.moved-down {
  transform: translateY(7em);
  transition: 0.2s ease-in-out;
}

#map-sidebar-content {
  padding: 10px 20px;
  position:relative;
}

.icon-close {
  max-width: 15px;
  fill:rgba(189, 195, 199,1.0);
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
}

.icon-close:hover {
  fill:#959B9F;
}

.icon {
  fill:white;
}

/* .legend-icon {
  fill: rgba(0, 0, 0, .6);
  margin-left: 10px;
  vertical-align: middle;
}

.legend-icon:hover {
  fill: rgba(0, 0, 0, .9);
} */

.legend-icon {
  width: 16px;
  height: 16px;
  float: right;
  margin-left: 5px;
  cursor: pointer;
  background: url("../images/legend_icon.png") no-repeat;
  background-position: -16px 0;
}

#legend-image {
  max-width: 500px;
}

.ol-control {
  padding:0 !important;
  border-radius: 0px 3px 3px 0px !important;
}

.ol-control button {
  margin:0 !important;
  font-size:17px;
  height:35px;
  width:35px;
  background-color:rgba(0, 0, 0, .6);
  cursor: pointer;
}

.ol-touch .ol-control button{
  font-size:17px;
}

.ol-control button:focus {
  outline: none !important;
  background-color:rgba(0, 0, 0, .6);
}

.ol-control button:hover {
  background-color:rgba(0, 0, 0, .9);
}

.ol-sidebar button.active {
  background-color:rgb(189, 195, 199);
}

/*.disable button{
  background-color:rgba(0, 0, 0, .9);
  cursor: default;
}*/

.ol-zoom {
  top:15px !important;
  left:0 !important;
}

.ol-zoom .ol-zoom-in {
  border-radius:0 3px 0 0 !important;
}
.ol-zoom .ol-zoom-out {
  border-radius:0 0 0 0 !important;
}

.ol-zoom .return-to-default-extent {
  border-radius:0 0 3px 0 !important;
}

.ol-sidebar {
  top: 135px;
  left: 0;
}

.ol-sidebar .layer-switcher-custom {
  border-radius:0 3px 0 0 !important;
}

.ol-sidebar .inform {
  border-radius:0 0 0 0 !important;
}

.ol-sidebar .analysis {
  border-radius:0 0 0 0 !important;
}

.ol-sidebar .help {
  border-radius:0 0 0 0 !important;
}

.ol-sidebar .export-control {
  border-radius:0 0 0 0 !important;
}

.ol-sidebar .svg-editor {
  border-radius:0 0 3px 0 !important;
}

.ol-attribution img {
    max-height: 100px;
    max-width: 100px;
    vertical-align: middle;
}

.ol-attribution.ol-logo-only {
    right: 15px;
    top: 35px;
}

#map-sidebar-content-info,
#map-sidebar-content-layers,
#map-sidebar-content-export,
#map-sidebar-content-analysis{
  display:none;
}

#map-sidebar-content-info.visible,
#map-sidebar-content-layers.visible,
#map-sidebar-content-export.visible,
#map-sidebar-content-analysis.visible{
  display:block;
}

h4 {
  font-weight: 500;
  padding-bottom: 10px;
}

a {
  color: #428bca;
  text-decoration: none;
  outline: none;
}

#map-sidebar-content-info a:hover{
  color: -webkit-link;
  text-decoration:underline;
  cursor: pointer;
}

.sidebar-content {
  border-bottom: 1px solid rgba(189, 195, 199,1.0);
  padding-bottom: 10px;
}

.sidebar-content-url  {
  overflow-x: hidden;
}

.sidebar-content p {
  color: #959B9F;
}

.sidebar-content-text {
  /*overflow: auto !important;*/
}


/* #export-button {
  background-color:rgba(0,60,136,.5);
  color:white;
  border-radius:2px;
  cursor: pointer;
  font-size: 14px;
  min-width:100px;
  text-decoration: none;
  margin-top: 20px;
  padding: 5px 10px;
  display: inline-block;
  text-align: center;
}

#export-button:hover {
  background-color:rgba(0,60,136,.7);
} */

#pdf-content {
  display: none;
}

#pdf-content.active {
  display: block;
}

.select {
  margin-top: 20px;
}

.ol-scale-line {
  background:rgba(0,0,0,.6);
}


/**, *:before, *:after {
  box-sizing: border-box;
}*/

/*.clearfix:after  {
  content: ' ';
  display: block;
  clear: both;
}*/

select {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
}

.project-name {
  color: black;
  font-weight: 600;
  text-align: center;
}

#map-heading-img-logo {
}

.dialog {
  display:none;
  position:fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 1002;
}

.dialog.active {
  -webkit-display: flex;
  -moz-display: flex;
  -ms-display: flex;
  display: flex;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  align-items: center;
}

.dialog-content {
  position: relative;
  width: 500px;
  background-color: white;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.5);
  min-width: 250px;
}

.dialog-header {
  background-color: rgba(0,60,136,.7);
  padding: 5px 10px 5px 15px;
  color: white;
  font-weight: bold;
}

.dialog-close {
  float:right;
  cursor:pointer;
  width: 20px;
  height: 20px;
}

.dialog-text {
  overflow:auto;
  padding: 15px;
}

.dialog-buttons {
  padding: 15px;
  background-color: #ecf0f1;
  position: relative;
  bottom: 0;
  width: 100%;
}

.dialog-buttons button {
  background-color:rgba(0,60,136,.5);
  color:white;
  border: none;
  border-radius:2px;
  cursor: pointer;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  min-width:100px;
  padding: 5px 10px;
  display: inline-block;
  text-align: center;
}

.dialog-buttons button:hover {
  background-color:rgba(0,60,136,.7);
}

.legend {
  display:none;
  position:fixed;
  top: 15px;
  left: 50px;
  z-index: 1001;
}

.legend.active {
  -webkit-display: flex;
  -moz-display: flex;
  -ms-display: flex;
  display: flex;
}

.legend-content {
  padding: 40px 40px 20px 20px;
  position: relative;
  background-color: white;
  box-shadow: 0 1px 10px rgba(0,0,0,0.10);
  min-width: 250px;
}


* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.ol-scale-line {
  bottom: 15px;
}

#language-switcher {
  position: fixed;
  top: 10px;
  right: 25px;
  z-index: 1001;
  display:none;
}

#language-switcher.active {
  background-color:rgba(0, 0, 0, .6);
  display:block;
  border-radius: 3px;
  padding: 2px 10px;
}

#language-switcher a {
  color: white;
  text-decoration: underline;
}

#language-switcher a.selected {
  color:rgb(189, 195, 199);
  cursor: default;
  text-decoration: none;
}

.ol-scale-line-inner {
  display: inline-block;
  margin: 1px 1px 1px 11px;
}

.mouse-position {
  color: #eee;
  font-size: 10px;
  text-align: center;
  margin: 1px 5px 1px 5px;
  display:inline-block;
}

.ol-popup {
   position: absolute;
   background-color: white;
   -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
   filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
   padding: 25px 5px 20px 5px;
   border-radius: 4px;
   /*border: 1px solid #cccccc;*/
   bottom: 12px;
   left: -50px;
   min-width: 280px;
   display: none;
   z-index: 1003;
 }

 .ol-popup.active {
    display: block;
  }

 .ol-popup:after, .ol-popup:before {
   top: 100%;
   border: solid transparent;
   content: " ";
   height: 0;
   width: 0;
   position: absolute;
   pointer-events: none;
 }
 .ol-popup:after {
   border-top-color: white;
   border-width: 10px;
   left: 48px;
   margin-left: -10px;
 }
 .ol-popup:before {
   border-top-color: #cccccc;
   border-width: 11px;
   left: 48px;
   margin-left: -11px;
 }
 .ol-popup-closer {
   text-decoration: none;
   position: absolute;
   top: -5px;
   right: -15px;
 }

 .ol-popup-closer svg {
   top: 10px;
 }

 .ol-popup-load-img {
   /*height: 32px;*/
   margin-left: 10px;
   -webkit-animation: rotation 1.2s infinite linear;
 }

 .icon-calendar {
   vertical-align: bottom;
   position: absolute;
   right: 20px;
   fill:rgba(189, 195, 199,1.0);
 }

 .icon-calendar:hover {
   fill:#959B9F;
 }

 #popup-content {
   overflow-y: auto;
 }

 #popup-content span {

 }

 .popupFoReg {
   margin-left: 15px;
   margin-bottom: 10px;
 }

 .popupImg {
   border-top: 1px solid rgba(189, 195, 199,1.0);
 }

 #ui-datepicker-div {
   font-family: 'Roboto', sans-serif;
   font-size:14px;
 }

 #map-sidebar-content-layers-date input {
   font-family: 'Roboto', sans-serif;
   font-size:14px;
   color: #959B9F;
   text-decoration: none;
   border-style: none;
   cursor: pointer;
 }

 #map-sidebar-content-layers-date {
   cursor: pointer;
 }

@-webkit-keyframes rotation {
		from {
				-webkit-transform: rotate(0deg);
		}
		to {
				-webkit-transform: rotate(359deg);
		}
}


/* Customize the label (the container-checkbox) */
.container-checkbox {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom checkbox */
.container-checkbox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 16px;
  width: 16px;
  border-radius: 2px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container-checkbox:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
input:checked ~ .checkmark {
  background-color: rgb(189, 195, 199);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container-checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container-checkbox .checkmark:after {
  left: 5px;
  top: 2px;
  width: 3px;
  height: 6px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* Customize the label (the container-radio) */
.container-radio {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.container-radio input {
  position: absolute;
  opacity: 0;
}

/* Create a custom radio button */
.container-radio .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 16px;
  width: 16px;
  background-color: #eee;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.container-radio:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.container-radio input:checked ~ .checkmark {
  background-color: rgb(189, 195, 199);
}


/* Show the indicator (dot/circle) when checked */
.container-radio input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.container-radio .checkmark:after {
  top: 5px;
  left: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
}

.ol-popup-load-img {
  height: 16px;
  /* margin-left: 10px;
  -webkit-animation: rotation 1.2s infinite linear; */
}

#map-sidebar label {
  display: block;
  /* margin: 15px 0 5px 0; */
}

/* #map-sidebar select {
  text-decoration: none !important;
  cursor: pointer !important;
  height: 30px;
  background-color: rgb(189, 195, 199);
  border-radius: 3px;
  border: none;
  outline: 0px;
  color: white;
  font-weight: bold;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 10px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}

#map-sidebar option {
  background-color: white;
  color: black;
} */

#map-sidebar select {
  text-decoration: none !important;
  cursor: pointer !important;
  max-width: 250px;
  height: 30px;
  border-radius: 3px;
  /* border-color: rgb(189, 195, 199); */
  border:none;
  background-color: #eee;
  outline: 0px;
  /* color: rgb(189, 195, 199); */
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 10px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}

.button button,
#export-button {
  background-color: rgb(189, 195, 199);
  color:white;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  border: none;
  padding: 8px 20px 8px 20px;
  display: inline-block;
  text-align: center;
  min-width: 100px;
  outline: none;
}

/* .button button:hover,
#export-button:hover {
  background-color: #eee;
  color: rgb(189, 195, 199);
} */

#legendRightBottom {
  position: fixed;
  bottom: 0;
  right: 0;
  box-shadow: 0 1px 5px rgba(0,0,0,0.10);
  display:none;
  /* z-index: 1003; */
  /* border: 1px solid rgba(189, 195, 199,1.0); */
}

#legendRightBottom.active {
  display:block;
}

#svgedit {
  display: none;
}

#svgedit.active {
  display:block;
}

.load-gif {
  margin-right: 5px;
  color: white;
}

.layer-title-red {
  color: rgb(255, 0, 0);
}

.layer-title-orange {
  color: rgb(255, 140, 0);
}
