/* General */

#cp
{
    font-family: arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #444;
    background-color: #fff;
    width: 1016px;
    height: 0;
    margin: auto;
    padding: 0;
}

#cp a
{
    color: #F0AF13;
    background-color: #fff;
    text-decoration: underline;
}

#cp nav ul
{
    list-style: none;
    margin: 0;
    padding: 0;
}

#cp #page
{
    margin: 0 0 0 16px;
}

/* Header */

#cp header
{
    display: block;
    clear: both;
    height: 90px;
    margin-bottom: 20px;
    border-bottom: 1px solid #d4d4d4;
    text-align: center;
}

#cp header #logo
{
    float: left;
}

/* User nav */

#cp header #user_nav
{
    float: right;
    color: #feb202;
    background-color: #fff;
    font-weight: bold;
    font-size: 1.2em;
}

#cp header #user_nav a
{
    color: #015c99;
    background-color: #fff;
    font-size: 0.8em; /* em is a size measurement relative to the element's parent */
}

#cp header #user_nav .message
{
    color: #444;
    background-color: #fff;
    font-weight: normal;
    font-size: 0.8em;
}

#cp nav
{
    text-align: left;
} 

#cp nav a
{
    display: inline-block;
    color: inherit;
    background-color: inherit;
    text-decoration: none;
}

#cp span.triangle
{
    display: inline-block;
    width: 0; 
    height: 0;
    border-top: 12px solid #04304e;
    border-left: 12px solid transparent; 
    border-right: 12px solid transparent;
}

/* Sidebar */

#cp aside
{
    float: left;
    clear: left;
    width: 200px;
    position: relative;
        top: 50px;
}

/* Sidebar Menu */

#cp #mainmenu ul li a
{
    width: 188px;
    color: #fff;
    background-color: #aaa;
    text-align: left;
    margin: 5px 0 0 0;
    padding: 10px 0 10px 5px;
}

#cp #mainmenu ul li a.selected
{
    width: 195px;
    color: #fff;
    background-color: #015c99;
    font-weight: bold;
}

#cp #mainmenu ul li a:hover
{
    width: 195px;
    font-weight: bold;
}

/* Sidebar Recommended Menu */

#cp #recommended
{
    border-top: 3px solid #04304e;
    border-bottom: 3px solid #04304e;
    border-left: 1px solid #04304e;
    border-right: 1px solid #04304e;
    border-radius: 3px;
    width: 191px;
    float: left;
    margin: 20px 0 0 0;
    padding-bottom: 8px;
    behavior: url(css/PIE.htc);/* Makes border-radius work in IE < 8 */
}

#cp #recommended p
{
    margin: 0;
    padding: 8px;
    color: #fff;
    background-color: #04304e;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
}

#cp #recommended span.triangle
{
    position: relative;
        left: 45px;
}

#cp #recommended ol li
{
    width: 140px;
    margin-top: 20px;
    padding: 0;
    color: #04304e;
    background-color: #fff;
    text-align: left;
    font-weight: bold;
    font-size: 1em;
}

/* Submenu */

#cp #submenu
{
    margin: 0;
    padding: 0;
    text-align: left;
}

#cp #submenu li
{
    display: inline;
}

#cp #submenu a
{
    position: relative;
        left: 20px;
    display: inline-block;
    border: 2px solid #a8a8a8;
    border-radius: 4px;
    height: 40px;
    margin: 0 10px 0 0;
    padding: 5px 8px 5px 8px;
    color: #a8a8a8;
    background-color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    behavior: url(css/PIE.htc);/* Makes border-radius work in IE < 8 */
}

#cp #submenu a:link
{
    color: #a8a8a8;
    background-color: #fff;
}

#cp #submenu a:hover
{
    border: 2px solid #015c99;
    color: #015c99;
    background-color: #fff;
}

#cp #submenu a.selected
{
    border: 2px solid #015c99;
    color: #015c99;
    background-color: #F0AF13;
    z-index: 1;
}

#cp #submenu a img
{
    border: none;
}

/* Main content */

#cp #content
{
    float: left;
    position: relative;
            top: -25px;
    width: 770px;
    min-height: 500px;
    border: 2px solid #015c99;
    border-radius: 7px;
    margin: 0;
    padding: 35px 5px 5px 5px;
    color: #444;
    background-color: #fff;
    font-family: arial,Helvetica,sans-serif;
    font-size: 12px;
    behavior: url(css/PIE.htc);/* Makes border-radius work in IE < 8 */
}

#cp #content a:link
{ 
    color: #0000FF;
    background-color: inherit;
}

#cp #content a:visited
{ 
    color: #800080;
    background-color: inherit;
}

/* Collapsible panels */

#content .collapsible
{
    border: 1px solid #015c99;
}

#content .collapsible-header
{
    color: #fff;
    background-color: #015c99;
    cursor: pointer;
}

#content .collapsible-content
{
    padding: 10px;
}

/* footer */

#cp footer
{
    width: 1016px;
    float: left;
    clear: both;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid #d4d4d4;
    text-align: center;
}
