/** Reset Styles for Forum Layout **/
#columns #content.content-wide {
	margin:0 ; /* reset 5px left margin */
}

h1, h2, h3, h4, h5, h6, p, ul, ol, li {
	margin:0;
	padding:0;
	border:none;
}

ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}

br {
	line-height:5px;
	height:5px;
	padding:0;
	margin:0;
}

/** End Reset Styles **/


.yafnet {
	font-family: Verdana, Arial, sans-serif;
	font-size:1em;
	color: #666;
}


.yafnet .wrap-grey {
	background:#ededed;
	padding:11px;
}

.yafnet .wrap-white {
	background:#fff;
	padding:11px;
}

.yafnet td {
	font-family: Verdana, Arial, sans-serif;
	font-size: 0.6875em ;
	color: #666;
}

.yafnet td td { font-size:100%; }

.yafnet input,
.yafnet select {
	font-family: Verdana, Arial, sans-serif;
	font-size:100%;
	color: #666;
	background: #FFFFFF;
	border: 1px solid #ccc;
	
}

.yafnet #topbar {
	background:#ededed;
	padding:11px;

}

.yafnet #topbar p {
	margin:15px 0 0 5px;
	font-size:0.6875em;
}

.yafnet #yafheader {
	position:relative ;	
}

.yafnet #yafheader td {
	background:#fff;
	padding:9px;
}

.yafnet .yafPageLink {
	font-size:0.6875em;
	background: #FFFFFF;
	padding:7px 12px ;
	margin:12px 0 ;
}

.yafnet .yafForumWelcome {
	font-size:0.625em;
	text-align:right ;
	margin-bottom:12px;
}

.yafnet #iconLegend {
	margin-top:12px;
}

.yafnet #iconLegend td {	
	padding-right:20px ;
}

.yafnet .icon-rss {
	background:url(feed-icon-14x14.png) no-repeat center left ;
	padding:2px 0 2px 18px;
	height:14px;
}

.yafnet span.icon-rss {
	display:block;
}


.yafnet img {
	border: 0;
}
.yafnet ul {
	margin: 2px 2px 2px 2px;
	padding: 0;
}
.yafnet li {
	margin-left: 15px;
}
.yafnet tr.header1 {	
	background: #666;
	color: #ffffff;
	font-weight: bold;
	padding-left: 10px;
	line-height:1.50em ;
}
.yafnet tr.header1 a {
	color: #ffffff;
	text-decoration: none;
}
.yafnet tr.header1 a:hover {
	color: #eeffee;
	text-decoration: underline;
}	
.yafnet td.header1 {
	background:#666;
	color: #ffffff;
	font-weight: bold;
	padding-left: 10px;
	line-height:1.50em ;
}	
.yafnet .header1Title {
	color: #ffffff;
	padding-left: 10px;	
	font-size: 110%;
}
.yafnet tr.header2 {
	background-color: #e3e3e3;
	color: #55a055;
	font-weight: bold;
}



.yafnet td.header2 {
	background-color: #EDEDED;
	color: #666;
	font-weight: bold;
}



.yafnet table.content td.header2 {
	padding:7px;
	border-top:5px solid #fff;
}

.yafnet a.header2 { height: auto; background-color: Transparent; border-style: none; background-image: none; }
.yafnet td.header2 a { color: #000090; text-decoration: none; }
.yafnet td.header2 a:link { color: #7f7f7f; text-decoration: none; }
.yafnet td.header2 a:visited { color: #7f7f7f; text-decoration: none; }
.yafnet td.header2 a:active { color: #7f7f7f; text-decoration: none; }
.yafnet td.header2 a:hover { color: #7f7f7f; text-decoration: underline; }
.yafnet td.infoTable {
	background-color: #FAFAFA;
	padding: 10px;
	border: 1px solid #F2F2F2;
}
/* all links */
.yafnet .content a			{ color: #006699; text-decoration: none; }
.yafnet .content a:hover	{ color: #006699; text-decoration: underline; }
/* Footer1 - Bottom of tables */
.yafnet .footer1 {
	height: 28px;
}
.yafnet .footer1 select,
.yafnet .footer1 td {
	font-size: 10px;
}
.yafnet .forumheading {
	font-size: 9pt;
	font-weight: bold;
}
.yafnet a.post_link
{
	
	font-weight: bold;
	text-decoration: none;
}
/* Header of posts */
.yafnet .postheader {
	background-color: #EDEDED;
}
.yafnet .postheader a {
	/*font-size: 11pt;*/
	color: Black;	
}
/* User info and post/article */

.yafnet .post_alt {
	background-color: #FaFaFa;
}

.yafnet tr.post_alt:hover {
	background-color: #FFFFFF;	
}

/* Footer of posts */
.yafnet .postfooter {
	background-color: #cdcdcd;
}
/* Area between posts */
.yafnet .postsep {
	background-color: #575757;
	height: 10px;
}
/* most tables are class 'content' */
.yafnet table.content {
	padding: 0px;
	margin: 0px;
	color: #000000;
}
.yafnet .postformheader {
	background-color: #EEEEEE;
	font-weight:bold;
}
.yafnet .fileattach {
	padding: 5px;
	background-color: #eeeeee;
	border: solid 1px #808080;
}
.yafnet .fileattach .filetitle,
.yafnet .fileattach .imgtitle {
	font-weight: bold;
	color: #444444;
	margin-bottom: 5px;
	font-size: 1.1em;
}
.yafnet .fileattach .attachedimg,
.yafnet .fileattach .attachedfile {
	margin-left: 10px;
}
.yafnet .fileattach a {
	font-weight: bold;
}
.yafnet table.content td {
	padding: 5px;
}
.yafnet .content td table td table td {
	padding: 0px;	
}
.yafnet .content .headersub {
	color: #ffffff;
	font-weight: bold;
	padding-left: 10px;
	line-height:1.50em ;
}
/* used for quoting messages */
.yafnet .quote {
	padding-left: 16px;
	margin: 5px;
}
.yafnet .innerquote {
	padding: 4px;
	background-color: #fefefe;
	border: 1px dashed #808080;
}
/* used for code */
.yafnet .code {
	padding-left: 16px;	
	margin: 5px;
}
.yafnet .innercode {
	padding: 4px;
	background-color: #efefef;
	border: solid 1px #808080;
	color: #000000;
	line-height: 1.3em;
	font-family: "courier new", "times new roman", monospace;
    overflow: scroll;
    width: 600px;
	white-space: nowrap;
}
/* font sizes */
.yafnet .smallfont	{ font-size:0.625em; }
.yafnet .largefont	{ /*font-size:0.6875em;*/ }
.yafnet .subforumlink { font-size:90%; }
.yafnet td.subforumlink { font-size:0.6875em; }


/* Image Links */
.yafnet a.imagelink {
	font-weight: bold;
	color: #000000;
}
.yafnet a:hover.imagelink {
	text-decoration: none;
	/*background-color: #D0D0D0;*/
}
/* Used for editor textarea */
.yafnet .posteditor {
	width: 100%;
	height: 200px;
}
/* p-tag at the top of pages with navigation links */
.yafnet .navlinks { font-weight: bold; color: #000000; }
.yafnet .navlinks a { color: #000000; text-decoration: none }
.yafnet .navlinks a:hover {color: #666666; }
/* for printing */
.yafnet table.print {
	border: solid 1px #C0C0C0;
}
.yafnet .printheader {
	background-color: #DDDDDD;
	color: #000000;
	padding: 4px;
}
.yafnet .printbody {
	background-color: #FFFFFF;
	color: #000000;
	padding: 4px;
}
.yafnet .pbutton {
	background-color: #666;
	color: #FFFFFF;
	border: none;
	padding:3px;
	font-weight: bold;
}
.yafnet .textfield {
	background-color: #FFFFFF;
	border: 1px solid #3B3b3b;
	width: 100%;
}
.yafnet .ButtonOut {
	border: #669966 1px solid;
}
.yafnet .ButtonOver {
	border: #000000 1px solid;
	background-color: #ffffff;
}
.yafnet .ButtonChecked {
	border: #000000 1px solid;
}
.yafnet .ButtonOff {
	border: #669966 1px solid;
}
.yafnet #bbcodeFeatures {
	border: #eeffee 1px solid;
}
/*
Use this to setup overflow feature for your site.
On IE that would mean specifying a width so that the overflow will work properly.
This CSS already works on FireFox.
*/
.yafnet div.postdiv {
	width: 100%;
	min-height: 100px;
	overflow: auto;	
}
.yafnet div.yafsignature
{
	border-top: solid 1px #666666;
	margin-top: 15px;
	padding-top: 5px;
}
/* CSS Pagelinks */
.yafnet .yafpager {
	font-size:0.6875em;
	color: #666;
	margin: 6px 0px 6px 0px;
}
.yafnet td .yafpager {
	font-size:100% !important;
}

.yafnet .pagelink,
.yafnet .pagelinkfirst,
.yafnet .pagelinklast,
.yafnet .pagecurrent,
.yafnet .pagecount{
	background: #EDEDED;
	border: 1px solid #CCC;
	padding: 1px 3px 1px 3px;
	margin-right: 2px;
}
.yafnet .pagecount {
	margin-right: 5px;
}
.yafnet .pagelinkfirst,
.yafnet .pagelinklast{
	background: #e0e0e0;
}
.yafnet .pagecurrent{
	background: #dddddd;
}
.yafnet .pagelink a,
.yafnet .pagelinkfirst a,
.yafnet .pagelinklast a {
	text-decoration: none;
	color: #000090;
}
/* CCS Buttons */
.yafnet a.yaflittlebutton {
	background: transparent url('ButtonEnd.gif') no-repeat scroll top right;
    color: #ffffff;
    display: block;
    float: right;
 	
    height: 18px;
    margin: 2px 0px 2px 2px;
    padding-right: 2px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: Arial;
    font-weight: bold;
}
.yafnet a.yaflittlebutton span {
    background: transparent url('ButtonBack.gif') no-repeat;
    display: block;
    line-height: 10px;
    padding: 4px 3px 4px 5px;
}
.yafnet a.yaflittlebutton img {
	vertical-align: middle;
	padding: 0px 4px 2px 0px;
}
.yafnet a.yaflittlebutton:hover {
	color: #ffffff;
	text-decoration: none;
}
.yafnet a.yaflittlebutton:active {
    background-position: bottom right;
    outline: none;
}
.yafnet a.yaflittlebutton:active img {
    padding: 0px 4px 2px 0px;
}
.yafnet a.yaflittlebutton:active span{
    background-position: bottom left;
    padding: 5px 3px 3px 5px;
}

.yafnet td a.yafcssbigbutton {
	font-size:90%;
}

.yafnet a.yafcssbigbutton {
    background: transparent url('ButtonEnd.gif') no-repeat scroll top right;
    color: #ffffff;
    display: block;
    float: right;
	font-size: 0.625em ;
    height: 18px;
    margin: 2px 0px 2px 2px;
    padding-right: 2px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: Arial;
    font-weight: bold;
}


.yafnet a.yafcssbigbutton span{
    background: transparent url('ButtonBack.gif') no-repeat;
    display: block;
    line-height: 10px;
    padding: 4px 10px 4px 12px;
}
.yafnet a.yafcssbigbutton img{
	vertical-align: top;
	padding: 0px 4px 0px 0px;
}
.yafnet a.yafcssbigbutton:active{
    background-position: bottom right;
    outline: none; /* hide dotted outline in Firefox */
}
.yafnet a.yafcssbigbutton:active img{
    padding: 0px 4px 0px 0px;
}
.yafnet a.yafcssbigbutton:active span{
    background-position: bottom left;
    padding: 5px 10px 3px 12px; /* push text down 1px */
}
/* css image button */
.yafnet a.yafcssimagebutton{
    background: transparent url('ButtonEndB.gif') no-repeat scroll top right;
    color: #ffffff;
    display: block;
    float: left;
	/*font-size: 10px; */
    height: 18px;
    margin: 2px 0px 2px 2px;
    padding-right: 2px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: Arial;
    font-weight: bold;
}
.yafnet a.yafcssimagebutton span{
    background: transparent url('ButtonBackB.gif') no-repeat;
    display: block;
    line-height: 14px;
    padding: 2px 6px 2px 8px;
}
.yafnet a.yafcssimagebutton img{
	vertical-align: top;
	padding: 0px 4px 0px 0px;
}
.yafnet a.yafcssimagebutton:hover{
	text-decoration: none;
	color: #eeee00;
}
.yafnet a.yafcssimagebutton:active{
    background-position: bottom right;
    outline: none; /* hide dotted outline in Firefox */
}
.yafnet a.yafcssimagebutton:active img{
    padding: 0px 4px 0px 0px;
}
.yafnet a.yafcssimagebutton:active span{
    background-position: bottom left;
    padding: 3px 6px 1px 8px; /* push text down 1px */
}
/* CSS Popupmenu */
.yafnet .yafpopupmenu {
	font-size: 0.6875em ;
	background-color: #ffffff;
	border: solid 1px #333333;
	
}

.yafnet .content .yafpopupmenu {
	font-size:100% ;	
}

.yafnet .yafpopupmenu ul {	
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.yafnet .yafpopupmenu li {
	padding: 5px 10px 5px 10px;
	margin: 0;
}
.yafnet .yafpopupmenu li.popupitemhover {
	background-color: #cccccc;
}
/* ajax tabs */
/* default layout */
.yafnet .ajax__tab_default .ajax__tab_header {white-space:nowrap;}
.yafnet .ajax__tab_default .ajax__tab_outer {display:-moz-inline-box;display:inline-block}
.yafnet .ajax__tab_default .ajax__tab_inner {display:-moz-inline-box;display:inline-block}
.yafnet .ajax__tab_default .ajax__tab_tab {margin-right:4px;overflow:hidden;text-align:center;cursor:pointer;display:-moz-inline-box;display:inline-block}

.yafnet .ajax__tab_xp .ajax__tab_header {font-family:verdana,tahoma,helvetica;font-size:11px;background:url(<%=WebResource("AjaxControlToolkit.Tabs.tab-line.gif")%>) repeat-x bottom;}
.yafnet .ajax__tab_xp .ajax__tab_outer {padding-right:4px;background:url(tab-right.gif) no-repeat right;height:21px;}
.yafnet .ajax__tab_xp .ajax__tab_inner {padding-left:3px;background:url(tab-left.gif) no-repeat;}
.yafnet .ajax__tab_xp .ajax__tab_tab {height:13px;padding:4px;margin:0;background:url(tab.gif) repeat-x;}
.yafnet .ajax__tab_xp .ajax__tab_hover .ajax__tab_outer {background:url(tab-hover-right.gif) no-repeat right;}
.yafnet .ajax__tab_xp .ajax__tab_hover .ajax__tab_inner {background:url(tab-hover-left.gif) no-repeat;}
.yafnet .ajax__tab_xp .ajax__tab_hover .ajax__tab_tab {background:url(tab-hover.gif) repeat-x;}
.yafnet .ajax__tab_xp .ajax__tab_active .ajax__tab_outer {background:url(tab-active-right.gif) no-repeat right;}
.yafnet .ajax__tab_xp .ajax__tab_active .ajax__tab_inner {background:url(tab-active-left.gif) no-repeat;}
.yafnet .ajax__tab_xp .ajax__tab_active .ajax__tab_tab {background:url(tab-active.gif) repeat-x;}
.yafnet .ajax__tab_xp .ajax__tab_body {border:1px solid #999999;border-top:0;padding:5px;}

/* scrolling */
.yafnet .ajax__scroll_horiz {overflow-x:scroll;}
.yafnet .ajax__scroll_vert {overflow-y:scroll;}
.yafnet .ajax__scroll_both {overflow:scroll}
.yafnet .ajax__scroll_auto {overflow:auto}

/*Modal Popup*/
.modalBackground
{
	background-color:#000;
	filter:alpha(opacity=65);
	opacity:0.65;
}

.modalPopup
{
	background-color: #ffffff;
	border: solid 1px #aaaaaa;
	width: 400px;
}

.modalPopup .modalBase
{

}

.modalPopup .modalHeader
{
	background:#666;
	color: #ffffff;
	font-weight: bold;
	padding-left: 10px;
	font-size: 0.75em;
	line-height:2em ;
}

.modalPopup .modalInner
{
	padding: 10px;
	text-align:center;
}

.modalPopup .modalInnerMain
{
	font-size: 0.6875em ;
	font-weight: bold;
	color: #666;
	text-align: center;
}

.modalPopup .modalInnerSub
{
	font-size: 0.6875em ;
	color: #333333;
	text-align: center;
}

.modalPopup .modalFooter
{
	padding: 5px;
	background-color: #f4f4f4;	
	line-height: 20px;
	font-size: 0.75em;
}

.modalPopup .modalFooter input
{
	display:block;
	vertical-align: middle;
	margin:0 auto;
}

/* Goto Page Form */
.gotoPageForm
{
	background-color: #f0f0f0;
	border: solid 1px #555555;
	width: 76px;
	margin: 1px;			
}
.gotoPageForm .gotoBase
{
	border: solid 1px #ffffff;
}
.gotoPageForm .gotoHeader
{
	background: #666;
	color: #ffffff;
	font-weight: bold;	
	padding: 2px;	
}
.gotoPageForm .gotoInner
{
	padding: 2px;
}
.gotoPageForm .gotoInner input
{
	margin: 2px;
}

/** Search **/
	
.yafnet #search_query { margin-top:5px; }
.yafnet #search_query .filter_options { padding-top:15px; }
.yafnet #search_query .btn_search { padding-bottom:15px; }
.yafnet #search_query td { padding:5px 15px; }
.yafnet #search_query input { padding:4px; }
.yafnet #search_query select { padding:3px; }
.yafnet #search_query .pbutton { padding:0;	}

/** cp_editprofile **/

#yafpage_cp_editprofile td.header2 {
	background:none ;
}

#yafpage_cp_editprofile input { padding:4px; }
#yafpage_cp_editprofile select { padding:3px; }
/*#yafpage_cp_editprofile .pbutton { padding:0;	}*/


/** cp_editavatar **/

#yafpage_cp_editavatar td.header2 {
	background:none ;
}

/* admin only */
#yafpage_admin_hostsettings,
#yafpage_admin_accessmasks,
#yafpage_admin_users {
	position:relative;
	z-index:1;
}

.yafnet span.smallfont span.smallfont {
	font-size:11px;	
}



