*{
	margin: 0;
	padding: 0;
}
body{
	padding-top: 42px;
	padding-bottom: 60px;
	background: #162100 url("../images/design/bg.png") 0 415px repeat-x;
	text-align: center;
	font-family: "Trebuchet MS", Arial, sans-serif;
	font-size: 80%;
}

strong{
	font-weight: bold;
}
em,blockquote{
	font-style: italic;
}
img{
	border: 0;
}
a,a *{
	color: #6BA200;
	text-decoration: underline;
}
a:hover{
	text-decoration: none;
}
.clear{
	clear: both;
}
.clearr{
	clear: right;
}
.right{
	text-align: right;
}
.center{
	text-align: center;
}
.left{
	text-align: left;
}

.fright{
	float: right;
}
.fleft{
	float: left;
}

.obligatory{
	color: red;
	font-weight: bold;
}



	
#pageBgTop{
	width: 100%;
	height: 455px;
	position: absolute;
	top: 0;
	left: 0;
	background: url("../images/design/bg_top.jpg") 50% -40px no-repeat;
	background-size: 100% 100%;
	z-index: -1;
}
	
#pageWhole{
	background-color: white;
	width: 956px;
	margin: 0 auto;
	text-align: left;
	position: relative;
	background: url("../images/design/bg_middle.png") top left  repeat-y;
}
	
#pageHeader{
	height: 335px;
	overflow: hidden;
}
	
#firstHeader {
	clear: both;
	height: 120px;
	background: url("../images/design/bg_header_first.jpg") top left no-repeat;
}

#logo{
	position: absolute;
	top: 31px;
	left: 44px;
}
#logo a{
 	display: block;
	position: relative;
    text-decoration: none;
	width: 244px;
    height: 70px;
}
#logo a span {
 	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
   cursor: pointer;
   background: url("../images/design/logo.gif") top left no-repeat;
}
	
.firstHeaderRight{
	float: right;
	margin-top: 60px;
	margin-right: 20px;
	font-size: 14px;
}
.firstHeaderRight ul, .firstHeaderRight li{
	display: inline;
	list-style: none;
}
.firstHeaderRight a {
	padding: 0 14px 0 12px;
	border: none;
	border-right: 1px solid #D7AF6A;
}
.firstHeaderRight a {
	font-size: 80%;
	color: #D7AF6A;
	text-decoration: none;
}
.firstHeaderRight a:hover {
	text-decoration: underline;
}
.firstHeaderRight .last a {
	border: none;
}
	
#secondHeader {
	clear: both;
	height: 215px;
	background: url("../images/design/bg_header_second.jpg") top left no-repeat;
}
.secondHeaderRight {
	float: right;
	width: 320px;
	text-align: center;
}
.secondHeaderRight ul, .secondHeaderRight li {
	display: inline;
	list-style: none;
} 
.secondHeaderRight li {
	display: block;
	margin-top: 18px;
}
.secondHeaderRight a {
	display: block;
	padding: 6px 18px 0 0;
	width: 260px;
	height: 29px;
}
.secondHeaderRight a {
	color: white;
	font-size: 14px;
	font-weight: bold;
	font-style: italic;
	background: url("../images/design/bg_header_second_link.gif") top left no-repeat;
	text-decoration: none;
}
.secondHeaderRight a:hover {
	text-decoration: underline;
}
.secondHeaderRight .last a {
	border: none;
}





/* obsah */
#pageMiddle {
	clear: both;
	padding: 20px;
	background: url("../images/design/bg_content.jpg") 4px 0 no-repeat;
}

/* menu */
#middleMenu{
	float: left;
	width: 215px;
}
#middleMenu li{
	list-style: none;
	padding-left: 10px;
}
#middleMenu li strong{
	display: block;
	padding: 7px 0;
	margin: 10px 0;
	border-top: 1px #F6EEDF solid;
	border-bottom: 1px #F6EEDF solid;
	width: 100%;
	color: #B77800;
	font-size: 120%;
	font-style: italic;
}
#middleMenu li a{
	color: #B77800;
	text-decoration: none;
}
#middleMenu li a:hover{
	text-decoration: underline;
}
#middleMenu li li{
	margin: 2px 0;
}
#middleMenu li li li{
	padding-left: 17px;
	margin-left: 8px;
	background: url("../images/design/menu_left_odr.gif") left 6px no-repeat;
}
#middleMenu li li li a{
	color: #888070;
}

.middleMenuSidlo {
	margin: 50px 0 20px 0;
	text-align: center;
}

.middleMenuIcons{
	margin: 40px 0 0 10px;
}
.middleMenuIcons p{
	margin: 0 0 10px 10px;
}
.middleMenuIcons .middleMenuIconsHeader{
	width: 100%;
	margin: 0 0 15px 0;
	padding: 7px 0;
	border-top: 1px #F6EEDF solid;
	border-bottom: 1px #F6EEDF solid;
	color: #B77800;
	font-size: 120%;
	font-style: italic;
}


.middleMenuIconsFacebook{
	margin: 30px 0 0 10px;
}
.middleMenuIconsFacebook img{
	vertical-align: middle;
	float: left;
	margin: 2px 5px 0 0;
}


#middleContent {
	margin-left: 230px;
	min-height: 850px;
	padding: 0 10px 20px 30px;
	border-left: 1px #D0DABD solid;
	font-size: 90%;
}
	
.middlePartners {
	margin-top: 20px;
	border-top: 1px solid gray;
}
.middlePartners img {
	margin-right: 10px;
}






/* paticka */
#pageFooter {
	clear: both;
	background: url("../images/design/bg_bottom.gif") bottom left no-repeat;
	padding-bottom: 15px;
	text-align: center;
}
.footerInner {
	width: 898px;
	height: 40px;
	margin: 30px auto 0 auto;
	background: url("../images/design/bg_copy.gif") top left no-repeat;
	font-size: 80%;
	color: #A3916D;
}
.footerInner a{
	color: #A3916D;
	font-weight: bold;
}
.footerInner a:hover{
	text-decoration: none;
}
.footerLeft,.footerRight{
	margin-top: 12px;
}
.footerLeft {
	float: left;
	margin-left: 30px;
}
.footerRight {
	float: right;
	margin-right: 30px;
}





/* styly obsahu */
h1,h2,h3,h4,h5,h6,#middleContent p,#middleContent blockquote,#middleContent ul,#middleContent ol{
	padding: 0 0 10px 0;
}
#middleContent table{
	margin: 0 0 10px 0;
}
#middleContent ul,#middleContent ol{
	padding: 10px 0 5px 20px;
}
#middleContent li{
	padding-bottom: 5px;
}
h1,h2,h3,h4,h5,h6{
	font-weight: bold;
	color: #6BA200;
	padding-bottom: 15px;
}
h1{
	color: #B77800;
	font-size: 170%;
}
h2{
	font-size: 140%;
}
h2.brown{
	color: #B77800;
	padding: 5px 0 0 0 !important;
}
h3{
	font-size: 130%;
}
h4{
	font-size: 110%;
}
h5,h6{
	font-size: 100%;
}

#middleContent img{
	margin: 10px;
}

table.bordered{
}

table.bordered{
	border-top: 1px #CDCDCD solid;
	border-left: 1px #CDCDCD solid;
}
table.bordered th,table.bordered td{
	border-right: 1px #CDCDCD solid;
	border-bottom: 1px #CDCDCD solid;
	padding: 3px;
	empty-cells: show;
}

.submit{
	padding: 10px !important;
	text-align: center;
}
.submit input{
	width: auto !important;
	padding: 5px 30px !important;
	font-weight: bold;
	font-size: 130%;
	cursor: pointer;
}
.submit input:hover{
	background-color: #EEE !important;
}
label.error{
	display: block;
	font-weight: bold;
	color: red;
}

.pagination{
	font-size: 120%;
	text-align: center;
}



/* aktuality */
.news{
	padding-bottom: 15px;
}
.newsTitle,.newsTitle a{
	padding-bottom: 5px;
	color: #000;
	font-size: 100%;
}
.newsTitle .newsDate{
	display: block;
	padding-bottom: 5px;
	font-size: 110%;
	color: #6BA200;
}



/* akce */
.action{
	margin-bottom: 15px;
}
.action h2{
	font-size: 130%;
	padding-bottom: 5px;
}



#middleContent #pageSubpages{
	padding: 0 0 15px 5px;
}
#pageSubpages li, #pageSubpages a{
	color: #18964C;
	font-weight: bold;
	font-size: 110%;
}
#pageSubpages li{
	list-style: none;
	background: url("../images/design/list_logo_div.gif") bottom left no-repeat;
	padding: 5px 0 0 30px;
	margin-bottom: 3px;
}






/* Ekoporadna a tabulky knihovny */
.poradnaTopics li{
	padding-bottom: 15px !important;
}
.poradnaTopics li a{
	font-size: 110%;
}


.poradnaForm table,.poradnaDiscussions,
#libraryTable,
#libraryForm table{
	border-top: 1px #CDCDCD solid;
	border-right: 1px #CDCDCD solid;
	padding: 0 !important;
	margin: 10px 0;
	width: 100%;
}
.poradnaDiscussions thead th,
#libraryTable th{
	background-color: #F3E9D5;
}
.poradnaForm table th, .poradnaDiscussions th, .poradnaForm table td, .poradnaDiscussions td,
#libraryTable th, #libraryTable td,
#libraryForm th, #libraryForm td{
	border-left: 1px #CDCDCD solid;
	border-bottom: 1px #CDCDCD solid;
	padding: 5px;
	empty-cells: show;
}

.poradnaNew{
	padding-top: 15px !important;
}

.poradnaEntry{
	border: 1px #CDCDCD solid;
	margin-bottom: 20px;
}
.poradnaEntry h3{
	padding: 5px 10px;
	background-color: #F3E9D5;
	text-align: left;
	font-size: 100%;
	font-weight: normal;
	color: #000;
}
.poradnaEntryInfo{
	padding: 5px 10px !important;
}
.poradnaEntryText{
	padding: 15px 10px !important;
	border-top: 1px #CDCDCD solid;
}


/* knihovna */
#libraryTable th{
	white-space: nowrap;
}
#libraryTable th img{
	vertical-align: middle;
}
#libraryTable{
	margin-top: 15px !important;
}

#libraryForm{
	margin-bottom: 5px;
}
#libraryForm input, #libraryForm select{
	width: 150px;
}
#libraryForm table, #libraryForm td, #libraryForm th{
	border-color: #D0DABD;
}
#libraryForm td{
	border-left: 0;
}
#libraryForm td.submit{
	border-left: 1px #D0DABD solid;
	text-align: right;
	padding: 5px !important;
}
#libraryForm td.submit input{
	font-size: 110%;
	padding: 2px 15px !important;
}
