/* 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: #000;
    background:#fff;
	font-size: 10px;
	margin: 0;
	padding: 0;
    background-position:top right;
    background-repeat: repeat;
    background-attachment:fixed;
	z-index: -999;	
}

#adv_fon {
    top: 0;
    left:0;
    display: inline;
    width: 100%;
    height: 100%;
    position: fixed;
    cursor: pointer;
    text-decoration: none;
}


#body-simple {
	background: #fff;
	padding: 5px;
}

/* Misc stuff */
img {
	border: none;
}

.gen {
	margin: 1px 1px;
	font-size: 1em;
}

.genmed {
	margin: 1px 1px;
	font-size: 1.1em;
}

.gensmall {
	margin: 1px 1px;
	font-size: 1em;
}

.page {
	margin: 1px 1px;
	font-size: 1.2em;
}

.titles {
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.3em;
	text-decoration: none;
}

.error, table td .error {
	color: #F45200;
}

.spacer {
	color: #D1F4D1; 
	background: #ffffff;
	border-left: solid 1px #f3ffd2;
	border-right: solid 1px #f3ffd2;
	border-top: solid 1px #f3ffd2;
	border-bottom: solid 1px #f3ffd2;
	padding: 1px;
}

hr	{ height: 0px; border: solid #BBE7BE 0px; border-top-width: 1px;}

.pagination {
	padding: 4px;
	font-size: 1em;
	font-weight: bold;
}

/* Links
 ------------ */
a {
	color: #29B435;
	text-decoration: underline;
}

a:active,
a:visited {
	color: #29B435;
	text-decoration: underline;
}

a:hover {
	color: #F45200;
	text-decoration: underline;
}

a.forumlink {
	font-weight: bold;
	font-family: Verdana;
	font-size: 1.5em;
}

a.topictitle {
	margin: 1px 0px;
	font-family: Verdana;
	font-weight: bold;
	font-size: 1.4em;
}

.topictitle {
	margin: 1px 0px;
	font-family: Verdana;
	font-weight: bold;
	font-size: 1.4em;
}

a.topictitle, .postbody a {
	color: #29B435;
}
a.topictitle:visited, .postbody a:visited {
	color: #42A64B;
}
a.topictitle:visited:hover, .postbody a:visited:hover {
	color: #F45200;
}
a.topictitle:hover, .postbody a:hover {
	color: #F45200;
}

/* Header and logo */

#wrapheader {
	height: auto !important;
	padding: 80px 0px 90px;
	max-width: 1740px;
	margin: 0 auto;
}

#header {
    color:#9c0;
    font:bold 16px "Century Gothic", Arial;
	background:#fff;
	margin: 0 0 0 0;
	padding: 10px 0 0 20px;
	width: 665px;
	height:142px;
	position:relative;
}

#header h3{
    color:#9c0;
	font-size: 1em;
}

#header h1{
    color:#9c0;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 1em;
}

#logo a {
	color:#111;
	font:bold 22px "Century Gothic", Arial;
	text-transform:uppercase;
	text-decoration: none;
	padding-left:0px;
}

#logo a:hover {
	color:#9c0;
}

#topnav {
	font: normal 13px Arial, 黑体, sans-serif;
	position:absolute;
	left: 0px;
	bottom:20px;
}
#topnav a {
	float:left;
	padding:5px 10px;
	display:block;
	background:#fff;
	border:1px solid #d3d3d3;
	margin-left:20px;
	color:#111;
	text-decoration: none;
}
#topnav a:hover {
	background:#9c0;
	color:#fff;
	text-decoration: none;
}

#banner {
	position:absolute;
	right:5px;
	bottom:40px;
    width:500px;
	height:100px;
}



.pm-notify-new, .pm-notify-unread {
	border-left: solid 1px #80D787;
	border-right: solid 1px #6FD078;
	border-top: solid 1px #80D787;
	border-bottom: solid 1px #6FD078;
	background: #EBF8EB url(images/cell.gif) top left repeat-x;
	margin: 10px 0;
	padding: 10px;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
}
.pm-notify-new a, .pm-notify-new a:visited, .pm-notify-unread a, .pm-notify-unread a:visited { text-decoration: underline; }
.pm-notify-header {
	margin-bottom: 10px;
	color: #F45200;
}
.pm-notify-new { padding: 30px; }

/* Navigation buttons */
.navrow {
	background: #9ACD32; 
	height: 18px;
	overflow: hidden;
	color: #CAEACD;
	text-align: center;
	font-size: 11px;
	padding-top: 8px;
}
/* * html .navrow { padding: 0; } */
.navrow b, .navrow strong { font-weight: normal; }
.navrow a, .navrow a:visited {
	color: #fff;
	text-decoration: none;
	padding-left: 5px;
	padding-right: 5px;
}
.navrow a:hover { 
	color: #fff; 
	text-decoration: underline; 
}

a.link-new, a.link-new:visited { color: #F45200; }
a.link-new:hover, a.link-new:visited:hover { color: #BB511B; }

/* Content and tables */
#content {
	background:#fff;
	min-width: 755px;
	width: 100%;
	position:relative;
}
#maintable {
    border: solid 2px #9c0;
    margin: 0 auto;
}
#contentrow {
	padding: 8px;
}

.tablebg {
	border: solid 1px #B2E4B5; 
	background: #EBF8EB url(images/cell.gif) top left repeat-x;
}
.block-start .tablebg { 
    border-top-width: 0; 
    border-bottom-width: 0; 
    border-color: #B2E4B5;
    border-right-color: #EDF9EE;
}

.row1, .row2, .row3, .legend, .forumrules, tr.row1 .row, tr.row2 .row, tr.row3 .row, .postbottom {
	border-left: solid 1px #eeffbf;
	border-right: solid 1px #eeffbf;
	border-top: solid 1px #eeffbf;
	border-bottom: solid 1px #eeffbf;
	background: #ffffff;
	padding: 4px;
}
th {
	color: #F8F8FF; 
	font-size: 11px; 
	font-weight: bold;
	background: #9ACD32;
	white-space: nowrap;
	padding: 0 5px;
	text-align: center;
	height: 26px;
	border-left: solid 1px #9c0;
	border-right: solid 1px #9c0;
	border-top: solid 1px #9c0;
	border-bottom: solid 1px #9c0;
}
th a, th a:visited {
	color: #D1F4D1 !important;
	text-decoration: underline;
}
th a:hover {
	color: #EFF8EF;
	text-decoration: underline;
}

td {
	padding: 2px;
}
td.profile {
	padding: 4px;
}
.catdiv, .cat, .cathead {
	height: 24px;
	padding: 0 3px;
	border-left: solid 1px #F4FBF4;
	border-right: solid 1px #BBE7BE;
	border-top: solid 1px #F4FBF4;
	border-bottom: solid 1px #BBE7BE;
	background: #F8F8FF;
}

.cat, .cathead {
	text-indent: 4px;
}

/* Table header */
caption, .cap-div { 
	margin: 0; 
	padding: 0;
	background: #eeffbf;
	white-space: nowrap;
	height: 27px;
	text-align: left;
}
.cap-left {
	background: url(images/hdr_left.gif) top left no-repeat;
}
.cap-right {
	background: url(images/hdr_right.gif) top right no-repeat;
	padding-top: 6px;
	padding-left: 29px;
	height: 21px;
}
caption, caption h1, caption h2, caption h3, caption h4, caption span,
.cap-div, .cap-div h1, .cap-div h2, .cap-div h3, .cap-div h4, .cap-div span { 
	font-size: 12px;
	font-weight: bold;
	color: #9c0;
}
caption h1, caption h2, caption h3, caption h4, caption span,
.cap-div h1, .cap-div h2, .cap-div h3, .cap-div h4, .cap-div span { 
	display: inline;
}
caption a, caption a:visited, .cap-div a, .cap-div a:visited {
	color: #29B435;
	text-decoration: underline;
}
caption a:hover, .cap-div a:hover {
	color: #F45200;
	text-decoration: underline;
}

.block-start { background: #eeffbf; }
.block-end-left { background: #eeffbf; }
.block-end-right { background: #eeffbf; }
.block-end-left, .block-end-right { height: 4px; overflow: hidden; padding: 0; }

/* Footer */
#wrapfooter {
	text-align: center;
	padding-top: 10px;
	font-size: 1.2em;
}

.copyright {
	color: #84D58B;
	font-weight: normal;
	font-size: 10px;
	line-height: 1.2em;
}
.copyright a, .copyright a:visited {
	color: #84D58B;
	text-decoration: underline;
}
.copyright a:hover { color: #29B435; }


/* Breadcrumbs */
.breadcrumb .row1 { 
    border-width: 1px 0 0 1px;    
}
p.breadcrumbs {
	margin: 0;
	padding: 0;
	float: left;
	color: #8DCD93;
	font-weight: bold;
	white-space: normal;
	font-size: 1.1em;
}
.rtl p.breadcrumbs {
	float: right;
}

p.datetime {
	margin: 0;
	padding: 0;
	float: right;
	white-space: nowrap;
	font-size: 1em;
}

.rtl p.datetime {
	float: left;
}

/* Index/viewforum */
.subforum.read { 
	background: url(images/sub_old.gif) top left no-repeat;
	padding-left: 12px;
}
.subforum.unread { 
	background: url(images/sub_new.gif) top left no-repeat;
	padding-left: 12px;
}
.legend {
	text-align: center;
	margin: 0 auto;
	padding: 2px;
	border-top-color: #B2E4B5;
	border-left-color: #B2E4B5;
}
.legend-viewforum { 
	margin: 0; 
	text-align: left; 
	border-top-color: #B2E4B5;
	border-left-color: #B2E4B5;
}

.forumrules {
	padding: 4px;
	font-weight: normal;
	font-size: 1.1em;
	border-left: solid 1px #C1E9C4;
	border-right: solid 1px #BBE7BE;
	border-top: solid 1px #C1E9C4;
	border-bottom: solid 1px #BBE7BE;
	background: #fff;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}
.forumrules h3 {
	color: #F45200;
}

/* Post */
.postsubject {
	font-size: 10px;
	font-weight: normal;
	color: #29B435;
}
td.postbottom { 
	background: #eeffbf; 
	font-size: 10px;
	color: #929F93;
	padding: 2px 4px;
	vertical-align: middle;
	border-left: solid 1px #fff;
	border-right: solid 1px #fff;
	border-top: solid 1px #fff;
	border-bottom: solid 1px #fff;
}
td.postbuttons { padding-top: 3px; }
.postdetails { 
	color: #444;
	font-size: 10px; 
	text-align: left;
}
.postdetails b {
	color: #444;
}
.posterrank		{ font-size: 9px; color: #444; }
.posterprofile	{ font-size: 10px; color: #29B435; }

.postauthor {
	color: #29B435;
	font-size: 12px;
	margin-bottom: 3px;
	font-weight: bold;
}
.postonline { margin-bottom: 2px; }

.postreported, .postreported a:visited, .postreported a:hover, .postreported a, .postreported a:active {
	margin: 1px 0px;
	color: #F45200;
	font-weight: bold;
}

.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a, .postapprove a:active {
	color: #00FF00;
	font-weight: bold;
}

.postapprove img, .postreported img {
	vertical-align: bottom;
}

.postbody {
	font-size: 1.4em;
	line-height: 1.4em;
	margin: 10px 0;
}
.signature {
	font-size: 11px;
	color: #666;
	margin-top: 5px;
}
.signature .line { color: #B4BFB7; }

.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: #B3C1B4;
	color: #000;
}

.postbody a { text-decoration: underline; }

/* UCP */
.folder-current a, .folder-current a:visited {
	color: #F45200;
	font-weight: bold;
}
.folder-current a:hover { color: #F45200; }

td.pm_marked_colour { background: #F45200; }
td.pm_marked_colour_left { border-left: solid 3px #F45200; padding-left: 2px; }
td.pm_marked_colour_right { border-right: solid 3px #F45200; padding-right: 2px; }

td.pm_replied_colour { background: #29B435; }
td.pm_replied_colour_left { border-left: solid 3px #29B435; padding-left: 2px; }
td.pm_replied_colour_right { border-right: solid 3px #29B435; padding-right: 2px; }

td.pm_friend_colour { background: #007700; }
td.pm_friend_colour_left { border-left: solid 3px #007700; padding-left: 2px; }
td.pm_friend_colour_right { border-right: solid 3px #007700; padding-right: 2px; }

td.pm_foe_colour { background: #DD3000; }
td.pm_foe_colour_left { border-left: solid 3px #DD3000; padding-left: 2px; }
td.pm_foe_colour_right { border-right: solid 3px #DD3000; padding-right: 2px; }


/* Form Elements
 ------------ */
form {
	margin: 0px;
	padding: 0px;
	border: 0px;
}

textarea, select, .post, .btnbbcode, .btnmain, .btnlite, .btnfile, .helpline {
	font-weight: normal;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	color: #444;
	border: 1px solid #9c0;
	background-color: #eeffbf;
}
.cat .btnmain, .cat .btnlite, .cat select {
    color: #444;
    background-color: #fff;
    border-color: #9c0;
}

input {
	font-size: 1.1em;
	padding: 1px;
}
textarea {
	font-size: 1.3em; 
	line-height: 1.4em;
	padding: 2px;
}
select {
	font-size: 1.1em;
	padding: 1px;
}

option {
	padding: 0 1em 0 0;
}

.rtl option {
	padding: 0 0 0 1em;
}

.post {
	border-style: solid;
	border-width: 1px;
}

.btnbbcode {
	font-size: 1.1em;
	color: #29B435;
	border: 1px solid #9c0;
	background-color: #fff;
}
.btnbbcode:hover {
	border-color: #7AD180;
	color: #000;
}

.btnmain {
	font-weight: bold;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnlite {
	font-weight: normal;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnfile {
	font-weight: normal;
	padding: 1px 5px;
	font-size: 1.1em;
}

.helpline {
	background-color: transparent;
	color: #68CF71;
	border-style: none;
}
#helpline { color: #68CF71; }

* html textarea, * html select, * html .post, * html .btnmain, * html .btnlite, * html .btnfile {
}
* html .cat .btnmain, * html .cat .btnlite {
}
textarea:hover, select:hover, .post:hover, .btnmain:hover, .btnlite:hover, .btnfile:hover {
	border-color: #58C561;
}
textarea:focus, select:focus, .post:focus, .btnmain:focus, .btnlite:focus, .btnfile:focus {
	border-color: #53C45C; 
	color: #000;
	background-color: #fff;
}
.cat .btnmain:hover, .cat .btnlite:hover, .cat select:hover {
    border-color: #53C45C;
}
.cat .btnmain:focus, .cat .btnlite:focus, .cat select:focus {
    border-color: #53C45C;
    color: #000;
}

label:hover { 
	color: #F45200; 
}

textarea.posting-textarea, #ie8#fix {
    width: 98%;
}

/* BBCode
 ------------ */
.bb-wrapper {
	clear: both;
	margin: 10px 20px;
}
.bb-wrapper .bb-wrapper {
	margin: 5px 10px;
}
.bb-left-top, .bb-right-top, .bb-left-bot, .bb-right-bot {
    width: 4px;
    height: 4px;
    overflow: hidden;
    padding: 0;
}
.bb-left-top { background: url(images/bb_left_top.gif) top left no-repeat; }
.bb-right-top { background: url(images/bb_right_top.gif) top right no-repeat; }
.bb-left-bot { background: url(images/bb_left_bot.gif) bottom left no-repeat; }
.bb-right-bot { background: url(images/bb_right_bot.gif) bottom right no-repeat; }
.bb-top, .bb-bot {
    height: 4px;
    overflow: hidden;
    padding: 0;
}
.bb-top { background: #fff url(images/bb_top.gif) top left repeat-x; }
.bb-bot { background: #fff url(images/bb_bot.gif) bottom left repeat-x; }
.bb-left, .bb-right {
    width: 4px;
    overflow: hidden;
    background-color: #fff;
    padding: 0;
}
.bb-left { border-left: solid 1px #CBE8CE; }
.bb-right { border-right: solid 1px #CBE8CE; }
.bb-content {
    background-color: #fff;
    padding: 0 2px;
}
.bb-quote { 
    background-image: url(images/bg_quote.gif);
    background-repeat: no-repeat;
    background-position: top right;
}
.bb-code { 
    background-image: url(images/bg_code.gif);
    background-repeat: no-repeat;
    background-position: top right;
}
.bb-attach { 
    background-image: url(images/bg_attach.gif);
    background-repeat: no-repeat;
    background-position: top right;
}
  
 
.quotetitle, .attachtitle, .codetitle {
	color: #29B435;
	font-size: 0.85em;
	font-weight: bold;
	padding-bottom: 3px;
}
.quotetitle .quotetitle {
	font-size: 1em;
}

.quotecontent, .attachcontent {
	font-weight: normal;
	font-size: 0.85em;
	line-height: 1.4em;
/*	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif; */
	color: #444;
}
.attachcontent {
	font-size: 0.85em;
}

.codecontent {
	direction: ltr;
	font-weight: normal;
	font-size: 11px;
	font-family: Monaco, 'Courier New', monospace;
	color: #444;
}

.attachcontent, .codecontent {
	overflow: auto;
	overflow-x: auto;
}

.syntaxbg {
	color: #F0F5F1;
}

.syntaxcomment {
	color: #29B435;
}

.syntaxdefault {
	color: #444;
}

.syntaxhtml {
	color: #687869;
}

.syntaxkeyword {
	color: #457549;
}

.syntaxstring {
	color: #637865;
}


/* More misc stuff */
h1 {
	font-family: Verdana;
	font-weight: bold;
	font-size: 1.4em;
	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: 0px;
	font-size: 1.1em;
	font-weight: bold;
}

p {
	font-size: 1.1em;
}

p.moderators {
	margin: 0px;
	float: left;
	color: #29B435;
	font-weight: bold;
}

.rtl p.moderators {
	float: right;
}

p.linkmcp {
	margin: 0px;
	float: right;
	white-space: nowrap;
}

.rtl p.linkmcp {
	float: left;
}

p.searchbar {
	padding: 2px 0;
	white-space: nowrap;
} 

p.searchbarreg {
	margin: 0px;
	float: right;
	white-space: nowrap;
}

.rtl p.searchbarreg {
	float: left;
}

p.forumdesc {
	padding-bottom: 4px;
}

p.topicauthor {
	margin: 1px 0px;
}

p.topicdetails {
	margin: 1px 0px;
}
td.history-current, tr.row1 td.history-current, tr.row2 td.history-current {
	background: #fff;
}

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;
}

.sep {
	color: #29B435;
}


/* reset style for file input */
.btnfile, .btnfile:hover, .btnfile:focus { 
    border: none; 
    background-color: #FFF;
    color: #000;
}


 
@media screen and (max-width: 600px) {
    .yandex-adaptive {
        width:320px;
        height:50px;
    }
}
 
@media screen and (max-width: 1200px) {
    .yandex-adaptive {
        width:468px;
        height:60px;
    }
}

