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;
	background:url('../images/bg.gif');
	color:#2e2e2d;
	width: 100%;
	height: 100%;
}
a {
	color: #665444;
	outline: none;
	text-decoration: underline;
}

/*
	pagination
*/
.pagination
{
	padding: 0 0 30px 0;
	text-align: center;
}

.pagination a
{
	font-size: 10pt;
	margin: 0 5px;
}

.pagination a.active
{
	font-size: 14pt;
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}
p {
	margin: 0 0 18px
}
img {
	border: none;
}
input {
	vertical-align: middle;
}
button,input[type="submit"]{
		background:#311913;
		font:bold  13px Comic Sans MS;color:#f3e7c7;
		cursor:pointer;
		border:0;
        -webkit-box-shadow:  1px 1px 2px 1px rgba(0, 0, 0, 0.5);
        box-shadow:  1px 1px 2px 1px rgba(0, 0, 0, 0.5);
        }
h1{font: 21px Comic Sans MS;color:#665444;}
h2{font: 16px Comic Sans MS;color:#665444;}
h3{font: 14px Comic Sans MS;color:#665444;}
h3 a{color:#;}
input[type="text"],input[type="password"],textarea{
	border: 1px solid;
	border-collapse: separate;
	background: white;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-shadow: inset 0 1px 1px #cfcfcf;
	-webkit-box-shadow: inset 0 1px 1px #cfcfcf;
	-moz-box-shadow: inset 0 1px 1px #cfcfcf;
	min-height: 25px;
	border-color: #A3A3A3 #C6C6C6 #E5E5E5;
	
}
#wrapper {
	width: 955px;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}
#header {
/*	height: 540px;
*/
	padding:40px 0 0 0;
}
.top div{
	
	background:#665444;
	padding:3px 0 3px 30px;
	font-size:39px;
	color:#f3e7c7;
	
}
.top span{
	background:url('../images/bgspantop.png') right no-repeat;
	font:bold 15px Comic Sans MS;
	color:#665444;
	width:100%;
	display:block;
}
.top .blagochinie{
	background:url('../images/bgspantopright.png') left no-repeat;
	text-align:right;
	
}
#upload_photo{
	background:url('../images/bg-photo.png') left no-repeat;
	text-align:center;
	width:952px;
	height:440px;
}
#upload_photo img {
	margin-top:57px;
}
.titletemplate{
	background:url('../images/left-bg-title.png') no-repeat  98% 0%,url('../images/right-bg-title.png') no-repeat 10px 0px ,url('../images/bgtitle.gif');
	border:1px solid #b8af9c;
	font:bold 18px Comic Sans MS;
	display:block;
	color:#665444;
	text-align:center;
	padding:0 25px;
}
.titletemplate{
	background:url('../images/left-bg-title.png') no-repeat  98% 0%,url('../images/right-bg-title.png') no-repeat 10px 0px ,url('../images/bgtitle.gif');
	border:1px solid #b8af9c;
	font:bold 18px Comic Sans MS;
	display:block;
	color:#665444;
	text-align:center;
	padding:0 50px;
	margin-bottom:25px;
}
#middle {
	width: 100%;
	padding: 0 0 100px;
/*	height: 1%; */
	position: relative;
}
#middle:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#container {
	width: 100%;
	float: left;

	overflow: hidden;
}
#content {
	padding: 0 15px 0 270px;
}
#sideLeft {
	float: left;
	width: 250px;
	margin-left: -100%;
	position: relative;
}
.main-nav li a{
	text-decoration:none;
	color:#e8e8e8;
	font:bold 15px Comic Sans MS;
}
.main-nav li:hover, .main-nav li.active{
	padding-left:5px;
	background:#f3e7c7;
}
.main-nav{background:#665444;padding: 10px;margin-bottom:25px;}
.main-nav li{padding-left:5px;margin:5px 0;}
.main-nav li:hover>a, .main-nav li.active>a{color:#665444;}


.auth{
	background:#665444;
	color:#f3e7c7;
	padding:10px;
	margin-bottom:25px;
}
.auth input[type="text"], .auth input[type="password"]{
	width:100%;
}


.auth a{
	color:#f3e7c7;	
}
.auth h2{
	font:bold 15px Comic Sans MS;	
	color:#f3e7c7;
}
.news .date{font-size:11px;}
.news .title a{color:#2e2e2d;}
.newsdate{font-size:11px;display:block;}
#footer {
	width: 950px;
	margin: -50px auto 0;
	height: 50px;
	position: relative;
	background:#665444;
}
#footer a {
	color:#F3E7C7;
}
#link-show-mark{top:0px!important}#link-show-mark a{color:#F3E7C7 !important;}
#footer div {
	text-align:right;padding-right:15px;padding-top:15px;color:#F3E7C7;
}