/* =========== © 2016 Centroarts.com =========== */

/* Сброс */

/* --- Layout --- */
body { background: #ededed; }
.wrp { max-width: 1437px; }

/* --- Структура --- */
.conteiner:after, #header:after { clear: both; content: ""; display: table; }
.midside {
	float: left;
	padding: 0 350px 0 13%;
	width: 100%;
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
.rightside {
	float: right;
	width: 300px;
	padding: 0 25px;
	margin-left: -350px;
	position: relative;
}

/* --- Контент --- */
#content, .content_top { position: relative; }

/* --- Сортировка и Хлебные крошки --- */
.pagetools {
	border: 1px solid #d6d6d6;
	border-radius: 2px;
	margin-bottom: 25px;
	position: relative;
	padding-left: 8%;
	width: 100%; height: 52px;
	overflow: hidden;
	font-size: .9em;
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
	#combo-tools .pagetools_in { 
		height: 100px;
		-webkit-transition: all .3s ease .2s; transition: all .3s ease .2s;
	}
	.pagetools_in { color: #919191; }
	.sortbar_in, .speedbar { display: block; height: 22px; padding: 14px 25px; line-height: 22px; }
	.pagetools_back {
		position: absolute;
		left: 0; top: 0;
		width: 8%; height: 50px;
		border-right: 1px solid #d6d6d6;
		text-align: center;
	}
	.pagetools_back .icon {
		display: block;
		margin: 15px auto 0 auto;
		width: 30px; height: 20px;
	}
	#combo-tools.active > .pagetools_in { margin-top: -50px; }
	.breadcrumb .over { vertical-align: baseline; }

	.sortbar_in { white-space: nowrap; }
	.sortbar_in > form { display: inline; }

/* --- Новости --- */
.box, .comment {
	background-color: #fff;
	margin-bottom: 25px;
	border-radius: 2px;
	position: relative;
	box-shadow: 0 1px 3px 0 rgba(0,0,0,0.2); -webkit-box-shadow: 0 1px 3px 0 rgba(0,0,0,0.2);
}
	.box > .heading { padding: 4% 4%; margin: 0; text-transform: uppercase; }
	.box > .heading .hnum { font-size: .6em; display: inline-block; vertical-align: top; margin: 0 0 0 .4em; }
	.box_in { padding: 4% 7%; }

	.story .title { margin: -.1em 0 1em 0; font-size: 20px; }
	.story .title > a {
		color: inherit;
		text-decoration: none !important;
		-webkit-transition: all ease .2s; transition: all ease .2s;
	}
	.story .title > a:hover { color: #3394e6; }

	/* Иконки управления новостью слева */
	.story_icons {
		position: absolute;
		top: 0; left: 0;
		width: 8%;
		list-style: none;
		padding: 4% 0 0 0; margin: -.2em 0 0 0;
	}
	.fixed_story .story_icons { z-index: 1; }
	.story_icons > li { text-align: center; margin: 0 0 10px 0; }

	.story .box_in > .text { font-size: 1.08em; }
	.story .box_in > .text:after { content: ""; display: block; clear: both; }
	.story .box_in > .text > img[style*="left"], .story .box_in > .text > .highslide img[style*="left"] { margin: 2px 4% 4% 0; }
	.story .box_in > .text > img[style*="right"], .story .box_in > .text > .highslide img[style*="right"] { margin: 2px 0 4% 4%; }
	.story .box_in > .text img { max-width: 100%; }

	/* Редактировал... */
	.editdate {
		margin: 4% 0 0 0;
		font-family: Georgia, "Times New Roman", Times, serif;
		font-style: italic;
	}

	/* Кнопка "В закладки" */
	.fav_btn > a, .edit_btn > a {
		display: inline-block;
		padding: 4px;
		width: 16px; height: 16px;
	}
		.fav_btn .icon {
			width: 16px; height: 16px;
			vertical-align: top;
		}
		.fav_btn .icon-fav { fill: #919191; }
		.fav_btn:hover .icon-fav { fill: #3394e6; }
		@media only screen and (min-width: 601px) {
			.fixed_story .fav_btn .icon-fav { fill: #fff; }
			.fixed_story .fav_btn:hover .icon-fav { fill: #fff; }
		}
		
		.fav_btn .icon-star { fill: #fed762; }

	/* Кнопка "Редактировать" */
	.edit_btn > a {
		position: relative;
		-webkit-transition: transform ease .2s; transition: transform ease .2s;
	}
		.edit_btn > a > i, .edit_btn > a:after, .edit_btn > a:before { 
			padding-top: 2px;
			width: 16px; height: 0;
			background-color: #919191;
			overflow: hidden;
			display: block;
			margin: 3px 0;
		}
		.edit_btn > a:after, .edit_btn > a:before { content: ""; }
		.edit_btn > a:hover > i, .edit_btn > a:hover:after, .edit_btn > a:hover:before {
			background-color: #3394e6;
		}
		.edit_btn > a:hover { 
			-webkit-transform: rotate(90deg); transform: rotate(90deg);
		}

	/* Важная новость */
	.fixed_label {
		position: absolute;
		left: 0; top: 0;
		width: 8%; height: 30px;
		padding-top: 4%;
	}
		.fixed_label:before {
			content: "";
			position: absolute;
			left: 50%; top: 0; bottom: 0;
			margin: 0 0 0 -15px;
			background-color: #e85319;
			width: 30px;
		}
		.fixed_label:after {
			content: "";
			position: absolute;
			bottom: 0; left: 50%;
			margin: 0 0 0 -15px;
			border: solid transparent;
			border-bottom-color: #fff;
			border-width: 0 15px 5px 15px;
			z-index: 1;
		}
	
	/* Нижняя часть новости */
	.story_tools { margin-top: 4%; }
		.story_tools > .category { float: right; margin-top: .7em; font-size: .9em; }
		.story_tools > .category .icon { width: 12px; height: 15px; margin: -.2em .4em 0 0; }
		.story_tools > .btn { float: left; margin-right: 2em; }
		.story_tools > .rate { float: left; }
		.story_tools .rate_stars { margin-top: 6px; }

		.rate_like > a, .rate_like-dislike {
			float: left;
			height: 22px; line-height: 22px;
			padding: 6px 12px;
			border: 1px solid #eaeaea;
			border-radius: 18px;
			text-decoration: none !important;
			font-weight: bold;
			color: #919191;
			-webkit-transition: all ease .2s; transition: all ease .2s;
		}
		.rate_like > a:hover { border-color: #3394e6; color: #3394e6; }
		.rate_like .icon { width: 16px; height: 15px; margin: -.2em .3em 0 0; }

		.rate_like-dislike > a {
			display: inline-block;
			width: 22px; height: 22px;
			text-align: center;
		}
		.rate_like-dislike > a .icon {
			width: 14px; height: 15px;
			fill: #787878;
			vertical-align: middle;
			margin: -.3em 0 0 0;
		}
		.rate_like-dislike > a:hover .icon { fill: #3394e6; }
		.rate_like-dislike .ratingplus { color: #88c54d; }
		.rate_like-dislike .ratingminus { color: #e45757; }
		.rate_like-dislike > span { cursor: default; margin: 0 .3em; }

	.story > .meta { font-size: .9em; background-color: #f7f7f7; padding: 2% 7%; border-radius: 0 0 2px 2px; }
		.meta:after, .story_tools:after { clear: both; display: table; content: ""; }
		.meta > ul { list-style: none; padding: 0; margin: 0; }
		.meta > ul > li { display: inline; }
		.meta > ul.left > li { margin-right: 2em; }
		.meta > ul.right > li { margin-left: 2em; }
		.meta .icon { width: 16px; height: 16px; margin: -.2em .4em 0 0; }
		.meta .icon-views { height: 18px; }

	.signature {
		font-size: .9em;
		opacity: .5;
		margin-top: .9em;
	}


	/* Блок: Похожее */
	.relnews {
		margin: -20px 0 0 0; padding: 0;
		list-style: none;
	}
		.relnews > li > a:after { content: ""; display: block; clear: both; }
		.relnews > li > a {
			display: block;
			color: inherit;
			text-decoration: none !important;
			border-bottom: 1px solid #d5d5d5;
			padding: 25px 0 25px 33px;
		}
		.relnews > li:last-child > a { border-bottom-width: 0; }
		.relnews > li > a .icon, .relnews > li > a > b { -webkit-transition: all ease .2s; transition: all ease .2s; }
		.relnews > li > a .icon {
			width: 16px; height: 14px;
			float: left;
			margin: 4px 0 0 -33px;
		}
		.relnews > li > a > * { cursor: pointer; display: block; }
		.relnews > li > a > b { display: block; }
		.relnews > li > a > span {
			font-size: .9em;
			opacity: .5;
			text-transform: lowercase;
			margin-top: .4em;
		}
		.relnews > li > a:hover > b { color: #3394e6; }

	/* Блок: последние комментарии */
	.lastcomm {
		margin: -20px 0 0 0; padding: 0;
		list-style: none;
	}
		.lastcomm > li > a:after { content: ""; display: block; clear: both; }
		.lastcomm > li > a {
			display: block;
			color: inherit;
			text-decoration: none !important;
			border-bottom: 1px solid #d5d5d5;
			padding: 25px 0 25px 33px;
		}
		.lastcomm > li:last-child > a { border-bottom-width: 0; }
		.lastcomm > li > a .icon, .lastcomm > li > a > b { -webkit-transition: all ease .2s; transition: all ease .2s; }
		.lastcomm > li > a .icon {
			width: 16px; height: 14px;
			float: left;
			margin: 4px 0 0 -33px;
		}
		.lastcomm > li > a > * { cursor: pointer; display: block; }
		.lastcomm > li > a > b { display: block; margin-top: .4em;}
		.lastcomm > li > a > span {
			font-size: .9em;
			opacity: .5;
		}
		.lastcomm > li > a:hover > b { color: #3394e6; }


/* --- Информация об ошибках --- */
.berrors {
	background: #ffe6dd;
	border: 1px solid #f0c4b5;
	color: #553c33;
	padding: 20px 25px;
	margin-bottom: 25px;
	height: 1%;
	border-radius: 2px;
	box-sizing: border-box;
}

/* --- Комментарии --- */
/* Форма добавления */
.addcomment { background-color: #f7f7f7; }
	.plus_icon { width: 16px; height: 16px; display: inline-block; vertical-align: middle; position: relative; }
	.addcomment .plus_icon { width: 8%; padding: 10px 0; float: left; margin-top: 4%; }
	.plus_icon > span, .plus_icon > span:before, .plus_icon > span:after {
		overflow: hidden;
		text-indent: -9999px;
		white-space: nowrap;
		position: absolute;
	}
	.plus_icon > span:before, .plus_icon > span:after {
		background-color: #b3b3b3;
		content: "";
	}
	.plus_icon > span {
		width: 16px; height: 16px;
		left: 50%; top: 50%;
		margin: -8px 0 0 -8px;
	}
	.plus_icon > span:after {
		left: 0; top: 50%;
		width: 100%; height: 2px;
		margin-top: -1px;
	}
	.plus_icon > span:before {
		left: 50%; top: 0; 
		width: 2px; height: 100%;
		margin-left: -1px;
	}

	.plus_icon.circle {
		width: 12px; height: 12px;
		padding: 4px;
		border-radius: 50%;
		border: 2px solid #3394e6;
	}
	.plus_icon.circle > span { width: 12px; height: 12px; margin: -6px 0 0 -6px; }
	.plus_icon.circle > span:before, .plus_icon.circle > span:after { background-color: #3394e6; }

	/* Формы на UL */
	ul.ui-form { list-style: none; padding: 0; margin: 0; }
		ul.ui-form > li { margin-bottom: 20px; }
		ul.ui-form > li:last-child { margin-bottom: 0; }
		.form-group { margin-bottom: 20px; }
		.form-group > label { display: block; margin-bottom: .4em; }
		.imp:after { content: "*"; margin: 0 0 0 10px; color: #e85319; }

		@media only screen and (min-width: 601px) {
			.form-group.combo:after { clear: both; display: table; content: ""; }
			.form-group.combo > .combo_field { width: 50%; float: left;
				-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
			}
			.form-group.combo > .combo_field:last-child { padding-left: 10px; }
			.form-group.combo > .combo_field:first-child { padding-right: 10px; }
		}
		.form_submit { margin-top: 20px; }
		.form-sep { border-top: 1px solid #efefef; }

	/* Модификация BB редактора для комментариев */
	#comment-editor .bb-editor textarea { padding: 7px; padding-bottom: 45px; height: 200px; }
	.addpm #comment-editor .bb-editor textarea { height: 340px; }

	.wseditor table, .bb-editor table { margin: 0px; }

/* Комментарии */
.com_list { }
	.comment {
		padding: 4% 4%;
		position: relative;
		-webkit-transition: box-shadow ease .4s; transition: box-shadow ease .4s;
	}
	.com_list .comment {
		border-top: 1px solid #efefef;
		background-color: transparent;
		margin: 0;
		border-radius: 0;
		box-shadow: none; -webkit-box-shadow: none;
	}
	.comment:hover {
		position: relative;
		box-shadow: 0 2px 12px 0 rgba(0,0,0,0.2); -webkit-box-shadow: 0 2px 12px 0 rgba(0,0,0,0.2);
	}
	.avatar { display: inline-block; }
	.avatar .cover {
		width: 100px; height: 100px;
		border-radius: 50%;
		white-space: nowrap;
		text-indent: -9999px;
		display: inline-block;
	}
	.comment .avatar { float: left; margin-right: 15px; position: relative; }
	.comment .avatar .cover { width: 36px; height: 36px; }
	.com_online {
		position: absolute;
		left: 100%; top: 50%;
		margin: -4px 0 0 -4px;
		overflow: hidden;
		text-indent: -9999px;
		background-color: #70bb39;
		border: 2px solid #fff;
		width: 4px; height: 4px;
		border-radius: 50%;
	}

	.com_info { font-size: .9em; margin-bottom: 2%; margin-top: -5px; }
	.com_info:after { clear: both; display: block; content: ""; }

	.com_user { float: left; margin: 9px 15px 0 0; }
	.comment .meta { display: inline; }
	.comment .meta .left { margin: 9px 0 0 0; }
	.comment .meta .left .mass input { margin: -2px 0 0 0; vertical-align: middle; }
		.comment .meta > ul.left > li { margin-right: 10px; }

		.comment .reply { text-transform: lowercase; }
		.comment .meta .left a {
			display: inline-block;
			width: 20px; height: 20px;
			vertical-align: middle;
			padding: 2px;
			margin-top: -2px;
			-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
		}
		.comment .meta .left .reply a { padding: 2px; width: auto; vertical-align: baseline; }
		.comment .meta .left .del a { padding: 4px; }
		.comment .meta .left .icon { margin: 0; fill: #919191; vertical-align: top; }
		.comment .meta .left a:hover .icon { fill: #3394e6; }
		.comment .meta .left a .icon-reply {
			width: 15px; height: 16px;
			fill: #3394e6 !important;
			margin-right: .4em;
			vertical-align: middle;
		}
		.comment .meta .left a .icon-coms {
			width: 15px; height: 16px;
			fill: #3394e6 !important;
			margin-right: .4em;
			vertical-align: middle;
		}
		.comment .meta .left .edit_btn > a { padding: 2px; margin-top: -4px; } 
		.comment .icon-bad { width: 16px; height: 16px; }
		.comment .icon-cross { width: 12px; height: 12px; }

	.comment .meta .rate { float: right; }

	/* Древовидные комментарии */
	#dle-comments-list { width: 100%; overflow: hidden; }
	#dle-comments-list .comments-tree-list { list-style: none; padding: 0; margin: 0; }
	#dle-comments-list > .comments-tree-list > li > .comments-tree-list { padding: 0 8%; border-top: 1px solid #efefef; }
	#dle-comments-list > .comments-tree-list > li .comments-tree-list > li { padding-left: 20px; }
	#blind-animation .comments-tree-list { list-style: none; padding: 0; margin: 0; }

	.comments-tree-list > li > ol > li .comment {
		padding: 30px 0;
		position: relative;
		box-shadow: none; -webkit-box-shadow: none;
		border-width: 0;
	}
	.comments-tree-list li ol li .comment {

		position: relative;
		box-shadow: none; -webkit-box-shadow: none;
		border-width: 0;
	}
	.comments-tree-list > li > ol > li .comment:after {
		content: "";
		position: absolute;
		width: 2000px; height: 1px;
		margin-left: -500px;
		left: 0; top: 0;
		background-color: #efefef;
	}

	.comments-tree-list > li > ol > li .comment:before {
		content: "";
		position: absolute;
		left: 0; top: 12px;
		margin: 30px 0 0 -20px;
		background-color: #e6e6e6;
		width: 10px; height: 2px;
	}	

	/* Управление комментариями */
	.mass_comments_action { text-align: right; border-top: 1px solid #efefef; padding: 2% 4%; }
	.mass_comments_action > select { height: 36px; padding: 5px; width: 200px; margin-left: 1em; }

	.com_content > .title { margin-top: 4%; }
	.com_content > .text { font-size: 1.08em; }

/* --- Контакты --- */
#map { width: 100%; height: 400px; }
	.map_resp {
		width: 100%; padding-top: 60%; height: 0;
		position: relative;
	}
	.map_resp > #map {
		position: absolute;
		left: 0; top: 0; bottom: 0;
		height: auto;
	}
	.dark_top {
		border-radius: 2px 2px 0 0;
		color: #fff;
		background: #2c2c2c;
	}
	.contacts { font-size: 1.3em; }
	.contacts > .grid_1_2 { padding-left: 42px; }
	.contacts > .grid_1_2 .icon {
		float: left;
		margin: 5px 0 0 -42px;
		width: 24px;
	}
  .submenu {
  display: none;
  position: absolute;
  right: 0;
  left: 100%;
  top: 0;
  background-color: #ebeaea;
  padding: 10px;
 	min-width: 170px;
	border-top: 3px solid;
    border-color: #ed1c24;
}
  .header .nav .drop-down li  .submenu li a {color: #353535;}
    .header .nav .drop-down li  .submenu li a:hover {color: #ff0000}
    .menuli:hover .submenu {
      display: block;
    } 

@media only screen and (max-width: 767px){
    .submenu {position: relative; left: 0;background-color: #353535;    border: none;}
}