.gallery-icon, .gallery-icon a		{ background: none top left no-repeat; }
ul.profile-icons li.gallery-icon	{ width: 20px; height: 20px; }
.gallery-icon, .gallery-icon a		{ background-image: url("{T_IMAGESET_PATH}/icon_contact_gallery.gif"); }

.buttons div.upload-icon	{ width: {IMG_BUTTON_UPLOAD_IMAGE_WIDTH}px; height: {IMG_BUTTON_UPLOAD_IMAGE_HEIGHT}px; }
.upload-icon span	{ background-image: url("{IMG_BUTTON_UPLOAD_IMAGE_SRC}"); }

.icon-gallery {
	background-position: 0 50%;
	background-repeat: no-repeat;
	padding: 1px 0 0 17px;
	background-image: url("{T_THEME_PATH}/images/icon_gallery.gif");
}

dd.g_lastimage {
	padding-left: 5px;
	width: 30%;
}

dd.g_moderation {
	width: 35%;
}

dd.g_rating, dd.g_comments {
	width: 12%;
	text-align: center;
	font-size: 1.1em;
}

dd.g_status {
	width: 15%;
	text-align: center;
	font-size: 1.1em;
}

span.reported-images-number {
	color: red;
}

.g_unapproved {
	background-position: 100% 0;
	background-repeat: no-repeat;
	background-image: url("{T_IMAGESET_PATH}/icon_gallery_unapproved.gif");
}

.g_locked {
	background-position: 100% 0;
	background-repeat: no-repeat;
	background-image: url("{T_IMAGESET_PATH}/icon_gallery_locked.gif");
}

.g_reported {
	background-position: 100% 0;
	background-repeat: no-repeat;
	background-image: url("{T_IMAGESET_PATH}/icon_gallery_reported.gif");
}
/*  	
--------------------------------------------------------------
Mods for medals.css X
-------------------------------------------------------------- */
.approve-icon, .approve-icon a	{ background: none top left no-repeat; }
.approve-icon, .approve-icon a	{ background-image: url("{IMG_ICON_POST_APPROVE_SRC}"); }
ul.approve-icons, li.approve-icon { width: {IMG_ICON_POST_APPROVE_WIDTH}px; height: {IMG_ICON_POST_APPROVE_HEIGHT}px; }

/* Icon images
---------------------------------------- */
.icon-medal {
	background-position: 0 50%;
	background-repeat: no-repeat;
	background-image: none;
	padding: 1px 0 0 17px;
}
.icon-medal	{ background-image: url("{T_THEME_PATH}/images/icon_medal.gif"); }
.rtl .icon-medal {
	background-position: 100% 50%;
	padding: 1px 17px 0 0;
}
/* CSS for the Knowledge Base */
textarea.desc {
	width: 40%;
}

/* Rating styles */
.star-rating
{
	list-style:none;
	margin-left:5px!important;
	padding:0px;
	width: 150px;
	height: 25px;
	position: relative;
	background: url("{T_THEME_PATH}/images/rate_star.gif") top left repeat-x;		
}

.star-rating li
{
	padding:0px;
	margin:0px;
	/*\*/
	float: left;
	/* */
}

.star-rating li a
{
	display:block;
	width:25px;
	height: 25px;
	text-decoration: none;
	text-indent: -9000px;
	z-index: 20;
	position: absolute;
	padding: 0px;
}

.star-rating li a:hover
{
	background: url("{T_THEME_PATH}/images/rate_star.gif") left bottom;
	z-index: 2;
	left: 0px;
}

.star-rating a.one-star
{
	left: 0px;
}

.star-rating a.one-star:hover
{
	width:25px;
}

.star-rating a.two-stars
{
	left:25px;
}

.star-rating a.two-stars:hover
{
	
	width: 50px;
}

.star-rating a.three-stars
{
	left: 50px;
}

.star-rating a.three-stars:hover
{
	width: 75px;
}

.star-rating a.four-stars
{
	left: 75px;
}	

.star-rating a.four-stars:hover
{
	width: 100px;
}

.star-rating a.five-stars
{
	left: 100px;
}

.star-rating a.five-stars:hover
{
	width: 125px;
}

.star-rating a.six-stars
{
	left: 125px;
}

.star-rating a.six-stars:hover
{
	width: 150px;
}

.star-rating li.current-rating
{
	background: url("{T_THEME_PATH}/images/rate_star.gif") left center;
	position: absolute;
	height: 25px;
	display: block;
	text-indent: -9000px;
	z-index: 1;
}

/**
* Left menu
*/
#left_menu {
	vertical-align: top;
}

.left_menu_title {
	font-weight: bold;
	font-size: 11px;
	text-align: center;
	padding: 1px 0 5px 0;
}

.cat_menu_title {
	font-weight: bold;
	font-size: 11px;
	text-align: left;
	padding: 1px 0 5px 0;
}

#kb_searchform {
	color: #FFFFFF;
	margin-top: 5px;
	white-space: nowrap;
}

/* MCP Specific tweaks */
.mcp-main .kb-mcp-postbody {
	width: 76%;
}

.addthis_toolbox .custom_images a
{
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
}

.addthis_toolbox .custom_images a:hover img
{
    opacity: 1;
}

.addthis_toolbox .custom_images a img
{
    opacity: 0.75;
}

.article-icon span		{ background: transparent none 0 0 no-repeat; }
.buttons div.article-icon		{ width: {IMG_BUTTON_ARTICLE_NEW_WIDTH}px; height: {IMG_BUTTON_ARTICLE_NEW_HEIGHT}px; }
.article-icon span		{ background-image: url("{IMG_BUTTON_ARTICLE_NEW_SRC}"); }

.comment-icon span		{ background: transparent none 0 0 no-repeat; }
.buttons div.comment-icon		{ width: {IMG_BUTTON_COMMENT_NEW_WIDTH}px; height: {IMG_BUTTON_COMMENT_NEW_HEIGHT}px; }
.comment-icon span		{ background-image: url("{IMG_BUTTON_COMMENT_NEW_SRC}"); }
/* Hide block */
dl.hidebox {
	padding: 3px;
	background-color: #FFFFFF;
	border: 1px solid #d8d8d8;
	font-size: 1em;
}
/* Hide block */
div.adapthide {
        border: 1px dashed #000099;
        background-color: #FFFFFF;
        margin: 0px 10px 5px 10px;
        padding: 5px 5px 5px 5px;
        font-size: 12px;
}

dl.hidebox dt {
	text-transform: uppercase;
	border-bottom: 1px solid #CCCCCC;
	margin-bottom: 3px;
	font-size: 0.8em;
	font-weight: bold;
	display: block;
}

dt.unhide {
	color: #339900;
}

dt.hide {
	color: #990000;
}

blockquote dl.hidebox {
	margin-left: 0;
}
/* Layout
 ------------ */
* {
	/* Reset browsers default margin, padding and font sizes */
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
}

body {
	/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	color: #323D4F;
	background-color: #FFFFFF;
	font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */
	margin: 0;
}

#wrapheader {
	min-height: 120px;
	height: auto !important;
	height: 120px;
/*	background-image: url('./images/background.gif');
	background-repeat: repeat-x;*/
/*	padding: 0 25px 15px 25px;*/
	padding: 0;
}

#wrapcentre {
	margin: 15px 13px 0 13px;
}

#wrapfooter {
	text-align: center;
	clear: both;
}

#wrapnav {
	width: 100%;
	margin: 0;
	background-color: #f0ede6;
	border-width: 1px;
	border-style: solid;
	border-color: #a9a9a9;
}

#logodesc {
	margin-bottom: 5px;
	padding: 5px 25px;
	background: #D9DFE4;
	border-bottom: 1px solid #4787A7;
}

#menubar {
	margin: 0 25px;
}

#datebar {
	margin: 10px 25px 0 25px;
}

#findbar {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

.forumrules {
	background-color: #F9CC79;
	border-width: 1px;
	border-style: solid;
	border-color: #BB9860;
	padding: 4px;
	font-weight: normal;
	font-size: 1.1em;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

.forumrules h3 {
	color: red;
}

#pageheader { }
#pagecontent { }
#pagefooter { }

#poll { }
#postrow { }
#postdata { }


/*  Text
 --------------------- */
h1 {
	color: black;
	font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
	font-weight: bold;
	font-size: 1.8em;
	text-decoration: none;
}

h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.5em;
	text-decoration: none;
	line-height: 120%;
}

h3 {
	font-size: 1.3em;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 120%;
}

h4 {
	margin: 0;
	font-size: 1.1em;
	font-weight: bold;
}

p {
	font-size: 1.1em;
}

p.moderators {
	margin: 0;
	float: left;
	color: black;
	font-weight: bold;
}

.rtl p.moderators {
	float: right;
}

p.linkmcp {
	margin: 0;
	float: right;
	white-space: nowrap;
}

.rtl p.linkmcp {
	float: left;
}

p.breadcrumbs {
	margin: 0;
	float: left;
	color: black;
	font-weight: bold;
	white-space: normal;
	font-size: 1em;
}

.rtl p.breadcrumbs {
	float: right;
}

p.datetime {
	margin: 0;
	float: right;
	white-space: nowrap;
	font-size: 1em;
}

.rtl p.datetime {
	float: left;
}

p.searchbar {
	padding: 2px 0;
	white-space: nowrap;
}

p.searchbarreg {
	margin: 0;
	float: right;
	white-space: nowrap;
}

.rtl p.searchbarreg {
	float: left;
}

p.forumdesc {
	padding-bottom: 4px;
}

p.topicauthor {
	margin: 1px 0;
}

p.topicdetails {
	margin: 1px 0;
}

.postreported, .postreported a:visited, .postreported a:hover, .postreported a:link, .postreported a:active {
	margin: 1px 0;
	color: red;
	font-weight:bold;
}

.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a:link, .postapprove a:active {
	color: green;
	font-weight:bold;
}

.postapprove img, .postreported img {
	vertical-align: bottom;
}

.postauthor {
	color: #000000;
}

.postdetails {
	color: #000000;
}

.postbody {
	font-size: 1.3em;
	line-height: 1.4em;
	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
}

.postbody li, ol, ul {
	margin: 0 0 0 1.5em;
}

.rtl .postbody li, .rtl ol, .rtl ul {
	margin: 0 1.5em 0 0;
}

.posthilit {
	background-color: yellow;
}

.nav {
	margin: 0;
	color: black;
	font-weight: bold;
}

.pagination {
	padding: 4px;
	color: black;
	font-size: 1em;
	font-weight: bold;
}

.cattitle {

}

.gen {
	margin: 1px 1px;
	font-size: 1.2em;
}

.genmed {
	margin: 1px 1px;
	font-size: 1.1em;
}

.gensmall {
	margin: 1px 1px;
	font-size: 1em;
}

.copyright {
	color: #444;
	font-weight: normal;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

.titles {
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.3em;
	text-decoration: none;
}

.error {
	color: red;
}


/* Tables
 ------------ */
th {
	color: #FFFFFF;
	font-size: 0.9em;
	font-weight: bold;
	background-color: #646464;
	background-image: url('./images/cellpic3.gif');
	white-space: nowrap;
	padding: 7px 5px;
}

td {
	padding: 2px;
}
td.profile {
	padding: 4px;
}

.tablebg {
	background-color: #a9a9a9;
}

.catdiv {
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background: white url('./images/cellpic2.jpg') repeat-y scroll top left;
}
.rtl .catdiv {
	background: white url('./images/cellpic2_rtl.jpg') repeat-y scroll top right;
}

.cat {
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: #C7D0D7;
	background-image: url('./images/cellpic1.gif');
	text-indent: 4px;
    text-align:center;
    overflow:hide;
}

.row1 {
	background-color: #f0ede6;
	padding: 4px;
}

.row2 {
	background-color: #f0ede6;
	padding: 4px;
}

.row3 {
	background-color: #C0C8D0;
	padding: 4px;
}

.spacer {
	background-color: #D1D7DC;
}

hr {
	height: 1px;
	border-width: 0;
	background-color: #D1D7DC;
	color: #D1D7DC;
}

.legend {
	text-align:center;
	margin: 0 auto;
}

/* Links
 ------------ */
a:link {
	color: #646464;
	text-decoration: none;
}

a:active,
a:visited {
	color: #111111;
	text-decoration: none;
}

a:hover {
	color: #111111;
	text-decoration: underline;
}

a.forumlink {
	color: #333;
	font-weight: bold;
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-size: 1.2em;
}

a.topictitle {
	margin: 1px 0;
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.2em;
}

a.topictitle:visited {
	color: #646464;
	text-decoration: none;
}

th a,
th a:visited {
	color: #ff5a4f !important;
	text-decoration: none;
}

th a:hover {
	text-decoration: underline;
}


a.subforum {
   background-image: none;
   background-position: 0 50%;
   background-repeat: no-repeat;
   position: relative;
   white-space: nowrap;
   padding: 0 0 0 12px;
}

a.subforum.read {
   background-image: url("/styles/RedSilver/imageset/icon_post_target.gif");
}

a.subforum.unread {
   background-image: url("/styles/RedSilver/imageset/icon_subforum_unread.gif");
}


/* Form Elements
 ------------ */
form {
	margin: 0;
	padding: 0;
	border: 0;
}

input {
	color: #333333;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	padding: 1px;
	border: 1px solid #a9a9a9;
	background-color: #FAFAFA;
}

textarea {
	background-color: #FAFAFA;
	color: #333333;
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	font-size: 1.3em;
	line-height: 1.4em;
	font-weight: normal;
	border: 1px solid #a9a9a9;
	padding: 2px;
}

select {
	color: #333333;
	background-color: #FAFAFA;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	border: 1px solid #a9a9a9;
	padding: 1px;
}

option {
	padding: 0 1em 0 0;
}

option.disabled-option {
	color: graytext;
}

.rtl option {
	padding: 0 0 0 1em;
}

input.radio {
	border: none;
	background-color: transparent;
}

.post {
	background-color: white;
	border-style: solid;
	border-width: 1px;
}

.btnbbcode {
	color: #000000;
	font-weight: normal;
	font-size: 1.1em;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	background-color: #EFEFEF;
	border: 1px solid #666666;
}

.btnmain {
	font-weight: bold;
	background-color: #f0ede6;
	border: 1px solid #a9a9a9;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnlite {
	font-weight: normal;
	background-color: #f0ede6;
	border: 1px solid #a9a9a9;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnfile {
	font-weight: normal;
	background-color: #f0ede6;
	border: 1px solid #a9a9a9;
	padding: 1px 5px;
	font-size: 1.1em;
}

.helpline {
	background-color: #DEE3E7;
	border-style: none;
}


/* BBCode
 ------------ */
.quotetitle, .attachtitle {
	margin: 10px 5px 0 5px;
	padding: 4px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-color: #a9a9a9;
	color: #333333;
	background-color: #a9a9a9;
	font-size: 0.85em;
	font-weight: bold;
}

.quotetitle .quotetitle {
	font-size: 1em;
}

.quotecontent, .attachcontent {
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #a9a9a9;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	font-size: 1em;
	line-height: 1.4em;
	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
	background-color: #FAFAFA;
	color: #4B5C77;
}

.attachcontent {
	font-size: 0.85em;
}

.codetitle {
	margin: 10px 5px 0 5px;
	padding: 2px 4px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-color: #a9a9a9;
	color: #333333;
	background-color: #a9a9a9;
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	font-size: 0.8em;
}

.codecontent {
	direction: ltr;
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #a9a9a9;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	color: #006600;
	font-size: 0.85em;
	font-family: Monaco, 'Courier New', monospace;
	background-color: #FAFAFA;
}

.syntaxbg {
	color: #FFFFFF;
}

.syntaxcomment {
	color: #FF8000;
}

.syntaxdefault {
	color: #0000BB;
}

.syntaxhtml {
	color: #000000;
}

.syntaxkeyword {
	color: #007700;
}

.syntaxstring {
	color: #DD0000;
}


/* Private messages
 ------------------ */
.pm_marked_colour {
	background-color: #000000;
}

.pm_replied_colour {
	background-color: #a9a9a9;
}

.pm_friend_colour {
	background-color: #007700;
}

.pm_foe_colour {
	background-color: #DD0000;
}


/* Misc
 ------------ */
img {
	border: none;
}

.sep {
	color: black;
	background-color: #FFFFFF;
}

table.colortable td {
	padding: 0;
}

pre {
	font-size: 1.1em;
	font-family: Monaco, 'Courier New', monospace;
}

.nowrap {
	white-space: nowrap;
}

.username-coloured {
	font-weight: bold;
}

#menu_bkg a {
	color: #646464;
	font-weight: bold;
}

/*  MY MENU  */
.menublock .menubody{
	position: absolute;
	display: none;
	background-color: #f0ede6;
	border: 1px outset #333333;
	z-index: 2;
	margin-left: -11px;
	width: 182px;
}

.menublock:hover .menubody {
	display: block;
}

.menublock .menubody a {
	display: block;
	text-align: left;
	padding: 0 10px;
	padding: 5px 10px 5px 10px;
	line-height: 15px;
}

.menublock .menubody a:hover {
	background-color: /*#E1EBF2*/#efcd96;
}

/* Horizontal lists
----------------------------------------*/
ul.linklist {
	display: block;
	margin: 0;
}

ul.linklist li {
	display: block;
	list-style-type: none;
	float: left;
	width: auto;
	margin-right: 5px;
	padding-right:10px;
/*	font-size: 1.1em; */
	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 #FFFFFF;*/
	font-weight: bold;
}

ul.leftside {
	float: left;
	margin-left: 0;
	margin-right: 5px;
	text-align: left;
}

ul.rightside {
	float: right;
	margin-left: 5px;
	margin-right: -5px;
	text-align: right;
}

/* Менюшка справа на главной */
.catdiv_menu {
    height: 28px;
    margin: 0;
    border: 0;
    background: white url('./images/cellpic2_rtl_2.jpg') repeat-y scroll top right;
    font-weight: bold;
    font-size:110%;
    text-align: center;
}

.right_menu_spacer {
    margin: 0;
    padding: 0;
    height: 40px;
}

.row1_menu {
    background-color: #f0ede6;
    padding: 4px;
}

.row2_menu {
    background-color: #f0ede6;
    padding: 4px;
}

.row3_menu {
    background-color: #C0C8D0;
    padding: 4px;
}

.row1_menu ul li, .row2_menu ul li, .row3_menu ul li {margin-top:3px;}

.row_menu_banner_cell {padding-left:0; padding-right:0;}

#countbox { color:#a0522d; font-size:175%; font-weight:bold; text-align:center; font-family:'Monotype Corsiva', fantasy;
}

/* Информер */
#rep5_i{
  padding:0 !important;
  margin:0;
  margin-bottom:10px;
  clear:both;
}
#rep5_i ul{
  padding:0 !important;
  margin:0;
}
#rep5_i li{
  list-style:none;
  margin: 0 0 15px 0 !important;
  padding-left:0 !important;
  clear:both;
}
#rep5_i li img{
  margin:3px 5px 0 0;
  float:left;
}
#rep5_i li a{
  color:black;
  text-decoration:none;
}
#rep5_i li a:hover{
  text-decoration:underline;
}
#rep5_i .reptime{
  display:block;
  font-size:85%;
  color: #666;
}
