@import url("fixes.css");

/* Page structure
================================================== */
.wrapper {
    background: white url(../images/header_bg.png) left top repeat-x;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -4em;
}
#header {
    width: 850px;
    margin: 0 auto;
    height: 82px;
    position: relative;
    background: url(../images/header_oat.png) right top no-repeat;
}
#header h1 a{
    position:absolute;
    display:block;
    text-indent:-2000em;
    width: 183px;
    height: 80px;
    cursor: pointer;
    background: url(../images/header_logo.png) left top no-repeat;
}
.statusline {
    text-align: right;
    font: 11px Arial, Verdana, sans-serif;
    color: gray;
    padding: 7px 3px 0px 0px;
}
.statusline a{
    text-decoration: underline;
}
#container{
    clear: both;
    width: 850px;
    margin: 0 auto;
}
.push {
    height: 4em;
}
.footer {
    border-top: 1px solid #cecece;
    background-color: #f1f2f7;
    clear: both;
    height: 4em;
}
.footer p {
    font-size: 10px;
    text-align: center;
    color: #5a5a5a;
    margin: 0;
    padding: 2px;
}

/* Basic styling
================================================== */
html, body {
    height: 100%;
}
p {
    line-height: 1.5;
    margin-bottom: 1.5em;
}
li {
    line-height: 1.5em;
}
p, li, div {
    font: 12px/18px Arial, Verdana, sans-serif;
    color: #444444;
}
a {
    color: #0072b4;
    text-decoration: none;
}
a:hover {
    color: #0072b4;
    text-decoration: underline;
}
blockquote {
    background-color: #f5f5f5;
    border: 1px dotted #dedede;
    color: #222;
    margin: 0.5em  1.2em 0.5em 1.2em;
    width: 95%;
}
h1.title {
    font: 24px Verdana, Arial, Helvetica, sans-serif;
    border-bottom: 1px solid #444444;
    padding-bottom: 5px;
    margin: 10px 0px 10px 0px;   
}
h1 {
    font: 16px Verdana, Arial, Helvetica, sans-serif;
}
h3 {
    font: bold 14px Arial, Verdana, sans-serif;
}
table {
    border-style: none;
    border-collapse: collapse;
    width: 100%;
    vertical-align: middle;
}
tr, td {
    border-style: none;
    vertical-align: middle;
}

/* Document class
================================================== */
.document h1 a {
    color: #7C1B31;
}
.document h1 a:hover {
    text-decoration:none;
}
.document ul {
    list-style-position: outside;
    margin: 10px 0 10px 20px;
}
.document ol {
    list-style-position: outside;
    margin: 10px 0 10px 20px;
    list-style-type: decimal;
    font-size: 8px;
}
.document ol ol {
    list-style-type: lower-alpha;
}
.document ol ol ol {
    list-style-type: lower-roman;
}
.document h1 {
    margin-bottom: 10px;
}

/* Form tables
================================================== */
.form_table td {
    vertical-align: top;
    padding: 5px 0px 5px 1px;
}
.mandatory_field_label {
    font-weight: bold;
    width: 120px;
}
.field_label {
    width: 120px;
}
.field_value {
    width: 610px;
}

/* Data tables
================================================== */
.data_table th {
    padding: 0;
    height: 26px;
    background: url(../images/table_header_bg.png) repeat-x;
    vertical-align: middle;
    color: #555555;
}
.data_table th a{
    color: #555555;
    text-decoration: none;
}
.data_table tr.odd_row {
    background: #f0f0f0;
}
.data_table tr.separator {
    background: url(../images/table_separator_bg.png) repeat;
}
.data_table td, th {
    padding: 2px;
    border: 1px solid #9e9e9e;
}
.data_table td.pagination {
    border: none;
    text-align: right;
    padding-top: 7px;
    vertical-align: top;
    color: #444444;
    font-weight: bold;
}
.pagination * {
    padding: 0px 3px 0px 3px;
}
.print_link {
    color: #0072b4;
    text-align: right;
    margin: -1.5em 0 0 0;
}
.print_link a {
    text-decoration: none;
}
.record_count {
    text-align: right;
    margin: 0 0 -12px 0;
    font: normal 11px Arial, Verdana, sans-serif;
    color: gray;
}

/* Login form
================================================== */
.login_table {
    width: 50%;
}
.login_table tr td {
    padding: 6px;
}

/* Settings form
================================================== */
.settings_table {
    width: 450px;
    margin-bottom: 20px;
}
.settings_table td{
    padding: 6px 0px 6px 0px;
}
.settings_table th {
    border: none;
    border-bottom: 2px dotted gray;
    text-align: left;
}
.settings_table td.label{
    font-weight: bold;
    width: 90%;
}

/* Question bank form
================================================== */
.q_table {
    margin-bottom: 12px;
}
.q_table td {
    vertical-align: top;
    padding: 5px 0px 5px 1px;
}
.q_table td.label {
    font-weight: bold;
    width: 100px;
}
.q_table td.box {
    font-weight: bold;
    vertical-align: middle;
    text-align: center;
}
.q_table td.num {
    font-weight: bold;
    vertical-align: middle;
    text-align: right;
    padding-right: 10px;
}

/* Question statistics
================================================== */
.stats_table {
    margin-bottom: 12px;
    width: 35%;
    font-weight: bold;
}
.stats_table td {
    padding: 5px;
    border: 1px solid #9e9e9e;
    text-align: right;
}
.stats_table td.label {
    text-align: left;
}

/* Buttons
================================================== */
input.button {
    color: #f5efff;
    font-weight: bold;
    padding: 1px;
    background: url(../images/button_bg.png) repeat-x;
    height: 26px;    
    border: 2px solid #00663e;
}
a.big_button {
    background: transparent url('../images/big_button_a.png') no-repeat scroll top right;
    color: #f5efff;
    text-align: center;
    display: block;
    font: 18px Arial, sans-serif;
    height: 56px;
    margin-right: 6px;
    padding-right: 19px;
    text-decoration: none;
    
}a.big_button span {
    background: transparent url('../images/big_button_span.png') no-repeat;
    display: block;
    line-height: 46px;
    padding: 5px 0 5px 19px;
}
a.big_button:active {
    background-position: bottom right;
    outline: none;
}
a.big_button:active span {
    background-position: bottom left;
    padding: 6px 0 4px 19px;
}

/* Messages
================================================== */
.accept_msg {
    background: #e5f7e3 url(../images/tick.gif) no-repeat;
    background-position: 7px 7px;
    border: 1px solid #c5e1c8;
    font-weight: 700;
    color: #005e20;
    padding: 8px 8px 8px 28px;
    margin-top: 10px;
}
.error_msg {
    background: #ffebeb url(../images/cross.gif) no-repeat;
    background-position: 7px 7px;
    border: 1px solid #f5c1c2;
    font-weight: 700;
    color: #9e0b0f;
    padding: 8px 8px 8px 28px;
    margin-top: 10px;
}
.warning_msg {
    background: #fffeeb url(../images/warning.gif) no-repeat;
    background-position: 7px 7px;
    border: 1px solid #e6e5d8;
    font-weight: 700;
    color: #555;
    padding: 8px 8px 8px 28px;
    margin-top: 10px;
}
.question_msg {
    background: #e8f8fe url(../images/question.gif) no-repeat;
    background-position: 7px 7px;
    border: 1px solid #cfdfe5;
    font-weight: 700;
    color: #004a80;
    padding: 8px 8px 8px 28px;
    margin-top: 10px;
}
.admin_msg {
    font-weight: bold;
    text-align: center;
    padding: 60px 0px 110px 0px;
}

/* Menu
================================================== */
.menu {
    float: left;
    width: 125px;
    padding: 0px 5px 0px 0px;
    margin: 0;
    border: none;
}
.menu ul {
    list-style-type: none;
    border: none;
    padding: 0;
    margin: 0;
}
.menu a {
    width: 100%;
    color: #222;
    background-color: #e1e1e1;
    display: block;
    text-decoration: none;
    font-size: 110%;
    font-weight: bold;
    line-height: 120%;
    padding: 0.4em 0.2em 0.4em 1em;
    margin: 1px 0px 0px 0px;
    border: none;
}
.menu ul ul li a {
    width: 95%;
    font-size: 90%;
    color: #4c545b;    
    margin: 0;
    padding-left: 20px;
}
.menu a:hover, 
.menu a:active, 
.menu a.current {
	  background-color: #a3a3a5;
}
.menu ul ul li a:hover, 
.menu ul ul li a:active, 
.menu ul ul li a.current {
	  background-color: #cfcecc;
}
.admincontent {
    width: 700px;
    float: right;
}
.admincontent input.button {
    margin: 10px 10px 20px 0px;
}

/* Question page
================================================== */
.question_page {
    margin: 20px;
}
.message {
    font-weight: bold;
    margin-top: 20px;
    padding: 5px;
    background-color: #f5f5f5;
    border: 1px solid #dedede;
}
.figure {
    margin: 10px;
    text-align: center;
}
.question {
    margin-top: 15px;
    padding-left: 6px;
}
.progressbar {
    color: white;
    margin-bottom: 5px;
}
.progressbar tr {
    height: 24px;
}
.progressbar td {
    padding: 0px 10px 0px 10px;
}
.progressbar td.left {
    width: 405px;  
    text-align: left;
    background: url('../images/progressbar_left.png') no-repeat;
}
.progressbar td.right {
    width: 405px;
    text-align: right;
    background: url('../images/progressbar_right.png') no-repeat;
}

/* Navigational links
================================================== */
table.qp_navigation {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
}
.qp_navigation td * {
    padding: 3px;
    font-weight: bold;
}
.qp_navigation a.done {
    text-decoration:underline;
    color: #00663e;
}
.qp_navigation a.notdone {
    text-decoration:underline;
    color: #990000;
}

/* Misc
================================================== */
.preload {
    display: none;
}


