/* 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;}

}



/* Tablet landscape
----------------------------------------------- */
@media only screen and (max-width: 1030px) {

#image img {width: auto; max-width: 96%; max-height: 96%; margin: 0;}
#info {width: auto; max-width: 96%; margin: 20px auto;}

#slides img {width: 100%; height: auto;}

#menu ul {width: 900px; padding-left: 50px;}
#flag #flagin {margin: 0 auto; width: 900px; padding-right: 50px;}

}



/* Tablet portrait
----------------------------------------------- */
@media only screen and (max-width: 770px) {

#container {width: 100%; background: none; background: #353535;}
#content {width: 70%; float: right; padding-right: 0;}

#header {height: 70px;}
#header-home {height: 70px;}

#header h1.h-cz, #header h2.h-cz {width: 600px; height: 61px; background-size: 600px 61px; left: 10px;}
#header h1.h-cz a, #header h2.h-cz a {width: 600px; height: 61px;}

#header-home h1.h-cz, #header-home h2.h-cz {width: 600px; height: 61px; background-size: 600px 61px; left: 10px;}
#header-home h1.h-cz a, #header-home h2.h-cz a {width: 600px; height: 61px;}

#header h1.h-en, #header h2.h-en {width: 618px; height: 61px; background-size: 618px 61px; left: 10px;}
#header h1.h-en a, #header h2.h-en a {width: 618px; height: 61px;}

#header-home h1.h-en, #header-home h2.h-en {width: 618px; height: 61px; background-size: 618px 61px; left: 10px;}
#header-home h1.h-en a, #header-home h2.h-en a {width: 618px; height: 61px;}

.header-home-all {display: none;}

#sidebar {width: 30%; float: left; padding: 15px 0; padding-left: 0; background-image: none;}

#footer {width: 96%; padding: 20px 2%; text-align: left; height: auto; background: none; background: #353535;}

#kontakt {width: 40%;}
#formular {width: 53%;}

.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: 96%; padding: 0 2%; margin: 0;}

.social-article {width: 96%; padding: 0 2%; margin-left: 0;}

#flag {top: 25px; width: 100%; text-align: center;}
#flag #flagin {margin: 0 auto; width: 83%; padding-right: 0;}

#kniha {border: 0; background: none; width: 90%; padding: 0 10% 0 0; left: 0;}

.lista {margin-left: 0;}

.article {margin-left: 0;}

.thumbnail-link-list {margin-left: 0;}

}



/* Smartphones landscape
----------------------------------------------- */
@media only screen and (max-width: 600px) {

#content {float: left; width: 92%; margin-left: 4%;}

#header {height: 70px; background-position: center 0;}
#header-home {height: 70px; background-position: center 0;}

#header h1.h-cz, #header h2.h-cz {width: 320px; height: 61px; background-size: 600px 61px; left: 10px;}
#header h1.h-cz a, #header h2.h-cz a {width: 320px; height: 61px;}

#header-home h1.h-cz, #header-home h2.h-cz {width: 320px; height: 61px; background-size: 600px 61px; left: 10px;}
#header-home h1.h-cz a, #header-home h2.h-cz a {width: 320px; height: 61px;}

#header h1.h-en, #header h2.h-en {width: 320px; height: 61px; background-size: 600px 61px; left: 10px;}
#header h1.h-en a, #header h2.h-en a {width: 320px; height: 61px;}

#header-home h1.h-en, #header-home h2.h-en {width: 320px; height: 61px; background-size: 600px 61px; left: 10px;}
#header-home h1.h-en a, #header-home h2.h-en a {width: 320px; height: 61px;}

#footer {width: 90%; padding: 20px 5%;}

.postdate-comment {visibility: visible;}

.lista {width: 90%; padding: 10px 5% 15px 0; margin: 0;}

.blog-content {width: 90%; padding: 0 5%; margin: 0;}

.gallery-menu {width: 90%; padding: 0 5%; margin: 0;}

.article {width: 100%; padding: 0 0; margin: 0;}

#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: 90%; text-align: left;}
#formular form .input-input {width: 90%;}
#formular form .input-button {height: 50px; margin-top: 10px;} 

#kniha {width: 96%; padding: 0; margin: 20px 0 20px 2%; border: 0; background: none;}
#kniha .comment-smile {visibility: hidden;}

.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;}

#sidebar {display: none;}

#flag #flagin {width: 75%;}

.align-center {left: 0; margin: 0; width: 100%;}
.alert-good {background-image: none; padding: 2%; width: 90%;}

#kniha .comment-antispam {width: 30%;}

}



/* Smartphones portrait
----------------------------------------------- */
@media only screen and (max-width: 400px) {

#header {height: 70px; background-position: center 0;}
#header-home {height: 70px; background-position: center 0;}

#header h1.h-cz, #header h2.h-cz {width: 180px; height: 35px; background-size: 340px 35px; left: 10px; top: 19px;}
#header h1.h-cz a, #header h2.h-cz a {width: 180px; height: 35px;}

#header-home h1.h-cz, #header-home h2.h-cz {width: 180px; height: 35px; background-size: 340px 35px; left: 10px; top: 19px;}
#header-home h1.h-cz a, #header-home h2.h-cz a {width: 180px; height: 35px;}

#header h1.h-en, #header h2.h-en {width: 180px; height: 35px; background-size: 340px 35px; left: 10px; top: 19px;}
#header h1.h-en a, #header h2.h-en a {width: 180px; height: 35px;}

#header-home h1.h-en, #header-home h2.h-en {width: 180px; height: 35px; background-size: 340px 35px; left: 10px; top: 19px;}
#header-home h1.h-en a, #header-home h2.h-en a {width: 180px; height: 35px;}

#footer {text-align: left; height: auto;}

.thumbnail img {border: 0;}

.postdate-comment {display: none;}

#flag #flagin {width: 68%;}

.thumbnail {width: 135px; height: 170px; float: left; text-align: center; font-size: 0.75em;}
.thumbnail img {border: 0; margin: 0 0 5px 0;}

}