@font-face {
  font-family: 'forte';
  src: url('forte.ttf');
}
html, body {
  background-color: #f6d258;
  color: black;
  font-family: Arial, Helvetica, sans-serif;
  height: 100%;
  width: 100%;
  min-width: 400px;
  font-size: 18pt;
  font-weight: 300;
  text-align: justify;
}
header, section{
  max-width: 1248px;
  margin: auto;
}
#header {
  overflow: hidden;
}
#header-title {
  margin: auto;
  display: table;
}
#header-title div{
  float: left;
}
#header-text {
  margin: 30px 0 0 30px;
}
#header-logo img{
  height: 150px;
  width: 150px;
}
header h1 {
  font-family: "forte";
  color: #ef4a47;
  text-align: center;
  margin: 40px auto 20px;
  font-size: 60pt;
  font-weight: normal;
  line-height: 30pt;
  letter-spacing: 15px;
}
header h1 .subtitle{
  font-size: 30pt;
  letter-spacing: 0px;
}
header h1 a{
  color: #ef4a47;
}
header h1 a:hover,
header h1 a:focus {
  text-decoration: none;
  color: #ef4a47;
}
.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}
#header{
  background-color: #ffef9a;
}
#navbarMenu{
  margin: auto 50px; 

}
#navbarMenu ul li a {
  border-top-left-radius: 15px; 
  border-top-right-radius: 15px;
}
.navbar-toggle {
  margin: 20px 20px 20px 10px;
  padding: 12px 10px;
  z-index: 10;
}
.navbar-default {
  margin: 0;
}
nav .navbar-nav {
  margin: 10px 0 0;
  font-weight: normal;
}


#content{
  background-color: #f6d258;
  padding: 20px 200px;
}
article {
  margin-bottom: 40px;
}
article .pic{
  width: 70%;
  /*height: 250px;*/
  margin: 20px auto 40px;
  text-align: center;
}
article a.pic {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  max-height: 125px;
  max-width: 175px;
}
article .pic img{
  width: auto;
  height: auto;
  max-width: inherit;
  max-height: inherit;
  margin: 5px; 
}
article h1 {
  padding-left: 30px;
}

#fancybox-content, 
#fancybox-wrap {
  box-sizing: content-box;
}
.photo {
  text-align: center;
}
.welcome-photo {
  max-width: 100%;
}
section a {
  text-decoration: underline;
}
p {
  margin-top: 10px;
}

.navbar-default {
  background-color: transparent;
  border: none;
}

/* odkaz aktivni */
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
/* odkazy hover */
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #ef4a47;
  background-color: #f6d258;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #f6d258;
}

@media (min-width: 767px) {
  .nav-justified > li {
    display: table-cell;
    float: none;
  }
  .nav-justified > li a{
    max-height: 50px;
    padding: 15px 5px 10px;
    margin: auto 5px;
  }
}
@media (max-width: 992px) {
  header h1 {
    font-size: 45pt;
    letter-spacing: 10px;
  }
  header h1 .subtitle{
    font-size: 22pt;
  }
  #header-text {
    margin: 15px 0 0 15px;
  }
  #header-logo img{
    height: 100px;
    width: 100px;
  }
  #navbarMenu li a {
    font-size: 14pt;
    padding: 10px 5px;
  }
  #content{
    padding: 20px 100px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 13.5pt;
  }
  
  header {
    min-height: 220px;
  }
  header h1 {
    line-height: 20pt;
    font-size: 30pt;
    letter-spacing: 7px;
  }
  header h1 .subtitle{
    font-size: 15pt;
  }
  #header-title div {
    float: none;
  }

  .navbar-default{
    position: absolute;
    top: 5px;
    right: 5px;
    left: 5px;
  }
  .navbar-header{
    float: right;
  }
  #navbarMenu {
    background-color: #ffef9a;
    margin:10px;
    border:none; 
  }
  #navbarMenu ul li a {
    border-radius: 15px;
  }

  #content{
    padding: 20px 50px;
  }
  article {
    font-size: 12pt;
  }
  article .pic{
    width: 100%;
  }
  article .pic img{
    max-height: 200px;
    max-width: 200px;
  }
}

/* for older browsers*/
header, section, footer, aside, nav, main, article, figure {
    display: block;
}

