/* This template is by NFX Web Design Australia
    Web Address: http://www.nfxwebdesign.com.au

    Colors
    light grey: #C2C2C2
    light light grey (content bg); #F6F6F6;
    border grey: #D2D2D2;
    */



/* Compatibility fix, margin and padding clearer */

body, h1, h2, h3, h4, form, input, p, ul, li, a, a:hover {
    padding: 0;
    margin: 0;
    border: 0;
    list-style-type: none;
    font-family: Arial;
    font-size: 12px;
    text-decoration: none;
}

body {
    background: url('../img/contentwrapperbg.gif') repeat-y center center;
}

div#floatclearer {
    clear: both;
    height: 20px;
    color: white;
}

div#contentwrapper a:hover {
    text-decoration: underline;
}

/* font content formatting */

h1, h2, h3, h4 {
    font-family: 'Trebuchet MS', sans-serif;
}

h1, h2 {
    font-size: 24px;
}

h2 {
    font-size: 20px;
}
h3 {
    font-size: 18px;
    color: #454545;
    font-weight: lighter;
}

/* styling for anything in the masthead div */

div#mastheadwrapper {
    background: black;
    color: white;
}
div#mastheadwrapper {
    background: rgb(33,31,96);
    color: white;
}

div#masthead {
    width: 785px;
    margin: 0 auto;
    height: 125px;
}

div#masthead h1 {
    font-size: 32px;
    font-weight: lighter;
    padding-top: 10px;
}

div#masthead ul#smallnav {
    float: right;
    margin-top: 5px;
}

div#masthead ul#smallnav li {
    float: left;
    padding-left: 5px;
    color: #C2C2C2;
}

div#masthead ul#smallnav li a {
    color: #C2C2C2;
    font-weight: bold;
}

div#masthead ul#smallnav li a:hover .clh {
    color: white;
}

div#masthead p.slogan {
    float: right;
    clear: right;
    margin-top: 5px;
    font-weight: bold;
}

div#masthead p.slogan a {
    color: white;
}

div#masthead ul#mainnav {
    float: left;
    margin-top: 28px;
}

div#masthead ul#mainnav li {
    float: left;
    background: white;
    text-align: center;
    font: bold 14px 'Trebuchet MS';
}

div#masthead ul#mainnav li a {
    width: 85px;
    height: 19px;
    display: block;
    background: url('../img/mainnav.gif') no-repeat top left;
    padding-top: 5px;
    color: black;
}

body.home div#masthead ul#mainnav li.home a {
    background: url('../img/mainnavcurrent.gif') no-repeat top left;
    color: black;
}

div#masthead ul#mainnav li a:hover {
    background: url('../img/mainnavhover.gif') no-repeat top left;
    color: white;
}

div#masthead div#searchbar {
    float: right;
    clear: right;
    width: 196px;
    height: 28px;
    background: white url('../img/searchbar.gif') no-repeat top left;
    margin-top: 24px;
}

div#masthead div#searchbar input {
    float: left;
    margin: 5px 0 0 10px;
    border: 1px solid #D2D2D2;
}

div#masthead div#searchbar input.button {
    float: right;
    margin: 3px 5px 0 0;
    width: 60px;
    height: 22px;
    border: 0;
    background: blue url('../img/searchbutton.gif') no-repeat top left;
    color: white;
    font-weight: bold;
    padding-bottom: 3px;
}

div#masthead h3 {
    color: #C2C2C2;
}

/* main content formatting */

div#contentwrapper {
    width: 755px;
    margin: 0 auto;
    padding-top: 20px;
}

div#maincontent {
    float: left;
    background: #F8F8F8 url('../img/maincontentbg.gif') repeat-y top left;
    width: 485px;
}

div#maincontent .first {
    background: url('../img/maincontenttopbg.gif') no-repeat top left;
}

div#maincontent .last {
    background: url('../img/maincontentbottombg.gif') no-repeat bottom left;
}




div#maincontentX {
    float: left;
    background: #F8F8F8 url('../img/maincontentbgX.gif') repeat-y top left;
    width: 754px;
}

div#maincontentX .first {
    background: url('../img/maincontenttopbgX.gif') no-repeat top left;
}

div#maincontentX .last {
    background: url('../img/maincontentbottombgX.gif') no-repeat bottom left;
}



div#contentwrapper p {
    line-height: 24px;
}

div#maincontent ul li {
    list-style-image: url('../img/listdot.gif');
    margin-left: 50px;
    line-height: 12px;
    padding-bottom: 12px;
    padding-left: 5px;
}

/* subcontent formatting */

div#subcontent {
    float: right;
}

div#subcontent p {
    padding: 0;
    padding-left: 10px;
    clear: left;
}
div#subcontent form, div#subcontent div#links  {
    margin-bottom: 20px;
    width: 252px;
    background: url('../img/subcontentbg.gif') repeat-y top left;
}

div#subcontent form, div#subcontent div#notice {
    margin-bottom: 20px;
    width: 252px;
    background: url('../img/subcontentbg.gif') repeat-y top left;
}

div#subcontent form, div#subcontent div#donate {
    margin-bottom: 20px;
    width: 252px;
    background: url('../img/subcontentbg.gif') repeat-y top left;
}

div#subcontent form, div#subcontent div#blogside {
    margin-bottom: 20px;
    width: 252px;
    background: url('../img/subcontentbg.gif') repeat-y top left;
}
div#subcontent form input {
    border: 1px solid #D2D2D2;
}

div#subcontent form input.button {
    border: 0;
    background: url('../img/loginbutton.gif') no-repeat top left;
    float: right;
    margin-right: 5px;
    padding-bottom: 3px;
    height: 22px;
    width: 59px;
    font-weight: bold;
    color: white;
}

div#subcontent form p.login {
    width: 200px;
    padding-left: 30px;
    height: 30px;
    line-height: 15px;
}

div#subcontent form p strong {
    float: left;
    clear: left;
}

div#subcontent form p input {
    float: right;
    clear: right;
}

div#subcontent h2 {
    padding-bottom: 10px;
}

div#subcontent h2.first {
    background: url('../img/subcontenttopbg.gif') no-repeat top left;
}

div#subcontent p.last {
    background: url('../img/subcontentbottombg.gif') no-repeat bottom left;
}

div#subcontent p.forgotpass {
    float: left;
}

div#subcontent ul li {
    list-style-image: url('../img/listdot.gif');
    margin-left: 50px;
    line-height: 12px;
    padding-bottom: 12px;
    padding-left: 5px;
}

div#subcontent p.last, div#subcontent div#links p.last {
    color: white;
    height: 10px;
    padding: 0;
}

div#subcontent p.last, div#subcontent div#notice p.last {
    color: white;
    height: 10px;
    padding: 0;
}

div#subcontent p.last, div#subcontent div#donate p.last {
    color: white;
    height: 10px;
    padding: 0;
}

div#subcontent p.last, div#subcontent div#blogside p.last {
    color: white;
    height: 10px;
    padding: 0;
}

div#subcontent div#links p {
    padding: 10px 10px;
}

div#subcontent div#notice p {
    padding: 10px 10px;
}

div#subcontent div#donate p {
    padding: 10px 10px;
}

div#subcontent div#blogside p {
    padding: 10px 10px;
}

/* site wide content formatting */

h1, h2 {
    padding-top: 5px;
    padding-left: 10px;
}

h3 {
    padding-left: 10px;
}

p {
    padding-top: 5px;
    padding-left: 10px;
    padding-right: 15px;
    padding-bottom: 10px;
}


div#footer {
    clear: both;
    border-top: 1px solid #D2D2D2;
}

div#footer p {
    float: left;
}

div#footer p.nfx {
    float: right;
}

