/* $Id: web.css 290 2010-10-13 16:26:53Z mrj $ */
/*

    CSO Compass colors:

        black   rgb( 35,  31,  32)  #231F20
        yellow  rgb(255, 198,  41)  #FFC629
        red     rgb(230,  67,  37)  #E64325
        green   rgb(101, 188,  73)  #65BC49
        blue    rgb( 56, 164, 202)  #38A4CA
        purple  rgb( 63,  92, 170)  #3F5CAA

*/

/*

    Major divs on the page:

        PageHeader       -- contains image, logo, company name and tag line; bottom 5px are black
        NavMenu          -- contains nav menu and has red to green gradient in bottom 10px
        ContentContainer -- just contains the following
            LeftBar
            RightBar
            PageContent
        PageFooter       -- contains links and copyright

*/

/*

    Other Notes:

        1) It appears to be important to make the overall width of the page an odd number.  There
           appear to be rounding issues if the width is an even number.

*/

a, div {
    zoom: 1;
}

@media screen {

    body {
        height: 100%;
        margin: 0 auto;
        padding: 0 0 0 0;
        border-width: 0 5px 0 5px;
        background-image: url(../images/background.png);
        background-repeat: repeat-y;
        background-position: top center;
        background-color: transparent;
    }

    body,td,th {
        font-family: Verdana, Geneva, sans-serif;
        font-size: 14px;
        color: #000;
    }

    /* We're set up for a page width of 1000 pixels.  The top 205 pixels are occupied
       by the header and page navigation menu.  The content are is divided into a
       left panel, a center content area and a right panel.  The footer follows all of this.
    */

    #PageHeader {
        background-color: rgb(35, 31, 32); /* our almost black */
        background-image: url(../images/CSO_Banner_w_Logo.jpg);
        background-repeat: no-repeat;
        background-position: top center;
        height: 105px;
        width: 999px;
        margin: 0 auto;
    }

    #Header {
        display: none;
    }

    #TagLine {
        margin: 0 0 0 0;
        padding: 64px 0 0 0;
        color: rgb(255, 198, 41); /* our yellow */
        font-size: 14px;
        font-weight: bold;
        text-align: center;
    }

    /* This is the CSO public space navigation bar.  It is filled in using
       the navigation-bar user macro.  The margin values appear to be a
       little off in the CSS below.  If they were 0 250 0 150 as expected
       there is a small gap on the left side.  The extra two pixels is to
       accommodate this oddity.
    */
    #NavMenu {
        height: 45px;
        width: 999px;
        background-color: rgb(101,188,73); /* our green */
        background-image: url(../images/gradient.png);
        background-repeat: no-repeat;
        background-position: bottom left;
        margin: 0 auto;
        text-align: center;
        font-size: 15px;
        line-height: 25px;
        color: rgb(35, 31, 32); /* almost black */
    }
    html>body #NavMenu {
        height: 40px;
    }

    /* Override the normal color of links in the navigation bar.
    */
    #NavMenu a {
        color: rgb(35, 31, 32); /* almost black */
        font-weight: bold;
    }

    /* For feedback we bold the text a little when focus is on that menu item.
    */
    #NavMenu a:hover {
        color: rgb(63, 92, 170);
    }

    .csoMenu {
        margin: 0;
        padding: 0;
        z-index: 30;
    }

    .csoMenu li {
        margin: 0;
        padding: 0;
        list-style: none;
        float: left;
    }

    .csoMenu li a {
        display: block;
        padding: 0px 10px;
        color: rgb( 35, 31, 32); /* black */
        text-decoration: none;
    }

    .csoMenu li a:hover {
        color: rgb(63, 92, 170); /* our purple */
    }

    .csoMenu div {
        position: absolute;
        display: none;
        margin: 0;
        padding: 0;
        background: rgb(101, 188, 73); /* green */
    }

    .csoMenu div a {
        position: relative;
        display: block;
        margin: 0;
        padding: 5px 10px;
        width: auto;
        white-space: nowrap;
        text-align: left;
        text-decoration: none;
        color: rgb(35, 31, 32); /* black */
    }

    .csoMenu div a:hover {
        color: rgb(63, 92, 170); /* purple */
    }

    /*  The margin-top below is to keep the page content below the navigation.
        The border-top attribute overrides Confluence.
    */
    #ContentContainer {
        width: 999px;
        margin: 0 auto;
        /* color: rgb(35, 31, 32); /* almost black */
    }
    html>body #ContentContainer {
        width: 999px;
    }

    h1, h2, h3, h4, h5, h6 {
        color: rgb(63, 92, 170); /* our purple */
        display: block;
        margin-top: 5px;
    }

    h1 {
        font-size: 14pt;
    }

    h2 {
        font-size: 12pt;
        font-weight: bold;
    }

    h3 {
        font-size: 12pt;
    }

    h4 {
        font-size: 8pt;
        font-weight: bold;
    }

    h5 {
        font-size: 8pt;
    }

    h6 {
        font-size: 8pt;
    }

    .clearBoth {
        clear: both;
    }

    #navTable {
        border: 0px;
    }

    #navTable td  {
        border: 0px;
        padding: 5px;
        vertical-align: top;
    }

    #LeftBar {
        display: block;
        float: left;
        width: 10px;
        background-color: rgb(230, 67, 37); /* our red */
        color: white;
    }
    html>body #LeftBar {
        width: 10px;
    }

    #PageContent {
        width: 689px;
        background-color: transparent;
        margin: 10px 300px 10px 30px;
    }
    html>body #PageContent {
        width: 649px;
    }

    #RightBar {
        display: block;
        float: right;
        width: 300px;
        padding: 0px 40px;
        background-color: rgb(35, 31, 32);  /* almost black */
        color: white;
    }
    html>body #RightBar {
        width: 219px;
    }

    #RightBar h1 {
        color: rgb(101, 188, 73); /* our green */
        margin-top: 5px;
    }

    #RightBar a {
        color: #FFF;
    }

    #RightBar td, #RightBar th {
        color: white;
    }

    #RightTop {
        width: 200px;
    }

    #RightMain {
        width: 200px;
    }

    #RightBottom {
        position: absolute;
        bottom: 5px;
    }

    .imageUpperLeft {
        float: left;
        padding: 0px 10px 10px 0px;
    }

    .imageLeft {
        float: left;
        padding: 10px 10px 10px 0px;
    }

    .imageLowerLeft {
        float: left;
        padding: 10px 10px 0px 0px;
    }

    .imageUpperRight {
        float: right;
        padding: 0px 0px 10px 10px;
    }

    .imageRight {
        float: right;
        padding: 10px 0px 10px 10px;
    }

    .imageLowerRight {
        float: right;
        padding: 10px 0px 0px 10px;
    }

    .selector a img {
        border: 0px;
    }

    .contactTable, .contactTable th, .contactTable td {
        border: 1px solid #ccc;
        padding: 5px;
        border-collapse: collapse;
    }

    .contactTable th {
        vertical-align: middle;
    }

    .contactTable td {
        vertical-align: top;
    }

    .dateBar {
        background-color: #CCC;
        padding: 10px 20px 10px 20px;
        margin: 20px 0px 20px 0px;
    }

    #PageFooter {
        height: 40px;
        width: 689px;
        padding: 5px 0;
        margin: 0 0 0 10px;
        font-size: 15px;
        color: rgb(35, 31, 32); /* almost black */
        text-align: center;
        background: #F0F0F0 none repeat scroll 0 0;
    }
    html>body #PageFooter {
        width: 649px;
        height: 40px;
        padding: 0 20px;
    }

    #Footer {
        width: 450px;
        margin: 0 auto;
    }

    /* Override the normal color of links in the navigation bar.
    */
    #Footer a {
        color: rgb(35, 31, 32); /* almost black */
        font-weight: bold;
    }

    #Footer a:hover {
        color: rgb(63, 92, 170);
    }

    #Copyright {
        font-size: 10px;
        margin: 0px auto;
        clear: left;
    }

    .warning {
        color: rgb(230, 67, 37);
    }

    form .warning {
        font-size: 10px;
    }

    form table, form table th, form table td {
        border: 1px solid #ccc;
        padding: 5px;
        border-collapse: collapse;
        vertical-align: top;
    }

    sup {
        font-weight: normal;
        font-size: 60%;
    }

}

@media handheld {

    body {
        height: 100%;
        margin: 0 auto;
        padding: 0 0 0 0;
        border-width: 0 5px 0 5px;
        background-color: transparent;
    }

    body,td,th {
        font-family: Verdana, Geneva, sans-serif;
        color: #000;
    }

    /* We're set up for a page width of 1000 pixels.  The top 205 pixels are occupied
       by the header and page navigation menu.  The content are is divided into a
       left panel, a center content area and a right panel.  The footer follows all of this.
    */

    #PageHeader {
    }

    #Header {
        color: rgb(35, 31, 32); /* almost black */
        font-size: 18px;
        font-weight: bold;
        text-align: center;
    }

    #TagLine {
        color: rgb(255, 198, 41); /* our yellow */
        font-size: 14px;
        font-weight: bold;
        text-align: center;
    }

    /* This is the CSO public space navigation bar.  It is filled in using
       the navigation-bar user macro.  The margin values appear to be a
       little off in the CSS below.  If they were 0 250 0 150 as expected
       there is a small gap on the left side.  The extra two pixels is to
       accommodate this oddity.
    */
    #NavMenu {
        background-color: rgb(101,188,73); /* our green */
        font-size: 15px;
        color: rgb(35, 31, 32); /* almost black */
    }
    html>body #NavMenu {
    }

    /* Override the normal color of links in the navigation bar.
    */
    #NavMenu a {
        color: rgb(35, 31, 32); /* almost black */
        font-weight: bold;
    }

    /* For feedback we bold the text a little when focus is on that menu item.
    */
    #NavMenu a:hover {
        color: rgb(63, 92, 170);
    }

    .csoMenu {
        margin: 0;
        padding: 0;
        z-index: 30;
    }

    .csoMenu li {
        margin: 0;
        padding: 0;
        list-style: none;
        float: left;
    }

    .csoMenu li a {
        display: block;
        padding: 0px 10px;
        color: rgb( 35, 31, 32); /* black */
        text-decoration: none;
    }

    .csoMenu li a:hover {
        color: rgb(63, 92, 170); /* our purple */
    }

    .csoMenu div {
        position: absolute;
        display: none;
        margin: 0;
        padding: 0;
        background: rgb(101, 188, 73); /* green */
    }

    .csoMenu div a {
        position: relative;
        display: block;
        margin: 0;
        padding: 5px 10px;
        width: auto;
        white-space: nowrap;
        text-align: left;
        text-decoration: none;
        color: rgb(35, 31, 32); /* black */
    }

    .csoMenu div a:hover {
        color: rgb(63, 92, 170); /* purple */
    }

    /*  The margin-top below is to keep the page content below the navigation.
        The border-top attribute overrides Confluence.
    */
    #ContentContainer {
        /* color: rgb(35, 31, 32); /* almost black */
    }
    html>body #ContentContainer {
    }

    h1, h2, h3, h4 {
        font-weight: bold;
        color: rgb(63, 92, 170); /* our purple */
        display: block;
        margin-top: 5px;
    }

    h1 {
        font-size: 18pt;
    }

    h2 {
        font-size: 14pt;
    }

    h3 {
        font-size: 12pt;
    }

    h4 {
        font-size: 10pt;
    }

    #LeftBar {
        display: none;
    }
    html>body #LeftBar {
    }

    #PageContent {
        background-color: transparent;
    }
    html>body #PageContent {
    }

    #RightBar {
        display: none;
    }
    html>body #RightBar {
    }

    #PageFooter {
        padding: 5px 0;
        font-size: 15px;
        color: rgb(35, 31, 32); /* almost black */
        text-align: center;
        background: #F0F0F0 none repeat scroll 0 0;
    }
    html>body #PageFooter {
    }

    #Footer {
    }

    /* Override the normal color of links in the navigation bar.
    */
    #Footer a {
        color: rgb(35, 31, 32); /* almost black */
        font-weight: bold;
    }

    /* For feedback we bold the text a little when focus is on that menu item.
    */
    #Footer a:hover {
        color: rgb(63, 92, 170);
    }

        #Copyright {
            font-size: 10px;
        }

}
