/*  
*   CSS document coded by Michal Kopecký
*   Coded in August 2014
*   kopeckymichal.cz
*/

/*Document structure
*  Basic styles and classes
*  Header
*  -  Menu
*  -  Search
*  Slider
*  Map
*  Content
*  -  Gallery
*  -  Kontakt
*  Sidebar
*  -  Sidemenu
*  Footer
*  Media queries
*/

html{
  margin: 0;
  padding: 0;
}

body{
 margin: 0;
 padding: 0;
 font-family: 'Comfortaa', cursive;
 background: #ffffff url(images/pozadi.png) repeat;
 color: #000;
}

a img{
  border: none;
}

img{
  max-width: 100%;
  height: auto;
}

table{
  max-width: 100%;
}

.no-margin{
  margin: 0;
}

.wrapper{
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.clear{
  clear: both;
}

.clear_left{
  clear: left;
}

.small{
  font-size: 0.9em;
}

header{
  margin-bottom: 5px;
}

#logo-mobile{
  display: none;
  background: #ad4d1a;
  width: 70px;
  padding: 10px;
  margin-bottom: 5px;
}

h2 a{
  text-decoration: none;
  color: #fff;
}


/*Navigation*/
nav ul{
  list-style-type: none;
  padding: 0;
  margin: 0;
}

nav ul li{
  float: left;
  background: #fcaf17 no-repeat center 25%;
  background-size:80%;
  margin-right: 0.5%;
  width: 9.5%;
  text-align: center;
  height: 170px;  
}

nav ul li:hover, .current-menu-item, .current-menu-parent, .current-page-ancestor{
  background-color: #ad4d1a;
}

nav ul li:first-child, .menu-logo{
  background-image:  url("../img/logo.png");
  background-size: auto 90%  !important;
  margin-left: 0.25%;
}


nav ul li a{
  text-decoration: none;
  color: #fff;
  display: block;
  padding-top: 130px; 
}

.menu-bouldrovka, .menu-kontakty, .menu-info{
  width: 19.5%;
  margin-bottom: 5px;
  height: 82.5px;
}

.menu-bouldrovka a, .menu-kontakty a, .menu-info a{
  padding-top: 47.5px;
}

.menu-kontakty{
  margin-right: 0;
  background-image: url("../img/kontakty.png");
  background-size: auto 40%;
}

.menu-akce{
  background-image: url("../img/akce.png");
}

.menu-krouzky{
  background-image: url("../img/krouzky.png");
}


.menu-tabory{
  background-image: url("../img/tabory.png");
}

.menu-adopce{
  background-image: url("../img/adopce.png");
}

.menu-foto{
  background-image: url("../img/foto.png");
}

.menu-bouldrovka{
  background-image: url("../img/bouldrovka.png");
  background-size: auto 35%;
}

.menu-info{
  background-image: url("../img/info.png");
  background-size: auto 35%;
}

#search{
  float: left;
  width: 17.5%;
  height: 62.5px;
  padding: 10px 1%;
  background: #fcaf17;
  color: #fff;
}

#search span{
  display: block;
  margin-bottom: 5px;
}

#search input[type="text"]{
  padding: 5px;
  border: none;
  background: #fff;
  color: #000;
  margin: 0;
  float: left;
  width: -moz-calc(100% - 40px);
  width: -webkit-calc(100% - 40px);
  width: calc(100% - 40px);
  height: 20px;
}

#search input[type="submit"]{
  padding: 5px;
  border: none;
  background: #fcaf17 url("../img/search.png") no-repeat center center;
  color: #000;
  margin: 0;
  float: left;
  width: 30px;
  height: 30px;
  border: 1px solid #fff;
}

/*End of navigation*/

/*Placeholder*/

#placeholder{
  width: 100%;
  height: 300px;
  background-position: center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  margin-bottom: 5px;
}

/*Enf of placeholder*/

/*Slider*/

#slider{
  width: 100%;
  margin-bottom: 5px;
  position: relative;
}

#slider img{
  width: 100%;
  height: auto;
  display: block;
}

#slider-wrapper{
  width: 100%;
  position: absolute;
  height: 100%;
  z-index: 3;
}

#slider-images{
  margin: 0;
  padding: 0;
}

#slider-images li{
 display: none;
}

#slider-images li:first-child{
  display: block;
}

#slider-content{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
}


#slider-text{
  position:  absolute;
  bottom: 0px;
  background: -webkit-linear-gradient(bottom, rgba(255,255,255,0.8), rgba(255,255,255,0.6) 60%,  rgba(255,255,255,0));
  background: -o-linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,0.6) 60%,  rgba(255,255,255,0)); 
  background: -moz-linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,0.6) 60%,  rgba(255,255,255,0));
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 40%,  rgba(255,255,255,0.8)); 
  letter-spacing: 1px; 
  color: #ad4d1a;
  font-weight: bold;
  text-shadow: -2px 0 #fff, 0 2px #fff, 2px 0 #fff, 0 -2px #fff;  
  width: 100%;
  text-align: center;
  padding: 0.5em 0;
  font-size: 2.4em;
  z-index: 2;
}

#slider-logo{
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 25%, rgba(255,255,255,0.8) 50%,   rgba(255,255,255,0.5) 75%,  rgba(255,255,255,0)); /*Standard*/
  color: #ad4d1a;
  text-align: center;
  padding: 2% 0;
  height: 85%;
  width: 200px;
  margin-left: 10px;
}

#slider-logo img{
  width: auto;
  height:  100%;
}

/*End of slider*/

/*Map*/

#map-wrapper{
  position: absolute;
  width: 100%;
  height: 300px;
  margin-bottom: 5px;
}

#map-information-wrapper{
  max-width: 1100px;
  width: 100%;
  height: 300px;
  margin: 0 auto;
}

#map-information{
  width: 470px;
  height: 280px;
  float: right;
  margin-right: 20px;
  margin-top: 10px;
  position: relative;
  z-index: 10;
}

#map-information section{
  width: 90%;
  height: auto;
  margin-bottom: 5px;
  color: #fff;
  background: #ad4d1a;
  padding: 15px 5%;
}

#map-information section:nth-of-type(even){
  background: #fcaf17;
}


#map-information ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-size: 1em;
}

#map-information ul li{
  margin-bottom: 5px;
}

#map{
  width: 100%;
  height: 300px;
  margin-bottom: 5px;
}
/*Enf of map*/

/*Foto*/

.box-foto{
 width: 28%;
 width: -moz-calc(29.3% - 3.3px);
 width: -webkit-calc(29.3% - 3.3px);
 width: -o-calc(29.3% - 3.3px);
 width: calc(29.3% - 3.3px);
 margin-right: 5px;
 background: #fcaf17;
 padding: 15px 2%;
 color: #fff;
 float: left;
 margin-bottom: 5px;
}

.box-foto:nth-of-type(3n){
 margin-right: 0; 
}

.box-foto:nth-of-type(3n+1){
 clear: left;
}

.box-foto:nth-of-type(odd){
  background: #ad4d1a;
}

.box-foto h2{
  font-size: 1.2em;
  margin: 0;
  margin-bottom: 10px;
}

/*Kontakty*/

.box-kontakt{
 width: 30%;
 width: -moz-calc(31.3% - 3.3px);
 width: -webkit-calc(31.3% - 3.3px);
 width: -o-calc(31.3% - 3.3px);
 width: calc(31.3% - 3.3px);
 margin-right: 5px;
 background: #fcaf17;
 padding: 15px 1%;
 color: #fff;
 float: left;
 margin-bottom: 5px;
 word-wrap: break-word;
}

.box-kontakt a {
  color: #fff;
  text-decoration: none;
}

.box-kontakt:nth-of-type(3n){
 margin-right: 0; 
}

.box-kontakt:nth-of-type(odd){
  background: #ad4d1a;
}

.box-kontakt h2{
  font-size: 1.3em;
  margin: 0;
  padding-left: 35px;
  background: url("../img/person-ico.png") no-repeat center left;  
  margin-bottom: 5px;
}

.box-kontakt ul, ul.kontakt-information{
  padding: 0;
  margin: 0;
  list-style-type: none;
  margin-top: 10px;
}

.box-kontakt ul li, ul.kontakt-information li{
  padding-left: 35px;
  margin-bottom: 5px;
}

.box-kontakt ul li.kontakt, ul.kontakt-information li.kontakt{
  background: url("../img/kontakt-ico.png") no-repeat center left;  
}

.box-kontakt ul li.clubs, ul.kontakt-information li.clubs{
  background: url("../img/krouzky-ico.png") no-repeat center left;
  min-height: 40px;
}

/*End of kontakty*/


/*Content*/
#content{
  margin-right: 260px;
}

#content section dl{
  font-size: 1.1em;
}               

#content section dl dt{
  float: left;
  clear: left;
  width: 100px;
  font-weight: bold;
  margin-bottom: 5px;
}

#content section dl dd{
  float: left;
  margin: 0;
  margin-bottom: 5px;
}

#content section{
  background: #fcaf17;
  padding: 15px 20px;
  margin-bottom: 5px;
  color: #fff;
}

#content section table{
  width: 100%;
  border-collapse: collapse;
}

#content section table th{
 padding: 10px;
 background: #ad4d1a;
}

#content section table td{
  padding: 10px;    
  border: 1px solid #fff;
}

#content section a{
  color: #fff;
}

#content section time{
  font-size: 1.1em;
  font-weight: bold;
}

#content section.highlight{
  background: #fcaf17 url("../img/highlight-yellow.png") repeat;
}

#content section img{
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
  display: block;
}

#content section:nth-of-type(odd){
  background: #ad4d1a;
}
#content section:nth-of-type(odd).highlight{
  background: #ad4d1a url("../img/highlight-brown.png") repeat;
}

#content section.alert{
  background: #e1e1e1 url("../img/alert.png") no-repeat 30px 50px;
  color: #ad4d1a;
  font-size: 1.2em;
  padding-left: 70px;
}

#content section.alert a{
  color: #ad4d1a;
}

#content section.download{
  background: #e1e1e1 url("../img/download.png") no-repeat 15px 50px;
  color: #ad4d1a;
  font-size: 1.2em;
  padding-left: 70px;
}

#content section.download a{
  color: #ad4d1a;
}


#content h1{
  display: block;
  color:  #ad4d1a;
  background: #fcaf17;
  padding: 10px;
  padding-left: 20px;
  margin: 0;
  margin-bottom: 5px;
}

#content section h2, #content section h2 a{
  text-transform: uppercase;
  color: #ad4d1a;
}

#content section:nth-of-type(odd) h2, #content section:nth-of-type(odd) h2 a{
  color: #fcaf17;
}

#content section dl{
  text-transform: uppercase;
  color: #ad4d1a;
}

#content section:nth-of-type(odd) dl{
  color: #fcaf17;
}

#content section:last-child{
  margin-bottom: 0;
}


/*Search*/

#search-page{
  width: 96%;
  padding: 20px 2%;
  background: #fcaf17;
  color: #fff;
  margin-bottom: 5px;
}

#search-page span{
  display: block;
  margin-bottom: 10px;
}

#search-page input[type="text"]{
  padding: 5px;
  border: none;
  background: #fff;
  color: #000;
  margin: 0;
  float: left;
  width: -moz-calc(100% - 40px);
  width: -webkit-calc(100% - 40px);
  width: calc(100% - 40px);
  height: 20px;
}

#search-page input[type="submit"]{
  padding: 5px;
  border: none;
  background: #fcaf17 url("../img/search.png") no-repeat center center;
  color: #000;
  margin: 0;
  float: left;
  width: 30px;
  height: 30px;
  border: 1px solid #fff;
}

/*Gallery*/
.gallery { padding: 4px; margin: 1em 0; }
.gallery dl dt { width: auto !important;}
.gallery dl { display: block; float: left; margin: 2px 0px; }
.gallery.gallery-columns-3 dl { width: 32.5% !important; margin: 0.25%; }
.gallery.gallery-columns-4 dl { width: 24.5% !important; margin: 0.25%; }
.gallery.gallery-columns-5 dl { width: 19.5% !important; margin: 0.25%; } 
.gallery.gallery-columns-6 dl { width: 16% !important; margin: 0.25%; }
.gallery dl a { display: block; position: relative;}
.gallery dl img { width: 100%; height: auto; display: block; margin: 0; border-radius: 0px; float: none; border: 2px solid #fff !important;}
.gallery dl img:hover { }
.wp-caption { margin: 15px 0 }
.gallery-hover { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.gallery dl a:hover .gallery-hover { background: #000 url('../img/hover.png') no-repeat center center; opacity: 0.7;  }
.gallery-holder { max-height: 544px; overflow: hidden; border: 1px solid #f4f4f4; margin: 1.5em 0; padding: 0; border-radius: 5px; }
/*End of gallery*/

/*Sidebar*/

#sidebar{
  float: right;
  width: 250px;
}

.box-sidebar{
  margin-bottom: 10px;
}

.box-sidebar-header{
  display: block;
  margin-bottom: 5px;
  background: #ad4d1a;
  text-align: center;
  color: #fff;
}

.box-sidebar-header span{
 padding: 20px;
 padding-left: 45px;
 display: inline-block;
}

#zmeny-header span{
  background: url("../img/zmeny-header.png") no-repeat left center;
}

#akce-header span{
  padding-left: 55px;
  background: url("../img/akce-header.png") no-repeat left center;
}

#submenu-header span{
  background: url("../img/menu.png") no-repeat left center;
}

.box-sidebar-content{
  padding: 15px 10px;
  color: #fff;
  background: #ad4d1a;
}

.box-sidebar-content a{
  color: #fff;
}

.box-sidebar:nth-of-type(odd) .box-sidebar-header{
  background: #fcaf17;
}

.box-sidebar:nth-of-type(odd) .box-sidebar-content{
  padding: 15px 10px;
  color: #fff;
  background: #fcaf17;
}

.box-sidebar .changes-headline{
  padding-left: 37px;
  display: inline-block;
  color: #fff;
  text-transform: uppercase;
  min-height: 30px;
  line-height: 40px;
  margin-bottom: 5px;
}

.box-change{
  margin-bottom: 10px;
  color: #ad4d1a;
}

.box-sidebar:nth-of-type(even) .box-change{
  color: #fcaf17;
}

.box-change .change-headline{
  font-weight: bold;
  display: block;
}

.box-change p{
  padding: 0;
  margin: 0;
}

#eliminates{
  background: url("../img/eliminates.png") no-repeat left center;
}

#move{
  background: url("../img/move.png") no-repeat left center;
  padding-left: 55px;
}


#changes{
  text-align: center;
}

.box-sidebar .akce-date{
  float: left;
  display: block;
  width: 50px;
  color: #fff;
}

.box-sidebar .akce-content{
  margin-left: 55px;
}

.box-sidebar .akce-content p{
  padding: 0;
  margin: 0;
}

.box-sidebar .akce-headline a{
  color: #fff;
  text-decoration: none;
}

.box-sidebar .akce-content p{
  color: #fcaf17;
}

.box-sidebar:nth-of-type(odd) .akce-content p{
    color: #ad4d1a;
}


.box-akce{
  padding: 5px 0;
  color: #fff;
}

.box-akce:first-child{

}

.box-akce:nth-of-type(2){
  border-top: 1px solid #fff; 
  margin-top: 5px;
  padding-top: 10px;
}

.sidemenu{
  list-style-type: none;
  margin: 0;
  padding: 0; 
}

.sidemenu li{
  
}

.sidemenu li a{
  display: block;
  padding: 16px;
  padding-left: 70px;
  color: #ad4d1a;
  text-decoration: none;
  background: #fcaf17 url("../img/sidemenu.png") no-repeat 20px center;
  margin-bottom: 5px;
}

.sidemenu li a:hover{
  background: #ad4d1a url("../img/sidemenu-hover.png") no-repeat 20px center;
  color: #fff;
}

.sidemenu li.current-menu-item a{
  background: #ad4d1a url("../img/sidemenu-active.png") no-repeat 20px center;
  color: #fff;
}

/*End of sidebar*/

/*Footer*/
footer{
  min-height: 200px;
  background: #fcaf17;
  width: 100%;
  clear: both;
  margin-top: 10px;
  color: #fff;
}

#footer{
  padding: 2em 0 1em 0;
}

footer #footer>div{
  float: left;
}

#footer-logo{
  float: left;
  width: 100px;
}

#footer-logo img{
  display: block;
  margin-left: 10px;
}

#footer-social{
  /*width: 48%;*/
  width: 30%;
  margin-left: 2%;
  /*text-align: right; */
}

#footer-insta{
  width: 30%;
  margin-left: 2%;
  /*text-align: right;*/
}

#footer-social iframe, #footer-insta iframe{
  max-width: 100%;
}

#footer-kontakt{
  /*width: 48%;*/
  width: 30%;
  margin-right: 2%;
  font-size: 1.1em;
}

#footer-address{
  float: none !important;
  margin-left: 110px;
}

#footer-address ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#footer-address ul li{
  margin: 0.25em 0;
}

#footer-sponsors{
  width: 100%;
}

#footer-sponsors .title, .title{
  display: block;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: bold;
}

#footer-sponsors .logos {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}

#footer-sponsors .sponsors-logo {
  display: inline-block;
  margin: 0 10px;
}

#haspl{
  height:34px;
  width: 208px;
  background: url("../img/haspl.png") no-repeat left bottom;
    margin: 10px 0;
}

#haspl:hover{
  background-position: left top;
}

#saargummi{
  height: 48.5px;
  width: 200px;
  background: url("../img/saargummi.png") no-repeat left bottom;
  margin: 10px 0;
}

#saargummi:hover{
  background-position: left top;
}

#wimex{
  height: 93px;
  width: 200px;
  background: url("../img/wimex.png") no-repeat left bottom;
  margin: 10px 0;
}

#wimex:hover{
  background-position: left top;
}

#posta{
  height: 63px;
  width: 200px;
  background: url("../img/nadace-posta.png") no-repeat left bottom;
  margin: 10px 0;
}

#posta:hover{
  background-position: left top;
}

#wikov{
  height: 75px;
  width: 200px;
  background: url("../img/wikov.png") no-repeat left bottom;
  margin: 10px 0;
}

#wikov:hover{
  background-position: left top;
}

#veba{
  height: 60px;
  width: 124px;
  background: url("../img/veba.png") no-repeat left bottom;
  margin: 10px 0;
}

#veba:hover{
  background-position: left top;
}

#erasmus{
  height: 40px;
  width: 200px;
  background: url("../img/erasmus.png") no-repeat left bottom;
  margin: 10px 0;
}

#erasmus:hover{
  background-position: left top;
}

#hronov{
  height:70px;
  width: 142px;
  background: url("../img/mesto-hronov.png") no-repeat left bottom;
  margin: 10px 0;
}

#hronov:hover{
  background-position: left top;
}

#velkeporici{
  height: 55px;
  width: 200px;
  background: url("../img/mestys-velke-porici.png") no-repeat left bottom;
  margin: 10px 0;
}

#velkeporici:hover{
  background-position: left top;
}

#createdby{
  float: left;
  padding: 0.5em;
  padding-top: 1em;
  display: block;
}

#createdby a{
  color: #fff;
}

/*Media queries*/

@media (max-width: 1200px){
  #placeholder{
    height: 250px;
  }
}

@media (max-width: 1000px){
  #placeholder{
    background-size: auto 100%;
    height: 250px;
  }
  
  #slider-text{
    font-size: 2em;
  }
  #footer-kontakt{
    width: 98%;
    margin-bottom: 30px;
  }
  
  #footer-social, #footer-insta {
    width: 48%;
  }
  
  #footer-sponsors{
      width: 98%;
      padding: 1%;
  }
  
  #footer-sponsors span{
    margin-bottom: 0;
  }

  
  #saargummi{
    margin-top: 16px; 
  }
  
  #haspl{
    margin-top: 25px;
  }

  .box-kontakt{
   width: 47%;
   width: -moz-calc(48% - 2.5px);
   width: -webkit-calc(48% - 2.5px);
   width: -o-calc(48% - 2.5px);
   width: calc(48% - 2.5px);
   margin-right: 5px;
   background: #fcaf17;
  }
  
  .box-foto{
   width: 45%;
   width: -moz-calc(46% - 2.5px);
   width: -webkit-calc(46% - 2.5px);
   width: -o-calc(46% - 2.5px);
   width: calc(46% - 2.5px);
   margin-right: 5px;
   background: #fcaf17;
  }
  
  .box-kontakt:nth-of-type(3n), .box-foto:nth-of-type(3n){
    margin-right: 5px; 
  }
  
  .box-kontakt:nth-of-type(odd), .box-foto:nth-of-type(odd) {
   background: #fcaf17;
  }
  
  .box-kontakt:nth-of-type(even), .box-foto:nth-of-type(even){
    margin-right: 0px;
  }
  
  .box-kontakt:nth-of-type(4n+1), .box-foto:nth-of-type(4n+1){
    background: #ad4d1a;
  }
  
  .box-kontakt:nth-of-type(4n), .box-foto:nth-of-type(4n){
    background: #ad4d1a;
  }
  
  .box-foto:nth-of-type(3n+1){
    clear: none;
  }
  
  .box-foto:nth-of-type(2n+1){
    clear: left;
  }
}

@media (max-width: 780px){
  #sidebar{
    float: none;
    width: 100%;
  }
  
  .sidebar-menu{
    margin-bottom: 5px;
  }
  
  #content{
    width: 100%;
    margin: 0;
  }
  
  #menu li{
    background-image: none !important;
    height: 80px;
    width: 15.5% ;
    margin-bottom: 5px;
  }
  
  #menu li a{
    padding-top: 0;
    display:table-cell;  
    vertical-align:middle; 
    height: 80px;
    width: 150px;
    padding: 0 5px;
  }
  
  #menu li:first-child, .menu-logo{
    background:  #ad4d1a url("../img/logo.png") no-repeat center center !important;
    background-size: auto 100%;
    margin-left: 0;
    width: 20% !important;
    height: 165px;
  }
  
  .menu-kontakty{
     margin-right: 0.5%;
  }
  
  .menu-foto{
    margin-right: 0;
  }
  
  #search{
    width: 29.5%;
    height: 60px;
  }
  
  #placeholder{
    height: 200px;
  }

}


@media (max-width: 600px){
  #slider-text{
    font-size: 1.6em;
  }
  
  #footer-kontakt{
    width: 98%;
    margin: 1% 0;
  }
  
  #footer-social, #footer-insta {
    width: 98%;
    margin: 1% 0;
    text-align: center;
  }
  
  #footer-social iframe, #footer-insta iframe {
    margin: 0 auto;
  }
  
  #footer-insta {margin-bottom: 20px;}
  .title {margin-top: 30px;}
 
  #placeholder{
    height: 180px;
  }
  
  
  #map-wrapper{
    position: inherit;
    height: auto;
  }
  
  #map-information-wrapper{
    height: auto;
  }
  
  #map-information{
    width: 100%;
    height: auto;
    float: none;
    margin-right: 0;
    margin-top: 0;
    position: inherit;
  }
}

@media (max-width: 500px){
  #menu li{
    width: 100%;
    height: auto;
    margin-bottom: 3px;
  }
  
  #menu li a{
    height: auto;
    width: 100%;
    padding: 15px 0;
    text-align: center;
    display: block;
  }
  
  #menu .menu-logo{
    display: none;
  }
  
  #search{
    position: absolute;
    top: 0px;
    left: 95px;
    width: -moz-calc(100% - 115px);
    width: -webkit-calc(100% - 115px);
    width: calc(100% - 115px);
    padding: 10px 10px;
  }
  
  #logo-mobile{
    display: block;
  }
  
  #logo-mobile img{
     height: 120px;
     width: auto;
  }
  
  #slider-text{
    font-size: 1.2em;
  }
  
  #placeholder{
    height: 160px;
  }
  
  .box-kontakt{
   width: 98%;
   margin-right: 0px;
   background: #fcaf17;
  }
  
  .box-foto{
    text-align: center;
    width: 96%;
    margin-right: 0px;
    background: #fcaf17;
  }
  
  .box-foto img{
    display: block;
    margin: 0 auto;
  }
  
  .box-kontakt:nth-of-type(3n+1), .box-foto:nth-of-type(3n+1){
   margin-right: 0px; 
  }
  
  .box-kontakt:nth-of-type(4n), .box-foto:nth-of-type(4n){
    background: #fcaf17;
  }
  
  .box-kontakt:nth-of-type(4n-1), .box-foto:nth-of-type(4n-1){
    background: #fcaf17;
  }
  
  .box-kontakt:nth-of-type(odd), .box-foto:nth-of-type(odd){
    margin-right: 0px;
    background: #ad4d1a;
  }
  
  #footer-sponsors .sponsors-logo{
    float: none;
    margin: 20px auto;
    width: 205px;
    height: auto;
  }
  
  #veba{
    margin: 0 auto;
  }
  
  #footer-sponsors {
    text-align: center;
  }

  #createdby {
   float: none;
   text-align: center;
  }
}

@media (max-width: 400px){
  #slider{
    /*display: none;*/
  }
  
  #placeholder{
    height: 150px;
  }
}

/* moje: */

.testovaciProvoz {position: fixed; bottom: 20px; right: 10px; border-radius: 5px; text-align: center; font-weight: normal; text-transform: uppercase; background: rgb(255,0,0,0.8); color: #fff; padding: 10px 20px;}

.text-right {text-align:right;}

#content section a.tlacitko {
    display: inline-block;
    text-decoration: none;
    background: #ad4d1a;
    color: #fcaf17;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
}
#content section:nth-of-type(odd) a.tlacitko {
    background: #fcaf17;
    color: #ad4d1a;
}
#content section a.tlacitko:hover {color: #fff;}