* {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
}
body {
	font: 12px/18px Arial, Tahoma, Verdana, sans-serif;
	height: 100%;
	background: url('../images/background.jpg');
}
a {
	outline: none;
	text-decoration: none;
	color: #961515;
	font-weight: bold;
}
a:hover {
	color: #44B0EB;
}
p {
	margin: 0 0 18px
}
img {
	border: none;
}
input {
	vertical-align: middle
}
#wrapper {
	width: 100%;
	min-width: 1024px;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}
.clear {
	clear: both;
	overflow: hidden;
	height: 0;
}

ul, ol {
	margin: 0 0 0 2em;
}

/* Шапка
-----------------------------------------------------------------------------*/
#header {
	width: 1024px;
} #header .inner {
	padding: 0 1em;
} #header .logo {
	background: url('../images/logo.png') no-repeat;
	width: 345px;
	height: 138px;
	cursor: pointer;
	float: left;
} #header .logo:hover {
	background: url('../images/logo_hover.png') no-repeat;
} #header .header-menu {
	float: right;
	padding: 3.8em 0 0 0;
} #header .header-menu a {
	display: block;
	text-indent: -9999px;
	width: 80px;
	height: 60px;
	float: left;
	background-image: url(../images/menu.png);
	background-repeat: no-repeat;
	cursor: pointer;
} #header .header-menu #menu_home {
	background-position: 0 0;
} #header .header-menu #menu_home:hover {
	background-position: 0 -60px;
} #header .header-menu #menu_services {
	background-position: -80px 0;
} #header .header-menu #menu_services:hover {
	background-position: -80px -60px;
} #header .header-menu #menu_magaz {
	background-position: -160px 0;
} #header .header-menu #menu_magaz:hover {
	background-position: -160px -60px;
} #header .header-menu #menu_downloads {
	background-position: -240px 0;
} #header .header-menu #menu_downloads:hover {
	background-position: -240px -60px;
} #header .header-menu #menu_contacts {
	background-position: -320px 0;
} #header .header-menu #menu_contacts:hover {
	background-position: -320px -60px;
} #header .header-menu #menu_forum {
	background-position: -400px 0;
} #header .header-menu #menu_forum:hover {
	background-position: -400px -60px;
}

/* Середина
-----------------------------------------------------------------------------*/
#middle {
	width: 100%;
	padding: 0 0 130px;
	height: 1%;
}
#middle:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#middle #layout {
	width: 1024px;
}
#middle #layout td.right-top {
	background: url('../images/cont-right-top.png') no-repeat;
	height: 30px;
	width: 30px;
}
#middle #layout td.left-top {
	background: url('../images/cont-left-top.png') no-repeat;
	height: 30px;
	width: 30px;
}
#middle #layout td.top {
	background: url('../images/cont-top.png') repeat-x;
	height: 30px;
}
#middle #layout td.left {
	background: url('../images/cont-left.png') repeat-y;
	width: 30px;
}
#middle #layout td.right {
	background: url('../images/cont-right.png') repeat-y;
	width: 30px;
}
#middle #layout td.right-bottom {
	background: url('../images/cont-right-bottom.png') no-repeat;
	height: 30px;
	width: 30px;
	display: block;
}
#middle #layout td.left-bottom {
	background: url('../images/cont-left-bottom.png') no-repeat;
	height: 30px;
	width: 30px;
	display: block;
}
#middle #layout td.bottom {
	background: url('../images/cont-bottom.png') repeat-x;
	height: 30px;
}
#middle #layout td.center {
	background: #fff;
	padding: 10px;
	text-align: left;
}
#middle #header {
	height: 100px;
}

/* Контент
-----------------------------------------------------------------------------*/

#contentwrapper {
	float: left;
	width: 100%;
}

#content {
	margin-right: 290px;
} #content.full {
	margin-right: 0;
} #content h1 {
	color: #2E2E2E;
	font-size: 24px;
	font-weight: normal;
	text-transform: uppercase;
	padding: 10px 0 5px 0;
} #content h2 {
	color: #2E2E2E;
	font-size: 20px;
	font-weight: normal;
	text-transform: uppercase;
	padding: 10px 0 5px 0;
} #content h3 {
	color: #2E2E2E;
	font-size: 18px;
	font-weight: normal;
	text-transform: uppercase;
	padding: 7px 0 5px 0;
} #content h4 {
	color: #2E2E2E;
	font-size: 16px;
	font-weight: normal;
	text-transform: uppercase;
	padding: 5px 0;
} #content h5 {
	color: #2E2E2E;
	font-size: 14px;
	font-weight: normal;
	text-transform: uppercase;
	padding: 5px 0;
} #content p {
	text-align: justify;
	margin: 5px 0;
} #content .title {
	padding: .3em;
	margin: 9px 0 .5em 0;
	color: #961515;
	font: 24px Tahoma, Verdana, sans-serif;
	letter-spacing: 1px;
	background: #f9f9f9;
	text-shadow: 1px 1px 1px #ccc;
}


/* Правый сайдбар
-----------------------------------------------------------------------------*/

#rightcolumn {
	float: left;
	width: 280px;
	margin-left: -280px;
} #rightcolumn .sidebar {
	color: #575757;
} #rightcolumn .sidebar-header {
	padding: 22px 20px 0 20px;
	color: #fff;
	font-weight: bold;
	font-size: 140%;
	height: 40px;
	width: 276px;
	text-shadow: 1px 1px 2px #fff;
} #rightcolumn .sidebar-content {
	padding: 0 5px 10px 10px;
	text-align: justify;
} #rightcolumn .sidebar-header.header-1 {
	background: url('../images/sidebar-header-1.png') no-repeat;
	color: #8a8585;
} #rightcolumn .sidebar-header.header-2 {
	background: url('../images/sidebar-header-2.png') no-repeat;
	color: #667c83;
}

/* подвал
-----------------------------------------------------------------------------*/
#footer {
	margin: -100px auto 0;
	min-width: 1024px;
	height: 100px;
	background:  url('../images/footer_background.png');
} #footer .inner {
	padding: 2em 5em;
	background:  url('../images/top_footer_background.png') top left repeat-x;
	color: #ccc;
} #footer a {
	color: #fff;
	text-decoration: none;
	font-weight: bold;
} #footer a:hover {
	color: #bbb;
}

/* Форма
-----------------------------------------------------------------------------*/

fieldset#gray-form {
	border: 1px dashed #CCC;
	padding: 10px;
	margin: 20px 0 20px 0;
}
fieldset#gray-form .row {
	display: block;
}
fieldset#gray-form legend {
	font-weight: bold;
	line-height: 1.1;
	color: #fff;
	background: #666;
	border: 1px solid #333;
	padding: 2px 6px;
}
fieldset#gray-form label {
	width: 200px;
	height: 32px;
	margin: 3px 2px 0 0;
	padding: 11px 0 0 6px;
	background-color: #CCCCCC;
	float: left;
	display: block;
	font-size: 135%;
	letter-spacing: -1px;
	font-weight: normal;
	line-height: 1.1;
	color:#666;
}
fieldset#gray-form label.textarelabel {
	width: 200px;
	height: 32px;
	margin: 3px 2px 0 0;
	padding: 11px 0 0 6px;
	background-color: #CCCCCC;
	float: left;
	display: block;
	font-size: 135%;
	letter-spacing: -1px;
	font-weight: normal;
	line-height: 1.1;
	color:#666;
	min-height: 210px;
}
fieldset#gray-form .div_texbox {
	width: 410px;
	float: right;
	background-color: #E6E6E6;
	min-height: 35px;
	margin-top: 3px;
	padding: 5px 0 3px 5px;
}
fieldset#gray-form .textbox {
	background: #FFFFFF url(../images/16t.png) left no-repeat;
	width: 377px;
	font: normal 18px Arial;
	color: #999999;
	padding: 3px 5px 3px 19px;
}
fieldset#gray-form .textareabox {
	background-color:#FFFFFF;
	width: 391px;
	min-height: 200px;
	font: normal 18px Arial;
	color: #999999;
	padding: 3px 5px 3px 5px;
}
fieldset#gray-form .textbox:focus, fieldset#gray-form .textbox:hover,
fieldset#gray-form .textareabox:focus, fieldset#gray-form .textareabox:hover {
	background-color: #F0FFE6;
}
fieldset#gray-form .button_div {
	width: 400px;
	float: right;
	background-color: #fff;
	text-align: center;
	height: 40px;
	margin-top: 18px;
	padding: 5px 0 3px;
}
fieldset#gray-form .buttons {
	background: #e3e3db;
	font-size: 12px;
	color: #989070;
	padding: 6px 14px;
	border-width: 2px;
	border-style: solid;
	border-color: #fff #d8d8d0 #d8d8d0 #fff;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
}
fieldset#gray-form .buttons:hover {
	cursor: pointer;
}
#recaptcha_table input {
	position: relative;
	left: 0;
}

/* Стили плагинов
----------------------------------------------------------------------------*/
/* Системные сообщения */
div #error_message {
	background: #ffeaef;
	border: 3px solid #ff829f;
	left: 55px;
	margin-bottom: 15px;
	padding: 15px;
}

div #success_message {
	background: #eaf4ff;
	border: 3px solid #82c0ff;
	left: 55px;
	margin-bottom: 15px;
	padding: 15px;
}

/* Пагинация */
div.pagination {
	padding: 0px;
	margin: 10px;
	line-height: 40px;
	text-align: center;
	height: 40px;
}

div.pagination a {
	padding: 2px 5px 2px 5px;
	margin: 2px;
	text-decoration: none;
	color: #44B0EB;
}

div.pagination a:hover {
	color: #44e5eb;
}

div.pagination span.current {
	padding: 2px 5px 2px 5px;
	margin: 2px;
	font-weight: bold;
	background-color: #44B0EB;
	color: #ffffff;
}

div.pagination span.disabled {
	padding: 2px 5px 2px 5px;
	margin: 2px;
	color: #dddddd;
}

/* Статьи */
div.article_title {
	color: #2E2E2E;
	font-size: 24px;
	font-weight: normal;
	text-transform: uppercase;
	padding: 10px 0 5px 0;
	text-shadow: 1px 1px 3px #ccc;
}

a.article_title_link {
	color: #4384b1;
	font-size: 24px;
	font-weight: normal;
	text-transform: uppercase;
	text-decoration: none;
	padding: 10px 0 5px 0;
}

a.article_title_link:hover {
	color: #44b0eb; 
	font-size: 24px;
	font-weight: normal;
	text-transform: uppercase;
	padding: 10px 0 5px 0;
}

.article_footer {
	border: 1px dotted #ccc;
	padding: 10px;
	margin: 20px 0;
	position: relative;
	height: 16px;
	background: #f6fafd;
	border: dotted #afc4d3;
	border-width: 1px 0 1px 0;
	color: #35607e;
	opacity: 0.3;
}

.article_footer:hover {
	opacity: 1;
}

.article_footer_left {
	float: left;
}

.article_footer_right {
	text-align: right;
	float: right;
}

.article_footer_right a { 
	color: #35607e;
	margin: 0 5px;
}

.article_print_link {
	background: url('../images/printer_empty.png') no-repeat;
	height: 16px;
	padding: 0 0 0 20px;
}

.article_print_link:hover {
	background: url('../images/printer.png') no-repeat;
}

.article_comments_link {
	background: url('../images/comments.png') no-repeat;
	height: 16px;
	padding: 0 0 0 20px;
}

.article_comments_link:hover {
	background: url('../images/comments_add.png') no-repeat;
}

.article_read_more {
	
}

#content .hr {
	background: url('../images/cut.gif') right repeat-x;
	height: 20px;
}

/* Комментарии
-------------------------------------------------------------------*/
.comment { 
	overflow: hidden; 
	position: relative;
	zoom: 1;
}
.comment .content { 
	background: #f1fafd;
}
.comment .content.two { 
	background: #f6f6f6 !important;
}
.comment .content .tb { height: 7px; overflow: hidden; background: url(../images/comment-tb.gif) repeat-x; }
.comment .content .tl { height: 7px; background: url(../images/comment-tl.gif) no-repeat left top; }
.comment .content .tr { height: 7px; background: url(../images/comment-tr.gif) no-repeat right top; }
.comment .content .bb { height: 15px; background: url(../images/comment-bb.gif) repeat-x; margin-left: 24px; }
.comment .content .bl { height: 15px; background: url(../images/comment-bl.gif) no-repeat left bottom; }
.comment .content .br { height: 15px; background: url(../images/comment-br.gif) no-repeat right bottom; }
.comment .content .text { 
	border-left: 1px solid #dddede;
	border-right: 1px solid #dddede;
	padding: 5px 25px 5px 10px;
	overflow: hidden;
	zoom: 1;
}
.comment .info {
	margin: 0 14px 25px 14px;
	overflow: hidden;
	zoom: 1;
}
.comment .info p a {
	color: #000;
	text-decoration: none;
}
.comment .info p a:hover { 
	color: #555;
}
.comment .info .left {
	float: left;
	font-weight: bold;
}
.comment .info .right {
	float: right;
	font-style: italic;
}

/* Плагин галереи
-------------------------------------------------------------------*/

#image_gallery_image img {
	border: 1px solid #eee;
	padding: 2px;
}

#image_gallery_sections img {
	border: 1px solid #eee;
	padding: 2px;
}

#image_gallery_thumbnails img {
	border: 1px solid #eee;
	padding: 2px;
}