/*
Theme Name: Těnovice
Theme URI: http://tenovice.cz/
Description: Těnovické téma
Version: 1.0
Author: Jaroslav Cmunt
*/

/* Begin Typography & Colors */
body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: 'Lucida Grande', Arial, Sans-Serif;
	color: black;
	background-color: white;
	text-align: center;
	margin: 0;
	padding: 0;
}

#page {
	text-align: left;
	width: 960px;
	margin: 0 auto;
}

#sidebar {
	float: left;
	width: 297px;
	margin-top: 7px;
	margin-bottom: 20px;
	font-size: 120%;
}
#sidebar #homelink {
	margin-left: 5px;
}

#sidebar ul#mainmenu {
	margin: 15px 0 0 0;
	padding: 0;
	text-align: right;
	width: 273px;
	border-top: 1px solid #e4e4e4;
}
#sidebar ul#mainmenu li {
	list-style-type: none;
	font-weight: bold;
	border-bottom: 1px solid #e4e4e4;
	height: 21px;
}
#sidebar ul#mainmenu li a {
	display: block;
	color: #393939;
	text-decoration: none;
	padding-top: 4px;
	height: 17px;
}
#sidebar ul#mainmenu li a:hover, #sidebar ul#mainmenu li a.currentlink {
	color: #cc293d;
}
#sidebar ul#mainmenu li a#vlkreklama {
	float: left;
	margin-left: 20px;
	background-color: #c7e9b6;
	height: 17px;
	padding: 4px 5px 0 5px;
}

#sidebar #sidemenu {
	margin-top: 40px;
}
#sidebar #sideboxtop, #sidebar #linkboxtop {
	background-image: url('images/sideboxtop.png');
	width: 272px;
	height: 9px;
}
#sidebar #sidebox {
	background-color: #eaeaea;
	width: 272px;
	padding-bottom: 5px;
}
#sidebar #sidebox p {
	padding: 0 25px;
}
#sidebar .bluelink {
	margin-left: 25px;
}
#sidebar #sidebox #openquote {
	position: relative;
	top: -8px;
	margin-left: 5px;
	font-size: 600%;
	color: white;
	height: 12px;
}
#sidebar #sidebox #closequote {
	position: relative;
	top: -25px;
	left: 240px;
	font-size: 600%;
	color: white;
	height: 12px;
	margin-bottom: 5px;
}
#sidebar #sideboxbottom, #sidebar #linkboxbottom {
	background-image: url('images/sideboxbottom.png');
	width: 272px;
	height: 9px;
}
#sidebar #linkbox {
	margin-top: 15px;
}
#sidebar #linkboxcontent {
	background-color: #eaeaea;
	width: 272px;
}
#sidebar #linkboxcontent a {
	text-decoration: underline;
	background-image: url('images/pdficon.png');
	background-repeat: no-repeat;
	background-position: center left;
	color: #d1224b;
	margin-left: 18px;
	padding-left: 47px;
	padding-top: 7px;
	font-size: 130%;
	height: 32px;
	display: block;
}

#sidebar ul#sidemenu {
	margin: 0;
	padding: 0;
	text-align: right;
	width: 273px;
}
#sidebar ul#sidemenu li {
	list-style-type: none;
	font-weight: bold;
	padding: 10px 0 7px 0;
	width: 273px;
}
#sidebar ul#sidemenu li.first {
	padding: 25px 0 7px 0;
}
#sidebar ul#sidemenu li.submenu {
	padding: 5px 0 3px 0;
}
#sidebar ul#sidemenu li a {
	margin-right: 9px;
}
#sidebar ul#sidemenu li.currentlink {
	background-color: #b3bbbe;
}
#sidebar ul#sidemenu li.submenu {
	background-color: #b3bbbe;
}
#sidebar ul#sidemenu li.currentlink.submenu {
	background-color: #b3bbbe;
}
#sidebar ul#sidemenu li.currentlink a {
	text-decoration: none;
	color: #d1224b;
}
#sidebar ul#sidemenu li a.submenu {
	font-size: 85%;
	text-decoration: underline;
}

#header {
	margin: 20px 0 0 297px;
	width: 663px;
}

#content {
	margin: 0 0 0 297px;
	font-size: 120%;
}

#content h2.homepage {
	color: #c3c3c3;
	margin: 14px 0 11px 0;
}

#content #posts {
	clear: right;
}
#content .postpreview {
	float: left;
	width: 210px;
	height: 315px;
}
#content .postpreview.withmargin {
	margin-left: 16px;
}
#content .postpreview h3 {
	margin-bottom: 8px;
}
#content .postpreview h3 a, #content #blog h2 a {
	color: #d4a322;
	text-decoration: underlink;
	font-size: 85%;
}
#content .postpreview .dateandcats, #content #blog .dateandcats,
#content .post .dateandcats {
	color: #393939;
	font-size: 95%;
	margin-bottom: 5px;
}
#content .postpreview .dateandcats a, #content .postpreview a.morelink,
#content #blog .dateandcats a, #content #blog a.morelink, #content .post .dateandcats a {
	color: #0d4e96;
	text-decoration: underlink;
}
#content .postpreview div.morelink, #content #blog div.morelink {
	float: right;
}
#content #blog h2 a {
	font-size: 100%;
}
#content #blog .postshort {
	margin-bottom: 40px;
}
#content .navigation {
	padding-bottom: 30px;
}

#content #postheadertop {
	background-image: url('images/headertop.png');
	width: 662px;
	height: 9px;
	margin-top: 15px;
}
#content #postheader {
	margin: 0;
	background-color: #ffe392;
	padding: 7px 0 5px 15px;
	color: #b38f28;
	font-size: 190%;
}
#content #postheaderbottom {
	background-image: url('images/headerbottom.png');
	width: 662px;
	height: 9px;
}
#content .entry, #content #blog {
	margin-top: 40px;
}
#content #blog .postshort img {
	float: left;
	margin-right: 8px;
	margin-bottom: 5px;
}
#content #blog .post #gallery img {
	margin-top: 10px;
	border: 3px solid #f5eacc;
}
#content .post .entry a img {
	border: 3px solid #f5eacc;
	margin-right: 8px;
}

#spodek {
	clear: both;
	border-top: 2px solid #D3D3D3;
	margin: 50px 0 30px 0;
}
#spodek h2 {
	color: #c3c3c3;
	font-size: 180%;
	padding: 6px 0 17px 0;
	margin: 0;
}
#spodek #banner {
	float: left;
	margin-bottom: 35px;
}
#spodek #banner img {
	border: 3px solid #f5eacc;
}
#spodek #gallery {
	float: left;
	width: 350px;
	margin-left: 35px;
	margin-right: 30px;
}
#spodek #gallery img {
	border: 0;
	margin-right: 20px;
	margin-bottom: 20px;
	border: 3px solid #f5eacc;
}
#spodek #znamky img {
	border: 0;
	border: 3px solid #f5eacc;
}

#footer {
	clear: both;
	margin-bottom: 10px;
}
#footer #footertop {
	background-image: url('images/footertop.png');
	width: 957px;
	height: 12px;
}
#footer #footerbottom {
	background-image: url('images/footerbottom.png');
	width: 957px;
	height: 12px;
}
#footer #footertext {
	background-color: #969696;
	width: 957px;
	padding: 3px 0;
}
#footer #footertext a {
	color: white;
	margin-left: 17px;
	text-decoration: none;
	font-size: 105%;
}
#footer #footertext a:hover {
	text-decoration: underline;
}
#footer #footertext #copyright {
	float: right;
	margin-right: 17px;
	font-size: 105%;
	color: #4a4a4a;
}

p.red {
	color: #cc293d;
}

a.bluelink {
	color: #0d4e96;
	text-decoration: underline;
	background-image: url('images/modrasipka.png');
	background-repeat: no-repeat;
	background-position: center left;
	padding-left: 27px;
}
li a.bluelinkleft {
	color: #0d4e96;
	text-decoration: underline;
	background-image: url('images/modrasipkaleva.png');
	background-repeat: no-repeat;
	background-position: center right;
	padding-right: 27px;
}
a.bluelink:hover, #sidebar ul#sidemenu li a.bluelinkleft:hover {
	text-decoration: none;
}
li a.bluelinkleft.submenu {
	background-image: url('images/malasipka.png');
	background-repeat: no-repeat;
	background-position: center right;
	padding-right: 8px;
}
li.currentlink a.bluelinkleft.submenu {
	background-image: url('images/malasipkaselected.png');
	color: #d1224b;
}
.alignright {
	float: right;
}
.alignleft {
	float: left;
}
.navigation {
	margin: 20px 0;
}
.navigation a {
	color: #0d4e96;
	text-decoration: underline;
}

p.red {
	color: #d1224b;
	font-size: 110%;
}

.post a {
	color: #0d4e96;
}
.post a:hover {
	text-decoration: none;
}
.post h2 {
	margin: 27px 25px 5px 0;
	font-weight: normal;
}
.post h5 {
	margin: 3px 10px 0 0;
	color: #695CB2;
	font-size: 130%;
}
.post h4 {
	margin: 25px 10px 15px 0;
	color: #d1224b;
	font-size: 120%;
	font-weight: normal;
}
.post h3 {
	margin: 25px 10px 15px 0;
	color: #d1224b;
	font-size: 150%;
	font-weight: normal;
}
.post ul {
	padding-left: 0;
	padding-bottom: 8px;
}
.post ul li {
	background-image: url('images/lisipka.png');
	background-repeat: no-repeat;
	background-position: left 2px;
	padding-left: 18px;
	list-style-type: none;
	margin-bottom: 4px;
}

.post table .width50 {
	width: 40px;
}
.post table .width75 {
	width: 85px;
}
.post table td {
	padding: 2px 0;
}
.post table td.emptyline {
	height: 15px;
}

.post blockquote {
	padding: 0;
	margin: 0 0 20px 0;
	font-size: 110%;
	font-weight: bold;
	color: #B38F28;
}

.post p {
	margin-bottom: 20px;
}

.post table.ceny td {
	padding: 5px 0 5px 10px;
}
.post td.mena {
	border-bottom: 1px dotted gray;
	border-top: 1px dotted gray;
}
.post td.predem {
	border-right: 1px dotted gray;
}
.post table.ceny td.nadpis {
	padding-left: 0px;
	border-bottom: 1px dotted gray;
}
.post tr.price td {
	border-bottom: 1px dotted gray;
}
.post tr.price td.item {
	border-right: 1px dotted gray;
	padding-left: 0px;
}
.post td.cenaza {
	border-bottom: 1px dotted gray;
	border-right: 1px dotted gray;
	text-align: center;
}

#post-42 table, #post-676 table, #post-1220 table {
	border: none;
}
#post-42 table td, #post-676 table td, #post-1220 table td {
	border-bottom: 1px dotted gray;
	border-left: none;
	border-top: none;
	border-right: none;
}
#post-42 table td.first, #post-676 table td.first, #post-1220 table td.first {
	border-right: 1px dotted gray;
	padding-right: 15px;
}

#post-38 table td {
	padding-right: 15px;
}

.wp-image-877, .wp-image-878 {
	margin-right: 10px;
}

.vlkheadlink {
	position: absolute;
	width: 106px;
	height: 61px;
	margin: 150px 0 0 555px;
}
.mlkheadlink {
	position: absolute;
	width: 106px;
	height: 61px;
	margin: 215px 0 0 555px;
}

#header a {
    z-index: 1000;
}
#header img {
    z-index: -100;
}

#flags {
	height: 20px;
	text-align: right;
	margin-right: 10px;
}
#enflag {
	margin: 0;
	margin-left: 20px;
	padding: 0;
	padding-left: 27px;
	color: #0D4E96;
	font-size: 110%;
	padding-bottom: 3px;
	/*background-image: url('images/en.flag.png');*/
	background-image: url('http://bdc.cz/tenovice/wp-content/plugins/qtranslate/flags/gb.png');
	background-repeat: no-repeat;
	background-position: top left;
}
#czflag {
	margin: 0;
	margin-left: 20px;
	padding: 0;
	padding-left: 27px;
	color: #0D4E96;
	font-size: 110%;
	padding-bottom: 3px;
	background-image: url('http://bdc.cz/tenovice/wp-content/plugins/qtranslate/flags/cz.png');
	background-repeat: no-repeat;
	background-position: top left;
}
#deflag {
	margin: 0;
	margin-left: 20px;
	padding: 0;
	padding-left: 27px;
	color: #0D4E96;
	font-size: 110%;
	padding-bottom: 3px;
	/*background-image: url('images/de.flag.png');*/
	background-image: url('http://bdc.cz/tenovice/wp-content/plugins/qtranslate/flags/de.png');

  background-repeat: no-repeat;
	background-position: top left;
}
