    /*----------------------------------------
    Main stylesheet for: PHP Ninja
    Author: Libby Chapman
    Email: Libby@simb.com.au
    Author website: http://www.simb.com.au
    ----------------------------------------*/ 
    
    /*----------------------------------------  
    Colour Master List
    
    Main headings/teal: #447182;
    Sub heading (h2): #213840;
    Orange: #d95d26;  
    Body text: #141112;
    Brown (sidebar text): #5d3120; 
    ----------------------------------------*/ 

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td 
{
    border: 0;
    font-family: inherit;
    font-style: inherit;
    font-weight: inherit;
    line-height: normal;                
    margin: 0;
    outline: 0;     
    padding: 0;
    vertical-align: baseline;
}
    
html
{
    background: url(../images/outer.jpg) top left repeat;      
}

body 
{    
    color: #141112;
    font: 0.9em/1.4em Verdana, Helvetica, Arial, sans-serif;
    width: 984px;
    margin: 0 auto;         
}

.left
{
    float: left;
    padding-right: 6px;
}

.topspace
{
    padding-top: 6px;
}

.right
{
    float: right;
    padding-left: 6px;
}

.alignRight
{
    text-align: right;
}

.center
{
    text-align: center;
}

h1, h2, h3, h4, p
{
    line-height: 1.2em;
    padding-bottom: .2em; 
}

p
{
    line-height: 1.5em; 
    padding-bottom: 0.8em;     
} 

h1
{
    color: #447182;
    font-size: 1.6em;     
    font-weight: bold;
}

h2, h3, h4  
{
    color: #213840;
    font-size: 1.3em;    
    font-weight: bold;    
}

h3, h4
{
    color: #2d5ca6;
    font-size: 1.2em;       
    font-weight: bold;
    padding-top: 0.4em;    
}

    #sidebar h3
    {
        color: #d95d26;
    }

ul
{
    list-style-type: none;
    list-style-image: none;
    padding-left: 2em;  
}

li
{
    background: url(../images/star3-trans.png) top left no-repeat;
    background-position:  0 0.4em; 
    padding: 0 0 0.5em 24px;   
}     

a
{
    border-bottom: 1px dashed;
    color: #447182; 
    outline: none;     
    text-decoration: none;
}

    a:hover
    {
        color: #17546b;
    }
     


/* Layout ----------------------------------------  */     
#wrapper
{
    position: relative;
}
    
#header
{
    background: url(../images/header-trans.png) bottom left no-repeat;
    clear: both;     
    height: 220px;
    padding: 0 20px;   
}

    #header .phpNinja
    {
        padding-left: 194px;
    }
    
    #header a
    {
        border: none;
    }

#content
{
    background: url(../images/inner_background-trans.png) top left repeat-y;     
    padding: 20px 40px; 
}

#main
{
    width: 595px;
    min-height: 300px;
}

#sidebar
{
    color: #5d3120;
    font-size: 0.9em;
    position: absolute;
    top: 250px;
    right: 40px;
    width: 270px;      
}

    #sidebar a
    {
        color: #c44f0f;
    }
    
    #sidebar a:hover
    {
        color: #a20f0f;
    }
    
    .feature
    {
        background-color: #f9f4eb;
        margin-top: 20px;
        padding: 0 10px 10px 10px;
        width: 250px;
        border: 1px dashed #c44f0f;        
    }

.clear
{
    clear: both;
    display: block;
    height: 0;
    width: 100%;
}
   
/* Navigation ----------------------------------------  */
 
#nav
{   
    position: absolute;
    top: 21px;
    right: 41px;
    text-align: right;    
}

#nav ul
{   
    list-style-image: none;
    list-style-type: none;
    margin: 0;
    padding: 0;  
}

    #nav ul li
    {
        background: none;
        float: left;
        list-style-image: none;
        list-style-type: none; 
    }
    
    #nav ul li a
    {             
        color: #fff;
        font-weight: bold;             
        text-decoration: none;
        line-height: 2em;  
        padding: 0.5em;
        border: 1px solid #fff;
        border-top: 0;
        border-color: transparent; 
        font-size: 0.86em;                                    
    }
    
        #nav a:hover, #home #nav_home, #about #nav_about, #contractors #nav_contractors, #contact #nav_contact
        {
            background: url(../images/nav_bk-trans.png) top left repeat; 
            border: 1px solid #fff;
            border-top: 0;                   
        } 