html, body {
	background-color: #f5f5f5;
	height: 100%;
	margin: 0;
	padding: 0;
	text-align: center;
	width: 100%;
	}
	

div.defaultSkin.mce_forecolor {
	position: fixed !important;
	}

.layout_base {
	width: 1024px;
	height: 100%;
/*
	border-left: 1px solid #dddddd;
	border-right: 1px solid #dddddd;
	background: #ffffff url("/i/design/day_bg2.jpg") no-repeat scroll left top;
*/
}


.layout_base td {
	text-align:left;
}

#base_layout table,
.layout table {
	width:100%;
}

#fancybox-outer {
	background-color: #F5F5F5 !important;
}


.clear { clear: both; }

#base_layout .YMaps table,
.layout .YMaps table,
.YMaps table,
.YMaps-popup table {
	width:auto;
}


/* Комментарии */

.comment {
	background:transparent url(/i/design/CommentBalloon.gif) no-repeat scroll -419px 0;
	display:block;
	float:right;
	margin:5px 0 10px;
	padding-top:5px;
	width:419px;
	clear:both;
	position: relative;
	}
	.comment .rang {
		position: relative;
		font-size: 11px;
		top: -2px;
		}
	.comment div.text {
		background:#FEFCCA none repeat scroll 0 0;
		border-color:#E5E5E5;
		border-style:solid;
		border-width:0 1px;
		color:#57390D;
		margin:0;
		padding:1px 1px 0;
		}
		.comment .text p {
			margin:2px 20px 10px;
			}
	.comment p.metadata {
		background:transparent url(/i/design/CommentBalloon.gif) no-repeat scroll -838px 100%;
		font-size:0.9em;
		margin:0 -2px;
		padding:0 15px 6px;
		text-align:center;
		}
		.comment .metadata,
		.comment .metadata a {
			border:medium none;
			color:#AA701B;
			}
	.comment .author,
	.comment .author a {
		border-style:none;
		color:#434343;
		}
	.comment .author {
		text-transform: capitalize;
		background:transparent url(/i/design/CommentBalloon.gif) no-repeat scroll 0 0;
		float:right;
		margin:-2px 0 0;
		padding:2px 12px 2px 32px;
		}
	.comment.odd {
		float:left;
		}
		.odd .author {
			background-position:100% 0;
			float:left;
			padding:2px 22px 2px 12px;
			}

.rang { /* Подсветка всем неназначенным */
	color: #086EB7;
	}
	.rang_0 { /* Аноним */
		color: #A3A3A3;
		}
	.rang_1 { /* Гость */
		color: #7EB708;
		}
	.rang_2 { /* Друг */
		color: #7EB708;
		}
	.rang_3 { /* Создатель */
		color: #bf2507;
		font-weight: bold;
		}
	.rang_4 { /* Партнер */
		color: #E47100;
		font-weight: bold;
		}
	.rang_5 { /* Админ */
		color: #bf2507;
		font-weight: bold;
		}
	.rang_6 { /* Модератор */
		color: #ff7700;
		font-weight: bold;
		}
	.rang_7 { /* Активист */
		color: #649C43;
		font-weight: bold;
		}
	.rang_9 { /* Корреспондент */
		color: #649C43;
		}
	.rang_10 { /* Хиро */
		color: #FF00A1;
		font-weight: bold;
		}
	.rang_11 { /* Зам. главы МО Анапа */
		color: #659ABF;
		}
	.rang_12 { /* Глава МО Анапа */
		color: #659ABF;
		font-weight: bold;
		}
	.rang_13 { /* Командир роты ДПС г-к Анапа */
		color: #086EB7;
		}

#base_layout {
	position: relative;
}
/*
.layout {
	text-align: left;
	height: 100%;
	min-height: 100%;
	max-width: 1600px;
	min-width: 950px !important;
	margin: auto;
	background: url('/i/design/day_bg2.jpg') left top no-repeat scroll;
}

.layout ul {
	padding: 10px 20px;
}

.layout ul,ol {
	list-style-position: outside;
}

.layout li {
	line-height: 130%;
	margin-bottom: 0.5em;
}
*/

.content p {
	text-indent: 2em;
	line-height: 1.8em;
}

#footer {
	clear: both;
}

.seo_text p {
	text-indent: 2em;
	margin: 0 0 1em;
}


.site_content2 {
	padding: 15px 30px 20px;
}

td {
	font-family: Arial,sans-serif;
	font-size: 12px;
	color: #161f26;
}

a{color:#0d87ca;text-decoration:underline;}
a:hover{color:#0d87ca;text-decoration:none;}

/*
a:visited {color:#990099;}
a:visited {text-decoration:underline; color:#992299;}
.q_link a:visited {color:#1a3dc1;}
*/

a:hover,
a.q_link:hover,
a.q_link:hover span	{
	color:#D01F10;
	border-color:#D01F10;
}

a,
a.q_link,
a.q_link span {
	color:#0D87CA;
	border-color:#0D87CA;
}



a.q_link {position:relative; top:-0.13em; text-decoration: none; border-bottom-width: 0.09em; border-bottom-style: dashed; cursor:pointer;}
a.q_link span {position:relative;top:0.13em;}
/*
a.q_link:visited {color:#1a3dc1;}
*/

a.q_link.red,
a.q_link.red span {
	color:#ea661e;
	border-color: #ea661e;
}

.content {
	}
	.content p,
	.content ul,
	.content ol {
		margin-bottom: 1em;
	}


.seo_block {
	margin: 10px 0 5px;
}


.top_menu tr.menu_tr td.menu_item {
	text-align:center;
	background: transparent url('/i/design/menu_bg.gif') top left repeat-x;
	padding: 10px 15px 0;
	font-size:80%;
}

.top_menu tr.menu_tr td.menu_item.bg_green {
	background-image: url('/i/design/menu_bg_green.gif');
}

.top_menu .menu_tr td.menu_item a.menu_link {
	height:18px;
	color:#fff;
	text-decoration:none;
	font: normal 1.6em/0.8em Tahoma, serif;
}

.top_menu .sub_menu {
	background-color: #dad7c1;
	border: 1px solid #a4a28f;
	border-top: none;
	position: absolute;
	z-index: 20;
	display: none;
	margin: 27px 0 0 -15px;
	padding: 15px;
}

.user_panel {
	text-align:left;
	width: 148px;
}

.user_panel div {
	margin: 0 0 10px 0;
}


.ribbon_dual_list {
	float:left;
	width: 45%;
}


#login_form_btn {
	width: 150px;
}

/*
.base_content2 {
	background: #eae8d9 url('/i/design/bottom_right_shell3.jpg') bottom right no-repeat;
}
*/

table td {
	vertical-align:top;
	text-align:left;
}


/* ЗАГОЛОВКИ */
h3.title a{color:#333;text-decoration:underline;}
h3.title a:hover{color:#0d87ca;text-decoration:none;}
h3.title {
	font-size:25px;
	color:#222;
	font-weight:normal;
}
h1.title {
	font-size:27px;
	color:#222;
	font-weight:normal;
}
h3.title.margined {
	position:relative;
	margin-left: 4px;
	padding-left: 20px;
	background: transparent url('/i/design/checked_green.gif') 0 10px no-repeat;
}

/* ЛЕНТЫ */
.ribbon_list_entry {
	margin:10px 0 15px;
}

.more_photo_button,
.more_photo_button2{
	background-color: #33781b;
	color: #fff;
	text-decoration: none;
	padding: 5px;
	position: relative;
	top: -10px;
	left: 330px;
	border: 1px solid #EAE8D9;
}

.more_photo_button2{
	float:right;
	position: relative;
	top: -20px;
	left: 10px;
}

#menu_left {
	position: absolute;
	top: 170px;
	left:102px;
	background: transparent url('/i/design/menu_left.gif') top right no-repeat;
	height: 64px;
	width: 28px;
}

#menu_right {
	position: absolute;
	top: 170px;
	right:108px;
	background: transparent url('/i/design/menu_right.gif') top left no-repeat;
	height: 64px;
	width: 28px;
}

.base_bottom {
/*
	background: transparent url('/i/design/bottom_right_shell4.jpg') bottom right no-repeat;
*/
	vertical-align: middle;
}


.news_date {
	color:#555;
}


/* БЛОК КАТАЛОГА */
.catalog_block {
	padding-top:10px;
}

.catalog_block .catalog_block_entry {
	border-bottom:1px dashed #aaa; margin: 10px 0 2px;
}

.catalog_block .catalog_block_entry td {
	padding: 0 0 12px;
}



.news_title {
	font-weight:bold;
}

.catalog td {
	padding:10px;
}

.catalog thead td {
	background-color:#f1faff;
	text-align:center;
}

div#bottom_right_shell  {
	position:absolute;
	bottom:0;
	right:0;
	width: 369px;
	height: 271px;
	background: transparent url('/i/design/bottom_right_shell.jpg') bottom right no-repeat
}
div#shells_bg {background: transparent url('/i/design/shell_and_stone.gif') bottom left no-repeat}
div#step_bg {background: transparent url('/i/design/step.gif') top right no-repeat}

.catalog tbody td {
	background-color:#fff;

}



.gradient {
	border-collapse: separate;
}

.gradient .tl,
.gradient .tc,
.gradient .tr {
	empty-cells: show;
	background-color: #e1dfd0;
	background: #e1dfd0 url('/i/design/gradient.png') 0 0 repeat-x;
}

.gradient .tl,
.gradient .tr {
	width: 10px;
	background-position: 0 -416px;
}


.gradient .tc {
	background-position: 0 -416px;
}

.gradient .middle .tc {
	padding: 0 10px;
}

.gradient .top .tl {
	background-position: 0 0;
}
.gradient .top .tr {
	background-position: -10px 0;
}

.gradient .bottom .tl {
	background-position: 0 -406px;
}

.gradient .top .tl,
.gradient .top .tr,
.gradient .bottom .tl,
.gradient .bottom .tc,
.gradient .bottom .tr {
	height: 10px;
	padding: 0;
}

.gradient .bottom .tr {
	background-position: -10px -406px;
}

.gradient .bottom .tc {
	background-position: 0 -822px;
	background-repeat: repeat-x;
}


.catalog_option {
	color: #683038;
}

/* Формируем поля для форм и прочего */
div.f_i { clear: both; margin-bottom: 15px }
/*
div.f_i,
div.f_i > label { }
*/
/*
div.f_i label { float: left; width: 150px; text-align: right }
div.f_i .data { padding-left: 180px;}
*/
div.f_i .data { margin: 4px 0 0;}
div.f_i .data .description { color: #9EA28E; font-size:11px; margin: 5px 0 0 5px;}



div.f_i input.text,
div.f_i textarea.text {
width: 100%;
padding: 1px;
margin: 0;
font-family: Verdana, Arial, 'Geneva CY', sans-serif;
font-size: 12px;
background: #ffffff url('/system/core/i/input_text_bg2.gif') left top repeat-x;
border-top: none;
border-right: 1px solid #b4b4b4;
border-left: 1px solid #b4b4b4;
border-bottom: 1px solid #dadada;
color: #444;
background-color: #fff;
}

div.f_i select.select,
div.f_i select.multi_select {
padding: 1px;
margin: 0;
font-family: Verdana, Arial, 'Geneva CY', sans-serif;
font-size: 12px;
background: transparent url('/system/core/i/input_text_bg2.gif') left 0 repeat-x;
border-top: none;
border-right: 1px solid #b4b4b4;
border-left: 1px solid #b4b4b4;
border-bottom: 1px solid #dadada;
color: #444;
background-color: #fff;
}

div.f_i input.text,
div.f_i select.select {	
height: 22px;
}

div.f_i input.text,
div.f_i textarea.text {
font-size: 13px;
line-height: 13px;
padding: 1px 2px 0;
}

div.f_i textarea.text {
min-height: 2em;
}

div.f_i input.text {
height: 20px;
width: 450px;
}

div.f_i input.radio {
vertical-align: middle;
}
