/* 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;}

}



/* Desktop
----------------------------------------------- */
@media only screen and (max-width: 1175px) {

#header {background: none;}

}



/* 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;}

}



/* Tablet portrait
----------------------------------------------- */
@media only screen and (max-width: 770px) {

/*
#container {width: 100%;}
#content {width: 100%; float: left;}

#menu {width: 100%; padding: 0; position: static; left: 0; top: 0; text-align: left; overflow: hidden;}
#menu ul {width: 96%; padding-left: 2%; padding-right: 2%;}

#header h1, #header h2 {background: url("../images/h1.jpg") no-repeat;}
#header h1 a span, #header h2 a span {visibility: hidden;}

#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;}
*/

}



/* Smartphones landscape
----------------------------------------------- */
@media only screen and (max-width: 482px) {

#header {height: 130px;}
#header h1 a span, #header h2 a span {visibility: hidden;}
#header h1, #header h2 {background: url("../images/h1-small.png") no-repeat; width: 320px; height: 116px;}
#header h1 a, #header h2 a {width: 320px; height: 116px;}

#sidebar {position: absolute;}
#sidebar .facebook img {width: 32px; margin: 0 0 0 13%;}

#menu {width: 90%; padding: 15px 5%; position: static; left: 0; top: 0; text-align: left; overflow: hidden; background: #f7e0e0;}
#menu ul {margin: 0; padding: 0; width: 100%; background: none;}
#menu ul li {padding: 0; font-size: 1.0em; float: none;}
#menu ul li a, #menu ul li a:visited {border: 0; padding: 3px 0; font-size: 0.75em;}
#menu ul li a:hover, #menu ul li a.menu-current {border: 0;}

.postdate-comment {visibility: visible;}

.lista {width: 90%; padding: 10px 5% 15px 5%; margin: 0;}

.blog-content {width: 100%; padding: 0 0; margin: 0;}

.gallery-menu {width: 90%; padding: 20px 0 0 10%; 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;} 

#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;}

.thumbnail {width: 125px; height: 200px;}
.thumbnail span {width: 100px;}
.thumbnail img {width: 100px;}

}



/* Smartphones portrait
----------------------------------------------- */
@media only screen and (max-width: 400px) {

#header {height: 84px;}
#header h1 a span, #header h2 a span {visibility: hidden;}
#header h1, #header h2 {background: url("../images/h1-mobil.png") no-repeat; width: 230px; height: 83px;}
#header h1 a, #header h2 a {width: 230px; height: 83px;}

.thumbnail img {border: 0;}

.gallery-menu {font-size: 1.0em;}

.thumbnail {width: 80px; height: 150px;}
.thumbnail span {width: 70px; font-size: 0.75em;}
.thumbnail img {width: 70px;}

}