html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
:focus {
	outline: 0;
}
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
html {
	height: 100%;
}
body {
	font: 12px/18px Tahoma, Verdana, sans-serif;
	width: 100%;
	height: 100%;
	color:#3c3c3b;
	background:url(../images/bg.gif);
}
a {
	color: #1E6FAD;
	outline: none;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
p {
	margin: 0 0 18px
}
img {
	border: none;
}
input {
	vertical-align: middle;
}
input[type="password"], input[type="text"]{height:24px !important;border: #AF9895 solid 1px;}
input[type="button"], input[type="submit"], input[type="reset"], input[type="file"]::-webkit-file-upload-button, 
button {padding:5px;min-width:70px;
}
#topline{position:absolute;background:url('../images/bg-line.gif') repeat-x bottom;height:100px;width:100%;}
	#topline div{width:1000px;margin:0 auto;text-align:center;padding-top:15px;}
#wrapper {
	width: 954px;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}


/* Header
-----------------------------------------------------------------------------*/
#header {

	height: 360px;
	padding-top:105px;
	background: url('../images/header-bg.png') no-repeat center bottom;
}
#header h1{padding-left:25px;line-height:39px;padding-top:25px;padding-bottom:25px;font-size:41px;font-weight:normal;color:#fef5d8;text-shadow:1px 0px 10px #000}
#header .blagochin , #header .blagoslov {padding-bottom:10px;width:325px;display:inline-block;padding-top:5px;font-size:15px;font-weight:bold;color:#3c3c3b;}
#header .blagoslov {padding-right:25px;background:url('../images/bg-head-text-r.png');float:right;text-align:right;}
#header .blagochin{padding-left:25px;background:url('../images/bg-head-text.png');float:left;text-align:left;}
/* Middle
-----------------------------------------------------------------------------*/
#middle {
	width: 100%;
	padding: 0 0 100px;
/*	height: 1%;*/
	position: relative;
	margin-top:26px;
		background:url('../images/bg-content.gif');
}
#marks-dialog{display:none;}
#marks-dialog-about{display:none;}
#middle:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#container {
	width: 100%;
	float: left;
	overflow: hidden;

}
#content {
	padding: 25px 20px 0 270px;
}
.line{background:url('../images/line-shadow.png') repeat-x bottom;height:44px;position:absolute;z-index:10;width:954px;}
div.title,h2.titletemplate{padding: 0px 75px;text-align:center;font:25px Times New Roman;background:url(../images/title-left.png) no-repeat left, url(../images/title-right.png) no-repeat right;}
/* Sidebar Left
-----------------------------------------------------------------------------*/
#sideLeft {
	float: left;
	width: 250px;
	margin-left: -100%;
	position: relative;
	background: url('../images/bg-sidebars.png');
}.block{margin-top:20px;margin-left:25px;padding-bottom:25px;}
.block h2{margin-left:-15px;display:block;font-size:14px;}
.nav{margin-top:25px;padding:0 10px 0 10px;}
.nav li a{font-size:15px;color:#3c3c3b;text-decoration:none;}
.nav li a:hover, .nav li.active a{text-decoration:underline;}
.nav li{border-bottom:#9dafa5 solid 1px;padding:5px;}
/* Sidebar Right
-----------------------------------------------------------------------------*/
#sideRight {
	float: left;
	margin-right: -3px;
	width: 250px;
	padding-top:25px;
	margin-left: -250px;
	position: relative;
	background: url('../images/bg-sidebars.png');
}
/* .block{margin-left:0px;} */
.news{margin-top:15px;}

/* Footer
-----------------------------------------------------------------------------*/
#footer {
	padding-top:30px;
	width: 954px;
	margin: -100px auto 0;
	height: 100px;
	background:url('../images/line-shadow.png') repeat-x top;
	position: relative;
}
#footer div{text-align:right;margin-top:15px;margin-right:15px;}