@import url("common.css");

body {
    background-image: url( images/background-left.png );
    background-repeat: repeat-y;
    background-position: top left;

    height: 100%;
}

#outerpage {
    position: absolute;
    top: 0;
    right: 0;
    height:auto;
    min-height:100%;
    width: 100%;

    background-image: url( images/background-right.png );
    background-repeat: repeat-y;
    background-position: top right;
}

#page {
    margin: 0 125px;
    color: #6C7476;
}

body {min-height: 100%;} /* for proper browsers */
*html #outerpage {height: 100%;} /* for IE */

#header {
    background-color: #141414;
    color: lightgray;
    padding: 5px;

    padding-left: 48px;
    background-image: url(images/headsup-logo.png);
    background-repeat: no-repeat;
    background-position: center left;

    vertical-align: bottom;
}

#header h1 {
    font-size: 24pt;
}

#footer {
    position: absolute;
    bottom: 0;
    left: 125px;
    right: 125px;

    background-color: #141414;
    color: #E6C523;
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 10pt;
    height: 1.2em;
}

#page > #footer {
    padding-left: 5px;
    padding-right: 5px;
}
*html #footer {width: 100%}

#footer .expire, #footer .update {
    color: red;
    text-decoration: none;
}

#mainmenu, #submenu {
    padding: 2px 0;
    font-weight: bold;
    height: 11.5pt;
}

#mainmenu a, #submenu a {
    text-decoration: none;
    color: lightgray;
}

#mainmenu ul, #submenu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline;
}

#mainmenu li, #submenu li {
    display: inline;
    padding: 2px 5px;
}

#mainmenu {
    background-color: #141414;
    font-size: 10pt;
}

#submenu {
    font-size: 9pt;
}

#mainmenu a {
    color: lightgray;
}

#mainmenu li {
    border-top: 1px solid lightgray;
    border-right: 1px solid lightgray;
}

#submenu a {
    color: black;
}

.mainmenu-item:hover, .mainmenu-item a:hover {
    background-color: #eee;
}

.mainmenu-item:hover span, .mainmenu-item a:hover span {
    color: black;
}

.submenu-item:hover, .submenu-item a:hover {
    background-color: black;
}

.submenu-item:hover span, .submenu-item a:hover span {
    color: #E6C523;
}

.mainmenu-item-selected {
    background-color: #eee;
}

.mainmenu-item-selected span {
    color: black;
}

#projectmenu {
    width: 232px;
    position: relative;
    left: -100px;
    margin-right: -100px;
    margin-top: 5px;
    z-index: 99;

    float: left;
    background-image: url( images/box-bg.png );
    background-repeat: repeat-y;
}

#projectmenu-header {
    height: 5px;
    font-size: 0;

    background-image: url( images/box-top.png );
    background-position: top;
    background-repeat: no-repeat;
}

#projectmenu-footer {
    height: 5px;
    font-size: 0;

    background-image: url( images/box-bottom.png );
    background-position: bottom;
    background-repeat: no-repeat;
}

#projectmenu-content {
    padding: 8px;
    padding-left: 0;

    color: white;
    font-size: 9pt;
}

#projectmenu-content .alllink, #projectmenu-content .noprojects {
    padding-left: 8px;
}

#projectmenu-content a {
    color: lightgray;
    text-decoration: none;

    padding-left: 12px;
    white-space: nowrap;
}

#projectmenu-content a:hover {
    color: #E6C523;
}

#projectmenu-content a.selected {
    color: #E6C523;

    background-image: url( images/box-selected.png );
    background-position: center left;
    background-repeat: no-repeat;
}

#projectmenu ul {
    margin: 0;
    padding: 0;
    padding-left: 10px;
    list-style: none;

    overflow: hidden;
}

#main {
    color: #000000;
}

#userpanel {
    position: absolute;
    right: 130px;
    top: 5px;

    font-size: 9pt;
}

#userpanel a {
    color: lightgray;
}

#userpanel a:hover {
    color: #E6C523;
}

#taskpanel {
    position: absolute;
    right: 134px;
    top: 27px;
}

#content {
    margin-left: 132px;
    padding: 7px;
    padding-top: 3px;
    margin-bottom: 1.5em;
}

/* Tabbed panel style */
div.tabs div.tab-row {
    font-size: 10pt;
    float: right;
    width: 100%;
    background: #EEEEEE;

    border-bottom: 1px solid black;
}

div.tabs div.tab-row ul {
    margin: 0;
    padding: 0 10px;
    list-style: none;
}

div.tabs div.tab-row li {
    float: left;
    border-top: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;
    margin: 2px 11px 0 2px;
}

div.tabs div.tab-row a {
    display: block;
    padding: 1px 10px;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    color: lightgray;
    background-color: #141414;
}

div.tab-panel {
    clear: right;
    margin: 0;
    padding: 5px 5px 5px 5px;
    border-bottom: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;
}

#content div.tabs div.tab-row a:hover {
    background-color: #eee;
    color: black;
}

div.tabs div.tab-row li.selected {
    background-color: #eee;
}

div.tabs div.tab-row li.selected a {
    background-color: #eee;
    color: black;
}


/* dialog style */

.dialog {
    position: fixed;
    left: 50%;
    top: 50%;
}

.dialog .dialogcontent {
    margin-left: auto;
    margin-right: auto;

    background-color: #EEEEEE;
    border: 1px solid black;
    text-align: center;
    margin-left: auto;

    width: 350px;
    position: relative;
    margin-top: -50px;
    margin-left: -175px;
    z-index: 1000;
}

.dialog .dialogcontent table {
    margin-left: auto;
    margin-right: auto;

    text-align: left;
}

.dialog .dialogtitle, .dialog .dialogtitle h3 {
    background-color: #c0c0c0;
    border-bottom: 1px solid black;

    width: 100%;
}

.dialog .dialogbackdrop {
    background-image: url(images/dialog-backdrop.png);
    background-repeat: repeat;

    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 999;
}

/* Filter box style */
div.filterborder {
    margin:5px 7px 5px 5px;
}

#filter.filterhidden {
    height: 0;
    overflow: hidden;
}

#filter.filtershown {
    height: auto;
    overflow: hidden;
}

#filter {
    font-size: 10pt;
    width: 100%;
}

#filter form, #filter table {
    width: 100%;
    margin: 0;
}

#filter table {
    border-left: 2px solid #c0c0c0;
    border-right: 2px solid #c0c0c0;
}

#filter form .buttons {
    text-align: right;
    background-color: #c0c0c0;
}

#filterbutton {
    position: absolute;
    right: 132px;
    margin-top: -30px;

    background-color: #141414;
    color: lightgray;
    padding: 4px;
    padding-left: 20px;
    font-weight: bold;

    cursor: pointer;
    font-size: 9pt;
}

#filterbutton.filterbuttonhidden {
    background-image: url( images/filter-button.png );
    background-position: 5px -33px;
    background-repeat: no-repeat;
}

#filterbutton.filterbuttonshown {
    background-image: url( images/filter-button.png );
    background-position: 5px 6px;
    background-repeat: no-repeat;
}

#filterbutton:hover {
    background-color: black;
    color: #E6C523;
}

/* error page output */
#stacktrace {
    font-size: 9pt;
    padding: 5px;
    border: 1px dashed black;
}

#stacktrace.stackhidden {
    display: none;
}

#stacktrace.stackvisible {
    display: inline;
}

