/*
	Theme Name: HTML5 Blank
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

@font-face {
    font-family: 'SourceSansPro';
    src: url('fonts/SourceSansPro-ExtraLight.ttf');
    font-style: normal;
    font-weight: 200;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('fonts/SourceSansPro-ExtraLightItalic.ttf');
    font-style: italic;
    font-weight: 200;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('fonts/SourceSansPro-Light.ttf');
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('fonts/SourceSansPro-LightItalic.ttf');
    font-style: italic;
    font-weight: 300;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('fonts/SourceSansPro-Regular.ttf');
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('fonts/SourceSansPro-RegularItalic.ttf');
    font-style: italic;
    font-weight: 400;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('fonts/SourceSansPro-SemiBold.ttf');
    font-style: normal;
    font-weight: 600;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('fonts/SourceSansPro-SemiBoldItalic.ttf');
    font-style: italic;
    font-weight: 600;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('fonts/SourceSansPro-Bold.ttf');
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('fonts/SourceSansPro-BoldItalic.ttf');
    font-style: italic;
    font-weight: 700;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('fonts/SourceSansPro-Black.ttf');
    font-style: normal;
    font-weight: 900;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('fonts/SourceSansPro-BlackItalic.ttf');
    font-style: italic;
    font-weight: 900;
}


body {
	font:300 15px/1.2 SourceSansPro, sans-serif;
	color:#444;
	background-color: #ffffff;
	background-image: url('img/background-home.png');
	background-position: center top;
	background-repeat: repeat-x;
	min-height: 1000px;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration: underline;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}

a img {
	border: 0;
}

input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

h1 {
	color: #007bc2;
	font-family: Cambria, Caladea, serif;
	font-size: 72px;
	font-weight: bold;
	position: absolute;
	left: 136px;
	top: 16px;
	margin: 0;
	padding: 0;
	z-index: 1000;
}

h1 span.highlight {
	color: #ff0000;
	font-size: 60px;
}

h1 a {
  color: #007bc2;
  text-decoration: none;
}

h1 a:hover {
  color: #ffffff;
}

h2 {
	font-weight: bold;
	margin-top: 0px;
	margin-bottom: 8px;
	font-size: 20px;
  text-transform: uppercase;
  color: #00a8e7;
}

h3 {
	margin-top: 10px;
	margin-bottom: 47px;
	font-weight: bold;
	font-size: 47px;
	line-height: 100%;
}

h4 {
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 3px;
	text-transform: uppercase;
}

p {
	margin-top: 8px;
	margin-bottom: 8px;
}

hr {
  position: relative;
	height: 5px;
	color: #00a8e7;
	background-color: #00a8e7;
	border: 0;
	margin-top: 85px;
  margin-bottom: 45px;
  max-width: 315px;
  width: 40%;
}

main {
	padding-left: 170px;
	padding-right: 170px;
	padding-top: 40px;
	padding-bottom: 80px;
	min-height: 50px;
}

nav {
	position: relative;
	width: 1440px;
	height: 120px;
}

table.kandidat {
	border-collapse: collapse;
	margin: 0;
	border: 0;
	padding: 0;
}

table.kandidat td {
	vertical-align: top;
	paddding: 0;
}

table.kandidat td p {
	margin-top: 0;
	margin-bottom: 0.7em;
	margin-right: 20px;
}

.menu ul.children {
	display: none;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

article {
  position: relative;
  font-size: 32px;
  font-weight: 400;
  color: #000000;
}

article.page p {
	padding-right: 30px;
	text-align: left;
}

article.page td p {
	padding-right: 0;
}

article.post p {
	padding-right: 30px;
	text-align: left;
}

article.post h1 {
	font-weight: bold;
	margin-top: 30px;
	margin-bottom: 8px;
	margin-left: 0px;
	font-size: 22px;
}

article.post h1 a {
	text-decoration: none;
}



/* wrapper */
.wrapper {
	width: 1440px;
	margin: auto;
	margin-top: 0px;
	margin-bottom: 0px;
	position:relative;
}
/* header */
.header {
	
}
/* logo */
.logo {
	position: absolute;
	left: 20px;
	bottom: 20px;
	width: 180px;
	height: 150px;
}
.logo-img {

}
.logo a {
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 180px;
	height: 150px;
	background-image: url('img/logo.png');
}

#subheader {
	color: #000000;
	font-size: 36px;
	font-weight: bold;
	margin-left: 15px;
}


/* nav */
nav ul {
    margin: 0;
    padding: 0;
}

footer ul {
    margin: 0;
    padding: 0;
}

nav div.menu {
  position: relative;
  left: 489px;
  top: 52px;
  width: 800px;
}

footer div.menu {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

li.page_item {
  display: inline-block;
	margin: 0;
	list-style-type: none;
	color: #000000;
	font-size: 17px;
	font-weight: bold;
	text-transform: uppercase;
	margin-right: 67px;
}

li.page_item:lang(en-GB) {
  margin-right: 60px;
}

li.page_item:lang(de-DE) {
  margin-right: 40px;
}

li.page_item:last-child {
  margin-right: 0 !important;
}

li.page_item:hover {
	color: #007bc2;
}


li.current_page_item {
	color: #007bc2;
	border-bottom: 1px solid #007bc2;
  padding-bottom: 4px;
}

footer li.current_page_item {
	border-bottom: none;
}

li.page_item a {
	color: #000000;
	text-decoration: none;
}

footer li.page_item a {
  color: #000000;
}

li.page_item a:hover {
	color: #007bc2;
}

li.current_page_item a {
	color: #007bc2;
}

footer li.current_page_item a {
	color: #007bc2;
}

ul.language-switcher {
  position: absolute;
  right: 130px;
  top: 52px;
}

ul.language-switcher li {
  display: inline-block;
  list-style-type: none;
  text-transform: uppercase;
  font-size: 17px;
	font-weight: bold;
	margin-left: 20px;
}

ul.language-switcher li.current-lang {
  border-bottom: 1px solid #007bc2;
  padding-bottom: 4px;
}

ul.language-switcher li a {
  color: #000000;
	text-decoration: none;
}

ul.language-switcher li a:hover,
ul.language-switcher li.current-lang a
{
  color: #007bc2;
}

/* sidebar */
.sidebar {

}
/* footer */
footer {
  width: 100%;
  min-height: 125px;
  padding-top: 75px;
  background-color: #c6c6c6;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/


/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

.post-edit-link {
    text-decoration: underline;
    color: red;
}

#slider-container {
  width: 1440px;
  position: relative;
}

#bottom-stripe {
  width: 100%;
  min-height: 323px;
  background-image: url('img/background.jpg');
	background-position: center top;
	background-repeat: repeat-x;
}

#bottom-container {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 1440px;
}

body.home h2 {
  display: none;
}

.metaslider .flex-control-nav {
  width: auto !important;
  right: 135px !important;
  bottom: 70px !important;
}

.metaslider .flex-control-nav li a {
  background-color: #ffffff;
}

.metaslider .flex-control-nav li a.flex-active {
  background-color: #00a8e7;
}

#slider-stripe {
  position: absolute;
  right: 131px;
  bottom: 0;
  width: 127px;
  height: 5px;
  background-color: #00a8e7;
}

#bottom-buttons {
  position: relative;
  width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

#button-up {
  position: absolute;
  right: 0px;
  top: -30px;
  width: 36px;
  height: 36px;
  background-image: url('img/nahoru.png');
  background-position: center center;
  background-repeat: no-repeat;
  cursor: pointer;
}

div.copyright {
  text-align: center;
  margin-top: 70px;
  color: gray;
  padding-bottom: 50px;
}

div.copyright a {
  color: gray;
}

#partner {
  display: none;
}

body.home #partner {
  display: block;
  position: absolute;
  left: 175px;
  bottom: 50px;
  color: #ffffff;
  font-size: 70px;
  font-weight: 900;
}


div.home-bottom-block {
  position: absolute;
  top: 90px;
  height: 170px;
  color: #ffffff;
  font-weight: 400;
}

div.home-bottom-block h3 {
  position: relative;
  font-weight: 900;
  font-size: 40px;
  margin-top: 2px;
  margin-bottom: 20px;
  padding-left: 60px;
  line-height: inherit;
}

div.home-bottom-block h3 span {
  position: relative;
  display: inline-block;
}

div.home-bottom-block h3 span span {
  position: absolute;
  right: 0px;
  top: -12px;
  font-size: 18px;
  color: #00a8e7;
  font-weight: 600;
}

div.home-bottom-block p {
  padding-left: 60px;
  font-size: 18px;
  line-height: 150%;
}

#home-bottom-block-1 {
  width: 280px;
  left: 215px;
}

#home-bottom-block-2 {
  width: 330px;
  left: 570px;
}

#home-bottom-block-3 {
  width: 280px;
  left: 975px;
}

.icon-checkbox {
  display: inline-block;
  position: absolute;
  width: 50px;
  height: 50px;
  left: 0;
  top: 0;
  background-image: url('img/checkbox.png');
  background-position: center center;
  background-repeat: no-repeat;
}

#post-16 p, #post-75 p, #post-77 p {
  column-count: 2;
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-gap: 80px;
  -moz-column-gap: 80px;
  -webkit-column-gap: 80px;  
  font-size: 20px;
  line-height: 150%;
  padding-right: 60px;
  color: #6f6f6f;
}

#about-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 102px;
  height: 97px;
  background-image: url('img/o-nas.png');
  background-position: center center;
  background-repeat: no-repeat;
}


#about-bottom-block {
  text-align: center;
  font-size: 46px;
  font-weight: 900;
  color: white;
  padding-top: 105px;
}

#post-18 h3, #post-79 h3, #post-81 h3 {
  width: 500px;
}

#post-18 div, #post-79 div, #post-81 div {
  column-count: 2;
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-gap: 20px;
  -moz-column-gap: 20px;
  -webkit-column-gap: 20px;  
  font-size: 20px;
  line-height: 150%;
  color: #6f6f6f;
}

#post-18 ul, #post-79 ul, #post-81 ul {
  margin-top: 0;
  margin-bottom: 80px;
  padding-left: 20px;
  list-style-image: url('img/blue-round.png');
}

#puzzle {
  position: absolute;
  top: -30px;
  right: 100px;
  width: 100px;
  height: 105px;
  background-image: url('img/puzzle.png');
  background-position: center center;
  background-repeat: no-repeat;
}

#post-20 p, #post-84 p, #post-86 p {
  width: 580px;
  font-size: 20px;
  line-height: 150%;
  padding-left: 240px;
  color: #6f6f6f;
  margin-bottom: 60px;
  background-position: left center;
  background-repeat: no-repeat;
}

#post-20 p:nth-of-type(1), #post-84 p:nth-of-type(1), #post-86 p:nth-of-type(1) {
  background-image: url('img/hodnoty-1.png');
}

#post-20 p:nth-of-type(2), #post-84 p:nth-of-type(2), #post-86 p:nth-of-type(2) {
  background-image: url('img/hodnoty-2.png');
}

#post-20 p:nth-of-type(3), #post-84 p:nth-of-type(3), #post-86 p:nth-of-type(3) {
  background-image: url('img/hodnoty-3.png');
}

#post-20 p:nth-of-type(4), #post-84 p:nth-of-type(4), #post-86 p:nth-of-type(4) {
  background-image: url('img/hodnoty-4.png');
}

#post-20 p:nth-of-type(5), #post-84 p:nth-of-type(5), #post-86 p:nth-of-type(5) {
  background-image: url('img/hodnoty-5.png');
}



body.page-id-22 h2, body.page-id-88 h2, body.page-id-90 h2 {
  display: none;
}

body.page-id-22 main, body.page-id-88 main, body.page-id-90 main {
  padding-top: 40px;
  padding-bottom: 50px;
}

article.post-22, article.post-88, article.post-90 {
  min-height: 300px;
}

article.post-22 p, article.post-88 p, article.post-90 p {
  width: 760px;
  line-height: 142%;
  font-size: 24px;
}

article.post-22 > div, article.post-88 > div, article.post-90 > div {
  position: absolute;
  left: 800px;
  top: 10px;
  color: #6f6f6f;
  font-size: 24px;
  font-weight: 700;
}

article.post-22 a, article.post-88 a, article.post-90 a {
  color: #6f6f6f;
  text-decoration: none;
}

article.post-22 a:hover, article.post-88 a:hover, article.post-90 a:hover {
  color: #00a8e7;
}

article.post-22 > div div, article.post-88 > div div, article.post-90 > div div {
  padding-left: 55px;
  margin-bottom: 25px;
  background-repeat: no-repeat;
  white-space: nowrap;
}

article.post-22 > div div:nth-of-type(1),
article.post-88 > div div:nth-of-type(1),
article.post-90 > div div:nth-of-type(1)
{
  background-position: 2px center;
  background-image: url('img/telefon.png');
  line-height: 140%;
}

article.post-22 > div div:nth-of-type(2),
article.post-88 > div div:nth-of-type(2),
article.post-90 > div div:nth-of-type(2)
{
  background-position: left center;
  background-image: url('img/zavinac.png');
  line-height: 140%;
}

article.post-22 > div div:nth-of-type(3),
article.post-88 > div div:nth-of-type(3),
article.post-90 > div div:nth-of-type(3)
{
  background-position: 6px 5px;
  background-image: url('img/pozice.png');
}

#menu-button {
	display: none;
}

#glass {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.flex-direction-nav {
  display: none;
}









/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:1500px) {
  .wrapper {
    width: 90%;
  }
  
  h1 {
    left: 120px;
  }
  
  h3 {
    font-size: 40px;
  }
  
  nav {
    width: 100%;
  }
  
  nav div.menu {
    left: 454px;
  }
  
  li.page_item {
    margin-right: 40px;
  }
  
  li.page_item:lang(en-GB) {
    margin-right: 35px;
  }

  li.page_item:lang(de-DE) {
    margin-right: 30px;
  }
  
  nav li.page_item:lang(de-DE) {
    font-size: 15px;
  }
  
  ul.language-switcher {
    right: 90px;    
  }
  
  ul.language-switcher li:lang(de-DE) {
    font-size: 15px;
  }
  
  #slider-container {
    width: 100%; 
  }
  
  #bottom-stripe {
    min-height: 280px;
  }
  
  #about-bottom-block {
    font-size: 42px;
    padding-top: 90px;
  }
  
  div.home-bottom-block {
    top: 70px;
  }
  
  #bottom-container {
    width: 1200px;
  }
  
  #home-bottom-block-1 {
    left: 100px;
  }
  
  #home-bottom-block-2 {
    left: 455px;
  }
  
  #home-bottom-block-3 {
    left: 860px;
  }
  
  div.home-bottom-block h3 {
    font-size: 30px;
    margin-bottom: 14px;
    padding-left: 50px;
  }
  
  .icon-checkbox {
    width: 40px;
    height: 40px;
    background-image: url('img/checkbox-40.png');
  }
  
  div.home-bottom-block p {
    padding-left: 50px;
    font-size: 16px;
  }
  
  #bottom-buttons {
    width: 90%;
  }
  
  body.page-id-22 main, body.page-id-88 main, body.page-id-90 main {
    padding-left: 120px;
    padding-right: 120px;
  }
  
  article.post-22 p, article.post-88 p, article.post-90 p {
    width: 700px;
  }
  
  article.post-22 > div, article.post-88 > div, article.post-90 > div {
    left: 750px;
  }
  
  body.page-id-14 #bottom-stripe,
  body.page-id-24 #bottom-stripe,
  body.page-id-26 #bottom-stripe,
  body.page-id-22 #bottom-stripe,
  body.page-id-88 #bottom-stripe,
  body.page-id-90 #bottom-stripe
  {
    min-height: 260px;
  }
}

@media only screen and (max-width:1400px) {
  h1 {
    left: 90px;
  }
  
  nav div.menu {
    left: 424px;
    width: 550px;
  }
  
  li.page_item {
    margin-right: 30px;
  }
  
  li.page_item:lang(en-GB) {
    margin-right: 30px;
  }

  li.page_item:lang(de-DE) {
    margin-right: 20px;
  }
  
  ul.language-switcher {
    right: 60px;
  }
  
  body.home #partner {
    font-size: 60px;
    left: 140px;
  }
  
  main {
    padding-left: 140px;
    padding-right: 140px;
    padding-top: 30px;
    padding-bottom: 70px;
  }
  
  article {
    font-size: 30px;
  }
  
  body.page-id-22 main, body.page-id-88 main, body.page-id-90 main {
    padding-left: 80px;
    padding-right: 80px;
  }
  
  #post-16 p, #post-75 p, #post-77 p {
    padding-right: 0;
  }
  
  #post-18 ul, #post-79 ul, #post-81 ul {
    margin-bottom: 150px;
  }
  
  article.post-22 p, article.post-88 p, article.post-90 p {
    width: 650px;
  }
  
  article.post-22 > div, article.post-88 > div, article.post-90 > div {
    left: 700px;
  }
}

@media only screen and (max-width:1280px) {
  h1 {
    left: 30px;
  }
  
  h3 {
    font-size: 32px;
  }
  
  nav div.menu {
    left: 354px;
  }
  
  li.page_item {
    margin-right: 20px;
  }
  
  li.page_item:lang(en-GB) {
    margin-right: 20px;
  }

  li.page_item:lang(de-DE) {
    margin-right: 12px;
  }
  
  ul.language-switcher {
    right: 30px;
  }
  
  ul.language-switcher li {
    margin-left: 5px;
  }
  
  body.home #partner {
    font-size: 50px;
    left: 100px;
  }
  
  main {
    padding-left: 110px;
    padding-right: 110px;
    padding-top: 20px;
    padding-bottom: 60px;
  }
  
  article {
    font-size: 27px;
  }
  
  #bottom-container {
    width: 1000px;
  }
  
  #bottom-stripe {
    min-height: 250px;
  }
  
  #about-bottom-block {
    font-size: 36px;
    padding-top: 80px;
  }
  
  div.home-bottom-block {
    top: 50px;
  }
  
  #home-bottom-block-1 {
    left: 0px;
  }
  
  #home-bottom-block-2 {
    left: 340px;
  }
  
  #home-bottom-block-3 {
    left: 720px;
  }
  
  div.home-bottom-block h3 {
    font-size: 26px;
    margin-bottom: 10px;
    padding-left: 40px;
  }
  
  .icon-checkbox {
    width: 32px;
    height: 32px;
    background-image: url('img/checkbox-32.png');
  }
  
  div.home-bottom-block p {
    padding-left: 40px;
    font-size: 15px;
  }
  
  body.page-id-22 main, body.page-id-88 main, body.page-id-90 main {
    padding-left: 60px;
    padding-right: 60px;
    padding-top: 10px;
  }
  
  article.post-22 p, article.post-88 p, article.post-90 p {
    width: 600px;
  }
  
  article.post-22 > div, article.post-88 > div, article.post-90 > div {
    left: 640px;
  }
  
  body.page-id-14 #bottom-stripe,
  body.page-id-24 #bottom-stripe,
  body.page-id-26 #bottom-stripe,
  body.page-id-22 #bottom-stripe,
  body.page-id-88 #bottom-stripe,
  body.page-id-90 #bottom-stripe
  {
    min-height: 210px;
  }
}

@media only screen and (max-width:1100px) {
  h1 {
    left: 0px;
  }
  
  nav div.menu {
    left: 320px;
  }
  
  nav div.menu:lang(de-DE) {
    left: 300px;
  }
  
  ul.language-switcher {
    right: 0px;
  }
  
  body.home #partner {
    font-size: 40px;
    left: 60px;
  }
  
  main {
    padding-left: 70px;
    padding-right: 70px;
    padding-top: 10px;
    padding-bottom: 50px;
  }
  
  article {
    font-size: 24px;
  }
  
  #bottom-container {
    width: 800px;
  }
  
  #home-bottom-block-1 {
    left: -60px;
  }
  
  #home-bottom-block-2 {
    left: 240px;
  }
  
  #home-bottom-block-3 {
    left: 600px;
  }
  
  #post-16 p, #post-75 p, #post-77 p {
    column-count: 1;
    -moz-column-count: 1;
    -webkit-column-count: 1;
  }
  
  #post-18 div, #post-79 div, #post-81 div {
    column-count: 1;
    -moz-column-count: 1;
    -webkit-column-count: 1;
  }
  
  #post-18 ul, #post-79 ul, #post-81 ul {
    margin-bottom: 40px;
  }
  
  #post-18 hr, #post-79 hr, #post-81 hr {
    margin-top: 40px;
  }
  
  article.post-22 > div, article.post-88 > div, article.post-90 > div {
    position: relative;
    left: 0px;
    top: 0px;
    margin-top: 40px;
  }
  
  article.post-22 > div div, article.post-88 > div div, article.post-90 > div div {
    margin-bottom: 20px;
  }
  
  article.post-22 p, article.post-88 p, article.post-90 p {
    width: 100%;
    font-size: 24px;
  }
}

@media only screen and (max-width:1010px) {
  nav div.menu {
    left: 0;
    top: 0;
    width: 100%;
  }
  
  h3 {
    font-size: 30px;
  }
  
  nav div.menu:lang(de-DE) {
    left: 0;
  }
  
  nav div.menu ul {
    border-bottom: 1px solid silver;
  }
  
  ul.language-switcher {
    position: relative;
    right: 0;
    top: 0;
  }
  
  ul.language-switcher li {
    display: block;
    padding: 15px;
    margin-left: 0;
  }
  
  ul.language-switcher li.current-lang {
    border-bottom: none;
    padding-bottom: 15px;
  }
  
  #menu-container {
    display: none;
    position: absolute;
    width: 100%;
    top: 100px;
    right: 0;
    z-index: 500;
    background-color: white;
    box-shadow: gray 0 0 10px;
  }
  
  nav li.page_item {
    display: block;
    padding: 15px;
    margin-right: 0;
  }
  
  nav li.current_page_item {
    border-bottom: none;
  }
  
  nav li.page_item a, ul.language-switcher li a {
    display: block;
    width: 100%;
  }
    
  body.home #partner {
    font-size: 35px;
    left: 40px;
    bottom: 40px;
  }
  
  #menu-button {
    display: block;    
    position: absolute;
    right: 0px;
    top: 37px;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    z-index: 1000;
    cursor: pointer;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('img/menu-button.png');
  }
  
  #bottom-container {
    width: 95%;
  }
  
  #bottom-stripe {
    min-height: 240px;
  }
  
  #about-bottom-block {
    font-size: 32px;
    padding-top: 80px;
  }
  
  div.home-bottom-block {
    position: relative;
    width: 90%;
    height: auto;
    min-height: 80px;
    top: 50px;
    padding-bottom: 30px;
  }
  
  #home-bottom-block-1 {
    left: 20px;
    width: 90%;
  }
  
  #home-bottom-block-2 {
    left: 20px;
    width: 90%;
  }
  
  #home-bottom-block-3 {
    left: 20px;
    width: 90%;
    padding-bottom: 50px;
    min-height: 105px;
  }
  
  body.page-id-22 main, body.page-id-88 main, body.page-id-90 main {
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 0px;
  }
  
  #post-20 p, #post-84 p, #post-86 p {
    width: 90%;
    padding-left: 120px;
    background-position: -50px center;
    padding-right: 0px;
  }
}

@media only screen and (max-width:920px) {
  body.home #partner {
    font-size: 30px;
    left: 30px;
    bottom: 30px;
  }
  
  h1 {
    left: 0px;
  }
  
  h3 {
    width: auto;
  }
  
  .metaslider .flex-control-nav {
    display: none;
  }
  
  main {
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 0px;
    padding-bottom: 40px;
  }
  
  footer {
    padding-top: 40px;
  }
  
  footer div.menu {
    display: none;
  }
  
  article {
    font-size: 21px;
  }
  
  p {
    font-size: 21px;
  }
  
  #button-up {
    position: relative;
    left: 0;
    top: 0;
    margin-left: auto;
    margin-right: auto;
  }
  
  div.copyright {
    margin-top: 40px;
  }
  
  #bottom-stripe {
    min-height: 210px;
  }
  
  #about-bottom-block {
    font-size: 28px;
    padding-top: 70px;
  }
  
  #puzzle {
    display: none;
  }
  
  div.home-bottom-block {
    min-height: 50px;
    top: 30px;
  }
  
  #home-bottom-block-3 {
    min-height: 65px;
  }
  
  div.home-bottom-block h3 {
    font-size: 20px;
    margin-bottom: 8px;
    padding-left: 32px;
  }
  
  .icon-checkbox {
    width: 24px;
    height: 24px;
    background-image: url('img/checkbox-24.png');
  }
  
  div.home-bottom-block p {
    padding-left: 32px;
    font-size: 14px;
  }
  
  #post-16 p, #post-75 p, #post-77 p {
    font-size: 21px;
  }
  
  #post-18 div, #post-79 div, #post-81 div {
    font-size: 21px;
  }
  
  body.page-id-22 main, body.page-id-88 main, body.page-id-90 main {
    padding-left: 30px;
    padding-right: 30px;
  }
  
  #post-18 h3, #post-79 h3, #post-81 h3 {
    width: auto;
  }
  
  article.post-22 p, article.post-88 p, article.post-90 p {
    font-size: 21px;
  }
}

@media only screen and (max-width:800px) {
  body.home #partner {
    font-size: 26px;
    left: 20px;
    bottom: 20px;
  }
  
  main {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  h3 {
    font-size: 28px;
  }
  
  p {
    font-size: 18px;
  }
  
  article.page p {
    padding-right: 0;    
  }
  
  #bottom-stripe {
    min-height: 175px;
  }
  
  #about-bottom-block {
    font-size: 24px;
    padding-top: 60px;
  }
  
  #about-image {
    display: none;
  }
  
  #post-16 p, #post-75 p, #post-77 p {
    font-size: 18px;
  }
  
  #post-18 div, #post-79 div, #post-81 div {
    font-size: 18px;
  }
  
  #post-20 p, #post-84 p, #post-86 p {
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    background-image: none !important;  
    margin-bottom: 30px;
  }
   
  body.page-id-22 main, body.page-id-88 main, body.page-id-90 main {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 0px;
    padding-bottom: 30px;
  }
  
  body.page-id-14 #bottom-stripe,
  body.page-id-24 #bottom-stripe,
  body.page-id-26 #bottom-stripe,
  body.page-id-22 #bottom-stripe,
  body.page-id-88 #bottom-stripe,
  body.page-id-90 #bottom-stripe
  {
    min-height: 270px;
  }
}

@media only screen and (max-width:400px) {
  h1 {
    font-size: 40px;
    top: 35px;
  }
  
  h3 {
    font-size: 24px;
  }
  
  main {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
    margin-top: -20px;
  }
  
  article {
    font-size: 15px;
  }
  
  p {
    font-size: 15px;
  }
  
  #bottom-stripe {
    min-height: 130px;
  }
  
  #about-bottom-block {
    font-size: 20px;
    padding-top: 40px;
  }
  
  div.home-bottom-block h3 {
    font-size: 18px;
    margin-bottom: 6px;
  }
  
  div.home-bottom-block p {
    font-size: 12px;
  }
  
  #post-16 p, #post-75 p, #post-77 p {
    font-size: 15px;
  }
  
  #post-18 div, #post-79 div, #post-81 div {
    font-size: 15px;
  }
  
  body.page-id-22 main, body.page-id-88 main, body.page-id-90 main {
    padding-left: 0px;
    padding-right: 0px;
  }
  
  article.post-22 p, article.post-88 p, article.post-90 p {
    font-size: 18px;
  }
  
  article.post-22 > div, article.post-88 > div, article.post-90 > div {
    font-size: 20px;
  }
  
  article.post-22 > div div, article.post-88 > div div, article.post-90 > div div {
    padding-left: 35px;
    margin-bottom: 20px;
  }
  
  article.post-22 > div div:nth-of-type(1),
  article.post-88 > div div:nth-of-type(1),
  article.post-90 > div div:nth-of-type(1)
  {
    background-position: 2px center;
    background-image: url('img/telefon-22.png');
  }

  article.post-22 > div div:nth-of-type(2),
  article.post-88 > div div:nth-of-type(2),
  article.post-90 > div div:nth-of-type(2)
  {
    background-image: url('img/zavinac-24.png');
  }

  article.post-22 > div div:nth-of-type(3),
  article.post-88 > div div:nth-of-type(3),
  article.post-90 > div div:nth-of-type(3)
  {
    background-position: 4px 5px;
    background-image: url('img/pozice-24.png');
  }
}



