.dle_forum {
	background-color: #ffffff;
	font-family: verdana;
	font-size: 12px;
	color: #222222
}

.dle_forum a:link, .dle_forum a:active, .dle_forum a:visited {
	text-decoration: underline;
}

.dle_forum a:hover {
	color: #34498b
}

.dle_forum div.header, .dle_forum div.bottom_block {
	position: relative;
	font-size: 11px;
	font-family: verdana;
	height: 18px;
	background-color: #f5f5f5;
	padding: 6px;
	border: 1px solid #d0d0d0;
	border-radius: 6px 6px 0 0;
	-moz-border-radius: 6px 6px 0 0;
	-webkit-border-radius: 6px 6px 0 0;
	-khtml-border-radius: 6px 6px 0 0;
	margin-bottom: 6px;
	overflow: hidden;
}

div.header div.header_links {
	position: absolute;
	top: 6px;
	right: 6px;
	background: #f5f5f5;
	padding-left: 6px;
	color: #d0d0d0;
}

div.header div.header_links div {
	border-left: 1px solid #d0d0d0;
	padding-left: 6px;
}

div.header div.header_links div b a {
	color: #cc0000;
}

div.header div.header_links div b a:hover {
	color: #ff0000;
}

div#content_wrapper div#content_left div#dle-content {
	padding-bottom: 0;
}

.dle_forum div.bottom_block {
	margin-top: 6px;
	margin-bottom: 0;
	border-radius: 0 0 6px 6px;
	-moz-border-radius: 0 0 6px 6px;
	-webkit-border-radius: 0 0 6px 6px;
	-khtml-border-radius: 0 0 6px 6px;
}

.dle_forum div.bottom_block .rules {
	float: right;
}

.dle_forum div.bottom_block .rules a {
	color: #cc0000;
	font-weight: bold;
}

.dle_forum div.bottom_block .rules a:hover {
	color: #ff0000;
}

div.dle_forum img {
	vertical-align: middle
}

.forumdesc, .forumdesc a:link, .forumdesc a:visited, .forumdesc a:active {
	background: transparent;
	font-size: 12px;
	color: #444444;
	line-height: 140%;
	display: block;
	margin-top: 3px
}

div.catend, td.catend {
	background-color: #bbbbbb;
	width: 100%;
	height: 3px;
}

.lastaction {
	font-size: 11px;
	line-height: 135%;
	color: #434951
}

.post2, .bg3, .post1 {
	background-color: #eeeeee;
	border: 1px solid #d0d0d0;
	vertical-align: top;
}

.post2 table {
	width: 100%;
}

.post2 .author {
	padding-top: 1px;
}

.post2 .author a, .post2 .author span {
	font-size: 14px;
	font-weight: bold;
	text-decoration: underline;
	color: #3366cc;
	cursor: pointer;
}

.post2 .author span:hover {
	color: #34498b;
}

.post2 .notebook {
	padding: 0;
	font-size: 10px;
	text-align: left;
}

.post2 .notebook div {
	overflow: hidden;
	height: 16px;
}

.post2 .buttons {
	padding: 0;
	text-align: right;
	width: 270px;
}

.buttons table {
	margin: 0;
	padding: 0;
	width: 100%;
}

tr td.small_padding {
	padding: 2px 2px 0 3px;
}

.post1 {
	background-color: #f9f9f9;
}

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

td.formbuttonrow, .borderwrap p.formbuttonrow, .borderwrap p.formbuttonrow1 {
	background-color: #d1dceb !important;
	border: 1px solid #ffffff;
	border-top: 1px solid #5176b5;
	margin: 0px !important;
	padding: 5px !important;
	text-align: center;
}

td.formbuttonrow {
	border-bottom: 0;
	border-left: 0;
	border-right: 0;
}

.postdetails {
	font-size: 11px;
	line-height: 18px;
}

.postdetails .smallimg {
	float: left;
	padding-top: 2px;
	padding-left: 12px;
	background: url('../forum/images/to_post_off.gif') 0 6px no-repeat;
}

.postcolor {
	font-size: 13px;
	line-height: 140%;
	min-height: 150px;
}

.forum_navigation {
	color: #222222;
	font-size: 12px;
}

.forum_navigation a:link, .forum_navigation a:visited, .forum_navigation a:active {
	text-decoration: none;
	color: #444444;
	padding: 2px 5px;
	background-color: #f5f5f5;
	border: 1px solid #d0d0d0;
	font-size: 12px;
}

.forum_navigation a:hover {
	background-color: #eeeeee;
	color: #222222
}

.forum_navigation span {
	text-decoration: none;
	padding: 2px 5px;
	background-color: #d9ebff;
	border: 1px solid #8ebcfa;
	color: #444444;
	font-size: 12px;
}

table.ipbtable, tr.ipbtable, td.ipbtable {
	background: transparent;
	color: #222222;
	font-size: 12px;
	line-height: 1.4;
}

.ipbtable td, .divpad {
	padding: 6px 10px
}

table.ipbtable_similar {
	background: #ffffff;
	width: 100%;
}

table.ipbtable_similar tr.head td {
	font-size: 13px;
	font-weight: bold;
	background-color: #f0f0f0;
}

table.ipbtable_similar td {
	border: 1px solid #dddddd;
	border-top: 0;
	padding: 3px 6px;
	font-size: 12px;
	font-family: arial;
}

.row {
	background-color: #bbc8dc;
	font-size: 12px;
	border: 1px solid #d0d0d0
}

.row1 {
	background-color: #f2f2f2;
	border: 1px solid #d0d0d0;
	vertical-align: middle
}

.row2 {
	background-color: #f9f9f9;
	border: 1px solid #d0d0d0;
	vertical-align: middle
}

.maintitle {
	position: relative;
	background: #76adef url('../forum/images/dlet_tile_cat.gif') repeat-x;
	border: 1px solid #ffffff;
	border-bottom: 1px solid #5176b5;
	color: #ffffff;
	font-size: 13px;
	font-weight: bold;
	text-shadow: 1px 1px 0px #000000;
	padding: 6px 4px 4px 7px
}

.maintitle td {
	color: #ffffff;
	font-size: 13px;
	font-weight: bold
}

.maintitle h1 {
	display: inline;
	overflow: hidden;
	height: 14px;
	text-shadow: 1px 1px 0px #333333;
}

.maintitle a:link, .maintitle a:visited {
	background: transparent;
	color: #eeeeee;
	text-decoration: none
}

.maintitle a:hover, .maintitle a:active {
	background: transparent;
	color: #ffffff;
}

.polltitle {
	border: 1px solid #ffffff;
	border-bottom: 1px solid #5176b5;
	color: #222222;
	font-size: 13px;
	font-weight: bold;
	margin: 0px;
	padding: 8px;
	background-color: #d1dceb;
}

.borderwrap table th {
	background: #eeeeee;
	border: 1px solid #d0d0d0;
	font-size: 12px;
	font-weight: bold;
	padding: 5px;
	color: #222222
}

.borderwrap {
	background-color: #ffffff;
	border: 1px solid #dddddd;
	margin-bottom: 5px;
}

.popmenubutton {
	width: 120px;
	background-color: #6594d4;
	border: 1px solid #3366aa;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	font-weight: bold;
	position: absolute;
	top: 5px;
	right: 6px;
	text-align: center;
	font-size: 11px;
}

.popmenubutton:hover {
	background-color: #84ac10
}

div.popmenubutton a {
	text-shadow: none;
	color: #ffffff;
	text-decoration: none;
}

div.popmenubutton a:hover {
	color: #ffffff;
	text-decoration: none;
}

.forum_textarea {
	display: inline-block;
	background-color: #ffffff;
	border: 1px solid #cccccc;
	margin: 1px auto;
	color: #222222;
	font-family: Verdana, sans-serif;
	font-size: 13px;
	vertical-align: middle;
	width: 100%;
	padding: 8px 12px;
	height: 200px;
	box-sizing: border-box;
}

.forum_input {
	display: inline-block;
	background-color: #ffffff;
	border: 1px solid #4c77b6;
	color: #000000;
	font-family: Verdana, sans-serif;
	font-size: 13px;
	margin: 0;
	padding: 8px 12px;
	vertical-align: middle;
	width: 300px;
	height: 16px;
}

div#dle_emo {
	opacity: 0.9
}

.img_margin {
	margin: 10px;
	text-align: right;
}

.float_left {
	float: left;
}

.float_right {
	float: right;
}

.rank {
	width: 85px;
	height: 16px;
}

.unit-rank {
	list-style: none;
	margin: 0px;
	padding: 0px;
	width: 85px;
	height: 16px;
	position: relative;
	background-image: url('../forum/images/rating.gif');
	background-position: top left;
	background-repeat: repeat-x;

}

.unit-rank li {
	text-indent: -90000px;
	padding: 0px;
	margin: 0px;
	float: left;
}

.unit-rank li a {
	display: block;
	width: 17px;
	height: 16px;
	text-decoration: none;
	text-indent: -9000px;
	z-index: 17;
	position: absolute;
	padding: 0px;
}

.unit-rank li a:hover {
	background-image: url('../forum/images/rating.gif');
	background-position: left center;
	z-index: 2;
	left: 0px;
}

.unit-rank a.r1-unit {
	left: 0px;
}

.unit-rank a.r1-unit:hover {
	width: 17px;
}

.unit-rank a.r2-unit {
	left: 17px;
}

.unit-rank a.r2-unit:hover {
	width: 34px;
}

.unit-rank a.r3-unit {
	left: 34px;
}

.unit-rank a.r3-unit:hover {
	width: 51px;
}

.unit-rank a.r4-unit {
	left: 51px;
}

.unit-rank a.r4-unit:hover {
	width: 68px;
}

.unit-rank a.r5-unit {
	left: 68px;
}

.unit-rank a.r5-unit:hover {
	width: 85px;
}

.unit-rank li.current-rank {
	background-image: url('../forum/images/rating.gif');
	background-position: left bottom;
	position: absolute;
	height: 16px;
	display: block;
	text-indent: -9000px;
	z-index: 1;
}

.title_quote {
	background: #e4eaf2 no-repeat right;
	border: 1px solid #99bbff;
	border-bottom: 0;
	border-left: 3px solid #99bbff;
	color: #333333;
	font-weight: bold;
	font-size: 10px;
	margin: 2px auto 0 auto;
	padding: 2px 5px;
}

.quote {
	background-color: #f5f5f5;
	border: 1px solid #99bbff;
	border-left: 3px solid #99bbff;
	color: #465584;
	padding: 3px 5px;
	margin: 0 auto 5px auto;
}

.scriptcode {
	background: #fddbcc url(../forum/images/k.JPG) no-repeat right;
	border: 1px dotted #000000;
	color: #465584;
	font-family: Courier, "Courier New", Verdana, Arial;
	margin: 0 auto 0 auto;
	padding: 2px;
}

.hidden_post {
	color: #757575;
	font-size: 11px;
	background-color: #f1c8d2;
	border: 1px dotted #bebebe;
	text-align: left;
	padding: 5px;
}

.radiobutton,
.checkbox,
.helpbox {
	border: 0;
	vertical-align: middle;
	background: transparent;
}

.copyright {
	font-family: Verdana, sans-serif;
	font-size: 10px;
	text-align: center;
	background-color: #f5f5f5;
	padding: 6px;
	color: #222222;
	border: 1px solid #d0d0d0;
	border-radius: 6px;
}

.copyright a {
	color: #222222;
	text-decoration: none;
}

.popupmenu,
.popupmenu-new {
	background: #f4f4f4;
	border: 1px solid #989898;
	text-align: left;
	font-size: 11px;
	white-space: nowrap;
}

.popupmenu-new {
	padding: 5px;
	background-color: #f4f4f4;
}

.dle_forum strong.title_link a {
	font-size: 13px;
	font-weight: bold
}

img.avatar {
	display: block;
	border: none;
	margin: 2px 0 4px 0;
}

td.post1 h2, td.post1 h3 {
	font-size: 18px;
	color: #bb0000;
	margin-top: 10px;
}

td.post1 h3 {
	font-size: 15px;
	color: #770000;
}

td.post1 p.post_notice {
	margin-top: 16px;
	padding: 5px 8px;
	margin-bottom: 6px;
	font-size: 11px;
	border: 1px solid #99bbff;
	border-radius: 0 6px 6px 0;
}

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

.postcolor {
	overflow: hidden;
}

/*---BB Редактор---*/

#b_font {
	width: 118px;
}

#b_size {
	width: 65px;
}

#b_font select {
	padding: 0;
}

#b_size select {
	padding: 0;
}

.bb-editor textarea {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 2px;
	border: 1px solid #bcc0c2;
	width: 100%;
	background: #ffffff url("../dleimages/fields.png") repeat-x;
}

.editorcomm .bb-editor {
	width: 465px;
}

.editorcomm .bb-editor textarea {
	height: 156px;
}

.clr {
	clear: both;
}

.editor_button {
	cursor: pointer;
	float: left;
	padding-left: 0;
	padding-right: 0;
}

.editor_button:before {
	display: none;
}

.ui-dialog #uploads-form {
	min-height: 360px !important;
}


@media screen and (max-width: 700px) {
	.ipbtable th.rmv, .ipbtable td.rmv {
		display: none;
	}

	.dle_forum div.header, .dle_forum div.bottom_block {
		height: auto;
	}

	.ipbtable .last {
		width: 100px;
	}

	.ipbtable .auth {
		width: 100px;
	}

	.post2 .notebook div {
		height: auto;
	}

	.post2 .buttons {
		width: auto;
	}
}

@media screen and (max-width: 400px) {

	.ipbtable .topic_pages {
		width: 180px;
	}

	.forum_navigation a:link, .forum_navigation a:visited, .forum_navigation a:active {
		display: inline-block;
		margin: 3px 0;
	}

	.post2 .buttons {
		width: 80px;
	}

	.ipbtable .auth, .ipbtable .auth .avatar {
		width: 85px;
		height: auto;
	}

}
