/*--------------------------------------------------------*/


/* YaBB 2014 */


/*--------------------------------------------------------*/


/* Created by: YaBB http://www.yabbforum.com */


/*--------------------------------------------------------*/


/* You may adapt elements of this CSS in your own */


/* projects, but please give credit to yabbforum.com. */


/*--------------------------------------------------------*/


/* This is the css file for YaBB 2.6.1 default Template */


/*--------------------------------------------------------*/


/* $Revision: 1613 $ */

body {
	background-color: #eee;
	font: 12px Verdana, Helvetica, Arial, Sans-Serif;
	margin: 0;
	padding: 0;
	min-width: 0;
}
a {
	color: #3b5998;
	font-weight: 400;
	text-decoration: none;
}
a:visited {
	color: #3b5998;
	font-weight: 400;
}
a:hover {
	color: #2d2d2d;
	text-decoration: underline;
}
a:focus, input:focus, textarea:focus, select:focus {
	outline: 0 none;
}
#header {
	font: 12px Verdana, Helvetica, Sans-Serif;
	color: #000;
	background-color: #ffffff;
}
#header a {
	color:#2d2d2d;
}
#header .highlight a {
	color: #3b5998;
}
form {
	display: inline;
	margin: 0;
	padding: 0;
}
img {
	border: 0 none;
	vertical-align: middle;
}
input {
	background-color: #eee;
	border: 1px solid #b1bdc9;
	color: #000;
	font-family: Verdana, Helvetica, Sans-Serif;
	font-size: 14px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 5px;
}
sup {
	vertical-align: baseline;
	position: relative;
	top: -0.4em;
}
.button, input[type="submit"], input[type="reset"], input[type="button"] {
	background-color: #eee;
	border: 1px solid #c6c6c6;
	color: #000;
	font-family: Verdana, Helvetica, Sans-Serif;
	font-size: 12px;
	font-weight: 600;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	cursor: pointer;
}
textarea {
	background-color: #eee;
	border: 1px solid #b1bdc9;
	color: #000;
	font-family: Verdana, Helvetica, Sans-Serif;
	font-size: 14px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
select {
	background-color: #eee;
	border: 1px solid #b1bdc9;
	color: #000;
	font-family: Verdana, Helvetica, Sans-Serif;
	font-size: 10px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 5px;
}
select optgroup {
	color: #000;
	font-size: 10px;
}
input:hover, input:focus, textarea:hover, textarea:focus, select:hover, select:focus {
	background-color: #f5f5f5;
}
.button:hover, input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
	background-color: #fff;
}
label {
	cursor: pointer;
}
table {
	border-collapse: collapse;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}
td {

	/* text-align: center;
*/

	vertical-align: middle;
}
table.cs_thin {
	border-collapse: separate;
	border-spacing: 1px;
}
table.fixed {
	table-layout:fixed;
}
#astra {
	border-top: 0;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	width: 92%;
}
#maincontainer {
	border-top: 0;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	width: 92%;
}
#container {
	width: 100%;
	background-color: #fff;
	border: 0;
	margin: 0;
	padding: 0 1px;
	color: #2d2d2d;
}
.center {
	text-align: center;
}
.right {
	text-align: right;
}
.left {
	text-align: left;
}
.vtop {
	vertical-align: top;
}
.bottom {
	vertical-align: bottom;
}
.small {
	font-size: 14px !important;
}
.green, .none {
	display: none;
}
.tabtitle-text {
	text-shadow: #2d2d2d 1px 1px 1px;
}
.tabtitle {
	height: 35px;
	vertical-align: middle;
	padding-left: 0.5em;
	font-weight: bold;
	font-style: normal;
	font-size: 17px;
	font-family: Verdana, Arial, Sans-Serif;
	color: #eee;
	background: url(./default/tabtitle.png) repeat-x top #3673b3;
	-webkit-border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
	border-bottom: 1px solid #195392;
}
.tabtitle-sub {
	height: 15px;
	vertical-align: middle;
	padding-left: 0.5em;
	font-weight: bold;
	font-style: normal;
	font-size: 12px;
	font-family: Verdana, Arial, Sans-Serif;
	color: #eee;
	background: url(./default/tabtitle.png) repeat-x top #3673b3;
}
.tabtitle-bottom {
	height: 35px;
	vertical-align: middle;
	padding-left: 0.5em;
	font-weight: bold;
	font-style: normal;
	font-size: 17px;
	font-family: Verdana, Arial, Sans-Serif;
	color: #eee;
	background: url(./default/tabtitle.png) repeat-x top #3673b3;
	-webkit-border-radius: 0 0 5px 5px;
	-moz-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
	border-top: 1px solid #195392;
}
.tabtitle a, .tabtitle-bottom a {
	color: #fff;
	font-size: 17px;
	font-family: Verdana, Helvetica, Arial, Sans-Serif;
	font-style: normal;
	font-weight: 700;
	text-decoration: none;
}
.tabtitle a:hover, .tabtitle-bottom a:hover {
	color: #bbb;
	text-decoration: none;
}
.menutop {
	height: 25px;
	background-color: #034192 ;
	font-weight: bold;
	text-align: left;
	color: #ffffff;
}
.mainbottom {
	height: 25px;
	width: 100%;
	background-color: #2d2d2d;
	font-weight: bold;
	font-size: 12px;
	color: #bbb;
	margin-top: 10px;
	padding-top: 1em;
	vertical-align: middle;
	text-align: left;
}
.mainbottom a, .mainbottom span {
	font-weight: bold;
	font-size: 12px;
	color: #fff;
}
.mainbottom a:hover, .mainbottom span:hover {
	color: #bbb;
	text-decoration: none;
}
.tabmenuleft, .tabmenuright, .tabmenu {
	height: 25px;
	text-align: left;
	background-color: #034192;
	font-size: 13px;
	font-family: Arial, Sans-Serif;
	color: #bbb;
	font-weight: bold;
	text-decoration: none;
}
.tabmenu {
	overflow: hidden;
}
.tabmenu ul {
	list-style: none;
	display: block;
	margin: 0 0 0 -41px;
}
.tabmenu li, .mctabmenu li {
	float: left;
	font-size: 100%;
	font-weight: bold;
	list-style: none;
	margin-left: -1px;
	padding: 0;
	display: inline;
}
.tabmenu a, .mctabmenu a {
	font-size: 13px;
	font-family: Arial, Sans-Serif;
	color: #bbb;
	white-space: nowrap;
	font-weight: bold;
	display: block;
	float: left;
	margin: 0 1px 0 0;
	padding: 4px 8px;
	text-align: center;
	text-decoration: none;
}
.tabmenu span, .mctabmenu span {
	float: left;
	height: 25px;
	background-color: #034192;
	margin: 0;
	border: 0;
	padding: 0;
	vertical-align: middle;
	text-align: center;
	cursor: pointer;
}
.tabmenu span a, .mctabmenu span a {
	font-size: 13px;
	font-family: Arial, Sans-Serif;
	color: #bbb;
	text-decoration: none;
	white-space: nowrap;
	font-weight: bold;
}
.tabmenu span a:hover, .mctabmenu span a:hover {
	color: #fff;
	height: 25px;
	font-weight: bold;
	text-decoration: none;
}
.tabmenu span.selected, .tabmenu span.selected a, .mctabmenu span.selected, .mctabmenu span.selected a {
	color: #fff;
	font-weight: bold;
}
.rightbox {
	height: 25px;
	background-color: #2d2d2d;
	color: #bbb;
	text-align: center;
	font-size: 11px;
	font-weight: bold;
	font-family: Verdana, Helvetica, Arial, Sans-Serif;
	text-decoration: none;
}
.copyright {
	color: #2d2d2d;
	font-size: 13px;
	font-weight: 400;
	text-align: center;
}
.copyright a {
	color: #3b5998;
	font-size: 11px;
	font-weight: 400;
	text-align: center;
}
.newsfader {
	background-color:#fefefe;
	color: #304b58;
	font-size: 10px;
	font-style: normal;
	font-weight: 400;
	text-decoration: none;
	min-height: 20px;
}
#fscroller {
	line-height: 1.3em;
	min-height: 20px;
}
.useronline {
	background: url(./default/user_online.png) no-repeat;
	padding-left: 15px;
	color: #2e8b57;
	font-weight: 700;
}
.useroffline {
	background: url(./default/user_offline.png) no-repeat;
	padding-left: 15px;
	color: #7b68ee;
	font-weight: 700;
}
.useraway {
	background: url(./default/user_away.png) no-repeat;
	padding-left: 15px;
	color: #6078b0;
	font-weight: 700;
}
.nav, .nav a, .nav a:visited {
	color: #2d2d2d;
	font-size: 10px;
	font-weight: 700;
	text-decoration: none;
}
.nav a:hover {
	color: #3b5998;
	text-decoration: underline;
}
.QuickLinks {
	background-color: #ddd;
	border: 1px;
	border-color: #195392;
	border-style: solid;
	display: none;
	list-style: none;
	margin-left: 0;
	top: 15px;
	padding: 0;
	position: absolute;
	text-indent: 0;
	min-width: 12.5em;
	font-style: normal;
}
.QuickLinks li {
	background-color: #eee;
	font-size: 10px;
	list-style: none;
	margin-left: 0;
	padding: 3px;
	text-indent: 0;
	white-space: nowrap;
}
.QuickLinks li:hover {
	background-color: #d8dfea;
}
.QuickLinks a:hover {
	text-decoration: none;
}
.windowbg {
	background-color: #dee4ec;
	font-size: 17px;
	font-weight: 400;
	font-style: normal;
	color: #2d2d2d;
}
.windowbg2 {
	background-color: #edeff4;
	font-size: 17px;
	font-style: normal;
	font-weight: 400;
	color: #2d2d2d;
}
.dividerbot {
	border-bottom: 1px #fff solid !important;
}
.dividertop {
	border-top: 1px #fff solid;
}
.hr {
	background-color: #a7b8cc;
	border: 0 solid #a7b8cc;
	border-top: 0 solid #a7b8cc;
	color: #6078b0;
	height: 1px;
}
.hr2 {
	background-color: #fff;
	border: 0 solid #fff;
	border-top: 0 solid #fff;
	color: #fff;
	height: 1px;
}
.hr_s {
	background-color: #a7b8cc;
	border: 0 solid #a7b8cc;
	border-top: 0 solid #a7b8cc;
	color: #a7b8cc;
	height: 1px;
	width: 40%;
	text-align: left;
}
.bordercolor {
	background-color: #fff;
	font-size: 12px;
}
.border {
	border: thin solid #b1bdc9;
}
.top {
	color: #475f79;
	font-size: 11px;
	font-style: normal;
}
.anchor{
	display: block;
	height: 27px;
	margin-top: -27px;
	visibility: hidden;
}
.titlebg {
	font-size: 14px;
	font-weight: bold;
	font-style: normal;
	text-decoration: none;
	font-family: Verdana, Helvetica, Arial, Sans-Serif;
	color: #3b5998;
	background-color: #d7dbea;
}
.titlebg a {
	font-weight: bold;
	font-style: normal;
	text-decoration: none;
	color: #2d2d2d;
}
.catbg {
	font-size: 14px;
	font-weight: 700;
	font-style: normal;
	text-decoration: none;
	font-family: Verdana, Helvetica, Arial, Sans-Serif;
	color: #eee;
	background-color: #195392;
}
.catbg a {
	color: #fff;
	font-style: normal;
	font-weight: 700;
	text-decoration: none;
}
.selected-bg {
	font-size: 11px;
	font-weight: 700;
	font-style: normal;
	text-decoration: none;
	font-family: Verdana, Helvetica, Arial, Sans-Serif;
	color: #eee;
	background-color: #4378ae;
}
.selected-bg a {
	color: #fff;
	font-style: normal;
	font-weight: 700;
	text-decoration: none;
}
.titlebg a:hover,.catbg a:hover,.selected-bg a:hover {
	text-decoration: underline;
}
.message-sort, .message-sort a:hover {
	color: #2d2d2d;
}
.message-sort a {
	color: #3b5998;
}
.message, #message, .prevwin {
	color: #2d2d2d;
	font-family: Verdana, Helvetica, Arial, Sans-Serif;
	font-size: 12pt;
	font-style: normal;
	font-weight: 400;
	text-decoration: none;
}
.message a, .prevwin a {
	background-color: transparent;
	color: #900000;
	font-style: normal;
	font-weight: 400;
	text-decoration: none;
}
.message a:hover, .prevwin a:hover {
	background-color: transparent;
	color: #3b5998;
	text-decoration: underline;
}
.message table {
	width: auto;
	margin-left: 1em;
}
.message table td {
	border: #000 solid thin;
}
.droppageindex {
	background-color: #eee;

	/*border: 2px inset;
*/

	border: 1px solid #b1bdc9;
	color: #000;
	float: left;
	font-family: Verdana, Sans-Serif;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 5px;
}
table.tableselect {
	background-color: #eee;
	color: #ccc;
	font-family: Verdana, Helvetica, Sans-Serif;
	font-size: 10px;
	padding-bottom: 3px;
}
.droppages {
	height: 14px;
	padding-left: 1px;
	padding-right: 1px;
}
.droppages a {
	color: #2d2d2d;
	font-size: 9px;
	font-weight: 400;
}
.highlight {
	background-color: #ff3;
	color: #000;
	font-family: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: 700;
}
.imgbg {
	color: #fff;
	font-size: 10px;
	font-style: normal;
}
.imgcatbg {
	color: #fff;
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
}
.imgcatbg:hover {
	color: #bbb;
}
.imgtitlebg {
	color: #fff;
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
}
.imgwindowbg {
	color: #3b5998;
	font-size: 9px;
	font-style: normal;
	font-weight: 700;
}
.imgwindowbg:hover {
	color: #2d2d2d;
}
.imgmenu {
	color: #bbb;
	font-size: 11px;
	font-style: normal;
	font-weight: 700;
}
.imgmenu:hover {
	color: #fff;
}
tr.search .imgcatbg, tr.search .imgwindowbg {
	color: #3b5998;
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
}
tr.search .imgcatbg:hover, tr.search .imgwindowbg:hover {
	color: #2d2d2d;
}
.quote {
	background-color: #e8ebef;
	border: 1px #34689a solid;
	color: #000;
	font-family: Verdana, Helvetica, Arial, Sans-Serif;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	padding: 4px;
	width: 90%;
}
.my_me {
	color: #f00;
	font-style: italic;
}
.code {
	background-color: #ccc;
	border: 1px #34689a solid;
	color: #000;
	font-family: Courier, "Courier New", Serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	padding: 4px;
	width: 90%;
}
.editbg {
	background-color: #fffedf;
	border: 1px #c00 solid;
	color: #000;
	font-family: Verdana, Helvetica, Arial, Sans-Serif;
	font-size: 11px;
	font-style: normal;
	font-weight: 400;
	padding: 4px;
	width: 90%;
}
.forumjump {
	background-color: #eee;
	border-bottom: 1px dashed #d6b2ff;
	border-top: 1px dashed #d6b2ff;
	color: #000;
	font-weight: 700;
}
.forumjumpcat {
	background-color: #fffedf;
	border-bottom: 1px dashed #d6b2ff;
	border-top: 1px dashed #d6b2ff;
	color: #000;
}
.forumjumpcatm {
	background-color: #eee8aa;
	color: #000;
	font-style: italic;
}
.forumjumpcatmf {
	background-color: #eee8aa;
	border-bottom: 1px dashed #a5aaee;
	color: #000;
	font-style: italic;
}
.forumcurrentboard {
	background-color: #f0fff0;
	color: #000;
	font-weight: 700;
}
#PMcontainer {
	background-color: #eee;
	border: 0;
	float: left;
	margin-bottom: 10px;
	padding: 0;
	width: 100%;
}
.boardcontainer {
	background-color:#bbb;
	border:0;
}
.displaycontainer {
	background-color: #fff;
	padding: 1px;
	width: 100%;
}
.postcontainer {
	background-color: #d7dbea;
	padding: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.post-userinfo {
	background-color: #d7dbea;
	line-height: 1.2em;
}
.navbarcontainer {
	margin: 0;
}

/* postbox, post, PM, calendar */

#dragcanvas {
	border: 0;
	left: 0;
	position: relative;
	top: 0;
	z-index: 1;
}
#usersto {
	width: 98%;
	display: inline;
	float: left;
}
#userscc, #usersbcc {
	width: 98%;
	display: none;
	float: left;
}
textarea#message {
	top: 0;
	left: 0;
	z-index: 2;
	padding: 5px;
	margin: 0;
	visibility: visible;
}
div#dragbgw {
	position: absolute;
	top: 0;
	left: 460px;
	width: 3px;
	border: 0;
	z-index: 3;
}
div#dragbgh {
	position: absolute;
	top: 142px;
	left: 0;
	height: 3px;
	border: 0;
	z-index: 3;
}
img#dragImg1 {
	position: absolute;
	top: 0;
	z-index: 4;
	width: 3px;
	cursor: e-resize;
}
img#dragImg2 {
	position: absolute;
	left: 0;
	z-index: 4;
	height: 3px;
	cursor: n-resize;
}
.deftpal {
	border: 0;
	cursor: pointer;
	float: left;
	font-size: 5px;
	height: 9px;
	margin-bottom: 1px;
	margin-right: 1px;
	width: 10px;
}
.npf_txt {
	font-size: 9px;
	margin: 3px 0 0;
	padding: 0;
	text-align: center;
	width: 56px;
}
input[type="button"].npf_txt {
	font-size: 9px;
}
div.palettebox {
	float: left;
	height: 20px;
	margin-top: 1px;
	padding-left: 1px;
	padding-top: 1px;
	width: 66px;
}
div#bullets {
	background-color: #ccc;
	border: 1px solid #666;
	display: none;
	left: 345px;
	padding: 2px;
	position: absolute;
	text-align: center;
	top: -22px;
	width: 63px;
}
#bullets img {
	background-color: #ccc;
	cursor: pointer;
	height: 8px;
	margin: 3px;
	width: 8px;
}
#fontface {
	font-size: 9px;
	margin-left: 1px;
	margin-right: 1px;
	margin-top: 2px;
	width: 113px;
}
#fontsize {
	font-size: 9px;
	margin-left: 1px;
	margin-right: 2px;
	margin-top: 2px;
	width: 39px;
}
div.txtalgn {
	float: left;
	width: 92px;
}
.leftleft {
	float: left;
	text-align: left;
}
div.left99 {
	float: left;
	width: 99%;
}
div.left440 {
	float:left;
	width:440px;
}
div.boxlist1 {
	float: left;
	width: 460px;
}
div.chrwarn {
	float: left;
	text-align: left;
	width: 315px;
}
div.chrsize {
	float: left;
	text-align: right;
	width: 127px;
}
input.chrwarn {
	background-color: #fefefe;
	border: 0;
	color: #304b58;
	font-size: 11px;
	font-style: normal;
	font-weight: 400;
	padding: 1px;
	width: 40px;
}
input.chrsize {
	background-color: #fefefe;
	border: 0;
	color: #304b58;
	font-size: 11px;
	font-style: normal;
	font-weight: 400;
	padding: 1px;
	width: 15px;
}
div#spell_container {
	float: left;
}

/* height, width, padding */

table.pad_2px td, .padd_2px {
	padding: 2px;
}
table.pad_3px td, .padd_3px {
	padding: 3px;
}
table.pad_4px td, .padd_4px {
	padding: 4px;
}
table.pad_8px td, .padd_8px {
	padding: 8px;
}
table.pad_0 td, .padd_0 {
	padding: 0;
}
table.pad_10px td, .padd_10px {
	padding: 10px;
}
.h_18px {
	height: 18px;
}
.h_15px {
	height: 15px;
}
.h_20px {
	height: 20px;
}
.h_22px {
	height: 22px;
}
.h_23px {
	height: 23px;
}
.h_25px {
	height: 25px;
}
.h_30px {
	height: 30px;
}
.h_40px {
	height: 40px;
}
.h_50px {
	height: 50px;
}
.h_60px {
	height :60px;
}
.h_70px {
	height: 70px;
}
.h_80px {
	height:80px;
}

/*For the ajax rotating gif popup. The width established below must match the width in ajax.js*/

#ImageAlert {
	visibility: hidden;
	position: fixed;
	background-color: #eee;
	top: 50%;
	left: 50%;
	width: 230px;
	height: 100px;
	margin-left: -115px;
	margin-top: -50px;
	z-index: 1000;
	border: solid 5px rgb(119,119,119);
	border: solid 5px rgba(0,0,0,0.5);
	background-clip: padding-box;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#ImageAlert div.topper {
	vertical-align: middle;
	padding-left: 0.5em;
	font-weight: bold;
	font-style: normal;
	font-size: 12px;
	font-family: Verdana, Arial, Sans-Serif;
	color: #eee;
	background: url(./default/tabtitle.png) repeat-x top #1f6eb6;
	height: 25%;
	line-height: 2em;
	text-align: center;
}
#ImageAlert div.rotate {
	width: 100%;
	height: 75%;
	text-align: center;
}
#ImageAlert div.rotate img {
	margin: 4px;
}
.yabb_rss {
	float: right;
	width: 20px;
	height: 20px;
	text-align: center;
	padding: 4px 5px 0 0;
	display: inline;
}
.yabb_18 {
	float: right;
	width: 22px;
	height: 22px;
	text-align: center;
	padding: 4px 4px 0 0;
	display: inline;
}
.yabb_searchbox {
	float: right;
	width: 180px;
	margin: 1px !important;
	padding: 1px !important;
	text-align: center;
	display: inline;
	background-color: #eee;
	border: #bbb solid 1px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.yabb_searchbox:hover, .yabb_searchbox:focus {
	background-color:#f5f5f5;
}
.yabb_searchbox input[type="text"] {
	color: #999;
	width: 150px;
	font-size: 13px !important;
	margin-left: 0;
}
.yabb_searchbox input:hover, .yabb_searchbox input:focus {
	color: #000;
}
.yabb_main {
	width: 98%;
	margin: 0 auto;
	text-align: left;
}
.yabb_forumjump {
	width: 96%;
	margin-left: auto;
	margin-right: auto;
	text-align: right;
	padding-top: 10px;
}
.info-center, .board-perms {
	line-height: 1.7;
}
.clear {
	clear: both;
}
.ongif {
	margin-left: 4px;
	margin-right: 6px;
	vertical-align: middle;
}
.grpcolors {
	font-size: 10px;
	float: left;
	width: 49%;
}
.mctitle {
	float: left;
	width: 100%;
	height: 21px;
	text-align: center;
	padding-top: 3px;
}
.pgindex {
	float: left;
	height: 21px;
	margin: 2px 0 0 0;
	line-height: .86em;
	vertical-align: middle;
}
.bold {
	font-weight: bold;
}
.under, .u {
	text-decoration: underline;
}
.cursor {
	cursor: pointer;
}
.pass_box {
	float: left;
	width: 150px;
	height: 20px;
	text-align: left;
}
.pstrength-bar {
	border: 1px solid #fff;
	height: 4px;
}
#cappasswrd1, #cappasswrd2, #cappasswrd1_char, #cappasswrd2_char {
	clear: left;
	color: #f00;
	font-weight: bold;
	display: none;
}
#password-strength-meter {
	background: transparent url(./default/empty_bar.gif) repeat-x center left;
	height: 4px;
}
.borderbox {
	width: 500px;
	margin-bottom: 8px;
	margin-left: auto;
	margin-right: auto;
}
.contactleft {
	float: left;
	clear: left;
	width: 30%;
	padding-top: 5px;
	padding-bottom: 5px;
}
.contactright {
	float: left;
	width: 70%;
	padding-top: 5px;
	padding-bottom: 5px;
}

/* Soft coded css buttons */

.buttonleft {
	padding: 0 0 0 6px;
	background-image: url(../../Buttons/Button22big_left.png);
}
.buttonright {
	padding: 0 6px 0 0;
	background-image: url(../../Buttons/Button22big_right.png);
}
.buttonimage {
	padding: 0 0 0 25px;
	background-position: 0 0;
}
.buttontext {
	position: relative;
	top: 5px;
	left: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #000;
	font-weight: normal !important;
	font-style: normal;
}

/* Soft coded css buttons end */

.cssbutton1 {
	height: 20px;
	width: 1px;
	margin: 0;
	padding: 0;
	vertical-align: top;
	display: inline-block;
}
.cssbutton2 {
	height: 20px;
	border: 0;
	margin: 1px;
	background-position: top left;
	background-repeat: no-repeat;
	text-decoration: none;
	font-size: 18px;
	vertical-align: top;
	display: inline-block;
}
.cssbutton3 {
	height: 20px;
	border: 0;
	margin: 0;
	background-position: top right;
	background-repeat: no-repeat;
	text-decoration: none;
	font-size: 18px;
	vertical-align: top;
	display: inline-block;
}
.cssbutton4 {
	height: 20px;
	border: 0;
	margin: 0;
	background-repeat: no-repeat;
	vertical-align: top;
	text-decoration: none;
	font-size: 18px;
	display: inline-block;
}
.cssbutton5 {
	height: 20px;
	border: 0;
	margin: 0;
	padding: 0 5px 0 0;
	text-align: left;
	text-decoration: none;
	vertical-align: top;
	white-space: nowrap;
	display: inline-block;
}
span.ubbcbutton {
	height: 22px;
	width: 23px;
	border: 0;
	margin: 0 1px 1px 0;
	background-position: top right;
	background-repeat: no-repeat;
	text-decoration: none;
	font-size: 18px;
	vertical-align: top;
	display: inline-block;
	float:left;
}
.ubbcbuttonback {
	background-image: url(../../UBBCbuttons/ubbc2.png);
}
.tt {
	font-family: Courier, monospace;
}
.littlebody {
	width: 800px;
}

/* Post and Thread Tools */

.windowbg td.post_tools {
	background: #3673b3 url(./default/tabtitle.png) repeat-x;
	height: 100%;
	border-top: 0;
	border-bottom: 0;
	border-left: 1px;
	border-right: 1px;
	border-style: solid;
	border-color: #ddd;
	padding: 3px 10px 3px 3px;
}
.windowbg2 td.post_tools,.tabtitle td.post_tools,.tabtitle-bottom td.post_tools {
	background: #3673b3 url(./default/tabtitle.png) repeat-x;
	height: 100%;
	border-top: 0;
	border-bottom: 0;
	border-left: 1px;
	border-right: 1px;
	border-style: solid;
	border-color: #edeff4;
	padding: 3px 10px 3px 3px;
}
.post_tools_menu {
	background-color: #eee;
	position: absolute;
	display: none;
	margin: 0;
	padding: 1px;
	border: 1px solid #195392;
	list-style: none;
	text-indent: 0;
	top: 11px;
	right: 0;
	min-width: 110px;
}
.post_tools_menu li {
	background-color: #4378ae;
	white-space: nowrap;
	font-size: 10px;
	margin-left: 0;
	padding: 3px;
	list-style: none;
	text-indent: 0;
	text-align: left;
	font-style: normal;
	font-size: 11px;
	color: #fff;
	font-weight: bold;
}
.post_tools_a a {
	font-weight: bold;
	font-style: normal;
	font-size: 11px;
	font-family: Verdana, Arial, sans-serif;
	color: #fff;
}
.post_tools_a a:hover {
	color: #bbb;
	text-decoration:none;
}
.post_tools_menu li:hover {
	background-color:#eee;
	color: #2d2d2d;
}
.post_tools_menu li a {
	color: #fff;
	text-decoration: none;
	font-weight: bold;
}
.post_tools_menu li:hover a {
	color: #2d2d2d;
}
.post_tools_menu li:hover a:visited {
	color: #2d2d2d;
}
.post_tools_menu li a:hover {
	color: #2d2d2d;
	text-decoration: none;
}
.post_tools_menu li a:visited {
	color: #fff;
	text-decoration: none;
}

/* End Post and Thread Tools */

.showcolor {
	float: left;
	width: 15px;
	height: 15px;
	margin-right: 1px;
	margin-bottom: 1px;
	border: 0;
	font-size: 5px;
	cursor: pointer;
}
.defpal {
	border: 0;
	float: left;
	font-size: 5px;
	height: 15px;
	margin-bottom: 1px;
	margin-right: 1px;
	text-align: center;
	width: 15px;
}
.defpalx {
	float: left;
	text-align: center;
	width: 15px;
	height: 15px;
	margin-right: 1px;
	margin-bottom: 1px;
	border: 0;
	font-size: 5px;
}
.defpal_b {
	border: 0;
	font-size: 5px;
	height: 13px;
	margin: 0;
	padding: 0;
	vertical-align: middle;
	width: 13px;
}
.deftrows {
	float: left;
	width: 15px;
	height: 15px;
	margin-right: 1px;
	margin-bottom: 1px;
	border: 0;
	font-size: 5px;
	cursor: pointer;
}
#feature_status_1, #feature_status_4, #feature_status_7 {
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
}
.calout_left {
	float: left;
	width: 30%;
	padding-top: 1px;
	padding-bottom: 1px;
	text-align: left;
}
.calout_right {
	float: left;
	width: 70%;
	padding-top: 1px;
	padding-bottom: 1px;
	text-align: right;
}
.memberlist_td {
	cursor: pointer;
	text-align: center;
}
.norm {
	font-style: normal;
}
.pages {
	height: 14px;
	padding-left: 2px !important;
	padding-right: 2px !important;
	font-size: 9px;
}
.imcontact {
	float: left;
	width: 99%;
	padding-top: 5px;
	margin-top: 2px;
	text-align: right;
}
.imcontact_left {
	float: left;
	text-align: left;
	padding: 2px;
	margin: 2px;
	display: inline;
}
.imcontact_right {
	float: right;
	text-align: right;
	padding: 2px;
	margin: 2px;
	display: inline;
}
.minical_border {
	border: 1px solid #b1bdc9;
}
.cal_row1 {
	height: 23px;
}
.cal_row2 {
	height: 26px;
}

/* ---- Don't style some input fields: Quick search, palette, remaining characters, Postbox font face and size ---- */

.yabb_searchbox input,input[name="viewcode"] {
	background-color: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}
input[name*="msgCL"],input[name="txtsize"] {
	background-color: transparent !important;
}
select[name="fontface"],select[name="fontsize"] {
	padding:0 !important;
}
.zodiac {
	font-size: 18px;
	text-align: center;
	margin-bottom: 3px;
	cursor: pointer;
}
.tabmenu span.tabstyle {
	font-size: 12px;
	white-space: nowrap;
	cursor: auto;
	margin: 0 1px 0 0;
	padding: 4px 8px;
	text-align: center;
}
.tabmenu input.edittab {
	font-family: Arial,Sans-Serif;
	float: left;
	vertical-align: top;
	border-radius: 0;
	background-color: transparent;
	border: 0;
	font-size: 12px;
	white-space: nowrap;
	cursor: auto;
	margin: 0 1px 0 0;
	padding: 4px 8px;
	text-align: center;
	color: #bbb;
}
.tabmenu input.editttab_img {
	float: left;
	background-color: transparent;
	border: 0;
	border-radius: 0;
	vertical-align: middle;
	padding: 0;
}
.codebox {
	width: 90%;
	background-color: #4378ae;
	padding: 2px 6px 2px 2px;
	border: 1px #34689a solid;
	border-bottom: 0;
	color: #eee;
	font-weight: bold;
	height: 20px;
	line-height: 20px;
}
.codebox div {
	float: right;
}
.codebox span {
	vertical-align: top;
}
.media_iframe {
	border: 0;
	height: 326px;
	width: 400px;
}
.help {
	cursor: help;
}
.help_dd {
	color: #09c;
	padding-bottom: .5em;
}
.help_attn {
	color: #09c;
}
.help_attn_strong {
	color: #f00;
}
h4.help {
	text-decoration: underline;
	margin-bottom: 0;
	cursor: default;
}
.navmenu {
	float: right;
	width: 40px;
}
.topic-hover {
	position: absolute;
	top: 20px;
	left: 200px;
	width: 400px;
	border: 1px solid #000;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	box-shadow: 2px 2px 4px #444;
	padding: 8px;
	z-index: 10000;
	overflow: hidden;
	display: none;
}
.sub_drop {
	position: relative;
	top: 2px;
	cursor: pointer;
}
.brd_arrow {
	margin: 2px;
}
.debug {
	float: left;
	padding: 0;
	width: 99%;
	margin-left: 0;
	margin-right: auto;
}
.pagedropindex {
	float: left;
	width: 350px;
	margin: 2px 0 0 0;
	border: 0;
}
.pagedropindex_inner {
	float: left;
	height: 21px;
	margin: 2px 4px 0 0;
}
.decselector {
	float: left;
	height: 21px;
	margin: 0;
}
.decselector_sel {
	font-size: 9px;
	border: 2px inset;
}
.viewindex_hid {
	height: 14px;
	visibility: hidden;
}
.attbox {
	float:left;
	margin:8px;
	display: inline;
}
.attbox_b {
	margin:8px;
}
.att_hr {
	margin: 5px 0;
	padding: 0;
}
.quoteinfo {
	float: left;
	width: 99%;
	overflow: auto;
}
.delcounter {
	border: 0;
	visibility: hidden;
	display: none;
}
.totitle {
	width: 99%;
}
.load_sig {
	float: left;
	font-size: 10px;
	font-family: Verdana, sans-serif;
	overflow: auto;
	max-height: 200px;
	height: 200px;
	width: 99%;
}
.load_sig_b {
	float: left;
	font-size: 10px;
	font-family: Verdana, sans-serif;
	overflow: auto;
	max-height: 200px;
	width: 99%;
}

/* Context Help */

.contexthlp {
	position: absolute;
	top: 20px;
	left: 20px;
	width: 400px;
	filter: alpha(opacity=95);
	opacity: 0.95;
	border: 1px solid #000;
	z-index: 10000;
}
.contexttitle {
	filter: alpha(opacity=100);
	opacity: 1.0;
	padding: 6px;
}
.contexttext {
	filter: alpha(opacity=100);
	opacity: 1.0;
	padding: 8px;
}
.ctxtip {
	position: absolute;
	top: 20px;
	left: 90px;
	font: 11px Helvetica, sans-serif;
	color: #000;
	background-color: #ffd;
	border: 1px solid #000;
	padding: 1px 4px;
	z-index: 10000;
}

/* Extended Profiles */

.ext_lft {
	float: left;
	width: 30%;
	padding-top: 5px;
	padding-bottom: 5px;
}
.ext_rgt {
	float: left;
	width: 70%;
	padding-top: 5px;
	padding-bottom: 5px;
}
.ext_100 {
	float: left;
	width: 100%;
	padding-top: 5px;
	padding-bottom: 5px;
}

/* Help template */

.help_ul {
	list-style: none;
	margin: 0;
	padding: 2px;
	border: 0 none;
}

/* IM */

.bnttoto {
	float: left;
	padding: 5px;
}
.usersto {
	width: 98%;
	display: inline;
	float: left;
}
.att_lft {
	float: left;
	width: 23%;
}
.att_lft_b {
	float: left;
	width: 23%;
	padding-top: 5px;
}
.att_rgt {
	float: left;
	width: 76%;
}
.att_rgt_b {
	float: left;
	width: 76%;
	padding-top: 5px;
}
.width_100 {
	width: 100%;
}

/* Message Index */

.q_post_space {
	text-align: right;
	padding-top: 10px;
	padding-bottom: 10px;
}
.nopost {
	background-color: #fbb;
}

/* Profile */

.picrow {
	float: left;
	width: 20%;
	text-align: center;
	padding: 5px 5px 5px 0;
}
.mc_clip {
	float: right;
	padding-right: 0.3em;
}
.load_cllink {
	position: absolute;
right: 3px }
.toolbutton_a {
	display: inline-block;
	cursor: pointer;
	padding-top: 2px;
	background-repeat: no-repeat;
	padding-left: 22px;
	height: 17px;
	text-align: left;
}
.toolbutton_b {
	position: relative;
	float: right;
	display: inline-block;
	height: 10px;
}
.sticky_stick {
	font-size: medium !important;
}
.style_ubbc_box {
	float: left;
	width: 463px !important;
}

/*user select box */

.letterlinks_a {
	float: left;
	width: 11px;
	text-align: center;
	border: 1px #fff solid;
}
.letterlinks_b {
	float: left;
	width: 13px;
	text-align: center;
	margin: 1px 0;
}
.letterlinks_c {
	float: left;
	text-align: center;
	border: 1px #fff solid;
	padding: 0 2px;
}
.letterlinks_d {
	float: left;
	text-align: center;
	padding: 0 2px;
	margin: 1px 0;
}
.reclist {
	width: 456px;
	font-size: 11px;
	font-weight: bold;
}
.reclist_b {
	width: 456px;
}
.reclist_sub {
	width: 226px;
}
.reclist_no {
	float: left;
	width: 456px;
	height: 139px;
text-align: center }
.pagedrp {
	float: left;
	width: 456px;
	margin: 2px 0;
	border: 0;
}
.recentpm {
	float: left;
	width: 224px;
	text-align: center;
	padding: 2px 0;
	border: 1px outset;
	cursor: pointer;
}
.wildcard {
	font-size: 11px;
width: 140px }
.select_body {
	background-color: #dee4ec;
	color: #2d2d2d;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	width: 464px;
	min-width: 464px;
	margin: 0 auto;
}
.select_body_qsearch {
	background-color: #dee4ec;
	color: #2d2d2d;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	width: 300px;
	min-width: 300px;
	margin: 0 auto;
}
.system-info {
	margin: 0 auto;
	height: 35px;
	width: 80%;
	font-size: 12px;
	font-family: Verdana, Arial, Sans-Serif;
	color: #eee;
	background: url(./default/tabtitle.png) repeat-x top #1f6eb6;
	-webkit-border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
	border-bottom: 1px solid #195392;
}
.system-info td {
	text-align: center;
	font-weight: bold;
	vertical-align: middle;
}
.system-info-body {
	width: 80%;
	background-color: #dee4ec;
	padding: 1px;
	border-collapse: separate;
	border-spacing: 1px;
}
.system-info-body td {
	background-color: #eee;
	font-size: 12px;
	font-weight: 400;
	font-style: normal;
	color: #2d2d2d;
	padding: 1em;
}
.smiley_box {
	height: 65px;
	width: 120px;
	border: 1px solid #b1bdc9;
	-webkit-border-radius: 0 0 5px 5px;
	-moz-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
}
.smiley_top {
	background-color: #1f6eb6;
	-webkit-border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
	color: #eee;
	font-size: 12px;
	font-style: normal;
	font-weight: bold;
	padding-left: 0.5em;
	vertical-align: middle;
	height: 15px;
}
.mypostborder {
	border-right: thin solid #fff;
	border-left: thin solid #fff;
	border-bottom: thin solid #fff;
}
.mar-bot {
	margin-bottom: 1em;
}
.off-color {
	color:#ccc;
}

/* ������� ���� */

#panel {
	position: fixed;

/* ��������� */

	top: 280px;

/* ������ ������ */

	left: 0;

/* ������ ����� */

	background: red;

/* ���� ���� */

	width: 35px;

/* ������ ����� */

	height: 400px;

/* ������ ����� */

	font: 14px Arial;

/* ������ � ��� ������ */

	color: #fff;

/* ���� ������ */

	text-align: center;

/* ������������ ������ �� ������ */

	padding: 0px;

/* ������� �� ������ ������ ����� */

	-webkit-transition-duration: 0.3s;

/* ������������ ���������� ��� ���� ���������*/

	-moz-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-border-radius: 0 5px 5px 0;

/* ����������� ������ ��� ���� ���������*/

	-moz-border-radius: 0 5px 5px 0;
	border-radius: 0 5px 5px 0;
}

/* ������� ���� */

#hidden_panel {
	position: fixed;

/* ��������� */

	top: 280px;

/* ������ ������ */

	left: -829px;

/* ������ ����� */

	background: #ffffff;

/* ���� ���� */

	color: #000;

/* ���� ������ */

	width: 829px;

/* ������ ����� */

	height: 400px;

/* ������ ����� */

	padding: 0px;

/* ������� �� ������ ������ ����� */

	text-align: left;

/* ������������ ������ */

	-webkit-transition-duration: 0.3s;

/* ������������ ���������� ��� ���� ���������*/

	-moz-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-border-radius: 0 5px 5px 0;

/* ����������� ������ ��� ���� ���������*/

	-moz-border-radius: 0 5px 5px 0;
	border-radius: 0 5px 5px 0;
}
#panel:hover {
	left: 220px;

/* ��� ��������� ����������� �� ������� 200px + 20px ������� */

}
#panel:hover #hidden_panel {
	left: 0;

/* ������ ����� */

}

/* ������ ����� START */

.leftbtn {
	background-image: url("http://www.holod-konsultant.ru/advsection/images/qr-label.png");
	display: block;
	width: 35px;
	height: 400px;
	position: fixed;
	right: 0;
	top: 0px;
	z-index: 99999;
	border: none;
	background-repeat : no-repeat;
	cursor: pointer;
}
.left_add {
	position: relative;
	display: inline-block;
}
.dropright-content {
	display: none;
	position: absolute;
}
.show {
	display:block;
}
.dropright {
	display: block;
	width: 829px;
	height: 400px;
	position: fixed;
	right: 40px;
	top: 0px;
	z-index: 99999;
}

/*������ ����� END*/

.icon-favicon {
	width: 1rem;
	height: 1rem;
}

.mr-1,.mx-1 {
    margin-right: .25rem !important
}

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


/* =========================================
   RESPONSIVE — Mobile and Tablet Support
   ========================================= */

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* bar.gif is a narrow image (~6×10px); height:auto would scale it to ~100px at full width */
img[src$="bar.gif"] { height: 10px; }

/* --- Small desktops and tablets (≤ 900px) --- */
@media screen and (max-width: 900px) {
    #maincontainer, #astra {
        width: 100%;
        padding: 0 2px;
        box-sizing: border-box;
    }
}

/* --- Tablets and phones (≤ 768px) --- */
@media screen and (max-width: 768px) {

    /* Prevent horizontal scroll */
    html, body { overflow-x: hidden; max-width: 100%; }
    #maincontainer, #container { overflow-x: hidden; }

    body { font-size: 14px; }
    .small { font-size: 12px !important; }

    /* === Header: stack logo and user info === */
    table#header,
    table#header tbody,
    table#header tr,
    table#header td {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box;
    }
    table#header colgroup { display: none; }
    table#header td[align="left"] { text-align: center; }

    /* === Top bar (time / language / search) === */
    table.menutop { height: auto; }

    /* === Navigation tabs: horizontal scroll === */
    /* Force 100% width — overrides JS-set 92% inline style */
    #fixmenu { width: 100% !important; }
    #fixmenu table,
    #fixmenu table tbody,
    #fixmenu table tr,
    #fixmenu table td {
        display: block;
        width: 100% !important;
    }
    /* 1. Навбар — уменьшить высоту */
    .tabmenu {
        overflow-x: auto;
        white-space: nowrap;
        height: auto;
        min-height: 26px;
        -webkit-overflow-scrolling: touch;
    }
    .tabmenu ul {
        display: inline-flex;
        margin-left: 0;
        padding-left: 0;
        width: auto;
    }
    .tabmenu li {
        float: none;
        display: inline-flex;
    }
    .tabmenu a, .mctabmenu a {
        padding: 4px 7px;
        font-size: 12px;
        display: block;
        float: none;
    }
    .tabmenu span.tabstyle {
        padding: 4px 7px;
        font-size: 12px;
    }

    /* 2. Строка с именем форума (breadcrumb) — крупный шрифт + кнопка "вниз" */
    #brcrumb table,
    #brcrumb table tbody,
    #brcrumb table tr {
        display: block;
        width: 100% !important;
    }
    #brcrumb table td:first-child { display: none !important; }
    #brcrumb table td {
        display: block !important;
        width: 100% !important;
        padding: 5px 8px !important;
        overflow: hidden;
    }
    #brcrumb .nav,
    #brcrumb .nav a,
    #brcrumb .nav a:visited {
        font-size: 15px !important;
        line-height: 1.8;
    }
    /* Кнопка "спуск вниз" — прижать вправо и увеличить */
    #brcrumb a[href="#bottom"] {
        float: right;
        margin-left: 6px;
        margin-right: 12px;
        line-height: 1;
    }
    #brcrumb a[href="#bottom"] img {
        width: 28px !important;
        height: 28px !important;
    }

    /* === Main content === */
    .yabb_main { width: 100%; }
    .displaycontainer { overflow-x: auto; }

    /* === Board index: скрыть колонки "Темы", "Сообщений", "Последнее" === */
    /* Заголовок категории */
    table.tabtitle.tabtitle-text tr td:nth-child(3),
    table.tabtitle.tabtitle-text tr td:nth-child(4),
    table.tabtitle.tabtitle-text tr td:nth-child(5) {
        display: none !important;
    }
    /* Строки разделов (только BoardIndex — таблицы с id) */
    table.bordercolor.cs_thin[id] tr td:nth-child(3),
    table.bordercolor.cs_thin[id] tr td:nth-child(4),
    table.bordercolor.cs_thin[id] tr td:nth-child(5) {
        display: none !important;
    }
    /* Переключить table-layout чтобы оставшиеся колонки расширились */
    table.bordercolor.cs_thin,
    table.tabtitle.tabtitle-text {
        table-layout: auto !important;
        width: 100% !important;
    }
    /* 3. Обнулить ширину скрытых col-элементов — строки займут 100% ширины */
    table.bordercolor.cs_thin[id] col:nth-child(3),
    table.bordercolor.cs_thin[id] col:nth-child(4),
    table.bordercolor.cs_thin[id] col:nth-child(5),
    table.tabtitle.tabtitle-text col:nth-child(3),
    table.tabtitle.tabtitle-text col:nth-child(4),
    table.tabtitle.tabtitle-text col:nth-child(5) {
        width: 0 !important;
        display: none !important;
    }
    /* Уменьшить иконку ТОЛЬКО в таблицах разделов (у них есть id) */
    table.bordercolor.cs_thin[id] tr td:nth-child(1) {
        width: 36px !important;
        min-width: 36px;
        padding: 2px !important;
    }
    table.bordercolor.cs_thin[id] tr td:nth-child(1) img {
        width: 32px !important;
        height: 32px !important;
    }

    /* === MessageIndex: список тем — адаптация === */
    /* :has(tr.titlebg) ограничивает правила только MessageIndex
       (у Memberlist нет tr.titlebg — там заголовок на уровне td.catbg) */
    table.bordercolor.pad_3px.cs_thin:has(tr.titlebg) {
        table-layout: auto !important;
        width: 100% !important;
    }
    /* Скрыть "Просмотры":
       в заголовке colspan="2" делает сдвиг → views = td:nth-child(4)
       в строках тем нет colspan → views = td:nth-child(5) */
    table.bordercolor.pad_3px.cs_thin:has(tr.titlebg) tr.titlebg td:nth-child(4),
    table.bordercolor.pad_3px.cs_thin:has(tr.titlebg) tr:not(.titlebg):not(.catbg) td:nth-child(5) {
        display: none !important;
    }
    /* Компактные иконки: threadpic (col 1) и icon (col 2) */
    table.bordercolor.pad_3px.cs_thin:has(tr.titlebg) td:nth-child(1),
    table.bordercolor.pad_3px.cs_thin:has(tr.titlebg) td:nth-child(2) {
        width: 22px !important;
        min-width: 0 !important;
        padding: 2px !important;
    }
    table.bordercolor.pad_3px.cs_thin:has(tr.titlebg) td:nth-child(1) img,
    table.bordercolor.pad_3px.cs_thin:has(tr.titlebg) td:nth-child(2) img {
        width: 18px !important;
        height: 18px !important;
        max-width: none !important;
    }
    /* 1-2. Инфо-центр (статистика, онлайн, войти) — таблицы без id и без pad_3px
       Конвертируем в блочную верстку: таблица + все потомки → display:block
       Это единственный надёжный способ сделать ячейки 100% ширины.
       Таблицы разделов (id="exsib" и т.д.) исключены селектором :not([id]).
       MessageIndex (pad_3px) исключён селектором :not(.pad_3px). */
    table.bordercolor.cs_thin:not([id]):not(.pad_3px),
    table.bordercolor.cs_thin:not([id]):not(.pad_3px) tbody,
    table.bordercolor.cs_thin:not([id]):not(.pad_3px) tr,
    table.bordercolor.cs_thin:not([id]):not(.pad_3px) td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    /* Скрыть столбец с иконкой (первый td в каждой строке = windowbg) */
    table.bordercolor.cs_thin:not([id]):not(.pad_3px) td.windowbg {
        display: none !important;
    }
    /* Стекировать плавающие div в info-center */
    table.bordercolor.cs_thin:not([id]):not(.pad_3px) td div[style*="float"],
    table.bordercolor.cs_thin:not([id]):not(.pad_3px) td.info-center div {
        width: 100% !important;
        float: none !important;
        box-sizing: border-box !important;
    }

    /* 4. Форма "Войти": убрать фиксированную ширину 600px */
    #loginform div[style*="width"] {
        width: 100% !important;
        box-sizing: border-box;
    }
    #loginform table {
        width: 100% !important;
        table-layout: auto !important;
    }
    /* Override inline style="width:285px" etc on inputs */
    #username, #passwrd,
    #loginform input[type="text"],
    #loginform input[type="password"] {
        width: 100% !important;
        box-sizing: border-box !important;
        font-size: 14px;
    }
    /* Convert floated spans to stacked blocks */
    #loginform span[style*="float"] {
        float: none !important;
        display: block !important;
        width: 100% !important;
        margin: 3px 0 !important;
    }
    /* Submit button full-width too */
    #loginform input[type="submit"] {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 5. Дропдаун "Переход в >>" */
    .yabb_forumjump {
        width: 100%;
        text-align: left;
        padding: 4px 0;
        box-sizing: border-box;
    }
    .yabb_forumjump select,
    .yabb_forumjump form {
        width: 100% !important;
        font-size: 14px;
        box-sizing: border-box;
    }

    /* === Post block: compact user info panel === */
    .post-userinfo {
        width: 85px !important;
        min-width: 85px;
        padding: 3px !important;
        font-size: 11px;
        line-height: 1.4;
        word-break: break-word;
    }
    .post-userinfo img {
        max-width: 80px !important;
        height: auto !important;
    }
    .post-userinfo .zodiac { display: none; }
    .post-userinfo .stars { display: none; }

    /* === Display page: thread / message view === */

    /* 1. Отключить фиксированную таблицу — колонки растянутся по содержимому */
    .postcontainer table.bordercolor.pad_4px {
        table-layout: auto !important;
        width: 100% !important;
    }

    /* 2. Длинные слова и URL не вылезают за ширину */
    .postcontainer .message,
    .postcontainer article {
        word-break: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    /* 3. Горизонтальный скролл для вставленных таблиц/кода внутри сообщения */
    .postcontainer .message table,
    .postcontainer .message pre,
    .postcontainer .message code {
        max-width: 100%;
        overflow-x: auto;
        display: block;
    }

    /* 4. Панель над сообщением: subject + кнопки — не выходим за ширину */
    .postcontainer td.dividerbot {
        overflow: hidden;
    }

    /* 5. Контакт-строка внизу поста: мелкие иконки пусть переносятся */
    .postcontainer td.dividertop {
        word-break: break-all;
    }

    /* === Post buttons: только иконки, текст скрыт === */
    /* Кнопки цитирования в шапке поста */
    .postcontainer td.dividerbot .post_tools_a a {
        font-size: 0 !important;
        display: inline-block;
        vertical-align: middle;
        margin: 1px;
    }
    /* Контактные кнопки в нижней строке поста */
    .postcontainer td.dividertop a {
        font-size: 0 !important;
        display: inline-block;
        vertical-align: middle;
    }
    /* Изображения внутри кнопок — оставить видимыми */
    .postcontainer td.dividerbot .post_tools_a a img,
    .postcontainer td.dividertop a img {
        max-width: none !important;
        display: inline-block !important;
    }

    /* === Mobile post: рearranged layout activated by JS (adds class 'mob') === */

    /* Весь блок поста — display:block (снимает rowspan/colspan, table-layout) */
    .postcontainer table.bordercolor.mob,
    .postcontainer table.bordercolor.mob tbody,
    .postcontainer table.bordercolor.mob tr,
    .postcontainer table.bordercolor.mob td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Скрыть оригинальную ячейку юзера (rowspan=4) — она дублируется mob-userrow */
    .postcontainer table.bordercolor.mob td.post-userinfo[rowspan] {
        display: none !important;
    }

    /* Строка с информацией о пользователе (вставляется JS вверху) */
    .postcontainer table.bordercolor.mob tr.mob-userrow {
        display: block !important;
        border-bottom: 1px solid #ccc;
    }
    /* 1. Коллапсируемый блок автора: по умолчанию только имя */
    td.mob-userinfo {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        align-items: center;
        width: 100% !important;
        padding: 3px 6px !important;
        font-size: 12px;
        line-height: 1.4;
        box-sizing: border-box !important;
        cursor: pointer;
    }
    /* Имя — занимает всё место, не переносится */
    td.mob-userinfo > a {
        flex: 1;
        font-weight: bold;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    /* Стрелка-индикатор */
    td.mob-userinfo .mob-toggle {
        flex-shrink: 0;
        font-size: 10px;
        padding: 0 4px;
        color: #666;
    }
    /* div.small скрыт по умолчанию */
    td.mob-userinfo > div.small {
        display: none !important;
        flex-basis: 100%;
    }
    /* Развёрнутое состояние: div.small становится блоком под именем */
    td.mob-userinfo.expanded > div.small {
        display: block !important;
        width: 100%;
        padding-top: 4px;
        font-size: 11px;
        line-height: 1.5;
    }
    td.mob-userinfo.expanded img {
        max-width: 48px !important;
        height: auto !important;
    }

    /* Нижняя строка: [↑] [Функции] [menuTd=0px] [Контакты] */
    /* 3. Серый фон на всю строку */
    .postcontainer table.bordercolor.mob tr.mob-bottom {
        display: flex !important;
        align-items: center;
        width: 100% !important;
        background-color: #d7dbea;
    }
    .postcontainer table.bordercolor.mob tr.mob-bottom td {
        flex: 1;
        width: auto !important;
        display: block !important;
    }
    /* Back-to-top (↑) */
    .postcontainer table.bordercolor.mob tr.mob-bottom td.post-userinfo {
        flex: 0 0 36px !important;
        width: 36px !important;
        padding: 2px !important;
        text-align: center;
    }
    /* 3. Кнопка "Функции поста" — синий фон как в оригинале */
    .postcontainer table.bordercolor.mob tr.mob-bottom td.post_tools {
        flex: 0 0 auto !important;
        display: block !important;
        width: auto !important;
        height: auto !important;
        min-height: 2em !important;
        padding: 0 !important;
        text-align: center;
        background: #3673b3 url(./default/tabtitle.png) repeat-x !important;
    }
    /* Td с выпадающим меню (нулевая ширина, overflow:visible для dropdown) */
    .postcontainer table.bordercolor.mob tr.mob-bottom td.center.bottom {
        flex: 0 0 0px !important;
        width: 0 !important;
        min-width: 0 !important;
        padding: 0 !important;
        overflow: visible;
        height: auto !important;
    }
    /* Dropdown открывается вверх (JS тоже ставит inline style) */
    .postcontainer table.bordercolor.mob tr.mob-bottom .post_tools_menu {
        top: auto !important;
        bottom: 100% !important;
    }
    /* Контакты + IP */
    .postcontainer table.bordercolor.mob tr.mob-bottom td.dividertop {
        flex: 1 1 auto;
        min-width: 0;
    }

    /* === Info center: stack statistics divs === */
    .windowbg2.info-center > div {
        width: 100% !important;
        float: none !important;
    }

    /* === Forms: touch-friendly === */
    input[type="text"], input[type="password"],
    input[type="email"], textarea {
        font-size: 14px;
        width: 100%;
        box-sizing: border-box;
    }
    input[type="submit"], input[type="reset"],
    input[type="button"], .button {
        padding: 8px 14px;
        font-size: 14px;
        min-height: 40px;
        cursor: pointer;
    }
    select { font-size: 14px; padding: 5px; }

    /* === Message text === */
    .message, #message, .prevwin {
        font-size: 13px;
        word-break: break-word;
    }
    .message img { max-width: 100% !important; height: auto !important; }

    /* === Code and quote blocks === */
    .quote, .code, .editbg {
        width: 100% !important;
        overflow-x: auto;
        box-sizing: border-box;
    }
    .codebox { width: 100% !important; }

    /* === Fixed-width overrides === */
    .borderbox              { width: 100%; box-sizing: border-box; }
    .select_body            { width: 100% !important; min-width: 0 !important; }
    .select_body_qsearch    { width: 100% !important; min-width: 0 !important; }
    .littlebody             { width: 100%; }
    .style_ubbc_box         { width: 100% !important; }
    div.left440, div.boxlist1 { width: 100%; float: none; }
    .system-info, .system-info-body { width: 100%; }
    .pagedropindex          { width: 100%; }

    /* === Bottom navigation bar === */
    .mainbottom table,
    .mainbottom table tbody,
    .mainbottom table tr,
    .mainbottom table td {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }

    /* === Hide decorative side ad button === */
    .leftbtn { display: none; }

    /* === Collapse bars for expanded subforum list === */
    .tabtitle-sub { text-align: center; }
    .brd_arrow {
        height: 20px !important;
        width: auto !important;
        max-width: none;
    }

    /* === Hide topic dropdown buttons (gray circles) on mobile === */
    img[id^="dropbutton_"] { display: none !important; }

    /* === Post/Reply form === */

    /* 1. Post form table: remove fixed layout so cells can flex */
    table.pad_3px {
        table-layout: auto !important;
        width: 100% !important;
    }

    /* 2. Subject, reason, poll question inputs: full-width */
    #subject,
    input[name="reason"],
    input[name="question"] {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 3. UBBC toolbar container: allow horizontal scroll */
    div.bordercolor {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* 4. Textarea wrapper and textarea: override Perl inline px widths */
    .left99, .leftleft {
        width: 100% !important;
        box-sizing: border-box;
    }
    #dragcanvas {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    #message {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* 5. Hide drag resize handles (unusable on touch) */
    #dragImg1, #dragImg2,
    #dragbgw, #dragbgh { display: none !important; }

    /* 6. Smiley panel: hide (too small for touch) */
    table.smiley_top,
    table.pad_2px.cs_thin.smiley_box { display: none !important; }

    .ml-more-btn {
        background: #eef2f8;
        border: 1px solid #b0bcd4;
        border-radius: 10px;
        padding: 3px 10px;
        font-size: 11px;
        color: #2c4a80;
        cursor: pointer;
        white-space: nowrap;
        -webkit-tap-highlight-color: transparent;
    }
    .ml-more-btn:active { background: #dde6f8; }

    .ml-detail-content {
        display: flex;
        gap: 14px;
        align-items: center;
        flex-wrap: wrap;
        font-size: 12px;
        color: #333;
    }
    .ml-detail-item { white-space: nowrap; }
}

/* --- Small phones (≤ 480px) --- */
@media screen and (max-width: 480px) {

    body { font-size: 15px; }
    .small { font-size: 12px !important; }

    /* Hide 18+ badge */
    .yabb_18 { display: none; }

    /* Compact search box */
    .yabb_searchbox { width: 120px; }
    .yabb_searchbox input[type="text"] { width: 90px; font-size: 12px !important; }

    /* Compact tab menu */
    .tabmenu a, .mctabmenu a { padding: 6px 7px; font-size: 11px; }

    /* Narrower user info panel */
    .post-userinfo {
        width: 65px !important;
        min-width: 65px;
        font-size: 10px;
    }
    .post-userinfo img {
        max-width: 60px !important;
        height: auto !important;
    }
    /* Hide less important user info on tiny screens */
    .post-userinfo .stars { display: none; }

    /* Скрыть инфо о регистрации, местоположении, поле, знаке зодиака */
    .post-userinfo .reginfo,
    .post-userinfo .location,
    .post-userinfo .gender,
    .post-userinfo .zodiac,
    .post-userinfo .awards,
    .post-userinfo .ext_prof { display: none !important; }

    /* На 480px панель юзера ещё уже — кнопки цитирования и пр. сжимаем */
    .postcontainer table.bordercolor.pad_4px {
        table-layout: auto !important;
    }

    /* Larger message font */
    .message, #message, .prevwin { font-size: 14px; }

    /* MessageIndex: скрыть "Последнее сообщение" на телефонах < 480px */
    table.bordercolor.pad_3px.cs_thin:has(tr.titlebg) tr.titlebg td:nth-child(5),
    table.bordercolor.pad_3px.cs_thin:has(tr.titlebg) tr:not(.titlebg):not(.catbg) td:nth-child(6) {
        display: none !important;
    }

}

/* =========================================
   MRUI — Mobile Reply User Interface
   mrui.js + styles below
   ========================================= */

/* Desktop: never show */
@media screen and (min-width: 769px) {
    #mrui { display: none !important; }
}

/* ── Overlay ── */
#mrui {
    display: none;                    /* flex when open */
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100vh;
    height: 100dvh;                   /* keyboard-aware in modern browsers */
    z-index: 9000;
    flex-direction: column;
    background: #eef0f4;
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-size: 13px;
    overflow: hidden;
}

/* ── Header ── */
#mrui-hdr {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #3673b3 url(./default/tabtitle.png) repeat-x;
    color: #fff;
    flex: 0 0 auto;
    min-height: 46px;
    box-sizing: border-box;
}
#mrui-back {
    flex: 0 0 36px;
    background: rgba(0,0,0,0.2);
    border: none; color: #fff;
    font-size: 20px; width: 36px; height: 36px;
    border-radius: 6px; cursor: pointer; line-height: 1; padding: 0;
}
#mrui-hdr-title {
    flex: 1 1 auto;
    font-weight: bold; font-size: 15px; text-align: center;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
#mrui-send {
    flex: 0 0 auto;
    background: #27ae60; border: none; color: #fff;
    font-size: 13px; font-weight: bold;
    padding: 0 16px; height: 36px;
    border-radius: 6px; cursor: pointer; white-space: nowrap;
}
#mrui-send:active { background: #1e8449; }

/* ── Live preview ── */
#mrui-prev {
    flex: 1 1 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border-bottom: 1px solid #c5cde3;
    min-height: 50px;
}
#mrui-prev-in {
    padding: 8px 12px;
    word-break: break-word;
    line-height: 1.5;
    font-size: 13px;
}
em.mrui-hint { color: #aaa; font-style: normal; }

/* Rendered BBcode inside preview */
#mrui-prev-in blockquote.mrui-bq {
    border-left: 3px solid #3673b3;
    margin: 4px 0 4px 6px;
    padding: 4px 8px;
    background: #f0f4fb;
    font-size: 12px;
    color: #444;
}
#mrui-prev-in blockquote.mrui-bq cite {
    font-style: normal; font-weight: bold; display: block; color: #3673b3;
}
#mrui-prev-in pre.mrui-code {
    background: #2a2a2a; color: #f0f0f0;
    padding: 8px 10px; border-radius: 4px;
    overflow-x: auto; font-size: 12px;
    white-space: pre-wrap; word-break: break-all;
    margin: 4px 0;
}
#mrui-prev-in img.mrui-img {
    max-width: 100%; height: auto; display: block;
    margin: 4px 0; border-radius: 4px;
}
#mrui-prev-in .mrui-yt {
    position: relative; display: inline-block;
    max-width: 100%; cursor: pointer; margin: 4px 0;
}
#mrui-prev-in .mrui-yt-th { max-width: 100%; display: block; border-radius: 6px; }
#mrui-prev-in .mrui-yt-play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(200,0,0,0.85); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
#mrui-prev-in video.mrui-vid {
    max-width: 100%; border-radius: 4px; margin: 4px 0;
}
#mrui-prev-in table.mrui-tbl {
    border-collapse: collapse; width: 100%; margin: 4px 0;
}
#mrui-prev-in table.mrui-tbl td {
    border: 1px solid #ccc; padding: 4px 8px; font-size: 12px;
}

/* ── Toolbars ── */
#mrui-tb, #mrui-tb2 {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px 6px;
    background: #dee2ec;
    border-top: 1px solid #b5beca;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex: 0 0 auto;
    white-space: nowrap;
    scrollbar-width: none;
}
#mrui-tb::-webkit-scrollbar, #mrui-tb2::-webkit-scrollbar { display: none; }
#mrui-tb2 { display: none; border-top: none; border-bottom: 1px solid #b5beca; }

#mrui-tb button, #mrui-tb2 button {
    background: #fff;
    border: 1px solid #b5beca;
    border-radius: 5px;
    color: #2d2d2d;
    font-size: 13px;
    min-width: 34px; height: 34px;
    padding: 0 6px;
    cursor: pointer;
    flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
#mrui-tb button:active, #mrui-tb2 button:active,
#mrui-tb button.active { background: #3673b3; color: #fff; border-color: #3673b3; }
.mrui-sep {
    width: 1px; height: 22px; background: #b5beca;
    margin: 0 2px; flex: 0 0 auto;
}

/* ── Popup (bottom sheet) ── */
#mrui-popup {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 10;
    align-items: flex-end;
    justify-content: center;
}
#mrui-popup-box {
    background: #fff;
    width: 100%;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    border-radius: 14px 14px 0 0;
    box-sizing: border-box;
    box-shadow: 0 -3px 20px rgba(0,0,0,0.15);
}
.mrui-prow {
    display: flex; flex-direction: column; margin-bottom: 10px;
}
.mrui-prow label { font-size: 12px; color: #666; margin-bottom: 4px; }
.mrui-prow input {
    border: 1px solid #c5cde3; border-radius: 7px;
    padding: 9px 11px; font-size: 14px;
    width: 100%; box-sizing: border-box; outline: none;
}
.mrui-prow input:focus { border-color: #3673b3; }
#mrui-pbtns { display: flex; gap: 10px; }
#mrui-pcancel, #mrui-pok {
    flex: 1; height: 44px; border: none; border-radius: 9px;
    font-size: 15px; font-weight: bold; cursor: pointer;
}
#mrui-pcancel { background: #eef0f4; color: #555; }
#mrui-pok     { background: #3673b3; color: #fff; }
#mrui-pok:active { background: #2a5d9f; }

/* ── Input area ── */
#mrui-inp {
    flex: 0 0 auto;
    background: #fff;
    border-top: 2px solid #3673b3;
}
#mrui-subj {
    display: flex; align-items: center;
    padding: 5px 10px;
    border-bottom: 1px solid #dee2ec;
    gap: 6px;
}
#mrui-subj-lbl { font-size: 11px; color: #999; white-space: nowrap; }
#mrui-subj-in {
    flex: 1; border: none; outline: none;
    font-size: 13px; background: transparent; padding: 3px 0;
}
#mrui-ta {
    display: block;
    width: 100%;
    min-height: 54px;
    max-height: 220px;
    padding: 9px 12px;
    box-sizing: border-box;
    border: none; outline: none; resize: none;
    font-size: 14px; line-height: 1.5;
    font-family: Verdana, Helvetica, Arial, sans-serif;
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* ── Post action buttons — mobile only ── */
.mob-action-btns {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 3px 0 2px;
    clear: both;
}
.mob-act-btn {
    background: #eef2f8;
    border: 1px solid #b0bcd4;
    border-radius: 12px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    color: #2c4a80;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}
.mob-act-btn:active { background: #dde6f8; }

/* Narrow the up-arrow cell so Функции поста is visible */
.mob-arrow-narrow {
    width: 36px !important;
    min-width: 0 !important;
    padding: 2px 4px !important;
}

/* Contact ⋯ toggle */
.mob-contact-toggle {
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    color: #666;
    padding: 1px 7px;
    vertical-align: middle;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}
