/* Obrazky v clancich
----------------------------------------------- */
@media only screen and (max-width: 480px) {

.article .article-img-fly-left {float: none; margin: 10px 0;}
.article .article-img-fly-left img {width: 100%; margin-bottom: 10px;}

.article .article-img-fly-right {float: none; margin: 10px 0;}
.article .article-img-fly-right img {width: 100%; margin-bottom: 10px;}

.postdate-comment {visibility: hidden;}

}



@media only screen and (max-width: 1200px) {

#container-outer {background-position: 0 0; overflow: visible;}
#container {width: 100%; padding: 0; overflow: visible;}

#content {width: calc(100% - 256px); padding: 15px 0 20px 0;}
#content-without {width: calc(100% - 256px); padding: 15px 0 20px 0;}
#content-full {width: calc(100% - 0px); padding: 15px 0 20px 0; margin: 0;}

#sidebar {width: 256px; padding: 70px 0 28px; margin: 0; background: none;}

#sidebar .sidebar-link {margin: 0 0 18px 0;}

#header h1, #header h2 {left: 30px; top: 20px; width: 200px; height: 114px; background-size: 200px 114px; margin: 0;}
#header h1 a, #header h2 a {width: 200px; height: 114px;}

#header {height: 220px;}

#top {display: none; visibility: hidden;}

#footer #footer-links {width: 100%;}

a.sidebar-login, a.sidebar-login:visited {padding: 20px 0 0 56px; width: 164px; height: 32px; left: auto; right: 18px; top: 220px; margin: 0; background-size: 19px 30px;}

#footer #footer-inner {width: 100%;}

}



@media only screen and (max-width: 1090px) {

#header #motto {left: 300px;}

}



@media only screen and (max-width: 1040px) {

#header #motto {left: 300px; top: 47px; width: 550px; font-size: 1.0em;}

}



@media only screen and (max-width: 980px) {

#menu ul {width: 100%;}

#image img {width: auto; margin: 0;}
#info {width: auto; max-width: 96%; margin: 20px auto;}

#slides img {width: 100%; height: auto;}

.video-container {position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden;}
.video-container iframe, .video-container object, .video-container embed {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}

.thumbnail {width: 32%; margin: 0 2% 2% 0;}

.thumbnail:nth-child(1n) {margin-right: 2%;}
.thumbnail:nth-child(3n) {margin-right: 0;}

.openBtn {left: auto; right: 60px; top: 20px; margin: 0; width: 19px; height: 19px; opacity: 1;}
.openBtn img {width: 19px; height: 19px; transition: 0.3s;}
.openBtn:hover img {opacity: 0.6;}

#footer-bottom #footer-contact {width: calc(50% - 20px); margin: 13px 0 0 20px;}
#footer-bottom #footer-important {width: 50%; margin: 13px 0 0 0;}
#footer-bottom #footer-other {float: left; width: 100%;}
#footer-bottom #footer-other #footer-social {text-align: left; padding: 23px 0 0 20px;}
#footer-bottom #footer-other #footer-text {width: 100%; text-align: center; margin: 64px 0 0 0;}

}



@media only screen and (max-width: 960px) {

#header #motto {left: 300px; top: 42px; width: 450px; font-size: 1.0em;}

}



@media only screen and (max-width: 900px) {

#content {position: relative; z-index: 10;}
#content-without {position: relative; z-index: 10;}
.article table {font-size: 0.75em; background: #fff;}

#list table td {font-size: 0.75em; background: #fff;}

.vysledky {font-size: 0.75em;}

}



@media only screen and (max-width: 890px) {

#formular form .input-input {height: auto; margin-bottom: 10px;}
#formular form .input-antispam input.field {width: calc(100% - 8px);}

#menu ul li {padding: 7px 0; font-size: 0.75em;}
#menu ul li a {padding: 10px; margin-right: 0;}

}



@media only screen and (max-width: 850px) {

#header #motto {left: 300px; top: 42px; width: 350px; font-size: 0.875em;}

}



@media only screen and (max-width: 820px) {

#profil .profil-img-left {width: 100%; margin: 5px 0 10px 0;}
#profil .profil-img-left img {max-width: 100%;}

#sidebar {display: none; visibility: hidden;}

#content {width: 100%;}
#content-without {width: 100%;}

a.sidebar-login, a.sidebar-login:visited {top: 150px; width: 120px; right: 28px;}

.inner {width: 100%; margin: 0;}

}



@media only screen and (max-width: 770px) {

#header {height: 160px;} 

#header h1, #header h2 {left: 30px; top: 20px; width: 200px; height: 114px; background-size: 200px 114px; margin: 0;}
#header h1 a, #header h2 a {width: 200px; height: 114px;}

a.sidebar-login, a.sidebar-login:visited {top: 90px;}

#header #motto {left: 250px; top: 30px; width: 350px; font-size: 0.75em;}

#content {width: 100%; float: left;}
#content-without {width: 100%; float: left;}
#sidebar {width: 100%; float: left; padding: 15px 0;}

#kontakt {width: 40%;}
#formular {width: 53%;}

#formular form .input-input {margin-bottom: 0;}
#formular form .input-antispam input.field {width: calc(100% - 113px);}

.post-comment {margin: 0 0 16px 2%; width: 500px; float: left;}
.post-comment-reply {margin: 0 0 16px 2%; width: 470px; float: left; overflow: hidden;}

.gallery-menu {width: 100%; padding: 0; margin: 0;}

.social-article {width: 96%; padding: 0 2%; margin-left: 0;}

#flag {top: 18px;}
#flag #flagin {width: 35%;}

#socialmenu {top: 18px;}
#socialmenu #socialmenuin {width: 75%;}

.overlay input[type=text] {width: calc(70% - 30px);}
.overlay button {width: calc(30% - 30px);}

#sidebar h3 {display: block; width: calc(100% - 4px); float: left; margin: 12px 0 7px 4px;}

#cloud {width: calc(100% - 17px);}

#box-search {display: none; visibility: hidden;}

.modal {padding-top: 50px;}

#box-subscribe {width: calc(100% - 20px); margin-top: 20px;}

#sidebar .sidebar-login {max-width: calc(100% - 14px);;}
#sidebar .article {width: 100%;}

#sidebar .sidebar-video {display: none; visibility: hidden;}
#sidebar .sidebar-plzen {display: none; visibility: hidden;}
#sidebar .sidebar-strabag {display: none; visibility: hidden;}
#sidebar .sidebar-facebook {display: none; visibility: hidden;}

}



@media only screen and (max-width: 640px) {

#container {overflow: visible;}
#container-outer {overflow: visible;}

#header #motto {display: none; visibility: hidden;}

.article table {min-width: 500px;}
.article table.klasifikace {min-width: auto; width: 100%;}
#list table {min-width: 500px;}

#footer-bottom #footer-contact {width: calc(60% - 20px);}
#footer-bottom #footer-important {width: 40%;}

}



@media only screen and (max-width: 560px) {

.article {width: calc(100% - 40px); margin: 0; padding: 0 20px 30px;}

.article .article-column-2 {column-count: 1;}
.article .article-column-3 {column-count: 1;}
.article .article-column-4 {column-count: 1;}

#kontakt {width: 90%; float: left; margin: 0 5%;}
#kontakt .article {padding: 0;}

#formular {width: 90%; float: left; margin: 0 5%;}
#formular form {padding-left: 0;}
#formular form .input-cell {height: 40px;}
#formular form .input-text {width: 100%; text-align: left; padding-right: 0;}
#formular form .input-input {width: 100%;}
#formular form .input-textarea {height: auto; float: left;}
#formular form .input-textarea .input-input {height: auto; float: left;}
#formular form .input-button {height: 50px; margin-top: 10px; float: left;} 
#formular form .input-button .input-text {height: 0;}

#formular .privacy {width: 90%; margin: 0;}

#kniha {width: 100%; max-width: 100%; padding: 0; margin: 20px 0; border: 0; background: none;}
#kniha .comment-smile {visibility: hidden;}
#kniha .comment-antispam {width: calc(100% - 112px);}

.overlay-content {width: 90%;}
.overlay-content form {width: 100%;}
.overlay input[type=text] {width: 60%; margin: 0;}
.overlay button {width: calc(40% - 30px); margin: 0;}

.thumbnail-user {width: 31%; margin: 0 3.5% 3.5% 0;}
.thumbnail-user:nth-child(4n) {margin-right: 3.5%;}
.thumbnail-user:nth-child(3n) {margin-right: 0;}

}



@media only screen and (max-width: 500px) {

.thumbnail {width: 49%; margin: 0 2% 2% 0;}

.thumbnail:nth-child(1n) {margin-right: 2%;}
.thumbnail:nth-child(2n) {margin-right: 0;}

#footer-bottom #footer-contact {width: calc(100% - 20px); margin: 13px 0 0 20px;}
#footer-bottom #footer-important {width: calc(100% - 20px); margin: 13px 0 0 20px;}

#footer-bottom #footer-other #footer-text {width: 90%; padding-left: 5%; padding-right: 5%;}

}



@media only screen and (max-width: 440px) {

.thumbnail-user {width: 49%; margin: 0 2% 2% 0;}
.thumbnail-user:nth-child(3n) {margin-right: 2%;}
.thumbnail-user:nth-child(2n) {margin-right: 0;}

#header {height: 140px;}

a.sidebar-login, a.sidebar-login:visited {top: 70px; width: 110px;}

#header h1, #header h2 {left: 10px; top: 10px;}

}



@media only screen and (max-width: 430px) {

#kniha .comment-antispam {width: 100%;}
#kniha .comment-kod {padding: 7px 0 0 0;}

.kits-button {font-size: 0.75em;}

a.kits-button-link, a.kits-button-link:visited {font-size: 0.75em;}

a.kits-button-link-green, a.kits-button-link-green:visited {font-size: 0.75em;}

.breadcrumbs {width: calc(100% - 50px); margin: 30px 0 20px 25px;}

.red-box {width: calc(100% - 80px); margin-left: 25px;}

.kits-all {width: calc(100% - 50px); margin: 0 0 0 25px;}

.register_user {max-width: calc(100% - 50px); margin-left: 25px;}

}



@media only screen and (max-width: 400px) {

.thumbnail img {border: 0;}

.postdate-comment {display: none;}

#flag #flagin {width: 45%;}
#socialmenu {display: none;}

.eu-cookies {font-size: 0.75em;}
.eu-cookies button {font-size: 0.875em;}
.modal-row .button-cookies {margin: 0 0 0 5px; padding: 4px 7px;}
.modal-row .button-cookies-selected {padding: 4px 7px;}

}