body{
  font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 150%;
  background-color: #DAD9D3;
  margin: 0px;
  padding: 0px;
  text-align: left;
  height: 100%;   
}

html{
  text-align:center;
  height: 100%;
}

/*----------------------------------------------------------------------------*/
/* page sections */

#main {
  margin: 0 auto;
  width: 1200px;  
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 20px;
  background-color: white
}

#header {
  width:100%;
  margin-bottom: 20px;
}


#right {
  float: right;
  width: 26%;
}

#content {
  width: 68%;
  margin-bottom: 20px;
  padding: 1px 1%;
}

#footer {
  width: 95%;
  background-color: #878787;
  clear: both; 
  color: white;
  padding: 5px 2.5% 5px 2.5%;
}

#footer a {
  color: white;
}

#gallery_in_content{
  width: 100%;
  height: 180px;
  overflow: auto;  
}

#gallery_in_content img{
  height: 150px; 
  float: left; 
}

/*----------------------------------------------------------------------------*/
/* menu */

.main_menu{
  display: inline-block;
  width: 85%;
  margin-top: 10px;
  margin-bottom: 5px;
  padding-left: 0px;
  padding-bottom: 13px; 
  /*border-bottom: 1px solid rgb(200,200,200);*/ 
}

.main_menu li{
  display: inline-block; 
  padding-bottom: 3px;
  margin-left: 15px;
  margin-right: 10px;
}

.main_menu a{
  text-decoration: none;
}

.main_menu a:hover, .main_menu .active a, .main_menu_2 a:hover, .main_menu .active ul .active a, .main_menu .active ul a:hover{
  color: #EA5B0B; 
}

.main_menu .active ul a{
  color: black;
}

.main_menu_2{
  display: none;
  position: absolute;
  padding-left: 1px;
  background-color: white;
  border: 1px solid #D2D2D2;
  padding-top: 3px;
  border-width: 0px 1px 1px 1px;
}

.submenu:hover .main_menu_2{
  display: block;
}

.main_menu_2 li{
  display: block; 
  margin-bottom: 3px;
  margin-top: 3px;
  margin-right: 10px;
  margin-left: 3px;
  padding-left: 5px;
  border-left: 3px solid #EA5B0B;
}

.main_menu_2 a{
  color:black;
}

#social_sites{
  display: inline-block;
  width: 14%;
  text-align: right;
}

#social_sites a{
  text-decoration: none;
  font-size: 24px;
  line-height: 1.9;
  margin-left: 8px;
}

#social_sites a:hover{
  color: #EA5B0B;
}

#languages {
  z-index: 1000;
  position: absolute;
  top: 50px;
  width: 45px;
  margin-left: 1140px;
}

#languages img{
  width: 100%;
  display: block;
  margin-bottom: 7px;
  /*border: 1px solid silver;*/
}

#languages img:hover{
  box-shadow: 0px 2px 7px rgba(255, 255, 255, .99);
  -webkit-box-shadow: 0px 0px 7px rgba(255, 255, 255, .99);
}

#nakopni-me{
  padding-bottom: 20px;
} 

#nakopni-me hr{
  margin-bottom: 15px;
}

#nakopni-me img{
  width: 80%;
  margin: 15px 0px 15px 10%;
}

.podporit{
  float:right;
  margin-bottom: 15px;
  border-radius: 2px;
  /*border: 1px solid #B0B0B0;*/
  padding: 7px 0px;
  width: 100%;
  text-align: center;
  font-size: 16px;
  box-shadow: 0px 2px 2px rgba(0,0,0,.2);
  color: white !important;
  background-color: rgb(17,164,221);
  text-decoration: none;
}

.podporit:hover{
  animation: button_shadow_blue 0.25s;
  -webkit-animation: button_shadow_blue 0.25s;
  box-shadow: 0px 3px 5px rgba(0,0,0,.2);
  -webkit-box-shadow: 0px 3px 5px rgba(0,0,0,.2);
  background-color: rgba(17,164,221, .80);
}

@keyframes button_shadow_blue {
  from  {
    box-shadow: 0px 2px 2px rgba(0,0,0,.2);
    background-color: rgb(17,164,221);
  }
  to {
    box-shadow: 0px 3px 5px rgba(0,0,0,.2);
    background-color: rgba(17,164,221, .80);
  }
}

@-webkit-keyframes button_shadow_blue {
  from  {
    -webkit-box-shadow: 0px 2px 2px rgba(0,0,0,.2);
    background-color: rgb(17,164,221);
  }
  to {
    -webkit-box-shadow: 0px 3px 5px rgba(0,0,0,.2);
    background-color: rgba(17,164,221, .80);
  }
}

/*----------------------------------------------------------------------------*/

.gallery_item h3{
  margin-bottom: 4px;
  margin-top: 5px;
  display: inline;
}

.gallery_item{
  background-color: rgba(0,0,0,.03);
  width: 43%;
  display: inline-block;
  text-decoration: none;
  padding: 1.5%;
  -moz-box-shadow: 0px 2px 6px rgba(0,0,0,.2);
  -webkit-box-shadow: 0px 2px 6px rgba(0,0,0,.2);
  box-shadow: 0px 2px 6px rgba(0,0,0,.2);
  margin-bottom: 3%;
}

.gallery_item:hover{
  animation: gallery_shadow 0.25s;
  -webkit-animation: gallery_shadow 0.25s;
  box-shadow: 0px 3px 10px rgba(0,0,0,.2);
  -webkit-box-shadow: 0px 3px 10px rgba(0,0,0,.2);
  -moz-box-shadow: 0px 2px 10px rgba(0,0,0,.2);
  background-color: rgba(0,0,0,.01);
}

@keyframes gallery_shadow {
  from  {
    box-shadow: 0px 2px 6px rgba(0,0,0,.2);
  background-color: rgba(0,0,0,.03);
  }
  to {
    box-shadow: 0px 3px 10px rgba(0,0,0,.2);
  background-color: rgba(0,0,0,.01);
  }
}

@-webkit-keyframes gallery_shadow {
  from  {
    -webkit-box-shadow: 0px 2px 6px rgba(0,0,0,.2);
  background-color: rgba(0,0,0,.03);
  }
  to {
    -webkit-box-shadow: 0px 3px 10px rgba(0,0,0,.2);
  background-color: rgba(0,0,0,.01);
  }
}

.gallery_item:not(:nth-child(2n)):not(.hp){
  margin-left: 3%;
}

.gallery_item div{
  display: block;
  width: 100%;
  height: 250px;
  margin-bottom: 10px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/*----------------------------------------------------------------------------*/
/* forms */

button{
  border-radius: 2px;
  background-color: rgb(234,91,11);
  border-style: none;
  padding: 7px 45px;
  color: white;
  font-size: 16px;
  box-shadow: 0px 2px 2px rgba(0,0,0,.2);
}

button:hover{
  animation: button_shadow 0.25s;
  -webkit-animation: button_shadow 0.25s;
  box-shadow: 0px 3px 5px rgba(0,0,0,.2);
  -webkit-box-shadow: 0px 3px 5px rgba(0,0,0,.2);
  background-color: rgba(234,91,11, .80);
}

@keyframes button_shadow {
  from  {
    box-shadow: 0px 2px 2px rgba(0,0,0,.2);
    background-color: rgb(234,91,11);
  }
  to {
    box-shadow: 0px 3px 5px rgba(0,0,0,.2);
    background-color: rgba(234,91,11, .80);
  }
}

@-webkit-keyframes button_shadow {
  from  {
    -webkit-box-shadow: 0px 2px 2px rgba(0,0,0,.2);
    background-color: rgb(234,91,11);
  }
  to {
    -webkit-box-shadow: 0px 3px 5px rgba(0,0,0,.2);
    background-color: rgba(234,91,11, .80);
  }
}

input:not([type=checkbox]), select{
  border: 1px solid rgb(180,180,180);
  padding: 5px;
  border-radius: 2px; 
  margin: 1px;
  font-size: 12px;
  background-color: white;
  margin-bottom: 10px;
  width: 200px;
}

select{
  width: 212px;
}

input:hover, select:hover, textarea:hover, textarea:focus, input:focus, select:focus{
  animation: input_shadow 0.25s;
  -webkit-animation: input_shadow 0.25s;
  box-shadow: 0px 3px 5px rgba(0,0,0,.2);
  -webkit-box-shadow: 0px 3px 5px rgba(0,0,0,.2);
}

@keyframes input_shadow {
  from {box-shadow: 0px 0px 2px rgba(0,0,0,.2);}
  to {box-shadow: 0px 3px 5px rgba(0,0,0,.2);}
}

@-webkit-keyframes input_shadow {
  from {-webkit-box-shadow: 0px 0px 2px rgba(0,0,0,.2);}
  to {-webkit-box-shadow: 0px 3px 5px rgba(0,0,0,.2);}
}

textarea{
  font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
  font-size: 14px;
  border: 1px solid rgb(180,180,180);
  border-radius: 2px;
  margin: 1px;
  line-height: 150%;
  padding: 1%;
  width: 100%;
  height: 200px;
}

/*----------------------------------------------------------------------------*/
/* other styles */

.ke-stazeni a:before {
  content: '\e819';
  font-family: "prekonej";
  font-size: 25px;
  text-decoration: none;
  margin-right: 10px
}

.ke-stazeni a:hover:before {
  color: #EA5B0B;  
}

.line{
  width: 100%;
  background-image: url('/images/graphics/line.jpg');
  height: 5px;
  background-size: 100% auto;
  clear: both;
  margin-top: 10px;
  margin-bottom: 10px;
}

img{
  max-width: 100% !important;
  border-style: none;
}

.tri-dejstvi img, .home img{
  float: left;
  margin-right: 10px;
}  

.media img, .partneri img, .nas-tym img, .unser-team img, .partner img, .medialni-partneri img{
  width: 150px;
  float: left;
  margin-right: 30px !important;
  margin-bottom: 30px !important;
}

.osobnosti img{
  width: 250px;
  float: left;
  margin-right: 30px !important;
  margin-bottom: 30px !important;
}

.news_img{
  width: 170px;
  float: left;
  margin-right: 25px !important;
  margin-bottom: 30px;
}

.news_item{
  display: block;
  text-decoration: none;
}

.img_map img{
  width: 400px;
  margin-right: 40px;
  float: left;
  margin-bottom: 20px;
}

.img_map h2{
  margin-left: -50px
}

hr{
  width: 100%;
  margin-top: 40px;
  margin-bottom: 40px;
  height:1px;
  border-width:0;
  background-color:rgb(200,200,200);
  clear: left;
}

#header hr{
  margin-top: 0px;
  margin-bottom: 5px;
}

a, a:visited{
  color: rgb(0,0,0);
} 

a:hover{
  text-decoration: none;
}

.odber{
  float:right;
  margin-bottom: 15px;
  border-radius: 2px;
  /*border: 1px solid #B0B0B0;*/
  padding: 7px 0px;
  width: 100%;
  text-align: center;
  font-size: 16px;
  box-shadow: 0px 2px 2px rgba(0,0,0,.2);
  color: white !important;
  background-color: rgb(234,91,11);
  text-decoration: none;
}

.odber:hover{
  animation: button_shadow 0.25s;
  -webkit-animation: button_shadow 0.25s;
  box-shadow: 0px 3px 5px rgba(0,0,0,.2);
  -webkit-box-shadow: 0px 3px 5px rgba(0,0,0,.2);
  background-color: rgba(234,91,11, .80);
  /*box-shadow: 0px 3px 5px rgba(0,0,0,.2);
  -webkit-box-shadow: 0px 3px 5px rgba(0,0,0,.2);
  background-color: #F0F0F0;*/
}

td{
  padding: 5px;
}

h1 {
  color: #EA5B0B;
  font-size: 25px; 
  font-weight: normal;
  margin-top: 10px;
  margin-bottom: 20px;
}

h2, h2 a{
  color: #EA5B0B !important;
  text-decoration: none;
  font-size: 20px; 
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 5px
}

h3 {
  color: #EA5B0B;
  font-size: 16px; 
  font-weight: bold;
  line-height: 150%;
  vertical-align: top;
}

h4 { 
  font-size: 15px; 
  font-weight: normal
}

h1, h2, h3 {
  line-height: 150%;
}

p {
  line-height: 150%;
}

li {
  line-height: 150%;
}