.yafnet {
	font-family: Verdana, Helvetica, sans-serif;
	font-size: 11px;
	color: #3B3b3b;
}
.yafnet td {
	font-family: sans-serif, Helvetica, Verdana;
	font-size: 11px;
	color: #3b3b3b;
}
.yafnet input, .yafnet select
{
	font-family: Verdana, Helvetica, sans-serif;
	font-size: 8pt;
	color: #3b3b3b;
	background-color: #FFFFFF;
	border-bottom: #aaaaaa 1px solid;
	border-left: #aaaaaa 1px solid;
	border-top: #aaaaaa 1px solid;
	border-right: #aaaaaa 1px solid;
}
@media (min-width: 256px) {
  img {
    max-width: 100px;
  }
}
@media (min-width: 500px) {
  img {
    max-width: 300px;
  }
}
@media (min-width: 768px) {
  img {
    max-width: 600px;
  }
}
@media (min-width: 992px) {
  img {
    max-width: 600px;
  }
}
@media (min-width: 1200px) {
  img {
    max-width: 700px;
  }
}

.yafnet img {
	border: 0;
}
.yafnet ul {
	margin: 2px 2px 2px 2px;
	padding: 0;
}
.yafnet li {
	margin-left: 15px;
}
.yafnet tr.header1 {	
	background-color:#02416D;
    
	color: #ffffff;
	font-weight: bold;
	padding-left: 10px;
	font-size: 11pt;
}
.yafnet tr.header1 a {
	color: #ffffff;
	text-decoration: none;
}
.yafnet tr.header1 a:hover {
	color: #eeffee;
	text-decoration: underline;
}	
.yafnet td.header1 {
	background-color:#02416D;
	/*background-color: #66a262;*/
	color: #ffffff;
	font-weight: bold;
	padding-left: 10px;
	font-size: 15px;
	line-height: 30px;
}	
.yafnet .header1Title {
	background-color:#02416D;
	color: #ffffff;
	font-weight: bold;
	padding-left: 10px;	
	font-size: 15px;
	line-height: 30px;
}
.yafnet tr.header2 {
	background-color: #e3e3e3;
	color: #55a055;
	font-weight: bold;
}
.yafnet td.header2 {
	background-color: gray;/*background-color: #e3e3e3;*/
	color: white;
	font-weight: bold;
}
.yafnet a.header2 { height: auto; background-color: Transparent; border-style: none; background-image: none; }
.yafnet td.header2 a { color: white; text-decoration: none; }
.yafnet td.header2 a:link { color: white; text-decoration: none; }
.yafnet td.header2 a:visited {  text-decoration: none; }
.yafnet td.header2 a:active {  text-decoration: none; }
	.yafnet td.header2 a:hover {
		color: white;
		text-decoration: underline;
	}
.yafnet td.infoTable {
	background-color: #FAFAFA;
	padding: 10px;
	border: 1px solid #F2F2F2;
}
/* all links */
.yafnet .content a			{ color: #001090; text-decoration: none; }
.yafnet .content a:hover	{ color: #001090; text-decoration: underline; }
/* Footer1 - Bottom of tables */
.yafnet .footer1 {
	font-size: 7pt;
	height: 28px;
	background-color: #f4f4f4;
}
.yafnet .footer1 select,
.yafnet .footer1 td {
	font-size: 10px;
}
.yafnet .forumheading {
	font-size: 9pt;
	font-weight: bold;
}
.yafnet a.post_link
{
	font-size: 9pt;
	font-weight: bold;
	text-decoration: none;
}
/* Header of posts */
.yafnet .postheader {
	background-color: #f0f0f0;
}
.yafnet .postheader a {
	font-size: 11pt;
	color: Black;	
}
/* User info and post/article */
.yafnet .post {
	background-color: #F5F5F5;
}
.yafnet .post_alt {
	background-color: gainsboro; /*#FaFaFa;*/
}
.yafnet tr.post:hover {
	background-color: #FFFFFF;	
}
.yafnet tr.post_alt:hover {
	background-color: #FFFFFF;	
}
/* Footer of posts */
.yafnet .postfooter {
	background-color: #cdcdcd;
}
.yafnet .postfooter .editedinfo {
	color:#FF0000;
	font-weight:bold;
}
/* Area between posts */
.yafnet .postsep
{
   /* height: 10px;
    background-image: url(line.gif);
    background-repeat: repeat-x;*/
}
/* most tables are class 'content' */
.yafnet table.content {
	border: solid 1px #777777;
	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;
	font-size: 15px;
	line-height: 30px;	
}
/* 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;
   
   
}
/* font sizes */
.yafnet .smallfont	{ font-size: 10px; }
.yafnet .largefont	{ font-size: 11px; }
/* 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;
}
/* Forum Welcome Message */
.yafnet .yafForumWelcome
{
	text-align: right;
	padding: 5px;
}
.yafnet .DivTopSeparator
{
	clear: both;
}
/* div at the top of pages with navigation links */
.yafnet .yafPageLink
{
	border-top: solid 1px #cccccc;
	border-left: solid 1px #cccccc;
	border-bottom: solid 1px #cccccc;
	border-right: solid 1px #cccccc;
	font-weight: bold;
	color: #000000;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 2px;
}
.yafnet .yafPageLink .currentPageLink { color: #001090; }
.yafnet .yafPageLink .linkSeperator { color: #666666; }
.yafnet .yafPageLink a { color: #000000; text-decoration: none }
.yafnet .yafPageLink 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: #337ab7;
	color: white !important;
	border-radius: 3px;
	font-size: 12px;
	height: 30px !important;
	padding-top: 2px;
	border: solid 1px #2e6da4;
	font-weight: bold;
	text-transform: uppercase;
}
	.yafnet .pbutton:hover {
		background-color: #286090;
	}
.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.
*/
@media (min-width: 1px) {
    .yafnet div.postdiv {
        width: 100%;
        min-height: 100px;
        /*overflow: auto;*/
        font-size: 16px;
    }
}
@media (min-width: 768px) {
  .yafnet div.postdiv {
	width: 100%;
	min-height: 100px;
	/*overflow: auto;*/
	font-size: 13px;	
}
}

.yafnet div.yafsignature
{
	border-top: solid 1px #666666;
	margin-top: 15px;
	padding-top: 5px;
}
.yafnet .yafactiveusers a.active_hidden {
	font-style: italic;
	color: #aaaaaa;
}
/* CSS Pagelinks */
.yafnet .yafpager {
	color: #555555;
	margin: 6px 0px 6px 0px;
}
.yafnet .pagelink,
.yafnet .pagelinkfirst,
.yafnet .pagelinklast,
.yafnet .pagecurrent,
.yafnet .pagecount{
	background: #F5F5F5;
	border: 1px solid #444444;
	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: white;
	background-color: rgb(51, 122, 183);
	border-radius: 3px;
	display: block;
	float: right;
	font-size: 11px;
	height: 30px;
	padding-top: 6px;
	margin: 2px 0px 2px 2px;
	padding-right: 2px;
	text-decoration: none;
	text-transform: uppercase;
	font-family: Verdana;
	font-weight: bold;
	border: solid 1px #2e6da4;
}
.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: white;
		text-decoration: none;
		background-color: #286090;
	}
.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 a.yafcssbigbutton{
  /*  background: transparent url('ButtonEnd.gif') no-repeat scroll top right;*/
    color: #000000;
    display: block;
    float: right;
	font-size: 11px; 
    height: 18px;
    margin: 2px 0px 2px 2px;
    padding-right: 2px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: Verdana;
    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: #000000;*/
	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: Verdana;
	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 {
	background-color: #ffffff;
	border: solid 1px #333333;
	
}
.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}

/* xp theme */
.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(<%=WebResource("AjaxControlToolkit.Tabs.tab-right.gif")%>) no-repeat right;height:21px;}
.yafnet .ajax__tab_xp .ajax__tab_inner {padding-left:3px;background:url(<%=WebResource("AjaxControlToolkit.Tabs.tab-left.gif")%>) no-repeat;}
.yafnet .ajax__tab_xp .ajax__tab_tab {height:21px;padding:4px;margin:0;background:url(<%=WebResource("AjaxControlToolkit.Tabs.tab.gif")%>) repeat-x;}
.yafnet .ajax__tab_xp .ajax__tab_hover .ajax__tab_outer {background:url(<%=WebResource("AjaxControlToolkit.Tabs.tab-hover-right.gif")%>) no-repeat right;}
.yafnet .ajax__tab_xp .ajax__tab_hover .ajax__tab_inner {background:url(<%=WebResource("AjaxControlToolkit.Tabs.tab-hover-left.gif")%>) no-repeat;}
.yafnet .ajax__tab_xp .ajax__tab_hover .ajax__tab_tab {background:url(<%=WebResource("AjaxControlToolkit.Tabs.tab-hover.gif")%>) repeat-x;}
.yafnet .ajax__tab_xp .ajax__tab_active .ajax__tab_outer {background:url(<%=WebResource("AjaxControlToolkit.Tabs.tab-active-right.gif")%>) no-repeat right;}
.yafnet .ajax__tab_xp .ajax__tab_active .ajax__tab_inner {background:url(<%=WebResource("AjaxControlToolkit.Tabs.tab-active-left.gif")%>) no-repeat;}
.yafnet .ajax__tab_xp .ajax__tab_active .ajax__tab_tab {background:url(<%=WebResource("AjaxControlToolkit.Tabs.tab-active.gif")%>) repeat-x;}
.yafnet .ajax__tab_xp .ajax__tab_body {font-family:verdana,tahoma,helvetica;font-size:10pt;border:1px solid #000000;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=80);
	opacity:0.8;
}

.modalPopup
{
	background-color: #ffffff;
	border: solid 1px #aaaaaa;
	width: 400px;
}

.modalPopup .modalBase
{

}

.modalPopup .modalHeader
{
	background-color:#02416D;
	color: #ffffff;
	font-weight: bold;
	padding-left: 10px;
	font-size: 15px;
	line-height: 30px;
}

.modalPopup .modalInner
{
	padding: 10px;
	text-align:center;
}

.modalPopup .modalInnerMain
{
	font-size: 9pt;
	font-weight: bold;
	color: #992222;
	text-align: center;
}

.modalPopup .modalInnerSub
{
	font-size: 8pt;
	color: #333333;
	text-align: center;
}

.modalPopup .modalFooter
{
	padding: 5px;
	background-color: #f4f4f4;	
	line-height: 20px;
}

.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-color:#02416D;
	color: #ffffff;
	font-weight: bold;	
	padding: 2px;	
}
.gotoPageForm .gotoInner
{
	padding: 2px;
}
.gotoPageForm .gotoInner input
{
	margin: 2px;
}