/* 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) {

#content .content-inner {width: calc(100% - 70px);}

.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%;}

#flag {left: auto; right: 10px; margin: 0;}
#socialmenu {left: auto; right: 88px; margin: 0;}

#kontakt-footer {width: calc(100% - 70px); margin: 0 0 0 35px;}

.kontakt-column-1 {width: 310px;}
.kontakt-column-2 {width: calc(100% - 430px);}
.kontakt-column-3 {width: 120px;}

}



@media only screen and (max-width: 1040px) {

#formular form .formular-antispam input.field {width: calc(100% - 16px); padding: 7px;}
#formular form .formular-antispam img {left: 0;}
#formular form .formular-antispam span {left: 3px;}

}



@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: 860px) {

#kontakt {width: 100%; margin: 0;}
#kontakt .article {padding: 0;}

#formular {width: 100%; float: left; margin: 0;}

#footer-links .footer-container a {width: calc(33.33% - 40px);}

}



@media only screen and (max-width: 800px) {

.kontakt-column-1 {width: 100%; text-align: center;}
.kontakt-column-2 {width: 100%; text-align: center; margin-top: 50px;}
.kontakt-column-3 {width: 100%; text-align: center; margin-top: 50px;}

}



@media only screen and (max-width: 770px) {

#flag {left: auto; top: 18px; right: 70px; margin: 0;}
#socialmenu {left: auto; top: 18px; right: 148px; margin: 0;}

.overlay input[type=text] {width: calc(70% - 30px);}
.overlay button {width: calc(30% - 30px);}

.modal {padding-top: 50px;}

#backstretch {margin: 0 0 40px 0;}

.img-triple {margin: 0 12px 0; width: calc(50% - 24px);}
.img-triple-3 {float: none; margin: 24px auto 0 ;}

.img-double {margin: 20px 12px 0;}

.full {margin: 30px 0 60px 0;}

.clear-img {display: block; visibility: visible; clear: both;}

}



@media only screen and (max-width: 620px) {

#header h3 {width: 250px; height: 70px; background-size: 250px 70px; margin: 0; left: 20px;}
#header h3 a {width: 250px; height: 70px;}

#header h3.h3home {width: 250px; height: 70px; background-size: 250px 70px; margin: 0; left: 20px;}
#header h3.h3home a {width: 250px; height: 70px;}

}



@media only screen and (max-width: 560px) {

.article .article-column-2 {column-count: 1;}
.article .article-column-3 {column-count: 1;}
.article .article-column-4 {column-count: 1;}

#flag {width: 27px; top: 6px; right: 60px;}

#socialmenu {width: 57px; top: 5px; right: 100px;}

.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: 500px) {

.img-double {width: 100%; margin: 50px 0 0;}

}



@media only screen and (max-width: 400px) {

.thumbnail img {border: 0;}

#socialmenu {display: none; visibility: hidden;}

.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;}

#formular form {width: calc(100% - 30px); padding: 15px;}
#formular .alert-bad, #formular .alert-good {margin: 15px 0 0 15px; width: calc(100% - 50px);}

#footer-links .footer-container a {width: calc(50% - 40px);}

.img-triple {margin: 0 0 24px 0; width: 100%;}
.img-triple-3 {float: none; margin: 0 auto;}

}



@media only screen and (max-width: 380px) {

#header h3 {width: 200px; height: 56px; background-size: 200px 56px;}
#header h3 a {width: 200px; height: 56px;}

#header h3.h3home {width: 200px; height: 56px; background-size: 200px 56px;}
#header h3.h3home a {width: 200px; height: 56px;}

}



@media only screen and (max-width: 330px) {

#header h3 {width: 180px; height: 50px; background-size: 180px 50px;}
#header h3 a {width: 180px; height: 50px;}

#header h3.h3home {width: 180px; height: 50px; background-size: 180px 50px;}
#header h3.h3home a {width: 180px; height: 50px;}

}