/* Doplnky k pôvodným štýlom pre WordPress. */

/* Pôvodný dizajn mal pevnú šírku; na úzkych displejoch dovolíme posun a zmenšíme obrázky. */
img { max-width: 100%; height: auto; box-sizing: content-box; }
.typography img.alignleft, .typography .alignleft { float: left; margin-right: 10px; }
.typography img.alignright, .typography .alignright { float: right; margin-left: 20px; }
.typography img.aligncenter, .typography .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* Vyhľadávanie a newsletter (pôvodné ID formulárov zo SilverStripe). */
#search form, #subscribe form { margin: 0; }
#search input#SearchForm_SearchForm_Search { border: 0; outline: none; }
#subscribe input.email { border: 0; outline: none; }
#subscribe .subscribTheForm { height: 24px; }
.ps-nl-message { background: #fff; border: 1px solid #dadada; padding: 10px 15px; margin-bottom: 21px; }

/* Objednávkový formulár. */
.ps-form .field label { display: block; margin: 10px 0 -10px 0; color: #777; font-size: 12px; }
.ps-form input.text, .ps-form textarea { width: 400px; max-width: 100%; border: 1px solid #ccc; }
.ps-form input.action { background: #8a3520; color: #fff; border: 0; border-radius: 3px; margin-top: 15px; }
.ps-errors { color: #b60000; border: 1px solid #b60000; padding: 5px 10px; margin: 10px 0; }
.ps-hp { position: absolute; left: -9999px; }

/* Detail knihy: skryté sekcie O autorovi / Recenzie / Ukážka. */
.additional-content { position: relative; }
.additional-content > div.open { display: block; }
#content_wrapper .details-buttons a { margin-right: 40px; }

/* Okno aktualít: jednoduché listovanie bez jQuery Tools. */
.headline-news ul { left: 0; transition: left .7s ease; }
.headline-news .prev, .headline-news .next { top: 0; height: 360px; }
.headline-news.single .prev, .headline-news.single .next { display: none; }

/* Zoznam aktualít. */
.newsDateTitle { margin-bottom: 6px; }
.post-navigation { margin-top: 21px; }

@media (max-width: 1000px) {
	html, body { overflow-x: auto; }
	#header_wrapper, #footer_wrapper { min-width: 930px; }
}

/* Úvodná stránka: box knihy sa natiahne podľa obsahu, cena ostáva dole. */
.small-box { height: auto; min-height: 192px; padding-bottom: 48px; }
#subscribe input.submit { text-indent: -900%; overflow: hidden; border: 0; }
.small-box { padding-bottom: 0; }
.small-box .price-buy { position: static; clear: both; padding-top: 4px; }
