/*  phpBB 3.0 Style Sheet
    --------------------------------------------------------------
	Style name:		diorama
	Based on style:	proSilver (this is the default phpBB 3 style)
	Original author:	subBlue ( http://www.subBlue.com/ )
	Modified by:		
	
	Copyright 2006 phpBB Group ( http://www.phpbb.com/ )
    --------------------------------------------------------------
*/

/* General Diorama Markup Styles
---------------------------------------- */


h1 {
	/* Forum name */
/*
	margin-right: 200px;
	color: #FFFFFF;
	margin-top: 15px;
	font-weight: bold;
	font-size: 2em;
*/
}


h2 {
	/* Forum header titles */
/*
	font-weight: normal;
	color: #3f3f3f;
	font-size: 1.8em;
*/	
	}

h2.solo {
	margin-bottom: 1em;
}

h3 {
	/* Sub-headers (also used as post headers, but defined later) */
/*
	font-weight: bold;
	text-transform: none; 
	border-bottom: 0px;
	margin-bottom: 3px;
	font-size: 1.2em;
	padding-bottom: 2px;
	color: #989898;
	margin-top: 20px;
*/
}

h3 a,
h3 a:hover,
h3 a:visited,
h3 span {
	color: #ffffff; 
	background-color: #77a280; 
	padding: 3px 7px; 
	text-decoration: none;
}

h4 {
	/* Forum and topic list titles */
	font-size: 1.3em;
}

p {
	line-height: 1.3em;
	font-size: 1em;
	margin-bottom: 1.5em;
}

img {
	border-width: 0;
}

hr {
	/* Also see tweaks.css */
	border: 0 none #FFFFFF;
	border-top: 1px solid #E1DBC5;
	height: 1px;
	margin: 5px 0;
	display: block;
	clear: both;
}

hr.dashed {
	border-top: 1px solid #E1DBC5;
	margin: 10px 0;
}

hr.divider {
	display: none;
}

p.right {
	text-align: right;
}

dd {margin-bottom: 0; }

tt, code, kbd, samp {
	font-family: monospace;
	font-size: 1.2em;
}


/* Main blocks
---------------------------------------- */
#wrap {
   
   margin: 20px 0;	
   padding: 0;
   min-width: 650px;
/*
   width: 760px;
   margin: 0 auto;	
*/
}

#simple-wrap {
	padding: 6px 10px;
}

#page-body {
	margin: 4px 0;
	clear: both;
}

#page-footer {
	clear: both;
}

#page-footer h3 {
	margin-top: 20px;
}

/*
#logo {
	float: left;
	width: auto;
	padding: 10px 13px 0 10px;
}

a#logo:hover {
	text-decoration: none;
}

*/

/* Search box
--------------------------------------------- */
#search-box {
	color: #FFFFFF;
	position: relative;
	margin-top: 6px;
	margin-right: 5px;
	margin-bottom: 3px;
	display: block;
	/* float: right; */
	text-align: center;
	white-space: nowrap; /* For Opera */
}

#search-box #keywords {
	width: 300px;
	background-color: #FFFFFF;
}

#search-box input {
	border: 1px solid #b0b0b0;
}

/* .button1 style defined later, just a few tweaks for the search button version */
#search-box input.button1 {
	padding: 1px 5px;
}

#search-box li {
	text-align: right;
	margin-top: 4px;
}

#search-box img {
	vertical-align: middle;
	margin-right: 3px;
}

/* Site description and logo */
#site-description {
	float: left;
	width: 70%;
}

#site-description h1 {
	margin-right: 0;
}

/* Round cornered boxes and backgrounds
---------------------------------------- */
.headerbar {
	background: #E9E5D4 none repeat-x 0 0;
	color: #FFFFFF;
	margin-bottom: 14px;
	padding: 0 5px;
}

.navbar {
	background-color: #f0ecda;
	margin-top: 0px;
	margin-bottom: 10px;
	padding: 0 5px;
}

.forabg {
	background: #b1b1b1 none repeat-x 0 0;
	margin-bottom: 4px;
	padding: 0 5px;
	clear: both;
}

.forumbg {
	background: #ebebeb none repeat-x 0 0;
	margin-bottom: 1em;
	padding: 0 5px;
	clear: both;
}

.panel {
	margin-bottom: 4px;
	padding: 0 10px;
	background-color: #f3f3f3;
	color: #3f3f3f;
}

.post {
	padding: 0 10px;
	margin-bottom: 1em;
	background-repeat: no-repeat;
	background-position: 100% 0;
}

.post:target .content {
	color: #000000;
}

.post:target h3 a {
	color: #000000;
}

.bg1	{ background-color: #f7f7f7;}
.bg2	{ background-color: #f2f2f2; }
.bg3	{ background-color: #ebebeb; }

.rowbg {
	margin: 5px 5px 2px 5px;
}

.ucprowbg {
	background-color: #e2e2e2;
}

.fieldsbg {
	/*border: 1px #DBDEE2 solid;*/
	background-color: #eaeaea;
}

span.corners-top, span.corners-bottom, span.corners-top span, span.corners-bottom span {
	font-size: 1px;
	line-height: 1px;
	display: block;
	height: 5px;
	background-repeat: no-repeat;
}

span.corners-top {
	background-image: none;
	background-position: 0 0;
	margin: 0 -5px;
}

span.corners-top span {
	background-image: none;
	background-position: 100% 0;
}

span.corners-bottom {
	background-image: none;
	background-position: 0 100%;
	margin: 0 -5px;
	clear: both;
}

span.corners-bottom span {
	background-image: none;
	background-position: 100% 100%;
}

.headbg span.corners-bottom {
	margin-bottom: -1px;
}

.post span.corners-top, .post span.corners-bottom, .panel span.corners-top, .panel span.corners-bottom {
	margin: 0 -10px;
}

.rules span.corners-top {
	margin: 0 -10px 5px -10px;
}

.rules span.corners-bottom {
	margin: 5px -10px 0 -10px;
}

/* Horizontal lists
----------------------------------------*/
ul.linklist {
	display: block;
	margin: 0;
}

ul.linklist li {
	display: block;
	list-style-type: none;
	float: left;
	width: auto;
	margin-left: 12px;
	font-size: 1.0em;
	line-height: 2.2em;
}

ul.linklist li.rightside, p.rightside {
	float: right;
	margin-right: 0;
	margin-left: 5px;
	text-align: right;
}

ul.navlinks {
	padding-bottom: 1px;
	margin-bottom: 1px;
	border-bottom: 1px solid;
	font-weight: bold;
}

ul.leftside {
	float: left;
	margin-left: 0px;
	margin-right: 5px;
	text-align: left;
}

ul.rightside {
	float: right;
	margin-left: 5px;
	margin-right: 5px;
	text-align: right;
}

ul.linklist  .pagination {
	margin-top: 0; margin-bottom: 0;
}


ul.with-divider li {
	background-repeat: no-repeat;
	background-position: left 0.75em;
	padding-left: 15px;
}

img.divider {
	margin: 0 0.5em;
	vertical-align: middle;
}

/* Table styles
----------------------------------------*/
table.table1 {
	/* See tweaks.css */
}

#ucp-main table.table1 {
	padding: 2px;
}

table.table1 thead th {
	font-weight: normal;
	/* text-transform: uppercase; */
	color: #FFFFFF;
	line-height: 1.3em;
	font-size: 1em;
	padding: 0.25em 0 4px 3px;
}

table.table1 thead th span {
	padding-left: 7px;
}

table.table1 tbody tr {
	border: 1px solid #cfcfcf;
}

table.table1 tbody tr:hover,  table.table1 tbody tr.hover {
	background-color: #f6f6f6;
	color: #000;
}

table.table1 td {
	color: #6a6a6a;
	font-size: 1em;
}

table.table1 tbody td {
	padding: 0.75em;
	border-top: 1px solid #FAFAFA;
}

table.table1 tbody th {
	padding: 0.75em;
	border-bottom: 1px solid #000000;
	text-align: left;
	color: #333333;
	background-color: #FFFFFF;
}

/* Specific column styles */
table.table1 .name		{ text-align: left; }
table.table1 .posts		{ text-align: center !important; width: 15%; }
table.table1 .joined	{ text-align: left; width: 20%; }
table.table1 .active	{ text-align: left; width: 20%; }
table.table1 .mark		{ text-align: center; width: 7%; }
table.table1 .info		{ text-align: left; width: 30%; }
table.table1 .info div	{ width: 100%; white-space: normal; overflow: hidden; }
table.table1 .autocol	{ line-height: 2em; white-space: nowrap; }
table.table1 thead .autocol { padding-left: 1em; }

table.table1 span.rank-img {
	float: right;
	width: auto;
}

table.info td {
	padding: 3px;
}

table.info tbody th {
	padding: 3px;
	text-align: right;
	vertical-align: top;
	color: #000000;
	font-weight: normal;
}

.forumbg table.table1 {
	margin: 0 -2px -1px -1px;
}

/* Misc layout styles
---------------------------------------- */
/* column[1-2] styles are containers for two column layouts 
   Also see tweaks.css */
.column1 {
	float: left;
	clear: left;
	width: 49%;
}

.column2 {
	float: right;
	clear: right;
	width: 49%;
}

/* General classes for placing floating blocks */
.left-box {
	float: left;
	width: auto;
	text-align: left;
}

.right-box {
	float: right;
	width: auto;
	text-align: right;
}

dl.details {
	font-size: 1.0em;
}

dl.details dt {
	float: left;
	clear: left;
	width: 30%;
	text-align: right;
	color: #000000;
	display: block;
	font-weight: bold;
}

dl.details dd {
	margin-left: 0;
	padding-left: 5px;
	margin-bottom: 5px;
	color: #828282;
	float: left;
	width: 65%;
}

/* Pagination
---------------------------------------- */
.pagination {
	height: 1%; /* IE tweak (holly hack) */
	width: auto;
	text-align: center;
	margin: 0.75em 0;
	font-size: 1em;
	overflow: hidden;
}

.pagination .body {
	float: left; 
	margin: 0 auto; 
	width: 700px; 
	margin-top: 5px;
}

.pagination span.page-sep {
	display: none;
}

li.pagination {
	margin-top: 0;
}

.pagination a strong, .pagination a b {
	font-weight: bold;
}

.pagination span strong {
	padding: 0.25em 0.5em;
	margin: 0 0.25em;
	font-weight: normal;
	color: #fff;
	background-color: #bfbfbf;
	border: 1px solid #bfbfbf;
	font-size: 0.9em;
}

.pagination span a,  .pagination span a:link, .pagination span a:visited, .pagination span a:active {
	font-weight: normal;
	text-decoration: none;
	color: #747474;
	margin: 0 0.25em;
	padding: 0.25em 0.5em;
	background-color: #eeeeee;
	border: 1px solid #bababa;
	font-size: 0.9em;
	line-height: 1.5em;
}

.pagination span a:hover {
	border-color: #d2d2d2;
	background-color: #d2d2d2;
	color: #FFF;
	text-decoration: none;
}

.pagination img {
	vertical-align: middle;
}

/* Pagination in viewforum for multipage topics */
.row .pagination {
	display: block;
	float: right;
	width: auto;
	margin-top: 0;
	padding: 1px 0 1px 15px;
	font-size: 0.9em;
	background: none 0 50% no-repeat;
}

.row .pagination span a, li.pagination span a {
	background-color: #FFFFFF;
}

.row .pagination span a:hover, li.pagination span a:hover {
	background-color: #d2d2d2;
}

/* Miscellaneous styles
---------------------------------------- */
#forum-permissions {
	float: right;
	width: auto;
	padding-left: 5px;
	margin-left: 5px;
	margin-top: 10px;
	text-align: right;
}

.copyright {
	padding: 5px;
	/* text-align: center; */
	color: #555;
}

.small {
	font-size: 0.9em !important;
}

.titlespace {
	margin-bottom: 15px;
}

.headerspace {
	margin-top: 20px;
}

.error {
	color: #555;
/*	font-weight: bold; */
	font-size: 1em;
}
fieldset .error {
	border: 1px solid gray;
	padding: 10px;
	background-color: #f0f0f0;
	margin: 15px auto;
	margin-bottom: 15px;
	text-align:center;
}

.reported {
	background-color: #f7f7f7;
}

li.reported:hover {
	background-color: #ececec;
}

div.rules {
	background-color: #ececec;
	color: #bcbcbc;
	padding: 0 10px;
	margin: 10px 0;
	font-size: 1.1em;
}

div.rules ul, div.rules ol {
	margin-left: 20px;
}

p.rules {
	background-color: #ececec;
	background-image: none;
	padding: 5px;
}

p.rules img {
	vertical-align: middle;
	padding-top: 5px;
}

p.rules a {
	vertical-align: middle;
	clear: both;
}

#top {
	position: absolute;
	top: -20px;
}

#phpbb .clear {
	display: block;
	clear: both;
	font-size: 1px;
	line-height: 1px;
	background: transparent;
}

.admin-panel {
	display: block;
	clear: both;
	margin: 1em auto;
	text-align: center;
} 
/* Diorama.Ru Link Styles
---------------------------------------- */

/* Links adjustment to correctly display an order of rtl/ltr mixed content */
a {
	direction: ltr;
	unicode-bidi: embed;
}

/*
a:link	{ color: #898989; text-decoration: none; }
a:visited	{ color: #898989; text-decoration: none; }
a:hover	{ color: #898989; text-decoration: underline; }
a:active	{ color: #898989; text-decoration: none; }
*/

/* Coloured usernames */
.username-coloured {
	font-weight: bold;
	display: inline !important;
	padding: 0 !important;
}

/* Links on gradient backgrounds */
#search-box a:link, .navbg a:link, .forumbg .header a:link, .forabg .header a:link, th a:link {
	color: #FFFFFF;
	text-decoration: none;
}

#search-box a:visited, .navbg a:visited, .forumbg .header a:visited, .forabg .header a:visited, th a:visited {
	color: #FFFFFF;
	text-decoration: none;
}

#search-box a:hover, .navbg a:hover, .forumbg .header a:hover, .forabg .header a:hover, th a:hover {
	color: #ffffff;
	text-decoration: underline;
}

#search-box a:active, .navbg a:active, .forumbg .header a:active, .forabg .header a:active, th a:active {
	color: #ffffff;
	text-decoration: none;
}

th a {
	font-weight: normal;
}

/* Links for forum/topic lists */
a.forumtitle {
	font-size: 1em;
	font-weight: bold;
	/* color: #898989; */
	text-decoration: none;
}

/* a.forumtitle:visited { color: #898989; } */

a.forumtitle:hover {
	color: #bcbcbc;
	text-decoration: underline;
}

a.forumtitle:active {
	color: #898989;
}

a.topictitle {
	font-size: 1.1em;
	font-weight: bold;
	color: #898989;
	text-decoration: none;
}

/* a.topictitle:visited { color: #d2d2d2; } */

a.topictitle:hover {
	color: #bcbcbc;
	text-decoration: underline;
}

a.topictitle:active {
	color: #898989;
}

/* Post body links */
.postlink {
	/*	text-decoration: none; */
	/* color: #d2d2d2; */
	/* border-bottom: 1px solid #d2d2d2; */
	padding-bottom: 0;
}

.postlink:visited {
	/* color: #bdbdbd; 
	border-bottom-style: dotted;
	border-bottom-color: #666666;
	*/
}

.postlink:active {
	/* color: #d2d2d2; */
}

.postlink:hover {
	/*
	background-color: #f6f6f6;
	text-decoration: none;
	color: #404040;
	*/
	/* color: #898989; */
}

.signature a, .signature a:visited, .signature a:active, .signature a:hover {
	border: none;
	text-decoration: underline;
	background-color: transparent;
}

/* Profile links */
.postprofile a:link, .postprofile a:active, .postprofile a:visited, .postprofile dt.author a {
	font-weight: bold;
/*	color: #898989; */
	text-decoration: none;
}

.postprofile a:hover, .postprofile dt.author a:hover {
	text-decoration: underline;
	/* color: #898989;  */
}


/* Profile searchresults */	
.search .postprofile a {
	color: #898989;
	text-decoration: none; 
	font-weight: normal;
}

.search .postprofile a:hover {
	color: #d3d3d3;
	text-decoration: underline; 
}

/* Back to top of page */
.back2top {
	clear: both;
	height: 11px;
	text-align: right;
}

a.top {
	background: none no-repeat top left;
	text-decoration: none;
	width: 11px;
	height: 11px;
	display: block;
	float: right;
	overflow: hidden;
	letter-spacing: 1000px;
	text-indent: 11px;
}

a.top2 {
	background: none no-repeat 0 50%;
	text-decoration: none;
	padding-left: 15px;
}

/* Arrow links  */
a.up		{ background: none no-repeat left center; }
a.down		{ background: none no-repeat right center; }
a.left		{ background: none no-repeat 3px 60%; }
a.right		{ background: none no-repeat 97% 70%; }

a.up, a.up:link, a.up:active, a.up:visited {
	padding-left: 10px;
	text-decoration: none;
	border-bottom-width: 0;
}

a.up:hover {
	/* background-position: left top; */
	background-color: transparent;
}

a.down, a.down:link, a.down:active, a.down:visited {
	padding-right: 10px;
}

a.down:hover {
	/* background-position: right bottom; */
	text-decoration: none;
}

a.left, a.left:active, a.left:visited {
	padding-left: 12px;
}

a.left:hover {
	/* color: #d2d2d2; */
/*	background-position: 0 60%; */
}

a.right, a.right:active, a.right:visited {
	padding-right: 12px;
}

a.right:hover {
	/* color: #d2d2d2; */
	/* background-position: 100% 60%; */
}

/* invisible skip link, used for accessibility  */
.skiplink {
	position: absolute;
	left: -999px;
	width: 990px;
}

/* Feed icon in forumlist_body.html */
a.feed-icon-forum {
	float: right;
	margin: 3px;
}


/* button links */
a.button2 {
	font-weight: normal;
} 
/* Diorama.Ru Content Styles
---------------------------------------- */

ul.topiclist {
	display: block;
	list-style-type: none;
	margin: 0;	
}

ul.forums {
	background: #f9f9f9 none repeat-x 0 0;
}

ul.topiclist li {
	display: block;
	list-style-type: none;
	color: #777777;
	margin: 0;
	line-height: 1em;
}

ul.topiclist dl {
	position: relative;
}

ul.topiclist li.row dl {
	padding: 5px 0;
	margin-bottom: 0;
}

ul.forums li.row dl {
	padding-bottom: 10px;
}

ul.forums li.row dl dt {
	line-height: 1.25em;	
}

ul.topiclist dt {
	display: block;
	float: left;
	width: 50%;
	font-size: 1em;
	font-weight: normal;
	padding-left: 5px;
	padding-right: 5px;
	line-height: 1em;
}

ul.topiclist li.row dt a{
	font-size: 1em;
	line-height: 1.5em;
}
ul.topiclist dd {
	display: block;
	float: left;
	border-left: none;
	padding: 0 0;
}

ul.topiclist dfn {
	/* Labels for post/view counts */
	position: absolute;
	left: -999px;
	width: 990px;
}

ul.topiclist li.row dt a.subforum {
	background-image: none;
	background-position: 0 50%;
	background-repeat: no-repeat;
	position: relative;
	white-space: nowrap;
	padding: 0 0 0 12px;
}

.forabg {
	margin-bottom: 11px;
}
.forum-image {
	float: left;
	padding-top: 5px;
	margin-right: 5px;
}

li.row {
	border-top: 1px solid #FFFFFF;
	border-bottom: 1px solid #8f8f8f;
}

li.row strong {
	font-weight: normal;
	color: #000000;
}

li.row:hover {
	 /* background-color: #f6f6f6; */
}

li.row:hover dd {
	/* border-left-color: #CCCCCC; */
}

li.header dt, li.header dd {
	line-height: 1em;
	border-left-width: 0;
	margin: 2px 0 0px 0;
	color: #434f36;
	padding-top: 2px;
	padding-bottom: 2px;
	font-size: 1em;
	text-transform: none;
}

li.header dt {
	font-weight: bold;
	font-size: 1.2em;
}

li.header dd {
	margin-left: 1px;
	text-transform: lowercase;
}

li.header dl.icon {
	min-height: 0;
}

li.header dl.icon dt {
	/* Tweak for headers alignment when folder icon used */
	padding-left: 0;
	padding-right: 65px;
}

li.header dl.icon dd {
	padding-right: 11px;
}

li.header dl.icon dd span {
	padding-left: 28px;
}

/* Forum list column styles */
dl.icon {
	min-height: 35px;
	background-position: 0px 70%;		/* Position of folder icon */
	background-repeat: no-repeat;
}

dl.icon dt {
	padding-left: 45px;					/* Space for folder icon */
	background-repeat: no-repeat;
	background-position: 5px 95%;		/* Position of topic icon */
}

dd.posts, dd.topics, dd.views {
	width: 4%;
	text-align: center;
	margin-top: 6px;
	margin-bottom: 1em;
	font-size: 1em;
}

/* Topic list column styles */
dl.icon2 {
	min-height: 15px;
	background-position: 0px 20%;		/* Position of folder icon */
	background-repeat: no-repeat;
}

dl.icon2 dt {
	padding-left: 32px;					/* Space for folder icon */
	background-repeat: no-repeat;
	background-position: 5px 100%;		/* Position of topic icon */
}

dl.icon2 dd.posts, dl.icon2 dd.topics, dl.icon2 dd.views {
	width: 4%;
	text-align: center;
	margin-top: 2px;
	font-size: 1em;
}

dl.icon2 dd.lastpost {
	width: 22%;
	margin-top: 2px;
	font-size: 1em;
}


/* List in forum description */
dl.icon dt ol,
dl.icon dt ul {
	list-style-position: inside;
	margin-left: 1em;
}

dl.icon dt li {
	display: list-item;
	list-style-type: inherit;
}

dd.lastpost {
	width: 25%;
	margin-top: 6px;
	font-size: 1em;
}

dd.redirect {
	font-size: 1.1em;
	line-height: 2.5em;
}

dd.moderation {
	font-size: 1.1em;
}

dd.lastpost span, ul.topiclist dd.searchby span, ul.topiclist dd.info span, ul.topiclist dd.time span, dd.redirect span, dd.moderation span {
	display: block;
	padding-left: 5px;
}

dd.time {
	width: auto;
	line-height: 200%;
	font-size: 1.1em;
}

dd.extra {
	width: 12%;
	line-height: 200%;
	text-align: center;
	font-size: 1.1em;
}

dd.mark {
	float: right !important;
	width: 9%;
	text-align: center;
	line-height: 200%;
	font-size: 1.2em;
}

dd.info {
	width: 30%;
}

dd.option {
	width: 15%;
	line-height: 200%;
	text-align: center;
	font-size: 1.1em;
}

dd.searchby {
	width: 47%;
	font-size: 1.1em;
	line-height: 1em;
}

ul.topiclist dd.searchextra {
	margin-left: 5px;
	padding: 0.2em 0;
	font-size: 1.1em;
	color: #333333;
	border-left: none;
	clear: both;
	width: 98%;
	overflow: hidden;
}

/* Container for post/reply buttons and pagination */
.topic-actions {
	margin: 10px 0 5px 0;
	font-size: 1.1em;
	height: 28px;
	min-height: 28px;
}
div[class].topic-actions {
	height: auto;
}

/* Post body styles
----------------------------------------*/
.postbody {
	padding: 0.5em 0 0 1.5em;
	line-height: 1.5em;
	color: #333333;
	width: 77%;
	float: right;
}

.section-viewtopic .postbody {
	 /* border-left: 1px solid #dcd6bc; */
	/* min-height: 150px; */ /* see also tweaks.css */
	/*	position: relative; */  /* in order to poisition profile icons at the bottom */
	padding-bottom: 1em; 
}

.postbody .posthead {
	border-bottom: 1px solid #dcd6bc;
	margin-bottom: 1em;
	padding-bottom: 0.75em;
	overflow: hidden;
}

.postbody .posthead p { 
	/* color: #ccc; */
	margin-bottom: 0.5em;
}

.postbody .posthead  .column1 {
	width: 90%;
}

.postbody .posthead  .column2 {
	text-align: right;
	clear: right;
	width: 10%;
}

.postbody .ignore {
	font-size: 1.1em;
}

.postbody h3.first {
	/* The first post on the page uses this */
	font-size: 1.5em;
}

/* post toolbar container */
.post-toolbar {
	clear: both;
	overflow: auto;
}
.postbody ul.profile-icons,
.post-toolbar ul.profile-icons {
	float: right;
	width: auto;
	margin: 0 3px;
	padding: 0;
}

.postbody  img {
	max-width: 500px;
}

.section-viewtopic .postbody ul.profile-icons  {
/*
	bottom: 2px;
	right: 0;
	position: absolute;
	
*/	
}



#main #phpbb .postbody h3 {
	/* Postbody requires a different h3 format - so change it here */
	font-size: 1em;
	padding: 0 0 0 0;
	margin: 0 0 0 0 !important;
	text-transform: none;
	border: none;
	line-height: 100%;
	font-weight: bold;
	display: inline;
}

.postbody h3 img {
	/* Also see tweaks.css */
	vertical-align: bottom;
}

#main #phpbb .postbody h3 a {
	background-color: transparent !important;
	color: #333 !important;
	padding: 0;
}

.search .postbody {
	width: 68%
}

/* Topic review panel
----------------------------------------*/
#review {
	margin-top: 2em;
}

#topicreview {
	padding-right: 5px;
	overflow: auto;  
	height: 300px; 
}

#topicreview .postbody {
	width: auto;
	float: none;
	margin: 0;
	height: auto;
}

#topicreview .postbody ul.profile-icons {
	position: normal;
}

#topicreview .post {
	height: auto;
}

#topicreview h2 {
	border-bottom-width: 0;
}

.post-ignore .postbody {
	display: none;
}


/* Content container styles
----------------------------------------*/
.content {
	min-height: 3em;
	overflow: hidden;
	line-height: 1.5em;
	font-size: 1.1em;
	color: #333333;
	padding: 0;
	padding-bottom: 1em;
}

.content h2, .panel h2, 
.content h3, .panel h3 
{
	font-weight: normal;
	color: #989898;
	border-bottom: 1px solid #CCCCCC;
	font-size: 1.6em;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	padding-bottom: 0.5em;
}


.panel p {
	font-size: 1em;
	margin-bottom: 1em;
	line-height: 1.5em;
}

.content p {
	font-size: 1em;
	margin-bottom: 1em;
	line-height: 1.5em;
}

ul.faq li {
	padding: 0.25em 0;
}

dl.faq {
	font-size: 1em;
	margin: 1em;
	line-height: 1.2em;
}

dl.faq dt {
	font-weight: bold;
	color: #333333;
	margin-bottom: 1em;
}

dl.faq dd {
	line-height: 1.5em;
	margin: 0.25em 0;
}


.content dl.faq {
	font-size: 1em;
	margin-bottom: 0.5em;
}

.content dl.faq dd:last-child {
	text-align: right;
	margin-top: 1em;
	font-size: 0.9em;
}

.content li {
	list-style-type: inherit;
}

.content ul, .content ol {
	margin-bottom: 1em;
	margin-left: 3em;
}

.posthilit {
	background-color: #f3f3f3;
	color: #BCBCBC;
	padding: 0 2px 1px 2px;
}

.announce, .unreadpost {
	/* Highlight the announcements & unread posts box */
	border-left-color: #BCBCBC;
	border-right-color: #BCBCBC;
}

/* Post author */
p.author {
	margin: 0 15em 0.6em 0;
	padding: 0 0 5px 0;
	font-size: 1em;
	line-height: 1.2em;
}

/* Post signature */
.signature {
	margin-top: 1.5em;
	padding-top: 0.2em;
	font-size: 1.1em;
	border-top: 1px solid #CCCCCC;
	clear: left;
	line-height: 140%;
	overflow: hidden;
	width: 100%;
}

dd .signature {
	margin: 0;
	padding: 0;
	clear: none;
	border: none;
}

.signature li {
	list-style-type: inherit;
}

.signature ul, .signature ol {
	margin-bottom: 1em;
	margin-left: 3em;
}

/* Post noticies */
.notice {
	width: auto;
	margin-top: 1.5em;
	padding-top: 0.2em;
	font-size: 1em;
	border-top: 1px dashed #CCCCCC;
	clear: left;
	line-height: 130%;
	padding-bottom: 1em;
}

/* Jump to post link for now */
ul.searchresults {
	list-style: none;
	text-align: right;
	clear: both;
}

/* BB Code styles
----------------------------------------*/
/* Quote block */
blockquote {
	background: #ebebeb none 6px 8px no-repeat;
	border: 1px solid #dbdbdb;
	font-size: 0.9em;
	margi4n: 0.5em 1px 0.5em 0;
	overflow: hidden;
	padding: 5px;
	font-style: normal;
}

blockquote blockquote {
	/* Nested quotes */
	background-color: #bababa;
	font-size: 1em;
	margin: 0.5em 1px 0 15px;	
}

blockquote blockquote blockquote {
	/* Nested quotes */
	background-color: #e4e4e4;
}

blockquote cite {
	/* Username/source of quoter */
	font-style: normal;
	font-weight: bold;
	margin-left: 20px;
	display: block;
	font-size: 0.9em;
}

blockquote cite cite {
	font-size: 1em;
}

blockquote.uncited {
	padding-top: 25px;
}

/* Code block */
dl.codebox {
	padding: 3px;
	background-color: #FFFFFF;
	border: 1px solid #d8d8d8;
	font-size: 1em;
}

dl.codebox dt {
	text-transform: uppercase;
	border-bottom: 1px solid #CCCCCC;
	margin-bottom: 3px;
	font-size: 0.8em;
	font-weight: bold;
	display: block;
}

blockquote dl.codebox {
	margin-left: 0;
}

dl.codebox code {
	/* Also see tweaks.css */
	overflow: auto;
	display: block;
	height: auto;
	max-height: 200px;
	white-space: normal;
	padding-top: 5px;
	font: 0.9em Monaco, "Andale Mono","Courier New", Courier, mono;
	line-height: 1.3em;
	color: #8b8b8b;
	margin: 2px 0;
}

.syntaxbg		{ color: #FFFFFF; }
.syntaxcomment	{ color: #000000; }
.syntaxdefault	{ color: #bcbcbc; }
.syntaxhtml		{ color: #000000; }
.syntaxkeyword	{ color: #585858; }
.syntaxstring	{ color: #a7a7a7; }

/* Attachments
----------------------------------------*/
.attachbox {
	text-align: center;
	width: 80%; 
	margin: 5px auto;
	padding: 1em;
	background-color: #FFFFFF;
	border: 1px solid #d8d8d8;
	clear: left;
}

.pm-message .attachbox {
	background-color: #f3f3f3;
}

.attachbox > dt {
	/* text-transform: uppercase; */
	border-bottom: 1px solid #d8d8d8; 
	padding-bottom: 1em;
	font-weight: bold;
}

.attachbox dd {
	margin-top: 1em;
	padding-top: 1em;
	clear: left;
	/* border-top: 1px solid #d8d8d8; */
}

.attachbox dd dd {
	border: none;
}

.attachbox p {
	line-height: 110%;
	color: #666666;
	font-weight: normal;
	clear: left;
}

.attachbox p.stats
{
	line-height: 110%;
	color: #666666;
	font-weight: normal;
	clear: left;
}

.attach-image {
	margin: 3px 0;
	width: 100%;
	max-height: 350px;
	overflow: auto;
}

.attach-image img {
	border: 1px solid #999999;
/*	cursor: move; */
	cursor: default;
}

/* Inline image thumbnails */
div.inline-attachment dl.thumbnail, div.inline-attachment dl.file {
	display: block;
	margin-bottom: 4px;
}

div.inline-attachment p {
	font-size: 100%;
}

dl.file {
	display: block;
}

dl.file dt {
	text-transform: none;
	margin: 0;
	padding: 0;
	font-weight: bold;
}

dl.file dd {
	color: #666666;
	margin: 0;
	padding: 0;	
}

dl.thumbnail img {
	padding: 3px;
	border: 1px solid #666666;
	background-color: #FFF;
	max-width: 400px;
}

dl.thumbnail dd {
	color: #666666;
	/* font-style: italic; */
}

.attachbox dl.thumbnail dd {
	font-size: 100%;
}

dl.thumbnail dt a:hover {
	background-color: #EEEEEE;
}

dl.thumbnail dt a:hover img {
	/* border: 1px solid #d2d2d2; */
}

/* Post poll styles
----------------------------------------*/
fieldset.polls {
}

fieldset.polls dl {
	margin-top: 5px;
	border-top: 1px solid #e2e2e2;
	padding: 5px 0 0 0;
	line-height: 120%;
	color: #666666;
}

fieldset.polls dl.voted {
	font-weight: bold;
	color: #000000;
}

fieldset.polls dt {
	text-align: left;
	float: left;
	display: block;
	width: 30%;
	border-right: none;
	padding: 0;
	margin: 0;
	font-size: 1.1em;
}

fieldset.polls dd {
	float: left;
	width: 10%;
	border-left: none;
	padding: 0 5px;
	margin-left: 0;
	font-size: 1.1em;
}

fieldset.polls dd.resultbar {
	width: 50%;
}

fieldset.polls dd input {
	margin: 2px 0;
}

fieldset.polls dd div {
	text-align: right;
	color: #FFFFFF;
	font-weight: bold;
	padding: 0 2px;
	overflow: visible;
	min-width: 2%;
}

.pollbar1 {
	background-color: #aaaaaa;
	border-bottom: 1px solid #747474;
	border-right: 1px solid #747474;
}

.pollbar2 {
	background-color: #bebebe;
	border-bottom: 1px solid #8c8c8c;
	border-right: 1px solid #8c8c8c;
}

.pollbar3 {
	background-color: #D1D1D1;
	border-bottom: 1px solid #aaaaaa;
	border-right: 1px solid #aaaaaa;
}

.pollbar4 {
	background-color: #e4e4e4;
	border-bottom: 1px solid #bebebe;
	border-right: 1px solid #bebebe;
}

.pollbar5 {
	background-color: #f8f8f8;
	border-bottom: 1px solid #D1D1D1;
	border-right: 1px solid #D1D1D1;
}


/* Poster profile block
----------------------------------------*/
.postprofile {
	/* Also see tweaks.css */
	margin: 5px 0 10px 0;
	min-height: 80px;
	color: #666666;
	width: 20%;
	float: left;
	display: inline;
}

.postprofile .profile-icons {
	margin-left: 0px;
}

.pm .postprofile {
	border-left: 1px solid #DDDDDD;
}

.postprofile dd, .postprofile dt,
#memberlist_view .avatar dd, #memberlist_view .avatar dt
 {
	line-height: 1.2em;
	margin-left: 0.5em;
	margin-bottom: 0.25em;
}

.postprofile strong {
	font-weight: normal;
	color: #000000;
}

.postprofile .thn {
	margin-top: 1em;
}

.postprofile .thn img {
	width: 80px; height: 80px;
}

.avatar {
	border: none;
	margin-bottom: 3px;
}

.online {
	background-image: none;
	background-position: 100% 0;
	background-repeat: no-repeat;
}

.postprofile .online, .avatar .online {
	background-position: 0 0;
	margin-top: 1em;
	line-height: 18px;
}

/* Poster profile used by search*/
.search .postprofile {
	width: 30%;
}

/* pm list in compose message if mass pm is enabled */
dl.pmlist dt {
	width: 60% !important;
}

dl.pmlist dt textarea {
	width: 95%;
}

dl.pmlist dd {
	margin-left: 61% !important;
	margin-bottom: 2px;
}

#memberlist_view dl dt,
#memberlist_view dl dd 
{
	/* margin: 0px; padding: 0px; */
}
#memberlist_view .avatar {
	/* margin: 0px; padding: 0px;*/
}


#memberlist_view .avatar dt .thn {
	margin: 0.5em auto;
}

#memberlist_view .profile-icons {
/*	margin: 0px; padding: 0;  
*/
}

#memberlist_view .profile-icons li {
	margin: 0px 0.25em; padding: 0; text-align: center;
}


.section-search .panel {
	margin-bottom: 1em;
}

.section-search .panel h3 {
	font-size: 1.75em;
	font-weight: normal;
	color: #aaa;
	padding-left: 10px;
}

.section-search .panel  dl {
	margin-bottom: 0;
	padding-top: 1em;
	border-top: 1px solid #E1DBC5;

	/* border: 1px solid gray; */
}

.section-search .panel  dl  dt span {
	font-size: 0.9em;
	color: #666;
	line-height: 1.1em;
}

.section-search .panel  dl  dt span  strong{
	font-weight: normal;
	color: #aaa;
}
/* Diorama.Ru Button Styles
---------------------------------------- */

/* Rollover buttons
   Based on: http://wellstyled.com/css-nopreload-rollovers.html
----------------------------------------*/
.buttons {
	float: left;
	width: auto;
	height: auto;
}

/* Rollover state */
.buttons div {
	float: left;
	margin: 0 5px 10px 0;
	background-position: 0 100%;
}

/* Rolloff state */
.buttons div a {
	display: block;
	width: 100%;
	height: 100%;
	background-position: 0 0;
	position: relative;
	overflow: hidden;
}

/* Hide <a> text and hide off-state image when rolling over (prevents flicker in IE) */
/*.buttons div span		{ display: none; }*/
/*.buttons div a:hover	{ background-image: none; }*/
.buttons div span			{ position: absolute; width: 100%; height: 100%; cursor: pointer;}
.buttons div a:hover span	{ background-position: 0 100%; }

/* Big button images */
.reply-icon span	{ background: transparent none 0 0 no-repeat; }
.post-icon span		{ background: transparent none 0 0 no-repeat; }
.locked-icon span	{ background: transparent none 0 0 no-repeat; }
.pmreply-icon span	{ background: none 0 0 no-repeat; }
.newpm-icon span 	{ background: none 0 0 no-repeat; }
.forwardpm-icon span 	{ background: none 0 0 no-repeat; }

/* Set big button dimensions */
.buttons div.reply-icon		{ width: 157px !important; height: 25px !important; }
.buttons div.post-icon		{ width: 112px !important; height: 25px !important; }
.buttons div.locked-icon	{ width: 124px !important; height: 25px !important; }
.buttons div.pmreply-icon	{ width: 100px !important; height: 25px !important; }
.buttons div.newpm-icon		{ width: 100px !important; height: 25px; }
.buttons div.forwardpm-icon	{ width: 109px !important; height: 25px; }

/* Sub-header (navigation bar)
--------------------------------------------- */
a.print, a.sendemail, a.fontsize {
	display: block;
	overflow: hidden;
	height: 18px;
	text-indent: -5000px;
	text-align: left;
	background-repeat: no-repeat;
}

a.print {
	background-image: none;
	width: 22px;
}

a.sendemail {
	background-image: none;
	width: 22px;
}

a.fontsize {
	background-image: none;
	background-position: 0 -1px;
	width: 29px;
}

a.fontsize:hover {
	background-position: 0 -20px;
	text-decoration: none;
}

/* Icon images
---------------------------------------- */
.sitehome, .icon-faq, .icon-members, .icon-home, .icon-ucp, .icon-register, .icon-logout,
.icon-bookmark, .icon-bump, .icon-subscribe, .icon-unsubscribe, .icon-pages, .icon-search {
	background-position: 0 50%;
	background-repeat: no-repeat;
	background-image: none;
	padding: 1px 0 0 20px;
}

/* Poster profile icons
----------------------------------------*/
ul.profile-icons {
	padding-top: 10px;
	list-style: none;
}

/* Rollover state */
ul.profile-icons li {
	float: left;
	margin: 0 6px 3px 0;
	background-position: 0 100%;
}

/* Rolloff state */
ul.profile-icons li a {
	display: block;
	width: 100%;
	height: 100%;
	background-position: 0 0;
}

/* Hide <a> text and hide off-state image when rolling over (prevents flicker in IE) */
ul.profile-icons li span { display:none; }
/* ul.profile-icons li a:hover { background: none; } */


/* Profile & navigation icons */
.email-icon, .email-icon a		{ background: none top left no-repeat; }
.aim-icon, .aim-icon a			{ background: none top left no-repeat; }
.yahoo-icon, .yahoo-icon a		{ background: none top left no-repeat; }
.web-icon, .web-icon a			{ background: none top left no-repeat; }
.msnm-icon, .msnm-icon a			{ background: none top left no-repeat; }
.icq-icon, .icq-icon a			{ background: none top left no-repeat; }
.jabber-icon, .jabber-icon a		{ background: none top left no-repeat; }
.pm-icon, .pm-icon a				{ background: none top left no-repeat; }
.quote-icon, .quote-icon a		{ background: none top left no-repeat; }
.profile-icon, .profile-icon a 	{ background: none top left no-repeat; }
.gallery-icon, .gallery-icon a 	{ background: none top left no-repeat; }

/* Moderator icons */
.report-icon, .report-icon a		{ background: none top left no-repeat; }
.warn-icon, .warn-icon a			{ background: none top left no-repeat; }
.edit-icon, .edit-icon a			{ background: none top left no-repeat; }
.delete-icon, .delete-icon a		{ background: none top left no-repeat; }
.info-icon, .info-icon a			{ background: none top left no-repeat; }

/* Set profile icon dimensions */
ul.profile-icons li.email-icon		{ width: 22px; height: 19px; }
ul.profile-icons li.aim-icon	{ width: 20px; height: 20px; }
ul.profile-icons li.yahoo-icon	{ width: 20px; height: 20px; }
ul.profile-icons li.web-icon	{ width: 20px; height: 20px; }
ul.profile-icons li.msnm-icon	{ width: 20px; height: 20px; }
ul.profile-icons li.icq-icon	{ width: 18px; height: 19px; }
ul.profile-icons li.jabber-icon	{ width: 20px; height: 20px; }
ul.profile-icons li.pm-icon		{ width: 19px; height: 22px; }
ul.profile-icons li.quote-icon	{ width: 21px; height: 22px; }
ul.profile-icons li.report-icon	{ width: 21px; height: 21px; }
ul.profile-icons li.edit-icon	{ width: 19px; height: 22px; }
ul.profile-icons li.delete-icon	{ width: 22px; height: 22px; }
ul.profile-icons li.info-icon	{ width: 21px; height: 19px; }
ul.profile-icons li.warn-icon	{ width: 16px; height: 22px; }

ul.profile-icons li.profile-icon	{ width: 21px; height: 22px; }
ul.profile-icons li.gallery-icon	{ width: 22px; height: 22px; }


/* Fix profile icon default margins */
ul.profile-icons li.edit-icon	{ margin: 0 0 0 3px; }
ul.profile-icons li.edit-icon	{ margin: 0 0 0 20px; }
ul.profile-icons li.quote-icon	{ margin: 0 0 0 20px; }

ul.profile-icons li.info-icon, ul.profile-icons li.report-icon	{ margin: 0 3px 0 0; }

/* paging icons */
a.icon-prev, a.icon-next {
	width: 25px;
	display: block;
	overflow: hidden;
	height: 23px;
	text-indent: -5000px;
	text-align: left;
	background-image: none;
	background-repeat: no-repeat;	
}

a.icon-prev {
	float: left;
}

a.icon-next {
	float: right;
}
/* Diorama.Ru Control Panel Styles
---------------------------------------- */


/* Main CP box
----------------------------------------*/
#cp-menu {
	float:left;
	width: 19%;
	margin-top: 1em;
	margin-bottom: 5px;
	/* margin-right: 10px; */
}

#cp-main {
	float: left;
	width: 81%;
}

#cp-main .content {
	padding: 0;
}

#cp-main h3, #cp-main hr, #cp-menu hr {
	border-color: #bfbfbf;
}

#cp-main .panel p {
	font-size: 1em;
}

#cp-main .panel ol {
	margin-left: 2em;
	font-size: 1em;
}

#cp-main .panel li.row {
	border-bottom: 1px solid #cbcbcb;
	border-top: 1px solid #F9F9F9;
}

ul.cplist {
	margin-bottom: 5px;
	border-top: 1px solid #cbcbcb;
}

#cp-main .panel li.header dd, #cp-main .panel li.header dt {
	color: #000000;
	margin-bottom: 2px;
}

#cp-main table.table1 {
	margin-bottom: 1em;
}

#cp-main table.table1 thead th {
	color: #333333;
	font-weight: bold;
	border-bottom: 1px solid #333333;
	padding: 5px;
}

#cp-main table.table1 tbody th {
	font-style: italic;
	background-color: transparent !important;
	border-bottom: none;
}

#cp-main .pagination {
	float: right;
	width: auto;
	padding-top: 1px;
}

#cp-main .postbody p {
	font-size: 1em;
}

#cp-main .postbody  p.author {
	line-height: 1.5em;
}


#cp-main .pm-message {
	border: 1px solid #e2e2e2;
	margin: 10px 0;
	background-color: #FFFFFF;
	width: auto;
	float: none;
}

.pm-message h2 {
	padding-bottom: 5px;
}

#cp-main .postbody h3, #cp-main .box2 h3 {
	margin-top: 0;
}

#cp-main .buttons {
	margin-left: 0;
}

#cp-main ul.linklist {
	margin: 0;
}

/* MCP Specific tweaks */
.mcp-main .postbody {
	width: 100%;
}

#cp-main hr.dashed, #cp-main hr  {
display:none;
}
#cp-main hr.div {
	display: block;
	border-top: 1px solid #E1DBC5;
}

/* CP tabbed menu
----------------------------------------*/
#tabs {
	line-height: normal;
	margin: 20px 0 -1px 7px;
	min-width: 570px;
}

#tabs ul {
	margin:0;
	padding: 0;
	list-style: none;
}

#tabs li {
	display: inline;
	margin: 0;
	padding: 0;
	font-size: 1em;
	font-weight: bold;
}

#tabs a {
	float: left;
	background: none no-repeat 0% -35px;
	margin: 0 1px 0 0;
	padding: 0 0 0 5px;
	text-decoration: none;
	position: relative;
	cursor: pointer;
}

#tabs a span {
	float: left;
	display: block;
	background: none no-repeat 100% -35px;
	padding: 6px 10px 6px 5px;
	color: #828282;
	white-space: nowrap;
}

#tabs a:hover span {
	color: #bcbcbc;
}

#tabs .activetab a {
	background-position: 0 0;
	border-bottom: 1px solid #ebebeb;
}

#tabs .activetab a span {
	background-position: 100% 0;
	padding-bottom: 7px;
	color: #333333;
}

#tabs a:hover {
	background-position: 0 -70px;
}

#tabs a:hover span {
	background-position:100% -70px;
}

#tabs .activetab a:hover {
	background-position: 0 0;
}

#tabs .activetab a:hover span {
	color: #000000;
	background-position: 100% 0;
}

/* Mini tabbed menu used in MCP
----------------------------------------*/
#minitabs {
	line-height: normal;
	margin: -20px 7px 0 0;
}

#minitabs ul {
	margin:0;
	padding: 0;
	list-style: none;
}

#minitabs li {
	display: block;
	float: right;
	padding: 0 10px 4px 10px;
	font-size: 1em;
	font-weight: bold;
	background-color: #f2f2f2;
	margin-left: 2px;
}

#minitabs a {
}

#minitabs a:hover {
	text-decoration: none;
}

#minitabs li.activetab {
	background-color: #F9F9F9;
}

#minitabs li.activetab a, #minitabs li.activetab a:hover {
	color: #333333;
}

/* UCP navigation menu
----------------------------------------*/
/* Container for sub-navigation list */
#navigation {
	width: 100%;
	padding-top: 50px;
}

#navigation ul {
	list-style:none;
}

/* Default list state */
#navigation li {
	margin: 1px 0;
	padding: 0;
	font-weight: bold;
	display: inline;
}

/* Link styles for the sub-section links */
#navigation a {
	display: block;
	padding: 5px;
	margin: 1px 0;
	text-decoration: none;
	font-weight: bold;
	color: #333;
	background: #cfcfcf none repeat-y 100% 0;
}

#navigation a:hover {
	text-decoration: none;
	background-color: #c6c6c6;
	color: #bcbcbc;
	background-image: none;
}

#navigation #active-subsection a {
	display: block;
	color: #d3d3d3;
	background-color: #F9F9F9;
	background-image: none;
}

#navigation #active-subsection a:hover {
	color: #d3d3d3;
}

#navigation hr {
	display: none;
}
/* Preferences pane layout
----------------------------------------*/
#cp-main h2 {
	border-bottom: none;
	padding: 0;
	margin-left: 20px;
	color: #333333;
}

#cp-main .postbody h2 {
	margin-left: 0px;
}

#cp-main .panel {
	background-color: #F9F9F9;
	padding-left: 20px;
}

#cp-main .pm {
	background-color: #FFFFFF;
}

#cp-main span.corners-top, #cp-menu span.corners-top {
	background-image: none;
}

#cp-main span.corners-top span, #cp-menu span.corners-top span {
	background-image: none;
}

#cp-main span.corners-bottom, #cp-menu span.corners-bottom {
	background-image: none;
}

#cp-main span.corners-bottom span, #cp-menu span.corners-bottom span {
	background-image: none;
}

/* Topicreview */
#cp-main .panel #topicreview span.corners-top, #cp-menu .panel #topicreview span.corners-top {
	background-image: none;
}

#cp-main .panel #topicreview span.corners-top span, #cp-menu .panel #topicreview span.corners-top span {
	background-image: none;
}

#cp-main .panel #topicreview span.corners-bottom, #cp-menu .panel #topicreview span.corners-bottom {
	background-image: none;
}

#cp-main .panel #topicreview span.corners-bottom span, #cp-menu .panel #topicreview span.corners-bottom span {
	background-image: none;
}

/* Friends list */
.cp-mini {
	background-color: #f9f9f9;
	padding-right: 0.25em;
	margin: 0 0 0 1em;
}

.cp-mini span.corners-top, .cp-mini span.corners-bottom {
	margin: 0 -5px;
}

dl.mini dt {
	font-weight: bold;
	color: #676767;
	margin-bottom: 1em;
}

dl.mini dd {
	padding-bottom: 0.75em;
	padding-right: 0.25em;
	margin-left: 0;
	line-height: 1em;
}


.friend-online {
	font-weight: bold;
}

.friend-offline {
	/* font-style: italic; */
}

/* PM Styles
----------------------------------------*/
#pm-menu {
	line-height: 2.5em;
}

/* PM panel adjustments */
.pm-panel-header {
	margin: 0; 
	padding-bottom: 10px; 
}

.reply-all {
	display: block; 
	padding-top: 4px; 
	clear: both;
	float: left;
}

.pm-panel-message {
	padding-top: 10px;
}

.pm-return-to {
	padding-top: 23px;
}

#cp-main .pm-message-nav {
	margin: 0; 
	padding: 2px 10px 5px 10px; 
	border-bottom: 1px dashed #A4B3BF;
}

/* PM Message history */
.current {
	color: #999999;
}

/* Defined rules list for PM options */
ol.def-rules {
	padding-left: 0;
}

ol.def-rules li {
	line-height: 180%;
	padding: 1px;
}

/* PM marking colours */
.pmlist li.bg1 {
	border: solid 3px transparent;
	border-width: 0 3px;
}

.pmlist li.bg2 {
	border: solid 3px transparent;
	border-width: 0 3px;
}

.pmlist li.pm_message_reported_colour, .pm_message_reported_colour {
	border-left-color: #bcbcbc;
	border-right-color: #bcbcbc;
}

.pmlist li.pm_marked_colour, .pm_marked_colour {
	border: solid 3px #ffffff;
	border-width: 0 3px;
}

.pmlist li.pm_replied_colour, .pm_replied_colour {
	border: solid 3px #c2c2c2;
	border-width: 0 3px;	
}

.pmlist li.pm_friend_colour, .pm_friend_colour {
	border: solid 3px #bdbdbd;
	border-width: 0 3px;
}

.pmlist li.pm_foe_colour, .pm_foe_colour {
	border: solid 3px #000000;
	border-width: 0 3px;
}

.pm-legend {
	border-left-width: 10px;
	border-left-style: solid;
	border-right-width: 0;
	margin-bottom: 3px;
	padding-left: 0.5em;
}

/* Avatar gallery */
#gallery label {
	position: relative;
	float: left;
	margin: 10px;
	padding: 5px;
	width: auto;
	background: #FFFFFF;
	border: 1px solid #CCC;
	text-align: center;
}

#gallery label:hover {
	background-color: #EEE;
} 
/* Diorama.Ru Form Styles
---------------------------------------- */

/* General form styles
----------------------------------------*/
fieldset {
	border-width: 0;
	font-size: 1em;
}

input {
	font-weight: normal;
	cursor: pointer;
	vertical-align: middle;
	padding: 0 3px;
	font-size: 1em;
}

select {
	font-weight: normal;
	cursor: pointer;
	vertical-align: middle;
	border: 1px solid #666666;
	padding: 1px;
	background-color: #FAFAFA;
	max-width: 15em;
}

option {
	padding-right: 1em;
}

option.disabled-option {
	color: gray;
}

textarea {
	width: 60%;
	padding: 2px;
	font-size: 1em;
	line-height: 1.4em;
}

label {
	cursor: default;
	padding-right: 5px;
	color: #676767;
}

label input {
	vertical-align: middle;
}

label img {
	vertical-align: middle;
}

/* Definition list layout for forms
---------------------------------------- */
fieldset dl {
	padding: 4px 0;
	margin-left: 0;
}

fieldset dt {
	float: left;	
	width: 40%;
	text-align: left;
	display: block;
}

fieldset dd {
	margin-left: 41%;
	vertical-align: top;
	margin-bottom: 3px;
}

/* Specific layout 1 */
fieldset.fields1 dt {
	width: 15em;
	border-right-width: 0;
}

fieldset.fields1 dd {
	margin-left: 15em;
	border-left-width: 0;
}

fieldset.fields1 {
	background-color: transparent;
}

fieldset.fields1 div {
	margin-bottom: 5px;
}

/* Specific layout 2 */
fieldset.fields2 dt {
	width: 15em;
	border-right-width: 0;
}

fieldset.fields2 dd {
	margin-left: 16em;
	border-left-width: 0;
}

/* Form elements */
dt label {
	font-weight: bold;
	text-align: left;
}

dd label {
	white-space: nowrap;
	color: #333;
}

dd input, dd textarea {
	margin-right: 3px;
}

dd select {
	width: auto;
}

dd textarea {
	width: 85%;
}

/* Hover effects */
fieldset dl:hover dt label {
	/* color: #000000; */
}

fieldset.fields2 dl:hover dt label {
	color: inherit;
}

#timezone {
	width: 95%;
}

* html #timezone {
	width: 50%;
}

/* Quick-login on index page */
fieldset.quick-login {
	margin-top: 5px;
}

fieldset.quick-login input {
	width: auto;
}

fieldset.quick-login input.inputbox {
	width: 15%;
	vertical-align: middle;
	margin-right: 5px;
	background-color: #f3f3f3;
}

fieldset.quick-login label {
	white-space: nowrap;
	padding-right: 2px;
}

/* Display options on viewtopic/viewforum pages  */
fieldset.display-options {
	text-align: center;
	margin: 3px 0 5px 0;
}

fieldset.display-options label {
	white-space: nowrap;
	padding-right: 2px;
}

fieldset.display-options a {
	margin-top: 3px;
}

/* Display actions for ucp and mcp pages */
fieldset.display-actions {
	text-align: right;
	line-height: 2em;
	white-space: nowrap;
	padding-right: 1em;
}

fieldset.display-actions label {
	white-space: nowrap;
	padding-right: 2px;
}

fieldset.sort-options {
	line-height: 2em;
}

/* MCP forum selection*/
fieldset.forum-selection {
	margin: 5px 0 3px 0;
	float: right;
}

fieldset.forum-selection2 {
	margin: 13px 0 3px 0;
	float: right;
}

/* Jumpbox */
fieldset.jumpbox {
	text-align: right;
	margin-top: 15px;
	height: 2.5em;
}

fieldset.quickmod {
	/* width: 50%; */
	float: right;
	text-align: right;
	/* height: 2.5em; */
	/* padding: 0.4em 0 0.1em 0; */
	margin: 0;
}

/* Submit button fieldset */
fieldset.submit-buttons {
	text-align: center;
	vertical-align: middle;
	margin: 5px 0;
}

fieldset.submit-buttons input {
	vertical-align: middle;
	padding-top: 3px;
	padding-bottom: 3px;
	margin-left: 0.5em;
	width: 100px !important;
}

/* Posting page styles
----------------------------------------*/

/* Buttons used in the editor */
#format-buttons {
	margin: 15px 0 5px 0;
}

#format-buttons input, #format-buttons select {
	vertical-align: middle;
}

#format-buttons input.button2 {
	width: 50px !important;
}

/* Main message box */
#message-box {
	width: 98%;	
}

#message-box textarea {
	width: 100%;
	font-size: 1.2em;
	color: #333333;
	padding: 0.5em;
}

/* Emoticons panel */
#smiley-box {
	width: 18%;
	float: right;
	padding-left: 1em;
}

#smiley-box img {
	margin: 3px;
}

/* Input field styles
---------------------------------------- */
.inputbox {
	background-color: #FFFFFF;
	border: 1px solid #c0c0c0;
	color: #666;
	padding: 0.5em;
	cursor: text;
}

.inputbox:hover {
	/* border: 1px solid #eaeaea; */
}

.inputbox:focus {
	border: 1px solid #eaeaea;
	color: #4b4b4b;
}

input.inputbox	{ width: 85%; }
input.medium	{ width: 50%; }
input.narrow	{ width: 25%; }
input.tiny		{ width: 200px; }

textarea.inputbox {
	color: #666;
	width: 85%;
	padding: 0.5em;
}

.autowidth {
	width: auto !important;
}

/* Form button styles
---------------------------------------- */
input.button1, input.button2 {
	font-size: 1em;
}

a.button1, input.button1, input.button3, a.button2, input.button2 {
	width: auto !important;
	padding-top: 1px;
	padding-bottom: 1px;
	padding-left: 5px;
	padding-left: 5px;
	color: #000;
	background: #FAFAFA none repeat-x top left;
}

a.button1, input.button1 {
	font-weight: bold;
	border: 1px solid #666666;
}

input.button3 {
	padding: 0;
	margin: 0;
	line-height: 5px;
	height: 12px;
	background-image: none;
	font-variant: small-caps;
}

/* Alternative button */
a.button2, input.button2, input.button3 {
	border: 1px solid #666666;
}

/* <a> button in the style of the form buttons */
a.button1, a.button1:link, a.button1:visited, a.button1:active, a.button2, a.button2:link, a.button2:visited, a.button2:active {
	text-decoration: none;
	color: #000000;
	padding: 2px 8px;
	line-height: 250%;
	vertical-align: text-bottom;
	background-position: 0 1px;
}

/* Hover states */
a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover {
	border: 1px solid #BCBCBC;
	background-position: 0 100%;
	color: #BCBCBC;
}

input.disabled {
	font-weight: normal;
	color: #666666;
}

/* Topic and forum Search */

.search-box {
	margin-top: 3px;
	margin-left: 5px;
	float: right;
}


#search-box input.button2 {
	height: 2em;
}

#search-box input.search, .search-box input.search {
/* 	background-image: none; */
	background-repeat: no-repeat;
	background-position: left 0.25em;
	padding: 0.25em 0 0.25em 20px;
	color: gray;
	height: 1.25em;
}

#search-box .extended-search {
	font-size: 1em;
	font-weight: normal;
	margin-left: 1.25em;
}


.full { width: 95%; }
.medium { width: 50%;}
.narrow { width: 25%;}
.tiny { width: 10%;}

#postingbox  {
	margin-bottom: 10px;
}
#postingbox  fieldset.fields1 dl {
	margin-left: 0;
}

#postingbox  fieldset.fields1 dt {
	width: 8em;
	border-right-width: 0;
}

#postingbox  fieldset.fields1 dd {
	margin-left: 9em;
}

#postingbox  #subject {
	width: 42em !important;
}

#postingbox  #username_list {
	width: 42em !important;
}

#search_memberlist select {
	width: 15em;
}

.section-search select#search_forum  {
	width: 300px;
	max-width: 300px;
}

/* Quick Reply Form, Posting Form, Review */

#qr_ns_editor_div, #postingbox, #review  {
	position: relative;
}

#qr_ns_editor_div  .smilies, #postingbox .smilies {
	width: 100%;
	text-align: center;
}


#qr_ns_editor_div  a img, #postingbox  a img {
	padding: 0.5em;
}

#qr_ns_editor_div  label{
	font-weight: bold;
	margin-right: 1em;
}

#qr_ns_editor_div  input.inputbox {
	width: 98%;
}

#qr_ns_editor_div textarea.inputbox {
	width: 98%;
}

#qr_ns_editor_div input.button1, 
#qr_ns_editor_div input.button2 {
	width: 150px !important;
	padding-top: 3px;
	padding-bottom: 3px;
}

#qr_ns_editor_div .options, #postingbox  .options, #review .options {
	position: absolute;
	top: 2em;
	right: 1em;
}

#qr_ns_editor_div .options input.button2 {
	width: 130px !important; 
	font-weight: normal;
}

#qr_ns_editor_div  #format-buttons input.button2 {
	width: 50px !important;
}

/* format buttons */
#qr_ns_editor_div  #format-buttons {
	margin-top: 0;
}
/* proSilver Style Sheet Tweaks

These style definitions are mainly IE specific 
tweaks required due to its poor CSS support.
-------------------------------------------------*/

* html table, * html select, * html input { font-size: 100%; }
* html hr { margin: 0; }
* html span.corners-top, * html span.corners-bottom { background-image: url("./styles/diorama/theme/images/corners_left.gif"); }
* html span.corners-top span, * html span.corners-bottom span { background-image: url("./styles/diorama/theme/images/corners_right.gif"); }

table.table1 {
	width: 99%;		/* IE < 6 browsers */
	/* Tantek hack */
	voice-family: "\"}\"";
	voice-family: inherit;
	width: 100%;
}
html>body table.table1 { width: 100%; }	/* Reset 100% for opera */

* html ul.topiclist li { position: relative; }
* html .postbody h3 img { vertical-align: middle; }

/* Form styles */
html>body dd label input { vertical-align: text-bottom; }	/* Align checkboxes/radio buttons nicely */

* html input.button1, * html input.button2 {
	padding-bottom: 0;
	margin-bottom: 1px;
}

/* Misc layout styles */
* html .column1, * html .column2 { width: 45%; }

/* Nice method for clearing floated blocks without having to insert any extra markup (like spacer above)
   From http://www.positioniseverything.net/easyclearing.html 
#tabs:after, #minitabs:after, .post:after, .navbar:after, fieldset dl:after, ul.topiclist dl:after, ul.linklist:after, dl.polls:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}*/

#phpbb .clearfix, #tabs, #minitabs, fieldset dl, ul.topiclist dl, dl.polls {
	height: 1%;
	overflow: hidden;
}

/* viewtopic fix */
* html .post {
	height: 25%;
	overflow: hidden;
}

/* navbar fix */
* html .clearfix, * html .navbar, ul.linklist {
	height: 4%;
	overflow: hidden;
}

/* Simple fix so forum and topic lists always have a min-height set, even in IE6
	From http://www.dustindiaz.com/min-height-fast-hack */
dl.icon {
	min-height: 35px;
	height: auto !important;
	height: 35px;
}

* html li.row dl.icon dt {
	height: 35px;
	overflow: visible;
}

* html #search-box {
	width: 25%;
}

/* fix for postbody min-height (c) vs 14.04.2011 */
/* planned to be removed, as requested by bx (#2910) 05.05.2011 */
.postbody {
/*
	height: auto !important;
	height: 150px;
	min-height: 150px;
*/
}


/* Correctly clear floating for details on profile view */
*:first-child+html dl.details dd {
	margin-left: 30%;
	float: none;
}

* html dl.details dd {
	margin-left: 30%;
	float: none;
}

* html .forumbg table.table1 {
	margin: 0 -2px 0px -1px;
} 
/*  	
--------------------------------------------------------------
Colours and backgrounds for common.css
-------------------------------------------------------------- */

hr {
	border-color: #E1DBC5;
	border-top-color: #E1DBC5;
}

hr.dashed {
	border-top-color: #E1DBC5;
}

#wrap {
/*	background-color: #E1DBC4; */
}

dt {
	font-weight: normal; /* (reset diorama.ru settings */
}

/* Search box
--------------------------------------------- */

#search-box {
	color: #fff;
}

#search-box #keywords {
	background-color: #fff;
}

#search-box input {
	/* border-color: #537b60; */
}

/* Round cornered boxes and backgrounds
---------------------------------------- */
.headerbar {
	background-color: #efebda;
	background-image: url("./styles/diorama/theme/images/bg_header.gif"); 
	color: #FFFFFF;
}

.navbar {
	background-color: #efebda;
}

.forabg {
	background-color: #809867;
	/* border-top: 1px solid #c8eaa7; */
	background-image: url("./styles/diorama/theme/images/bg_list.gif"); 
}

.forumbg {
	background-color: #809867;
	/* border-top: 1px solid #c8eaa7; */
	 background-image: url("./styles/diorama/theme/images/bg_list.gif"); 
}

.panel {
	background-color: #f4f2e8; 
	color: #332f28;
}

.post:target .content {
	color: #000000;
}

.post:target h3 a {
	color: #000000;
}

.bg1	{ background-color: #F2F0E5; }
.bg2	{ background-color: #EBE8D9;  }
.bg3	{ background-color: #cec6af; }	/* dark bg (mainly used in combination with tabs (UCP) */
.bg4	{ background-color: #f6c35f; }	/* administration panel */

.ucprowbg {
	background-color: #DCDEE2;
}

.fieldsbg {
	background-color: #E7E8EA;
}

span.corners-top {
	background-image: url("./styles/diorama/theme/images/corners_left.png");
}

span.corners-top span {
	background-image: url("./styles/diorama/theme/images/corners_right.png");
}

span.corners-bottom {
	background-image: url("./styles/diorama/theme/images/corners_left.png");
}

span.corners-bottom span {
	background-image: url("./styles/diorama/theme/images/corners_right.png");
}


/* Horizontal lists
----------------------------------------*/

ul.navlinks {
	border-bottom-color: #beb9a2;
}


/* Table styles
----------------------------------------*/
table.table1 thead th {
	color: #566744;
	background-color: transparent;
}

table.table1 thead th a {
	color: #566744;
	background-color: transparent;
}

table.table1 tbody tr {
	border-color: #BFC1CF;
}

table.table1 tbody tr:hover, table.table1 tbody tr.hover {
	background-color: #ffffe9;
	color: #000;
}

table.table1 td {
	color: #536482;
}

table.table1 tbody td {
	border-top-color: #FAFAFA;
}

table.table1 tbody th {
	border-bottom-color: #000000;
	color: #333333;
	background-color: #FFFFFF;
}

table.info tbody th {
	color: #000000;
}

/* Misc layout styles
---------------------------------------- */
dl.details dt {
	color: #777;
}

dl.details dd {
	color: #333;
}

.sep {
	color: #1198D9;
}

/* Pagination
---------------------------------------- */

.pagination span strong {
	border-color: transparent;
	background-color: #74b188;
	color: #fff;
}

.pagination span a, .pagination span a:link, .pagination span a:visited, .pagination span a:active {
	color: #665c39;
	background-color: #fdfcf7;
	border-color: #d4d4c4;
}

.pagination span a:hover {
	color: #FFFFFF;
	background-color: gray;
	border-color: transparent;
}

/* Pagination in viewforum for multipage topics */
.row .pagination {
	background-image: url("./styles/diorama/theme/images/icon_pages.gif");
}

.row .pagination span a, li.pagination span a {
	background-color: #fff;
}

.row .pagination span a:hover, li.pagination span a:hover {
	background-color: gray;
}

/* Miscellaneous styles
---------------------------------------- */

.copyright {
	color: #555555;
}

.error {
	/* color: #BC2A4D; */
}

fieldset .error {
	color: black;
	border: 1px solid #E1DBC5 !important;
	background-color: #fffb89;
}

.reported {
	background-color: #F7ECEF;
}

li.reported:hover {
	background-color: #ECD5D8 !important;
}
.sticky, .announce {
	/* you can add a background for stickies and announcements*/
}

div.rules {
	background-color: #ECD5D8;
	color: #BC2A4D;
}

p.rules {
	background-color: #ECD5D8;
	background-image: none;
}

/*  	
--------------------------------------------------------------
Colours and backgrounds for links.css
-------------------------------------------------------------- */
/*
a:link	{ color: #907300; }
a:visited	{ color: #907300; }
a:hover	{ color: #907300; }
a:active	{ color: #907300; text-decoration:underline;}
*/

/* Links on gradient backgrounds */
#search-box a:link, .navbg a:link, .forumbg .header a:link, .forabg .header a:link, th a:link {
	color: #FFFFFF;
}

#search-box a:visited, .navbg a:visited, .forumbg .header a:visited, .forabg .header a:visited, th a:visited {
	color: #FFFFFF;
}

#search-box a:hover, .navbg a:hover, .forumbg .header a:hover, .forabg .header a:hover, th a:hover {
	color: #f0f0f0;
}

#search-box a:active, .navbg a:active, .forumbg .header a:active, .forabg .header a:active, th a:active {
	color: #C8E6FF;
}

/* Links for forum/topic lists */
a.forumtitle {
	color: #4D594F;
}

/* a.forumtitle:visited { color: #105289; } */

a.forumtitle:hover {
	color: #4D594F; text-decoration: underline;
}

a.forumtitle:active {
	color: #4D594F; 
}

a.topictitle {
	color: #4D594F;
}

/* a.topictitle:visited { color: #368AD2; } */

a.topictitle:hover {
	color: #4D594F; text-decoration: underline;
}

a.topictitle:active {
	color: #4D594F;
}

/* Post body links */
.postlink {
	/* color: #898989; */
	border-bottom-color: transparent;
}

.postlink:visited {
	/* color: #898989; */
	border-bottom-color: transparent;
}

.postlink:active {
	/* color: #898989; */
}

.postlink:hover {
	/* background-color: #D0E4F6; */
	/* color: #898989; */
}

.signature a, .signature a:visited, .signature a:active, .signature a:hover {
	background-color: transparent;
}

/* Profile links */
.postprofile a:link, .postprofile a:active, .postprofile a:visited, .postprofile dt.author a {
	/* color: #105289; */
}

.postprofile a:hover, .postprofile dt.author a:hover {
	/* color: #D31141; */
}

/* Profile searchresults */	
.search .postprofile a {
	/* color: #105289; */
}

.search .postprofile a:hover {
	color: #D31141;
}

/* Back to top of page */
a.top {
	background-image: url("./styles/diorama/imageset/icon_back_top.gif");
}

a.top2 {
	background-image: url("./styles/diorama/imageset/icon_back_top.gif");
}

/* Arrow links  */
a.up		{ background-image: url("./styles/diorama/theme/images/arrow_up.gif") }
a.down		{ background-image: url("./styles/diorama/theme/images/arrow_down.gif") }
a.left		{ background-image: url("./styles/diorama/theme/images/arrow_left.gif") }
a.right		{ background-image: url("./styles/diorama/theme/images/arrow_right.gif") }

a.up:hover {
	background-color: transparent;
}

a.left:hover {
	/* color: #368AD2; */
}

a.right:hover {
	/* color: #368AD2; */
}


/*  	
--------------------------------------------------------------
Colours and backgrounds for content.css
-------------------------------------------------------------- */

ul.forums {
	background-color: #f3f1e3;
	/* background-image: url("./styles/diorama/theme/images/gradient.gif"); */
}

ul.topiclist li {
	color: #4d594f;
}

ul.topiclist dd {
	border-left-color: #FFFFFF;
}

.rtl ul.topiclist dd {
	border-right-color: #fff;
	border-left-color: transparent;
}

ul.topiclist li.row dt a.subforum.read {
	background-image: url("./styles/diorama/imageset/subforum_read.gif");
}

ul.topiclist li.row dt a.subforum.unread {
	background-image: url("./styles/diorama/imageset/subforum_unread.gif");
}

li.row {
	border-top-color:  #FFFFFF;
	border-bottom-color: #6d8357;
}

li.row strong {
	color: #000000;
}

li.row:hover {
	/* background-color: #ffffe9; */
}

li.row:hover dd {
	/* border-left-color: #CCCCCC; */
}

.rtl li.row:hover dd {
	border-right-color: #CCCCCC;
	border-left-color: transparent;
}

li.header dt, li.header dd {
	color: #566744;
}

/* Forum list column styles */
ul.topiclist dd.searchextra {
	color: #333333;
}

/* Post body styles
----------------------------------------*/
.postbody {
	color: #333;
}

.postbody .posthead span {
	color: #666666;
}

/* preview panel
----------------------------------------*/

#preview  .postbody {
  border-left: 1px solid #dcd6bc; 
}


/* Content container styles
----------------------------------------*/
.content {
	color: #333;
}

.content h2, .panel h2 {
	color: #115098;
	border-bottom-color:  #E1DBC5;
}

.panel h3 {
	color: #676767;
	border-bottom-color:  #E1DBC5;
}

dl.faq dt {
	color: #333333;
}

.posthilit {
	background-color: #f6c35f;
	color: #000;
}

/* Post signature */
.signature {
	border-top-color: #CCCCCC;
}

/* Post noticies */
.notice {
	border-top-color:  #CCCCCC;
}

/* BB Code styles
----------------------------------------*/
/* Quote block */
blockquote {
	background-color: #EBEADD;
	background-image: url("./styles/diorama/theme/images/quote.gif");
	border-color:#DBDBCE;
}

.rtl blockquote {
	background-image: url("./styles/diorama/theme/images/quote_rtl.gif");
}

blockquote blockquote {
	/* Nested quotes */
	background-color:#EFEED9;
}

blockquote blockquote blockquote {
	/* Nested quotes */
	background-color: #EBEADD;
}

/* Code block */
dl.codebox {
	background-color: #FFFFFF;
	border-color: #C9D2D8;
}

dl.codebox dt {
	border-bottom-color:  #CCCCCC;
}

dl.codebox code {
	color: #2E8B57;
}

.syntaxbg		{ color: #FFFFFF; }
.syntaxcomment	{ color: #FF8000; }
.syntaxdefault	{ color: #0000BB; }
.syntaxhtml		{ color: #000000; }
.syntaxkeyword	{ color: #007700; }
.syntaxstring	{ color: #DD0000; }

/* Attachments
----------------------------------------*/
.attachbox {
	background-color: #FFFFFF;
	border-color:  #C9D2D8;
}

.pm-message .attachbox {
	background-color: #F2F3F3;
}

.attachbox dd {
	border-top-color: #C9D2D8;
}

.attachbox p {
	color: #666666;
}

.attachbox p.stats {
	color: #666666;
}

.attach-image img {
	border-color: #999999;
}

/* Inline image thumbnails */

dl.file dd {
	color: #666666;
}

dl.thumbnail img {
	border-color: #666666;
	background-color: #FFFFFF;
}

dl.thumbnail dd {
	color: #666666;
}

dl.thumbnail dt a:hover {
	background-color: #EEEEEE;
}

dl.thumbnail dt a:hover img {
	/* border-color: #368AD2; */
}

/* Post poll styles
----------------------------------------*/

fieldset.polls dl {
	border-top-color: #DCDEE2;
	color: #666666;
}

fieldset.polls dl.voted {
	color: #000000;
}

fieldset.polls dd div {
	color: #FFFFFF;
}

.rtl .pollbar1, .rtl .pollbar2, .rtl .pollbar3, .rtl .pollbar4, .rtl .pollbar5 {
	border-right-color: transparent;
}

.pollbar1 {
	background-color: #AA2346;
	border-bottom-color: #74162C;
	border-right-color: #74162C;
}

.rtl .pollbar1 {
	border-left-color: #74162C;
}

.pollbar2 {
	background-color: #BE1E4A;
	border-bottom-color: #8C1C38;
	border-right-color: #8C1C38;
}

.rtl .pollbar2 {
	border-left-color: #8C1C38;
}

.pollbar3 {
	background-color: #D11A4E;
	border-bottom-color: #AA2346;
	border-right-color: #AA2346;
}

.rtl .pollbar3 {
	border-left-color: #AA2346;
}

.pollbar4 {
	background-color: #E41653;
	border-bottom-color: #BE1E4A;
	border-right-color: #BE1E4A;
}

.rtl .pollbar4 {
	border-left-color: #BE1E4A;
}

.pollbar5 {
	background-color: #F81157;
	border-bottom-color: #D11A4E;
	border-right-color: #D11A4E;
}

.rtl .pollbar5 {
	border-left-color: #D11A4E;
}

/* Poster profile block
----------------------------------------*/
.postprofile  {
	color: #666666;
	border-left-color: #FFFFFF;
}

.rtl .postprofile {
	border-right-color: #FFFFFF;
	border-left-color: transparent;
}

.pm .postprofile {
	border: none;
/*	border-left-color: #DDDDDD; */
}

.rtl .pm .postprofile {
	border-right-color: #DDDDDD;
	border-left-color: transparent;
}

.postprofile strong {
	color: #000000;
}

.online {
	background-image: url("./styles/diorama/imageset/ru/icon_user_online.gif");
}

/*  	
--------------------------------------------------------------
Colours and backgrounds for buttons.css
-------------------------------------------------------------- */

/* Big button images */
.reply-icon span	{ background-image: url("./styles/diorama/imageset/ru/button_topic_reply.gif"); }
.post-icon span		{ background-image: url("./styles/diorama/imageset/ru/button_topic_new.gif"); }
.locked-icon span	{ background-image: url("./styles/diorama/imageset/ru/button_topic_locked.gif"); }
.pmreply-icon span	{ background-image: url("./styles/diorama/imageset/ru/button_pm_reply.gif") ;}
.newpm-icon span 	{ background-image: url("./styles/diorama/imageset/ru/button_pm_new.gif") ;}
.forwardpm-icon span	{ background-image: url("./styles/diorama/imageset/ru/button_pm_forward.gif") ;}

a.print {
	background-image: url("./styles/diorama/theme/images/icon_print.gif");
}

a.sendemail {
	background-image: url("./styles/diorama/theme/images/icon_sendemail.gif");
}

a.fontsize {
	background-image: url("./styles/diorama/theme/images/icon_fontsize.gif");
}

a.icon-prev {
	background-image: url("./styles/diorama/theme/images/icon_prev.gif");
}

a.icon-next {
	background-image: url("./styles/diorama/theme/images/icon_next.gif");
}


/* Icon images
---------------------------------------- */
.sitehome						{ background-image: url("./styles/diorama/theme/images/icon_home.gif"); }
.icon-faq						{ background-image: url("./styles/diorama/theme/images/icon_faq.gif"); }
.icon-members					{ background-image: url("./styles/diorama/theme/images/icon_members.gif"); }
.icon-home						{ background-image: url("./styles/diorama/theme/images/icon_home.gif"); }
.icon-ucp						{ background-image: url("./styles/diorama/theme/images/icon_ucp.gif"); }
.icon-register					{ background-image: url("./styles/diorama/theme/images/icon_register.gif"); }
.icon-logout					{ background-image: url("./styles/diorama/theme/images/icon_logout.gif"); }
.icon-bookmark					{ background-image: url("./styles/diorama/theme/images/icon_bookmark.gif"); }
.icon-bump						{ background-image: url("./styles/diorama/theme/images/icon_bump.gif"); }
.icon-subscribe					{ background-image: url("./styles/diorama/theme/images/icon_subscribe.gif"); }
.icon-unsubscribe				{ background-image: url("./styles/diorama/theme/images/icon_unsubscribe.gif"); }
.icon-pages						{ background-image: url("./styles/diorama/theme/images/icon_pages.gif"); }
.icon-search					{ background-image: url("./styles/diorama/theme/images/icon_search.gif"); }
.icon-divider3					{ background-image: url("./styles/diorama/theme/images/icon_divider3.gif"); }
.icon-add-pm 					{ background-image: url("./styles/diorama/theme/images/icon_add_pm.gif"); }
.icon-remove-pm 					{ background-image: url("./styles/diorama/theme/images/icon_remove_pm.gif"); }


/* Profile & navigation icons */
.email-icon, .email-icon a		{ background-image: url("./styles/diorama/imageset/icon_contact_email.gif"); }
.aim-icon, .aim-icon a			{ background-image: url("./styles/diorama/imageset/icon_contact_aim.gif"); }
.yahoo-icon, .yahoo-icon a		{ background-image: url("./styles/diorama/imageset/icon_contact_yahoo.gif"); }
.web-icon, .web-icon a			{ background-image: url("./styles/diorama/imageset/icon_contact_www.gif"); }
.msnm-icon, .msnm-icon a			{ background-image: url("./styles/diorama/imageset/icon_contact_msnm.gif"); }
.icq-icon, .icq-icon a			{ background-image: url("./styles/diorama/imageset/icon_contact_icq.gif"); }
.jabber-icon, .jabber-icon a		{ background-image: url("./styles/diorama/imageset/icon_contact_jabber.gif"); }
.pm-icon, .pm-icon a				{ background-image: url("./styles/diorama/imageset/ru/icon_contact_pm.gif"); }
.quote-icon, .quote-icon a		{ background-image: url("./styles/diorama/imageset/ru/icon_post_quote.gif"); }
.profile-icon, .profile-icon a	{ background-image: url("./styles/diorama/theme/images/icon_profile.gif"); }
.gallery-icon, .gallery-icon a	{ background-image: url("./styles/diorama/theme/images/icon_gallery.gif"); }

/* Moderator icons */
.report-icon, .report-icon a		{ background-image: url("./styles/diorama/imageset/icon_post_report.gif"); }
.edit-icon, .edit-icon a			{ background-image: url("./styles/diorama/imageset/ru/icon_post_edit.gif"); }
.delete-icon, .delete-icon a		{ background-image: url("./styles/diorama/imageset/icon_post_delete.gif"); }
.info-icon, .info-icon a			{ background-image: url("./styles/diorama/imageset/icon_post_info.gif"); }
.warn-icon, .warn-icon a			{ background-image: url("./styles/diorama/imageset/icon_user_warn.gif"); } /* Need updated warn icon */

/*  	
--------------------------------------------------------------
Colours and backgrounds for cp.css
-------------------------------------------------------------- */

/* Main CP box
----------------------------------------*/

#cp-main h3, #cp-main hr, #cp-menu hr {
	/* border-color: #A4B3BF; */
}

#cp-main .panel li.row {
	/* border-bottom-color: #B5C1CB; */
	border-top-color: #F9F9F9;
}

ul.cplist {
	/* border-top-color: #B5C1CB; */
}

#cp-main .panel li.header dd, #cp-main .panel li.header dt {
	color: #000000;
}

#cp-main table.table1 thead th {
	color: #333333;
	border-bottom-color: #333333;
}

#cp-main .pm-message {
	border-color: #DBDEE2;
	background-color: #FFFFFF;
}

/* CP tabbed menu
----------------------------------------*/
#tabs a {
	background-image: url("./styles/diorama/theme/images/bg_tabs1.gif");
}

#tabs a span {
	background-image: url("./styles/diorama/theme/images/bg_tabs2.gif");
	color: #413f40; 
}

#tabs a:hover span {
	color: #413f40; 
}

#tabs .activetab a {
	border-bottom-color: #f4f2e9; 
}

#tabs .activetab a span {
	color: #353535;
}

#tabs .activetab a:hover span {
	color: #000000;
}

/* Mini tabbed menu used in MCP
----------------------------------------*/
#minitabs li {
	background-color: #E1EBF2;
}

#minitabs li.activetab {
	background-color: #f9f9f9;
}

#minitabs li.activetab a, #minitabs li.activetab a:hover {
	color: #333333;
}

/* UCP navigation menu
----------------------------------------*/

/* Link styles for the sub-section links */
#navigation a {
	color: #625b48;
	background-color: #e1dbc5;
	background-image: url("./styles/diorama/theme/images/bg_menu.gif");
}

.rtl #navigation a {
	background-image: url("./styles/diorama/theme/images/bg_menu_rtl.gif");
	background-position: 0 100%;
}

#navigation a:hover {
	background-image: none;
	background-color: #ede6cd;
	color: #625b48;
}

#navigation #active-subsection a {
	color: #1e1e1e;
	background-color: #fff;
	background-image: none;
}

#navigation #active-subsection a:hover {
	color: #1e1e1e;
}


/* UCP panel
----------------------------------------*/

form#ucp fieldset dl {
	padding-bottom: 0.75em;
	border-bottom: 1px solid #e1dbc5;
}


/* Preferences pane layout
----------------------------------------*/
#cp-main h2 {
	color: #333333;
}

#cp-main .panel {
	background-color: #f5f2e9;
}

#cp-main .pm {
	background-color: none;
}
/*
#cp-main span.corners-top, #cp-menu span.corners-top {
	background-image: url("./styles/diorama/theme/images/corners_left2.gif");
}

#cp-main span.corners-top span, #cp-menu span.corners-top span {
	background-image: url("./styles/diorama/theme/images/corners_right2.gif");
}

#cp-main span.corners-bottom, #cp-menu span.corners-bottom {
	background-image: url("./styles/diorama/theme/images/corners_left2.gif");
}

#cp-main span.corners-bottom span, #cp-menu span.corners-bottom span {
	background-image: url("./styles/diorama/theme/images/corners_right2.gif");
}
*/

/* Topicreview */
#cp-main .panel #topicreview span.corners-top, #cp-menu .panel #topicreview span.corners-top {
	background-image: url("./styles/diorama/theme/images/corners_left.gif");
}

#cp-main .panel #topicreview span.corners-top span, #cp-menu .panel #topicreview span.corners-top span {
	background-image: url("./styles/diorama/theme/images/corners_right.gif");
}

#cp-main .panel #topicreview span.corners-bottom, #cp-menu .panel #topicreview span.corners-bottom {
	background-image: url("./styles/diorama/theme/images/corners_left.gif");
}

#cp-main .panel #topicreview span.corners-bottom span, #cp-menu .panel #topicreview span.corners-bottom span {
	background-image: url("./styles/diorama/theme/images/corners_right.gif");
}

/* Friends list */
.cp-mini {
	background-color: #ede6cd;
}

dl.mini dt {
	color: #425067;
}

/* PM Styles
----------------------------------------*/
/* PM Message history */
.current {
	color: #000000 !important;
}

/* PM panel adjustments */
.pm-panel-header,
#cp-main .pm-message-nav {
	border-bottom-color: #A4B3BF;
}

/* PM marking colours */
.pmlist li.pm_message_reported_colour, .pm_message_reported_colour {
	border-left-color: #BC2A4D;
	border-right-color: #BC2A4D;
}

.pmlist li.pm_marked_colour, .pm_marked_colour {
	border-color: #FF6600;
}

.pmlist li.pm_replied_colour, .pm_replied_colour {
	border-color: #A9B8C2;
}

.pmlist li.pm_friend_colour, .pm_friend_colour {
	border-color: #5D8FBD;
}

.pmlist li.pm_foe_colour, .pm_foe_colour {
	border-color: #000000;
}

/* Avatar gallery */
#gallery label {
	background-color: #FFFFFF;
	border-color: #CCC;
}

#gallery label:hover {
	background-color: #EEE;
}


/*  	
--------------------------------------------------------------
Colours and backgrounds for forms.css
-------------------------------------------------------------- */

/* General form styles
----------------------------------------*/
select {
	border-color: #666666;
	background-color: #FAFAFA;
	color: #000;
}

label {
	/* color: #425067; */
}

option.disabled-option {
	color: graytext;
}

/* Definition list layout for forms
---------------------------------------- */
dd label {
	color: #333;
}

/* Hover effects */
fieldset dl:hover dt label {
	/* color: #000000; */
}

fieldset.fields2 dl:hover dt label {
	/* color: inherit; */
}

/* Quick-login on index page */
fieldset.quick-login input.inputbox {
	background-color: #F2F3F3;
}

/* Posting page styles
----------------------------------------*/

#message-box textarea {
	color: #333333;
}

/* Input field styles
---------------------------------------- */
.inputbox {
	background-color: #FFFFFF; 
	/* border-color: #B4BAC0; */
	color: #666;
}

.inputbox:hover {
	/* border-color: gray; */
	/* border-color: #11A3EA; */
}

.inputbox:focus {
	border-color: gray;
	/* color: #000; */
	/* border-color: #11A3EA; */
	/* color: #0F4987; */
}

/* Form button styles
---------------------------------------- */

a.button1, input.button1, input.button3, a.button2, input.button2 {
	color: #000;
	background-color: #FAFAFA;
	background-image: url("./styles/diorama/theme/images/bg_button.gif");
}

a.button1, input.button1 {
	border-color: #666666;
}

input.button3 {
	background-image: none;
}

/* Alternative button */
a.button2, input.button2, input.button3 {
	border-color: #666666;
}

/* <a> button in the style of the form buttons */
a.button1, a.button1:link, a.button1:visited, a.button1:active, a.button2, a.button2:link, a.button2:visited, a.button2:active {
	color: #000000;
}

/* Hover states */
a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover {
	color: #000000;
	border-color: #000;
/*
	border-color: #BC2A4D;
	color: #BC2A4D;
*/
}

input.search {
	background-image: url("./styles/diorama/theme/images/icon_textbox_search.gif");
}

input.disabled {
	color: #666666;
}


/* Admin Panel
---------------------------------------- */
.bg4 label {
	color: #3d330a;	
}

.admin-panel span.corners-top {
	background-image: url("./styles/diorama/theme/images/corners_left3.png");
}

.admin-panel span.corners-top span {
	background-image: url("./styles/diorama/theme/images/corners_right3.png");
}

.admin-panel span.corners-bottom {
	background-image: url("./styles/diorama/theme/images/corners_left3.png");
}

.admin-panel span.corners-bottom span {
	background-image: url("./styles/diorama/theme/images/corners_right3.png");
}


/* Dividers
----------------------------------------*/
.bg4 span.divider {
	padding: 5px 7px;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-image: url("./styles/diorama/theme/images/icon_divider4.gif"); 
}

span.divider, .pagination span.divider, ul.linklist span.divider {
	padding: 5px 7px;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-image: url("./styles/diorama/theme/images/icon_divider3.gif"); 
}

ul.navlinks span.divider {
	background-image: url("./styles/diorama/theme/images/arrow_right.gif"); 
}

input.icon-add-pm, input.icon-remove-pm {
	border: 0;
	background-position: center;
	background-color: transparent;
	width: 17px; height: 21px;
} 