html, body
{
    background: url(../img/pagebg.jpg) left top repeat;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    color: #000;
    font-family: Trebuchet MS, Arial;
    position: relative;
}

img
{
    border: 0;
}

input, textarea, select
{
	border:1px solid #999;
    outline-style: none;
    resize: none;
}

a
{
    color: #15a3f4;
    font-family: Trebuchet MS, Arial;
	font-size: 9pt;
    text-decoration: underline;
}

a:hover
{
    text-decoration: none;
}

.float-left
{
    float: left;
}
.float-right
{
    float: right;
}
.clear
{
    clear: both;
}
.hidden
{
    display: none;
}
.floatbody
{
	overflow: hidden;
	zoom: 1;
}

.pagebody
{
	width: 990px;
	margin: 0 auto;
	padding: 12px 0 0 0;
}

/****************************************
Page header
****************************************/
.pageheader
{
	background: url(../img/headerbg.png) left top no-repeat;
	height: 251px;
	width: 990px;
}

* html .pageheader
{
	background: url(../img/headerbg.gif) left top no-repeat;
}

.logo
{
	float: left;
	height: 188px;
	width: 217px;
	padding: 33px 0 0 33px;
}

.pagetitle
{
	float: left;
	width: 690px;
	padding: 60px 0 0 20px;
}

.prihodeparhia
{
	color: #000;
	font-family: Trebuchet MS;
	font-size: 11pt;
}

.prihodname a
{
	color: #000;
	font-family: times new roman;
	font-size: 25pt;
	text-decoration: none;
}

/****************************************
Page content
****************************************/
.pagecontent
{
	background: url(../img/contentbg.png) left top repeat-y;
	width: 990px;
	overflow: hidden;
	zoom: 1;
}

* html .pagecontent
{
	background: url(../img/contentbg.gif) left top repeat-y;
}

/****************************************
Left part content
****************************************/

.leftcol
{
	float: left;
	width: 260px;
}

.leftcol .blockheader
{
	font-size: 15pt;
}

.menu ul
{
	list-style-type: none;
	margin: 10px 0 50px 0;
	padding: 0;
}

.menu ul li
{
	border-bottom: 1px solid #dedede;
	width: 190px;
	margin: 0 0 0 45px;
	padding: 4px 5px;
}

.menu ul li.noborder
{
	border: 0;
}

.menu ul li.active a
{
	color: #15a3f4;
}

.menu ul li a
{
	color: #000;
	font-size: 11pt;
	text-decoration: none;
}

.menu ul li a:hover
{
	color: #15a3f4;
}

.news
{
	padding: 0 20px 0 50px;
}

.contentbody .news
{
	padding: 0 20px 0 0px !important;
}

.news ul, 
ul.news 
{
	list-style-type: none;
	margin: 10px 0 50px 0;
	padding: 0;
}

.news ul li
{
	border-bottom: 1px solid #dedede;
	padding: 10px 0;
}

.news ul li.noborder
{
	border: 0;
}

ul.news li.date,
.newsdate
{
	color: #4d4d4d;
	font-size: 8pt;
}

.newstitle
{
	padding: 3px 0;
}

ul.news li.title a,
.newstitle a
{
	color: #15a3f4;
	font-size: 11pt;
}

.newstext
{
	font-size: 8pt;
	line-height: 18px;
}

/****************************************
Right part content
****************************************/

.rightcol
{
	float: left;
	width: 705px;
}

.newsblock
{
	background: #f6ecd3;
	padding: 10px;
}

.nbheader a
{
	font-size: 15pt;
}

.nbtext
{
	color: #141416;
	font-size: 11pt;
	line-height: 22px;
	padding: 20px 0 5px 0;
}

.contentbody
{
	font-size: 11pt;
	line-height: 22px;
}

.contentbody a
{
	font-size: 11pt;
}

/****************************************
Page footer
****************************************/
.pagefooter
{
	background: url(../img/footerbg.png) left top no-repeat;
	width: 990px;
	position: relative;
}

* html .pagefooter
{
	background: url(../img/footerbg.gif) left top no-repeat;
}

.pagefooter div
{
	font-size: 8pt;
	text-align: right;
	padding: 20px 25px ;
}

.pagefooter a
{
	color: #000;
	font-size: 8pt;
	text-decoration: none;
}

.pagefooter a:hover
{
	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;
}

/*
	category
*/
p.categorylist
{
	color: #001345;
	font-size: 10pt;
	font-style: normal;
	font-weight: bold;
}

ul.categorylist
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

ul.categorylist li
{
	line-height: 18px;
	margin: 0 0 15px 0;
}

ul.categorylist li a
{
	color:#001345;
	font-size: 9pt;
	font-style: normal;
	font-weight: bold;
	text-decoration: none;
}

ul.categorylist li a:hover
{
	text-decoration: underline;
}

/*
	Gallery
*/

ul.gallery
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

ul.gallery li 
{
	display: inline-block;
	*display: inline;
	_overflow: hidden;
	zoom: 1;
	vertical-align: top;
	width: 235px;
	margin: 0 15px 15px 0;
}

ul.gallery li img
{
	border: 1px solid #ccc;
	padding: 1px;
}

ul.gallery li  a
{
	font-size: 15pt;
}

ul.gallery li div
{
	padding: 0 0 0 5px;
}

ul.gallery li .gallerypic
{
/*	background: url(http://prihod.ru/img/picborder.jpg) left top no-repeat;*/
	height: 175px;
	width: 235px;
	margin: 0 0 10px 0;
	padding: 5px 0 0 10px !important;
}

a.backtoalbums
{
	font-size: 9pt;
	margin: 0 0 0 20px;
}

ul.gallerycomments
{
	list-style-type: none;
	margin: 20px 0 20px 0;
	padding: 0;
}

ul.gallerycomments li
{
	margin: 0 0 30px 0;
}

ul.gallerycomments li .sender
{
	font-size: 12pt;
}

ul.gallerycomments li .creationdate
{
	font-size: 9pt;
}

ul.gallerycomments li .comment
{
	font-size: 10pt;
	padding: 10px 0 0 0;
}

/*
	Auth form
*/
.authredcolor
{
	color:#f01b1b !important;
}

.authform
{
	padding: 0 0 30px 0;
}

.leftcol .authform
{
	padding-left: 50px;
}

.leftcol h2
{
	font-size: 15pt;
}

.authform a
{
	font-size: 9pt;
}

.authformtitle
{
	font-size: 11pt;
	font-weight: bold;
	padding: 10px 0;
}

.authtitle
{
	font-size: 10pt;
	padding: 0 0 3px 0;
}

.authinput
{
	padding: 0 0 10px 0;
}

.authsubmit
{
	padding: 20px 0 0 0;
}

.authsubmit a
{
	margin: 0 0 0 25px;
}

.authinput.long input
{
	width: 300px;
}

.authinput.long textarea
{
	height: 200px;
	width: 300px;
}

.authinput.verylong textarea
{
	height: 200px;
	width: 98%;
}

.autherror
{
	color: #b00;
	font-size: 10pt;
	margin: 0 0 0 20px;
}

.autherror.nomargin
{
	margin: 0;
}

/*
	Forum
*/
.forumstats
{
	font-size: 10pt;
	line-height: 20px;
}

table.ft
{
	border-collapse: collapse;
	width: 100%;
}

table.ft tr.header td
{
	font-weight: bold;
}

table.ft td
{
	border: 1px solid #333;
	font-size: 10pt;
	line-height: 17px;
	padding: 10px;
	vertical-align: top;
}

table.ft.guestusers td
{
	padding: 3px 10px;
	vertical-align: middle;
}

table.ft span.ftlogin
{
	font-size: 11pt;
	font-weight: bold;
}

table.ft span.ftlogininfo
{
	font-size: 8pt;
}

table.ft span.ftmessagedate
{
	font-size: 8pt;
}

.linkred
{
	color: #c01b1b !important;
}

.linkgreen
{
	color: #3b900f !important;
}

.hidden
{
	display: none;
}

.editbox 
{
	border: 1px dashed #ccc;
	margin: 10px 10px 0 0;
	padding: 10px;
}

.editbox textarea
{
	height: 100px;
	width: 90%;
}

div.ajax
{
	z-index: 2000;
	display: none;
	position: absolute;
	width: 16px;
	height: 16px;
}

/*
	Marks
*/
#link-show-mark
{
	left: 15px;
	top: 15px;
}