/*
Theme Name: Obec Jankov
Theme URI: http://www.obecjankov.cz/
Webdesign and CSS code by Excelent Web || http://www.exweb.cz
*/

/* -- Body -- */
body * {
	margin: 0; padding: 0;
}

body {
	margin: 0;
	padding: 0;
	font-family: Calibri, Helvetica,Tahoma,Verdana, sans-serif;
	font-size: 0.9em;
	line-height: 1.5em;
	color: #000;
	background: #fff url(images/bg_body.jpg) left top repeat-x scroll;
	text-align: center;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    font-family: 'Trebuchet MS',Arial,Helvetica,sans-serif;
}

a, a:active, a:visited, a { color: #4C3937; }
a:hover { color: #000; text-decoration: none; }

a[href*="mailto:"] {
    background: url("images/link-mail.gif") no-repeat scroll right center transparent;
    padding-right: 15px !important;
}

a img { border: 0; }

.hidden {
	overflow: hidden;
	width: 10px;
	position: absolute;
	left: 0;
	top: -1000px;
}

.clear {
	width: 100%;
	clear: both;
}

.center { text-align: center; }
.center_m {	margin: auto; }
.right { text-align: right; }

#navigace {
    margin: 50px 0 0 20px;
    font-size: 1.1em;
    color: #333;
}

#content h1 {
	font-size: 2em;
	color: #9A773D;
	margin: 0 0 30px 20px;
	line-height: 1.2em;
}

#content p {
	font-size: 1.1em;
	text-indent: 1em;
}

.button, input[type=submit], .paginator .current, .no_next {
	display: inline-block;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font-size: 1.1em;
	padding: 0.2em 1em 0.275em;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
	-webkit-border-radius: .4em; 
	-moz-border-radius: .4em;
	border-radius: .4em;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.button:hover, input[type=submit]:hover {
	text-decoration: none;
}
.button:active, input[type=submit]:active {
	position: relative;
	top: 1px;
}

input[type=submit], .button {
	border: solid 1px #d7c20b;
	color: #000;
	background: #f78d1d;
	background: -webkit-gradient(linear, left top, left bottom, from(#fffea9), to(#f47a20));
	background: -moz-linear-gradient(top,  #ffee5d,  #f4e820);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#FBC21A', endColorstr='#f47a20');
}
input[type=submit]:hover, .button:hover {
	border: solid 1px #DC980A;
	color: #fff;
	background: #f47c20;
	background: -webkit-gradient(linear, left top, left bottom, from(#f88e11), to(#f06015));
	background: -moz-linear-gradient(top,  #f88e11,  #f06015);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f88e11', endColorstr='#f06015');
}
input[type=submit]:active, .button:active, .paginator .current, .no_next {
	color: #fcd3a5;
	background: -webkit-gradient(linear, left top, left bottom, from(#f47a20), to(#faa51a));
	background: -moz-linear-gradient(top,  #f47a20,  #faa51a);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f47a20', endColorstr='#faa51a');
}

/* --- Strankovani --- */
.paginator {
	margin: 10px 0 10px;
	text-align: center;	
}

.paginator .button {
	padding: .15em .9em .15em;
	font-size: 1em;
}

.paginator .step {
	padding: 0.15em .5em .15em;
	margin: 0 .2em 0; 
}

.paginator .current {
	padding: .2em .5em .25em;
	margin: 0 .2em 0; 
	color: #000;
	cursor: default;
}


/* --- Flash message --- */
.flash {
    text-align: left;
    padding: .3em .5em .3em 40px;
    margin: 0 auto .5em;
    clear: both;
    max-width:  46.923em; /* 610/13 */  
    *max-width: 45.750em; /* 610/13.3333 - for IE */
    font-size: 1.1em;
}

.flash.error, form .error {
    border: thin solid #8b0000;
    background: #ffc0cb;
}

.flash.notice, .flash.info {
    border: thin solid #ff0;
    background: #ffe url(images/icon_info.gif) 15px center no-repeat;
}

.flash.warning {
    border: thin solid #b8860b;
    background: #ff0;
}

/* -- All -- */
#all {
	width:974px;
	margin:0 auto;
	padding:0;
	text-align: left;
	position: relative;
}

/* -- Hlavicka -- */
#header {
	width: 100%;
	height: 220px;
}

#logo {
	margin: 15px 0 0 25px;
	width: 370px;
	height: 115px;
	overflow:hidden;
	float: left;
	background: transparent url(images/logo.jpg) left top no-repeat;
}

#logo h1 { display: none }
#logo div {
	width: 370px;
	height: 115px;
}

/* --- Pristupnost --- */
#pristupnost {
	float: right;
	margin: 10px 0 0 0;
	font-size: 1.1em;
}

#pristupnost li {
	display: inline;
	margin: 0;
}

#pristupnost a { text-decoration: none; }
#pristupnost a:hover { text-decoration: underline; }

/* -- Main -- */
#main {
	width: 100%;
	background: url(images/bg_main.jpg) right top repeat-y;
	border: 0px solid red;
	padding: 0 0 50px 0;
}
#bg_main {
	width: 100%;
	height: 20px;
	background: url(images/bg_top_main.jpg) right top no-repeat;
}

#content {
	width: 700px;
	float: left;
}

#right_panel {
	width: 239px;
	float: right;
}

/* -- Right panel -- */
#menu h2, #kontakt h2 { display: none; }

#menu .header {
	width: 239px;
	height: 38px;
	background: url(images/menu.jpg) left top no-repeat;
	margin-bottom: 5px;
}

#menu ul {
	list-style: none outside none;
	/*border-top: 1px dashed #F1AB9A;*/
	margin: 0 0 0 25px;
}

#menu .current { background-color: #fae4e5; }

#menu li {
	border-bottom: 1px dashed #F1AB9A;
	/*font-family: sans-serif;*/
}

#menu ul div {
	padding: 0 5px 0 8px;
	background: url(images/menu_sipka.gif) right center no-repeat;
}

#menu .noborder { border: 0; }
#menu ul li a {
	width: 100%;
	font-size: 1.1em;
	line-height: 2em;
	display: block;
	text-decoration: none;
	color: #000;
}

#menu ul div:hover {
	background-color: #f7d4d3;
}
#menu ul div:hover a {
	color: #d34841;
}

#menu ul li ul {
	margin: 0;
	padding: 0 0 0 18px;
	border-top: 1px dashed #F1AB9A;
}

#kontakt .header {
	width: 239px;
	height: 38px;
	background: url(images/kontakt.jpg) left top no-repeat;
	margin: 30px 0 0 0;
}

#kontakt p {
	margin: 7px 0 18px 40px;
	font-size: 1.1em;
}

/* --- Clanky - kategorie --- */
#article_section h2, .article h2, #subpage h2 { 
	color: #4C3937;
        font-size: 1.5em;
}

.article .datum {
	float: right;
	overflow: hidden;
	font-size: 1.15em;
}

/* --- Kniha navstev --- */
#guestbook form {
	color: #555555;
	font: 1em normal Calibri,Arial,sans-serif;
	margin: 40px 0 40px 0;
}

form .error { padding: 7px; margin-bottom: 20px; }
form .error li {
    margin: 0 0 0 20px;
}

#guestbook label {
    display: inline-block;
    padding-right: 8px;
    text-align: right;
    width: 180px;
}

#guestbook input[type=text], #guestbook textarea {
	background-color: #F7F7F7;
    border: medium none;
    border-radius: 4px;
    box-shadow: 1px 1px 1px #BBBBBB inset, 0 0 1px #CCCCCC inset;
    color: #555555;
    font: 1.1em Calibri,Arial,sans-serif;
    outline: medium none;
    padding: 5px 8px;
    resize: none;
    width: 350px;
}

#guestbook textarea { height: 150px; }

#guestbook th, #guestbook td { padding: 0 0 8px 0; }

#guestbook .required { color: #E84C4C; }

/* --- Navstevni kniha --- */
.post {
	width: 80%;
	padding: 10px;
	margin: auto;
}

.post_lichy { background-color: #ffffd7; }
.post .header {	
	font-size: 1.1em !important;
	font-weight: bold;
	font-family: 'Trebuchet MS',Arial,Helvetica,sans-serif;
	text-indent: 0em !important;
}

.post .header span {
	float: right;
	font-size: 0.8em !important;
}

.post .text {
	margin-top: 5px;
	font-size: 1.1em !important;
	text-indent: 0em  !important;
}

/* --- Clanek (stranka) --- */
.article img, .border_image {
	padding: 5px 9px 9px 5px;
	margin: 20px;
	background: url(images/image.png) right bottom no-repeat;
}

.article .nadpis {
	float: left;
}

.article p {
	font-size: 1.1em;
	line-height: 1.5em;
	text-indent: 1em;
	margin: 10px 0 0 0;
}

.article .no_indent {
	text-indent: 0em;
}

#article_section h2, .article h2, .article .datum, #subpage h2 {
	margin: 18px 0 8px 0;
}

.article h3 {
	margin: 15px 0 6px 0;
	font-size: 1.15em;
}

.article h4 {
	margin: 15px 0 6px 0;
	font-size: 1.1em;
}

#article_section ul, .article ul, #subpage ul {
	margin-left: 20px;
	list-style-type: none;
	font-size: 1.1em;
}

#article_section ul li, .article ul li, #subpage ul li {
	background: url(images/odrazka.png) left .6em no-repeat;
	line-height:1.4em;
	padding-left: 12px;
	margin: 3px 0 3px 0;
}

.article ul li li, .article ol li li {
	font-size: .92em;
}

.article ol {
	margin-left: 30px;
	font-size: 1.1em;
}


.article ol li {
	line-height:1.4em;
	margin: 3px 0 3px 0;
}

/* --- Article section --- */
#article_section .img {
	float: left;
}

#article_section .article {
	margin-bottom: 30px;
}


/* ---- Fotogalerie --- */
.border_image { margin: 8px; }


/* --- Admin on page --- */
.admin_edit {
	text-align: right;
}
.article .admin_edit {
	float: right;
	margin-left: 10px;
}

/* --- Hlavni strana --- */
.box {
	background-color: #F2F197;
	width: 270px;
	height: 140px;
	margin: 0 0 0 40px;
	padding: 15px;
	/*border: 1px solid #d7d7d7;*/

	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	behavior: url(border-radius.htc);
	
	float: left;
}

.box .datum { font-size: 0.9em; margin-bottom: 5px; }
.box div { height: 95px }


.box h2 {
	/*text-transform: uppercase;*/
	font-size: 1.3em;
	margin-bottom: 5px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

.aktuality {
	font-size: 1.7em;
	color: #9A773D;
	margin: 40px 0 20px 20px;
}

.no-border {
	background-image: none !important;
	padding: 0 !important;
	margin: 0 !important;
}


/* --- Uredni deska --- */
#uredni-deska, .table {
	width: 98%;
	margin: 10px 10px 10px 20px;
	border-collapse: collapse;
	border: 1px solid #EB7166;
}

.table {
	width: auto;
}

#uredni-deska td, .table td, #uredni-deska th, .table th {
	padding: 4px;
}

#uredni-deska .d-head th, .table thead th {
	font-size: 1.1em;
	color: white;
	background: #EB7166 url(images/table.jpg) left top repeat-x;
}

#uredni-deska .obsah td, .table tbody td, .table tbody th {
	font-size: 1.1em;
	border-bottom: 1px solid #f3a19d;
	background-color: white;
}

#uredni-deska .obsah:hover td, .table .obsah:hover td {
	background-color: #fef4f2;
}

/* ---- Mapa stranek --- */
#sitemap { font-size: 1.1em; }
#sitemap li li { margin-left: 20px; }
#sitemap, #sitemap ul {	list-style-type: none; }

#sitemap li {
	background: url(images/odrazka.png) left .6em no-repeat;
	line-height:1.5em;
	padding-left: 12px;
	margin: 3px 0 3px 0;
}


/* --- Fotogalerie --- */
.album { margin-bottom: 30px; }
.album h2 {	margin-bottom: 16px; }
.album img { margin-right: 15px; }

#fancybox-title-over {
	font-size: 1.2em
}

/* --- Chyby 4xxx a 5xx --- */
#error_page p {
	margin-bottom: 10px;
}

/* ostatni */
.noborder {
	background-image: none;
}


/* --- Subpage --- */
