* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	outline: none;
}

html {
	margin: 0;
	height: 100%;
}

/* sidebar */

.user-ava {
    width: 50px;
}
.sidebar {
	width: 100%;
	max-width: 200px;
	float: left;
}
.block-notice-action { 
}

/* end sidebar */

/* cont */

.cont {
	width: calc(100% - 200px);
	float: left;
}
.pad-tblr { 
   width: 100%;
}
/* .reklama-top,
.banners_ {
	display: none;
} */

.tbl-striped {
	position: relative;
	/* overflow-x: scroll; */
}

.main-h {
	height: auto;
	padding: 5px 0 5px 200px;
}

#ny_head a img {
	width: 100%;
}

.block-filter {
	border-radius: 5px;
}

.block-filter select,
.block-filter input {
	padding: 5px 10px;
}

.block-filter select,
.block-filter input,
.block-filter button {
	border: none;
	border-radius: 3px;
}

.block-filter input[type="checkbox"] {
	position: relative;
	top: 3px;
}

.sidebar .block-s {
	/* margin-bottom: 20px; */
}

.cont::after {
	content: '';
	clear: both; 
	display: block;
}

.cont .banners_ {
	position: relative;
	overflow: hidden;
	border-radius: 5px;
}

.corn-tr-clr p {
	color: #000;
}

.content.main .corn-tr-clr p {
	color: #fff;
}

.content.main .scroll-pane_users {
	height: auto;
}

#form_reg {
	padding: 20px;
}

.login_form {
	padding: 10px 0;
}

.search-form .corn-c {
	padding: 0 20px 20px;
}

.search-form table {
	width: 100%;
}

.block-b.blue .corn-tr-clr p {
	color: #fff;
}

#form_reg table tr td:last-child {
	padding-top: 5px;
	padding-bottom: 5px;
}

#form_reg table tr td input[type="text"],
#form_reg table tr td input[type="number"],
.search-form  table tr td input[type="text"],
.search-form  table tr td input[type="number"],
.search-form  table tr td select,
.login_form tr td input[type="text"],
.login_form tr td input[type="number"],
.login_form tr td input[type="password"],
.login_form tr td select,
#forminsert input.textfield,
#forminsert input.w-input,
#forminsert input#price,
#forminsert input[type="text"],
#forminsert input[type="number"],
#forminsert textarea,
#forminsert select   {
	width: 100%;
	max-width: 300px;
	height: 32px;
	line-height: 32px;
	padding: 0 10px;
	border: 1px solid #ccc;
	border-radius: 3px;
}

#forminsert textarea {
	max-width: unset;
}

#forminsert tr:first-child td:first-child {
	font-size: 20px;
	text-align: center;
	line-height: 30px;
}

#forminsert tr td:first-child {
	text-align: right;
	padding-right: 20px;
}

.search-form tr td input[type="checkbox"],
.login_form tr td input[type="checkbox"] {
	cursor: pointer;
	position: relative;
	top: 1px;
	margin: 0;
}

#form_reg table tr td textarea,
.search-form table tr td textarea,
.login_form  tr td textarea,
#forminsert textarea {
	width: 100%;
	min-height: 100px;
	padding: 10px;
	margin: 0;
	border: 1px solid #ccc;
	border-radius: 3px;
}

#form_reg table tr:last-child br {
	display: none;
}

#form_reg table tr td img {
	margin-bottom: 15px;
}

.login_form table,
#forminsert .maintable {
	width: 100%;
	max-width: 550px;
	position: relative;
}

#forminsert {
	display: flex;
	justify-content: center;
}

.light_row td {
	padding-top: 15px !important;
	text-align: center !important;
}

#form_reg input[type="button"],
#form_reg input[type="reset"],
.search-form input[type="button"],
.search-form input[type="reset"],
.search-form input[type="submit"],
.login_form input[type="button"],
.login_form input[type="reset"],
.login_form input[type="submit"],
#forminsert input[type="button"],
#forminsert input[type="reset"],
#forminsert input[type="submit"] {
	height: 32px;
	color: #fff;
	padding: 0 20px;
	border: none;
	cursor: pointer;
	background: linear-gradient(#F3C175, #EA973E, #F3C175);
	background-size: auto 200%;
	border-radius: 3px;
	transition: all 0.3s;
}

#form_reg input[type="reset"] {
	background: linear-gradient(#ccc, rgb(110, 110, 110), #ccc);
	background-size: auto 200%;
}

#form_reg input[type="button"]:hover,
#form_reg input[type="reset"]:hover,
.search-form input[type="button"]:hover,
.search-form input[type="reset"]:hover,
.search-form input[type="submit"]:hover,
.login_form input[type="button"]:hover,
.login_form input[type="reset"]:hover,
.login_form input[type="submit"]:hover,
#forminsert input[type="button"]:hover,
#forminsert input[type="reset"]:hover,
#forminsert input[type="submit"]:hover {
	background-position: left bottom;
}

.form-profile td,
.search-form td,
.login_form td {
	vertical-align: middle;
	padding-top: 0;
	padding-bottom: 0;
}

.block-filter a.link-arr-w {
	display: inline-block;
	margin: 10px 0 5px;
}

a.link-arr-w {
	white-space: nowrap;
}

.sidebar .corn-t-clr {
	background: url(http://static.musicforums.ru/agora/images/skin-default/header_red.png) repeat-x top;
}

.sidebar .corn-t-clr p {
	color: #fff;
}

.search-form td,
.login_form td {
	padding: 3px 10px;
	line-height: 18px;
}

td.body {
	padding: 20px !important;
}

img {
	max-width: 100%;
}

.block-post {
	overflow-x: scroll;
}

.cont .block-b .block-post {
	overflow-x: unset;
}

.block-notice .cont-notice a img {
	max-width: 100%;
}

.block-notice.block-notice-action .cont-notice img {
	width: 100px;
}

.news_section .corn-tr-clr p {
	color: #fff;
}

.news_section {
	overflow-x: scroll;
}

.block-top-link img {
	min-width: 165px;
}

.drop-sidebar-link {
	display: block;
	color: #fff;
	cursor: default;
	transition: all 0.3s;
}

.drop-sidebar-link:hover {
	color: #fff;
}

.tbl-striped img {
	min-width: 15px;
}

/* end cont */

/* adaptive */

@media screen and (max-width: 1179px) {
	.cont {
		overflow: hidden;
	}
}

@media screen and (max-width: 940px) {
	.block-filter select,
	.block-filter input[type="text"],
	.block-filter input[type="number"],
	.block-filter button,
	.block-filter a {
		width: 100%;
		height: 30px;
		line-height: 30px;
		padding: 0 20px;
		margin-bottom: 10px;
	}

	.reklama-top,
	.reklama-top img {
		width: 100%;
	}

	.block-filter input[type="checkbox"] {
		margin-bottom: 15px;
	}

	.block-filter a.link-arr-w {
		width: max-content;
		display: block;
		margin: auto;
	}

	.block-filter input[type="button"] {
		margin-right: 0;
	}

	.tbl-striped,
	.block-post {
		overflow-x: scroll;
	}

	.block-post tr th.post-theme,
	.block-post tr th.post-theme + th,
	.block-post tr th.post-theme + th + th,
	.block-post tr th.post-time {
		width: 100%;
		display: block;
		border-left: 1px solid #fff;
	}

	.block-post th.post-time span {
		padding-left: 0;
	}
}

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

	.dropblock+.corn-b,
	.dropblock+.corn-b .corn-bl,
	.dropblock+.corn-b .corn-bl .corn-br {
		height: auto;
	}

	.dropblock.show+.corn-b {
		width: calc(100% - 6px);
		height: 10px;
		margin-left: 3px;
		background: #f4ede4;
		border-radius: 0 0 6px 6px;
		box-shadow: 0 3px 4px rgba(0,0,0,0.3);
	}

	.sidebar,
	.cont {
		max-width: none;
		width: 100%;
		float: none;
	}

	.sidebar .block-s {
		width: 100%;
	}

	.block-reg {
		height: auto;
		padding-bottom: 5px;
	}

	.block-top-link table,
	.block-top-link table tbody,
	.footer table,
	.footer table tbody {
		display: block;
	}

	.footer table {
		padding: 10px 0;
	}

	.news_section {
		padding: 20px;
	}

	.news_section tr,
	.news_section tr td,
	.block-reg tr,
	.block-top-link table tr,
	.footer table tr {
		display: block;
	}

	.news_section .block-s {
		width: 100%;
	}

	.block-reg td,
	.block-top-link table td,
	.footer table td {
		width: 100%;
		display: block;
		text-align: center;
		padding: 5px 10px 0;
	}

	.block-top-link table td {
		padding: 5px;
	}

	.footer table td {
		padding: 10px;
	}

	.block-top-link table td:nth-child(2),
	.block-top-link table td:nth-child(3),
	.block-top-link table td:last-child,
	.footer table td:last-child {
		display: none;
	}

	.main-h {
		padding: 30px 10px 10px;
	}

	.main-h .key-add-theme {
		top: 15px;
		left: 50%;
		transform: translateX(-50%);
	}

	.content.main {
		padding: 20px;
	}

	.main-table tbody tr td {
		display: block;
	}

	.main-table tbody tr td.column-l .block-s {
		width: 100%;
		margin-bottom:5px;
	}

	.main-table tbody tr td.column-c {
		margin-bottom: 20px;
	}

	.main-table tbody tr td.column-r .block-s,
	.main-table tbody tr td.column-r .block-s .scroll-wrap {
		width: 100%;
	}

	.main-table .column-l,
	.main-table .column-c,
	.main-table .column-r {
		padding: 0;
	}
	
	.main-table tbody tr td.column-l .block-s {
		border-radius: 5px;
	}

	.column-l .part-main .corn-t-clr,
	.sidebar .corn-t-clr  {
		height: 40px;
		position: relative;
		overflow: hidden;
		background: none;
		border-radius: 5px;
	}	

	.block-s {
		border-radius: 5px;
	}

	#forumlist {
		background: none;
	}

	#forumlist .corn-tl-clr,
	#forumlist .corn-tr-clr {
		background: none;
	}

	#forumlist .dropblock {
		background: #f4ede4;
	}

	.drop-sidebar-link {
		display: block;
		width: calc(100% - 6px);
		height: 40px;
		text-align: center;
		line-height: 40px;
		cursor: pointer;
		position: absolute;
		top: 0; left: 3px;
		padding: 0 5px;
		background: linear-gradient(#E43232, #A72F2C);
		border-radius: 5px;
	}
	
	.dropblock {
		display: none;
	}

	.dropblock.show {
		display: block;
	}

	.sidebar .block-s {
		margin-bottom: 0;
	}

	.pad-tblr table tr td {
		display: block;
	}

	#forminsert tr td:first-child {
		text-align: left;
	}
}

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

	#forminsert  {
		padding-left: 20px;
		padding-right: 20px;
	}

	#forminsert .maintable {
		width: 100%;
		max-width: unset;
	}

	#forminsert .maintable tr td {
		display: block;
	}

	#forminsert .maintable tr td:first-child {
		text-align: left;
	}

	#forminsert .maintable tr td .pad-tblr {
		padding-left: 0;
		padding-right: 0;
	}

}

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

	#form_reg table tr td,
	.search-form table tr td,
	.login_form table tr td {
		width: 100%;
		display: block;
		text-align: left;
		padding: 0;
	}

	#form_reg table tr td:last-child,
	.search-form table tr td:last-child,
	.login_form table tr td:last-child {
		padding-bottom: 10px;
	}

	#form_reg input[type="button"] {
		margin-bottom: 10px;
	}

	#form_reg input[type="button"],
	#form_reg input[type="reset"] {
		width: 100%;
	}

	.banner-3 img {
		display: none;
	}

}

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

	.block-post th:first-child,
	.block-post td:first-child {
		width: 100px;
	}

	.block-post th.post-time {
		white-space: normal;
	}

}

/* end adaptive */

 
.profile_ava {
    width: 50px !important;
}
