*{
  font-family: arial;
  margin: 0;
  padding: 0;
}
p {
  font-family: calibri;
}
html {
  scroll-behavior: smooth;
  background-color: #d5e9e9; 
  overflow-x: hidden;
}
.content {
  max-width: 100%;
  margin: 0 auto;
}
.center {
  margin: 0 auto;
  text-align: center;
}
header{
  width: 100%;
  height: 200px;
  background-image: url("img/header.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
header img {
  float: left;
}
footer div p {
  padding: 5px;
}
ul {
  font-size: 20px;
  padding-top: 50px;
  list-style-type: none;
  overflow: hidden;
}
li {
  float: left;
  padding-left: 20px;
}
.li a{
  padding: 5px 20px 0px 0px;
}
li a {
  display: block;
  font-family: Century Gothic,CenturyGothic,AppleGothic,sans-serif;
}
#kontakty_li {
  padding-top: 5px;
}
.historie {
  margin: 0 auto;
  background-color: #abc6c6;
  border-bottom: #6a9191 solid 1px;
  min-height: 150px;
  overflow: auto;
  height: inherit; 
}
.sluzby {
  margin: 0 auto;
  min-height: 200px;
  background-color: #abc6c6;
  border-bottom: #6a9191 solid 1px;
  overflow: auto;
  height: auto !important;
}
.spoluprace {
  margin: 0 auto;
  min-height: 900px;
  background-color: #abc6c6;
  border-bottom: #6a9191 solid 1px;
  overflow: auto;
  height: auto !important;
}
.spoluprace_content {
  margin: 0 auto;
  background-color: #c8dada;
  min-height: 800px;
  overflow: auto;
  height: auto !important;
}
.spoluprace_content img:hover {
  opacity: 0.6;
  cursor: pointer;
}
.kontakt {
  margin: 0 auto;
  min-height: 400px;
  background-color: #abc6c6;
  overflow: auto;
  height: auto !important;
}
.kontakt img {
	width: 50px;
}
footer {
  text-align: center;
  width: 100%;
  height: 120px;
  background-image: url("img/footer.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
@media only screen and (max-width: 64em) and (min-width: 52.01em) {
   .right_tight_2 {
  	float: none;
  	text-align: center;
  	margin-right: 0px;
  }
  #preprava_veznu {
  	text-align: center;
  	margin-left: 0%;
  }
  .img-p img, .p-img img {
    padding-left: 0px;
  }
  #h2_right {
    width: 100%;
    text-align: center;
  }
  #spoluprace_h2 {
    text-align: center;
  }
  .center, .historie, .sluzby, .spoluprace, .spoluprace_content, .kontakt, .left, .middle  {
    width: 100% !important;
  }
  .right_sluzby, .left_text, .left_historie, .left_wide, .right_tight {
    display: block;
    float: left;
    width: 100% !important;
  }
  footer div p {
    position: relative;
    display: block;
    width: 100%;
  }
  #first, #second, #third  {
    text-align: center;
    display: block;
    float: none;
  }
  ul {
    position: relative;
    top: 0px;
    left: 0px;
    display: block;
  }
  .li a{
    border-right: 0px;
  }
  header img {
    margin-left: 0px;
  }
}
@media only screen and (min-width: 52em) {
  .right_tight_2 {
  	float: right;
  	text-align: center;
  	margin-right: 25px;
  }
  #preprava_veznu {
  	text-align: left;
  	margin-left: 7%;
  }
  .img-p img {
    margin-left: 50px;
  }
  .left_wide{
    width: 60%;
  }
  .h2_right{
    text-align: right;
    margin-right: 5%;
  }
  .left, .middle {
    width: 50%;
  }
  #historie_h2 {
    margin-top: 15px;
  }
  #sluzby_h2 {
    margin-top: 40px;
  }
  .historie, .sluzby, .spoluprace, .kontakt {
    width: 80%;
  }
  .spoluprace_content {
    width: 90%;
  }
  .center {
    width: 95%;
  }
  .right_sluzby {
    float: right;
    width: 20%;
  }
  .left_text {
    float: left;
    width: 80%;
  } 
  .right_text{
    float: right;
    width: 80%;
  }
  .left_historie {
    float: left;
    width: 20%;
  }
  footer p{
    font-family: Century Gothic,CenturyGothic,AppleGothic,sans-serif;
    font-size: 20px;
  }
  #first, #second, #third  {
    display: inline-block;
    margin-top: 45px;  
  }
  #first {
    margin-left: 12.5%;
    float: left;
  }
  #second {
    margin-left: 5%;
    text-align: center;
    font-weight: bold;
  }
  #second p {
    font-size: 20px;
  }
  #third {
    float: right;
    margin-right: 12.5%;
  }
  #third a{
    font-weight: bold;
    font-size: 18px;
  }
  ul {
    position: relative;
    font-size: 40px;
    left: 5%;
    top: 90px;
  }
  .li a{
    border-right: 3px solid white;
  }
  header img {
    margin-left: 15%;
  }
}
h2 {
  font-family: Century Gothic,CenturyGothic,AppleGothic,sans-serif; 
  font-weight: 200;
  color: #34888a;
  font-size: 50px;
}
.text {
  margin: 50px;
  text-align: left;
}
.left, .middle{
  float: left;
  display: block;
}
.right, .right_tight{
  float: right;
}
.right_tight img{
	margin-right: 10px;
}
.left_wide{
  float: left;
}
.h2_left{
  text-align: left;
  margin-left: 10%;
}
.img-p{
   display: flex;
   align-items: center;
}
.p-img{
   display: flex;
   align-items: center;
}
/*
.img-p img{
  text-align: left;
}
.img-p p{
  text-align: right;
  vertical-align: middle;
}
.p-img img{
  text-align: right;
}
.p-img p{
  text-align: left;
  vertical-align: middle;
}
*/
a {
  text-decoration: none;
  color: white;
  font-weight: normal;
}
p {
  color: white;
  font-size: 18px;
}
.p_h2 {
  font-family: Century Gothic,CenturyGothic,AppleGothic,sans-serif; 
  font-weight: 200;
  color: #34888a;
  font-size: 30px;
  padding: 8px;
}
#historie_h2, #sluzby_h2 {
  padding-top: 30px;
  text-align: center;
}
#spoluprace_h2 {
  padding-top: 30px;
  margin-bottom: 30px;
}
#kontakt_h2 {
  padding: 25px;
}
#kontakty_email_p {
  font-size: 20px;
  color: #1e4383;
}
#kontakty_telefon_p {
  font-size: 20px;
  color: #69ac81;
}
#kontakty_osoba_p {
  font-size: 20px;
  color: #000000;
}
#kontakty_fakturacni_p {
  font-size: 20px;
  color: #ff6767;
}
#kontakty_dorucovaci_p {
  font-size: 20px;
  color: #6787ff;
}
.kontakty_text {
	text-align: left;
	margin-left: 120px;
}
#kontakty_dorucovaci, #spoluprace_content_bottom {
  padding-top: 50px;
  padding-bottom: 50px;
}
#spoluprace_content_bottom p {
 	padding: 5px;
}