body {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

body, td, th, p, div, li, dt, dd {
    font-size: 12px;
}

dt, dd, li {
    margin-bottom: .75em;
}

li, li a, dt {
    font-weight: bold;
}

li span {
    font-weight: normal;
    font-size: smaller;
}

form {
    margin: 0;
}

h1, h2, h3 {
    letter-spacing: .25em;
    text-align: center;
}

h1 {
    font-size: 18px;
    font-weight: bold;
}

h2 {
    font-size: 16px;
    font-weight: bold;
}

h3 {
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid #000;
}

hr {
    border: 0;
    color: rgb(0, 0, 0);
    background-color: rgb(0, 0, 0);
    height: 1px;
}

input, select {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

table.smaller, table.smaller th, table.smaller td {
    font-size: 10px !important;
}

table.bordered, table.bordered th, table.bordered td {
    border: 1px solid rgb(235, 235, 235);
}

table.bordered td table, table.bordered td table td {
    border: none;
}

td span {
    font-size: 10px;
    color: #808080;
}

th {
    text-align: left;
    vertical-align: bottom;
}

.callout {
    border: 1px solid #808080;
    background-color: #f0f0f0;
    text-align: justify;
    padding: 5px;
}

.comment, .comment a {
    color: #515151;
    font-weight: normal;
    font-size: 10px !important;
}

.exclamation {
    width: 15px;
    height: 15px;
    border: 0;
}

.form-notice {
    font-style: italic;
    color: Gray;
    text-align: center;
    font-size: smaller;
}

/* TODO: remove table.errors and table.messages selectors */
.msg-err, .msg-resp, div.errors, div.messages, table.errors, table.messages {
    color: #f00;
    background-color: #f0f0f0;
    text-decoration: none;
    border: 1px solid #e9e9e9;
    padding: 2px;
    width: 400px;
    margin: auto;
    margin-bottom: 10px;
}

div.errors li, div.messages li {
    margin-bottom: 3px;
    margin-top: 3px;
}

.msg-resp, div.messages, table.messages {
    color: #00f;
}

.msg-err a, .msg-resp a, div.errors a, div.messages a, table.errors a, table.messages a {
    color: #f00;
    text-decoration: underline;
}

.msg-resp a, div.messages a, table.messages a {
    color: #00f;
}

.msg-err li {
    font-weight: normal;
}

.study-caption {
    text-align: center;
    text-transform: uppercase;
}

.table-row-bg {
    background-color: #f5f5f5;
}

.table-subrow-bg {
    background-color: #e9e9e9;
}

/*
 ADMIN-SPECIFIC
 */
table#admin-header {
    color: #fff;
    background-color: rgb(0, 0, 0);
    height: 42px;
}

table#admin-header td div {
    display: inline;
    margin-right: .5em;
}

table#admin-header td div a, table#admin-header td div a:hover {
    padding: 3px;
    border: 1px solid #fff;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
}

table#admin-header td div a:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(156, 170, 191);
}

table#admin-header .header-title {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
}

table#admin-header .header-company {
    font-size: 16px;
    text-align: right;
    white-space: nowrap;
}

table#admin-body {
    height: 100%;
}

td.admin-content {
	text-align: left;
}

td.admin-menu {
    color: #fff;
    background-color: rgb(156, 170, 191);
    font-size: 12px;
    line-height: 14px;
}

div.admin-menu-padding {
    margin: 2px;
    margin-top: 10px;
}

td.admin-menu a {
    color: #fff;
    display: block;
    margin-bottom: .25em;
}

td.admin-menu a:hover {
    color: rgb(0, 0, 0);
}

td.admin-menu p {
    color: rgb(0, 0, 0);
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 5px;
    text-transform: uppercase;
    border-bottom: 1px solid rgb(0, 0, 0);
    margin-top: 5px;
}

td.admin-menu dt {
    font-style: italic;
    font-weight: bold;
}

td.admin-menu dd {
    margin-left: 10px;
}

td.admin-content {
    color: #000;
    background-color: #fff;
}

.admin-submenu {
    font-size: 12px;
    font-weight: bold;
}

.tab-active, .tab-inactive {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 8px;
    padding-right: 8px;
    white-space: nowrap;
}

.tab-active {
    border-left: 1px solid #000;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    border-bottom: none;
}

.tab-active, .tab-active a {
    font-size: 14px;
    vertical-align: bottom;
}

.tab-inactive {
    border-bottom: 1px solid #000;
}

.tab-inactive, .tab-inactive a {
    font-size: 12px;
    vertical-align: bottom;
}