html, body {
  height: 100%;
  margin: 0px;
  /*font-family: sans-serif;*/
}
a {
  color: inherit;
}
a:hover {
  text-decoration: none;
  cursor: pointer;
  color: inherit;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h3 {
  padding: 8px 0px;
  margin: 0;
  font-weight: bold;
  font-size: 1em;
}
h2 {
  padding: 10px 0px;
  margin: 0;
  font-weight: bold;
  font-size: 1.5em;
}
h1 {
  padding: 15px 0px;
  margin: 0;
  font-weight: bold;
  font-size: 2em;
}

div.leftpanel {
/*	font-family: Verdana, Geneva, sans-serif !important;*/
/*	color: #fff;*/
  height: 100%;
/*  background-color: #3F4757;  */
  width: 300px; /* must be the same size as mapcontainer margin width */
  float: left;
  position: relative;
  overflow: hidden;
  -webkit-box-shadow: 5px 0 15px rgba(0, 0, 0, 0.7);
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.topbar {
  height: 50px; /* must be the same size as leftpanel top */
  width: 100%;
  /*margin-left: 300px; /* must be the same size as leftpanel width */
  background-color: rgba(255,255,255,.9);
  position: fixed;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.7);
  flex-direction: row;
}
.subbar {
  height: 30px;
  position: fixed;
  width: 100%;
  top: 50px; /* must be the same size as topbar height */
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  right: 100px;
}

.menu {
  margin: 1%;
  padding: 2% 1%;
  position: absolute;
  bottom: 80px;
  top: 50px; /* must be the same size as topbar height */
  width: 96%;
  overflow: auto;
  border-bottom: 1px solid #AAA;
}

.mapContainer {
  margin-left: 300px; /* must be the same size as leftpanel width */
/*  width: 100%;*/
  height: 100%;
}

.topbar-item {
  flex: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.topbar-item .logo {
  width: 30px;
}
.topbar-item.logo{
  flex: 0 0 150px;
}
.topbar-item.left{
  flex: 0 0 50px;
}
.topbar-item.butn {
  cursor: pointer;
  font-size: 1.3em;
}
.topbar-item.butn a {
  width: 100%;
  padding: 12px 0;
}
.topbar-item.butn:hover {
  background-color: rgba(211,211,211,.5);
  color: #23527c;
}
.topbar-item.butn.selected {
  background-color: #003C88;
  color: #fff;
}

.subbar-fill-left {
  visibility: hidden;
  flex: 0 1 400px;
}
.subbar-fill-right {
  visibility: hidden;
  flex: 0 1 50px;
}
.subbar-fill {
  visibility: hidden;
  flex: 1 0;
}
.subbar-fill.show {
  visibility: visible;
}
.subbar-fill ul {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}
.subbar-fill li:first-child {
  border-bottom-left-radius: 7px;
}
.subbar-fill li:last-child {
  border-bottom-right-radius: 7px;
}
.subbar-item {
  flex: 0 0;
  text-align: center;
  padding: 3px 10px 7px 10px;
  background-color: rgba(255,255,255,.9);
  cursor: pointer;
  white-space: nowrap;
  /*overflow: hidden;*/
}
.subbar-item:hover {
  background-color: rgba(200,200,200,.9)
}
.subbar-item.selected {
  background-color: #003C88;
  color: white;
}


div.title {
  width: 100%;
  padding: 10px;
}
.title .text {
  display: inline-block;
  vertical-align: middle;
  padding-left: 20px;
}

div#text-info {
  border: solid 2px #aaa;
	border-radius: 4px;
  margin: 20px 5px 0px 5px;
  padding: 10px;
  overflow: auto;
  font-family: serif;
}

div#text-info div {
  color: #000;
  display: none;
  height: 100%;
  text-align: justify;
}

div#text-info div.active_txt {
  display: block;
}


.map {
  width: 100%;
  height: 100%;
  position: relative;
}

div.leftpanel-footer {
	height: 55px; 
	position: absolute;
  padding: 10px;
	color: #000;
  font-size: 10px;
/*	padding-left: 20px;
	padding-right: 20px;*/
	text-decoration: none; 
/*	text-align: center;*/
/*	opacity: 0.5;*/
  bottom: 10px;
}

a.leftpanel-footer-links {
  padding: 0px 15px;
  font-size: 13px;
}

div.leftpanel-footer img {
  padding: 0px 4px;
}

#leftpanel-upfooter {
  position: absolute;
  bottom: 80px;
  text-align: center;
  width: 100%;
}

#leftpanel-topbuttons {
  text-align: center;
}

.button {
  border: 1px solid #DDD;
  border-radius: 3px;
  padding: 4px 6px;
  display: inline;
  cursor: pointer; 
  background-color: whiteSmoke;
  color: rgb(51,51,51);
}

.bigger {
  font-size: 130%;
}

.point-data-button {
  cursor: pointer;
  background-color: rgba(90,102,125,.7);
  text-align: center;
  padding: 1px 5px 3px 5px;
  color: white;
  border-radius: 7px;
}

.modal-content {
  padding: 15px 20px 10px 20px;
}
/*.modal-content > p {
  margin: 0;
}*/
.modal-dialog {
  width: 800px;
}


input[type="number"] {
  width: 7em;
}

div#printmap {
	cursor:pointer; 
}

img.mailto {
  height: 1em;
}

.logo {
  vertical-align:middle;
/*        padding-right:3px;*/
}

.icon-zoom {
  vertical-align: middle;
  cursor: pointer;
/*        padding-left: 4px;*/
}

.legend_checked, .transp_checked {
  height: 1em;
  vertical-align: middle;
  cursor: pointer;
}
.legend_checked {
  background-color: #000;
  border-radius: 10px;
}
.transp_checked {
  opacity: 0.5;
}

.layerBtns {
  position: absolute;
  right: 5px;
}
.inlineBtn {
  height: 1em;
  vertical-align: middle;
  cursor: pointer;
}

.zoombutton { 
	font-size: 1.2em; 
	width: 105px; 
	height: 40px; 
	padding-top: 4px; 
	padding-left: 12px;
	padding-right: 12px;
	text-align: center;
	text-decoration: none; 
	color: #32384a; 
	background: #fff; 
	background: -webkit-linear-gradient( #aaaaaa, #eaeaea); 
	background: -moz-linear-gradient( #aaaaaa, #eaeaea); 
	background: -ms-linear-gradient( #aaaaaa, #eaeaea); 
	background: -o-linear-gradient( #aaaaaa, #eaeaea); 
	background: linear-gradient( #aaaaaa, #eaeaea);
	border-radius: 6px;
	text-shadow: 0px 1px 0px rgba( 0, 0, 0, 0.2);
}

.folder {
	color: #f0f0f0;
/*	font: Verdana, Geneva, sans-serif!important;*/
	cursor: pointer;
	text-decoration: none;
	font-size: 1.2em;
	z-index:1;
}

.subfolder {
	color: #f0f0f0;
	font: Verdana, Geneva, sans-serif!important;
	cursor: pointer;
	text-decoration: none;
	margin-left:7px!important;
}

.layer {
	color: #f0f0f0;
	font: Verdana, Geneva, sans-serif!important;
	text-decoration: none;
	margin-left:12px!important;
	padding-top:8px;
}

.sublayer {
	color: #f0f0f0;
	font: Verdana, Geneva, sans-serif!important;
	text-decoration: none;
	margin-left:30px!important;
	padding-top:8px;
}

.list-li-1 {
	color: #f0f0f0;
	font: Verdana, Geneva, sans-serif!important;
	cursor: pointer;
	text-decoration: none;
	margin-left: 15px;
}

.list-li-2 {
	color: #f0f0f0;
	font: Verdana, Geneva, sans-serif!important;
	cursor: pointer;
	text-decoration: none;
	margin-left: 30px;
}

/**
 * Legend objects
 */

.closelegend {
  position: absolute ;
  margin: 2px;
  top: -9px;
  right: -9px;
  cursor: pointer;
  z-index: 1001;
}

.legend {
  position: absolute ;
  top: 9em;
  right: 1em;
	z-index: 1000;
  max-width: 35%;
  max-height: 90%;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  padding: 2px;
  overflow: auto;
}

.legend > div {
  margin: 1px;
  padding: 7px;
  color: white;
  background: rgba(90, 102, 125, 0.7);
}
.legend h2 {
  padding: 7px 0px;
}

.legend td:first-child {
  border: 1px solid black;
  width: 2em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}


/*img.legendimg {
  max-width: 100%;
  max-height: 100%;
}

img.legendimgclose {
  max-width: 100%;
  max-height: 100%;
}*/

.tab {
  list-style: none;
  text-decoration: none;
  border-bottom: 1px solid #AAA;
  padding: 0 0 4px 0;
  margin: 0;
}

.tab > li > a {
  color: #000;
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid #DDD;
  border-radius: 6px 6px 0 0;
  border-bottom-color: transparent;
  outline: none;
}
.tab > .active > a {
  background-color: #fff;
  border: 1px solid #AAA;
  border-bottom-color: transparent;
}

.tab > li {
/*  margin-bottom: -1px;*/
  display: inline;
}

.tab > li a:hover {
/*  background-color: #eee;*/
  color: #009;
}



.menu-content {
/*  background-color: #eee; */
  margin: 0;
  /*border: 1px solid #AAA;
  border-top: 0px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;*/
}

.menu-pane {
  margin-left: 10px;
  margin-right: 10px;
  position: relative;
}
.menu-pane > i {
  padding: 10px;
  display: block;
}




.ui-slider {
	margin: 20px 20px 5px 20px;
}

.slide_curVal {
  width: 100%; text-align: center; 
}

.slider_box {
  margin-bottom: 10px;
}

.clear {
  clear: both;
}

.modalCloseBtn {
  z-index: 1;
  position: absolute;
  top: -14px;
  right: -18px;
  cursor: pointer;
  border: none;
  background-color: transparent;
}


/* ucl rights */
.imgAttrib {
/*  height: 5%;
  min-height: 10px;
  min-width: ;
  padding-right: 2%;*/
  height: 15px;
  padding-right: 10px;
}


.ol-zoom {
  top: 6em; /* = topbar height + shift */
}
.ol-zoom-extent {
  top: 10em!important; /* = topbar height + shift + 4em */
}
.ol-zoom-extent img {
  max-height: 20px;
  max-width: 20px;
  margin-top: -4px;
}
.ol-mouse-position {
  top: 6em;
  background-color: rgba(255,255,255,.7);
  padding: 1px 7px 3px 7px;
  border-radius: 4px;
}
.ol-attribution.ol-uncollapsible {
  bottom: .5em;
}

/* slider */
slider {
  display: inline-block;
  position: relative;
  height: 7px;
  width: 90%;
  margin: 5% 5% 5% 5%;
  vertical-align: middle;
}
slider span {
  white-space: nowrap;
  position: absolute;
  display: inline-block;
}
slider span.base {
  width: 100%;
  height: 100%;
  padding: 0;
}
slider span.bar {
  width: 100%;
  height: 100%;
  z-index: 0;
  -webkit-border-radius: 1em/1em;
  border-radius: 1em/1em;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #c0c0c0), color-stop(1, #8d8d8d));
  background: -webkit-linear-gradient(top, #c0c0c0 0, #8d8d8d 100%);
  background: -moz-linear-gradient(top, #c0c0c0 0, #8d8d8d 100%);
  background: -o-linear-gradient(top, #c0c0c0 0, #8d8d8d 100%);
  background: -ms-linear-gradient(top, #c0c0c0 0, #8d8d8d 100%);
  background: linear-gradient(top, #c0c0c0 0, #8d8d8d 100%);
  -webkit-box-shadow: inset 2px 2px 5px;
  box-shadow: inset 2px 2px 5px;
}
slider span.bar.selection {
  width: 0%;
  z-index: 1;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #13b6ff), color-stop(1, #00a8f3));
  background: -webkit-linear-gradient(top, #13b6ff 0, #00a8f3 100%);
  background: -moz-linear-gradient(top, #13b6ff 0, #00a8f3 100%);
  background: -o-linear-gradient(top, #13b6ff 0, #00a8f3 100%);
  background: -ms-linear-gradient(top, #13b6ff 0, #00a8f3 100%);
  background: linear-gradient(top, #13b6ff 0, #00a8f3 100%);
  -webkit-box-shadow: none;
  box-shadow: none;
}
slider span.pointer {
  cursor: pointer;
  width: 20px;
  height: 20px;
  top: -8px;
  background-color: #fff;
  border: 1px solid #000;
  z-index: 2;
  -webkit-border-radius: 1em/1em;
  border-radius: 1em/1em;
}
slider span.pointer:after {
  content: '';
  background-color: #808080;
  width: 8px;
  height: 8px;
  position: absolute;
  top: 6px;
  left: 6px;
  -webkit-border-radius: 1em/1em;
  border-radius: 1em/1em;
}
slider span.pointer:hover:after {
  background-color: #000;
}
slider span.pointer.active:after {
  background-color: #f00;
}
slider span.bubble {
  cursor: default;
  top: -22px;
  padding: 1px 3px 1px 3px;
  font-size: 0.7em;
  font-family: sans-serif;
}
slider span.bubble.selection {
  top: 15px;
}
slider span.bubble.limit {
  color: #808080;
}

.languagepicker {
  display: inline-block;
  width: 100%;
  height: 50px;
  top: 0px;
  z-index: 100;
}

.languagepicker a {
  padding: 0 !important;
  display: block;
  height: 100%;
}

.languagepicker img {
  height: 20px;
  /*position: relative;*/
  margin-top: 15px;
  margin-top: 15px;
}

.languagepicker .currentFlag {
  height: 50px;
  width: 50px;
  /*display: table-cell;
  vertical-align: middle;*/
}

.languagepicker .otherFlags {
  background-color: rgba(255,255,255,0.9);
  height: 50px;
  width: 50px;
  display: none;
}

.languagepicker:hover {
  background-color: rgba(255,255,255,0.9);
}

.languagepicker:hover .otherFlags {
  display: block;
  /*vertical-align: middle;*/
}

.languagepicker .currentFlag:hover {
  background-color: rgba(211,211,211,.5);
}
.languagepicker .otherFlags:hover {
  background-color: rgba(211,211,211,.5);
}