/* 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: 1220px) {

#container {width: 100%;}
#content {width: 96%; margin-left: 2%; overflow: hidden;}

#image img {width: auto; margin: 0;}
#info {width: auto; max-width: 96%; margin: 20px 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%;}

}



@media only screen and (max-width: 1200px) {

body {background: #F7F8F8;}

#header {height: 100px; background: rgb(37, 56, 60); background: -moz-linear-gradient(90deg, rgb(37, 56, 60) 0%, rgb(51, 75, 79) 100%); background: -webkit-linear-gradient(90deg, rgb(37, 56, 60) 0%, rgb(51, 75, 79) 100%); background: -o-linear-gradient(90deg, rgb(37, 56, 60) 0%, rgb(51, 75, 79) 100%); background: -ms-linear-gradient(90deg, rgb(37, 56, 60) 0%, rgb(51, 75, 79) 100%); background: linear-gradient(180deg, rgb(37, 56, 60) 0%, rgb(51, 75, 79) 100%);}

#header h1, #header h2 {width: 611px; height: 67px; background-size: 611px 67px; left: 20px; margin: 0; top: 12px;}
#header h1 a, #header h2 a {width: 611px; height: 67px;}

}



@media only screen and (max-width: 960px) {

.thumbnail {width: 32%; margin: 0 2% 2% 0;}

.thumbnail:nth-child(1n) {margin-right: 2%;}
.thumbnail:nth-child(3n) {margin-right: 0;}

}



@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);}

.blog {margin: 0 0 20px 0; width: 100%;}

}



@media only screen and (max-width: 770px) {

#footer {width: 96%; padding: 20px 2%; height: auto; line-height: 1.5em;}

#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;}

#socialmenu {top: 18px;}
#socialmenu #socialmenuin {width: 75%;}

.overlay input[type=text] {width: calc(70% - 30px);}
.overlay button {width: calc(30% - 30px);}

.modal {padding-top: 50px;}

}



@media only screen and (max-width: 740px) {

.kontakt-sloupec {width: calc(50% - 18px); max-width: 50%;}
.kontakt-sloupec-1 {margin-right: 35px;}
.kontakt-sloupec-2 {margin-right: 0;}
.kontakt-sloupec-3 {display: none; visibility: hidden;}
.kontakt-sloupec-4 {display: none; visibility: hidden;}
.kontakt-sloupec-5 {margin-right: 35px;}
.kontakt-sloupec-6 {margin-right: 0;}

}



@media only screen and (max-width: 720px) {

#header {height: 60px;}

#header h1, #header h2 {width: 450px; height: 49px; background-size: 450px 49px; left: 20px; margin: 0; top: 3px;}
#header h1 a, #header h2 a {width: 450px; height: 49px;}

}



@media only screen and (max-width: 560px) {

#header h1, #header h2 {width: 300px; height: 33px; background-size: 300px 33px; top: 12px;}
#header h1 a, #header h2 a {width: 300px; height: 33px;}

#footer {width: 90%; padding: 20px 5%;}

.postdate-comment {visibility: visible;}

.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);}

.post-comment {width: 96%; margin: 0 0 16px 2%;}
.post-comment-reply {width: 96%; margin: 0 0 16px 2%; float: left;}

#vypis {width: 100%; position: static; left: 0; margin: 0;}

.social-article {width: 90%; padding: 0 5%; margin-left: 0;}

#password-form .registrace-help {width: 95%; padding: 2%;}

#password-form .registrace-left {width: 100%;}
#password-form .registrace-left .input-cell {float: left; width: 100%;}
#password-form .registrace-left .input-cell-button .input-text {display: none;}
#password-form .registrace-left .input-text {width: 100%; padding: 0; padding-right: 0; padding-bottom: 5px; text-align: left;}
#password-form .registrace-left .input-input {width: 100%;}

#socialmenu #socialmenuin {width: 65%;}

.thumbnail {width: 49%; margin: 0 2% 2% 0;}

.thumbnail:nth-child(1n) {margin-right: 2%;}
.thumbnail:nth-child(2n) {margin-right: 0;}

.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;}

}



@media only screen and (max-width: 740px) {

.kontakt-sloupec {width: 100%; max-width: 100%; margin-right: 0;}

}



@media only screen and (max-width: 430px) {

#kniha .comment-antispam {width: 100%;}
#kniha .comment-kod {padding: 7px 0 0 0;}

}



@media only screen and (max-width: 400px) {

#header h1, #header h2 {width: 250px; height: 27px; background: url("../images/h1-small.png") no-repeat; background-size: 250px 27px; top: 15px;}
#header h1 a, #header h2 a {width: 250px; height: 27px;}

.thumbnail img {border: 0;}

.postdate-comment {display: none;}

#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;}

.blog-img {display: none; visibility: hidden;}
.blog-text {width: 100%; margin-left: 0;}

}



@media only screen and (max-width: 350px) {

#header h1, #header h2 {width: 200px; height: 22px; background-size: 200px 22px; top: 18px;}
#header h1 a, #header h2 a {width: 200px; height: 22px;}

}

@media only screen and (max-width: 300px) {

#kniha .prvni-sloupec {width: 100%; float: left;}
#kniha .druhy-sloupec {width: 100%; float: left;}

#kniha .comment-antispam {width: calc(100% - 112px);}
#kniha .comment-kod {padding: 2px 0 0 5px;}

}