#viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

#map-wrapper {
  /*
  height: 100%;
  padding-right: 420px;
  padding-bottom: 80px;
  position: relative;
  */
  display: block;
  position:absolute;
  height:auto;
  bottom:0;
  top:0;
  left:0;
  right:0;
  margin-top:0px;
  margin-bottom:80px;
  margin-right:320px;
  margin-left:0px;
  background-color: green;
}

#map {
  width: 100%;
  height: 100%;
  background-color: black; /*#5A5A6E;*/
}
#map div.olControlScaleLine{
  bottom: 20px;
  background-color: white;
  padding: 2px;
  opacity: 0.8;
  left: initial!important;
  right: 6px;
  border-radius: 2px;
}
#map div.olControlMousePosition {
}
div.SDPControlZoom {
  right: auto;
  left: 12px;
  z-index: 1010;
  position: absolute;
  top: 12px;
  background: rgba(255,255,255,0.4);
  border-radius: 4px;
  padding: 2px;
}
div.SDPControlZoom a {
  display: block;
  margin: 1px;
  padding: 0;
  font-size: 24px;
  font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
  text-decoration: none;
  text-align: center;
  height: 32px;
  width: 32px;
  line-height: 28px;
  background: rgba(0, 60, 136, 0.5);
  color: black;
  background-color: #fff;
  border-color: #ccc;
  border-style: solid;
  border-width: 1px;
}
div.SDPControlZoom a:hover {    
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}
a.SDPControlZoomIn {
    border-radius: 4px 4px 0 0;
}
a.SDPControlZoomOut {
    border-radius: 0 0 4px 4px;
}
#btn-zoom-box {
  background-image: url(img/zoom_box.png);
  background-repeat: no-repeat;
  background-position: center;
  width: 33px;
  height: 32px;
  margin: 1px;
  margin-top: 10px;
  display: block;
}
#btn-zoom-box.ol-zoombox-active {
  background-color: #45C1FD;
}
#indices-legend {
  background-image: url(img/legenda_indices.gif);
  background-repeat: no-repeat;
  background-position: center;
  right: auto;
  left: 12px;
  z-index: 1010;
  position: absolute;
  top: 134px;
  border-radius: 4px;
  width: 82px;
  height: 241px;
}
#btn-geolocate {
  background-image: url(img/geolocate.png);
  background-repeat: no-repeat;
  background-position: center;
  width: 33px;
  height: 32px;
  margin: 1px;
  margin-top: 10px;
  display: block;
}
#btn-geolocate.ol-geolocate-active {
  background-color: #45C1FD;
}

.ui-slider-handle-jump-right-button, .ui-slider-handle-jump-left-button {
  position: absolute;
  width: 16px;
  height: 16px;
  top: 0;
  background-repeat: no-repeat;
  cursor: pointer;
}
.ui-slider-handle-jump-right-button {
  right: 0;
  background-image: url(images/jump-right.png);
}
.ui-slider-handle-jump-left-button {
  left: 0;
  background-image: url(images/jump-left.png);
}
#jump-left-button, #jump-right-button {
  position: absolute;
  bottom: 12px;
  width: 48px;
  height: 48px;
  z-index: 1011;
  cursor: pointer;
  opacity: 0.52;
}
#jump-left-button {
  left: 0;
  background-image: url(images/jump-left-big.png);
}
#jump-right-button {
  right: 0;
  background-image: url(images/jump-right-big.png);
}
#slider-wrapper { 
  position: absolute; clear: none; float: left; bottom: 0;
  width: 100%; height: 80px;
  background-color: white;
  border-top: 2px solid #79B7E7;
  z-index: 1010;
}
#slider-wrapper .ui-slider.ui-slider-horizontal {
  margin-right: 45px;
  margin-left: 45px;
  clear: both;
  z-index: 999;
  font-size: 62.5%;
  bottom: -22px;
}
#position-wrapper {
  position: absolute;
  float: right;
  bottom: 0px;
  clear: none;
  right: 0px;
  z-index: 998;
  background-color: white;
  opacity: .8;
  height: 14px;
  text-align: center;
  font-size: 0.92em;
  font-family: monospace;
}
#cursor-position {
  white-space: nowrap;
}
#select-wrapper {
  position: absolute;
  float: left;
  bottom: 100px;
  clear: none;
  left: 12px;
  z-index: 998;
  white-space: nowrap;
  font-family: monospace;
  border: 2px solid #79B7E7;
  border-radius: 6px;
  background-color: white;
  padding: 2px 4px 2px 4px;
}
#selProduct {
  width: 140px;
}
#selDate {
  width: 72px;
}
#image-metadata {
  white-space: nowrap;
}

#info-tab-control {
  float: right;
  top: 0;
  right: 0;
  height: 46px;
  display: table;
  z-index: 1010;
  position: absolute;
  width: 320px;
}
#info-tab-control.contracted {
  background-image: url(images/bullets.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px;
  background-position: center bottom 4px;
  background-color: rgba(255, 255, 255, 0.78);
}
#info-tab-control div.tab-control-button-wrapper {
  display: table-row;
  width: 100%;
  height: 48px;
  background: white;
}
#info-tab-control div.tab-control-vspacer {
  display: table-row;
  height: 14px;
}
#info-tab-control div.tab-control-button {
  display: table-cell;
  width: 50%;
  border-bottom: 2px solid #79B7E7;
  border-top: initial;
  border-left: initial;
  border-right: initial;
  padding: 8px;
  cursor: pointer;
}
#info-tab-control div.tab-control-button.selected {
  border-top: 4px solid #79B7E7;
  border-left: 2px solid #79B7E7;
  border-right: 2px solid #79B7E7;
  border-bottom: initial;
}
#info-tab-control.expanded div.tab-control-button.selected {
  background: url(images/tab-control-expanded.png);
  background-repeat: no-repeat;
  background-size: 32px;
  background-position: right 12px center;
}
#info-tab-control.contracted div.tab-control-button {
  background: url(images/tab-control-contracted.png);
  background-repeat: no-repeat;
  background-size: 32px;
  background-position: right 12px center;
  border-bottom: 2px solid rgba(116, 151, 179, 0.59);
}

#info-wrapper, #shortlist-wrapper {
  float: right;
  top: 48px;
  bottom: 82px;
  right: 0;
  width: 320px;
  /* min-width: 420px; */
  /* border-radius: 6px;
  border: 2px solid #79B7E7; */
  position: absolute;
  z-index: 999;
  background-color: white;
  /* padding-bottom: 82px; */
  overflow: hidden; 
}

#shortlist-header {
  padding: 14px 4px 2px 8px;
}

#shortlist {
  overflow-y: auto;
  padding: 14px 4px 2px 8px;
  bottom: 0;
  right: 0;
  position: absolute;
  top: 50px;
  min-width: 308px;
}

#shortlist ul {
  -webkit-margin-before: 0;
}

#control-wrapper {
  float: left;
  top: 14px;
  left: 62px;
  /* width: 220px; */
  height: 22px;
  border-radius: 6px;
  border: 2px solid #79B7E7;
  padding: 6px;
  position: absolute;
  z-index: 999;
  background-color: white;
  display: table;
  overflow: hidden;
  /* background-color: rgba(255,255,255,0.8); */
  border-collapse: separate;
}
#parcel-display {
  display: table-row;
}
#parcel-display>span {
  margin-right: 10px;
}
#content-header {
  padding: 4px 4px 2px 8px;
  position: relative;
  display: table;
  /* height: 78px; */
  width: 100%;
  border-bottom: 2px solid #79B7E7;
}
#bcase-title {
  color: steelblue;
  font-weight: bold;
  display: block;
  position: absolute;
  top: 6px;
}

#fullscreen-button {
  position:absolute;
  bottom: 12px;
  right: 22px;
  background-image: url(images/fullscreen.png);
  background-repeat: no-repeat;
  background-size: 46px;
  width: 46px;
  height: 46px;
  padding: 2px;
  background-position: center;
  cursor: pointer;
}
#fullscreen-button:hover {
  background-color: rgba(121, 183, 231, 0.36);
  border-radius: 4px;
}
#cropmon-logo {
  position:absolute;
  top: 2px;
  left: 12px;
  background-image: url(images/cropmon_202_52.jpg);
  background-repeat: no-repeat;
  width: 202px;
  height: 52px;
}

#object-props {
  display: table-cell;
  text-align: left;
  vertical-align: middle;
  /*
  clear: both;
  margin-top: 22px;
  */
}
#object-props table td.first {
  width: 100px;
}
#content-wrapper {
  display: block;
  position:absolute;
  height:auto;
  bottom:0;
  top:0;
  left:0;
  right:0;
  margin-top:88px;
  margin-bottom:270px;
  margin-right:0px;
  margin-left:0px;
  overflow-y: auto;
}
#content-wrapper table {
  clear: both;
  /*background: #ccc; */
  /* margin: 2px 0; */
  border-bottom: 2px solid steelblue;
  border-color: #93CAF5;
  font-family: arial, helvetica, sans-serif;
  font-size: 10pt;
  width: 100%;
}
#content-wrapper table tr td {
  background: #fff;
  padding: 3px;
  padding-left: 6px;
  vertical-align: top;
  border-width: 1px;
}
#content-wrapper table tr td.first {
  width: 100px;
}
#content-wrapper table tr.table-caption td, #content-wrapper table tr.table-caption:nth-child(odd) td {
  text-align: left;
  padding: 5px;
  padding-left: 6px;
  background: steelblue;
  color: white;
  font-weight: bold;
}
#content-wrapper table tr:nth-child(odd) td {
  background: aliceblue;
}
#object-props {
  font-size: .82em;
  font-weight: bold;
}
#chart-wrapper {
  position: absolute;
  display: table-row;
  float: left;
  bottom: 4px;
  width: 100%;
  /* padding-bottom: 20px; */
}
#chart-label {
  display: block;
  margin-left: 12px;
  color: steelblue;
  font-weight: bold;
  height: 18px;
}
#chart-container {
  display: block;
  width: 100%;
  font-size: 62.5%;
  position: relative;
}
.axis path, .axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}
.x.axis path {
  display: none;
}
.segment-curve {
  fill: none;
  stroke: blue;
  stroke-width: 1.5px;
}
.parcel-curve {
  fill: none;
  stroke: green;
  stroke-width: 2.5px;
}
.cursor-line {
  stroke: #FF0000;
  stroke-width: 2;
  stroke-dasharray: 4, 2;
}

/* .ui-slider li span.ui-widget-content, */
/*.ui-slider.nvwa-cir dd.ui-slider-tic-enabled span.ui-widget-content.nvwa-cir */
.ui-slider.ts-theme-rgb dd span.ui-widget-content.ts-theme-rgb {
  border-left-width: 3px;
  border-left-color: red;
  z-index: 1001;
}
.ui-slider.ts-theme-cir dd span.ui-widget-content.ts-theme-cir {
  border-left-width: 3px;
  border-left-color: red;
  z-index: 1001;
}
.ui-slider.ts-theme-swir dd span.ui-widget-content.ts-theme-swir {
  border-left-width: 3px;
  border-left-color: red;
  z-index: 1001;
}
.ui-slider.ts-theme-light-intensity dd span.ui-widget-content.ts-theme-light-intensity {
  border-left-width: 3px;
  border-left-color: red;
  z-index: 1001;
}
.ui-slider.ts-theme-ndvi dd span.ui-widget-content.ts-theme-ndvi {
  border-left-width: 3px;
  border-left-color: red;
  z-index: 1001;
}
.ui-slider.ts-theme-wdvi dd span.ui-widget-content.ts-theme-wdvi {
  border-left-width: 3px;
  border-left-color: red;
  z-index: 1001;
}
.ui-slider.ts-theme-ndi7 dd span.ui-widget-content.ts-theme-ndi7 {
  border-left-width: 3px;
  border-left-color: blue;
  z-index: 1001;
}
.ui-slider.ts-theme-ndii dd span.ui-widget-content.ts-theme-ndii {
  border-left-width: 3px;
  border-left-color: red;
  z-index: 1001;
}
.ui-slider.ts-theme-savi dd span.ui-widget-content.ts-theme-savi {
  border-left-width: 3px;
  border-left-color: red;
  z-index: 1001;
}
.ui-slider.ts-theme-tcariosavi dd span.ui-widget-content.ts-theme-tcariosavi {
  border-left-width: 3px;
  border-left-color: red;
  z-index: 1001;
}