html, body {
	height: 100%;
}
body{
	background-color: #F0E6DA;
}
body,td {
	margin: 0px;
	padding: 0px;
	font-size: 10pt;
	font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif;
	color: black;
}

A {COLOR: #7A5631; TEXT-DECORATION: none}
A:visited {COLOR: gray}
A:active {COLOR: black; }
A:hover {COLOR: black; TEXT-DECORATION: underline}
p {
	margin: 0px 0px 5px 0px;
}
h1 { 
	FONT: bold 12pt Arial;
	color: black;
	background: url(/images/star.gif) no-repeat;
	padding-left: 25px;
	padding-top: 3px;
}
H2 { DISPLAY: inline; FONT: bold 13pt Tahoma ; COLOR: green;}
H3 { DISPLAY: inline; FONT: bold 12pt Tahoma ; COLOR: green;}
H4 { DISPLAY: inline; FONT: bold 11pt Tahoma ; COLOR: green;}
form {
	margin: 0px;
	padding: 0px;
}

table.main{
	border:0px;
	width:100%;
	height:100%;
	background: #A28D6F url(/images/lmbg.jpg) repeat-y;
}

div.hbg{
	background: #71A2EA url(/images/hbg.jpg) repeat-x;
	height: 181px;
	width: 100%;
}
div.trees{
	position: absolute;
	top: 153px;
	left: 0px;
}

td.lm {
	width:258px;
	background: url(/images/lm_bot.jpg) bottom no-repeat;
}
div.lm{
	height: 100%;
}

div.lm_menu_bg{
	background: url(/images/lm_menu_bg.jpg) repeat-y;
}
div.lm_menu_top{
	background: url(/images/lm_menu_top.jpg) no-repeat;
}
div.lm_menu{
	background: url(/images/lm_menu_bot.jpg) bottom left no-repeat;
	padding: 0px 25px 0px 20px;
}

a.m2{
	display: block;
	text-align:right;
	margin-right: 14px;
	font-size: 8pt;
	color: black;
	border-right: 1px solid black;
	padding-right: 3px;
}
a.m2:hover{
	color: white;
}
a.m_main, a.m_news, a.m_history, a.m_grad, a.m_teachers, a.m_instr, a.m_toast, a.m_art, a.m_com, a.m_bibl, a.m_about, a.m_photos, a.m_friends, a.m_guestbook, a.m_anketa{
	display: block;
	width: 200px;
	margin-top: 3px;
}

a.m_main{
	background: url('/images/m_main.jpg') right no-repeat;
}
a.m_main:hover{
	background: url('/images/m_main_a.jpg') right no-repeat;
}
a.m_news{
	background: url('/images/m_news.jpg') right no-repeat;
}
a.m_news:hover{
	background: url('/images/m_news_a.jpg') right no-repeat;
}
a.m_history{
	background: url('/images/m_history.jpg') right no-repeat;
}
a.m_history:hover{
	background: url('/images/m_history_a.jpg') right no-repeat;
}
a.m_grad{
	background: url('/images/m_grad.jpg') right no-repeat;
}
a.m_grad:hover{
	background: url('/images/m_grad_a.jpg') right no-repeat;
}
a.m_teachers{
	background: url('/images/m_teachers.jpg') right no-repeat;
}
a.m_teachers:hover{
	background: url('/images/m_teachers_a.jpg') right no-repeat;
}
a.m_instr{
	background: url('/images/m_instr.jpg') right no-repeat;
}
a.m_instr:hover{
	background: url('/images/m_instr_a.jpg') right no-repeat;
}
a.m_toast{
	background: url('/images/m_toast.jpg') right no-repeat;
}
a.m_toast:hover{
	background: url('/images/m_toast_a.jpg') right no-repeat;
}
a.m_art{
	background: url('/images/m_art.jpg') right no-repeat;
}
a.m_art:hover{
	background: url('/images/m_art_a.jpg') right no-repeat;
}
a.m_com{
	background: url('/images/m_com.jpg') right no-repeat;
}
a.m_com:hover{
	background: url('/images/m_com_a.jpg') right no-repeat;
}
a.m_bibl{
	background: url('/images/m_bibl.jpg') right no-repeat;
}
a.m_bibl:hover{
	background: url('/images/m_bibl_a.jpg') right no-repeat;
}
a.m_about{
	background: url('/images/m_about.jpg') right no-repeat;
}
a.m_about:hover{
	background: url('/images/m_about_a.jpg') right no-repeat;
}
a.m_photos{
	background: url('/images/m_photos.jpg') right no-repeat;
}
a.m_photos:hover{
	background: url('/images/m_photos_a.jpg') right no-repeat;
}
a.m_friends{
	background: url('/images/m_friends.jpg') right no-repeat;
}
a.m_friends:hover{
	background: url('/images/m_friends_a.jpg') right no-repeat;
}
a.m_guestbook{
	background: url('/images/m_guestbook.jpg') right no-repeat;
}
a.m_guestbook:hover{
	background: url('/images/m_guestbook_a.jpg') right no-repeat;
}
a.m_anketa{
	background: url('/images/m_anketa.jpg') right no-repeat;
}
a.m_anketa:hover{
	background: url('/images/m_anketa_a.jpg') right no-repeat;
}
div.reg_shad{
	width: 242px;
	height: 125px;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/lm_reg_shad.png');
}
div.reg{
	width: 242px;
	height: 125px;
	background: url(/images/lm_reg_bg.gif) 7px -1px no-repeat;
	padding-top: 32px;
	padding-left: 30px;
	color: black;
	position: relative;
	z-index: 1000;
}
div.search_shad{
	width: 242px;
	height: 125px;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/search_shad.png');
}
div.search{
	width: 242px;
	height: 50px;
	background: url(/images/search_bg.gif) 7px -1px no-repeat;
	padding-top: 8px;
	padding-left: 27px;
	color: black;
	position: relative;
	z-index: 1000;
}
div.reg input.inp {
	border: 1px solid black;
	font-size: 12px;
	padding: 1px;
	margin: 2px;
}

table.bot{
	background: url(/images/bot_bg.jpg) repeat-x;
	height: 85px;
}

table.bot td.nav{
	width: 227px;
	background: url(/images/bot2.jpg) no-repeat;
	padding-top: 15px;
}

table.bot td.zoom{
	background: url(/images/zoom.gif) 20px bottom no-repeat;
	padding-left: 70px;
	padding-top: 15px;
}
table.bot td.contact{
	padding-top: 15px;
}
div.pimp{
	width: 94px;
	height: 48px;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/pimp.png');
}
td.content{
	padding: 20px 15px 5px 5px;
}




div.news {
	padding-left: 10px;
	padding-top: 7px;
	margin-left: 10px;
	vertical-align: top;
	width: 95%;
	background: url(/images/hrbg.gif) bottom repeat-x;
	padding-bottom: 10px;
}

div.news div.date{
	width: auto;
	font-size: 8pt;
	border-left: 3px solid #DAC5AC;
	padding-left: 5px;
}
div.news div.title{
	font-weight: bold;
	border-left: 3px solid #DAC5AC;
	padding-left: 5px;
}
div.news div.description{
	margin-top: 5px;
}


div.articles {
	padding-left: 20px;
	padding-top: 7px;
	margin-left: 10px;
	vertical-align: top;
	width: 95%;
	background: url(/images/hrbg.gif) bottom repeat-x;
	padding-bottom: 10px;
}

div.articles div.title{
	border-left: 3px solid #DAC5AC;
	padding-left: 5px;
	font-weight: bold;
}
div.articles div.description{
	margin-top: 5px;
}
div.articles div.cat{
	border-left: 3px solid #DAC5AC;
	padding-left: 5px;
	font-size: 8pt;
}

div.photo{
	border: 1px solid white;
	padding: 5px;
	background-color: #F6F2ED;
}
div.photo img{
	border: 1px solid gray;
}

table.profiles{
	width: 100%;
}

table.profiles td.date{
	width: 50px;
	text-align: center;
}
table.profiles td.name{
	border-left: 3px solid #DAC5AC;
	padding-left: 5px;
	width: 250px;
	font-weight: bold;
}

div.dasheddiv{
	width: 250px;
	background: url(/images/divleftbg.gif) left repeat-y;
}

div.birthday{
	background: url(/images/hrbg.gif) bottom repeat-x;
	margin-top: 15px;
	padding-bottom: 15px;
	width: 220px;
}

p.forum{
	background: url(/images/liforum.gif) 0px 3px no-repeat;
	margin: 4px 0px 0px 5px;
	padding: 0px 0px 0px 10px;
	font-size: 9pt;
}
p.news{
	background: url(/images/liforum.gif) 0px 2px no-repeat;
	margin: 4px 0px 0px 5px;
	padding: 0px 0px 0px 10px;
	font-size: 9pt;
}
.page_selected {
 font-weight:bold;
 text-align:center;
 width:14px;height:14px;
 background-color:#D9C5AB;
 color:#fff;
 border:1px solid #0000;
}
.page_selected a{color:#ffffff}

.page {
 text-align:center;
 width:14px;height:14px;
 color:#fff;
}
.page a{color:#000000}
.page a:visited{color:#000000}
.page a:hover{color:#000000}
.page a:action{color:#000000}

.blank_page {
 text-align:center;
 width:14px;height:14px;
 border:1px solid #fff;
}

.blank_page a{color:#fff}

table.contactform{
	border-top: 2px solid #A88C70;
	border-bottom: 2px solid #A88C70;
}
tr.contact input{
	border: 0px;
	border-bottom: 1px solid #A88C70;
	background-color: #F6EFE7;
	width: 99%
}
tr.contact td.light{
	background-color: #E6D6C1;

	padding: 4px;
}