@import url(https://fonts.googleapis.com/css?family=Open+Sans);

body {
  background-color: #e65c00;
  text-align: center;
  font-family: 'Open Sans', impact, sans-serif;
  font-size: 16px;
}

main {
  width: 950px;
  margin: 0 auto 0 auto;
  text-align: left;
}

section {
  background: white;
  box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.2);
}

header {
  background: #e65c00;
  margin-top: -15px;
  margin-bottom: -10px;
}

header h1 {
  font-family: impact, sans-serif;
  font-size: 3.5em;
  font-variant: small-caps;
  color: white;
  text-shadow: 2px 2px #080808; 
}

nav {
  background-color: #e65c00;
  font-family: impact, sans-serif;
  font-size: 1.6em;
  margin-bottom: 5px;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

nav ul li {
  float: left;
}

nav ul li a {
  text-decoration: none;
  color: white;
  padding-right: 25px;
}

nav ul li a:hover {
  color: black;
}

nav ul li#telefon {
  float: right;
  color: white;
}

nav ul li#telefon img{
  padding-right: 20px; 
}

section article#uvodniFoto {
   padding: 10px;
}

section article#hlavniCast {
  padding: 5px 50px 10px 50px;
}

footer {
  clear: both;
  margin-top: 15px;
  padding: 5px 0 5px 0;
  background-color: white;
  box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.2);
}

footer p {
  text-align: center;
}

p {
  font-family: 'Open Sans', verdana, sans-serif;
  text-align: justify;
  font-size: 1em;
  line-height: 1.5em;
}

h2 {
  font-weight: bold;
  font-size: 2em;
}

h3 {
  font-size: 1.5em;
}

h4 {
  font-size: 1.25em;
}

.fancybox {
  border: 5px solid white; 
  float: left;
  margin-right: 10px;
}

.fancybox:hover {
  border: 5px solid #e65c00;  
}

.fancybox img {
  vertical-align: middle;
}

article div.nadpisyFotek {
  clear: both;
  padding-top: 5px;
  padding-bottom: 5px;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 25px;
    text-align: center;
}

article#hlavniCast ul{
  list-style-type: square;
  color: #ff6600; 
}

article#hlavniCast ul li span{
  color: black; 
}

table thead th {
  background-color: #ff6600;
}

table tbody tr:nth-child(odd){
  background-color: #ffd699;
}

article iframe#calendar {
    border: 5px solid #ff6600; 
    width: 100%;
    height: 400px;  
}

article iframe#map {
    border: 5px solid #ff6600; 
    width: 50%;
    height: 300px;
}


article .skrytyOdstavec {
  display: none;
}

article button {
   background-color: white;
   border: 2px solid #ff6600;
   padding: 10px 20px;
   -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}

article button:hover {
   background-color: #ff6600;
}

article a {
  text-decoration: none;
  color: black;  
}

article a:hover {
  color: #ff6600;
  -webkit-transition-duration: 0.4s; /* Safari */
   transition-duration: 0.4s;
}



@media only screen and (max-width: 950px) {
  main {
    width: 100%;
  }
  
  nav ul li {
  float: left;
  }

  nav ul li a {
    padding-right: 15px;
  }
  
  nav ul li#telefon{
    float: left;
    clear: both; 
  }
  
  nav ul li#telefon img{
    padding-right: 10px;
    width: 18px;
    height: 18px; 
  }
  
  section article#uvodniFoto img{
    width: 100%;
    height: auto;
  }
  
  body {
    font-size: 12px;
  }
  
  section article#hlavniCast {
    padding: 0px 30px 10px 30px;
  }
  
article iframe#calendar {
    width: 100%;
    height: 400px;
}

article iframe#map {
    width: 75%;
    height: 300px;
}
}
@media only screen and (max-width: 480px) {
  header h1 {
    font-size: 2.5em;
  }
  
  nav ul li {
    float: none;
  }
  
  nav ul li#telefon img{
    padding-right: 5px;
    width: 16px;
    height: 16px;
  }
  
  section article#hlavniCast {
    padding: 0px 10px 10px 10px;
  } 
  
article iframe#calendar {
    width: 100%;
    height: 400px;
}

article iframe#map {
    width: 100%;
    height: 200px;
}
}
