/* page layout styles { */

html {
	overflow-y: scroll; /* avoid page width shifting */
}

body, html {
    margin: 0;
    font-family: Arial;
    font-size: 10pt;
}

body {
    background-image: url(/images/background.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-color: #14569f;
    padding-bottom: 1.5em;
    position: relative;
}

.content {
    background-color: white;
    width: 900px;
    border: 2px solid #464646;
    margin: 1em auto;
    padding: 1em 1.2em;
}

.title {
    float: right;
    color: #666;
    font-weight: bold;
    font-size: 1.5em;
}

/* } end page layout styles */

/* generic styles { */

.centered {
    margin: 0 auto;
}

h1, h2, h3 {
    color: #3d3d3d;
    margin-bottom: 0.4em;
}

h1 {
    font-size: 1.5em;
}

h2 {
    font-size: 1.2em;
}

h3, .subtitle {
    font-size: 1em;
    margin-top: 0em;
}

.subtitle {
    font-weight: bold;
    color: #3d3d3d;
}

/* } end generic styles */

/* table styles { */

table {
    border-collapse: collapse;
}

.plain-table {
    border: none;
}

.list-table, .report-table {
    border: 1px solid #0067B1;
}

.list-table tr.lighter {}
.list-table tr.darker {
	background-color: #f3f3f3;
}

.list-table td, .report-table td {
    padding: 2px 6px;
}

.list-table th, .report-table th {
    background-color: #0067B1;
    padding: 4px 6px;
    color: white;
}

.report-table .dark {
    background-color: #ecf6fa;
}

.form-table th {
    text-align: left;
}

.form-table td {
    padding: 3px 0;
}

/* } end table styles */

input.login-button {
    background: url(/images/login_button.jpg);
    background-repeat: no-repeat;
    border: none;
    width: 75px;
    height: 23px;
    color: white;
    font-weight: bold;
}
input.login-button:hover {
	filter: contrast(1.5);
}
input.login-button:active {
	translate: 1px 1px;
}

.report-button {
    background: url(/images/report_button.jpg);
    background-repeat: no-repeat;
    border: none;
    width: 150px;
    height: 25px;
    text-align: center;
    vertical-align: middle;
    line-height: 25px;
    display: block;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.report-button:hover, .report-button-hover {
    background: url(/images/report_button_hover.jpg);
}

.error-text {
    color: red;
    text-align: center;
    font-weight: bold;
}

.tab-menu{
    border-bottom: 2px #0067b1 solid;
    padding-right: 30px;
    margin: 1em 15px 0px 15px;
    text-align: right;
}

.tab-link {
    display: inline-block;
    padding: 3px 20px 3px 20px;
    margin: 0px 2px 0px 2px;
    vertical-align: middle;
    line-height: 18px;
    text-decoration: none;
    cursor: pointer;
    background-color: #66aee1;
    color: #FFFFFF;
}

.tab-link:hover, .tab-menu .selected-tab-item {
    background-color: #0067b1;
    text-decoration: none;
}

.tab-box {
    border: 2px #0067b1 solid;
    border-top: none;
    margin: 0px 15px 1.5em 15px;
    padding: 1em;
}

.tab-box h2 {
    margin-top: 0;
}

.tab-box .results-table {
    border: none;
}

/* Messages */

.success-msg, .warning-msg, .error-msg {
    color: white;
    margin: 0 auto 1em auto;
    width: 30em;
    padding: 0.7em 1em;
    text-align: center;
    font-weight: bold;
}

.success-msg {
    border: 2px solid #156F14;
    background: #3C9F3B;
}

.warning-msg {
    border: 2px solid #DFA200;
    background: #FFCF4F;
    color: #5F4500;
}

.error-msg {
    border: 2px solid #156F14;
    background: #3C9F3B;
}

.error {
    color: red;
    text-align: center;
}


.hoverLabel {
    width: 100%;
    display: inline-block;
    padding: 2px 4px 4px 0;
    vertical-align: middle;
}

.blueHover:hover {
    background-color: #4688C5;
    color: white;
}

.plainTable {
    border-collapse: collapse;
}

.plainTable td {
    padding: 0;
}

.completion-list-container{
    background-color:#FFFFFF;
    z-index:999;
}

.completion-list-container ul {
    margin-top: 0; /* needed for Firefox */
    margin-left: 0px;
    border: 1px solid gray;
    
    /* approximate a drop shadow */
    border-bottom: 2px outset gray;
    border-right: 2px outset gray;
    
    padding-left: 0; /* needed for Firefox */
    background-color: #ffffff; 
    text-align: left;
    margin-bottom: 0;
}

.completion-list-container li {
    padding: 1px 3px 1px 3px;
    list-style: none;
    cursor: default;
    background-color: #ffffff; 
}

.completion-list-container strong {
    font-weight: normal;
}

.completion-list-container li.selected {
    /*background-color:#878787;
    font-weight:bold;
    color:#000000;
    padding:2px 0px 2px 0px;*/
    background:Highlight;
    color:HighlightText;
}
