body {
	margin: 0;
	padding: 0;
	background: #eee url(../images/bg.png) repeat-x left top;
	font-size: 14px;
	font-family: Arial;
	color: #3d3d3d;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.2;
	font-family: Georgia;
	color: #990000;
}

img {
	border: none;
}

a {
	color: #3d3d3d;
}

a:hover {
	text-decoration: none;
}

input[type=button], input[type=text], textarea {
        border: 1px solid #ccc;
        background-color: #fff;
        font-size: 14px;        
        color: #3d3d3d;
		border: 1px solid lightgray;
		max-width: 530px;
		padding: 10px;
		margin-left: 0;
}

input[type=submit] {
	padding: 5px 10px;
}

.clear {
	clear: both;
}

#layout {
	min-width: 1000px;
	margin: 0 auto;
}

#header {
	background: #fff url(../images/header-bg-new.jpg) repeat-x bottom right;
	height: 300px;
	border-top: 4px #990000 solid;
	font-weight: bold;
	padding: 0;
	position: relative;
}

#header_contacts {
	position: absolute;
	top: 1px;
	right: 20px;
}

#logo {
	
}

#main_menu {
	background: #000 url(../images/bg_menu.png) repeat-x left top;
	height: 37px;
	line-height: 1;
}

#main_menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#main_menu li {
	float: left;
	margin: 10px 10px 0;
	padding: 0 10px;
	height: 17px;
	border: none;
	border-radius: 3px;
	overflow: hidden;
}

#main_menu li:hover {
	background: transparent url(../images/bg_menu_hover.png) repeat-x left top;
}

#main_menu li.active {
	background: transparent url(../images/bg_menu_active.png) repeat-x left top;
}

#main_menu li a {
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 12px;
}

#content {
	padding: 20px 5px;
	background: #f9f9f9 url(../images/bg_content.png) repeat-x left top;
	border-left: 1px solid #dddddd;
	border-right: 1px solid #dddddd;
}

#breadcrumbs {
	padding: 0 10px;
	width: 560px;
}

td#leftcol {
	min-width: 200px;
	max-width: 300px;
	padding: 20px 10px 20px 5px;
	margin-top: 22px;
}

#leftcol_blog {
	background-color: #fff;
	border: 1px solid #ccc;
	padding: 10px;
}

td#maincol {
	
	padding: 20px 10px 20px 10px;
}

td#sidebar {
	width: 319px;
	padding: 20px 10px;
	margin-top: 22px;

}

#sidebar .banner_container {
	text-align: center;
	margin-bottom: 20px;
}

#sidebar .banner_container .banner {
	border: 1px solid #ccc;
	margin: 0 auto;
}

#sidebar .banner img {
	width: 100%;
	height: auto;
}

#sidebar .banner_container>a {
	text-decoration: none;
}

/* Каталог предприятий */

.catalog_item {
	float: left;
	width: 270px;
	margin-right: 10px;
	margin-bottom: 30px;
	text-align: center;
	background-color: #fff;
	border: 1px solid #eee;
	padding: 5px 5px 15px 5px;
}

.catalog_item img {
	width: 100%;
	height: auto;
	margin-bottom: 10px;
}

/* Блог */

.blog_item {
	background-color: #fff;
	border: 1px solid #ccc;
	padding: 10px;
	margin-bottom: 30px;
}

.blog_item a:first-child {
	text-decoration: none;
}

.blog_item a:first-child :hover {
	color: gray;
}

.video_right a:first-child {
	text-decoration: none;
}

.video_right a:first-child :hover {
	color: gray;
}

.date {
	background-color: #990000;
	color: #fff;
	padding: 2px 5px;
	width: 110px;
	font-size: 12px;
	border-radius: 3px 3px 0 0;
}

.date_alone {
	background-color: #990000;
	color: #fff;
	padding: 2px 5px;
	width: 110px;
	font-size: 12px;
	border-radius: 3px;
	margin-bottom: 20px;
	margin-top: -10px;
}

#pagination {
	margin-top: -10px;
	font-size: 16px;
}

#pagination span {
	background-color: #990000;
	color: #fff;
	padding: 2px 5px;
	margin-right: 7px;
	border-radius: 3px;
}

#pagination a {
	margin-right: 7px;
}

.blog_image {
	float: left;
	width: 200px;
	height: auto;
	margin-right: 10px;
}

.blog_image_full {
	max-width: 100%;
	height: auto;
}

.blog_more_link {
	text-align: right;
}

#blog_comment_title {
	font-size: 1.5em;
	font-weight: bold;
	color: #3d3d3d;
	border-bottom: 1px solid lightgray;
	margin-top: 40px;
}

#blog_comment_add_link {
	margin-top: 20px;
}

#blog_comment_add_link span {
	border-bottom: 1px dashed #3d3d3d;
	cursor: pointer;
}

#blog_comment_hidden_form {
	display: none;
}

#footer {
	background: transparent url('../images/footer_bg.png') repeat-x left top;
	height: 100px;
	padding: 15px;
}

#footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#footer li {
	float: left;
	margin-right: 20px;
}

#footer p {
	margin-top: 20px;
	font-size: 12px;
}

.share {
	margin-top: 20px;
	border: 1px solid lightgray;
	padding: 5px 10px;
	border-radius: 3px;
}

.fbForm .form { }
.fbForm .name { padding-top: 12px; font-size: 14px; color: #3d3d3d; }
.fbForm .element { padding-top: 2px; }
.fbForm .captcha-test TD { vertical-align: top; padding-right: 15px; }
.fbForm .captcha { padding-top: 3px; }
.fbForm .captcha IMG { border: 1px solid lightgray; }
.fbForm .submit { padding-top: 15px; }
.fbForm .error { font-size: 14px; color: red; display: none; }

#share42 {padding: 6px 6px 0; background: #FFF; border: 1px solid #E9E9E9; border-radius: 4px;}
#share42:hover {background: #F6F6F6; border: 1px solid #D4D4D4; box-shadow: 0 0 5px #DDD;}
#share42 a {opacity: 0.5}
#share42:hover a {opacity: 0.7}
#share42 a:hover {opacity: 1}

.video_right {
	width: 295px;
	background-color: #fff;
	border: 1px solid #ccc;
	padding: 10px;
	margin-bottom: 30px;
}

.video_right img {
	max-width: 100%;
	height: auto;
}

.video_right h1 {
	font-size: 16px;
}

#search_line {
	float: right;
	width: 328px;
	margin-right: 13px;
}

.ya-site-form__search-input-layout-l input {
	padding: 4px 10px 5px 10px;
	position: relative;
	top: -1px;
}

.ya-site-form__search-input-layout-r input {
	padding: 4px 10px 5px 10px;
	position: relative;
	top: -1px;
	background: url(../images/bg_search.png) repeat-x right top;
	border: none;
	color: #fff;
	cursor: pointer;
}

#ya-site-form0 input.ya-site-form__submit {
	color: lightgray !important;
}

#ya-site-form0 input.ya-site-form__submit:hover {
	color: #fff !important;
}

.lc_date {
	font-size: 12px;
}

.lc_blog_item {
	border-bottom: 1px solid lightgray;
	margin-bottom: 15px;
}

.lc_blog_item h2 {
	font-size: 14px;
	margin-top: 5px;
	line-height: 1.5;
}

#header_middle_img {
	width: auto;
}

.category {
	background-color: #990000;
}

.mainpage_bottom_title {
	border-top: 3px solid #990000;
	border-bottom: 1px solid #990000;
	font-size: 20px;
	text-transform: uppercase;
	padding: 5px 0 3px 0;
	margin-left: 15px;
	margin-right: 15px;
}

.mainpage_bottom_title a {
	font-size: 14px;
	text-transform: none;
}

.mainpage_bottom_item {
	margin-left: 15px;
	margin-right: 15px;
	font-size: 12px;
	margin-top: 20px;
	

margin-bottom: 10px;


}

.mainpage_bottom_item a {
	color: #990000;
	margin-bottom: 5px;
	font-size: 14px;
}

.mainpage_bottom_cat_padding {
	padding: 5px 0 10px;
}

.mainpage_bottom_date {
	font-size: 12px;
	color: gray;
	margin: 5px 0 10px;
}

.mainpage_bottom_list {
	margin-bottom: 30px;
}

#mainpage_bottom_table {
	margin-top: 30px;
}