body{
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 150%;
  background-color: white;
  margin: 0px;
  padding: 0px;
  text-align: left;
  height: 100%;
  background-image: url('/images/graphics/background.jpg');
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
}

html{
  text-align:center;
  height: 100%;
}

/*----------------------------------------------------------------------------*/
/* page sections */

#main {
  min-height: 100%;
}

#header {
  width:100%;
  top: 0px;
  /*margin-bottom: 30px;*/
  box-shadow: 1px 2px 6px #666;
  background-color: rgba(57,128,35, .9);
  color: white;
}

#podpis{
  margin-top: 18px;
  height: 100px;
  float: left;

}

#header_content{
  margin: 0 auto;
  width: 90%;
  /*height: 27px;*/
  padding-top: 13px;
  padding-bottom: 60px;
  max-width: 1200px;
}

#content {
  padding: 30px 70px 30px 70px;
  margin: 0 auto;
  margin-bottom: 20px;
  margin-top: -60px;
  max-width: 1100px;
  width: calc(100% - 160px);
  background-color: rgb(255,255,255);
  background-color: #FFF5EE;
  border-radius: 10px;
}

#footer {
  width: 100%;
  clear: both;
  border-top: 1px solid rgb(200,200,200);
  padding-top: 30px;
  margin-top: 30px;
  text-align: center;
}

#footer a {
  text-decoration: none;
}

/*----------------------------------------------------------------------------*/

.krumvir-meho-detstvi-a-mladi #content img{
  width: 48%;
  margin: 1%;
  display: inline-block;
  vertical-align: middle;
}

/*----------------------------------------------------------------------------*/
/* menu */
#show_menu{
  display: none;
  float: right;
  font-size: 20px;
  height: 35px;
  width: 35px;
  text-align: center;
  line-height: 35px;
  vertical-align: middle;
  position: absolute;
  top: 50px;
  right: 25px;
  border-radius: 3px;
  border: 1px solid rgb(150,150,150);
}

#main_menu, .main_menu, .footer_menu{
  float: right;
  margin: 0px;
}

.main_menu li, .footer_menu li{
  list-style: none;
  display: inline-block;
}

.main_menu li{
  margin-left: 20px;
}

.footer_menu li{
  margin-left: 8px;
  font-size: 14px;
}

.main_menu a, .footer_menu a{
  /*padding-bottom: 3px;*/
  text-decoration: none;
  display: inline-block;
  color: white;
  border-bottom: 2px solid rgba(224,224,224,0);
}

.main_menu li:hover:not(.active) a, .footer_menu li:hover a{
  animation: menu_item_hover 0.5s;
  -webkit-animation: menu_item_hover 0.5s;
  border-bottom-color: rgba(224,224,224,255);
}

@keyframes menu_item_hover {
  from  {border-bottom-color: rgba(224,224,224,0);}
  to {border-bottom-color: rgba(224,224,224,255);}
}

@-webkit-keyframes menu_item_hover {
  from  {border-bottom-color: rgba(224,224,224,0);}
  to {border-bottom-color: rgba(224,224,224,255);}
}

.main_menu a:hover, .footer_menu a:hover{
  color: white !important;
}

.main_menu .active a{
  border-bottom-color: white
}

/*----------------------------------------------------------------------------*/

#img_menu{
  text-align: right;
}

.m_item{
  display: inline-block;
  vertical-align: top;
  width: 110px;
  margin: 13px 5px 16px 5px;
  text-decoration: none;
}

.m_circle{
  box-shadow: 1px 1px 4px #333;
  color: #398023;
  width: 60px;
  height: 60px;
  margin-left: 25px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 60px;
  vertical-align: middle;
  text-align: center;
  background-color: white;
  background-size: cover;
  background-position: center center;
}

.m_desc{
  color: white;
  margin-top: 22px;
  font-size: 14px;
  text-align: center;
  display: block;
  line-height: 170%;
}

.m_item:first-of-type .m_desc {
  margin-top: 10px;
}

.m_item:hover .m_circle{
  font-size: 28px;
  box-shadow: 1px 1px 6px #333;
}

#vyst2007 .m_circle{
  background-image: url("/images/graphics/2007_icon.jpg");
}

#vyst2010 .m_circle{
  background-image: url("/images/graphics/2010_icon.jpg");
}

#rulicky .m_circle{
  background-image: url("/images/graphics/rulicky_icon.jpg");
}

#foto .m_circle{
  background-image: url("/images/graphics/foto_icon.jpg");
}

/*----------------------------------------------------------------------------*/

.square{
  margin: 2px 2px 0px 0px;
  border: 1px solid #cccccc;
  width: calc(25% - 4px);
  display: inline-block;
  height: calc(22.5vw - 3px);
  background-position: center center;
  background-size: cover;
  text-decoration: none;
  vertical-align: top;
}

.square span{
  display: block;
  width: calc(100% - 40px);
  background-color: rgba(0,0,0,.3);
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 18px;
  margin-top: calc(22.5vw - 80px);
}

@media screen and (min-width: 1333px) {
  .square{
    height: 296px;
  }

  .square span{
    margin-top: 230px;
  }
}

/*----------------------------------------------------------------------------*/
/* other styles */

hr{
  width: 100%;
  margin-top: 40px;
  margin-bottom: 40px;
  height:1px;
  border-width:0;
  background-color:rgb(200,200,200);
  clear: both;
}

li{
  margin-top: 3px;
  line-height: 170%;
  margin-bottom: 5px;
}

#content a, #content a:visited{
  color: black;
}

#content a:hover{
  text-decoration: none;
}

a.no_underline{
  text-decoration: none;
}

h1 {
  font-size: 35px;
  font-weight: normal;
  margin-top: 30px;
  margin-bottom: 30px;
}

h2 {
  font-size: 25px;
  font-weight: normal;
  margin-top: 30px;
  margin-bottom: 5px
}

h3 {
  margin-top: 20px;
  font-size: 23px;
  font-weight: normal;
}

h4 {
  font-size: 19px;
  font-weight: normal;
}

h1, h2, h3, h4 {
  line-height: 150%;
}

p {
  line-height: 170%;
  text-align: justify
}