/* 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%; margin: 0;}
#info {width: auto; max-width: 96%; margin: 20px auto;}

#slides img {width: 100%; height: auto;}

}



/* Tablet portrait
----------------------------------------------- */
@media only screen and (max-width: 770px) {

#container {width: 100%;}
#content {width: 96%; float: left; height: auto; margin: 0 0 0 2%; padding: 0; background-size: 100% 100%;}
#sidebar {display: none;}

#content .inner-left {width: 100%;}
#content .inner-right {display: none;}

#slideshow {display: none;}

#header {height: 40px; background: none;}

#header h1, #header h2 {width: 315px; height: 66px; background: url("../images/h1-tablet.png") no-repeat; background-size: 315px 66px; left: 2%;}
#header h1 a, #header h2 a {width: 315px; height: 66px;}

#headerother {height: 40px; background: none;}

#headerother h1, #headerother h2 {width: 315px; height: 66px; background: url("../images/h1-tablet.png") no-repeat; background-size: 315px 66px; left: 2%;}
#headerother h1 a, #headerother h2 a {width: 315px; height: 66px;}

#sidebar {width: 100%; float: left; padding: 15px 0;}

#footer {width: 96%; padding: 20px 2%; text-align: left; height: auto;}

#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;}

.blog {margin-top: 0px;}
.blog-img {width: 18%; margin: 0 5% 0 0; padding: 0;}
.blog-img a {width: 100%; margin: 0; padding: 0;}
.blog-img img {width: 100%; margin: 0; padding: 0;}

.blog-text {width: 70%;}

.align-center {width: 100%; left: 0; margin: 0;}
.alert-bad, .alert-good {width: 80%; margin-left: 2%;}

#kniha {width: 96%; padding: 0; margin: 20px 0 20px 2%; border: 0; background: none;}
#kniha .comment-smile {visibility: hidden;}
#kniha textarea {width: 95%;}

.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;}

#info {margin-left: 2%;}
#info p {padding-left: 0;}
#info h1 {padding-left: 0;}

.gallery-info {width: 96%; margin-left: 2%;}

}



/* Smartphones landscape
----------------------------------------------- */
@media only screen and (max-width: 560px) {

#header {height: 60px;}

#footer {width: 90%; padding: 20px 5%;}

.postdate-comment {visibility: visible;}

.lista {width: 90%; padding: 10px 5% 15px 5%; margin: 0;}

.blog-content {width: 90%; padding: 0 5%; margin: 0;}

.gallery-menu {width: 90%; padding: 0 5%; margin: 0;}

.article {width: 90%; padding: 0 5%; 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;} 

.social-article {width: 90%; padding: 0 5%; margin-left: 0;}

.blog-img {width: 20%; margin: 0 3% 0 0;}
.blog-img a {border: 0;}
.blog-img a:hover {border: 0;}

#kniha textarea {width: 93%;}

.gallery-info {width: 90%; margin-left: 5%;}

}



/* Smartphones portrait
----------------------------------------------- */
@media only screen and (max-width: 400px) {

#header {height: 60px;}

#header h1, #header h2 {width: 200px; height: 42px; background: url("../images/h1-tablet.png") no-repeat; background-size: 200px 42px; left: 2%; top: 7px;}
#header h1 a, #header h2 a {width: 200px; height: 42px;}

#headerother {height: 60px;}

#headerother h1, #headerother h2 {width: 200px; height: 42px; background: url("../images/h1-tablet.png") no-repeat; background-size: 200px 42px; left: 2%; top: 7px;}
#headerother h1 a, #headerother h2 a {width: 200px; height: 42px;}

#footer {text-align: left; height: auto;}

.thumbnail img {border: 0;}

.postdate-comment {display: none;}

.blog-img {display: none;}

.blog-text {width: 100%;}

.thumbnail {width: 120px; height: 160px;}
.thumbnail span {width: 115px;}
.thumbnail img {width: 115px;}

}