/*
    Author: Nandakumar Chandrasekhar
    First Written: 07 Sep 09
    Last Revised: 22 Jan 10
*/

body {
    background: url(../images/midnightblue-gradient.jpg) 0% 0% repeat-x;
    font-family: "Trebuchet MS", sans-serif;
}

#main_wrapper {
    max-width: 960px;
    min-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

#header_inner {
    color: #ffd700; /* gold */
    background-color: inherit;
    font-style: italic;
    display: table; /* This style does not work in IE 6 and IE 7 */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    height: 240px; /* Spacing PY picture and sidebar so that sidebar has enough space in IE6 */      
}

.vertical_center_align {
    display: table-cell; /* This style does not work in IE 6 and IE 7 */
    vertical-align: middle;
}

/* Style that simulates vertical alignment of heading in IE 6 and IE 7 */
.ie_vertical_center_align {
    margin-top: 20px;
}

#nav {
    width: 170px;
    float: left;
    margin-bottom: 5px;
}

#nav_inner {
    border-right: 5px solid transparent; /* Creates a space between sidebar and content */ 
}	/* Space appears as black border in IE 6 because transparent not understood */

#nav_inner ul{
    background-color: #191970; /* background set so that links in white are visible */
    list-style-type: none;
    padding-left: 0px; /* left padding and margin set to 0 to remove indentation */
    margin: 0px;   
}

#nav_inner li {
    background-color: inherit;
    border-bottom: none;
    display: block;
    color: white;
    padding: 10px;
}

#nav_inner li a:hover {
    background-color: #ffd700; /* gold */
    color: black;
}

#nav_inner a {
    background-color: inherit;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

#content {
    background-color: white;
    color: black;
    margin-left: 170px;
}

#content_inner {
    padding-top: 2px;
    padding-left: 20px;
    padding-right: 20px;
}

#img_top_left {
    width: 165px; 
    height: 233px;
    float: left; 
}

.img_position_left {
    float: left;
    width: 400px;
    padding-right: 20px;
    padding-bottom: 20px;
}

.img_position_right {
    float: right;
    width: 400px;
    padding-left: 20px;
    padding-bottom: 20px;
}

.generic_table th, .generic_table td {
    padding-right: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
    text-align: left; /* Added so that Opera left aligns table headings */
}

#footer {
    font-size: x-small;
    text-align: center;
    padding-bottom: 5px;
}