{
	margin: 0;
	padding: 0;
}
HTML, BODY{
	height: 100%;
	font: 12px Arial;
	margin: 0px;
}
BODY{
	background: #dfd7c2 url(../i/header-bgr.jpg) 50% top no-repeat;
}

BODY.body-lesson,
BODY.body-patterns,
BODY.body-online,
BODY.body-schedule,
BODY.second{
	background: #dfd7c2 url(../i/head-bgr2.png) repeat-x;	
}
IMG{
	border: none;
}
A:hover{
	/* text-decoration: none; */
}
.mw{
	width: 980px;
	margin: 0 auto;
}
.mh{
	min-height: 100%;
}
* html .mh{
	height: 100%;
}
.clr{
	clear: both;
	font-size: 0;
	height: 0;
}
#wrap{
	background: url(../i/footer-bgr.jpg) 50% bottom no-repeat
}
#main{
	
}
#header{
	height: 361px;
	position: relative;
	background: url(../i/head-bg.jpg) left 127px no-repeat;
	z-index: 500;
}
* html #header{
	height: 361px;
}
#logo{
	position: absolute;
	left: 38px;
	top: 24px;
}
#news-main{
	width: 498px;
	height: 214px;
	position: absolute;
	left: 419px;
	top: 81px;
	background: url(../i/news-bg.jpg) no-repeat;
	color: #4f2313;
}
#news-main .img{
	width: 239px;
	height: 169px;
	padding: 20px 9px;
	float: left;
}
#news-main .text{
	margin-left: 270px;
	position: relative;
	top: -15px;
}
#news-main H1{
	font:26px Arial;
	line-height: 100%;
}
#news-main .text H1 a { text-decoration: underline; }
#news-main .text H1 a:hover { color: #c07762; }
#news-main P{
	padding: 4px 0;
	margin-bottom: 8px;
}
#news-main .links{
	font-size: 11px;
	font-weight: bold;
}
#news-main A{
	color: #4f2313;;
	margin-right: 7px;
}
#news-main .text .date {	
	font: 11px Arial;
	color: #AC9780;
	font-weight: normal;
	margin: 10px 0 2px 0;
}

#shit{
	position: absolute;
	top: 6px;
	right: 18px;
	width: 20px;
}
#shit A{
	display: block;
	margin-bottom: 6px;
}
#menu{
	width: 926px;
	margin: 0 auto;
	position: relative;
	top: 321px;
	background: url(../i/menu-bgr.jpg) no-repeat;
	height: 43px;
	font: normal 18px Arial;
	line-height: 100%;
		z-index: 800;
}
* html #menu{
	top: 315px;
}
BODY.body-online #menu,
BODY.body-schedule #menu,
BODY.second #menu{
	top: 0;
}
#menu .inside{
	padding: 10px 0 0 25px;
}
#menu .item{
	float: left;
	height: 32px;
	position: relative;
}
#menu A{
	color: #FFF;
	position: relative;
	text-decoration: none;
	padding: 0px 7px;
	border-right: solid 2px #d0a83d;
}
#menu .last A{
	border: none;
}
#menu .dropdown{
	position: absolute;
	left: 0;
	top: 32px;
	visibility: hidden;
}
#menu DIV:hover.item A,
#menu .over A,
#menu .here A{
	color: #f2c95a;	
}
#menu DIV:hover.item .dropdown,
#menu .over .dropdown{
	visibility: visible;
}
#menu .dropdown .item{
	float:none;
	font: bold 12px Arial;
	white-space: nowrap;
	height: auto;
	padding: 3px 0;
}
#menu .dropdown .item A{
	border: none;
	color: #f2c95a;
	padding: 0;
}
#menu .dropdown .item A:hover{
	color: #FFF;
}
#menu .dropdown .bgr{
	position: absolute;
	left: 12px;
	top: 0;
	background: #000;
	opacity: 0.44;
	filter: alpha(opacity=44);
}
#menu .dropdown .content{
	padding: 7px 15px;
	background: url(../i/dd-bgr.jpg);
	position: relative;
}
#ekran2{
	width: 541px;
	left: 397px;
	top: -305px;
	background: url(../i/ekran2.jpg) repeat-y;
	z-index: 802;
}

/*

* html #ekran1 {
	top: -205px;
}


* html #ekran2 {
	top: -312px;
}
*/


.ekran{
	position: absolute;
	z-index: 2;
}
.ekran .bottom{
	position: absolute;
	height: 11px;
	left: -3px;
}

#ekran1 .bottom{
	bottom: -7px;
	_bottom: -12px;
}

#ekran2 .bottom{
	width: 547px;
	background: url(../i/handle2.jpg) no-repeat;
}
/*
* html #ekran2 .bottom{
	bottom: -26px;
}
* html #ekran1 .bottom{
	bottom: -15px;
}
*/


.ekran .bottom .handle{
	width: 15px;
	height: 26px;
	background: url(../i/handle.png) no-repeat;
	margin: 0 auto;
	position: relative;
	top: 11px;
	cursor: pointer;
	cursor: hand;
}
#ekran2 .content{
	padding: 14px 22px 0 22px;
}
#calendar{
	width: 184px;
	position: relative;
}
#calendar-content{
	background: #FFF;
	border: 1px solid #fff;
}
#calendar .edge{
	height: 2px;
	font-size: 0;
	padding: 0 2px;
	position: relative;
}
#calendar .edge .e-bgr{
	height: 2px;
	background: #FFF;
	font-size: 0;
}

#calendar .edge .corner{
	height: 2px;
	width: 2px;
	position: absolute;
	top: 0;
	background-image: url(../i/white-dot.gif);
	background-repeat: no-repeat;
}
#calendar .e-top .c-right{
	background-position: left bottom;
	right: 0;
}
#calendar .e-top .c-left{
	background-position: right bottom;
	left: 0;
}
#calendar .e-bottom .c-left{
	background-position: right top;
	left: 0;
}
#calendar .e-bottom .c-right{
	background-position: left top;
	right: 0;
}
#calendar .top{
	height: 26px;
	background: url(../i/calendar-top-bgr.gif) left bottom repeat-x;
	position: relative;
}
#calendar .arrow{
	width: 10px;
	height: 9px;
	position: absolute;
	top: 6px;
	cursor: pointer;
	cursor:hand;
}
#calendar .arrow-left{
	background: url(../i/arrow-left.gif) no-repeat;
	left: 7px;
}
#calendar .arrow-right{
	background: url(../i/arrow-right.gif) no-repeat;
	right: 7px;
}
#calendar .display{
	font: 18px Arial;
	color: #89493a;
	text-align: center;
}
#calendar .padding{
	padding: 0 6px;
}
#calendar .names{
	padding: 3px 0 0 0;
	height: 17px;
}
#calendar .line{

}
#calendar .item{
	width: 26px;
	float: left;
	text-align: center;
	cursor: pointer;
	cursor: hand;
}
#calendar .names .item{
	font: bold 12px "Arial Narrow", Arial, sans-serif;
	color: #89493a;
}
#calendar .line .item{
	width: 26px;
	height: 23px;
	padding-top: 3px;
	background: url(../i/bgr-brown.png);
	color: #ffd7aa;
	font: bold 16px "Arial Narrow", Arial, sans-serif;
}
#calendar .line .white{
	background: url(../i/bgr-white.png);
}
#calendar .line .here{
	background: #FFF;
	color: #940e09;
}
#calendar .line .empty{
	cursor: default;
}
#ekran2 .brief{
	padding: 10px 4px;
	color: #FFF;
	font-size: 11px;
	/* height: 48px; */
}
#ekran2 .brief DIV{
	padding: 0 0 4px 16px;
	line-height: 11px;
	background: url(../i/arrow-bullet.gif) left 5px no-repeat;
}
#ekran2 .brief DIV.sorry{
	background: none;
	padding: 0;
	color: red;
}
#ekran2 .left{
	width: 194px;
	float: left;
	/* height: 257px; */
}
#ekran2 .right{
	margin-left: 220px;
	width: 270px;
	font-size: 11px;
}
#ekran2 .right A{
	color: #faedbf;
	text-decoration: underline;
	line-height: 12px; 
}
#ekran2 .right A:hover{
	color: #fff;
}
#ekran2 .right .rubric{
	padding-bottom: 5px;
	margin: 0;
	/* background: url(../i/rubric-bgr.gif) left bottom repeat-x; */
}
#ekran2 .right .last{
	background: none;
	padding-bottom: 0;
	margin-bottom: 0;
}
#ekran2 .right .rubric DIV{
	padding: 0 0 5px 14px;
	background: url(../i/arrow-bullet.gif) left 4px no-repeat;
}
#ekran2 .right H2{
	color: #fff;
	font: bold 14px Arial;
	padding-bottom: 3px;
	margin: 0 0 2px 0;
}
/*
#ekran2 .right .orange H2{
	color: #ff8a00;
}
#ekran2 .right .green H2{
	color: #5cdc1c;
}
#ekran2 .right .white H2{
	color: white;
}
*/
#ekran2 A.events{
	font: 18px Arial;
	line-height: 100%;
	color: #FFF;
	text-decoration: none;
	padding-right: 16px;
	/* background: url(../i/arrow-brown.gif) right 8px no-repeat; */
	/* margin-left: 220px; */
	margin-left: 170px;
	position:relative;
	top: -8px;
}
/*
#ekran2.opened A.events{
	margin-left: 220px;
}
*/
#ekran2 .bottom-links{
	padding-top: 20px;
}


#ekran1 {
	width: 159px;
	height: 227px;
	background: url(../i/ekran1.jpg) no-repeat;
	top: -198px;
	left: 205px;
	margin-left: -24px;
}



#ekran1 .data .name{
	padding: 15px 10px 5px;
}
#ekran1 .data .name SPAN{
	font: bold 15px Arial;
}
#ekran1 .bottom{
	width: 165px;
	background: url(../i/handle1.jpg) no-repeat;
}
#ekran1 FORM{
	padding: 93px 14px 0 14px;
	//margin-top: -4px;
}
#ekran1 INPUT.text{
	border: solid 1px #6a4012;
	color: #413527;
	background: #c9b28a;
	padding: 3px 4px;
	width: 116px;
	font-weight: bold;
}
#ekran1 .line{
	padding-bottom: 5px;
}
#ekran1 .submit{
	padding-top: 5px;
	position: relative;
	zoom: 1;
} 
#ekran1 .submit INPUT{
	position: relative;
	left: -3px;
}
#ekran1 A{
	font-size: 11px;
	color: #ddd1bd;
	text-decoration: none;
}
#ekran1 A.forgot, #ekran1 A.reg {
	font-size: 10px;
	position: absolute;
	left: 50px;
	top: 4px;
	text-decoration: underline;
	white-space: nowrap;
}
#ekran1 A.reg {
	top: 16px;
	left: 50px;
}

#ekran1 A.forgot:hover, #ekran1 A.reg:hover{
	color: #fff;
}
#ekran1 .register{
	/*
	padding-top: 8px;
	*/
	position: absolute; 
	bottom: 12px;

}
#ekran1 .register A{
	color: #FFF;
	font: 18px Arial;
	padding-right: 16px;
	line-height: 100%;
	/* background: url(../i/arrow-brown.gif) right 10px no-repeat; */
	margin-left: 13px;
	text-decoration: none !important;
}
#ekran1 #user{
	border: solid 1px green;
}

#content{

}
#left-col{
	width: 402px;
	float: left;
}
#left-col H1{
	margin-bottom: 10px;
}
#left-col .inside{
	padding: 0 23px;
}
.news-item{
	padding: 8px;
	color: #7b522a;
}
/*
DIV:hover.news-item,
DIV.news-item-over{
	background: #FFF;
}
DIV:hover.news-item .title A,
DIV.news-item-over .title A{
	text-decoration: underline;
}
*/
.news-item .img{
	width: 100px;
	position: relative;
	overflow: hidden;
	float: left;
}

.news-item .event_img IMG  {
	width: 100px;
	height: 70px;
}

.news-item .text{
	margin-left: 114px;
	font-size: 11px;
}
.news-item .no-img{
	margin-left: 0;
}
.news-item .text .title{
	font: bold 14px Arial;
	padding-bottom: 6px;
}
.news-item .text .title a { text-decoration: underline; color: #4C2102; !important; }
.news-item .text .title a:hover { color: #96523b !important; }
.news-item .more{
	text-align: right;
}
.news-item A{
	color: #7b522a;
	text-decoration: none;
}
.news-item A:hover{
	 color: #96523b !important;

}
.news-item .title A{
	color: #4c2102;
}
#left-col .archive{
	font-size: 11px;
	font-weight: bold;
	margin-left: 114px;
}
#left-col .archive A{
	text-decoration: underline;
	/* background: #703f14;
	color: #eae1cf; */
	color: #4C2102;
	margin-left: 8px;
}
#left-col .archive A:hover{
	color: #96523B;

}
#left-col .banners{
	padding-top: 35px;
	padding-left: 8px;
}
#left-col .banners A{
	margin-right: 14px;
}
#right-col{
}
* html #right-col{
	position: relative;
	top: -13px;
}
#lessons-main{
}
#lessons-main H1{
	position: relative;
	left: -30px;
	margin-bottom: 15px;
}
#lessons-main H1 SPAN{
	position: absolute;
	color: #b90600;
	font: bold 24px Arial;
	top: 30px;
	left: 460px;
}
.lesson{
	/* width: 274px; */
	width: 268px;
	float: left;
	background: #efeae1;
	min-height: 176px;
	position: relative;
	margin: 0 8px 8px 0;
	height: 200px;
}



.lesson .top{
	font: 18px Arial;
	line-height: 100%;
	height: 19px;
	padding: 2px 4px;
	float: left;
	color: #FFF;
}
.lesson .top IMG,
.lesson .top SPAN{
	display: none;
}
.lesson .date{
	float: left;
	font: 11px Arial;
	color: #582619;
	padding: 3px 0 0 5px;
}
.online .top, .opened .top {
	background: #08a10f;
}
.online .top IMG{
	margin: 0 2px;
	position: relative;
	top: -2px;
	display: inline;
}
.online .top SPAN{
	font: bold 12px Arial;
	position: relative;
	top: -2px;
	display: inline;
}
.past .top{
	background: #d60700;
}
.future .top{
	background: #226686;
}
.lesson .cont{
	clear: both;
	margin: 18px 13px;
	min-height: 88px;
}
* html .lesson .cont{
	height: 88px;
}
.lesson .title{
	color: #3b1a14;
	font: 18px Arial;
	margin-bottom: 10px;
	line-height: 18px;
}
.lesson .descr{
	
}
.lesson .descr DIV{
	padding-left: 14px;
	background: url(../i/arrow-brown-small.gif) left 6px no-repeat;
	color: #743b30;
	text-decoration: underline;
}
.lesson .bottom{
	position: relative;	
	padding: 5px 12px;
	color: #3b1a14;
	font: 11px Arial;
	line-height: 100%;
}
.lesson .bottom A{
	font-weight: bold;
	color: #96523b;
	float: left;
	text-decoration: underline;
	padding: 3px 4px;
	font-size: 14px;
}
.lesson .bottom a:hover {
	color: #C07762;
}

.lesson .bottom DIV{
	position: relative;
	top: -3px;
	float: right;
	text-align: right;
}
#lessons-main .all{
	padding-top: 10px;
}
#lessons-main .all A{
	font: bold 11px Arial;
	color: #eae1cf;
	background: #413527;
	padding: 0px 2px;
	text-decoration: none;
}
.user-not-allowed .all{
	display: none;
}
#poll{
	width: 363px;
	margin-top: 30px;
	overflow: auto;
}
#poll .top{
	height: 53px;
	background: url(../i/poll-bgr.jpg) no-repeat;
	color: #FFF;
	font: 18px Arial;
	padding: 20px 15px 0 47px;
	line-height: 100%;
}
#poll .radios{
	padding: 12px 0 12px 12px;
	width: 350px;
	color: #582b1f;
}
#poll .radio{
	width: 140px;
	float: left;
	padding-left: 25px;
	padding-bottom: 4px;
}
/*
#poll .radio SPAN.label{
	position: relative;
	left: 4px;
	top: -2px;
}
*/
#bottom-block{
	margin-top: 20px;
}

#bottom-block .banner {
	padding: 8px 0 0 20px;
}

#poll .submit{
	padding: 5px 12px 12px;
}


#poll .submit A{
	color: #603835;
	font: 18px Arial;
	text-decoration: underline !important;
	padding-right: 14px;
	/* background: url(../i/small-arrow.gif) right 58% no-repeat; */
	margin-left: 10px;
}

#poll .submit A.submit {
	margin-left: 10px;
	font-size: 14px;
	font-weight: bold; 
	text-decoration: underline; 
}
#poll .submit A:hover{
	color: #96523B;
}

#poll .radio { position: relative ; }
#poll .radio input { left: 0; top: 0; position:absolute ;  }

INPUT.s-button{
	color: #ddd5c6;
	font: 18px Arial;
	line-height: 100%;
	background: #6D331F;
	border: none;
	padding: 0;
}



#footer-pad{
	height: 133px;
}

#footer{
	height: 133px;
	position: relative;
	background: url(../i/footer-ornament.jpg) left bottom repeat-x;
	margin-top: -133px;
	font: 11px Arial;
}
#footer A{
	color: #8b6c5c;
}
#footer .mw{
	position: relative;
	height: 133px;
}
#footer .orn{
	position: absolute;
}
#footer .orn1{
	width: 57px;
	height: 68px;
	background: url(../i/footer-orn1.gif) no-repeat;
	left: 33px;
	bottom: 41px;
}
#footer .orn2{
	width: 70px;
	height: 95px;
	background: url(../i/footer-orn2.gif) no-repeat;
	top: 0;
	right: 220px;
}
#footer .orn3{
	width: 56px;
	height: 58px;
	background: url(../i/footer-orn3.jpg) no-repeat;
	bottom: 14px;
	right: 140px;
}
#footer #copyright{
	color: #703f14;
	width: 280px;
	position: relative;
	left: 111px;
	top: 54px;
}
.sporting { position: absolute; top: 27px; left: 420px; text-decoration: none; }
.sporting img { vertical-align:middle; margin:  0 10px 0 0; }

.sporting a { text-decoration: underline;}
.sporting a:hover { color: #c07762 !important; }

#footer #dev{
	width: 100px;
	position: absolute;
	right: 30px;
	top: 38px;
	text-align: center;
}
#footer #dev a:hover { color: #c07762 !important; }

#footer #dev IMG{
	margin-bottom: 5px;
}

#header2{
	height: 163px;
	position: relative;
	/*
	background: url(../i/header2-bgr.jpg) 500px top no-repeat;
	*/
		z-index: 801;
}
#lesson-num{
	width: 239px;
	height: 135px;
	position: absolute;
	bottom: 0;
	left: 240px;
}	
#lesson-num .bgr{
	width: 239px;
	height: 135px;
	position: absolute;
	left: 0;
	top: 0;
	background: url(../i/flag.png) no-repeat;
}
#lesson-num .cont{
	position: relative;
	left: 40px;
	top: 38px;
}
#lesson-num .num{
	font: bold 31px Arial;
	line-height: 100%;
	color: #FFF;
	margin-bottom: 4px;
}
#lesson-num .num SPAN{
	background: #dd1004;
	padding: 0 3px;
}
#lesson-num .num SPAN.smaller{
	font-size: 24px;
	position: relative;
	left: -15px;
}
#lesson-num .name{
	font: 18px Arial;
	color: #3b1a14;
	margin-left: -2px;
}
#lesson-num .sched{
	position: relative;
	left: -10px;
}
#profile{
	float: right;
	margin-top: 11px;
	width: 300px;
}
#profile .photo{
	width: 117px;
	height: 141px;
	background: url(../i/profile-foto-bgr.jpg) no-repeat;
	float: left;
}
#profile .photo DIV{
	padding: 18px 0 0 5px;
}
#profile .data{
	margin-left: 128px;
	margin-top: 25px;
}
#profile .data .name{
	color: #3b1a14;
	font: 18px Arial;
	padding-bottom: 6px;
}
#profile .data FORM DIV{
	float: left;
	margin-right: 5px;
}
#profile .data FORM A{
	font: 11px Arial;
	line-height: 100%;
	color: #000;
	display: block;
	padding-left: 24px;
	background: url(../i/shesteryonka.gif) left 50% no-repeat;
}
#small-pannel{
	height: 43px;
	background: url(../i/small-pannel.jpg) no-repeat;
	width: 926px;
	margin: 0 auto;
	font: bold 18px Arial;
	line-height: 100%;
	color: #FFF;
	position: relative;
}
#small-pannel .cont{
	padding: 12px 0 0 18px;
}
#small-pannel .cont A{
	color: #52200e;
}
#small-pannel .cont SPAN{
	position:absolute;
	left: 300px;
}
BODY.body-patterns #small-pannel .cont SPAN{
	left: 741px;
}
#small-pannel .cont A.right{
	position: absolute;
	left: 751px;
	white-space: nowrap;
}
#small-pannel .center{
	position: absolute;
	left: 301px;
	color: #f6ca9a !important;
}
#small-pannel SPAN.left{
	left: 25px;
}
BODY.body-patterns #small-pannel .cont A.right{
	left: 300px;
}
#lessons-cont,
.content-box{
	width: 926px;
	margin: 12px auto 0;	
}
#lessons-cont .left-col{
	width: 273px;
	float: left;
}
#lessons-cont .lesson .bottom{
	margin-top: 6px;
	height: 21px;
}
#lessons-cont .lesson .bottom A{
	margin-right: 5px;
}
#lessons-cont .lesson .bottom A.edit{
	background: #08a10f;
}
#lessons-cont .lesson .bottom A.remove{
	background: #bc3404;
}
#lessons-cont .lesson .cont{
	background: url(../i/brown-shtr.gif) left bottom repeat-x;
}
#lessons-cont .lesson .title{
	margin-top: -9px;
	margin-bottom: 6px;
}
#lessons-cont .lesson .cont{
	height: auto !important;
	padding-bottom: 14px;
	
}

#lessons-cont .left-col .submit A{
	position: relative;
	right: -3px;
}
#lessons-cont .right-col{
	margin-left: 300px;
	display: none;
}
#lessons-cont .right-col TABLE{
	width: 400px;
}
#lessons-cont .right-col TABLE TD{
	color: #7a483f;
	font: bold 14px Arial;
	background: url(../i/brown-shtr.gif) left bottom repeat-x;
	padding: 10px 0;
	vertical-align: top;
}
#lessons-cont .right-col TABLE TD.label{
	width: 150px;
}
#lessons-cont .right-col TABLE.selects .input{
	width: 80px;
	vertical-align: middle;
	text-align: center;
}
#lessons-cont .right-col TABLE.selects .input IMG{
	margin-bottom: 5px;
}
#lessons-cont .right-col TABLE .no-bgr{
	background: none;
	padding-bottom: 0;
}
#lessons-cont .right-col TABLE .submit{
	text-align: right;
}
#lessons-cont .right-col TABLE IMG{
	cursor:pointer;
	cursor: hand;
}
#lessons-cont .right-col INPUT.text,
#lessons-cont .right-col TEXTAREA{
	width: 240px;
}
BODY.body-patterns #small-pannel{
	background-image: url(../i/patterns-menu-bgr.jpg);
}
.right .content-box{
	width: 450px;
}
.right .content-box .content{
	display: none;
}
.right .content-box .display{
	display: block;
}
.content-box .column{
	float: left;
	width: 50%;
}
#lessons-cont .lesson{
	width:auto;
	float: none;
	margin-right: 0;
}

#lessons-cont .lesson .cont{
	clear: both;
	margin: 0 13px;
	padding: 18px 0;
	height: 88px;
}
#lessons-cont TD.select SELECT{
	width: 170px;
	min-height: 120px;
}


#second-content{
		position: relative;
	width: 926px;
	margin: 0 auto;
		z-index: 799;
}
#text-content{
	width: 600px;
	float: left;
}
#text-content A{
	color: #793b26;
}
#text-content P{
	margin-bottom: 0px;
}
#text-content UL{
	list-style: none;
	margin: 0 15px 15px;
}
#text-content UL LI{
	margin-bottom: 3px;
}
#text-content H3{
	font: bold 16px Arial;
	margin-bottom: 10px;
}
#text-content H2{
	font: 19px Arial;
	margin-bottom: 15px;
}
#text-content H1.main2{
	height: 61px;
	background: url(../i/h-main-bgr.gif) repeat-x;
	color: #3b1a14;
	font: 24px 'Arial Narrow', Arial, sans-serif;
	margin-bottom: 20px;
}
#text-content H1.main2 DIV{
	height: 61px;
}
#text-content H1.main2 .inside1{
	background: url(../i/h-main-left.jpg) no-repeat;
}
#text-content H1.main2 .inside2{
	background: url(../i/h-main-right.gif) right bottom no-repeat;
}
#text-content H1.main2 SPAN{
	position: relative;
	left: 43px;
	top: 19px;
}
#text-content H1{
	color: #3b1a14;
	font: 22px 'Arial Narrow', Arial, sans-serif;
}
#text-content a:hover { color: #c07762 !important; }

#logo-second,
#logo-second-link{
	position: absolute;
	display: block;
	left: 53px;
	top: 16px;
	width: 140px;
	height: 130px;
	background: url(../i/logo2.png) no-repeat;
}
#logo-second-link{
	background: none;
}
#right-col2{
	width: 305px;
	float: right;
	padding-top: 12px;
}
#right-lessons{
	width: 305px;
	height: 88px;
	background: url(../i/lessons-flag.jpg) no-repeat;
	position: relative;
	display: none;
}
#right-lessons SELECT{
	position: absolute;
	top: 34px;
	left: 120px;
	width: 135px;
}
/*************************************/
#ekran1 #log-out{
	padding-top: 15px;
}
#ekran1 #log-out INPUT{
	position: relative;
	top: 3px;
}
#ekran1 .group{
	padding: 0px 0;
}
#ekran1 .group A{
	text-decoration: underline;
}
#ekran1 .group A:hover{
	text-decoration: none;
}

#my-cabinet{}
#my-cabinet .my-block{
	width: 500px;
	margin-top: 20px;
	display: block;
}
#my-users{}
#my-cabinet H2{
	color: #3b1a14;
	font: 17px Arial;
	margin-bottom: 5px;
}
#my-cabinet .hidden{
	visibility: hidden;
	position: absolute;
	left: -3000px;
	top: -3000px;
}
.my-block TABLE{
	width: 100%;
	border-right: solid 1px #3b1a14;
	border-bottom: solid 1px #3b1a14;
	margin-bottom: 1px;
	width: 500px;
}
.my-block TABLE TD{
	border-left: solid 1px #3b1a14;
	border-top: solid 1px #3b1a14;
	color: #3b1a14;
	padding: 2px 4px;
}
.my-block TABLE TD.id{
	width: 20px;
}
.my-block TABLE TD.remove{
	width: 55px;
}
.my-block TABLE TD.remove INPUT,
#user-search INPUT.btn,
#applications TD.buttons INPUT,
#group-search INPUT.btn{
	background: #6d331f;
	color: #FFF;
	font-size: 11px;
	border: solid 1px #a37869;
	cursor: pointer;
	cursor: hand;
	padding: 2px 5px;
}
#user-search INPUT.text,
#group-search INPUT.text{
	width: 300px;
}
#user-search INPUT.text,
#user-search SELECT{
	margin-right: 9px;
}
#applications TD.buttons{
	width: 136px;
}
#applications TD.buttons INPUT.decline{
	background: #cb3400;
}
#my-cabinet .my-block .head{
	height: 25px;
	position: relative;
}
#my-cabinet .my-block .head H2{
	float: left;
}
#my-cabinet .my-block .head H2 SPAN.num{
	font-weight: bold;
	margin-left: 5px;
}
#my-cabinet .my-block .head H2 SPAN.ttl{
	text-decoration: underline;
}
#my-cabinet .my-block .head .button{
	position: absolute;
	width: 13px;
	height: 13px;
	background: url(../i/plus.gif) no-repeat;
	top: 4px;
	cursor: pointer;
	cursor: hand;
}
#my-cabinet .my-block .content{
	position: absolute;
	visibility: hidden;
	left: -2000px;
	top: -2000px;
}
#my-cabinet .open .head .button{
	background-image: url(../i/minus.gif);
}
#my-cabinet .open .content{
	position: relative;
	top: 0;
	left: 0;
	visibility: visible;
	width: 500px;
}
#my-cabinet .open .head H2 SPAN.ttl{
	text-decoration: none;
}
#my-cabinet .scrollbar{
	position: absolute;
	top: 0;
	right: -20px;
	width: 16px;
	height: 200px;
}
#my-cabinet .scrollbar .button{
	width: 16px;
	height: 12px;
	position: absolute;
	left: 0;
	cursor: pointer;
	cursor: hand;
}
#my-cabinet .scrollbar .plus{
	background: url(../i/scroll-down2.gif) no-repeat;
	bottom: 0;
}
#my-cabinet .scrollbar .minus{
	background: url(../i/scroll-up2.gif) no-repeat;
	top: 0;
}
#my-cabinet .scrollbar .track{
	width: 8px;
	height: 172px;
	position: absolute;
	left: 4px;
	top: 14px;
}
#my-cabinet .scrollbar .thumb{
	position: absolute;
	width: 8px;
	background: #6d331f;
}
#my-cabinet .my-block .scroll-content{
	position: absolute;
	left: 0;
	top: 0;
}
#my-cabinet .my-block .scroll-holder{
	width: 500px;
	position: relative;
	height: 200px;
	overflow: hidden;
}
#search-result{
	margin: 5px 0;
}
#search-result .disabled TD{
	background: #CCC;
}

#right-col2 .lesson{
	float: none;
}
#registration{

}
INPUT.input,
INPUT.password{
	border: solid 1px #79371f;
	width: 250px;
}
INPUT.text{
	border: solid 1px #79371f;
}
INPUT.btn{
	background: #6d331f;
	color: #FFF;
	font-size: 11px;
	border: solid 1px #a37869;
	cursor: pointer;
	cursor: hand;
	padding: 2px 5px;
}

FORM TD{
	padding: 2px 5px;
}
.star{
	color: red;
}
#events-selector{
	
}
#events-selector .head{
	padding: 10px 0;
}
#events-selector .selects{
	padding: 4px 0;
}
#events-selector .selects TABLE{
}
#events-selector .selects TABLE TD{
	padding: 3px 10px 3px 0;
}
#events-selector .selects TABLE .ttl TD{
	font-weight: bold;
	padding: 3px 0 1px;
}
#events-selector .selects TABLE TD.year SELECT{
	width: 65px;
}
#events-selector .selects TABLE TD.month SELECT{
	width: 100px;
}
#events-selector .selects TABLE TD.day SELECT{
	width: 45px;
}
#events-selector .selects TABLE TD.type SELECT{
	width: 160px;
}
#events-holder{}
#events-holder .date-event{
	padding: 3px 0;
}
#events-holder .sorry{
	color: red;
	font-weight: bold;
}

#ekran1 .photo{
	width: 80px;
	height: 100px;
	background: #EEE;
	position: relative;
	top: 10px;
	left: 10px;
}




/*  Чат гроссмейстера */
.hidden {
	display: none;
}

.gm_chat {
	margin-left: 30px;
	float: left;
	display: inline;
}

.gm_chat .message-wrap,
.gm_chat .messages,
.gm_chat .add-message
{
	width: 440px;
}

.gm_chat .add-message input.text {
	width: 330px;
	height: 20px;
	font-size: 16px;
}

.gm_chat .chat .add-message {
	margin-top: 15px;
}

.gm_chat .chat .pole {
	float: left;
	display: inline;
}

.gm_chat .chat .img {
	float: right;
	display: inline;
}

.gm_chat .chat .img IMG {
	margin: 0;
}

.gm_chat H3 A {
	color: #ba926f
}

.gm_chat H3 {
	color: #7f4537
}

.gm_chat #user-chat H3 SPAN {
	padding-right: 20px;
}

.gm_chat #gm-chat H3 SPAN {
	padding-left: 20px;
}


.gm_chat #gm-chat .add-message {
	display: none;
}

.gm_users-online {
	position: static !important;
	float: left;
	display: inline;
	margin-left: 40px;
}

.popup .button2 {
	padding-bottom: 5px;
}

.popup h4 {
	margin: 0;
	margin-bottom: 10px;
}

.popup {
	background-color: #cec3a6;
	padding: 10px;
}


#users-online .user {
	text-decoration: underline !important;
}

#users-online .noneunderline,
#users-online .here
{
	text-decoration: none !important;
}

#users-online .here {
	font-size: 110%;
	font-weight: bold;
}

#users-online .container{
	height: 120px;
	overflow: auto;
	width: 350px;
	font-size: 110%;
}

.messages .time {
	float: none !important;
	font-size: 80%;
}

.messages .name {
	float: left;
	display: inline;
	margin: 0 !important;
}

.admin .name, 
.admin .text {
	color: red;
}

.messages .name, 
.messages .text {
	padding: 0 !important;
}

.messages .name {
	margin-right: 5px !important;
}

.messages .text {
	font-weight: normal;
}

.gm_user_chat .message-wrap,
.gm_user_chat .messages,
.gm_user_chat .add-message
{
	width: 920px;
}

.gm_user_chat .add-message input.text {
	width: 810px;
}

.gm_chat .sorry {
	margin-top: 10px;
}


.gm_chat .add-message {
}




.gm_lesson .left-col {
	width: 988px !important;
}

.gm_lesson .lesson {
	width: 274px !important;
	float: left !important;
	margin: 0 47px 30px 0 !important;
	border: 2px solid #efeae1;
}

#lessons-cont .over{
	border: solid 2px black;
}

#lessons-cont .here{
	border: solid 2px red;
}

#lessons-cont {
	position: relative;
}

#lessons-cont {
	min-height: 750px;
	_height: 750px;
}

.right-col {
	position: absolute;
	top: 0px;
	left: 0px;
}

#lessons .all {
	display: none;
}

.title_new {
	display: none;
	color: #85452a;
	font-size: 80%;
}

.title_new H2 {
	font-size: 16px;
}

.pages {
	float: right;
	color: #85452a;
	margin-right: 60px;
	display:inline
}

*html .left-col {
	margin-left: 13px;
}

.pages a {
	color: #b78045;
}


.gm_lesson .edit_now {
	border: 2px solid #08a10f !important;
}

.gm_lesson .lesson{
	cursor: hand;
	cursor: pointer;
}

.p-left IMG {
	margin-left: 4px;
}


#patterns .pattern .str {
	width: 7px;
	height: 9px;
	visibility: hidden;
	background: url(../i/str.gif) no-repeat;
	cursor: move !important;
}

#patterns .over .str {
	visibility: visible !important;
}

#patterns .over {
	background: #f8f6f2 !important;
}

#fig {
	width: 140px;
	height: 142px;
	background: url(../i/fig.png) no-repeat;
	position: absolute;
	left: 500px;
	top: 23px;
}

.add_item {
	display: none;
}

.content-box ul { list-style-type: none; margin: 0px; padding: 0px }
.content-box li {  min-height: 80px; _height: 80px }

.popup_bigimg {
	position: absolute;
	display: none;
	z-index: 990
}

INPUT.btn_patterns {
	background: transparent;
	color: #431203;
	font: bold 13px Arial;
	margin:0 10px;
	border: 0px;
	padding-top: 2px;
	_padding-top: 0px;
}

.hover INPUT.btn_patterns {
	color: #fff;
}

.button2 {
	cursor: hand;
	cursor: pointer;
}

.calendar tbody TD.hilite {
	background: none;
	background-color: #fff;
}


#lev-root .move {
}

#text-content table.tbl td.theader { background: #bfa68a; color:#fff; font-weight: bold; }

#text-content table.tbl td { border-bottom: 1px solid #bfa68a; padding: 2px 5px; }



body#page404 { background: #dfd7c3; }
body#page404 #main {position: relative; min-height:630px;}
* html body#page404 #main {height:630px;}

#bg404 { position: absolute; top: 105px; left: 105px; background: url(../public/i/404bg.jpg); height: 418px; width: 585px; }
#image404 { position: absolute; top:110px; left: 400px; height: 114px; width: 201px; }
#text404 { font-size: 14px; color: #4f2313;  position: absolute; top: 275px; left: 425px; width: 395px; }
	#text404 a {color: #4f2313; }

.submenuLine { margin:15px  0 0 0;  }
.submenuLine ul { margin: 0; padding: 0; position: relative;  }
	.submenuLine li { float: left; padding: 0; margin: 0; background: none;  }
		.submenuLine a { line-height: 12px; font-size: 12px; text-decoration: underline; padding: 5px; }
		.submenuLine a:hover { text-decoration: none; }
		.submenuLine li.current a { text-decoration: none; font-weight: bold; font-size: 16px; }

#lessons-main { position: relative; }
.lessons-opened, .lessons-all { position: absolute; top: 33px; left: 255px; z-index: 100; width: 100px; line-height: 12px; font-size: 11px; }
.lessons-opened { color: #287700; }
.lessons-all { color: #543929; left: 375px;}
.lessons-opened span, .lessons-all span { position: absolute; left: 47px; top:6px;  font-size: 20px; padding: 0 4px; font-weight: bold; letter-spacing: -1px; }
.lessons-opened a, .lessons-all a { text-decoration: none; }
.lessons-opened a:hover, .lessons-all a:hover { text-decoration: underline; }
.lessons-opened a { color: #287700; }
.lessons-all a { color: #543929; }

#text-content .sitemap ul { margin: 0; padding: 2px 0 5px 15px; }
#text-content .sitemap ul li { margin: 0; padding: 2px 0 7px 0; }
#text-content .sitemap li li { font-size: 12px; font-weight: bold; }
#text-content .sitemap li li li { font-size: 12px; font-weight: normal; padding: 1px 0 1px 0; }


#auth_form {
	display: none;
}

#auth_form #ekran1 {
	position: static;
}