.leaflet-container {
	/*background: #ddd;*/
	background:#fff url(../../../../images/ui/subtlepatterns/old_mathematics.png) 0% 0% repeat!important;
	outline: 0;
}	

p {
  text-align: justify;
}

.wrap {
  height: 100vh;
  display: flex;
  flex-direction: column;
  
  font-size: 14px;
  font-family: 'Fira Sans', sans-serif;
}


.map-button {
  margin-left: 20px;
  background-color: #181F26;
  display: inline;
  padding: 9px 20px;
  cursor: pointer;
}


.pages {
  flex: 1;
  display: flex;
}

.pages > .page {
  flex: 1;
  position: relative;
  
  border: 1px #eee solid;
}

.pages > .page:not(:first-child) {
  border-left: 2px #eee solid;
}

.map {
  position: absolute;
  top:0;
  right: 0;
  bottom: 0;
  left: 0;
}

.leaflet-control-attribution {
	display: none;
}

.controls {
  position: absolute;
  top: 1em;
  right: 1em;
  color: #666;
  max-width: 240px;
  
}

.control {
	/*float: right;
	clear: right;*/
	padding: 0.28em; /*0.5em*/
	background: #344c68;
	box-shadow: 0px 1px 2px rgba(0,0,0,0.25);
	color: #FCDC7E;
	margin-bottom: 0.6em;

}

.control.dark {
  margin: 0;
  background: #34404D;
  padding: 0;
  border-bottom: 1px solid #242E38;
  
  font: .9em/1 "RobotoRegular", "Helvetica Neue", Helvetica, Arial, sans-serif; 
}

.controls .control.dark:last-child {
  border-bottom: 0px solid #242E38;
}

.control-title {
	cursor: pointer;
	user-select: none;
	text-transform: uppercase;
	color: var(--title-color);
	border-bottom: 1px pink var(--title-color);
	min-width: 220px;
  
	background-image: -webkit-gradient(linear, 0% top, 100% top, from(#555555), to(#111111));
	background-image: -webkit-linear-gradient(bottom, color-stop(#555555 0%), color-stop(#111111 100%));
	background-image: -moz-linear-gradient(bottom, #555555 0%, #111111 100%);
	background-image: linear-gradient(to bottom, #555555 0%, #111111 100%);
	background-repeat: repeat-y;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff555555', endColorstr='#ff111111', GradientType=1); 
}
.control-title > span {
	color:#e6e6e6;
	text-shadow:
   -1px -1px 0 #303030,  
    1px -1px 0 #303030,
    -1px 1px 0 #303030,
     1px 1px 0 #303030;
}
.control-title .fa {
  position: relative;
  /* top: 3px; */
}

.control.dark .control-title {
  color: #FCDC7E;
  padding: 5px 10px;
}

.control.dark .control-title:hover {
  background-color: #242E38;
}

.control-content {
  /* background-color: #242E38; */
  background-color: rgba(47, 76, 105, 0.8);
  padding: 10px;
  color: #fff;
}

.control-content button {
  background-color: transparent;
  color: #FCDC7E;
  border: 2px solid #FCDC7E;
  padding: 4px 10px;
}
.control-content button:hover, .control-content button:focus {
  background-color: #FCDC7E;
  border: 2px solid #FCDC7E;
}

.single-button {
  width: 30px;
  float: right;
}

.single-button button {
  border: none;
  background-color: transparent;
  padding: 0 2px;
}

.single-button ul {
  position: absolute;
  right: 0;
  background: #34404D;
  list-style: none;
  padding: 5px 0;
  z-index: 8;
  top: 30px;
}

.single-button ul li {
  padding: 5px 15px;
}

.single-button ul li:hover {
  background-color: #242E38
}

.trans {
  display: inline-block;
  padding: 4px 10px;
  height: 28px;
}

.trans .fa {
   margin-right: 5px;
   line-height: 20px;
}

.trans input {
  float: right;
}

input[type=range] {
  -webkit-appearance: none;
  width: auto;
  vertical-align: middle;
  background: transparent;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
  height: 3px;
  cursor: pointer;
  background: gray;
  border-radius: 3px;
  border: none;
  position: relative;
  top:9px;
}
input[type=range]::-webkit-slider-thumb {
  border: none;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background: #e6be47;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -3.5px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: gray;
}
input[type=range]::-moz-range-track {
  height: 3px;
  cursor: pointer;
  background: gray;
  border-radius: 0px;
  border: none;
}
input[type=range]::-moz-range-thumb {
  border: none;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background: #e6be47;
  cursor: pointer;
}

.fullwidth {
  width: 100%;
}
.autowidth {
  width: auto;
}
.range-fullwidth {
  width: 86% !important;
}

.desc {
  position: absolute;
  left: 1em;
  right: 1em;
  bottom: 1em;
}

.desc input[type="range"] {
  width: 10em;
}

.desc-inner {
  background: white;
  padding: 1em;
  box-shadow: 0px 1px 2px rgba(0,0,0,0.25);
  color: #666;
  max-height: 120px;
  overflow-y: scroll;
}

.desc-title {
  color: #000;
  font-size: 1.5em;
  text-shadow: 0px 0px 3px #fff;
  margin: 0.3em;
  cursor: pointer;
}

.desc-title small {
  color: #666;
}

.datepicker table {
  font-size: 13px;
}

.clickable {
  cursor: pointer;
  user-select: none;
}

/*HOME*/
a:hover, a:focus {
  text-decoration: none;
}



@media (max-width: 768px) {
  .wrap {
    height: auto;
    min-height: 100vh;
  }

  .pages {
    flex-direction: column;
  }
  .pages > .page {
    min-height: 500px;
  }


}