/* Fix for scrollbar centering bug. */
html
{
    overflow: -moz-scrollbars-vertical ! important
}

html, body
{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    font-size: 11pt ! important;
}

body
{
    width: 850px;
    margin: 0 auto;
    position: relative;
}

form.button-to, form.button-to div
{
    display: inline;
}

h1
{
    font-size: 20pt;

    margin: 0;
    padding: 1em 0.5em 1em;
}

h2
{
    font-size: 1.5em;
}

h2.name
{
  font-size: 1.25em;
}

h3
{
    font-size: 1.1em;
}

#basic_information
{
    border-bottom: 2px solid rgb( 30,90,151 );
    border-top: 2px solid rgb( 30,90,151 );

    background-image: url( '/images/index_picture.jpg' );

    height: 200px;
}

#basic_information #left_information
{
    border-top: 1px solid white;
    border-bottom: 1px solid white;

    position: relative;

    margin: 0;
    padding: 0;

    width: 245px;
    height: 198px;
    float: left;

    background-color: rgb(0,72,148);
}

#left_information h2, #left_information h3
{
    margin: 0;
    padding: 0 10px;
    
    text-align: center;

    color: white;

    font-family: 'Palatino Linotype', 'URW Palladio L', serif;
}

#left_information h2
{
    font-size: 15pt;
    line-height: 1.1em;
}

#left_information h3
{
    font-size: 12pt;
}

#basic_information #picture
{
    border-bottom: 1px solid white;
    border-top: 1px solid white;

    height: 198px;
    width: 605px;

    margin: 0;
    padding: 0;
    float: left;
}

#basic_information #quote
{
    display: block;
    position: absolute;
    bottom: 0;

    font-size: 10pt;
    
    color: white;
    padding-left: 0.5em;
    padding-bottom: 0.5em;

    width: 230px;
}

#basic_information #quote span.author
{
    display: block;
    text-align: right;
}

#basic_information #quote span.author:before
{
    content: "-- ";
}

#body_container
{
    position: absolute;
    height: 100%;
}

#header
{
    height: 84px;
    text-align: center;
    color: white;
    font-family: 'Bitstream Vera Sans', Verdana, sans-serif;

    background-image: url( '/images/index_header.png' );
    background-repeat: no-repeat;
    background-color: rgb( 0, 65, 125 );

    border-bottom: 1px solid white;

    position: relative;
}

#header h1
{
    display: none;
}

#header a#home_link
{
    position: absolute;
    left: 0;
    top: 0;
    height: 84px;
    width: 400px;

    text-decoration: none; /* no floating underline in IE */
}

#main_content, #sidebar
{
    float: left;
}

#sidebar
{
    width: 180px;
}

#main_content
{
    background-image: url( '/images/faux_background_main.png' );
    background-repeat: repeat-y;
    border-right: 1px solid rgb(0,22,42);
    border-left: 1px solid rgb(0,22,42);
    width: 100%;

    background-color: rgb(191,208,223);
}

#content
{
    padding: 0 25px 25px 195px;
}

#footer
{
    clear: both;

    font-size: 10pt;
    text-align: center;

    background-color: black;
    color: white;
}

#user_info, #user_login
{
    position: absolute;
    right: 1em;
    top: 0;
    margin: 0.5em 0;
}

#user_info
{
    padding: 4px;
    border: 1px dashed black;
    background-color: rgb(200,200,200);
}

#user_login label
{
    text-align: left;
    width: 6em;
    float: left;
}

#user_login div.form_line
{
    color: white;
    padding: 2px 0 1px 4px;
    text-align: right;
}

#user_login input
{
    width: 10em;
    font-size: 8pt;
    padding: 0;
}

#user_login div.form_line input
{
    border: 1px dotted black;
    padding-left: 2px;
    margin-right: 4px;
}

#user_login div.form_buttons
{
    padding-right: 4px;
    text-align: right;
}

#user_login div.form_buttons input
{
    border: 1px solid white;
    background-color: white;
    color: black;
    width: auto;
    height: 2em;
    margin-top: 0.5em;
}

#message, #error
{
    margin-bottom: 0;
    padding-bottom: 0.5em;
}

#message
{
    color: rgb(0,150,0);
}

#error
{
    color: rgb(150,0,0);
}

ul.menu
{
    margin: 0px 0px 0px 0px;
    padding: 0px;

    height: 31px;

    border-top: 1px solid white;

    clear: both;
}

ul.menu li
{
    width: 170px;
    height: 31px;

    float: left;

    margin: 0;
    padding: 0;

    list-style-type: none;
}

ul.menu li a
{
    display: block;
    height: 31px;

    text-align: center;
    line-height: 31px;

    border-right: 1px solid rgb(0,22,42);

    color: white;

    font-size: 12pt;

    text-decoration: none;

}

/* We apply this to both in case we have less lis than there is space across the
 * page, but at the same time we need to apply it to the a element so IE will
 * behave appropriately.
 */
ul.menu, ul.menu li a
{
    background-image: url( '/images/index_menu_background.png' );
    background-repeat: repeat;
}

ul.menu li a:hover
{
    background-image: url( '/images/index_menu_hover_background.png' );
}

ul.menu li a.current
{
    background-image: url( '/images/index_menu_current_background.png' );
    color: rgb(191,208,223);
}


ul.side_menu
{
    list-style-type: none;
    float: left;
    padding: 0 0 0.25em;
    margin: 0;
}

ul.side_menu li
{
    width: 170px;
}

ul.side_menu li a
{
    display: block;

    font-size: 12pt;
    line-height: 2em;

    text-decoration: none;
    
    color: rgb(0,22,42);

    padding: 0 0 0 0.5em;

    border-bottom: 1px solid rgb(0,22,42);
}

ul.side_menu li a:hover
{
    text-decoration: none;

    background-image: url( '/images/left_hover_gradient.png' );

    color: black;
}

ul.side_menu li a.current
{
    text-decoration: none;

    background-image: url( '/images/left_selected_gradient.png' );
}

ul.side_menu li a.current:hover
{
    text-decoration: none;

    background-image: url( '/images/left_selected_gradient.png' );
}

div.information
{
    color: rgb(0,100,0);
}

div.error
{
    color: rgb(200,0,0);
}

div.note
{
    border: 1px solid black;
    background-color: white;

    padding: 2px 4px;
    margin: 0.5em 0;
}

div.note:before
{
    content: 'Note: ';
    font-weight: bold;
}

div.important:before
{
    content: 'Important: ';
    font-weight: bold;
    font-size: 10pt;
    background-color: rgb(255,247,0);/*#FFF700*/
}
 
div.important
{
    font-size: 10pt;
    font-weight: normal;
    background-color: rgb(255,247,0);/*#FFF700*/
    /*width: 50%;*/
 
    margin-bottom: 1em;
 
    border: thin solid rgb(0,0,0);
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
}
