/**
 * $Id$
 * @author Eric Gillingham <Eric.J.Gillingham@jpl.nasa.gov>
 */
/*
#######################################
# Overall
#######################################
*/

#main h2, .links h3, #footer {
    background:#4d6174 url(/images/title-bg.png) top left repeat-x;
    color:#fff;
    font-weight:bold;
    border:1px solid #555c62;
    padding:.1em;
}

.center { text-align:center; }
.accesskey {
        text-decoration:underline;
}
a {
        color:#314a82;
}
a:hover {
        color:#496ec2;
}
a:active {
        color:#253b4c;
}
ul {
    list-style:url(/images/bullet-arrow.png);
}
table {
    border:1px solid #555c62;
}
pre {
     white-space: pre-wrap;       /* css-3 */
     white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
     white-space: -pre-wrap;      /* Opera 4-6 */
     white-space: -o-pre-wrap;    /* Opera 7 */
     word-wrap: break-word;       /* Internet Explorer 5.5+ */
}
body {
    margin:0;
    padding:0;
    font-size:0.8em;
    font-size-adjust:0.5;
    font-family:"Bitstream Vera Sans", Sans, sans-serif;
    word-spacing:1px;
    background: #a2a0a0;
}

#wrapper {
    padding: 0 2% 1em 2%;
}

#container {
    padding:0;
    margin:auto;
    margin-top:1em;
    border:1px solid #2e3a45;
    color:#000;
    width:100%;
    max-width:90em;
    background:#fff url("/images/content_bg.png") repeat-y 85% 0%;
}

#uplink #container {
    background: #fff;
}
.approved {
    background-color:#aaffaa;
}   
.disapproved {
    background-color:#ffaaaa;
}
.draft {
    background-color:#ffffaa;
}
.right {
    text-align:right;
    padding:0 .5em;
}
.date {
    font-style:italic;
}
.error {
    font-weight:bold;
    color:red;
}
.overflow
{
    overflow: auto;
}
#main div.group {
	margin-bottom:1em;
}
#main div.group h2 {
	margin:0;
	padding:0;
}
#main div.group div {
	border:1px solid #000;
	padding:1em;
}
#main div.group div ul {
    margin:0;
}
#main div.group div .notes {
    border:none;
}
/*
#######################################
# Header
#######################################
*/

#header {
    line-height:0.5;
    margin:0;
    padding:0;
    border-bottom:1px solid #333;
    width:100%;
    background:#4d6174;      
}

#header h1 {
    margin:0;
}

#header h1 a {
    display:block;
    padding:.5em;
    color:#fff;
    text-decoration:none;
}

/*
#######################################
# Main Menu
#######################################
*/
.menu {
    margin:0px auto;
}

.menu li:hover > a, .menu .current-item > a {
    text-decoration:none;
    color:#be5b70;
}
 
.menu > ul > li {
    float:left;
    display:inline-block;
    position:relative;
}

.menu li:hover .sub-menu {
    z-index:1;
    opacity:1;
}

.menu .arrow {
    font-size:11px;
    line-height:0%;
}
 
.sub-menu {
    width:160%;
    padding:5px 0px;
    position:absolute;
    top:100%;
    left:0px;
    z-index:-1;
    opacity:0;
    background:#e2e2de;
}

.sub-menu li a {
    padding:10px 30px;
    display:block;
    width: 100%;
}
 
.sub-menu li a:hover, .sub-menu .current-item a {
    background:#aeaeab;
}

#mainmenu {
    clear: left;
    margin:0;
    margin-right: 15%;
    padding-top:.2em;
    background:#e2e2de;      
    height:2.1em;
}

#uplink #mainmenu {
    margin-right:0;
}

#mainmenu ul {
    list-style:none;
    display:inline;
}
#mainmenu ul > li:first-child a {
    margin-left:.1em;
}
#mainmenu ul li {
    height:100%;
    display:inline;
}
#mainmenu a {
    display:block;
    float:left;
    padding:.3em .4em .3em .4em;
    border-top:solid 1px #fafafa;
    border-bottom:solid 1px #bbbbbb;
    border-right:solid 1px #a1a198;
    text-decoration:none;
    color:#000;
    background:#c2c2be;

}
#mainmenu a:hover {
    background:#f2f2ee;
}
#mainmenu a:active {
    font-weight:bold;
}

#home a#menuhome, #login a#menulogout, #uplink a#menuuplink,
    #search a#menusearch, #user a#menuuser,
    #admin a#menuadmin, #group a#menugroup, #help a#menuhelp,
    #import a#menuimport {
    border-top:solid 1px #fff;
    border-left:solid 1px #fff;
    border-bottom:solid 1px #e2e2de;
    font-weight:bold;
    background:#e2e2de;
    margin-top:-.2em;
    padding:.5em .4em .3em .4em;
}

#body {
    margin: 0;
    padding: 0;
    border: 0;
}

/*
#######################################
# Side Nav
#######################################
*/

#sidebar {
    margin: 0;
    padding: 0;
    padding-bottom:1em;
    width: 15%;
    float: right;
    overflow: hidden;
}

#sidebar .links ul {
    margin:0 1em;
    background:#fff;
    border:1px solid #bbb;
    list-style:url(/images/bullet-arrow.png);
    padding-left:1.7em;
}
#sidebar .links li {
    padding:.2em .1em .2em .1em;
}

#sidebar .links h3 {
    font-size:1em;
    text-align:center;
    margin:1em 1em 0 1em;
    padding:0;
}

/*
#######################################
# Content
#######################################
*/
#maincontain {
    clear: left;
    padding-top: 1em;
    margin-right: 15%;
}

#uplink #maincontain {
    margin-right:0;
}

#main {
    margin: 0;
    padding: 0 1em;
    overflow: hidden;
}

#main h2 {
    font-size:1em;
    text-indent:1em;
    margin:0;
    margin-bottom:1em;
}

#main table {
    width:100%;
    border-collapse: collapse;
    margin-bottom:1em;
    empty-cells:hide;
}

#main table td {
    border:1px solid #555c62;
    white-space: nowrap;
}

#main table th {
    background:#e2e2de;
    border:1px solid #555c62;
}

#main table th.inverse {
    color:#e2e2de;
    background:#000;
    border:1px solid #555c62;
}

#main table th a {
    color:#000;
    text-decoration:none;
}

#main table th a:hover {
    text-decoration:underline;
}

#main table th img {
    border:none;
}

#main h2.tabletitle {
    margin-bottom:0;
}

#uplink table.summary td {
    text-align:center;
}

#uplink table td.banner {
    background:#a2a0a0;
    color:#fff;
    text-align:left;
    font-weight:bold;
}

#uplink table.notes {
    width:auto;
    border:none;
}

#uplink table.notes { 
    margin-bottom:2em;
}

#uplink table.notes td {
    text-align:left;
    vertical-align:top;
    border:none;
    white-space: normal;
}

#uplink table.notes tr > td:first-child {
    width:8em;
}
#uplink table.sigs {
    border:none;
    table-layout: fixed;
}
#uplink table.sigs td {
    border:none;
    padding:.5em 1em;
}
#uplink .comment {
    margin:1em;
    padding:1em;
    border:1px solid #000;
}
#uplink .comment h3 {
    padding:0;
    margin: 0;
}
#uplink .comment p {
    margin-top:0;
}

#login form {
    width:20em;
    margin:auto;
}

#login label {
    display:block;
    padding:1em 1em 0;
}

#login input {
    margin-right:2em;
}

p.checkbox {
    display:inline;
}

p.checkbox input {
    display:inline;
}

p.checkbox label {
    display:inline;
}
#user fieldset {
    border:0;
}
#admin #results th {
    background:#e2e2de;
    border:1px solid #555c62;
    text-align:center;
}
#admin #results td {
    border:1px solid #000;
    padding:.2em;
}
.logs table td {
    padding:.2em;
}
#help ul {
    margin-top:0;
}
#help h3 {
    font-size:1em;
    text-indent:1em;
    margin-bottom:0;
}
#help ul ul {
    margin:0;
    padding-left:1em;
}
#help ul ul h4 {
    margin:0;
    padding:0;
    margin-left:-2em;
}
#help p {
	margin-top:0;
    margin-left:2em;
    text-indent:1em;
}
#help p img {
    float:right;
    clear:right;
    margin:.1em;
}
#help .subsection {
    margin-left:2em;
}
/*
#######################################
# Footer
#######################################
*/
#footer {
    clear:both;
    text-align:center;
    font-size:.8em;
    height:1.2em;
    border-bottom:none;
    border-left:none;
    border-right:none;
}

form[name="xmt_constraint_go_form"] {
  margin-bottom: .2em;
}
