/* -----CSS Document----- */ /* Инициализация */
body { /*background-color: rgb(0, 0, 0);*/
	font-family: Arial, Helvetica, sans-serif;
		padding: 0px;
	margin: 0px;
}

/* Сcылки */
a {
	color: #1F83E7;
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	color: #1F83E7;
	text-decoration: underline;
}
a:active {
	color: #FFFFFF;
	text-decoration: underline;
}
ul {
	list-style-type: none;
}

h1 {
	text-align: center;
	color: #9DADC6;
}

/* -----Позиционирование----- */ /* Вверх */
#top {
	background-image: url(/img/back_repeat_1_x.png);
	background-repeat: repeat-x;
	height: 250px;
	width: 100%;
	position: fixed;
	padding-top: 0px;
	margin-top: 0px;
}
#clear {
	height: 250px;
}

/* Левая колонка */
#left {
	width: 300px;
	float: left;
	text-align: left;
	position: fixed;
}

/* Тело страницы */
#right {
	margin-left: 300px;
	min-height: 500px;
	min-width: 700px;
}

#right h1 {
	/*display: none;*/
}
/* Подвал */
#bottom {
	background-image: url(/img/back_repeat_2_x.png);
	background-repeat: repeat-x;
	height: 250px;
	font-size: 10px;
	text-align: center;
	color: #CCCCCC;
}

#bottom a {
	color: #CCCCCC;
}

#bottom-free {
	height: 150px;
}

/* Разметка блоков */
#menulist {
	border: 1px solid #333;
	padding: 5px;
	margin: 10px 10px 20px 5px;
}

#document {
	margin-left: 1%;
	margin-right: 5%;
	padding: 25px;
	text-align: justify;
	border: 1px dashed #9DADC6;
	background-color: #FFFFFF;
}

#logo {
	width: 350px;
	float: left;
	border-style: none;
	padding: 0px;
	margin: 0px;
}

#logo img {
	border: 0px;
	border-style: none;
}

#top_content {
	margin-left: 350px;
}

#top_content a {
	font-size: 14px;
	font-weight: bold;
	color: #FFFFFF;
	padding: 0px;
	margin: 0px;
}

#top_content p {
	display: none;
}

#top_palette {
	float: left;
	margin-left: 700px;
}

/* Palette */
#palette {
	width: 440px;
	height: 30px;
}

#palette div {
	width: 40px;
	height: 20px;
	cursor: pointer;
}

#palette #bw255 {
	background-color: rgb(255, 255, 255);
	float: left;
}

#palette #bw225 {
	background-color: rgb(225, 225, 225);
	float: left;
}

#palette #bw200 {
	background-color: rgb(200, 200, 200);
	float: left;
}

#palette #bw175 {
	background-color: rgb(175, 175, 175);
	float: left;
}

#palette #bw150 {
	background-color: rgb(150, 150, 150);
	float: left;
}

#palette #bw125 {
	background-color: rgb(125, 125, 125);
	float: left;
}

#palette #bw100 {
	background-color: rgb(100, 100, 100);
	float: left;
}

#palette #bw75 {
	background-color: rgb(75, 75, 75);
	float: left;
}

#palette #bw50 {
	background-color: rgb(50, 50, 50);
	float: left;
}

#palette #bw25 {
	background-color: rgb(25, 25, 25);
	float: left;
}

#palette #bw0 {
	background-color: rgb(0, 0, 0);
}

#middle_list {
	list-style-image: url("/img/point.png");
	line-height: 1.5;
}

/* ----- Стили ---------- */
.middle_tex {
	line-height: 1.5;
	font-size: 16px;
	text-indent: 25px;
	background-color: #FFFFFF;
}

.middle_tex_error {
	line-height: 1.5;
	font-size: 16px;
	text-indent: 25px;
	color: red;
	font-weight: bold;
	background-color: #FFFFFF;
}

.middle_tex_center {
	line-height: 1.5;
	font-size: 16px;
	text-indent: 25px;
	text-align: center;
}

/* Круглые углы */
.framed,
.framed .f_r,
.framed .f_b,
.framed .f_l,
.framed .f_c
{
float: left;
position: relative; z-index: 1;
width: auto; height: auto;
margin: 0; padding: 0;
}
.framed .f_tt,
.framed .f_rr,
.framed .f_bb,
.framed .f_ll
{
display: none;
}
.framed
{
margin: 0 30px 15px 0;
background: url('/img/hint-t.png') no-repeat left top;
//background: none;

}
.framed .f_r
{
left: 30px;
background: url('/img/hint-r.png') no-repeat right top;
//background: none;
}
.framed .f_b
{
top: 30px;
background: url('/img/hint-b.png') no-repeat right bottom;
//background: none;
}
.framed .f_c
{
float: none;
position: relative;
left: 30px; top: -15px;
padding: 1px 0; margin: 0 30px 0 0;
background: #E5E5E5;
}
.framed .f_l
{
left: -30px;
padding: 15px 0;
background: url('/img/hint-l.png') no-repeat left bottom;
//background: none;
}
* html .framed .f_r,
* html .framed .f_b,
* html .framed .f_l
{ height: 0; }
* html .framed .f_tt,
* html .framed .f_rr,
* html .framed .f_bb,
* html .framed .f_bb *,
* html .framed .f_ll,
* html .framed .f_ll *
{
display: block;
position: absolute;
left: 0; top: 0;
}
* html .framed .f_tt
{
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=/img/hint-t.png,sizingMethod=crop);
}
* html .framed .f_rr
{
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=/img/hint-r.png,sizingMethod=crop);
}
* html .framed .f_tt,
* html .framed .f_bb
{
width: expression( parentNode.offsetWidth ); height: 30px;
}
* html .framed .f_rr,
* html .framed .f_ll
{
width: 30px; height: expression( parentNode.offsetHeight );
}
* html .framed .f_bb,
* html .framed .f_ll
{
overflow: hidden;
}
* html .framed .f_bb *
{
width: 3000px; height: 30px;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=/img/hint-b.png,sizingMethod=crop);
}
* html .framed .f_ll *
{
width: 30px; height: 3000px;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=/img/hint-l.png,sizingMethod=crop);
}
/* Исправляем неправильный расчет позиции при "нечетной ширине" */
* html .framed .f_rr,
* html .framed .f_bb *
{ right: expression( this.parentNode.offsetWidth % 2 ? -1 : 0 ); left: auto; }
* html .framed .f_ll,
* html .framed .f_ll *,
* html .framed .f_bb,
* html .framed .f_bb *
{ bottom: expression( this.parentNode.offsetHeight % 2 ? -1 : 0 ); top: auto; }
