html {
 height: 100%;
 font-family: Roboto,Tahoma,Geneva;
}
body {
height: 100%;
margin: 0px;
padding: 0px;
}

#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; 
}



#btnArea {
  position: absolute;
  top: 10px;
  left: 150px;
}


#btnTable {
  position: absolute;
  top: 10px;
  left: calc(50% - 130px);
}

#btnPoint {
  position: absolute;
  top: 10px;
  left: calc(50% - 65px);
}


#btnLine {
  position: absolute;
  top: 10px;
  left: calc(50%);
}

#btnSwitch {
  position: absolute;
  top: 75px;
  left: calc(50%);
  height:30px;
  
}



#btnEdit {
  position: absolute;
  top: 75px;
  left: calc(50% - 65px);
  height:30px;
}

#btnDelete {
  position: absolute;
  top: 10px;
  left: calc(50% + 65px);;
}

#btnGps {
  position: absolute;
  bottom: 10px;
  left: calc(50%);
}

.btn-active {
  background-color: #005823 !important;
  color: white !important;
}

/* --- Vlachovice ------------------------------------------------------- */

#exportSHP {
  font-size: 15pt;
  position: absolute;
  bottom: 65px;
  color: #fff;
  width: 100%;
  text-align: center;
  line-height: 45px;
  cursor: pointer;
}

#sidebar input[type=text], #sidebar input[type=search], #sidebar input[type=number], #sidebar select, #sidebar textarea {
  width: 100%;
  box-sizing: border-box;
  font-size: 16px;   /* bez automatického zoomu na iOS */
}
#sidebar td:first-child { width: 45%; }

.chyba { color: #c00; }
.odkaz { color: blue; cursor: pointer; }

.fotobunka { overflow: hidden; }
.fotobunka a { line-height: 30px; }
#rfoto1, #rfoto2, #rfoto3 { display: none; cursor: pointer; }
#lfoto1, #lfoto2, #lfoto3 { cursor: pointer; }

table.prehled td, table.legenda td { text-align: left; }
table.prehled td:not(:first-child) { text-align: right; }
table.legenda td:first-child { width: 36px; text-align: center; }
table.legenda .material-icons { font-size: 20px; color: #555; }

.lg-bod {
  display: inline-block; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid #F7F7F7; box-shadow: 0 0 0 1px #999; vertical-align: middle;
}
.lg-bod.lg-maly { width: 6px; height: 6px; }
.lg-car { display: inline-block; width: 26px; height: 4px; vertical-align: middle; }

#hlaska {
  display: none;
  position: absolute;
  top: 140px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 1000;
  max-width: 80%;
  text-align: center;
}

.ol-scale-line { left: auto; right: 8px; bottom: 8px; }

/* na mobilu by tlačítka nástrojů překryla zoom */
@media (max-width: 600px) {
  .sidebar-map .ol-zoom { top: auto; bottom: 40px; }
}

/* vyhledávání */
#hledat { padding: 6px; }
#vysledky { list-style: none; padding: 0; margin: 0; }
#vysledky li { padding: 9px 6px; border-bottom: 1px solid #ddd; cursor: pointer; }
#vysledky li:hover, #vysledky li.prvni { background: #eef5ea; }
#vysledky .pomoc { margin-left: 6px; }
.hl-znacka {
  display: inline-block; width: 12px; height: 12px; border-radius: 50%;
  margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 1px #999;
}
.hl-znacka.hl-usek { width: 16px; height: 4px; border-radius: 0; box-shadow: none; }
