html {
  width: 100%;
  height: 100%;
}
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}
a {
  text-decoration: none;
}
input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
}
a,
img {
  border: none;
}
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.clearfix {
  display: inline-block;
}
html[xmlns] .clearfix {
  display: block;
}
* html .clearfix {
  height: 1%;
}
img {

}
.background {
  width: 100%;
  background: #ebebeb;
}
.dark {
  background: #363636;
}
html,
body,
input,
textarea,
button {
  font-family: 'Open Sans';
  font-size: 10pt;
  color: #4c4c4c;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
}
h2 {
  font-size: 38px;
  color: #004677;
  font-weight: normal;
  margin: 0px 0px 33px 0px;
  margin-left: 1em;
  margin-right: 1em;
}
h2.blue {
  color: #00628b;
  margin-left: 1em;
  margin-right: 1em;
}
h3 {
  margin: 67px 0 16px;
  font-size: 18pt;
  font-weight: 600;
  color: #4c4c4c;
  margin-left: 1em;
  margin-right: 1em;
}
h3:first-child {
  margin-top: 134px;
}
h3.kontakt {
  font-weight: 400;
  font-size: 24px;
  color: #cccccc;
  margin: 46px 0 12px 0;
}
h4 {
  font-size: 19px;
  font-weight: 600;
  color: #00628b;
  padding: 26px 0 0 0;
  margin: 0;
}
h4.kontakt {
  color: #cccccc;
  font-size: 18px;
  padding-bottom: 7px;

}
h5 {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  margin: 0;
}
p {
  font-size: 13pt;
  margin: 0;
  line-height: 1.6;
  margin-left: 2em;
  margin-right: 2em;
  text-align: justify;
}
p.coNabizime {
  font-size: 18px;
  margin-left: 1em;
  margin-right: 1em;
}
p.kontakt {
  font-size: 14px;
  color: #cccccc;
  margin-left: 0em;
  margin-right: 0em;
}
p.kontakt.ico {
  margin-top: 59px;
}
p.kontakt.ico span {
  font-size: 12px;
}
#author {
  right: 50px;
  height: 42px;
  margin: 0 50px 0 0;
  font-size: 9pt;
  font-weight: 300;
  text-align: right;
  color: #999999;
}
#author a {
  text-decoration: none;
  color: #666666;
  font-weight: 600;
  -webkit-transition: color 0.3s ease-in-out;
  -moz-transition: color 0.3s ease-in-out;
  -o-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}
#author a:hover {
  color: #999999;
}
#menu {
  width: 100%;
  padding-bottom: 1em;
  position: fixed;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  -webkit-transition: border-color 0.4s ease-in-out;
  -moz-transition: border-color 0.4s ease-in-out;
  -o-transition: border-color 0.4s ease-in-out;
  transition: border-color 0.4s ease-in-out;
  border-bottom: 1px solid transparent;
  text-align: right;
}
#menu ul {
  padding: 0;
  display: inline-block;
  text-align: right;
  margin: 0;
  padding: 28px 80px 0 0;
}
#menu ul a {
  text-decoration: none;
  color: #808080;
  margin-right: 56px;
}
#menu ul a:last-child {
  margin-right: 0;
}
#menu ul a li {
  display: inline-block;
  list-style-type: none;
  font-weight: 600;
  font-size: 13pt;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
#menu ul a li.active {
  border-bottom: 2px solid #004677;
  color: #004677;
}
#menu ul a li:hover {
  border-bottom: 2px solid #808080;
}
#menu img {
  float: left;
  margin: 11px 0 0 80px;
  display: none;
  cursor: pointer;
}
#header {
  width: 100%;
  height: 580px;
  background: url('../../img/header.png') bottom center no-repeat;
  background-size: cover;
  text-align: center;
}
#header img {
  width: 90%;
    max-width: 400px;
  margin: 262px auto 0 auto;
}
#kdoJsme {
  width: 100%;
  margin: auto;
  padding: 84px 0 107px 0;
}
#coNabizime {
  width: 100%;
  margin: 0 auto;
  padding: 84px 0 107px 0;
}
#vim,#nevim{
  text-align: center;
}
#coNabizime div#nevim {
  margin-top: 137px;
}
#vim img, #nevim img{
  padding: 0;
  padding-top: 2em;
  margin: auto;
  text-align: center;
  width: 95%;
  max-width: 1004px;
}
#nasTym {
  text-align: center;
  width: 100%;
  margin: 0 auto;
  padding: 84px 0 107px 0;
}
#nasTym div.person {
  width: 300px;

  padding: 0;
  margin: auto;
  margin-top: 40px;
  display: inline-block;
}
#nasTym div.person:nth-of-type(3n + 0) {
  margin-right: 0;
  width: 300px;
}
#nasTym div.person:last-child {
  margin: 40px 0 0px 0px;
}
#nasTym div.person img {
  margin: 0;
}
#kontakt {

  margin-left: 2em;
  margin-right: 2em;
  padding: 84px 0 57px 0;
}
#kontakt h2 {
  margin-left: 0;
}
#kontakt div.section {
  display: inline-block;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}
#kontakt div.section:nth-of-type(2n + 0) {
  padding-left: 20px;
}
@media only screen and (max-width: 830px ) {
#menu {
    vertical-align: top;
    text-align: center;
  }
#menu img {
  text-align: right;
  padding: 0;
  padding-top: 1em;
  margin: auto;
   width: 18%;
  height: 100%;
  float: none;
}
#menu ul {
  width: 80%;
  height: 100%;
  display: inline-block;
position: relative;
padding: 0;
margin: auto;
text-align: justify;
}
#menu ul li {
  display: inline-block;
}
#menu ul a li{
  display: inline-block;
  font-size: 1em;
  margin: 0;
}

#menu ul a{
  height: 100%;
  width: 24%;
  text-align: center;
  display: inline-block;
  padding: 0;
  margin: auto;

}
h2 {
  font-size:2em;
}
h3.kontakt {
  font-size:1.5em;
}
p, p.coNabizime, p.kontakt {
  font-size:1em;
}
h3:first-child{
  margin-top: 1em;
}
#coNabizime div#nevim {
  margin-top: 2em;
}
#nasTym, #kontakt,#coNabizime,#kdoJsme {
  padding: 2em 0 3em 0;
}


}
