/* Основной лист стилей CSS */

BODY {
	margin:0;
	padding:0;
	background-color: #c0c0c0;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 80%;
	color:#222;
}

H1, H2, H3, CAPTION, .signature {font-family: "Trebuchet MS", Tahoma, Arial, Helvetica, sans-serif;}
H1, H2 {font-size: 130%; font-style:italic; color:#cf2d29;}
H1 {text-transform: uppercase;}
H3 {font-size: 120%; color: #004BCF;}
H4 {font-size: 100%;}

UL {list-style: none; margin-left:0; padding-left:2em;}
UL LI {
	padding: .3em 0 .3em 30px;
	background:url(/img/bullet.gif) no-repeat left .7em;
}

P, UL, OL {line-height: 1.4em;}
P {text-indent: 1.5em;}
P, UL, OL {text-align: justify;}
P IMG {vertical-align:middle;}
A IMG {border: none;}
A:link {color: #004BCF;}
A:visited {color: #408080;}
A:hover, A:active {color: #DF0000;}

.clear {clear:both;}
.center {text-align:center;}
.sup {vertical-align:super; font-size: 70%;}
.nowrap {white-space:nowrap;}
.noborder {border: none;}

.bibleCite {color: #2269C7;}
.biblelink {
	font-size: small;
	font-style:italic;
}

#page {
	margin: 0 auto;
	width: 960px;
	background: White url(/img/topbg.gif) repeat-x;
	border-style: solid;
	border-color: Black;
	border-width: 0 1px;
}

* HTML #page {margin-left:-480px; position:relative; left: 50%;}

#logo {
	width: 235px;
	height: 642px;
	float: left;
	background-image:url(/img/logo.jpg);
}

#topmenu {
	height:64px;
	color: #0099FF;
	vertical-align: middle;
}

* HTML #topmenu DIV {line-height: 44px; position:absolute;}
*:first-child+html #topmenu {line-height: 44px;}
#topmenu DIV {display:table-cell; vertical-align:middle;height:44px; white-space:nowrap;}
#topmenu A {color:#fff; background-color:#25518F; font-size: 120%; padding: 0 10px; text-decoration:none;}
#topmenu A:hover { text-decoration:underline; }

#newsBox H2 {text-align:right;}
.news {clear:left; border: 1px dotted white;}
.news .date {font-weight:bold; font-size:small;}
.news .photoBox {float:left; width:182px; height:105px; margin-right:22px; margin-bottom:21px; position:relative; overflow:hidden;}
.news .photoBorder { background:url(/img/newsphotoborder.gif) no-repeat; position:absolute; top:0; left:0; width: 100%; height:100%; display:block; }
.news A .photoBorder {cursor: hand;}
.news .title { font-weight:bold; color: #004BCF;}
.news .text {margin: 21px 0;}
.news .text, .news .title, .news .date {padding-left:204px;}

#footer {
	color: #555;
	background-color: #e4e4e4;
	position: relative;
	border-top: 1px solid #dfdfdf;
	clear:both;
}

#footer .content {padding: 15px 190px 15px 40px; color: #111;}

#footer .cr {
	margin-top: 1.3em;
	font-size: 90%;
}

#footer .button {
	position: absolute;
	right:15px;
	top: 50%;
	margin-top: -25px;
}

* html #footer .button {
	top:4.2em;
	top: expression(parseInt(this.parentNode.parentNode.offsetHeight/2));
}

.signature {
	margin-top: 30px;
	text-align: right !important;
	font-style:italic;
	color: #2573db;
}

hr {
	color:#ddd;
	background-color:#ddd;
	height: 2px;
	border-width:0px;
}
.nomargin P, .nomargin {margin: 0;}