body{
    background:url(images/headerBG.png) top left repeat-x #f9f7ed;
    text-align:center;
    font: .9em arial, verdana, 'Lucida Grande', sans-serif;
    color:#333;
    position:relative !important;
    z-index:999 !important;
}

p, ul{
    line-height:1.5em;
    padding:0 0 15px 0;
}

h2 a:hover{
    color:#142b58;
}

a{
    color:#D87800;
}

a:hover, h2 a{
    color:#334A6A;
}

.gallery{
margin: 0 0 20px;
}

.fancybox img{ 
padding: 3px;
background: #eee;
border: 1px solid #ccc;
margin: 0 10px 0 0; 
}

.fancybox img:hover{
background: #ddd;
border-color: #c0c0c0;
}

h2, h2 a{
    font:1.2em "Century Gothic", Raavi, sans-serif;
    margin-bottom:15px;
    letter-spacing:.1em;
    position:relative;
    z-index:1;
}

h3{
    font-weight: 600;
    color: #D87800;
    margin: 10px 0 5px 0 !important;
    font-family: arial, verdana, georgia;
    font-size: 1.3em;
}

h4{
    font-weight: 600;
}

#topNavigation{
    float:right;
    font-size:16px;
    margin:-23px 0 0;
    width:438px;
    /*Position relative and z-index force the topNav dropdowns to sit on top of all other content.*/
    position:relative;
    z-index:100;
}

#topNavigation li{
    position:relative;
    display:inline;
    float:left;
    white-space:nowrap;
    cursor:pointer;
    padding-top:1px !important;
}

#topNavigation li:hover a{
    color:#f9f7ed;
}

#topNavigation li a, #topNavigation li:hover div a{
    color:#D87800;
}

.hasSubNav a{
    margin:0 !important;
    padding-right:2px !important
}

.hasSubNav span img{
    position:relative;
    top:-2px;
    width:9px;
    height:5px;
    background:url(images/dropdownNavArrow.gif) top center no-repeat #f9f7ed;
    background-position:0 0;
}

.hasSubNav a:hover span img{
    background-position:-9px 0 !important;
}

.articles{
    position:relative;
    z-index:300;
    width:104px;
    height:30px;
    background:url(images/tabSprite.png) no-repeat transparent;
    background-position:-8px 0;
}

.articles:hover{
    background-position:-8px -34px;
}

.articles a{
    margin-left:15px !important;
}

.articles ul li a{
    margin:0 !important;
}

.training{
    position:relative;
    margin-left:-17px;
    z-index:280;
    width:104px;
    height:30px;
    background:url(images/tabSprite.png) no-repeat transparent;
    background-position:-240px 0;
}

.training:hover{
    background-position:-240px -34px;
}

.training a{
    margin-left:20px !important;
}

.application{
    position:relative;
    margin-left:-18px;
    z-index:270;
    position:relative;
    width:142px;
    height:30px;
    background:url(images/tabSprite.png) no-repeat transparent;
    background-position:-355px 0;
}

.application:hover{
    background-position:-355px -34px;
}

.application a{
    margin-left:20px !important;
}

.application ul li a{
    margin:0 !important;
}

.join{
    position:relative;
    margin-left:-25px;
    z-index:250;
    width:75px;
    height:31px;
    background:url(images/tabSprite.png) no-repeat transparent;
    background-position:-505px 0;
}

.join:hover{
    background-position:-505px -34px;
}

.join a{
    margin-left:25px;
    color:#fff !important;
}

.join a:hover, .login a:hover{
    color:#E7E6DF !important;
}

.login{
    position:relative;
    margin-left:-17px;
    z-index:240;
    width:89px;
    height:31px;
    background:url(images/tabSprite.png) no-repeat transparent;
    background-position:-600px 0;
}

.login:hover{
    background-position:-600px -34px;
}

.login a{
    margin-left:25px;
    color:#fff !important;
}

#topNavigation li div, #topNavigation li ul{
    font-size:.9em;
}

#topNavigation li div ul{
    float:left;
    width:130px;
}

#topNavigation li div ul li{
    display:block;
    border-bottom:1px solid #f9f7ed;
    margin-bottom:5px;
    clear:both;
}

#topNavigation li div ul li a{
    padding:0;
    white-space:nowrap;
    background:none;
}

#topNavigation li div ul li a:hover{
    background:#fff !important;
    color:#777;
}

#topNavigation li div ul li:hover{
    border-bottom:dashed 1px #666 !important;
}

#topNavigation li div{
    display:none;
}

#topNavigation li:hover div{
    display:block;
    position:absolute;
    top:27px;
    left:8px;
    float:left;
    background:url(images/transparentNavBG.png) top left repeat;
    border:2px solid #D87800;
    padding:8px;
}

#topNavApplicationNavigation{
    left:-60px !important;
    width:260px;
}

p.byline{
    font-size:.9em;
    padding:0 0 10px 0;
}

#contentWrap, #footer{
    width:850px;
    margin:0 auto;
}

#logoImage h1, #communityCharactersImage h2,
#communityHomeArticle p.wp-caption-text, #communityHomeArticle img,
#communityHomeArticle div.wp-caption, #communityHomeArticle p.byline,
.displayNone{
    display:none;
}

#communityHomeArticle h2:hover a{
    color: #D87800;
}


#logoImage{
    width:260px;
    height:38px;
    position:relative;
    left:-62px;
    background:url(images/communityHeaderHPLogo.gif) top left no-repeat transparent;
    padding-bottom:15px;
}

#communityCharactersImage{
    width:357px;
    height:97px;
    position:relative;
    left:-40px;
    background:url(images/communityHeaderCharacters.png) top left no-repeat transparent;
    padding-bottom:35px;
    float:left;
}

#communityHomeThumbnails{
    width:600px;
    height:520px;
    float:left;
}

#container{
    width:600px;
    float:left;
}

.entry-meta{
    font-size: 10px;
    clear: both;
}

small{
font-size: 10px;
line-height: 1.4em;
}

#container div.entry-content{
    margin:10px 10px 0 0;
}

#container div.entry-content ol{
    list-style:decimal inside;
}

#container div.entry-content ol li{
    padding-bottom:3px;
    font-size:1em;
}

#container div.entry-content ul{
    list-style:disc;
}

#container div.entry-content ul li{
    margin:5px 0 5px 22px;
    color:#444;
}

#container h2{
    padding:30px 0 5px 0;
}

#commentform #author, #commentform #email, #commentform #url, #commentform textarea {
border:1px solid #ccc;
}

.entry-title, #sidebarHeader{
    height:50px;
    padding-top:0 !important;
    padding-bottom:0 !important;
}

#sidebarHeader{
    position:relative;
    left:-50px;
    width:195px;
    padding-left:50px;
    white-space:nowrap;
}

#communityHomeThumbnails div.image{
    float:left;
    width:180px;
    height:160px;
    margin:0 15px 15px 0;
}

#communityHomeThumbnails div.image img{
    border:2px solid #6E9ABD;
    padding:3px;
    width:180px;
}

#communityHomeThumbnails p{
    padding:0;
    line-height:1.25em;
}

#communityHomeThumbnails div.image img:hover{
    border:2px solid #D87800;
}

#communityHomeThumbnails div.entry-summary{
    margin:5px 0 0 5px;
    color:#334A6A;
}

#communityHomeArticle{
    float:left;
    width:250px;
}

.wp-caption p.wp-caption-text{
    color:#555;
    font-size:.8em;
    line-height:1.2;
    font-weight:400;
    padding:7px 0 7px 5px !important;
}

.wp-caption, .referenceBlock, .category-training img{
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.referenceBlock{
    background:#eee;
    border:3px solid #E7E6DF;
    padding:5px;
    margin:5px 10px;
    width:80%;
}

/* ==========================
Styles for Training pages
========================== */

.help{
    color:#D87800;
    font-size:.8em;
    clear:both;
    padding:10px 0;
}

.category-training hr{
    border-top:2px solid #E7E6DF;
    margin:20px 0;
}

.category-training img{
    margin:10px;
    background:#eee;
    border:3px solid #E7E6DF;
    padding:5px;
}

.wp-caption img {
    margin:0 0 0 4px;
    border:1px solid #E7E6DF;
    padding:0;
}

/* ==================
Sidebar styles
==================== */

#sidebar{
    float:left;
    width:195px;
    height:600px;
    padding-left:50px;
    background:url(images/sidebarLine.png) top left no-repeat transparent;
    background-position:0 60px;
}

#sidebar p{
    font-size:.9em;
    padding:0 0 18px 0;
}

.joinButton a img{
    background:url(images/sidebarJoinBeta.png) top center no-repeat transparent;
    background-position:0 0;
    width:195px;
    height:35px;
    margin:10px 0 15px -5px;
}

.joinButton a img:hover{
    background-position:-195px 0;
}

/* ==================
Footer styles
==================== */

#footer{
    clear:both;
    background:#E7E6DF;
    width:99.99%;
    position:relative;
    top:40px;
    border: 2px solid #C3C2BC;
    border-left: 0;
    border-right: 0;
}

.footerCenter{
    margin:0 auto !important;
    width:800px;
    border-left: 1px solid #C3C2BC;
    padding: 10px 0 0 10px;
}
