.yafnet {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 9pt;
    color: #FFF;
    margin-top: 5px;
}
.yafnet td, th { /* DEFAULT SIZE: Should match above */
    font-size: 9pt;
}


/*  
Light blue colors, from lightest to darkest:

#E4EBEF
#CCD6DD

#AEC0CC
#A9BECC
#A0BBCC

#6699CC
#004088
*/

.yafnet input,
.yafnet select 
{
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    font-size: 9pt;
    color: #3B3B3B;
    padding: 5px;
    background-color: white;
    border: 1px solid #AAA;
}
.yafnet input:hover[type="text"], 
.yafnet select:hover 
{
    background-color: #F5F5F5;
    border: 1px solid #333;
    color: #3B3B3B;
}
.yafnet input[type="image"] {
    padding: 0px;
    border: 0px;
}

.yafForumWelcome
{
    float:right;
    margin: 2px;
    font-size: 95%;
    margin-bottom: 5px;
    padding: 6px;
    border: 1px solid #CCC;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
}
.yafForumWelcome div
{
    text-align:right;
    display:inline;
}
.yafnet img {
    border: 0;
}
/* yaf header */
.yafnet #yafheader
{
    font-size: 90%;
    color: #000;
}
.yafnet #yafheader .outerMenuContainer
{
    background-color: #A9BECC;
    border: 0;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    line-height: 20px;
    padding: 3px;
    width: auto; /* override value from forum.css to correct the width of this element */
    float: none; /* override value from forum.css to correct the width of this element */
    overflow: hidden; /* magically fixes an issue that the above triggers when the user is logged out: prevents this element from collapsing to a height of 0 */
}
.yafnet #yafheader a
{
    color: #036;
}
.yafnet #yafheader ul li a
{
    font-weight: bold;
    padding: 2px;
}
.yafnet #yafheader ul.menuAdminList
{
    margin-left: 10px !important;
}
.yafnet #yafheader ul.menuAdminList li a
{
    color: #011735;
}
.yafnet #yafheader ul li
{
    padding: 2px 3px 2px 3px;
    margin: 0;
    border-left: 1px solid #ddd;
}
.yafnet #yafheader ul li:first-child 
{
    border-left: none;
}
.yafnet .menuMyContainer
{
    float: none !important;
    display: inline;
}
.yafnet .menuContainer
{
    float: right !important;
    display: inline;
}
.yafnet .menuMyList
{
    margin-bottom: 10px;
}
.yafnet .menuMyList li a
{
    font-weight: bold;
}
.yafnet .menuMyList li
{
    display: inline;
    padding: 0;
}
.yafnet .menuContainer .menuList
{
    float: left;
}
.yafnet .menuAdminList
{
    float: none !important;
}
.yafnet #yafheader .loggedInUser
{
    float: left !important;
    margin-right: 10px;
}
.yafnet #yafheader .currentUser
{
    font-weight: bold;
}
.yafnet #yafheader .guestUser  
{    
    background: url("error.png") #fdd no-repeat 8px 50%;
    border: 1px solid #deb7b7;
    color: #281b1b;
    font-size: 1em;
    font-weight: bold;
    line-height: 150%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 10px;
    padding: 5px 10px 5px 30px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.yafnet img {
    border: 0;
}
.yafnet ul {
    margin: 2px;
    padding: 0;
}
.yafnet .postdiv ul {
	padding: 0 0 0 40px;
}
.yafnet li {
    margin-left: 15px;
    padding: 2px;
}

/* custom forum images special styles */
.yafnet .forum_customimage_locked
{
    border: solid 2px #c93a4a;    
}

.yafnet .forum_customimage_newposts
{
    border: solid 2px #fe0300;
}

.yafnet .forum_customimage_nonewposts
{
}
/* Header 1 - Main header */
.yafnet dt.header1,
.yafnet tr.header1 {
    font-weight: bold;
    padding-left: 10px;
}
.yafnet a.HeaderTopicLink
{ }
.yafnet .header1 a,
.yafnet .postheader a,
.yafnet .post .postheader a /* This variant appears on the profile page - Last 10 Posts */
{ 
    color: #8BF;
}

.yafnet a.HeaderTopicLink,
.yafnet .header1 a:hover,
.yafnet .postheader a:hover,
.yafnet .post .postheader a:hover /* This variant appears on the profile page - Last 10 Posts */
{ 
    color: #EFE; 
    text-decoration: none; 
}

.yafnet th.header1,
.yafnet td.header1 {
    background: url('layout-title-bk.jpg');
    font-weight: bold;
    color: #FFF !important;
    font-size:10pt;
    height:22px;
}
.yafnet .header1Title {
    background: url('layout-title-bk.jpg');
    color: #FFF !important;
    font-weight: bold;
    font-size:10pt;
    padding: 5px 5px 5px 10px;
}
.yafnet .postTitle .rightItem a
{
}
/* Header 2 - Sub header */
.yafnet tr.header2 {
    background: #004088 url('layout-body-bk.jpg');
    color: #FFF;
    font-size:10pt;
    font-weight: bold;
}
.yafnet td.header2, .yafnet tr.header2 td,
.yafnet th.header2, .yafnet tr.header2 th {
    background: #004088 url('layout-body-bk.jpg');
    color: #FFF !important;
    font-size: 10pt;
    font-weight: bold;
    padding: 8px !important;
}


/* most tables are class 'content' */
.yafnet table.content {
    border: 1px solid #0059b1;    /* outer border */
    border-collapse: collapse;
    padding: 0px;
    /*background-color: #000000;  -- having this enabled is something the forum code theming doesn't really expect - e.g. try it out when viewing a topic with a poll /* inner borders */
    margin: 0px;
    margin-bottom: 15px; /* matches table.postContainer[_Alt] margin-top */
}
.yafnet table.content:hover 
{ 
}

.yafnet .postheader .postUser
{
    min-width: 10%;
    white-space: nowrap; /* expand the width of the column so that the user name and any icons can fit on one line */
    padding-left: 0px;
}

.yafnet .post,
.yafnet .post_alt,
.yafnet .postfooter
{
    color: #000;
}
/* links inside "post"-like cells only; other content sections retain defaults */

.yafnet .post a,
.yafnet .post_alt a,
.yafnet .postfooter a
{
    color: #01244C; text-decoration: underline;
}
.yafnet .post a:hover,
.yafnet .post_alt a:hover,
.yafnet .postfooter a:hover
{
    color: #003;
    text-decoration: none;
}

.yafnet .postNavigation .post 
{
    background-color:inherit;
}


.yafnet .forumLinkCol div.forumheading,
.yafnet .forumLinkCol_Alt div.forumheading
{
}
.yafnet .moderatorListCol,
.yafnet .moderatorListCol a
{
    font-size: 8pt;
    color: #000;
}
.yafnet td.topicCountCol,
.yafnet td.postCountCol,
.yafnet td.lastPostCol
{
    background-color: #A9BECC;
}
.yafnet .forumRow .timeago,
.yafnet .forumRow_Alt .timeago 
{
    font-size:smaller;
}

.yafnet tr.topicRow td.topicStarter,
.yafnet tr.topicRow_Alt td.topicStarter,
.yafnet tr.topicRow td.topicViews,
.yafnet tr.topicRow_Alt td.topicViews
{
    
}

.yafnet tr.topicRow .topicMain .description,
.yafnet tr.topicRow_Alt .topicMain .description
{
    font-size: 9pt;
    font-style:italic;
    font-weight:lighter;
}

.yafnet .forumRowTitle .headerTopics,
.yafnet .forumRowTitle .headerPosts,
.yafnet .forumRow .topicCountCol,
.yafnet .forumRow .postCountCol,
.yafnet .forumRow_Alt .topicCountCol,
.yafnet .forumRow_Alt .postCountCol
{
    text-align: right;
    padding-right: 10px;
}

.yafnet .forumRow .moderatorListCol,
.yafnet .forumRow_Alt .moderatorListCol
{
    text-align: center;
}

.yafnet .forumRow a.forumTopicLink,
.yafnet .forumRow_Alt a.forumTopicLink
{
}

.yafnet .forumRow .forumLinkCol,
.yafnet .forumRow_Alt .forumLinkCol
{
    width: 80%;
    font-size: 10pt;
    padding: 10px;
}

.yafnet .forumRowTitle .headerLastPost,
.yafnet .forumRow .lastPostCol,
.yafnet .forumRow_Alt .lastPostCol
{
    text-align: left;
}

.yafnet tr.topicRow,
.yafnet tr.topicRow_Alt
{
}

/* Unresolved post in Moderation Reports */
.yafnet .post_res
{
    background-color: #f4e941;
}

.yafnet tr.topicRow .topicMain,
.yafnet tr.topicRow_Alt .topicMain
{
    font-size: 10pt;
    padding: 10px;
}

.yafnet tr.topicRow a.post_link,
.yafnet tr.topicRow_Alt a.post_link
{
}

.yafnet tr.topicRow .topicMain .post_priority,
.yafnet tr.topicRow_Alt .topicMain .post_priority
{
    font-weight: normal;
}

.yafnet tr.topicRow .topicMain .topicPager,
.yafnet tr.topicRow_Alt .topicMain .topicPager,
.yafnet tr.topicRow .topicMain .topicPosted,
.yafnet tr.topicRow_Alt .topicMain .topicPosted,
.yafnet tr.topicRow .topicMain .topicStarter,
.yafnet tr.topicRow_Alt .topicMain .topicStarter
{
    font-size: 8pt;
    font-weight: normal;
}

.yafnet tr.topicRow .topicLastPost .avatarimage,
.yafnet tr.topicRow_Alt .topicLastPost .avatarimage,
.YAF_Pages_members .avatarimage,
.yafnet tr.topicRow .topicMain img.avatarimage,
.yafnet tr.topicRow_Alt .topicMain img.avatarimage
{
    width: 40px;
    height: 40px;
    float: left;
    padding: 3px;
}

.yafnet tr.topicRow .topicMain img.avatarimage,
.yafnet tr.topicRow_Alt .topicMain img.avatarimage
{
    padding-right: 8px;
}

.yafnet tr.topicRow .topicReplies,
.yafnet tr.topicRow_Alt .topicReplies,
.yafnet tr.topicRow .topicViews,
.yafnet tr.topicRow_Alt .topicViews
{
    text-align: right;
    padding-right: 10px;
}
.yafnet tr.topicRow .topicReplies,
.yafnet tr.topicRow_Alt .topicReplies,
.yafnet tr.topicRow .topicViews,
.yafnet tr.topicRow_Alt .topicViews,
.yafnet tr.topicRow .topicLastPost,
.yafnet tr.topicRow_Alt .topicLastPost
{
    background-color: #A9BECC;
}

.yafnet .postContainer_Alt .yafsignature,
.yafnet .postContainer_Alt .postPosted,
.yafnet .postContainer_Alt .message,
.yafnet .postContainer_Alt .postTop,
.yafnet .postContainer_Alt .postInfoBottom
{
    
}

/* Sticky &  Announcement Topic Row*/
.yafnet .priorityRow td {

}

.yafnet .header2 a           { color: #8BF; text-decoration: underline; }
.yafnet .header2 a:link      { color: #8BF; text-decoration: underline; }
.yafnet .header2 a:visited   { color: #8BF; text-decoration: underline; }
.yafnet .header2 a:active    { color: #8BF; text-decoration: underline; }
.yafnet .header2 a:hover     { color: #EFE; text-decoration: none; }

.yafnet td.infoTable {
    background-color: #FAFAFA;
    padding: 10px;
    border: 1px solid #0066CC;
}
/* all links */
.yafnet  a			{  }
.yafnet  a:hover	{  }
/* Footer1 - Bottom of tables */
.yafnet .footer1, 
.yafnet .content .footer1, 
.yafnet .content td.footer1, 
.yafnet .content .footer1 td
{
    height: 28px;
    background: #004088 url('layout-body-bk.jpg');
    color: #FFF;
}
.yafnet .footer1 a        { color: #8BF; text-decoration: underline; }
.yafnet .footer1 a:hover  { color: #EFE; text-decoration: none; }
.yafnet .footer1 select, .footer1 td {
    font-size: 9pt;
}
/* Contains the links at the top of the topic view page, above the post: .PrevTopicLink, .NextTopicLink */
.yafnet tr.header2 td.header2links 
{
    font-size: smaller;
}
.yafnet tr.header2 td.header2links a 
{
    text-decoration: none;
}

/* Header of posts */
.yafnet .postheader { 
    background: #004088 url('layout-body-bk.jpg');
    color: #FFF;
    line-height: 22px; /* Aligns post header user name with other text in the post header, which may be smaller font */
    vertical-align: middle;
}
.yafnet .postheader a {
    text-decoration: none;
}
.yafnet .postheader .postUser a 
{
    font-size: 11pt; /* Makes user name link larger than post # link in post headers */
}


.yafnet table.postContainer,
.yafnet table.postContainer_Alt
{
    margin-top: 15px;
}

.yafnet table.postContainer td, 
.yafnet table.postContainer_Alt td
{
    padding: 5px 15px 10px 15px;
    margin: 0;
}


/* User info and post/article */
.yafnet .post, .yafnet .post_alt {
    background-color:#aec0cc;
    color:#000;
}
/* Hover background change on forum and topics listings */
.yafnet tr.forumRow:hover, .yafnet tr.forumRow_Alt:hover,
.yafnet tr.forumRow:hover td, .yafnet tr.forumRow_Alt:hover td, /* include td children explicitly so that their styles are overridden */
.yafnet tr.topicRow:hover, .yafnet tr.topicRow_Alt:hover,
.yafnet tr.topicRow:hover td, .yafnet tr.topicRow_Alt:hover td  /* include td children explicitly so that their styles are overridden */
{
    background-color:#6699CC;
}

.yafnet .UserBox 
{
    font-size: 8pt;
    text-align: center;
}
/*Controls the look of Userbox Sections*/
.yafnet .UserBox .section
{
    padding: 5px;
    background-color:#d4e4ee;
    border: 1px solid #8BF;
    color: #000;
    text-align: left;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;	
    margin: 5px 0px;
}
.yafnet .UserBox img { margin: 1px; }
.yafnet .UserBox img.rankimage {
    vertical-align: middle;
    margin-right:5px;
}
.yafnet .UserBox .avatarsection { text-align: center; }
.yafnet .UserBox .avatarimage 
{
}

/* Footer of posts */
.yafnet table.postContainer tr.postfooter td,
.yafnet table.postContainer_Alt tr.postfooter td
{
    padding-bottom: 0; /* less padding below postfooters. Note that the tr.postThanksRow comes after this, having its own inherited paddings */
}
.yafnet .postfooter, .yafnet .postThanksRow 
{ 
    background-color:#A0BBCC;
}
.yafnet .ThanksInfo
{
    font-size: smaller;
    text-align:center;
}
.yafnet .ThanksInfo img { float:left; } /* "Thanks" Heart Image */
.yafnet .postfooter .small.postTop 
{
    font-size: 6pt; /* Make the IP Address really small */
}
.yafnet .postfooter .editedinfo {
    color: #663;
    font-weight: bold;
}

/* Area at the end of each post */
.yafnet .postsep {
    /*background-color: #001e3a; */
    height: 0px;
}
.yafnet table .postsep td {
    padding: 0; /* override standard table padding */
}



.yafnet .postformheader /* "header" (on the left) of the new post, reply, etc. forms */
{
    background-color: #AEC0CC;
    color: black;
    font-weight:bold;
}

.yafnet .fileattach {
    padding: 5px;
    background-color: #E4EBEF;
    border: 1px dashed #39C;
}
.yafnet .fileattach .filetitle,
.yafnet .fileattach .imgtitle {
    font-weight: bold;
    color: #003;
    margin-bottom: 5px;
    font-size: 1.1em;
}
.yafnet .fileattach .attachedimg,
.yafnet .fileattach .attachedfile {
    margin-left: 10px;
}
.yafnet .fileattach a {
    font-weight: bold;
}
.yafnet .content td, 
.yafnet .content th
{    
    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: 15px;
    margin: 5px;
}

.yafnet .innerquote 
{
    margin: 6px 2px 6px 2px;
    padding: 10px;
    background-color: #D4E4EE;
    border: 1px dashed #8BF;
}

/* used for code */
.yafnet .code {
    padding-left: 16px;    
    margin: 5px;
}
.yafnet span.highlight {
    background-color: Yellow;
    color: Black;
}
.yafnet .innercode {
    padding: 4px;
    background-color: #E4EBEF;
    border: solid 1px #808080;
    color: #000000;
    font-size:8pt;
    font-family: "Courier New", monospace;
    
    overflow:auto;
    white-space:nowrap;
    width:650px;
}

/* font sizes */
.yafnet .smallfont    { font-size: 8pt; }
.yafnet .postfooter .smallfont { font-size:7pt; }
.yafnet .postfooter .small { font-size:7pt; }
.yafnet .largefont    { font-size: 10pt; }
/* Make forum description text smaller */
.yafnet .subforumheading { font-size:8pt; }

/* 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;
    background: #004088 url('layout-body-bk.jpg');
    color:#FFFFFF;
}


/* Table / table cell just above and below tables */
.yafnet .command {
    padding: 3px;
}

/* 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
{
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 2px;
}
.yafnet .yafPageLink .currentPageLink { color: #FFF; }
.yafnet .yafPageLink .linkSeperator { font-weight: bold; color: #FFF; }

/* 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: #002a54;
    font-size: 8pt;
    color: #FFFFFF;
    border: 1px solid #000;
    font-weight: bold;
    padding: 2px 5px 2px 5px;
}
 
.yafnet .textfield {
    color: #FFFFFF;
    border: 1px solid #3B3E39;
    width: 100%;
}

/* Buttons - specifically BBCode post buttons */
.yafnet .ButtonOut {
    border: #000000 1px solid;
    background-color: #E4EBEF;
}
.yafnet .ButtonOver {
    border: #000000 1px solid;
    background-color: #6C6;
}
.yafnet .ButtonChecked {
    border: #000000 1px solid;
}
.yafnet .ButtonOff {
    border: #000000 1px solid;
}

.yafnet #bbcodeFeatures {
    padding: 5px 0px 5px 0px;
}

/*
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.
*/
/*-- [MST] Setting a max-width so that overflow scrolling actually works with the Labs layout.*/
.yafnet div.postdiv {
    width: 100%;
    max-width: 795px;
    min-height: 100px;
    overflow: auto;    
}
.yafnet .postdiv .UserPostedImage 
{
    max-width: 100%; /* auto-resize to fit width */
}
.yafnet div.AdMessage {
	min-height: 10px;
}
.yafnet div.postdiv.AdMessage {
	max-width: inherit; /* [MST] Override .yafnet div.postdiv max-width since these postdiv's do not have a left-side .UserBox cell */
}
.yafnet div.yafsignature
{
    border-top: solid 1px #013;
    margin-top: 2em;
    padding-top: 0.5em;
}
.yafnet .yafactiveusers a.active_hidden {
    font-style: italic;
    color: #aaaaaa;
}
/* CSS Pagelinks */
.yafnet .yafpager {
    margin: 6px 0px 6px 0px;
    color: #9CF;
}
.yafnet .pagelink,
.yafnet .pagelinkfirst,
.yafnet .pagelinklast,
.yafnet .pagecurrent,
.yafnet .pagecount
{
    background: #004088 url('layout-body-bk.jpg');
    border: 1px solid #0059b1;
    padding: 1px 3px 1px 3px;
    margin-right: 2px;
}
.yafnet .pagecount {
    margin-right: 5px;
}
.yafnet .pagelinkfirst,
.yafnet .pagelinklast{
    background: #004088 url('layout-body-bk.jpg');
}
.yafnet .pagecurrent
{
    padding: 2px 4px 2px 4px; /* One more padding than default, for 3d look */
    border: 1px solid #036;
    background: #9cf;
    color: #000;
}
.yafnet a.pagelink,
.yafnet a.pagelinkfirst,
.yafnet a.pagelinklast {
    color: #9CF;
    text-decoration: none;
}

/* CCS Buttons */
.yafnet .MultiQuoteButton,
.yafnet a.yaflittlebutton {
    background: transparent url('ButtonEnd.gif') no-repeat scroll top right;
    color: #FFF !important;
    display: block;
    float: right;
    height: 18px;
    margin: 2px 0px 2px 2px;
    padding-right: 3px;
    text-decoration: none;
    text-transform: uppercase;
    font: bold 9px Verdana;
}
.yafnet .MultiQuoteButton label,
.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 .MultiQuoteButton:hover,
.yafnet a.yaflittlebutton:hover {
    color: #6C6 !important;
    text-decoration: none;
}
.yafnet .Checked label {
    color: #6C6;
    background-position: bottom left;
}
.yafnet .Checked,
.yafnet a.yaflittlebutton:active {
    background-position: bottom right;
    outline: none;
}
.yafnet a.yaflittlebutton:active img {
    padding: 0px 4px 2px 0px;
}
.yafnet .Checked label,
.yafnet a.yaflittlebutton:active span {
    background-position: bottom left;
}
.yafnet a.yafcssbigbutton {
    background: transparent url('ButtonEnd.gif') no-repeat scroll top right;
    color: #ffffff;
    display: block;
    float: right;
    font-size: 9px; 
    height: 18px;
    margin: 2px 0px 2px 2px;
    padding-right: 3px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: Verdana;
    font-weight: bold;
    overflow:hidden;
    white-space:nowrap;
}
.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: middle;
    padding: 0px 4px 2px 0px;
}
.yafnet a.yafcssbigbutton:hover {
    color: #6C6;
}
.yafnet a.yafcssbigbutton:active {
    background-position: bottom right;
    outline: none; /* hide dotted outline in Firefox */
}
.yafnet a.yafcssbigbutton:active img {
    padding: 0px 4px 2px 0px;
}
.yafnet a.yafcssbigbutton:active span {
    background-position: bottom left;
    padding: 5px 10px 3px 12px; /* push text down 1px */
}
/* poll vote link */
.yafnet a.pollvote:link {text-decoration: underline; color: #339;
}
/* css image button */
.yafnet a.yafcssimagebutton {
    background: transparent url('ButtonEndW.gif') no-repeat scroll top right;
    color: #FFFFFF;
    display: block;
    float: left;
    font-size: 9px; 
    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('ButtonBackW.gif') no-repeat;
    display: block;
    line-height: 14px;
    padding: 2px 5px 2px 8px;
}
.yafnet a.yafcssimagebutton img {
    vertical-align: top;
    padding: 0px 4px 0px 0px;
}
.yafnet a.yafcssimagebutton:hover, .yafnet .content a.yafcssimagebutton:hover {
    text-decoration: none;
    color: #6C6;
}
.yafnet a.yafcssimagebutton:active, .yafnet .content a.yafcssimagebutton:active{
    background-position: bottom right;
    outline: none; /* hide dotted outline in Firefox */
}
.yafnet a.yafcssimagebutton:active img, .yafnet .content a.yafcssimagebutton:active img{
    padding: 0px 4px 0px 0px;
}
.yafnet a.yafcssimagebutton:active span, .yafnet .content a.yafcssimagebutton:active span{
    background-position: bottom left;
    padding: 3px 5px 1px 8px; /* push text down 1px */
}
/* CSS Popupmenu */
.yafnet .yafpopupmenu {
    background-color: #A0BBCC; /* same as .postfooter */
    border: solid 1px #000;
    color: #000;
}
.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: #7794A7; /*#004088;*/
}
/* jQuery UI overrides */
.yafnet .ui-widget {
    font-size: 9pt !important;
}

.yafnet .ui-widget .ui-state-highlight {
    border: 1px solid #d9f0ff;
    background: #e5f5ff;
}
/* jquery UI (tabs, accordion, ...) */
.yafnet .ui-widget-content 
{
    background: #E4EBEF;
}
.yafnet .ui-state-active, .yafnet .ui-widget-content .ui-state-active, .yafnet .ui-widget-header .ui-state-active 
{
    background: #E4EBEF;
}
/* ajax tabs */
.yafnet .ajax__tab_yaf .ajax__tab_header 
{
    font-family:"Helvetica Neue", Arial, Sans-Serif;
    background:url(tab-line.png) repeat-x bottom;
    font-size:12px;
    display:block;
}
.yafnet .ajax__tab_yaf .ajax__tab_header .ajax__tab_outer 
{
    background:url(tab.png) no-repeat left top;
    border-color:#222;
    color:#222;
    padding-left:10px;
    margin-right:3px;
}
.yafnet .ajax__tab_yaf .ajax__tab_header .ajax__tab_inner 
{
    background:url(tab.png) no-repeat right top;
    border-color:#666;
    color:#666;
    padding:3px 10px 2px 0px;
}
.yafnet .ajax__tab_yaf .ajax__tab_hover .ajax__tab_inner 
{
    color:#000000;
}
.yafnet .ajax__tab_yaf .ajax__tab_active .ajax__tab_outer 
{
    background:url(tab.png) no-repeat 0pt -40px;
    border-bottom-color:#ffffff;
}
.yafnet .ajax__tab_yaf .ajax__tab_active .ajax__tab_inner 
{
    background:url(tab.png) no-repeat right -40px;
    color:#000000;
    border-color:#333
}
.yafnet .ajax__tab_yaf .ajax__tab_body 
{
    font-family:verdana,tahoma,helvetica;
    font-size:10pt;
    padding:8px;
    background-color:#ffffff;
    border:solid 1px #d7d7d7;
    border-top-width:0;
}

/* 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}

/* Popup */
.yafnet .yafpopup 
{
    color: #000000;
}
/* Goto Page Form */
.gotoPageForm
{
    background-color: #ffffff;
    border: solid 1px #555555;
    width: 90px;
    margin: 1px;            
}
.gotoPageForm .gotoBase
{
    border: solid 1px #ffffff;
}
.gotoPageForm .gotoHeader
{
    background: url('layout-title-bk.jpg');
    color: #fff;
    font-weight: bold;    
    padding: 2px;    
}
.gotoPageForm .gotoInner
{
    padding: 2px;
}
.gotoPageForm .gotoInner input
{
    margin: 2px;

    background-color: #002a54;
    font-size: 8pt;
    color: #FFFFFF;
    border: 1px solid #000;
    font-weight: bold;
    padding: 2px 5px 2px 5px;
}
/* Album */
.yafnet .albumtitle:hover
{
    background-color: yellow;
}
.yafnet .content .albumtable td.albumimagebox
{
        padding-bottom:0;
}
.yafnet .content .albumtable td.albumtitlebox
{
        padding-top:0;
}

.yafnet .GoToLink,
.yafnet .PopMenuLink {
	display: inline-block;
	zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
	*display: inline;
	vertical-align: baseline;

	outline: none;
	cursor: pointer;
	text-align: center;
	
    font: bold 8pt Verdana;
    color: #FFF !important;
    text-decoration: none !important;
    text-transform: uppercase;
    
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
	
	-webkit-box-shadow: 0 1px 2px rgba(255,255,255,.2);
	-moz-box-shadow: 0 1px 2px rgba(255,255,255,.2);
	box-shadow: 0 1px 2px rgba(255,255,255,.2);
	
	-webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
	
	background: #004088;
	
	margin: 0 0 0 5px;
    padding: 2px 20px 2px 6px;
}
.yafnet .GoToLink img 
{
    margin-right: -14px; /* for the links that are just images, offset the right padding added so that the image is centered */
}
.yafnet .PopMenuLink {
	background-image: url("DownArrowWhite.png");
	background-repeat: no-repeat;
	background-position: 100% 50%;
}
.yafnet .GoToLink:hover,
.yafnet .PopMenuLink:hover {
    color: #6C6 !important;
    text-decoration: none !important;
	
    -moz-box-shadow: 0 0 5px 1px #6C6;
    -webkit-box-shadow: 0 0 5px 1px #6C6;
    box-shadow: 0 0 5px 1px #6C6;
}

.yafnet .UserPopMenuLink {
    background: url("DownArrow.png") transparent no-repeat 100% 50%;
}

.yafnet .PrevTopicLink {
    background: url("LeftArrow.png") transparent no-repeat 0% 50%;
    padding-left:20px;
}

.yafnet .NextTopicLink {
    background: url("RightArrow.png") transparent no-repeat 100% 50%;
    padding-right:20px;
}




.yafnet .pagination {
    padding-top:4px;
    margin-right:2px;
}
.yafnet .pagination a, .yafnet .pagination span {
    text-decoration: none;
    background: #F5F5F5;
    border: 1px solid #444;
    -moz-border-radius: 0.4em; 
    -webkit-border-radius: 0.4em;
    border-radius: 0.4em;
    padding: 1px 3px 1px 3px;
    margin-right: 2px;
}

.yafnet .pagination .current {
    background: #446bb8;
    color: #fff;
    border: solid 1px #AAE;
}

.yafnet .pagination .current.smiliesPagerPrev, .yafnet .pagination .current.smiliesPagerNext{
    color:#999;
    border-color:#999;
    background:#fff;
}

.yafnet .Unread {
    margin-left: 2px;
    padding:2px 4px 2px 4px;
    background-color:red;
    height:20px;
    -webkit-border-radius: 0.4em;
    border-radius: 0.4em;
    box-shadow:1px 1px 1px gray;
}
.yafnet .Unread a {color:white!important;font-weight:bold!important;font-size:0.9em!important;}


.yafnet .MessageDetails 
{
    font-size: smaller;
    margin: 2em 0 0 0;
}

/* Alpha Sort Control */
.yafnet dl.AlphaSort 
{
    border:1px solid #0059B1; /* same border as table.content */
    background-color: #004088; /* same background-color as td.header2 */
} 
.yafnet dl.AlphaSort dt {padding-left:5px;padding-top:10px}
.yafnet dl.AlphaSort dt.header1 { /* same as tr.header1 */
    background: url('layout-title-bk.jpg');
    font-weight: bold;
    color: #FFF !important;
    font-size:10pt;
    height:22px;
}
.yafnet dl.AlphaSort dd { background-color: white;color:#3b3b3b;border: 1px solid #aaa}
.yafnet dl.AlphaSort .SelectedLetter {background-color: #e5e5e5;color:#3b3b3b;font-weight:bold}

.yafnet dl.AlphaSort dd:hover { background-color: #f5f5f5;color:#3b3b3b;cursor:pointer;}
.yafnet dl.AlphaSort dd:hover a { font-weight:bold}
.yafnet dl.AlphaSort dd a {color:#3b3b3b;}








/* -- Specific Modifications -- */

#divTimeNow, #divTimeLastVisit 
{
    font-size: smaller;
}
#ForumSearchDiv a.yaflittlebutton 
{
    margin-top: 8px; /* align better with the search text box */
}


/* Profile Page */
.yafnet .profileContent .ui-tabs-panel table {
    border-collapse: collapse;
    border: 1px solid #6699CC;
}


/* Poll command buttons container: appears on postmessage page when replying to a topic with a poll. Forum doesn't provide a nice style class for this. */
.yafnet .content td.command 
{
    height: 28px;
    background: #004088 url('layout-body-bk.jpg');
    color: #FFF;
}
/* Poll create/edit page */
.yafnet .YAF_Pages_polledit .content td
{
    /* No other way of adding background style to cells containing poll choice <hr /> separators */
    background-color: #AEC0CC; /* same as .post */
}
.yafnet .YAF_Pages_polledit .content td.header2 
{
    /* Make style of "Image path" field heading same as .postformheader */
    background: #AEC0CC; 
    color: black !important;
    font-weight:bold;   
}

/* Forgot Password Page */

.yafnet .YAF_Pages_recoverpassword .content td
{
    background-color: #AEC0CC; /* same as .post */
}
.yafnet .YAF_Pages_recoverpassword .content td.postheader 
{
    /* Make style of "User Name or E-Mail Address" field heading same as .postformheader */
    background: #AEC0CC; 
    color: black !important;
    font-weight:bold;   
}

/* Most Active Users Floating Sidebar */
#sidebar
{
    position: absolute;
    white-space: nowrap;
    min-width: 150px;
    padding: 0;
}
#sidebar .post
{
    padding: 0;
    margin: 0;
}
#sidebar .post .yaf_activeuser /* this element is what is shown/hidden, so we must apply the border here and ensure there is no margin */
{
    padding: 0px 10px 5px 10px;
    margin: 0;
    border: 1px solid #0059B1; /* same as table.content */
}
