img {border: 0;}
a {cursor: pointer;}
.clr {clear: both;}
.margin_top_30 {margin-top: 30px;}
* {padding: 0; margin: 0;}
body {font-size: 13px; font-family: Arial, sans-serif; position: static!important; min-height: 200px!important;}
#hamburgerTop, #hamburgetBottom, .caraTop, .caraBottom { display: none; }
.zarovnani {box-sizing: border-box; -moz-box-sizing: border-box; position: relative; width: 98%; max-width: 1300px; margin: auto auto;}
#footer_pribrameu .bottom .zarovnani p.copy {margin-left: 0px!important;}
#content #podstrana a.zpet_detail {display: inline-block; padding: 10px 20px; color: white; background-color: #676767; transition: 0.7s; text-decoration: none;}
#content #podstrana a.zpet_detail:hover {background-color: #df0223}

.header_obrazek {
    height: 245px;
    width: 100%;
    overflow: hidden;
    margin-top: 115px;
    position: absolute;
    text-align: center;    
}
.header_obrazek img {
    display: inline-block;
    height: 245px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.header_obrazek.akce img {width: 100%; height: auto;}
body h1.none {display: none;}
h1 a, h2 a, h3 a, h4 a {
 text-decoration: none;
}

#header_pribrameu {
  width: 100%;  
  position: relative;
  height: 360px;  
}
#header_pribrameu a.translate { position: absolute; right: 2px; top: 5px; z-index: 7777 }
#header_pribrameu a.translate img {height: 14px}
#header_pribrameu a.fontsize { position: absolute; right: 40px; top: 5px; z-index: 7777; }
#header_pribrameu a.fontsize img {height: 14px}
#header_pribrameu a.fbhead{ position: absolute; right: 72px; top: 5px; z-index: 7777; }
#header_pribrameu a.fbhead img {height: 17px}
#header_pribrameu #slider {position: absolute; width: 100%; height: 355px; overflow: hidden;}
#header_pribrameu #slider.vyska {height: 655px;}
#header_pribrameu.header_podstrana {
  height: 355px;
}
#header_pribrameu.header_podstrana #slider {height: 405px;}
#header_pribrameu.header_podstrana #vyhledavani_slider {display: none}

#header_pribrameu #slider.vyska .ms-slide {height: 655px!important;}
#header_pribrameu #slider .ms-slide {
  display: block; 
  width: 100%;
  height: 355px!important;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-position-x: 50%;
  background-position-y: 50%;  
  background-size: cover;
}
.ms-slide .ms-slide-bgcont img, .ms-container, .ms-inner-controls-cont, .ms-view {height: 655px!important;}
#header_pribrameu #slider .ms-slide img {display: none;}
#header_pribrameu #topHeader {
  position: absolute; 
  margin-top: 0px;
  background-image: url("../img/header_podklad.png"); 
  width: 100%; 
  height: 115px;
}
#header_pribrameu #topHeader #logo {
  width: 70%;
  max-width: 515px;
  float: left;
  margin-top: 14px;
}
#header_pribrameu #topHeader #logo a {float: left;}
#header_pribrameu #topHeader #logo h1 {
  font-weight: normal;
  font-size: 143%;
  float: left;
  margin-left: 35px;
  margin-top: 31px;
}
#header_pribrameu #topHeader .reklama {
    /*
    float: left;
    max-width: 370px;
    width: auto;
    padding: 10px 20px;
    background-color: #000000;
    color: white;
    text-align: center;
    margin-top: 35px;
    font-size: 130%; 
    font-family: Arial, sans-serif;    
    font-weight: bold;
    overflow: hidden;
    */
    float: left;
    max-width: 260px;
    width: auto;
    padding: 10px 15px;
    background-color: #000000;
    color: white;
    text-align: center;
    margin-top: 15px;
    font-size: 90%;
    font-family: Arial, sans-serif;
    font-weight: bold;
    overflow: hidden;
}
#header_pribrameu #topHeader .reklama a {color: white; text-decoration: none;}
@media(max-width: 1250px) {
    #header_pribrameu #topHeader #logo {width: 50%; display: block; max-width: 330px; margin-top: 30px;}
    #header_pribrameu #topHeader #logo a img {width: 100%;}
    #header_pribrameu #topHeader .reklama {font-size: 100%; margin-top: 40px; margin-left: 20px;}
}

@media(max-width: 1000px) { 
    #header_pribrameu #topHeader .reklama {margin-top: 0px;}
    #header_pribrameu #topHeader #vyhledavani input[type="text"], #header_pribrameu #topHeader #vyhledavani input[type="submit"] {margin-top: 10px!important;}
    #header_pribrameu #topHeader #vyhledavani.korekce input[type="text"], #header_pribrameu #topHeader #vyhledavani.korekce input[type="submit"] {margin-top: 30px!important;}
}

@media(max-width: 750px) {
    #header_pribrameu #topHeader .reklama {float: none; clear: both;  margin-left: auto;  margin-right: auto;}
    #header_pribrameu #topHeader #logo {margin-top: 10px!important; height: 50px!important; margin-bottom: 10px!important;}
} 

#header_pribrameu #topHeader #vyhledavani {
  float: right;
  max-width: 318px;
  width: 45%;
}
#header_pribrameu #topHeader #vyhledavani input[type="text"] {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  width: 275px;
  height: 36px;
  background-color: #969696;
  border: none;
  padding-left: 20px;
  margin-top: 40px;
  font-size: 100%;
  float: left;     
  outline: none;
}
::-webkit-input-placeholder {color: black;}
::-moz-placeholder {color: black;}
:-ms-input-placeholder {color: black;}
:-moz-placeholder {color: black;}
#header_pribrameu #topHeader #vyhledavani input[type=submit] {
  background-image: url("../img/lupa_header.png");
  width: 27px;
  height: 27px;
  cursor: pointer;
  border: none;
  background-color: transparent; 
  margin-left: 10px;
  margin-top: 43px;
  float: left;    
}
#header_pribrameu #nav {
  position: absolute; 
  margin-top: 115px;
  width: 100%; 
}
#header_pribrameu #nav #topNav {
  position: absolute; 
  margin-top: 0px;
  background-image: url("../img/menu_podklad.png"); 
  width: 100%; 
  height: 40px;
}
#header_pribrameu #nav #topNav ul {list-style: none; text-align: center;}
#header_pribrameu #nav #topNav ul div.lemovani {
  display: inline-block;
  *display: inline;
  zoom: 1; 
  background-image: url("../img/delitko.png"); 
  background-repeat: no-repeat;
  background-position: 100% 50%;
  background-position-x: 100%;
  background-position-y: 50%;
  padding-right: 1px;
}
#header_pribrameu #nav #topNav ul div.lemovani:last-child {background-image: none;}
#header_pribrameu #nav #topNav ul li {  
  /*padding-left: 24px;*/
  /*padding-right: 24px;*/
  /*padding-top: 11px;*/
  /*padding-bottom: 10px;*/
  margin: 0px;
  font-family: Arial; font-weight: bold;
  text-transform: uppercase;
  transition: 0.6s;
}

#header_pribrameu #nav #topNav ul li:hover {background-color: #de0221;}
#header_pribrameu #nav #topNav ul li:hover a {color: white;}
#header_pribrameu #nav #topNav ul li:hover ul li a {color: black;}
#header_pribrameu #nav #topNav ul li div.znacka {display: none;}
#header_pribrameu #nav #topNav ul li:hover div.znacka {
  display: block;
  background-image: url("../img/podmenu.png");
  height: 14px;
  width: 28px;
  position: absolute;
  top: 42px;
  z-index: 999;
  margin-left: 40px;    
} 
#header_pribrameu #nav #topNav ul li a {
    color: black;
    text-decoration: none;
    display: block;
    /*padding-left: 12px;*/
    /*padding-right: 12px;*/
    /*padding-top: 11px;*/
    /*padding-bottom: 10px;*/
    padding: 12px;
}
#header_pribrameu #nav #topNav ul li .podmenu {display: none;}
#header_pribrameu #nav #topNav ul li:hover .podmenu {position: absolute; display: block; width: 100%; right: 0; margin-top: 10px;}
#header_pribrameu #nav #topNav ul li ul {
  background-image: url("../img/podmenu_podklad.png"); 
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  padding: 40px 150px 15px 150px;
}
#header_pribrameu #nav #topNav ul li ul li {
  width: 24%;
  display: inline-block;
  *display: inline;
  zoom: 1;   
  padding-left: 0px;
  padding-right: 0px;
  text-align: left;
  font-family: Arial;
  padding-top: 0px;
  padding-bottom: 25px;
}
#header_pribrameu #nav #topNav ul li ul li:hover {background-color: transparent;}
#header_pribrameu #nav #topNav ul li ul li a:hover {text-decoration: underline;}
#header_pribrameu #vyhledavani_slider {
  position: absolute;
  bottom: 40px;
  width: 100%;
}
#header_pribrameu #vyhledavani_slider form {
  margin-right: auto;
  margin-left: auto;
  width: 615px;
}
#header_pribrameu #vyhledavani_slider input[type="text"] {
  background-image: url("../img/vyhledavani_podklad.png");
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  width: 545px;
  height: 78px;
  background-color: transparent;
  border: none;
  padding-left: 35px;
  font-size: 179%;
  float: left;     
  outline: none;
  text-transform: uppercase;
}
::-webkit-input-placeholder {color: black;}
::-moz-placeholder {color: black;}
:-ms-input-placeholder {color: black;}
:-moz-placeholder {color: black;}
#header_pribrameu #vyhledavani_slider input[type=submit] {
  background-image: url("../img/lupa_slider.png");
  width: 70px;
  height: 70px;
  cursor: pointer;
  border: none;
  background-color: transparent; 
  float: left;  
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-position-x: 50%;
  background-position-y: 50%;    
  margin-top: 5px;
} 

#header {
  position: absolute;
  top: 0px;
  width: 100%;
}
.odsadit_od_menu{margin-top:250px !important;}
#header #nav {background-color: #de0221;}
#header .zarovnani {width: 70%; position: relative; margin: auto auto;}
#header #nav .zarovnani ul { list-style: none; padding-top: 15px; padding-bottom: 15px; float: left; width: 90%;  z-index: 88;}
#header #nav .zarovnani ul li {float: left; font-size: 112%; margin-left: 4%;}
#header #nav .zarovnani ul li a { color: white; text-transform: uppercase; text-decoration: none; font-family: Arial, sans-serif; transition: 0.6s;}
#header #nav .zarovnani ul li a:hover { color: #eaeaea; border-bottom: 7px solid black; padding-bottom: 8px;}
#header #nav .zarovnani ul li.aktivni a { color: #eaeaea; border-bottom: 7px solid black; padding-bottom: 8px; font-weight: bold;}
#header #nav .zarovnani a#lang {
  color: white;
  text-transform: uppercase;
  padding: 5px 10px 5px 10px;
  background-color: black;
  border-radius: 0px;
  font-family: Arial, sans-serif;
  text-decoration: none;
  margin-top: 12px;
  float: right;
  display: block;
  margin-right: 2%;
  transition: 0.6s;
}
#header #nav .zarovnani #google_translate_element {
  display: none;
  position: absolute;
  right: 70px;
  top: 15px;
}
.glang {
     width: auto;
    height: auto;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    top: 0;
    left: 0;
}
#header #nav .zarovnani a#lang:hover { color: black; background-color: white;}
#header .zarovnani a#logo { display: block; padding: 25px 6% 25px 6%; float: left;}
#header .zarovnani #odkazy_vyhledavani {box-sizing: border-box; -moz-box-sizing: border-box; float: right; margin-right: 6%; text-align: right; width: 42%; margin-top: 50px;}
#header .zarovnani #odkazy_vyhledavani a { color: black; text-decoration: none; font-family: Arial, sans-serif; transition: 0.6s; margin-right: 4%; float: right; margin-top: 10px;}
#header .zarovnani #odkazy_vyhledavani a:hover { color: gray; }
#header .zarovnani #odkazy_vyhledavani form input[type=text] {
  background-color: black;  
  float: right; 
  font-size: 110%; 
  font-family: Arial, sans-serif; 
  padding: 8px 15px 8px 15px; 
  border: none;
  border-radius: 0px;
  color: white;
}
#header .zarovnani #odkazy_vyhledavani form input[type=submit] {
  float: right;
  display: block;
  background-image: url('../img/lupa.png');
  width: 28px;
  height: 28px;
  background-color: white;
  border: none;
  margin-left: 2%;
  margin-top: 5px;
  cursor: pointer;
}
#odkazy_vyhledavani ::-webkit-input-placeholder { color:white; }
#odkazy_vyhledavani ::-moz-placeholder { color:white; } 
#odkazy_vyhledavani :-ms-input-placeholder { color:white; } 
#odkazy_vyhledavani input:-moz-placeholder { color:white; }
#slider {
	margin: 0 auto;
	padding: 0;
	*zoom: 1;
      margin-top: 170px;
      position: relative;
}

#slider img {
	max-width: 100%;
	display: block;
}

.sliderInfoObal { width: 100%; position: absolute; bottom: 30px;}
.sliderInfoObal .sliderInfo {
    color: white;
    cursor: pointer;
    position: relative;
    float: right;
    width: 400px;
    margin-right: 20%;
    background-image: url('../img/slider_info.png');
    padding: 30px 20px 30px 50px; 
    transition: 0.6s;
}
.sliderInfoObal .sliderInfo:hover {
    background-color: #000;
}
.sliderInfoObal .sliderInfo .textova_cast { float: left; }
.sliderInfoObal .sliderInfo .textova_cast h2 {
  color: white;
  font-size: 150%;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
  font-weight: normal;
}
.sliderInfoObal .sliderInfo .textova_cast p { color: #de0221; font-size: 110%; }
.sliderInfoObal .sliderInfo a {display: block; float: right;}
#content { width: 100%;margin-top: 0px;}
#content.podstrana { margin-top: 70px;}
#content #vlastni_datum {
  width: 100%;
  position: relative;
  padding-top: 40px;
  padding-bottom: 10px;
  display: none;
}
#content #vlastni_datum form {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
#content #vlastni_datum form input {
  padding: 10px;
}
#content #vlastni_datum form input[type="submit"] {
  background-color: #de0221;
  color: white;
  border: none;
  font-size: 105%;
  padding-left: 15px;
  padding-right: 15px;
  cursor: pointer;
}
#program_nacitani {
 position: absolute;
 width: 80px;
 left: calc(50% - 40px);
 top: 130px;
 display: none;
}
#content #podstrana {border-top: 0px black solid; padding: 30px 15% 150px 15%;}


#content #podstrana a.galerie {
  display: block;
  float: left;
  width: 247px;
  height: 167px;
  margin: 10px;
  background-color: #fff;
  text-align: center;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
#content #podstrana a.galerie img {
  display: none;
}

#content #podstrana p {
  font-size: 110%;
  font-family: Arial, sans-serif;
  text-align: left;
  margin-top: 15px;
  line-height: 140%;
}
#content #podstrana h1 {
  font-size: 200%;
  font-family: Arial, sans-serif;
  width: 60%;
  text-align: left;
  margin-top: 25px;
}
#content #podstrana h1:first-child {
  margin-top: 0px;
}
#content #podstrana h2 {
  font-size: 180%;
  font-family: Arial, sans-serif;
  width: 60%;
  text-align: left;
  margin-top: 15px;
  text-transform: none;
}
#content #podstrana h3 {
  font-size: 170%;
  font-family: Arial, sans-serif;
  width: 60%;
  text-align: left;
  margin-top: 15px;
}
#content #podstrana h4 {
  font-size: 160%;
  font-family: Arial, sans-serif;
  width: 60%;
  text-align: left;
  margin-top: 15px;
}
#content #podstrana h5 {
  font-size: 150%;
  font-family: Arial, sans-serif;
  width: 60%;
  text-align: left;
  margin-top: 15px;
}
#content #podstrana h6 {
  font-size: 140%;
  font-family: Arial, sans-serif;
  width: 60%;
  text-align: left;
  margin-top: 15px;
}


#content #podstrana table {
	margin: 20px 10px 30px 10px;
}

#content #podstrana a.a_vyrazny {
 text-decoration: underline;
 color: #de0221;
}
#content #podstrana a.a_nevyrazny {
 text-decoration: underline;
 color: #474747;
}

#content #podstrana a.podkategorie {
  text-decoration: none;
  background-color: #de0221;  
  font-size: 120%;
  line-height: 120%;
  height: 90px;
  overflow: hidden;
  color: #fff;
  font-weight: bold;
  padding: 15px 1% 15px 1%;
  width: 29.3333%;
  display: inline-block;
  margin: 10px 1%;
  transition: 0.6s;
}
#content #podstrana a.podkategorie span {
  text-decoration: none;  
  font-size: 70%;
  line-height: 100%;
  color: #fff;
  font-weight: normal;
}
#content #podstrana a.podkategorie u {
  font-size: 70%;
}
#content #podstrana a.podkategorie:hover {
  background-color: #000;  
}

.vyrazna_hlaska {
  text-decoration: none;
  background-color: #de0221;  
  font-size: 128.57143%;
  line-height: 122.22222%;
  color: #fff;
  font-weight: bold;
  padding: 15px 30px 15px 30px;
  position: relative;
  margin: 10px auto;
  display: block;
  width: 50%;
  text-align: center;
}
#content #podstrana a.a_cta {
  text-decoration: none;
  background-color: #de0221;  
  font-size: 128.57143%;
  line-height: 122.22222%;
  color: #fff;
  font-weight: bold;
  padding: 15px 30px 15px 30px;
  display: inline-block;
  margin: 10px;
  transition: 0.6s;
}
#content #podstrana a.a_cta:hover {
  background-color: #000;  
}
#content #podstrana a.a_cta2:hover {
  background-color: #000;  
}
#content #podstrana a.a_cta2 {
  text-decoration: none;
  background-color: #c40727;  
  font-size: 128.57143%;
  line-height: 122.22222%;
  color: #fff;
  font-weight: bold;
  padding: 15px 30px 15px 30px;
  display: inline-block;
  margin: 10px;
  transition: 0.6s;
}
#content #podstrana a.tlacitko_cerne {
  text-decoration: none;
  background-color: #000;  
  font-size: 128.57143%;
  line-height: 122.22222%;
  color: #fff;
  font-weight: bold;
  padding: 15px 30px 15px 30px;
  margin: 10px;
  display: inline-block;
  transition: 0.6s;
}
#content #podstrana a.tlacitko_cerne:hover {
  background-color: #686868;
}
#content #podstrana a.tlacitko_cervene {
  text-decoration: none;
  background-color: #c40727;  
  font-size: 128.57143%;
  line-height: 122.22222%;
  color: #fff;
  font-weight: bold;
  padding: 15px 30px 15px 30px;
  margin: 10px;
  display: inline-block;
  transition: 0.6s;
}
#content #podstrana a.tlacitko_cervene:hover {
  background-color: #ff2c36;
}
#content #podstrana a.tlacitko_zelene {
  text-decoration: none;
  background-color: #0c934f;  
  font-size: 128.57143%;
  line-height: 122.22222%;
  color: #fff;
  font-weight: bold;
  padding: 15px 30px 15px 30px;
  margin: 10px;
  display: inline-block;
  transition: 0.6s;
}
.vyrazne_zelena {
 color: #2ed07e; 
}
#content #podstrana a.tlacitko_zelene:hover {
  background-color: #2ed07e;
}
#content #podstrana a.tlacitko_modre {
  text-decoration: none;
  background-color: #1ab0b5;  
  font-size: 128.57143%;
  line-height: 122.22222%;
  color: #fff;
  font-weight: bold;
  padding: 15px 30px 15px 30px;
  margin: 10px;
  display: inline-block;
  transition: 0.6s;
}
#content #podstrana a.tlacitko_modre:hover {
  background-color: #31ded4;
}
#content #podstrana img.img_vlevo {
 float: left;
 margin: 10px 10px 10px 0px;
}
#content #podstrana img.img_vpravo {
 float: right;
 margin: 10px 0px 10px 10px;
}
#content #podstrana img.img_100 {
 clear: both;
 width: 80%;
 height: auto!important;
 margin: 15px auto 15px auto;
 text-align: center;
}
#content #podstrana table.table_svetla tr td {
 background-color: #f7f7f7;
 border: 1px solid #fff;
 padding: 8px 15px;
}
#content #podstrana table.table_tmava tr td  {
 background-color: #de0221;
 border: 1px solid #fff;
 padding: 8px 15px;
 color: #000;
}
#content #podstrana table tr td.td_svetla {
 background-color: #f7f7f7;
 border: 1px solid #fff;
 padding: 8px 15px;
}
#content #podstrana table tr td.td_tmava {
 background-color: #de0221;
 border: 1px solid #fff;
 padding: 8px 15px;
 color: #000;
}
#content #podstrana table tr.tr_svetla td {
 background-color: #f7f7f7;
 border: 1px solid #fff;
 padding: 8px 15px;
}
#content #podstrana table tr.tr_tmava td {
 background-color: #c8dbdf;
 border: 1px solid #fff;
 padding: 8px 15px;
 color: #000;
}
#content #podstrana span.maly {
 font-size: 78%;
}
#content #podstrana span.maly2 {
 font-size: 86%;
}
#content #podstrana span.maly3 {
 font-size: 94%;
}
#content #podstrana span.velky {
 font-size: 110%;
}
#content #podstrana span.velky2 {
 font-size: 130%;
}
#content #podstrana span.velky3 {
 font-size: 150%;
}
#content #podstrana span.nejvetsi {
 font-size: 200%;
}
#content #podstrana span.vyrazny {
 color: #de0221;
}
#content #podstrana span.vyrazny_vice {
 color: #de0221;
 font-weight: bold;
}
#content #podstrana span.vyrazny_vice2 {
 color: #c30827;
 font-weight: bold;
}
#content #podstrana span.vyrazny_pozadi {
 color: #fff;
 padding: 1px;
 background-color: #de0221;
}
#content #podstrana span.vyrazny_pozadi2 {
 color: #fff;
 padding: 1px;
 background-color: #c30827;
}
#content #podstrana strong.velky {
 font-size: 140%;
}
#content #podstrana strong.nejvetsi {
 font-size: 180%;
}
#content #podstrana blockquote {
 padding: 2px;
 background-color: #f7f7f7;
}
#content #podstrana code {
 padding: 2px;
 background-color: #f7f7f7;
  font-family: 'Courier New', Courier, monospace;
}
#content #podstrana h1.vetsi {
 font-size: 300%;
}
#content #podstrana h1.mensi {
 font-size: 175%;
}
#content #podstrana h1.nejmensi {
 font-size: 150%;
}
#content #podstrana h2.vetsi {
 font-size: 240%;
}
#content #podstrana h2.mensi {
 font-size: 200%;
}
#content #podstrana h3.vetsi {
 font-size: 230%;
}
#content #podstrana h3.mensi {
 font-size: 180%;
}
#content #podstrana h4.vetsi {
 font-size: 220%;
}
#content #podstrana h4.mensi {
 font-size: 160%;
}
#content #podstrana h5.vetsi {
 font-size: 200%;
}
#content #podstrana h5.mensi {
 font-size: 130%;
}
#content #podstrana hr {
clear: both;
margin: 50px 0 20px 0;
    border: 0;
    height: 1px;
    background: #f2f2f2;
}
#content #podstrana p.velky {
 font-size: 150%;
}
#content #podstrana p.vyrazny {
 color:#de0221; font-weight: bold; 
}

#content #podstrana p.vyrazny a { color:#c30827; font-weight: bold; text-decoration: underline; }
#content #podstrana p.vyrazny2 {
 font-weight: bold;
 color: #fff;
 padding: 20px;
 font-size: 110%;
 background-color: #c30827;
}
#content #podstrana table.panely {
 width: 100%;
}
#content #podstrana table.panely p {
 padding: 7px;
 padding: 12px;
} 
#content #podstrana ul.vyrazny {
margin-left: 0px;
}

#content #podstrana ul.vyrazny li {
  background: transparent url("../../../media/img/data-uri/li.png") no-repeat left 6px;
  list-style-type: none;
  line-height: 118.75%;
  padding: 5px 0 5px 30px;
}
#content #podstrana table {
	margin: 10px 10px 30px 10px;
}

#content #podstrana ul.vyrazny2 {
  margin: 10px;
}
#content #podstrana ul.vyrazny2 li {
  font-size: 114.28571%;
  line-height: 118.75%;
  font-weight: bold;
  list-style-type: none;
  padding: 5px 0 5px 30px;
  background: transparent url("../../../media/img/data-uri/li-4.png") no-repeat left 7px;
}


#content #podstrana ul {list-style: none; color: #de0221; font-weight: 700;}
#content #podstrana ul li {line-height: 140%;} 
#content #podstrana ul li:before{ content:"- "; position:relative; }
#content #podstrana a {color: black;}
#content #podstrana a:hover {text-decoration: none;}

#content div.clanek_detail_galerie {
 padding: 20px 0px;
}

.strankovani {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
  }

.strankovani a {
  padding: 13px 8px;
  display: inline-block;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  margin: 1px;
  background-color: #989898;
  font-size: 13px;
  border-radius: 0px;
  }

.strankovani a.strankovani_neaktivni {
  text-decoration: none !important;
    color: #333333;
  }

.strankovani a.strankovani_neaktivni:hover {
  text-decoration: none !important;
  color: #de0221;
  }

.strankovani a:hover {
    color: #fff!important;
    background-color: #de0221;
  }

.strankovani a.active {
    color: #fff!important;
    font-weight: bold;
    background-color: #de0221;
  }

#content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 200%;
  text-transform: uppercase;
}
#content #obdobi {text-align: center; margin-top: 15px;}
#content #obdobi a {
  padding: 5px 25px 5px 25px;
  color: black;
  text-decoration: none;
  font-size: 120%;
  font-family: Arial, sans-serif;
  transition: 0.6s;
  white-space: nowrap;
} 
#content #obdobi a:hover { border: none; border-radius: 0px; background-color: #de0221; color: #fff; }
#content #obdobi a.active { border: none; border-radius: 0px; background-color: #de0221; color: #fff;} 
#content #typ_akce {text-align: center; margin-top: 25px;}
#content #typ_akce a {
  padding: 5px 20px 5px 20px;
  color: black;
  text-decoration: none;
  font-size: 100%;
  font-family: Arial, sans-serif;
  transition: 0.6s;
  white-space: nowrap;
}
#content #typ_akce a.active { border: none; border-radius: 0px; background-color: #de0221; color: #fff;} 
#content #typ_akce a:hover { border: none; border-radius: 0px; background-color: #de0221; color: #fff;} 
#content #vypis_akci {
  margin-top: 40px;
  padding-top: 10px;
  border-top: #c4c4c4 solid 1px;
  background-color: #eaeaea;
}
#content #vypis_akci .zarovnani { margin: auto auto;}
#content #vypis_akci .zarovnani a.dolu {width: 57px; margin: auto auto; display: block; margin-bottom: 40px;}
#content #vypis_akci .zarovnani #dlazdice {}
#content #vypis_akci .zarovnani #dlazdice .reklama {margin-left: auto; margin-right: auto; width: 100%; max-width: 970px; margin-top: 15px; margin-bottom: 15px; clear: both;}
#content #vypis_akci .zarovnani #dlazdice .reklama img {width: 100%;}
#content #vypis_akci .zarovnani #dlazdice .reklama p {background-color: black; color: white; font-size: 150%; text-align: center; height: 270px; line-height: 270px;}
#content #vypis_akci .zarovnani #dlazdice .reklama a {text-decoration: none;}
#content .reklama.detail {margin-top: 50px; margin-left: auto; margin-right: auto; width: 100%; max-width: 970px; margin-bottom: 15px; clear: both;}
#content .reklama.detail img {width: 100%;}
#content .reklama.detail p {background-color: black!important; color: white!important; font-size: 150%!important; text-align: center!important; height: 270px!important; line-height: 270px!important;}
#content .reklama.detail a {text-decoration: none;}
#content #vypis_akci .zarovnani #dlazdice .dlazdice.zvyraznena { 
    width: 22.2%;
    border: 4px solid #de0221;
    height: 337px;
    -webkit-box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.75);
}
#content #vypis_akci .zarovnani #dlazdice .dlazdice {
 overflow: hidden;
  cursor: pointer;
  width: 23%;
  height: 345px;
  background: #de0221 url('../../galerie_akce/vychozi.jpg') center center no-repeat;
  background-size: cover;
  float: left;
  margin: 1%;
  position: relative;
  display: block;
  transition: 0.6s;
}
#content #vypis_akci .zarovnani #dlazdice .dlazdice .text {
  position: absolute;
  bottom: 0px;
  width: 100%;
}
#content #vypis_akci .zarovnani #dlazdice .dlazdice h2 {
  background-image: url('../img/slider_info.png');
  color: #de0221;
  text-transform: none;
  font-size: 100%;
  font-family: Arial, sans-serif;
  text-align: left;
  padding: 5px 10px 5px 10px;
  display: initial;
  position: relative;
}
#content #vypis_akci .zarovnani #dlazdice .dlazdice h3 {
  background-image: url('../img/slider_info.png');
  color: #de0221;
  text-transform: none;
  font-size: 120%;
  font-family: Arial, sans-serif;
  text-align: left;
  padding: 5px 10px 5px 10px;
  display: block;
  position: relative;
}
#content #vypis_akci .zarovnani #dlazdice .dlazdice h3 a {
  color: white;
  text-decoration: none;
}
#content #vypis_akci .zarovnani #dlazdice .dlazdice.zvyraznena .datum {color: #fff; background-color: #de0221;}
#content #vypis_akci .zarovnani #dlazdice .dlazdice.zvyraznena .datum a span {color: #fff;}
#content #vypis_akci .zarovnani #dlazdice .dlazdice .datum { background-color: #fff; height: 15px; padding: 15px; font-family: Arial, sans-serif; transition: 0.7s;} 
#content #vypis_akci .zarovnani #dlazdice .dlazdice .najetiText {display: none; background-color: #fff; height: 300px; padding-top: 30px;}
#content #vypis_akci .zarovnani #dlazdice .dlazdice .najetiText h2 {background: none; color: black; padding: 0px 15px 0px 30px; font-family: Arial, sans-serif;}
#content #vypis_akci .zarovnani #dlazdice .dlazdice .najetiText h3 {background: none; padding: 0px 15px 0px 30px; margin-top: 15px; font-size: 120%;}
#content #vypis_akci .zarovnani #dlazdice .dlazdice .najetiText a { text-decoration: none; }
#content #vypis_akci .zarovnani #dlazdice .dlazdice .najetiText a p { color: black; text-decoration: none; font-size: 85%; margin-top: 15px;  padding: 0px 15px 0px 30px;}
#content #vypis_akci .zarovnani #dlazdice .dlazdice .najetiText .datum {   
  box-sizing: border-box;
  -moz-box-sizing: border-box;  
  position: absolute; 
  bottom: 0px; 
  color: white; 
  background-color: gray; 
  height: 15px; 
  padding: 15px 15px 30px 15px; 
  font-family: Arial, sans-serif;
  width: 100%;
}
#content #vypis_akci .zarovnani #dlazdice .dlazdice .datum a {display: block; float: right;}
#content #vypis_akci .zarovnani #dlazdice .dlazdice .datum a span.akce_vice {
  color: #fff;
  display: block;
  float: left;
  margin-right: 10px;
}
#content #vypis_akci .zarovnani #dlazdice .dlazdice .datum a span.akce_vice_blc {
  color: #000;
  display: block;
  float: left;
  margin-right: 10px;
}
#content #vypis_akci .zarovnani a.vice_programu {
  display: block;
  float: right;
  padding: 10px 50px 10px 30px;
  background-color: black;
  color: white;
  font-size: 140%;
  font-family: Arial, sans-serif;
  text-decoration: none;
  border-radius: 0px;
  background-image: url('../img/sipka_mala_doprava_bila.png');
  background-repeat: no-repeat;
  background-position: 85% 50%;
  background-position-x: 85%;
  background-position-y: 50%;  
  transition: 0.6s;
  margin-bottom: 60px;
  margin-right: 1%;
}
#content #vypis_akci .zarovnani a.vice_programu:hover { background-color: gray; }
#content #co_se_deje { padding-top: 20px; width: 70%; margin: auto auto; }
#content #co_se_deje .deje_se {
  width: 30%;
  height: 550px;
  margin: 40px 1.5% 0px 1.5%;
  display: block;
  float: left; 
}

#content #co_se_deje .deje_se a.deje_se_img {display: inline-block; width: 100%; height: 265px; background: url('../../galerie_clanky/vychozi.jpg') center center no-repeat; background-size: cover;}
#content #co_se_deje .deje_se a.deje_se_img img {display: none}
#content #co_se_deje .deje_se p.datum { color: #de0221; font-size: 75%; font-weight: bold; padding: 15px 0px 5px 15px;}
#content #co_se_deje .deje_se h2 {
  margin-top: 0;
  text-align: left;
  font-size: 150%;
  font-family: Arial, sans-serif;
  text-transform: none;
  width: 90%;
  padding-left: 15px;
}
#content #co_se_deje .deje_se h2 a {
text-decoration: none;
color: #000;
  transition: 0.6s;
}
#content #co_se_deje .deje_se h2 a:hover {
color: #de0221;
}
#content #co_se_deje .deje_se p {
  padding: 15px 0px 5px 15px;
  font-size: 93%;
}
#content #co_se_deje a.vice {
  color: #de0221;
  text-decoration: none;
  padding: 5px 38px 5px 15px;
  font-size: 75%;
  text-transform: uppercase;
  border-radius: 0px;
  font-family: Arial, sans-serif;
  display: block;
  width: 110px;
  margin-top: 20px;
  transition: 0.6s;
  margin-bottom: 5px;
}
#content #co_se_deje a.vice:hover {background-color: #de0221; color: #fff}
#content #co_se_deje a.vice_novinek {
  display: block;
  float: right;
  padding: 10px 50px 10px 30px;
  background-color: black;
  color: white;
  margin-right: 2.5%;
  font-size: 140%;
  font-family: Arial, sans-serif;
  text-decoration: none;
  border-radius: 0px;
  background-image: url('../img/sipka_mala_doprava_bila.png');
  background-repeat: no-repeat;
  background-position: 85% 50%;
  background-position-x: 85%;
  background-position-y: 50%;   
  transition: 0.6s;
  margin-bottom: 30px;
}
#content #co_se_deje a.vice_novinek:hover { background-color: gray; }
#footer {
      clear: both;
    margin-top: 100px;
  background-color: #de0221;
}

#footer #footer_middle #partneri {text-align: center; width: 100%; margin-left: auto; margin-right: auto;}
#footer #footer_middle #partneri h2 {
  text-align: center;
  font-size: 200%;
  text-transform: uppercase;
  padding-top: 5px;
  padding-bottom: 25px;
}
#footer #footer_middle #partneri a {
  text-decoration: none!important;
  color: transparent;
}
#footer #footer_middle #partneri img {
  height: 50px;
      margin: 20px;
    margin-bottom: 30px;
  text-decoration: none;
  color: transparent;
  background-color: transparent;
}
#footer #footer_middle #zastity {text-align: center; width: 100%; margin-left: auto; margin-right: auto;}
#footer #footer_middle #zastity h2 {
  text-align: center;
  font-size: 200%;
  text-transform: uppercase;
  padding-top: 5px;
  padding-bottom: 25px;
}
#footer #footer_middle #zastity img {
  float: left;
  margin: 10px;
  max-width: 100%;
}

#footer #footer_info { width: 70%; margin: auto auto; padding-top: 50px;}
#footer_pribrameu .zarovnani .menu {
    float: left;
    width: 20%;
}
#footer_pribrameu .zarovnani .menu ul {
    list-style: none;
    margin-top: 50px;
    margin-left: 70px;
}
#footer_pribrameu .zarovnani .menu ul li a {line-height: 140%; color: black;  font-size: 110%;}
@media(max-width: 1180px) { 
    #footer_pribrameu .zarovnani .menu {width: 17%;}
    #footer_pribrameu .zarovnani .menu ul {margin-left: 20px;}
}
@media(max-width: 1080px) { 
    #footer_pribrameu .zarovnani p {margin-left: 23px!important;}
}
@media(max-width: 960px) { 
    #footer_pribrameu .zarovnani .newsletter {width: 100%!important; float: none!important; clear: both!important; max-width: 420px!important; margin-left: auto!important; margin-right: auto!important;}   
    #footer_pribrameu .zarovnani p {width: 40%!important;}
    #footer_pribrameu .bottom .zarovnani p.copy {width: 100%!important; text-align: center;}
    #footer_pribrameu .zarovnani .menu {width: 30%; float: right;}
} 
@media(max-width: 750px) {  
    #footer_pribrameu .zarovnani p {margin-left: 73px!important; width: 30%!important;}
    #footer_pribrameu .zarovnani .menu {width: 25%; float: right;}
}
#footer #footer_info a.newsletter {
  display: block;
  margin: auto auto;
  width: 342px;
  background-color: black;
  color: white;
  font-size: 150%;
  text-align: center;
  text-decoration: none;
  font-family: Arial, sans-serif;
  padding: 10px;
  border-radius: 0px;
  transition: 0.6s;
}
#footer #footer_info a.newsletter:hover { background-color: lightgray; }
#footer #footer_info p {
  font-family: Arial, sans-serif;
  text-align: center;
  padding-top: 35px;
  font-size: 115%;
}
#footer #footer_info #social { text-align: center; padding-bottom: 45px;}
#footer #footer_info #social a.social {
  display: inline-block;
  margin-top: 15px;
  margin-left: 15px;
  margin-right: 15px;
}

#footer #footer_middle {
  background-color: #000;
  color: white;
  padding: 50px;
}
#footer #footer_middle.footer_white {
  background-color: #fff;
  color: #000;
  padding: 50px;
}


#footer #footer_middle .zarovnani {width: 70%; margin: auto auto;}

#footer #footer_bottom {
  background-color: #292929;
  color: white;
  padding: 50px;
}
#footer #footer_bottom .zarovnani {width: 70%; margin: auto auto;}
#footer #footer_bottom .zarovnani ul {list-style: none; text-align: center; }
#footer #footer_bottom .zarovnani ul li {font-size: 112%; margin-left: 2%; display: inline-block; }
#footer #footer_bottom .zarovnani ul li a { 
  color: white; 
  text-transform: uppercase;  
  padding: 5px 10px 5px 10px; 
  text-decoration: none; 
  font-family: Arial, sans-serif; 
  transition: 0.6s; 
  border-radius: 0px;
}
#footer #footer_bottom .zarovnani ul li a:hover { color: black; background-color: white;}
#footer #footer_bottom .zarovnani #leva_cast {
  float: left;
  margin-left: 10%;
  margin-top: 50px;
  font-size: 90%;
}
#footer #footer_bottom p#patka_text a {text-decoration: underline; color: white;}
#footer #footer_bottom p#patka_text a:hover {text-decoration: none;}
#footer #footer_bottom .zarovnani #prava_cast {
  float: right;
  margin-right: 8%;
  margin-top: 40px;
  font-size: 90%;
  text-align: right;
}
#footer #footer_bottom .zarovnani #prava_cast form {margin-top: 15px;}
#footer ::-webkit-input-placeholder { color:#292929; }
#footer ::-moz-placeholder { color:#292929; } 
#footer :-ms-input-placeholder { color:#292929; } 
#footer input:-moz-placeholder { color:#292929; }
#footer #footer_bottom .zarovnani #prava_cast input[type=email] {
  font-size: 120%;
  border: none;
  padding: 5px 15px 5px 15px;
  border-radius: 0px;
  width: 170px;
}
#footer #footer_bottom .zarovnani #prava_cast input[type=submit] {
  font-size: 120%;
  border: none;
  padding: 5px 15px 5px 15px;
  border-radius: 0px;
  background-color: #de0221;
  width: 80px;
  color: white;
  margin-left: 10px;
  cursor: pointer;
  transition: 0.6s;
}
#footer #footer_bottom .zarovnani #prava_cast input[type=submit]:hover {background-color: white; color: black;} 
#footer #footer_bottom .zarovnani #prava_cast a {margin-top: 20px; color: #de0221; display: block; margin-bottom: 20px;}
#footer #footer_bottom .zarovnani #prava_cast a:hover {text-decoration: none;}
#footer #footer_bottom .zarovnani p#patka_text {
  text-align: center;
  padding-top: 35px;
  padding-bottom: 60px;
  font-size: 90%;
}




#footer_pribrameu {
  background-color: #d5d5d5;
  width: 100%;
  color: black;
}
#footer_pribrameu .zarovnani a.logo_bottom {float: left; width: 20%; max-width: 158px; height: 185px;}
#footer_pribrameu .zarovnani a.social_bottom img {margin-top: 50px}

#footer_pribrameu .zarovnani p {
  float: left;
  display: block;
  margin-top: 55px;
  margin-left: 93px;
  width: 20%;
}
#footer_pribrameu .zarovnani p a {color: black; text-decoration: none;}
#footer_pribrameu .zarovnani p a:hover {text-decoration: underline;}
#footer_pribrameu .zarovnani .newsletter {
  width: 405px;
  float: right;
  margin-top: 50px;
}
#footer_pribrameu .zarovnani .newsletter h2 {font-size: 170%; font-weight: normal; text-transform: uppercase; float: left;}
#footer_pribrameu .zarovnani .newsletter a {float: right; color: black;}
#footer_pribrameu .zarovnani .newsletter a:hover {text-decoration: none;}
#footer_pribrameu .zarovnani .newsletter input[type="text"] {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  background-color: white;
  border: none;
  color: black;
  outline: none;
  width: 246px;
  float: left;
  margin-top: 20px;
  font-size: 100%;
  padding: 16px 20px;
}
#footer_pribrameu .zarovnani .newsletter input[type="submit"] {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  background-color: #de0221;
  border: none;
  color: white;
  outline: none;
  width: 159px;
  float: left;
  margin-top: 20px;
  font-size: 100%;
  padding: 16px 20px;
  text-transform: uppercase;
  transition: 0.6s;
  cursor: pointer;
}
#footer_pribrameu .zarovnani .newsletter input[type="submit"]:hover {background-color: white; color: black;}
#footer_pribrameu .bottom {box-sizing: border-box; -moz-box-sizing: border-box; border-top: #bdbdbd solid 1px;}
#footer_pribrameu .bottom p {margin-top: 30px; margin-bottom: 28px; margin-left: 0px; color: #8b8b8b;}
#footer_pribrameu .bottom p.copy {float: left; width: 60%;}
#footer_pribrameu .bottom p.copy {width: 100%; text-align: center;}
#footer_pribrameu .bottom p.copy a {color: #8b8b8b; text-decoration: underline;}
#footer_pribrameu .bottom p.copy a:hover {text-decoration: none;}
#footer_pribrameu .bottom p.navi {float: right; width: 39%; text-align: right;}
#footer_pribrameu .bottom p.navi a {
  background-image: url("../img/delitko_bottom.jpg");
  background-repeat: no-repeat;
  background-position: 100% 50%;
  background-position-x: 100%;
  background-position-y: 50%;
  padding-right: 20px;
  padding-left: 20px;
  color: #8b8b8b;
}
#footer_pribrameu .bottom p.navi a:hover {color: black;}
#footer_pribrameu .bottom p.navi a:last-child {padding-right: 0px; background-image: none;}

/* === RESPONZIVNI VERZE === */
#header .zarovnani, #content #vypis_akci .zarovnani, #content #co_se_deje, #footer #footer_info, #footer #footer_bottom .zarovnani { width: 95%; max-width: 1300px} 
#content #podstrana h2 {width: 90%; max-width: 900px}
@media(max-width: 1390px) {
  #header #nav .zarovnani ul li {margin-left: 2%;}
  /*
  #content #vypis_akci .zarovnani #dlazdice .dlazdice {margin-left: 1.5%; margin-bottom: 2%;}
  #content #vypis_akci .zarovnani #dlazdice { text-align: center; }
  #content #vypis_akci .zarovnani #dlazdice .dlazdice { float: none; display: inline-block; text-align: left;}
  #content #vypis_akci .zarovnani #dlazdice .dlazdice:nth-child(1), #content #vypis_akci .zarovnani #dlazdice .dlazdice:nth-child(4), 
  #content #vypis_akci .zarovnani #dlazdice .dlazdice:nth-child(7)  {margin-left: 0;}  
  #content #vypis_akci .zarovnani #dlazdice .dlazdice:nth-child(5) {margin-left: 1.5%;}
  #content #vypis_akci .zarovnani #dlazdice .dlazdice .najetiText {  height: 320px; padding-top: 30px;  position: absolute;  bottom: 0px; text-align: left; }
  */
  
#content #vypis_akci .zarovnani #dlazdice .dlazdice .datum a span.akce_vice { font-size: 75%; margin-right: 5px; padding-top: 2px; }
#content #vypis_akci .zarovnani #dlazdice .dlazdice .datum a span.akce_vice_blc { font-size: 75%; margin-right: 5px; padding-top: 2px; }
}
@media(max-width: 1250px) {
  #header .zarovnani a#logo {  display: inline-block; position: relative; margin: auto; padding: 25px 1% 25px 1%; width: 30%; /*text-align: center;*/}
  #header .zarovnani a#logo img{width:300px;}
    #header_pribrameu #nav #topNav ul li { font-size: 12px }
    #header_pribrameu #nav #topNav ul li a { padding: 12px 6px; }


   }

@media(max-width: 1190px) {
#content #vypis_akci .zarovnani #dlazdice .dlazdice .datum {font-size: 90%;}
}
@media(max-width: 1160px) { 
#header #nav .zarovnani ul li {margin-left: 1.5%; font-size: 95%;}
}
@media(max-width: 1100px) {
 
  #program_nacitani {top: 150px;}
  #content #vypis_akci .zarovnani #dlazdice .dlazdice {width: 31.33333%;}
//  #content #vypis_akci .zarovnani #dlazdice .dlazdice.zvyraznena {width: 64.33%;}
  #content #vypis_akci .zarovnani #dlazdice .dlazdice.zvyraznena {width: calc(31.13% - 8px);}
  #content #podstrana {padding: 40px 5% 50px 5%;}
  #content #vlastni_datum form { width: 80%; }

  #footer_pribrameu .bottom p.navi a {padding-left: 10px; padding-right: 10px;}
    #footer_pribrameu .zarovnani a.social_bottom img { margin-top: 70px; width: 42px; }

}

@media(max-width: 1000px) {
  #hamburgerTop { display: block; width: 50px; position: relative; margin: auto auto; cursor: pointer; padding: 5px; float: left;}
  .caraTop { width: 50px; height: 5px; display: block; background-color: white; margin-top: 7px; margin-bottom: 7px;}
  #header #nav .zarovnani ul { display: none; position: absolute; margin-top: 40px;}
  #header #nav .zarovnani ul li {position: relative; float: none; width: calc(100% - 20px); text-align: center; line-height: 200%; background-color: #de0221; border-bottom: white dotted 1px; }
  #header #nav .zarovnani ul li:hover {background-color: #28aca4;}
  #header #nav .zarovnani ul li a:hover {border-bottom: none;}  
/*  .sliderInfoObal { width: 100%; position: absolute; bottom: 0px; height: 100%;}*/
.sliderInfoObal {
    width: 0;
    position: absolute;
    bottom: 0px;
    height: 0;
    display: none;
}
  .sliderInfoObal .sliderInfo { margin-right: 0; height: 60px; margin-top: 80px; }
  .sliderInfoObal .sliderInfo .textova_cast, .sliderInfoObal .sliderInfo a { top: 30%; position: absolute;}
  .sliderInfoObal .sliderInfo a {right: 5%;}
  #content #vypis_akci .zarovnani #dlazdice .dlazdice {width: 48%;}
   #content #vypis_akci .zarovnani #dlazdice .dlazdice.zvyraznena {width: calc(48% - 8px);}
  #content #podstrana a.podkategorie {width: 46%}
  /*
  #content #vypis_akci .zarovnani #dlazdice .dlazdice:nth-child(1), #content #vypis_akci .zarovnani #dlazdice .dlazdice:nth-child(3), 
  #content #vypis_akci .zarovnani #dlazdice .dlazdice:nth-child(5), #content #vypis_akci .zarovnani #dlazdice .dlazdice:nth-child(7)  {margin-left: 0;}  
  #content #vypis_akci .zarovnani #dlazdice .dlazdice:nth-child(4) {margin-left: 1.5%;}
  */
  #content #podstrana h2 {font-size: 150%;}
  #program_nacitani {top: 170px;}
}

@media(max-width: 980px) {
    #header_pribrameu #nav #hamburger {cursor: pointer; position:relative; display: block; width: 50px; height: 35px; margin-top: 6px; margin-left: auto; margin-right: auto;  -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); -webkit-transition: 0.5s ease-in-out; transition: 0.5s ease-in-out; }
    #header_pribrameu #nav #hamburger div{display: block; position: absolute; height: 6px; width: 100%; background-color: black; border-radius: 3px; opacity: 1; left: 0; -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); -webkit-transition: .25s ease-in-out; -moz-transition: .25s ease-in-out; -o-transition: .25s ease-in-out; transition: .25s ease-in-out;}
    #header_pribrameu #nav #hamburger div:nth-child(1) { top: 0px;}
    #header_pribrameu #nav #hamburger div:nth-child(2) { top: 12px;}
    #header_pribrameu #nav #hamburger div:nth-child(3) { top: 24px;}
    #header_pribrameu #nav #hamburger.open  div{background-color: #de0221;}
    #header_pribrameu #nav #hamburger.open div:nth-child(1) { top: 17px;  -webkit-transform: rotate(135deg); -moz-transform: rotate(135deg); -o-transform: rotate(135deg); transform: rotate(135deg);}
    #header_pribrameu #nav #hamburger.open div:nth-child(2) { opacity: 0; left: -60px;}
    #header_pribrameu #nav #hamburger.open div:nth-child(3) { top: 17px; -webkit-transform: rotate(-135deg); -moz-transform: rotate(-135deg); -o-transform: rotate(-135deg); transform: rotate(-135deg);}
    #header_pribrameu #nav #topNav {height: 48px;}
    #header_pribrameu #topHeader #logo {width: 365px;}
    #header_pribrameu #topHeader #logo h1 {display: none;}
    #header_pribrameu #nav #topNav ul {display: none; width: 100%; margin-left: auto; margin-top: 7px; /*z-index: 9999;*/ position: absolute;}


    #header_pribrameu_pribrameu #nav #hamburger.open div:nth-child(3) { top: 17px; -webkit-transform: rotate(-135deg); -moz-transform: rotate(-135deg); -o-transform: rotate(-135deg); transform: rotate(-135deg);}
    #header_pribrameu #nav #topNav ul div.lemovani {float: none; clear: both; display: block; width: 100%;}
    #header_pribrameu #nav #topNav ul li:hover span {display: none;}
    #header_pribrameu #nav #topNav ul li:hover .podmenu {display: none;}
    #header_pribrameu #nav #topNav ul li {display: block; background-image: url("../img/podmenu_podklad.png"); padding: 0px; z-index: 999; position: relative; margin-right: 0px; margin-left: 0px; margin-top: 0px;}
    #header_pribrameu #nav #topNav ul li:hover {background-color: initial;}
    #header_pribrameu .zarovnani #nav ul li ul {display: none;}
    #header_pribrameu #nav #topNav ul li a {width: 100%; display: block; padding-top: 20px; padding-bottom: 20px;}
    #header_pribrameu #nav #topNav ul li a:hover {background-color: #de0221;}



    #header .zarovnani a#logo {  display: inline-block; position: relative; margin: auto; padding: 25px 1% 25px 1%; width: 30%; /*text-align: center;*/}
    #header .zarovnani a#logo img{width:250px;}
    #header .zarovnani #odkazy_vyhledavani {margin-right: auto; position: relative; margin: auto; text-align: center; margin-top: 25px; width: 55%;}



    .bx-wrapper, #content, #footer {top: 230px!important; }
  #content #co_se_deje .deje_se { width: 97%; height: auto; margin-right: 3%; margin-bottom: 20px; float: left;}
  #content #co_se_deje .deje_se a img {width: 40%;}
  #content #podstrana img#uvodka {width: 90%;}
  #header .zarovnani #odkazy_vyhledavani a { margin-right: 6% }
  #header .zarovnani #odkazy_vyhledavani a.kontakty { margin-top: -5px;  }
  #content #typ_akce a { line-height: 200%; }
  #footer #footer_bottom .zarovnani ul li a { line-height: 200%; }    
  #footer #footer_bottom #partneri {width: 100%;}

  #footer_pribrameu .zarovnani p {margin-left: 15px;}
  #footer_pribrameu .bottom p.copy, #footer_pribrameu .bottom p.navi {width: 100%; float: none; clear: both; text-align: left; padding: 0px; margin: 0px; padding-bottom: 10px; padding-top: 5px;}
  #footer_pribrameu .bottom p.navi a:first-child {padding-left: 0px;}

}
  
@media(max-width: 880px) {
  #footer #footer_bottom .zarovnani #leva_cast, #footer #footer_bottom .zarovnani #prava_cast {float: none; text-align: left; margin-left: 0;}
    #header_pribrameu #topHeader #logo a{
        display: block;
        width: 100%;
    }
    #header_pribrameu #topHeader #logo a img{display: block; width: 100%;}
}

@media(max-width: 864px) {
  #header .zarovnani #odkazy_vyhledavani a, #header .zarovnani #odkazy_vyhledavani a.kontakty { margin-right: 6%; margin-top: 20px }
}

@media(max-width: 780px) {
    #header_pribrameu #slider {top: 0px;}
  #header .zarovnani a#logo {width: 35%;}
  #header .zarovnani #odkazy_vyhledavani {width: 54%;}
  #header .zarovnani a#logo img {width: 100%;}
  #header .zarovnani #odkazy_vyhledavani form input[type=submit], #header .zarovnani #odkazy_vyhledavani form input[type=text], 
  #header .zarovnani #odkazy_vyhledavani a, #header .zarovnani #odkazy_vyhledavani a.kontakty {float: left; margin-left: 3%; margin-top: auto; padding-top: 10px; margin-right: auto} 
  .sliderInfoObal .sliderInfo {width: 300px; height: 60px; padding: 10px 20px 10px 40px; margin-top: 70px; }
  .sliderInfoObal .sliderInfo .textova_cast h2 {font-size: 110%;}
  .sliderInfoObal .sliderInfo .textova_cast p { font-size: 100%;}
  .sliderInfoObal .sliderInfo .textova_cast, .sliderInfoObal .sliderInfo a { top: 20%; }
  #content #obdobi a { line-height: 200%; }
  #program_nacitani {top: 230px;}
  #content #podstrana a.podkategorie {width: 96%}

#header_pribrameu #slider.vyska .ms-slide {margin-top: 0px;}  
#header_pribrameu #slider .ms-slide {
  display: block; 
  width: 100%;
  height: 205px!important;
  margin-top: 120px;
  background-size: contain;
}
.ms-slide .ms-slide-bgcont img, .ms-container, .ms-inner-controls-cont, .ms-view {
    height: 455px!important;
}
#header_pribrameu.header_podstrana #slider {
    height: 405px;
}
#header_pribrameu.header_podstrana {
       height: 395px;
}
#content.podstrana {
    margin-top: 20px;
}
.header_podstrana .ms-view { margin-top: 0px!important; }
#header_pribrameu #slider {
    height: 455px;
}
}
@media (max-width: 750px) {
    #header_pribrameu #topHeader {height: 170px;}
    #header_pribrameu #nav {margin-top: 170px;}
    #header_pribrameu #topHeader #vyhledavani input[type="text"], #header_pribrameu #topHeader #vyhledavani input[type="submit"] {margin-top: 10px;}
    #header_pribrameu #topHeader #logo, #header_pribrameu #topHeader #vyhledavani {clear: both; float: none; margin-left: auto; margin-right: auto; display: block; width: 315px;}
    .header_obrazek {margin-top: 170px;}
  #header_pribrameu { width: 100%; position: relative; height: 415px;}

    #footer_pribrameu .zarovnani .newsletter {float: none; width: 100%; clear: both;}
  #footer_pribrameu .zarovnani p {margin-left: 53px; width: 200px;}
  #footer_pribrameu .zarovnani a.logo_bottom {margin-bottom: 0px; height: 135px;}
  #footer_pribrameu .zarovnani .newsletter h2 {width: 100%; text-align: center;}
  #footer_pribrameu .zarovnani .newsletter a {float: none; text-align: center; width: 100%; clear: both; display: block;}
  #footer_pribrameu .zarovnani .newsletter form {width: 452px; margin-left: auto; margin-right: auto;}
  #header_pribrameu #slider .ms-slide {margin-top: 170px;}
}
@media(max-width: 660px) {
    #header_pribrameu #vyhledavani_slider input[type="text"] {width: 230px;}



    /*#content #vypis_akci .zarovnani #dlazdice .dlazdice:nth-child(1), #content #vypis_akci .zarovnani #dlazdice .dlazdice:nth-child(3),
    #content #vypis_akci .zarovnani #dlazdice .dlazdice:nth-child(5), #content #vypis_akci .zarovnani #dlazdice .dlazdice:nth-child(7) { margin-left: 1.5%; }
    */
  #content.podstrana {margin-top: 20px;}
  #header .zarovnani #odkazy_vyhledavani, #header .zarovnani a#logo {float: none; clear: both;}
  #header .zarovnani #odkazy_vyhledavani {margin-top: 35px; width: 100%;}
  #slider {height: 70px;}
  #wowslider-container1 {display: none!important;}
  #content #vlastni_datum form input[type="submit"] {margin-top: 15px;}
  #content #vypis_akci .zarovnani #dlazdice .dlazdice {width: 98%;}
  #content #vypis_akci .zarovnani #dlazdice .dlazdice.zvyraznena {width: calc(98% - 8px);}
  #content #co_se_deje .deje_se a img {width: 80%;}
  #hamburgerBottom { display: block; width: 50px; position: relative; margin: auto auto; cursor: pointer; padding: 5px;}
  .caraBottom { width: 50px; height: 5px; display: block; background-color: white; margin-top: 7px; margin-bottom: 7px;}
  #footer #footer_bottom .zarovnani {position: relative;}
  #footer #footer_bottom .zarovnani ul { display: none; position: absolute; margin-top: 20px; width: 100%;}
  #footer #footer_bottom .zarovnani ul li { position: relative; float: none; width: 80%; text-align: center; line-height: 200%; background-color: #4b4a4a; border-bottom: white dotted 1px; }
  #footer #footer_bottom .zarovnani ul li:hover {background-color: #090909;}
  #footer #footer_bottom .zarovnani ul li a:hover {border-bottom: none; background-color: #090909; color: white;}

  #footer_pribrameu .zarovnani p {margin-left: 93px;}
  #footer_pribrameu .zarovnani a.social_bottom img { margin-top: 30px; width: 50px; float: right; margin-right: 20px; }

}


@media(max-width: 560px) {
    #header_pribrameu #topHeader #logo a img {width: 100%;}
  #program_nacitani {top: 270px;}
  #content #vlastni_datum form input {width: 90%;}
}

@media(max-width: 520px) {
  #header .zarovnani a#logo {  display: inline-block; position: relative; margin: auto; padding: 25px 1% 25px 1%; width: 98%; float: none; text-align: center;}
  #header .zarovnani #odkazy_vyhledavani {float: none; margin-right: auto; position: relative; margin: auto; text-align: center; margin-top: 0px; width: 90%;}
  #header .zarovnani #odkazy_vyhledavani form input[type=submit], #header .zarovnani #odkazy_vyhledavani form input[type=text], 
  #header .zarovnani #odkazy_vyhledavani a, #header .zarovnani #odkazy_vyhledavani a.kontakty {float: left; margin-left: 3%; margin-top: auto; padding-top: 10px; margin-right: auto} 
  #header .zarovnani #odkazy_vyhledavani form input[type=text] { font-size: 100%; padding: 8px 10px 8px 10px; border-radius: 0px; }
  .sliderInfoObal .sliderInfo a {display: none;}
  .sliderInfoObal .sliderInfo {width: 250px; height: 60px; padding: 10px 20px 10px 40px; margin-top: 30px; }
#footer #footer_middle .zarovnani { width: 100%; }
}


@media screen and (max-width: 480px) {
    #header_pribrameu a.translate {right: 12px; top: 180px;}
    #header_pribrameu a.translate img {height: 25px}
    #header_pribrameu a.fontsize {left: 12px; top: 180px; width: 40px;}
    #header_pribrameu a.fontsize img {height: 25px}
    #header_pribrameu a.fbhead{display: none;}
}

@media(max-width: 475px) {
  #program_nacitani {top: 310px;}
}

@media(max-width: 460px) {
  #footer #footer_bottom .zarovnani #prava_cast input[type=submit] {margin: auto auto; margin-top: 10px;}
  /*#header .zarovnani #odkazy_vyhledavani a, #header .zarovnani #odkazy_vyhledavani a.kontakty {float: left; margin-left: 3%; margin-top: auto; padding-top: 0px; margin-right: auto}*/   
  /*#header .zarovnani #odkazy_vyhledavani {bottom: 25px;}*/  
  #header .zarovnani #odkazy_vyhledavani a, #header .zarovnani #odkazy_vyhledavani a.kontakty {float: left; margin-left: 15%; margin-top: auto; margin-top: 10px; margin-right: auto;}
  #footer_pribrameu .zarovnani .newsletter form {width: 100%;}
  #footer_pribrameu .zarovnani .newsletter input[type="text"] {width: 54%;}
  #footer_pribrameu .zarovnani .newsletter input[type="submit"] {width: 45%;}
  #footer_pribrameu .zarovnani p {width: 150px;     width: 110px;
    margin-left: 114px;
    font-size: 78%;
    margin-top: 20px;}
}

@media screen and (max-width: 420px) {
    #header_pribrameu #vyhledavani_slider form {width: 240px;}
    #header_pribrameu #vyhledavani_slider input[type="text"], #header_pribrameu #vyhledavani_slider input[type="submit"]  {width: 180px; font-size: 120%; padding: 20px; height: 50px; float: left }
    #header_pribrameu #vyhledavani_slider input[type="submit"] { width: 50px; float: left; margin-left: 5px }
}
@media(max-width: 400px) {
  #header .zarovnani a#logo img { width: 95%; }
  .bx-wrapper, #slider, #content, #footer {top: 20px!important; }
  /*#content #vypis_akci .zarovnani #dlazdice .dlazdice {width: 90%;}*/
  #footer #footer_info a.newsletter {font-size: 120%; width: 90%;}
  .sliderInfoObal .sliderInfo {width: 250px; height: 50px; padding: 5px 20px 5px 40px; margin-top: 60px; }
  #program_nacitani {top: 340px;}
}
