* {margin:0;padding:0;} 
html {
	overflow:scroll; 
}
html, body, #wrapper {height: 100%;}
body > #wrapper {height: auto; min-height: 100%;}
#main {padding-bottom: 80px;}  /* must be same height as the footer */

body {
	background: #FFFFFF url(images/img01.jpg) repeat-x left top;
	font-family:'Arial CE','Helvetica CE',Arial,helvetica,sans-serif;
	font-size: 12px;
	font-style: normal;
	color: #787878;
}

h1, h2, h3 {
	font-weight: bold;
	/*color: #F93D00;*/
	color: #5B110D;
}

p, ul, ol {
	margin-top: 0;
	line-height: 180%;
}

ul, ol {
}

a {
	text-decoration: none;
	color: #000000;
}

a:hover {
}

.separator{clear:both;font-size:0px;line-height:0px;height:0px;}


#wrapper {
	width: 900px;
	margin: 0 auto;

/*	color: #787878;*/
	background: url(images/rays.jpg) no-repeat left bottom;
}

/* Header */

#header {
	width: 900px;
	height: 100px;
	margin: 0 auto;
}

/* Logo */

#logo {
	float: left;
	width: 900px;
	height: 100px;
/*	color: #FFFFFF;*/
}

#logo h1 {
	font-size: 11px;
/*	color: #000000;*/
	letter-spacing: 1px;
	margin: 0px 0px 0px 165px;
}

#logo p {	
	margin: 25px 0px 0px 100px;
} 

#logo p a {
	color: #000000;
}

#logo a {
	border: none;
	background: none;
	text-decoration: none;
	color: #D01010;
}


/* Menu */

#menu {
	width: 900px;
	height: 50px;
	padding: 0;
}

#menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
	width: 500px;
}

#menu li {
	float: left;
	height: 40px;
	width: 100px;
/*	background: url(images/img04.gif) no-repeat left 16px;*/
}

#menu a {
	display: block;
	padding: 10px 17px;
	border: none;
	text-decoration: none;
	font-size: 13px;
	font-weight: bold;
	font-style: normal;
	color: #FFFFFF;
	height:19px;
}

#menu a:hover {
	text-decoration: underline;
	background-color: #80140E;	
}

#menu .current_page_item a {
	text-decoration: none;
	background-color: #80140E;
	color: #FFCB3A;
}

#menu .current_page_item a {
}

/* Page */

#page {
	width: 900px;
	margin: 0;
}

#page-bgtop {
}

#page-bgbtm {
}

/* Content */

#content {
	float: right;
	width: 640px;
}

.post {
	margin-bottom: 8px;
	margin-top: 10px; 
}

.post-bgtop {
}

.post-bgbtm {
}

.post .title {
	background: url(images/img03.jpg) no-repeat left top;
	height: 25px;
	padding: 7px 0 0 35px;
	font-size: 15px;
	font-weight: bold;
/*	color: #000000;*/
}

.post .title a {
/*	color: #000000;*/
}

.post .meta {
	padding-left: 20px;
	padding-bottom: 0px;
	text-align: left;
	font-size: 11px;
	margin-left: 430px;
	margin-top: -15px;
	margin-bottom: 20px;
}

.post .entry {
	padding: 0px 20px 15px 20px;
	text-align: justify;
}

.post2 {
	margin-bottom: 8px;
	margin-top: 10px; 
}

.post2 .title {
	background: url(images/img04.jpg) no-repeat left top;
	height: 25px;
	padding: 7px 0 0 35px;
	font-size: 15px;
	font-weight: bold;
/*	color: #000000;*/
}

.post2 .title a {
/*	color: #000000;*/
}

.post2 .meta {
	padding-left: 20px;
	padding-bottom: 0px;
	text-align: left;
	font-size: 11px;
	margin-left: 640px;
	margin-top: -15px;
	margin-bottom: 20px;
}

.post2 .entry {
	padding: 0px 20px 15px 20px;
	text-align: justify;
}

/* Sidebar */
.sidebar {
	font-size: 12px;
	float: left;
	width: 250px;
	margin-top: 10px;
	display: inline;
}

.sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar li {
	margin: 0;
	padding: 0;
}

.sidebar li ul {
	padding-bottom: 30px;
}

.sidebar li li {
	margin-left: 15px;
	margin-right: 15px;
	line-height: 35px;
	border-bottom: 1px dashed #D2D4C9;
}

.sidebar li li span {
	display: block;
	margin-top: -20px;
	padding: 0;
	font-size: 11px;
	font-weight: normal;
}

.sidebar li li a {
	font-weight: bold;
	color:#6F6F6F;
}

.sidebar h2 {
	height: 25px;
	padding: 5px 0 0 35px;
	background: url(images/img02.jpg) no-repeat left top;
	font-size: 14px;
	font-weight: bold;
	/*color: #000000;*/
}

.sidebar p {
	margin: 0 15px;
	padding: 10px 0px;
	text-align: justify;
}

.sidebar a {
	text-decoration:none;
	color: #000000;
	border: none;
}

.sidebar a:hover {
	text-decoration: underline;
}


/* Footer */
#footer {
	width: 100%;
	background: #FFFFFF url(images/img05.jpg) repeat-x left top;
/*	background: #2C2C2C;*/
	margin: 0;
	padding: 0;
	position: relative;
	margin-top: -80px; /* negative value of footer height */
	height: 80px;
	clear:both;
}

#footercenter{
	margin:0 auto;
	width:900px;
	height:80px;
	background: url(images/footer.jpg) no-repeat 606px top;
}
#footer p {
	line-height: 30px;
	font-size: 11px;
	text-transform: uppercase;
	text-align: center;
	color: #D6D6D6;
}

#footer a {
	color: #FFFFFF;
}

#footer a:hover {
	text-decoration: underline;
}

.noborder{
	border: none;
}

/* CLEAR FIX*/

.clearfix:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
	
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

.refwr{
	margin: 10px 33px 10px 33px;
	vertical-align: top;
}
#page-bgbtm a img {
/*	border: solid 2px #FFD350;*/
	/*border: solid 2px #FFEDB5;*/
	border: 0;
}
#page-bgbtm a:hover img {
/*	border-color: #FFEDB5;*/
	/*	border-color: #FFD350;*/
}
#page-bgbtm a:hover {  /* wakeup IE */
	border-width: 0;
}
.sidebarbg{
	background-image: url(./referencie/back.jpg);
	background-repeat: no-repeat;
	background-position: bottom;
}
