html, body, form, table, tr, td, th, p, h1, h2, h3, h4, h5, ul, ol, li, dl, dt, dd, hr {padding: 0; margin: 0; border: 0;}
table {border-collapse: collapse;}
a img {border: 0;}
.link {cursor: pointer;}
hr {height: 1px; outline: none; border-top: 1px solid #815c2a; margin: 1em auto; width: 50px;}
.rounded {
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

body, html {
/*	width: 100%;
	height: 100%; 
	
	*/
}

body {
	background: #fff8e8 url(../images/back.png) left top repeat-x;
    font-family: Arial, Helvetica, sans-serif;
}

#container,
#footer_wrap,
#wrap,
#header {
	/* max-width: 1600px; */
	min-width: 980px;
}

#container {
	position: relative;
	background: url(../images/header_back.jpg) center top no-repeat;
}

#wrap {
	max-width: 1070px;
	margin: 0 auto;
	overflow: hidden;
}

/* Colors */
a,
#top_menu a:visited,
#main_menu a:visited,
.link {color: #ac121c; outline: none;}

a:visited {color: #6e0d13;}

a:hover,
#main_menu dt.active a:hover,
#main_menu dt.active span.link:hover {color: #ab2029;}

a.inactive {cursor: text;}

h1, h2,
.hdr,
.calendar_content .date,
.timetable .time,
#soc_buttons h3 {color: #815c2a;}

#main_menu dt.active a,
#main_menu dt.active span,
#main_menu dd span,
#top_menu span.active {color: #513c20;}

/* Header */
#header {
	position: relative;
	height: 419px;
	overflow: hidden;
}
	#c_top {
		position: absolute;
		bottom: 0;
		left: 50%;
		margin-left: -530px;
		width: 1055px;
		height: 95px;
		background: url(../images/c_top.jpg) left top no-repeat;
	}
	
	#logo {
		position: absolute;
		left: 50%;
		margin-left: -471px;
		top: 10px;
	}
	
	#icon {
		position: absolute;
		left: 50%;
		margin-left: 252px;
		top: 106px;
		width: 183px;
		height: 248px;
		padding: 4px 5px 20px 18px;
		background: url(../images/icon_shadow.png) left top no-repeat;
	}
	
	#slogan {
		position: absolute;
		left: 50%;
		margin-left: 270px;
		top: 40px;
		width: 250px;
		font-family: Georgia, "Times New Roman", Times, serif;
		font-size: 12px;
		color: white;
	}
	
	.caps {
		font-size: 15px;
		text-transform: uppercase;	
	}
	
	#search_form {
		position: absolute;
		left: 50%;
		margin-left: -480px;
		top: 363px;
		width: 157px;
		height: 36px;
		background: url(../images/search.jpg) left top no-repeat;
	}
	
	#search {
		margin: 6px 0 0 13px;
		padding: 2px;
		width: 115px;
		background: none;
		border: none;
		color: #815c2a;
	}
	
	#search_button {
		background: url(../images/search_button.png) center center no-repeat;
		position: absolute;
		height: 22px;
		right: 6px;
		top: 4px;
		width:20px;
		opacity: .7;
	}
		#search_button:hover {opacity: 1;}

/* Top menu */
#top_menu {
	position: absolute;
	left: 50%;
	margin-left: -290px;
	top: 365px;
	width: 762px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: .75em;
	text-transform: uppercase;
	letter-spacing: 1px;		
}
	#top_menu a, #top_menu span {
		display: block;
		padding-right: 2.5em;
		float: left;
		text-decoration: none;
	}
	
/* Main menu */
#main_menu {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.2em;
	line-height: 1em;
	margin-top: -5px;
}

	#main_menu a, 
	#main_menu span {
		display: block;
		text-decoration: none;
		padding: 7px 0 7px 20px;
	}
		#main_menu a:hover,
		#main_menu span.link:hover {
			background: url(../images/arrow.gif) left center no-repeat;
		}
		
		#main_menu span.link {
			cursor: pointer;
		}
		
	#main_menu dd {
		font-size: .8em;
		line-height: 1em;
		padding-left: 20px;
		margin: 2px 0 7px;
	}
		#main_menu dd a,
		#main_menu dd span {padding-top: 3px;}

/* Content */
.content {
	position: relative;
	width: 980px;
	margin: 0 auto;
}

#col1, #col2, #col3, #col23 {
	float: left;
	min-height: 509px;
	background-repeat: no-repeat;
	background-image: url(../images/col_back.jpg);
}

#col1 {
	width: 180px;
	padding: 0 20px 0 0;
	background-position: left top;
/*	margin-left: -64px; */
	
}

#col2 {
	width: 520px;
	padding: 0 10px;
	background-position: -200px top;
}

#col3 {
	width: 200px;
	padding: 0 0 0 40px;
	background-position: right top;
/*    border: 1px dotted blue; */
}

#col23 {
	width: 700px;
	padding: 0 70px 0 10px;
	background-position: right top;
}

h1, 
.hdr {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: bold;
    font-size: 1.2em;
	text-transform: uppercase;
    margin-bottom: .7em;
}
    .sub_h1 {margin: -.5em 0 1em;}

h2 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.1em;
	margin: 1em 0 .5em;
}

h3 {
	font-size: .9em;
}

p, 
#col2 li, 
#col2 td, 
#col23 td,
label {
	font-size: .8em;
    line-height: 1.3;
    margin: .6em 0;
}

	#col2 img, #col23 img {
		float: left;
		margin: 3px 15px 15px 0;
		border: 2px solid #b1a487;
		-webkit-border-radius: 4px;
	}
	#col2 img.float_right, #col23 img.float_right {
		float: right;
		margin: 3px 0 15px 15px;
	}
	
	#col2 ul, #col23 ul, #col2 ol, #col23 ol {
		margin: .6em 0 .6em 30px;
	}
		#col2 ul ul, #col23 ul ul, #col2 ol ol, #col23 ol ol {
			margin: 0 0 .3em 0;
		}
	
	#col2 li, #col23 li {
		margin: 0 0 0 1.5em;
		font-size: .8em;
	}
		#col2 li li, #col23 li li {
		font-size: 1em;
	}
	
	#col2 blockquote, #col23 blockquote {
		margin: 0;
		padding: 0 0 0 30px;
	}
	
	#col2 td, #col23 td {
		vertical-align: top;
		padding: 5px 0 5px 5px;
	}
	
	.footnote {color: #900;}
	
	.small_text {font-size: .7em;}
	
	.no_float {clear: left;}
	
	.content hr {
		border: 0;
		height: 7px;
		width: auto;
		background: url(/images/hr.png) center center no-repeat;
	}
	
	.references {
		margin-top: 2em;
		padding-top: .6em;
		border-top: 1px solid black;
	}
	
/* Timetable */
#col2 .timetable td.time {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.2em;
	font-weight: bold;
	padding-right: 0.5em;
	padding-top: 0;
	text-align: right;
}

td.time .footnote {
	font-family: Arial, Helvetica, sans-serif;
	font-size: .7em;
}

.timetable td.last {
	white-space: nowrap;
}
	
/* Calendar, News */
.cal_top,
.news_top {
	width: 190px;
	padding-top: 34px;
	margin-top: 20px;
	background: url(/images/calendar_top.jpg) left top no-repeat;
}
.news_top {
	margin: 30px 0 0 -25px;
}

.cal_bottom,
.news_bottom {
	padding-bottom: 22px;
	background: url(/images/calendar_bottom.jpg) left bottom no-repeat;
}

.calendar_content,
.news_content {
	padding: 1px 20px 10px 20px;
	background: url(/images/calendar_back.jpg) left top repeat-y;
}
	.hdr,
	#col3 h1 {
		font-size: 1em;
		text-transform: none;
		font-style: italic;
		font-variant: small-caps;
	}
	.calendar_content h3 {
		font-family: Georgia, "Times New Roman", Times, serif;
		font-size: .9em;
		margin: 1.3em 0 .7em;
		color: #815C2A;
	}
	.calendar_content p,
	.news_content p {
		font-size: .75em;
		margin-bottom: 1em;
	}
	.calendar_content p {
		margin-top: .3em;
	}
	.calendar_content .date {
	    display: block;
	    margin: 0;
		font-family: Georgia, "Times New Roman", Times, serif;
		font-size: .8em;
		font-style: italic;
	}
		.calendar_content .date strong {
			font-size: 1.5em;
			font-style: normal;
		}
		
	.news_content .date {
		color: #815C2A;
		font-family: Georgia,"Times New Roman",Times,serif;
		font-size: 0.9em;
		font-style: italic;
		margin: 0 0 -.3em 0;
	}
	.news_content hr {
		margin: .5em auto .6em;
	}
	.news_content ol,
	.news_content ul {
		margin-left: 1.5em
	}
	.news_content li {
		font-size: .75em;
	}
	
#col1 .news_top {margin: 15px 0 0;}

.rss {
	display: block;
	float: right;
	width: 11px;
	height: 11px;
	margin-top: 4px;
	background: url(/images/rss.png) left top no-repeat;
}

/* Extra */
#extra {
	width: 159px;
    height: 324px;
    padding: 27px 28px 40px 32px;
    margin: -5px 0 25px -32px;
    background: url(../images/extra_back.jpg) left top no-repeat;
}
	#extra_container {
		overflow: auto;
		height: 265px;
	}
	#extra_nav {
		margin-top: 10px;
		padding-right: 8px;
	}
	
	#extra .hdr {
		font-size: 14px;
		margin-bottom: 10px;
		text-transform: none;
		font-variant: small-caps;
	}
	#extra p {
		margin: 0 0 .6em;
	}
	#extra p,
	#extra a {font-size: .75em;}
	
	#extra p.author {
		text-align: right;
		font-style: italic;
		color: #815c2a;
	}
	#extra p strong {
		color: #815c2a;
	}
	
	#extra_nav a,
	#extra_nav .link {
		font-size: .6em;
		text-decoration: underline;
	}
	
	#extra_nav .link {display: none;}
	.js #extra_nav .link {display: inline;}


/* Photo & video */	
.photo,
.album {
    position: relative;
    width: 220px;
    float: left;
}
.photo {
	margin: 10px 15px 0 0;
}
.album {
	margin-right: 8px;
	padding: 5px 8px 11px;
	background: url(/images/album_shadow.png) center top no-repeat;
}
.video .album {
	background: url(/images/videoalbum_shadow.png) center top no-repeat;
}
	.album .image_container {background: url(/images/album_hover.png) left top no-repeat;}
	.album .image_container:hover {background-position: right top;}

	.photo .image_container {
		background: url(/images/photos_back.png) left top repeat;
	}
	.photo .image_container:hover {
		background: url(/images/photos_hover_back.png) left top repeat;
	}
	
    .image_thumb,
    .video_thumb {
    	position: relative;
        display: block;
        width: 180px;
        height: 180px;
        padding: 15px 20px;
        /* background-color: #F8F8F8; */
        background-position: center center;
        background-repeat: no-repeat;
    }
    
    .video_thumb {
    	height: 140px;
    	padding: 20px;
    }
    
    .album .caption {padding: 11px 20px 0;}
    
    .caption {padding: 5px 20px;}
    	.caption p {font-size: 11px; text-align: center; margin: 0; color: #333;}
    	.caption a {text-decoration: none;}
    	.caption a:hover {text-decoration: underline;}

.play_button {
	background: url("/images/play.png") no-repeat scroll center center transparent;
	bottom: 0;
	left: 0;
	opacity: 0.5;
	position: absolute;
	right: 0;
	top: 0;
}
.play_button:hover {
	opacity: 1;
}
    	
#col3 .r_album {
	width: 216px;
	margin: 0 0 10px -35px;
}
.r_album .hdr {
	text-align: center;
	margin: 0 0 .5em;
}

.r_album .album {
	float: none;
	width: 200px;
	margin: 0;
	padding: 5px 6px 11px 10px;
	background: url(/images/ralbum_shadow.png) center top no-repeat;
}
.r_album .album .image_container {background: url(/images/ralbum_hover.png) left top no-repeat;}
.r_album .album .image_container:hover {background-position: right top;}

.r_album .image_thumb,
.r_album .video_thumb {
	width: 160px;
	height: 160px;
}

/* Страницы */
p.pages {
	font-size: .7em;
	margin-top: 2.5em;
	color: #513C20;
}
	
	p.pages span,
	p.pages strong,
	p.pages a {
		display: block;
		float: left;
		padding: 3px;
		text-align: center;
		margin-right: 2px;
	}
	
	p.pages a {
		width: 1.3em;
		background: url(/images/photos_back.png);
		text-decoration: none;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
	}
		
		p.pages a:hover {
			background: #AC121C;
			color: #FFF8E8;
		}
		
/* Формы */
#donate_form {
	padding: 20px;
	width: 200px;
	background: url(../images/photos_back.png);
}

#donate_form label {
	display: block; 
	margin-bottom: 1px;
}

/* Поля */
#lt, #rt {
	position: absolute;
	top: 0px;
	left: 50%;
	width: 45px;
	height: 509px;
}

#lt {
	margin-left: -535px;
	background: url(../images/t_left.jpg) left top no-repeat;
}

#rt {
	margin-left: 490px;
	background: url(../images/t_right.jpg) left top no-repeat;
}

/* Footer */
#footer {
	padding-bottom: 20px;
	background: white url(../images/footer_back.png) left top repeat-x;	
	clear: both;
	overflow: hidden;
}

#footer_content {
	position: relative;
	max-width: 910px;
	min-width: 820px;
/*	height: 201px; */
	margin: 0 auto;
	padding: 210px 90px 0 70px;
	background: url(../images/bottom.jpg) center top no-repeat;
	font-size: .7em;
	color: #666666;
}

#soc_buttons {
	position: absolute;
	left: 70px;
	top: 135px;
}
	#soc_buttons h3 {
		font-size: 1em;
		margin: 0 0 8px;
	}
	
	#soc_buttons a {
		display: block;
		float: left;
		/* margin-bottom: 8px; */
		margin-right: 12px;
		text-decoration: none;
	}
		#soc_buttons a:hover {
			text-decoration: underline;
		}

.sb {
	display: block;
	width: 16px;
	height: 16px;
	float: left;
	margin-right: 4px;
	background-image: url(../images/social_icons.png);
	background-repeat: no-repeat;
}

.twitter {background-position: 0 0;}
	a:hover .twitter {background-position: -16px 0;}
.vkontakte {background-position: 0 -16px;}
	a:hover .vkontakte {background-position: -16px -16px;}
.facebook {background-position: 0 -32px;}
	a:hover .facebook {background-position: -16px -32px;}
.lj {background-position: 0 -48px;}
	a:hover .lj {background-position: -16px -48px;}
.li {background-position: 0 -64px;}
	a:hover .li {background-position: -16px -64px;}


/* Буквица */
p .drop {
	color: #815C2A;
	display: block;
	float: left;
	font-family: Georgia,"Times New Roman",Times,serif;
	font-size: 3.1em;
	font-weight: bold;
	line-height: .8;
	margin-right: 3px;
}

p .dc {
	display: block;
	float: left;
	text-indent: -9000px;
	width: 43px;
	height: 41px;
	margin: 5px 0 0 0;
	background-position: left top;
	background-repeat: no-repeat;
}

.dc.letter_A {background-image: url(/images/drops/a.png);}
.dc.letter_B {background-image: url(/images/drops/b.png);}
.dc.letter_V {background-image: url(/images/drops/v.png);}
.dc.letter_G {background-image: url(/images/drops/g.png);}
.dc.letter_D {background-image: url(/images/drops/d.png); width: 58px; height: 48px; margin-top: 0;}
.dc.letter_E {background-image: url(/images/drops/e.png); width: 39px;}
.dc.letter_ZH {background-image: url(/images/drops/zh.png); width: 62px;}
.dc.letter_Z {background-image: url(/images/drops/z.png); width: 39px;}
.dc.letter_I {background-image: url(/images/drops/i.png);}
.dc.letter_K {background-image: url(/images/drops/k.png);}
.dc.letter_L {background-image: url(/images/drops/l.png);}
.dc.letter_M {background-image: url(/images/drops/m.png); width: 62px;}
.dc.letter_N {background-image: url(/images/drops/n.png);}
.dc.letter_O {background-image: url(/images/drops/o.png); width: 40px;}
.dc.letter_P {background-image: url(/images/drops/p.png);}
.dc.letter_R {background-image: url(/images/drops/r.png); width: 40px;}
.dc.letter_S {background-image: url(/images/drops/s.png); width: 39px;}
.dc.letter_T {background-image: url(/images/drops/t.png); width: 62px;}
.dc.letter_U {background-image: url(/images/drops/u.png); width: 49px;}
.dc.letter_F {background-image: url(/images/drops/f.png); width: 58px;}
.dc.letter_H {background-image: url(/images/drops/h.png); width: 45px;}
.dc.letter_TS {background-image: url(/images/drops/ts.png); width: 50px; height: 48px;}
.dc.letter_CH {background-image: url(/images/drops/ch.png);}
.dc.letter_SH {background-image: url(/images/drops/sh.png); width: 62px;}
.dc.letter_SHCH {background-image: url(/images/drops/shch.png); width: 68px; height: 48px;}
.dc.letter_EE {background-image: url(/images/drops/ee.png); width: 40px;}
.dc.letter_YU {background-image: url(/images/drops/yu.png); width: 62px;}
.dc.letter_YA {background-image: url(/images/drops/ya.png); width: 40px;}

#codeigniter_profiler {display: none;}

/* Погода */
#weather {
	position: absolute; 
	top: 77px; 
	left: 820px;
}
#weather h3 {
	font-family: Georgia,"Times New Roman",Times,serif;
	font-size: 14px;
	margin: 0;
	padding: 0;
	color: #815C2A;
}
#weather p {
	font-size: 11px; 
	margin: 6px 0; 
	color: #342000;
}
#weather p.clouds {
	padding-left: 28px;
	margin: 10px 0 0;
	white-space: nowrap;
}
.clouds span {
	display: block; 
	float: left; 
	width: 24px; 
	height: 24px; 
	margin: -4px 0 0 -28px; 
	background-image: url(/images/weather_icons.png); 
	background-repeat: no-repeat;
}
#weather p.cloud0 {
	padding-left: 22px;
}

.cloud0 span {background-position: -2px 0; width: 18px; margin-left: -22px;}
.cloud1 span {background-position: -24px 0;}
.cloud2 span,
.cloud3 span {background-position: -48px 0;}
.cloud4 span,
.cloud5 span {background-position: -72px 0;}
.cloud6 span,
.cloud7 span {background-position: -96px 0;}
.cloud8 span {background-position: -120px 0;}