html {
 height: 100%;
 font-family: Roboto,Tahoma,Geneva;
}
body {
height: 100%;
margin: 0px;
padding: 0px;
background-color:cornflowerblue;
}

.wrapper {
    height: 100%;
		display: grid;
    grid-gap: 10px;
		grid-template-columns: [col1-start] 40%  [col2-start] 40%  [col3-start] calc(20% - 20px) [col3-end];
		grid-template-rows: [row1-start] 66% [row2-start] calc(34% - 10px) [row2-end];
		background-color: #fff;
		color: #444;
	}

	.box {
		background-color:slategray;
		color: #fff;
		/*border-radius: 5px;*/
		font-size: 100%;

	}

  
	.horni {
		grid-column: col1-start / col3-start;
		grid-row: row1-start ;
    position:relative;
	}
	.infosloup {
		grid-column: col3-start ;
		grid-row: row1-start / row2-end;
	}
	.leva {
		grid-column: col1-start;
		grid-row: row2-start ;
    position:relative;
	}
	.prava {
		grid-column: col2-start ;
		grid-row: row2-start ;
    position:relative;
	}
  
  .map {
   height: 100%;
   touch-action: pinch-zoom;
  }
  
  #id {
    background-color:gray;
  }
 
 #cosi {
  padding:20px;
  overflow: auto;
  height: calc(100% - 40px);
 } 


 .rs-control .rs-range-color {
    background-color: #0d4d84;
}
.rs-control .rs-path-color {
    background-color: rgb(121,118,119);
}
.rs-control .rs-handle {
    background-color: white;
}
#linie .rs-control .rs-bg-color {
    background-image: url(../img/zm10.PNG);
}

#vykricnik .rs-control .rs-bg-color {
    background-image: url(../img/vykricnik.PNG);
}

.lege {
      min-height: 60px;
}

.legen {
      margin-left: 45px;
      padding-bottom:10px;
      font-size:small;
}

#napoveda ul li {
    font-size:small!important;
}

.rs-control .rs-path-color {
  filter: opacity(0.6);
}

 .nobr {
    border-radius: 10px;
    width: 40px;
    /*opacity: 0.3;*/
    filter: alpha(opacity=30);
    float:left;
     padding:5px;
     cursor:pointer
}


 select {
    vertical-align: middle;
    margin: 0px 10px 5px 0;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
}



#fade {
    display: none;
    position:absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: #ababab;
    z-index: 1001;
    -moz-opacity: 0.8;
    opacity: .70;
    filter: alpha(opacity=80);
}

#modal {
    display: none;
    position: absolute;
    top: 45%;
    left: 45%;
    width: 64px;
    height: 64px;
    padding:30px 15px 0px;
    border: 3px solid #ababab;
    box-shadow:1px 1px 10px #ababab;
    border-radius:20px;
    background-color: white;
    z-index: 1002;
    text-align:center;
    overflow: auto;
}



 #lfoto1,#lfoto2,#lfoto3{
     background:green;
     border-radius: 20px;
     width: 30px;
     height: 30px;
     position:relative;
     display:table-cell;
     vertical-align:middle;
	 text-align:center;
	 float:left;
	 font-size:20px;
	 color:white;
	 margin-right: 15px;
 }
 
  #rfoto1,#rfoto2,#rfoto3{
     background:red;
     border-radius: 20px;
     width: 30px;
     height: 30px;
     position:relative;
     display:table-cell;
     vertical-align:middle;
	 text-align:center;
	 float:left;
	 font-size:20px;
	 color:white;
	 margin-right: 15px;
 }
 
#nazvysubjektu,#nazvyzlvcek, #prepjed, .pomoc{
  font-size: small;
  color: grey;
}

.pc,#refreshlv{
	color:blue;
	cursor: pointer;
}


#map {
 height: 100%;
 touch-action: pinch-zoom;
}

button.active{
  background-color: #0074d9;
}

table {
    font-family: Roboto,Tahoma,Geneva;
    border-collapse: collapse;
    width: 100%;
}

thead {
  font-size: small;
  color: grey;
}

td, th {
    border: 0px solid #dddddd;
    padding: 5px;
    text-align: right;
}


tr:nth-child(even) {
    background-color: #dddddd;
}

td:nth-child(1), td:nth-child(2) {
    text-align: left;
}​

#historickestats td:nth-child(1), #historickestats td:nth-child(2) {
    text-align: right !important;
}​

#histtab td:nth-child(1), #histtab td:nth-child(2) {
    text-align: right !important;
}​

.rel {
position: relative
}

#plot {
pointer-events: none;
position: absolute;
bottom: 10px;
left: 10px;
}

.bar {
pointer-events: auto;
fill: #AFAFB9;
}

.bar.selected {
fill: green;
}

.tip {
position: absolute;
background: black;
color: white;
padding: 6px;
font-size: 12px;
border-radius: 4px;
margin-bottom: 10px;
display: none;
opacity: 0;
}

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(icons/MaterialIcons-Regular.eot); /* For IE6-8 */
  src: local('Material Icons'),
       local('MaterialIcons-Regular'),
       url(icons/MaterialIcons-Regular.woff2) format('woff2'),
       url(icons/MaterialIcons-Regular.woff) format('woff'),
       url(icons/MaterialIcons-Regular.ttf) format('truetype');
}


.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}







#tools { 
 font-size: 14em; 
}

#btnReload {
  position: absolute;
  top: 10px;
  left: calc(50% - 260px);
}

#btnSplit {
  position: absolute;
  top: 10px;
  left: calc(50% - 195px);
}

#btnEdit {
  position: absolute;
  top: 10px;
  left: calc(50% - 130px);
}

#btnDelete {
  position: absolute;
  top: 10px;
  left: calc(50% - 65px);;
}

#btnOK {
  display:none;
  position: absolute;
  top: 10px;
  left: calc(50%);
  background-color: #47ec35 !important;
  color: #000 !important;
}


#btnStorno {
  display:none;
  position: absolute;
  top: 10px;
  left: calc(50% + 65px);
  background-color: #000000 !important;
  color: #fff !important;
}




#btnTable {
  position: absolute;
  top: 10px;
  left: calc(50% + 195px);
  background-color: #e0cf56 !important;
  color: #444 !important;
}

#btnPoint {
  position: absolute;
  top: 10px;
  left: calc(50% + 260px);
  background-color: #e0cf56 !important;
  color: #444 !important;
}


#btnLine {
  position: absolute;
  top: 10px;
  left: 80px;
}

#btnArea {
  position: absolute;
  top: 10px;
  left: calc(50% - 195px);
}

#btnOrez {
  display:none;
  position: absolute;
  bottom: 10px;
  left: calc(50% - 195px);
  background-color: red !important;
}





#btnGps {
  position: absolute;
  bottom: 10px;
  left: calc(40% + 97px);
}

.btn-active {
  background-color: #0d4d84 !important;
  color: white !important;
}




.ol-control.ol-bar.tlacidla
{
	min-height: 1em;
	min-width: 1em;
	position: absolute;
  top: 10px;
  left: calc(50% + 325px);
}


.search-input > div > button:before {
  content: '\00b1';
}
.ol-viewport .ol-scale {
	left: .5em;
	bottom: 2.5em;
	text-align: center;
	-webkit-transform: scaleX(.8);
	-webkit-transform-origin: 0 0;
	transform: scaleX(.8);
	transform-origin: 0 0;
}
.ol-viewport .ol-scale input {
	background: none;
    border: 0;
    width: 8em;
    text-align: center;
}

.ol-search{
	position: absolute;
  top: 25px;
  left: calc(50% + 130px);
  color: slategray;
  width:70px;
}
.ol-touch .ol-search {
  left: 3.5em;
}
.ol-search button {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAABPUlEQVQoU41SwXHCQAzUHh58eoUOIBWEDkI6oAToIKkg7iAuwakgpAIowXRACcnrzp6BzchjMx4wE/S6kW5XK60gvQghzJIkmVoqSZI9gJ9+/fINS5Cc1HX9QXIlIr/tpwcRyb33b7cIGnAIYQdg4pxbjcfj0nJ1Xc+Px+PGObdN03Q9RIAQwgpAnqbp7FKmjQGgJLlU1d2V7BjjRkQO3vvXIXarkyxVNbsCm2QR2Q0V7XOMMReRmfd+OQQubN6hYgs22ZtbnRcAtiRfLueqqmpJ8ovko6oeBq0KIWQA3gFkzrlmMafTaUEyI/mpqmbhVTRWWbRdbClPbeobQNES5KPRqOxs7DBn8K1DsAOKMZYApiTXqlrcDe4d0XN7jWeCfzt351tVle2iGalTcBd4gGDvvZ/fDe4RmCOFLe8Pr7mvEP2N9PQAAAAASUVORK5CYII=");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 1em;
  top: 2px;
  left: 2px;
  float: left;
}

.ol-search button.ol-revers {
  float: none;
  background-image: none;
  display: inline-block;
  vertical-align: bottom;
  position: relative;
  top: 0;
  left: 0;
}
.ol-search.ol-revers button.ol-revers {
  background-color: rgba(0,136,60,.5)
}

.ol-control.ol-search.ol-collapsed button.ol-revers {
  display: none;
}
.ol-search button.ol-revers:before {
  content: "";
  border: .1em solid currentColor;
  position: absolute;
  left: 50%;
  right: 50%;
  -webkit-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
  border-radius: 50%;
  width: .55em;
  height: .55em;
}
.ol-search button.ol-revers:after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  -webkit-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
  width: .2em;
  height: .2em;
  background-color: transparent;
  -webkit-box-shadow: .4em 0 currentColor, 0 .4em currentColor, -.4em 0 currentColor, 0 -.4em currentColor;
          box-shadow: .4em 0 currentColor, 0 .4em currentColor, -.4em 0 currentColor, 0 -.4em currentColor;
}

.ol-search input {
  display: inline-block;
  border: 0;
  margin: 1px 1px 1px 2px;
  font-size: 0.8em;
  padding-left: 0.3em;
  height: 1.375em;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
  width:65px;
}
.ol-touch .ol-search input,
.ol-touch .ol-search ul {
  font-size: 1.5em;
}
.ol-search.ol-revers > ul,
.ol-control.ol-search.ol-collapsed > * {
  display: none;
}
.ol-control.ol-search.ol-collapsed > button {
  display: block;
}

.ol-search ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
  clear: both;
  cursor: pointer;
  max-width: 17em;
  overflow-x: hidden;
  z-index: 1;
  background: #fff;
}
/*
.ol-control.ol-search ul {
  position: absolute;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
}
*/
.ol-search ul li {
  padding: 0.1em 0.5em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ol-search ul li.select,
.ol-search ul li:hover {
  background-color: rgba(0,60,136,.5);
  color: #fff;
}
.ol-search ul li img {
  float: left;
  max-height: 2em;
}
.ol-search li.copy {
    background: rgba(0,0,0,.5);
  color: #fff;
}
.ol-search li.copy a {
  color: #fff;
  text-decoration: none;
}

.ol-search.searching:before {
  content: '';
  position: absolute;
  height: 3px;
  left: 0;
  top: 1.6em;
  -webkit-animation: pulse .5s infinite alternate linear;
          animation: pulse .5s infinite alternate linear;
  background: red;
  z-index: 2;
}

