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