
body, html {
  margin: 0;
  padding: 0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
}

/* overwrite bootstrap.min.css */
* {
  box-sizing: content-box;
  /*  box-sizing: border-box; */
}

/* top logo band */
.topBand {
  height: 80px;
  background-color: #009CD1;
  vertical-align: bottom;
  overflow: hidden;
}
.topBand:first-child:before {
  content: ".";
  visibility: hidden;
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.topBand img {
  vertical-align: middle;
  max-height: 80px;
  border: none;
}
.topBand .final {
  position: absolute;
  right: 0;
}
.topBand .CCILC {
  margin: 4px;
  height: 72px;
}
.topBand .two  {
  display: inline-block;
  vertical-align: middle;
  margin: 0 5px;
}
.topBand .two div {
  height: 36px;
  max-width: 150px;
  margin: 2px auto;
  text-align: center;
}
.topBand .two img {
  max-height: 36px;
  max-width: 150px;
}

/* top black band */
.midBand {
  position: absolute;
  height: 15px;
  top: 0px;
  width: 100%;
  background-color: #000;
  color: #E4E9EB;
  font-size: 7.5pt;
  font-weight: bold;
  padding-top: 3px;
  text-align: center;
}
.midBand.withHeader {
  top: 80px;
}
.midBand a.mid {
  color: #E4E9EB;
  text-decoration: none;
}
.midBand .left {
  float: left;
  margin-left: 10px;
}
.midBand .center a.mid {
/*  border-left: 1px solid #fff; */
  padding: 0;/*px 6px 0 5px;*/
}
/*.midBand .center a:first-child {
  border-left: 0;
}*/
.midBand .center a.mid.active {
  text-decoration: underline;
}
.midBand .right {
  float: right;
}
.midBand i {
  cursor: pointer;
}

.legendChange {
  width: 14em;
  position: absolute;
  top: 8px;
  left: 40px;
  z-index: 1001;
}
.legendChange div {
  border: 1px solid black;
  /*width: 2em;*/
  /*height: 1em;*/
  /*display: inline-block;*/
  text-align: center;
  margin: 2px 4px;
  border-radius: 4px;
}
.sublink {
  color: #77B;
}
.sublink:hover {
  text-decoration: underline
  color: #44F;
}

/* content structure */
.botBand {
  position: absolute;
  top: 18px;
  bottom: 0;
  width: 100%;
}
.botBand.withHeader {
  top: 98px;
}
.botBand > div {
  height: 100%;
}
.leftpanel {
  background-color: #CCDEEC;
  float: left;
  overflow: auto;
  width: 250px;
  text-align: center;
  position: relative;
}
.leftpanel .top {
  position: absolute;
  width: 100%;
  top: 0;
  bottom: 225px;
  overflow: auto;
}
.leftpanel .top.nocoord {
  bottom: 195px;
}
.leftpanel .bottom {
  position: absolute;
  width: 100%;
  bottom: 0;
}
.middlepanel {
  position: absolute;
  left: 0;
  right: 0;
  background-color: black;
  -webkit-box-shadow: 0 0 25px rgba(0, 0, 0, 0.7) inset;
  -moz-box-shadow: 0 0 25px rgba(0, 0, 0, 0.7) inset;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7) inset;
}
.middlepanel.panelConditions {
  right: 30%;
}
.middlepanel.panelLegend {
  left: 250px;
}
.middlepanel .graph {
  width: 25%;
  position: absolute;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  -webkit-box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
  -moz-box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);  
}
.middlepanel .graph.topright {
  top: 10px;
  right: 10px;
}
.middlepanel .graph.botright {
  bottom: 30px;
  right: 10px;
}
.middlepanel .graph.botmiddle {
  position: relative;
  left: -50%;
  width: 100%;
}
.centerAbs {
  position: absolute;
  left: 50%;
  bottom: 27px;
  width: 25%;
}
.rightpanel {
  width: 30%;
  background-color: #FFFFFF;
  float: right;
  overflow: hidden;
  text-align: center;
  position: relative;
}

/* left panel */
.leftpanel h3 {
  background-color: #009CD1;
  color: white;
  font-size: 12pt;
  padding: 4px 2px 4px 5px;
  margin: 10px 0 10px 0;
  text-align: left;
}
.leftpanel h3:first-child {
  margin-top: 0;
}
.leftpanel h3 span {
  color: #CCC;
}
.leftpanel h3 .switchLegend {
  float: right;
  font-size: 9pt;
  cursor: pointer;
  margin-top: 1px;
  margin-right: 4px;
}
.leftpanel .coord {
  text-align: center;
  font-size: 9pt;
  margin-bottom: -4px;
}

.dwlFile, .dwlPdf, .dwlJpg {
  font-size: 8pt;
  display: block;
  text-align: left;
  margin: 10px 8px 10px 20px;
}
.dwlFile:before, .dwlPdf:before, .dwlJpg:before {
  content: "";
  background-size: 1em 1em;
  background-repeat: no-repeat;
  height: 1.1em;
  width: 1.3em;
  display: inline-block;
  vertical-align: middle;
}
.dwlPdf:before {
  background-image: url("img/pdf-26.png");
}
.dwlJpg:before {
  background-image: url("img/image_file-26.png");
}


table.legend {
  font-size: 9pt;
  text-align: left;
  border-collapse: collapse;
}

.legend td:first-child {
  border: 1px solid black;
  width: 2em;
  height: 1em;
  display: inline-block;
  margin: 2px 4px;
}
.legend tr.active {
  background-color: black;
  color: white;
}

/* right panel */
.rightpanel > img {
  max-width: 98%;
  max-height: 98%;
  margin: 1%;
}
.rightpanel .hideBtn {
  position: absolute;
  top: 5px;
  right: 5px;
}


/* map specific (sup of style-map) */
  /* ol scale */
/*.olControlScaleLine {
  padding: 5px;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, .7);
}*/
.olControlScaleLine {
  bottom: 25px!important;
}
.olControlScaleLineTop, .olControlScaleLineBottom {
  font-family: Roboto,Arial,sans-serif;
  font-size: 11px;
  font-weight: 400;
  text-decoration: none;
}

  /* ol position */
div.olControlMousePosition {
  background-color: rgba(255, 255, 255, .7);
  padding: 3px;
  border-radius: 3px;
  bottom: 3px;
}
  /* ol add lon/lat input */
div.btnLonLatInput {
  position: absolute;
  top: 87px;
  left: 8px;
  z-index: 1000;
}
#divLonLatInput {
  position: absolute;
  top: 70px;
  left: 40px;
  width: 11em;
  background: rgba(255,255,255,0.4);
  border-radius: 4px;
  padding: 2px;
  z-index: 10000;
  font-size: 12px;
}
#divLonLatInput div {
  background: rgba(90,102,125,0.7);
  margin: 1px;
  padding: 0px 3px;
  color: white;
}
#divLonLatInput input {
  width: 4em;
}

/* bootstrap */
.popover {
  position: absolute;
  width: 300px;
  text-align: center;
  z-index: 1010;
  padding: 6px;
  white-space: normal;
  background-color: black;
/*  border: 1px solid rgba(0, 0, 0, 0.2);*/
  border-radius: 0 0 10px 10px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  background-clip: padding-box;
}
.popover .comment {
  color: white;
  margin: 5px 0;
}
.popover .red {
  color: red;
}
.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  margin: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.428571429;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}
.btn-primary {
  color: white;
  background-color: #428BCA;
  border-color: #357EBD;
}
.btn-primary:active, .btn-primary.active {
  color: white;
  background-color: #3276B1;
  border-color: #285E8E;
}
/*.btn-primary:hover {
  background-color: #5095D5;
  border-color: #357EBD;
}*/
.btn:active, .btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.25);
}
.btn-group {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.btn-group > .btn {
  position: relative;
  float: left;
}
.btn-group > .btn:first-child {
  margin-left: 0;
}
.btn-group > .btn:first-child:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.btn-group > .btn:not(:first-child):not(:last-child) {
  border-radius: 0;
}
.btn-group .btn + .btn, .btn-group .btn + .btn-group, .btn-group .btn-group + .btn, .btn-group .btn-group + .btn-group {
  margin-left: -1px;
}
.btn-group > .btn:last-child:not(:first-child) {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.btn-group-lc {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: column wrap;
  flex-flow: column wrap;
  -webkit-align-content: stretch;
   align-content: stretch;
      -webkit-align-items: center;
   align-items: center;
   -webkit-justify-content: center;
   justify-content: center;
   height: 8.4em;
   font-size: 12px;
}
.btn-group-lc > div {
  width: 24%;
  height:1.4em;
}

.small {
  font-size: 12px;
}
