/*
font-family: (шрифт без засечек), Arial, Helvetica, sans-serif;
font-family: (шрифт с засечками), "Times New Roman", Times, serif;
font-family: (моноширинный шрифт), "Courier New", Courier, monospaced;
*/

body {
	margin: 0px;
	font-family: "Verdana", Arial, Helvetica, sans-serif;
	text-align: left;
	background: #fff url('../img/headbg.jpg') left top no-repeat;
	color: #000;
	font-size: 12px;
}

/* common styles */
* {
	margin: 0px;
}
a {
	text-decoration: none;
	color: #660000;
}
a:hover {
	text-decoration: underline;
}
h1 {
	margin-bottom: 15px;
	font-size: 19px;
	font-weight: normal;
	color: #000747;
}
h2 {
	margin-bottom: 15px;
	font-size: 17px;
	font-weight: normal;
	color: #000747;
}
h3 {
	margin-bottom: 15px;
	font-size: 16px;
	font-weight: normal;
	color: #4b4f6d;
}
p {
	margin-bottom: 15px;
	font-size: 12px;
	/*line-height: 1.3;*/
}



#headmargin {
	display: block; position: relative;
	height: 430px;
	z-index: 1;
}
#indexlink {
	display: block; position: absolute;
	width: 760px; height: 170px;
	left: 0px; top: 0px;
	z-index: 2;
}

.headlink {
	position: absolute;
	color: #fff;
	font-size: 17px;
	z-index: 2;
}
	#link1 {left: 178px; top: 288px;}
	#link2 {left: 360px; top: 293px;}
	#link3 {left: 530px; top: 308px;}
	#link4 {left: 760px; top: 298px;}
	
#mainlayout td {
	vertical-align: top;
}
.spacer {
	width: 4%;
}
#leftcol_td {
	width: 215px;
	text-align: left;
}
#content_td {
	text-align: left;
}
	#content {
		display: block; position: relative;
		min-height: 300px; _height: 300px;
	}
#rightcol_td {
	width: 280px;
	text-align: center;
}
.prefooter td {
	height: 40px;
	text-align: center;
	vertical-align: middle;
	font-size: 12px;
	font-weight: bold;
}
.prefooter a {
	margin: 0px 30px;
}
.footer td {
	height: 40px;
	text-align: center;
	vertical-align: middle;
	font-size: 9px;
}
	#c4link a {
		color: #fe5a00;
	}


.txt-pic-link {
	display: block; position: relative;
	text-align: center;
}
.txt-pic-link:hover, .lnk_img:hover {
	text-decoration: none;
	opacity: 0.8;
	filter: alpha(opacity=80);
}
	.txt-pic-link p {
		font-size: 18px;
		margin-bottom: 20px;
	}
	.lnk_img {
		display: block; position: relative;
		width: 174px; height: 174px;
		text-align: left;
		margin: auto auto;
	}
		.lnk_img img {
			position: relative;
			width: 174px; height: 174px;
			border: 0px;
			z-index: 4;
		}
		.lnk_bg {
			display: block; position: absolute;
			width: 185px; height: 185px;
			left: 0px; top: 0px;
			z-index: 3;
			background: url('../img/thumbframe.gif') no-repeat;
		}
		
.leftcol_linkholder {margin-bottom: 70px;}
.gallery_linkholder {
	display: block; position: relative;
	width: 220px; height: 220px;
	float: left;
}

#accordion_holder {
	position: relative;
	background: url('../img/rings.jpg') right top no-repeat;
	text-align: left;
}
	#accordion {
		list-style: none;
		display: block; position: relative;
	}
		#accordion dt {
			line-height: 50px;
			font-size: 18px;
			color: #660000;
			cursor: pointer;
		}
		#accordion dd {
			display: block;
			overflow: auto;
		}
			#accordion dt.accordionActive {
				color: #444;
			}
			#accordion dt.accordionHover {
				opacity: 0.8;
				filter: alpha(opacity=80);
			}
			#accordion p {
				font-size: 14px;
				margin: 0px;
			}
			#accordion a {
				margin-top: 10px;
				margin-right: 20px;
				width: 150px;
			}
		
#flash {
	display: block; position: relative;
	height: 475px;
	background: url('../img/flashgoeshere.jpg') center no-repeat;
}

.pagelist {
	list-style: circle;
	list-style-position: inside;
	padding-left: 0px;
}
	.pagelist li {
		margin-bottom: 5px;
		font-size: 16px;
	}
	
#fcktxt {font-size: 12px;}
	#fcktxt p {text-indent: 20px;}
	#fcktxt a {color: #00f;}
	
#gallery {
	padding-top: 50px;
}
#q-list {
	list-style: circle;
	line-height: 1.5;
	padding-left: 30px;
	list-style-position: inside;
}
.a-list {
	position: relative;
	margin-top: 20px;
}
#sendletterform {
	text-align: center;
}
	#sendletterform table {
		margin: auto auto;
		text-align: left;
	}
	#sendletterform td {
		vertical-align: top;
		font-size: 12px;
	}
	#sendletterform textarea {
		width: 100%;
		height: 120px;
	}
/* для обычной карусели	
#carouselholder {
	position: relative;
	text-align: center;
}
	#imgpreview td {
		text-align: center;
		vertical-align: middle;
	}
	#imgpreview img {
		border: 1px solid #5199eb;
	}
	#carousel {
		position: relative;
		width: 430px;
		margin: auto auto;
	}
		#carousel img {
			border: 1px solid #5199eb;
		}
*/

#carouselholder {
	position: relative;
	text-align: center;
}
	#imgpreview td {
		text-align: center;
		vertical-align: middle;
	}
	#imgpreview img {
		border: 1px solid #5199eb;
	}
	#carousel {
		position: relative;
		width: 500px; height: 105px;
		margin: 20px auto 0px auto;
	}
		#carousel * {margin: 0; padding: 0;}
		#carousel *:focus {outline: none;}
		#carousel_prev {
			display: block; position: absolute;
			width: 40px; height: 75px;
			left: 0px; top: 20px;
			background: url('../img/larr.jpg') no-repeat;
		}
		#carousel_next {
			display: block; position: absolute;
			width: 40px; height: 75px;
			right: 0px; top: 20px;
			background: url('../img/rarr.jpg') no-repeat;
		}
			#carousel ul {
				position: relative;
				width: 400px; height: 102px;
				margin: 0 auto;
			}
			#carousel ul li {display: block;
				float: left;
				list-style-type: none;
				width: 102px; height: 102px;
			}
				#carousel ul li a {
					display: block;
				}
			#carousel img {
				border: 1px solid #5199eb;
				width: 100%; height: 100%;
			}
		
#htmlcol {
	position: relative;
	margin-top: 50px;
}
	#htmlcol p {
		margin: 0px;
	}
	
#countersholder {
	display: block; position: relative;
	padding-right: 20px;
}
	.counter {
		display: block; position: relative;
		float: right;
		margin: 0px 0px 10px 10px;
	}