/* CSS Document */

/* MOBIL */
body {
  /* background-color: rgb(235, 235, 235); */
  margin: 0;
  background-image: url("http://www.ucetnictvi.biz/files/dust_scratches.png");
  /*background-size: cover;*/
  height: auto;
  font-family: "Programme", sans-serif;
}

.tabulka {
  background-color: white;
}

.mail, .phone, .mapa, .firma {
  width: 100%;
  /*min-height: 25%;*/
  text-align: center;
}

.mail {
  padding-bottom: 5%;
}

.menu {
  border: none;
  width: 100%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.51);
}

a {
  width: 100%;
  display: flex;
  color: white;
  text-decoration: none;
  font-size: 1.2em;
  justify-content: center;
  padding: 2% 0 2% 0;
}

.adresa {
  width: auto;
  color: black;
  padding: 0;
  font-size: 1em;
}

.adresa:hover {
  background-color: transparent;
  color: white;
}

a:hover, .domu {
  background-color: rgb(137, 199, 49);
  color: black;
}

ul {
  list-style: none;
  padding: 0;
}

.seznam {
  display: none;
  position: static;
  background-color: lightgray;
  color: black;
}

.zobraz:hover .seznam {
  display: block;
}

.seznam a {
  color: black;
}

.domu:hover {
  color: white;
}

.ikona {
  padding: 10px 0 0 0;
  margin: 0;
  height: auto;
  background-color: transparent;
  border: none;
}

h1 {
  text-align: center;
  padding: 4% 0 2% 0;
  width: 100%;
  margin-top: 21.440px;
}

section {
  box-sizing: border-box;
  justify-content: center;
  /* height: 200px; */
}

.firma {
  padding: 5% 0;
}

footer {
  background-color: rgba(0, 0, 0, 0.51);
  margin-bottom: auto;
  text-align: center;
  color: white;
}

.text {
  height: auto;
  text-align: justify;
  /*   display: grid; */
}

/* odd - liché
   even - sudé
 */
/*table tr:nth-child(even) {*/
/*background-color: lightgray;*/
/*}*/
table {
  /* border: rgba(0, 0, 0, 0.51) solid 2px; */

  text-align: left;
  font-family: "Programme", sans-serif;
  margin: 0 5% 10% 5%;
  background-color: white;
  width: 90%;
}

td {
  padding: 2%;
  font-weight: bold;
  text-align: left;
}

.ceny {
  width: 30%;
  text-align: right;
  font-weight: normal;
}

caption, th {
  text-transform: uppercase;
  color: rgb(137, 199, 49);
  background-color: white;
}

th {
  padding-top: 8%;
  text-align: right;
}

.levo {
  text-align: left;
}

caption {
  color: black;
  font-weight: bold;
  font-size: 1.5em;
  padding: 5% 5% 0 5%;
}

.sluzby {
  padding: 10px 0;
}

.sluzbyLI {
  display: grid;
  padding: 25px 0 0 25px;
  margin-top: 0;
}

.sluzbyLI li {
  color: black;
  list-style: circle;
  display: list-item;
  text-align: left;
  font-size: 1.1em;
  margin-top: 10px;
}

.text p {
  text-indent: 20px;
  padding: 0 2% 0 2%;
}

div {
  background-color: white;
  border: rgba(0, 0, 0, 0.51) 1px solid;
}

/* tablet*/
@media only screen and (min-width: 600px) {
  body {
    width: 85%;
    margin: 0 7.5% 0 7.5%;
  }

  .polozka, .zobraz {
    border-bottom: rgb(137, 199, 49) 2px solid;
    width: 25%;
  }

  .mail, .phone, .mapa {
    min-height: 25%;
    padding: 20px 10px 20px 10px;
  }

  .menu {
    width: 100%;
    display: block;
  }

  footer {
    display: flex;
  }

  a {
    text-align: center;
    display: flex;
    padding: 20px 0 20px 0;
  }

  ul {
    display: flex;
    justify-content: space-between;
    padding-right: 0;
  }

  .seznam {
    list-style: none;
    width: 21.25%;
    color: black;
  }

  li {
    text-align: center;
  }

  .zobraz:hover .seznam {
    display: table-cell;
    position: absolute;
  }

  .seznam li {
    border-bottom: solid 1px rgb(137, 199, 49);
  }
}
