BODY { margin: 0 0; padding: 10px 20px; min-width: 875px; }
BODY, TD, DIV, SPAN { font: normal 12px verdana,tahoma,arial,helvetica,sans-serif; }
INPUT { font-size: 12px; }
.cleaner { clear: both; height: 1px; }
/*.x-toolbar { display: inline-block; }*/

.tlt-wrap {
	margin-top: 20px;
}

.tlt {
	border-collapse: collapse;
	width: 100%;
	width: expression(document.body.clientWidth < 970 ? "970px" : "100%" );
	min-width: 875px;
}

#top-nav {
	width: expression(document.body.clientWidth < 970 ? "970px" : "100%" );
}

TABLE.hdrt {
	border-collapse: collapse;
	margin-bottom: 0;
}

#hdrt-ftitle { padding: 3px 11px; height: 125px; }
#hdrt-flogin, #hdrt-mbi { width: 250px; padding: 7px 5px; }

#login { width: 240px; }

#login .x-form-field, #login .x-panel-body, #login .x-form-item-label, #login .x-form-element { position: static; }

.cat { padding: 3px 10px; font-weight: bold; }
.cat-cnt { padding: 0 0; }
	.cat-cnt TABLE { border-collapse: collapse; width: 100%; }
	table.mceToolbar { width: auto; }
	.cat-cnt TABLE TR TD { padding: 5px 7px; }
	.cat-cnt TABLE TR TD.mceIframeContainer, .cat-cnt TABLE TR TD.mceToolbar { padding: 0; }
.cat-head { padding: 0 3px; text-align: center; font-weight: bold; }
.collapser-img { margin-right: 3px; }

.icon-h { width: 18px; }
.ftitle-h, .subj-h { text-align: left; padding-left: 7px; }
.author-h, .author { text-align: center; width: 150px; }
.lastr-h, .last-r { text-align: center; width: 150px; }
.num-msg-h, .num-msg, .num-repl-h, .num-repl, .views-h { text-align: center; width: 90px; max-width: 90px; }
.last-msg-h { text-align: center; width: 200px; max-width: 200px; }
.mods-h { text-align: center; width: 125px; max-width: 125px; }

.f-w { height: 16px; }
.g-w { padding-left: 20px; background: url(images/warning.gif) no-repeat; height: 16px; }
.fav-link { padding-left: 7px; padding-top: 5px; }

.icon { text-align: center; }
.num-repl, .num-msg, .views, .mods, .author, .last-r { text-align: center; }
.mods { width: 125px; max-width: 125px; }
.last-msg { text-align: center; font-size: 12px; width: 200px; max-width: 200px; }
.descr { margin-top: 1px; font-size: 11px; }

.finfo { padding: 5px 7px; }
#copr { text-align: center; font-size: 11px; margin-top: 10px;}

/* page list */
.pg-list { text-align: right; margin-bottom: 5px; }
.pg-list TABLE { float: right; }
.pg-list DIV { clear: right; }
.pg-list TD { padding: 1px 5px; }
#pg-list-2 {
	margin-top: 20px;
}
.cur-pg { font-weight: bold; }
.pg-num A { text-decoration: none; }

.user-col { width: 175px; vertical-align: top; border-bottom-width: 3px; }
	.user-col A { font-weight: bold; }
.msg-col { vertical-align: top; border-bottom-width: 3px; }
	.msg-col P { margin-top: 3px; margin-bottom: 9px; }
.msg-ctl { text-align: right; padding-bottom: 3px; margin-bottom: 3px; }
	.msg-ctl A { text-decoration: none; }

.msg-form { padding: 0 0; }
	.msg-form-t { width: 100%; border-collapse: collapse; }
	.msg-form-t-c { padding: 10px 15px; }
	.msg-form-u-c { padding: 25px 15px 0 7px; text-align: justify; }
		.msg-form-u-c P { margin-bottom: 10px; background: url(images/info.gif) no-repeat; padding-left: 21px; }

.thread-page-links { margin-left: 10px; font-size: 11px; }

/* box */

.x-box { width: 450px; margin: 15px auto; text-align: center; }
	.x-box H3 { margin-bottom: 20px; }
	.x-box-mc { padding-bottom: 10px; }
.x-box-ms { margin: 10px auto; }

/* form */

.x-form { padding: 3px 5px; }

/* message list */

.msg-ctl { clear: both; height: 16px; }
	.msg-ctl-info { float: left; font-size: 10px; }
	.msg-ctl-icons { float: right; }
	.msg-ctl-icons A { display: block; float: left; width: 16px; height: 16px; margin-left: 3px; }
	.info-icon { background-position: 0px 0px; }
	.send-icon { background-position: -16px 0px; }
	.gallery-icon { background-position: -32px 0px; }
	.edit-icon { background-position: -48px 0px; margin-right: 7px; }
	.report-icon { background-position: -96px 0px; margin-right: 7px; }
	.delete-icon { background-position: -64px 0px; margin-right: 7px; }
	.split-icon { background-position: -112px 0px; }
	.merge-icon { background-position: -128px 0px; }
	.ip-icon { background-position: -80px 0px; }
.msg-content { margin: 9px 0 5px 0; }
	.msg-content A { background-image: url(images/link.png); background-repeat: no-repeat; background-position: right top; padding-right: 9px; }
	.msg-content .mceLayout a { background-image: none; padding-right: 0; }
	.msg-content A { _background-image: none; _padding-right: auto; }
	.msg-content A IMG { vertical-align: top; }
.avatar { margin: 10px 3px; }

#thread-header { float: left; }
#thread-controls { float: right; height: 16px; }
	#thread-controls A { text-decoration: none; margin-right: 3px; display: block; float: left; width: 16px; height: 16px; background-image: url(images/message-bar.gif); }
	#link-move-thread { background-position: -144px 0px;}
	#link-print-thread { background-position: -160px 0px; }
	#link-close-thread { background-position: -176px 0px; }
	#link-pin-thread { background-position: -192px 0px; }
	#link-unpin-thread { background-position: -208px 0px; }
	#link-open-thread { background-position: -224px 0px; }
	#link-thread-life { background-position: -240px 0px; }

.glue-message, .edit-message { padding: 5px 7px; font-size: 80%; margin: 10px 10px; }

.s-div { width: 400px; }
	.s-div P { margin: 0 0; padding: 1px 0; }
.sign { font-size: 11px; color: #b35512; }

/* warnigs */
.message-warnings { margin: 15px 20px; }
	.message-warning { padding: 7px 9px; }
		.message-warning-header { padding-left: 20px; background: url(images/warning.gif) no-repeat; height: 16px; }
			.warning-delete-link { text-decoration: none; display: block; float: right; width: 16px; height: 16px; margin-right: 3px; margin-top: -16px; background-image: url(images/message-bar.gif); background-position: -64px 0px; }

/* ads */
.ad-wrap-cat { padding: 10px 10px; text-align: center; }

/* edit */
.edit-ctrls { text-align: right; padding-right: 15px; margin-top: 5px; }
	A.edit-save { text-decoration: none; display: block; float: right; background: url(images/edit-bar.gif) 0 0; width: 16px; height: 16px; margin-right: 8px; padding: 0 0; }
	A.edit-discard { text-decoration: none; display: block; float: right; background: url(images/edit-bar.gif) -16px 0; width: 16px; height: 16px; padding: 0 0; }
#msg-subject-ph INPUT { margin-bottom: 5px; width: 100%; }

/* search */
#search-box, #top-spacer { width: 200px; }
#search-box-label { float: left; margin: 4px 5px 0 0; }
#top-nav-links { }

.search-item {
	font: normal 11px tahoma, arial, helvetica, sans-serif;
	padding: 3px 10px 3px 10px;
	border: 1px solid #fff;
	border-bottom: 1px solid #eeeeee;
	white-space: normal;
}

.search-item h3 {
	font-weight: bold;
}

/* message form */
#messageForm { }
	#messageForm LABEL { display: block; margin: 7px 0 3px 3px; }
	#messageForm INPUT { width: 400px; font-size: 12px; }
		#messageForm INPUT#code { width: 200px; margin-right: 10px; }
		#code_link { margin-left: 10px; padding-left: 20px; line-height: 16px; background: url(images/money.gif) no-repeat; }
	#messageForm TEXTAREA { width: 400px; height: 250px; }
	#messageForm BUTTON { margin-top: 7px; }


/* Ads */

.ad { text-align: center; margin: 10px 10px;}
.ad-top { height: 90px; margin-top: 20px; margin-bottom: 1px; }

/* Print */

.print-message-title { font-size: 14px; font-weight: bold; margin-bottom: 2px; }
.print-message-link { margin-bottom: 15px; }
.print-msg-header { padding: 3px 3px; }
	.print-msg-author { font-weight: bold; }
.print-msg-content { padding: 3px 3px; }

/* Loading indicator */

.loading-indicator {
	font-size:11px;
	background-image:url(../extlib/extjs/resources/images/default/grid/loading.gif);
	background-repeat: no-repeat;
	background-position:top left;
	padding-left:20px;
	height:18px;
	text-align:left;
}
#loading-mask{
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	z-index:20000;
	background-color:white;
}
#loading{
	position:absolute;
	left:45%;
	top:40%;
	padding:2px;
	z-index:20001;
	height:auto;
}
#loading img {
	margin-bottom:5px;
}
#loading .loading-indicator{
	background:white;
	color:#555;
	font:bold 13px tahoma,arial,helvetica;
	padding:10px;
	margin:0;
	text-align:center;
	height:auto;
}

#thread-controls a.thread-add-fav {
	background-position: -272px 0px;
}

#thread-controls a.thread-remove-fav {
	background-position: -256px 0px;
}

#top-nav {
	padding: 0 6px;
	border-top: none;
	margin: 0 0 20px;
}

#top-nav div.x-toolbar {
	background: none;
	border-width: 0;
}

#top-nav div.x-toolbar button {
	font-size: 12px;
}

.unsel {
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
}

/* Hide mods */
.mods-h, .mods {
	display: none;
}

.last-msg-h, .last-msg {
	max-width: 250px;
	width: 250px;
}
