.scroll {
	width: 800px;
	overflow: auto;
}

.code {
    border-left: 1px solid #e6e7e8;
    border-right: 1px solid #e6e7e8;
    font-family: Courier;
    font-size: 10px;
    background-color: #fffdf2;
    white-space: nowrap;
}

.quote {
    border-left: 1px solid #e6e7e8;
    border-right: 1px solid #e6e7e8;
    background-color: #f5f7fa;
	color:#333;
	font-style:italic;
}

.forumscontainer {
	padding:0px 1em;
	//width:100%;
}

.forumscontainer a {
	text-decoration: underline;
	color:#0C3994;
	}

.forumsectionhdr {
	/* border-bottom: 1px solid #c0c0c0; */
	text-align:right;
	float:right;
	width:25%;
	font-size:90%;
	margin-bottom:10px;
}


.forumsectionhdr ul {
	margin:0;
	padding:0;
}

.forumsectionhdr li {
	color: #656565;
	list-style-type:none;
	font-weight:bold;
	background:none;
	left:0;
	margin:0.2em 0;
}

.forumsectionhdr a {
	color:#4a5d75;
}

.forumdashedHR {
	clear:both;
	border-top:1px dashed #a1a1a1; 
	background-color: #FFFFFF;
	border-bottom:0px;
	border-left:0px;
	border-right:0px;
	margin:10px auto;
}


/* Link workaround for images used as links where spaces may be added */
.imglink { 
	text-decoration: none;
}
	

/* -------------------------- floats ------------------------------------------- */
.forumfloatright {
	float:right;
}

.forumfloatleft {
	float:left;
}

/* -------------------------- titles, headers & text ------------------------------- */
.forumtitletext {
	margin:10px 0;
}

.forumtitletext h4{
	margin: 5px auto;
	font-size:180%;
}
.forumtitletext .successtext {
	margin: 5px auto;
	color:#226809;
	font-size:12px;
	font-weight:bold;	
}
.forumtitletext .failuretext {
	margin: 5px auto;
	color:#CC0000;
	font-size:12px;
	font-weight:bold;	
}
.forumtitletext p {
	margin: 2px auto 12px auto;
}

.inlinefailure {
	margin: 5px auto;
	color:#CC0000;
	font-size:12px;
	font-weight: bold;	
}	

.note {
	color:#233345;
	font-size:9px;
	line-height: 9px;
}
/* --------------------------- Buttons ---------------------------------- */

.buttonMed {
	font-size: 10px;
	font-weight: bold;
	color: #333;
	padding:3px;
	border-top: 1px solid #dedede;
	border-left: 1px solid #dedede;
	border-right: 1px solid #a1a1a1;
	border-bottom: 1px solid #a1a1a1;
	background:url(/_global/images/decor/menu_gr.gif) 0% 100% #bebebe repeat-x;
}

.actionbuttons {
	margin: 0 0 5px 0px;
	float:left;
}
td.actionbuttons {
	float:none;
	margin:0;
}

.actionbuttons ul {
	padding: 0px;
	margin: 0px;
	display: inline;
	} 

.actionbuttons ul li {
	list-style: none;
	background:none;
left:0;
	display: inline;
	padding: 0px;
	margin: 0px;
	}

.actionbuttons ul li img {
	border: 0px;
	padding-right: 4px;
	vertical-align: text-bottom;
	}

.actionbuttons ul li a {
	text-decoration:none;
	}


/* -------------------------- Forum Breadcrumb navigation --------------------------------- */
.forumbread {
	color: #4a5d75;
	padding-right: 3px;
	font-size:90%;
	margin:5px 0;
}
.forumbread .main img {
	vertical-align:middle;
	margin-bottom:2px;
	width:11px;
	height:10px;

}

.forumbread ul {
	margin-left: 0px;
	padding-left: 0px;
	display: inline;
	border: none;
	margin-bottom:0;
} 

.forumbread ul li {
	margin-right: 3px;
	background:none;
left:0;
	border: none;
	list-style: none;
	display: inline;
	}

.forumbread ul li .first {
	margin-left:0px;
	border: none;
	list-style: none;
	display: inline;
	background:none;
	left:0;
}

.forumbread a,
.forumbread a:link,
.forumbread a:visited {
	text-decoration: underline;
	color:#7b8084;
}

/* --------------------  Forum Table styles ------------------------ */
.forumtablestyle {
	clear:both;
	margin:0 0 0 0;
	/* border-top:1px solid #e6e7e8; */
}

.forumtablestyle td {
	/* border-bottom:1px solid #e6e7e8; */
	padding: 5px;
}

.forumtablestyle tr.editRow td td{
	border:none;
	padding-top:0;
}
.forumtablestyle tr.editRow input { vertical-align:middle;}

.forumtablestyle h3 {
	margin:0px;
	padding:0px;
	font-size:110%;
	display:inline;
}

.forumtablestyle .header { /* заголовок таблицы */
	/* background-color: #4E3D6D; */
	/* background-image:url(common/bg_header.png);
	background-repeat:no-repeat;
	background-position:center top; */
	font-size:80%;
	color:#fff;
	padding:5px;
	text-align:left;
}

.forumtablestyle .secondaryHeader {
	background-color:#e1e6e9;

	font-weight:bold;
	color:#000000;
	height: 20px;
	text-align:left;
}

.forumtablestyle .forumheaderfirst { 
	background-image:url(common/bg_header.png);
	background-repeat:no-repeat;
	background-position:left top; }
.forumtablestyle .tableheader { border-left:1px solid #c0c0c0; }
.forumtablestyle .forumheadercentered { 
	text-align:center; 
	/* border-left:1px solid #c0c0c0;  */
	width:50px;
	background-image:url(common/bg_header.png);
	background-repeat:no-repeat;
	background-position:center top;}
.forumtablestyle .forumheaderopen { 
	/* border-left:1px solid #c0c0c0;  */
	background-image:url(common/bg_header.png);
	background-repeat:no-repeat;
	background-position:right top;
}
.forumtablestyle .forumheader250px { border-left:1px solid #c0c0c0; width:250px; }
.forumtablestyle .forumheaderlast { 
	/* border-left:1px solid #c0c0c0;  */
	width:150px; 
	background-image:url(common/bg_header.png);
	background-repeat:no-repeat;
	background-position:right top; }

.forumtablestyle .forumlisticon { padding:8px 10px 5px 10px; width:10px; height:40px;} /* форум:  ячейка с иконкой*/
.forumtablestyle .forumlistcentered { padding:5px 10px; width:50px; text-align: center; /* border-left:1px solid #e6e7e8;*/ color:#000; } /* форум:  центральные ячейки*/
.forumtablestyle .forumlistauthor { /* border-left:1px solid #e6e7e8; */ padding:5px 10px; text-align: center; color:#666; }  /* форум:  ячейка с автором*/
.forumtablestyle .forumlistauthor a,
.forumtablestyle .forumlistauthor a:link { color:#666; }
.forumtablestyle .forumlistauthor a:visited { color:#616872; }
.forumtablestyle .forumlistlast { padding:5px 10px; width:150px; /* border-left:1px solid #e6e7e8; */ color:#000; font-size:80%; }  /* форум:  последнее сообщение*/
.forumtablestyle .forumlistlast a,
.forumtablestyle .forumlistlast a:link  { color:#000; }
.forumtablestyle .forumlistlast a:visited { color:#000; }
.forumtablestyle .forumlistopen { border-left:1px solid #e6e7e8; height:40px;}
.forumtablestyle .forumcategory { /* background-color:#f4f3f3;  border-bottom:1px solid #e6e7e8; */ padding:5px; background-image:url(common/forum2-c.png);} /* категория:  категория и форум*/
.forumtablestyle .forumspecialized { /* background-color:#dedede; */ border-bottom:1px solid #e6e7e8; background-image:url(common/forum2-c.png);} /* форум:  раздел форума*/
.forumtablestyle .forumcategory h3 { font-weight: bold; }
.temporary-class { background-image:url(common/forum1-c.png);}

.forumtablestyle .forumlistlast span.author {
	background:url('../category_files/common/user_small.gif') 0% 0.2em no-repeat;
	padding-left:14px;
	display:block;
}
.forumtablestyle .forumlistlast span.author a:hover {
	text-decoration:none;
}
.forumtablestyle .forumlistlast span.message,
.forumtablestyle .forumlistlast a.message {
	background:url('../category_files/common/message_small.gif') 0% 0.2em no-repeat;
	padding-left:14px;
	display:inline;
}
.forumtablestyle .forumlistlast a.message:hover {
	text-decoration:none;
}
.forumtablestyle .footerrow {
	background-color:#e6e7e8;
}
.forumtablestyle .spacerRow {
	background-color:#ffffff;
	height:15px;
}

.forumtablestyle .oddRow{
    /* background-color: #f4f3f3; */
}


.forumtablestyle .evenRow{
    /* background-color: #ffffff; */  /* форум ряд таблицы с темой */
	background-image:url(common/forum2-c.png);
}


.forumtablestyle .Indent{
    padding-left:20px;
}

.forumtablestyle .rowlinefirst {
	border-bottom:1px solid #e6e7e8;
}

.forumtablestyle .rowline {
	border-left:1px solid #e6e7e8;

}
.forumtablestyle .editRow{
	background-color:#fff6e4;
}

.forumtablestyle .nonewpostRow {
	background-color: #f4f3f3;
	font-weight:bold;
}

.forumtablestyle .labelCell {
    /* background-color: #f4f3f3; */
    width: 0%;
    white-space: nowrap;
	text-align:right;
	color:#666;
	vertical-align:middle;
}

.forumtablestyle .valueCell {
	vertical-align:middle;
}

.forumtablestyle .options {
	font-size:90%;
}

.forumtablestyle .buttonCell {
	padding-top: 6px;
	text-align: right;
	border: 0px;
}
.bottomline {
	border-bottom:1px solid #656565;
	padding-top:1px;
}
.forumsubtablestyle {
	clear:both;
}

.forumsubtablestyle td {
	border-bottom:0px;
	padding: 0px 0px;
}


.forumthreaduserinfo {
	border-left:1px solid #e6e7e8;
}

.forumthreaduserinfo ul {
	padding-left: 4px;
	margin-left: 0px;
	display: inline;
} 

.forumthreaduserinfo ul li {
	list-style: none;
	display: inline;
	background:none;
left:0;
}

.forumthreaduserinfo ul li img {
	border: 0px;
	padding-right: 1px;
	vertical-align: text-bottom;
}
.forumthreaduserinfo ul li a {
	text-decoration:none;
}

.forumthreadfooter {
	background-color: #9da7b2;
	height: 0px;
}

/* ------------ раскраска для темы */
.forumpostspacer {
	/*  background-color:#969; */
	background-image:url(common/forum2-c.png); */
	border-left:1px solid #e6e7e8;
	height: 30px;
	color:#000;
}

.forumpostcontent {
	/* border-left:1px solid #e6e7e8; */
	/*  background-color:#969; */
	background-image:url(common/forum2-c.png);
	border-bottom:1px solid #f5f6f5;
}
.forumpostcontent .edited {
	font-style:italic;
	font-size:90%;
	color:#666;
}
/* ------------  раскраска для темы end */

.forumpostleftcolumn {
	/* background-color:#969; */
	border-bottom:1px solid #f5f6f5;
	background-image:url(common/forum2-c.png);
	width:80px;
}
.forumpostleftcolumn .signature {
	font-size:90%;
	color:#666;
}
.forumpostinfo {
	padding-top: 2px;
}
.forumpostinfo-permalink { float:right; margin:0 0 0 1em; color:#666; }
.forumpostinfo-date  { float:right; margin:0 0 0 1em; color:#000; } /* дата в сообщении */
.forumpostinfo-date .label { color:#666; font-weight:normal; display:none; }
.forumpostinfo-subject  { font-weight:bold; }
.forumpostinfo-subject .label { color:#666; font-weight:normal; }

.forumpostinfo ul {
	padding-left: 0px;
	margin-left: 0px;
	display: inline;
} 

.forumpostinfo ul li {
	list-style: none;
	display: inline;
	background:none;
left:0;
	padding-right:1.5em;
}
.forumpostinfo img {
	vertical-align:middle;
}
.forumpostactions {
	float:right;
}

.forumpostactions ul {
	padding-left: 4px;
	margin-left: 0px;
	display: inline;
} 

.forumpostactions ul li {
	list-style: none;
	display: inline;
	background:none;
left:0;
}

.forumpostactions ul li img {
	border: 0px;
	padding-right: 1px;
	vertical-align: text-bottom;
}

/* --------------------  Forum Topic Attachment styles ------------------------ */

.forumAttachmentTable {
	clear:both;
	width: 100%;
	border: 1px solid #e6e7e8;
	border-bottom: 0px;
	margin: 4px;
}

.forumAttachmentTable .header {
	background-color:#9bb3c1;
	font-size:10px;
	font-weight:bold;
	color:#000000;
	text-align:left;
}

.forumAttachmentTable .forumHeaderFirst {
	border-bottom:1px solid #9bb3c1;
}

.forumAttachmentTable .tableHeader {
	border-left:1px solid #94aebd;
	border-bottom:1px solid #9bb3c1;
}

.forumAttachmentTable .forumHeaderLast {
	border-left:1px solid #94aebd;
	border-bottom:1px solid #9bb3c1;
}

.forumAttachmentTable .labelCell {
    background-color: #f4f3f3;
    width: 0%;
    white-space: nowrap;
	font-size:10px;
	font-weight:bold;
}

.forumAttachmentTable .valueCell {
    width: 100%;
}

.forumAttachmentTable .downloadCell {
    border-left:1px solid #e6e7e8;
    padding: 4px;
    text-align: center;
    vertical-align: middle;
}

/* --------------------  Forum Topic Poll styles ------------------------ */

.forumPollTable {
	clear:both;
/*	border: 1px solid #e6e7e8; */
/*	border-bottom: 0px; */
	margin: 4px;
}

.forumPollTable .questionCell {
	background-color:#9bb3c1;
	width: 100%;
	font-size:10px;
	font-weight:bold;
	color:#000000;
	text-align:left;
}

.forumPollTable .radioCell {
    background-color: #f4f3f3;
    width: 0%;
    white-space: nowrap;
	font-size:10px;
	font-weight:bold;
}

.forumPollTable .answerCell {
/*    background-color: #f4f3f3; */
    width: 100%;
    white-space: nowrap;
}

.forumPollTable .buttonCell {
	padding-top: 6px;
	text-align: right;
	border: 0px;
}

.forumPollTable .linkCell {
	padding: 1px;
	padding-right: 6px;
	text-align: right;
	border: 0px;
}

.forumPollTable td {
    white-space: nowrap;
}
.forumPollTable .totalCell {
    background-color: #f4f3f3;
	padding: 1px;
	padding-right: 12px;
	text-align: right;
}

.forumPollTableGraph {
	padding: 0px;
	width: 0%;
}

.forumPollTableGraph td {
	padding: 0px;
	width: 0%;
}

/* -------------------  Forms ------------------------------- */

.forumtablestyle .categorylabel {
	width: 100px;
	padding:0px;
	margin:0px;
}
.forumtablestyle label{
 	float: left;
 	vertical-align: middle;
}

.forumtablestyle textarea {
	width: 180px;
	margin-bottom: 5px;
	vertical-align:middle;
}

textarea{
	width: 250px;
	height: 150px;
}

.forumtablestyle br {
	clear: left;
}
#adminbutton {
	width:90px;
	margin-left:100px;
}
#updateinline {
	width:90px;
	margin-left:6px;
}


/* -------------------  Legends ------------------------------- */

.forumlegend {  /* легенда */
	margin-bottom: 10px;
	/* background:#efefef; */
	padding:10px;
	background-image:url(common/forum2-c.png);
}
.forumlegend .forumdashedHR { display:none; }

.forumlegend ul {
	padding-left: 0px;
	margin-left: 0px;
	display: inline;
	text-indent:0px;
	} 

.forumlegend ul li {
	font-size:10px;
	list-style: none;
	background:none;
left:0;
	display: inline;
	}

.forumlegend ul li img {
	border: 0px;
	padding-left: 4px;
	padding-right: 4px;
	vertical-align: text-bottom;
	}
.forumlegendCentered {
	clear:both;
	font-size:11px;
	font-weight:normal;
	padding-bottom: 15px;
	text-align:center;
}
.forumthreadlegend-block { display:none; background:#efefef; padding:10px; width:100%; float:left; clear:both; color:#666; font-size:90%; }
.forumthreadlegend {
	float:left;
 	margin-right: 30px;
}

.forumthreadlegend ul {
	margin-top:0px;
	padding-left: 0px;
	margin-left: 0px;
	display: block;
	text-indent:none;
	} 

.forumthreadlegend ul li {
	list-style: none;
	background:none;
left:0;
	display: block;
	}

.forumthreadlegend ul li img {
	border: 0px;
	padding-top: 4px;
	padding-right: 4px;
	vertical-align: text-bottom;
	}

.forumthreadlegendtext {
	text-align:right;
	float:right;
}

.forumlegendjumpboxfloat {
	float:right;
	margin-bottom: 10px;
}
.forumlegendjumpboxclear {
	clear:both;
	float:right;
	margin-bottom: 10px;
}
.forumlegendjumpboxclear select {
	margin: 0px; 
}


/* ----------------------- forum pagination ------------------------ */

.forumpagination {
	float:right;
	padding: 5px 0;
	clear:both;
}

.forumpagination ul {
	margin: 0px;
	padding: 0px;
}

.forumpagination li {
	list-style-type: none;
	background:none;
	left:0;
	display: inline;
	padding-bottom: 1px;
}

.forumpagination a, .forumpagination a:visited{
	padding: 0px 3px;
}

.forumpagination li.currentpage{
	padding: 0px 3px;
	font-weight:bold;
}

.forumpagination li.disablepage{
	padding: 0px 3px;
	color: #666;
}
.forumpagination .pagecount {
	margin-right:1em;
	color:#333;
}


/* ----------------------- Admin/Moderation styles ------------------------ */

.admintools {
	padding-top: 4px;
	float:right;
	clear:right;
}

.admintools ul {
	padding-left: 0px;
	margin-left: 0px;
	display: inline;
	} 

.admintools ul li {
	font-size:90%;
	background:none;
left:0;
	list-style: none;
	display: inline;
	}

.admintools ul li img {
	border: 0px;
	vertical-align: middle;
	padding-left: 4px;
	padding-right: 4px;
	}
	
.modtools {
	margin:5px 0;
	float:right;
	text-align:right;
	clear:left;
}

.modtools ul {
	padding-left: 0px;
	margin-left: 0px;
	display: inline;
	text-indent:0px;
} 

.modtools ul li {
	font-size:90%;
	list-style: none;
	background:none;
left:0;
	display: inline;
}

.modtools ul li img {
	border: 0px;
	padding-left: 4px;
	padding-right: 4px;
	vertical-align: middle;
}

/*  -------------------------------------- Forms -------------------------------------- */
.foruminstantreply {
	margin-top:10px;
	width: 100%;
	clear:both;	
}

.forumformlabelbold {
	font-size:11px;
	font-weight:bold;
}

.forumformtextfield550px {
	width:550px;
}
.foruminstantreply textarea { width:100%; }
.forumformbuttonrow {
	padding-top: 6px;
	text-align: right;
	white-space: nowrap;
}

.forumformbuttonrow ul {
	padding-left: 0px;
	margin-left: 0px;
	display: inline;
} 

.forumformbuttonrow ul li {
	list-style: none;
	background:none;
left:0;
	display: inline;
}

/* --------------------  confirmations -------------------- */

.forumsubscriptionconfirm  {
	border:1px solid #a1a1a1;
	padding: 20px 20px 10px 20px;
	margin: 30px auto 200px auto;
	width:400px;
}
.forumsubscriptionconfirm h3 {
	font-size: 12px;
	font-weight:bold;
	color:#343434;
	margin: 0px auto 8px auto;
}
.forumsubscriptionconfirm p {
	margin: 3px auto;
} 
.forumsubscriptionconfirm h4 {
	font-weight:normal;
	font-size: 12px;
	color:#343434;
	margin: 0px auto 8px auto;
}

/* --------------------  virtual dialogs -------------------- */

.dialog  {
	border:1px solid #a1a1a1;
	padding: 15px 15px 15px 15px;
	margin: 30px auto 200px auto;
	width:400px;
}

.dialog .icon {
	padding-right: 10px;
	vertical-align: top;
}


.dialog .title {
	font-size: 12px;
	font-weight:bold;
	color:#343434;
	margin: 0px auto 8px auto;
}

.dialog .buttons {
	padding-top: 10px;
	text-align: right;
}

/* --------------------SPACER -------------*/
#adminbottommargin {
	margin-bottom: 10px;
}	

/* ----------------------- "Post View" styles _____________________________ */

.PostviewStyle {
	margin-top:10px;
	clear:both;
}

.PostviewStyle .PostViewMainHeader {
	font-weight:bold;
	background-color:#e6e7e8;
}
.PostviewStyle .PostViewMainDescription {
	line-height:1.5em;
	background-color:#f4f3f3;
	border-bottom:1px solid #e6e7e8;
	padding:5px 10px;
}

.PostviewStyle .PostViewUnderline td {
	border-bottom:1px solid #e6e7e8;
}
.PostviewStyle .PostViewUnderlineBoth td {
	border-top:1px solid #e6e7e8;
	border-bottom:1px solid #e6e7e8;
}

.PostviewStyle .Posttextarea {
   width: 450px;
   font-family:Verdana,Arial,Helvetica,Sans-Serif,sans-serif;
   font-size:100%;
}

/*  ------------ powered by ---------------- */

.PoweredBy {
	clear:both;
	text-align:center;
}

.PoweredBy img {
	padding-left: 6px;
	vertical-align:middle;
}


/* feeds */
.forum-feeds {
	float:right;
	margin-left:10px;
	background:#e1e6e9;
	padding:2px 5px;
	font-size:90%;
	color:#666;
}

/* add-message-table */
.add-message-table .label {
	padding:8px 5px 5px 0;
	white-space: nowrap;
}
.add-message-table .value {
	padding:5px 0;
	width:100%;
}
.add-message-table .PostViewMainDescription {
	padding:10px 0;
	background:none;
	border:none;
}
.buttonMed {
	background:url('../category_files/common/button_gr.gif') #bebebe repeat-x;
}
.buttonMedSubmit {
	color:#2d540e;
}
.buttonMedReset {
	font-weight:normal;
}
.buttonMedPreview {
	font-weight:normal;
}
.add-message-table .topic-name {
	font-size:130%;
	width:100%;
}
.add-message-table  .forumline {
	padding:5px;
	background:#f0f0f0;
	//width:100%;
}
.add-message-table .forumline .buttons {	padding:1px 0;}
.add-message-table .forumline .selects { margin:5px 0;}
.add-message-table .forumline .selects .selectitem { margin-right:5px; white-space:nowrap; }
.add-message-table .forumline .selects .selectitem select { font-size:80%; }
.add-message-table .forumline .tooltip {margin-top:5px;}
.add-message-table .forumline .tooltip input {
	background:transparent;
	border:none;
	color:#646a5c;
}
.add-message-table .message-textarea textarea {
	width:100% !important;
	font-size:100%;
}
.add-message-table .post {
	
}

.topics-table-layer {
	margin-bottom:1em;
}
.topic-table-layer {
	border-bottom:1px solid #e6e7e8;
	margin-bottom:1em;
}

.postbody { padding:10px; display:block; }

h1.topic-title,
h1.forum-title { margin-top:0; }

.forum-description { color:#666; font-size:90%; margin:0.3em 0; }
.forum-moder-ico { font-size:85%; margin:0 5px; background:#e4f2f8; padding:1px 5px; color:#4292b8; }
.forum-premoderated-ico { vertical-align:middle; margin:0 5px; }
.moderator-forums-list { margin:1em 0; padding:0; }
.moderator-forums-list li { margin:0.5em 0; list-style-type:none; }

.wait-moderation { font-style:italic; color:#543700;}
.wait-moderation span { font-size:70%; font-style:italic; color:#543700;}

.add-remarks li{
	list-style-type:none;
	margin-bottom:0.5em;
}
.add-remarks select,
.add-remarks textarea {
	width:50%;
}

a img {
    border: none;
}