/*
 * Copyright 2001-2018 Cendio AB.
 * For more information, see http://www.cendio.com
*/

body {
    background-color: #FFFFFF;
    font-family: sans-serif;
    font-size: 12px;
    text-align: center;
}

form.login {
    text-align: left;
}

#header {
    padding-left: 10px;
}

#header_info {
    text-align: right;
    position: relative;
}

#header_info > div {
    margin: 0.5em 0;
}

#body {
    width: 100%;
    margin-top: 50px;
}

#page {
    background-color: #FFFFFF;
    display: table;
    width: 280px;
}

#page div {
    display: block;
}

#navigation {
    width: 150px;
    float: left;
    display:inline-block;
    background: #c4c4c4;
    height: auto;
}

#container {
    padding: 5px;
    margin: auto;
}

#page_body {
    padding: 10px;
}

#menu {
    width: 200px;
    padding-right: 5px;
    vertical-align: top;
}

#body {
    width: 100%;
}

.header_left {
    position: relative;
    margin: -10px;
    margin-bottom: 10px;
    background-color: #2D3A80;
    width: auto;
    height: 30px;
    display: table-cell;
    vertical-align: middle;
    color: #FFFFFF;
}

.header_left h1 {
    margin: 0px;
    padding: 5px;
    padding-left: 10px;
    color: #FFFFFF;
    font-size: 16px;
}

table.info {
    padding: 5px;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 1px solid #D4D4D4;
}

table.info .label {
    font-weight: bold;
    padding-right: 20px;
}

table.selected {
    padding: 5px;
    width: 100%;
    color: #000000;
    background-color: #EEEEEE;
    margin-bottom: 5px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 2px solid #2D3A80;
}

table.selected .label {
    font-weight: bold;
    padding-right: 20px;
}

table.selected td.header h2 {
    margin: 0px;
    padding-bottom: 5px;
    border-bottom: 2px solid #CCC;
}

select {
    min-width: 200px;
}

select, input {
    color: #000000;
    background-color: #FFFFFF;
    margin-bottom: 5px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 1px solid #CCC;
    /* Input fields tend to be slightly larger than the text so things
       look better if the line up through the middle rather than at the
       text baseline. */
    vertical-align: middle;
}

input[type=submit],input[type=reset],input[type=button] {
    background-color: #F8F8F8;
    font-weight: bold;
}

input[type=image] {
    border: 0px;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
}

select[disabled], input[disabled] {
    color: #808080;
    background-color: #F8F8F8;
}

p.error {
    border: 1px solid #C00000;
    border-left: 5px solid #C00000;
    padding: 5px;
}

td.error {
    background-color: #C00000;
    border-left: 5px solid #C00000;
    color: #FFFFFF;
    font-weight: bold;
}

div.error {
    color: #C00000;
}

hr {
    border: 0px;
    margin-left: 10px;
    margin-right: 10px;
    border-bottom: 2px solid #CCCCCC;
}

table.list td {
    border-bottom: 1px solid #EEEEEE;
}

tr {
    /* We want the top lines of all columns to align, which isn't fully
       possible to do using CSS. Using baseline here and middle for larger
       elements (like <input>) tends to work well enough though. */
    vertical-align: baseline;
}

tr.textarea {
    vertical-align: middle;
}

div.feedback {
    margin: -10px;
    margin-top: 10px;
    padding: 5px;
    background-color: #2D3A80;
    color: #FFFFFF;
    width: auto;
    height: auto;
    vertical-align: middle;
}

div.feedback table {
    /* FIXME: Needs to be white because of the throbber */
    background-color: #FFFFFF;
    color: #000000;
    width: 100%;
}

div.feedback td.throbber {
    width: 32px;
}

div.feedback td.message {
    width: 30em;
}

div.progress {
    width: 100%;
    height: 100%;
    border: 1px solid #2D3A80;
}

div#progressbar {
    background-color: #2D3A80;
    width: 0%;
}

div.pam_text {
    margin: 0;
    font-size: 1.1em;
    padding-top: 1em;
    padding-bottom: 0.2em
}

div.form_submit {
    float: right;
    padding-top: 1.5em;
}

input.pam_prompt {
    width: 100%;
}
