html {
    overflow: -moz-scrollbars-vertical;
}

div#bd {
    padding-top: 0px;
    padding-bottom: 20px;
}

div#hd {
    background-color: #15387C;
}

div#breadcrumbs {
    background-color: #fff;
}

body {
    background-color: #ffffff;
    margin-bottom: 2em;
}

p {
    margin-bottom: 1em;
}

h1 {
    font-size: 200%;
    font-weight: bold;
}

h2 {
    font-size: 180%;
    font-weight: bold;
}

h3 {
    font-size: 150%;
    font-weight: bold;
}

h4 {
    font-size: 120%;
    font-weight: bold;
}

strong {
    font-weight: bold;
}

.clearfix {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.disabled_link {
    color: gray;
    text-decoration: underline;
}

/* Header */
.logo {
    float: left;
    margin: 5px 0px 5px 0px;
}

.header_dropshadow {
    background: #666666 url( /images/shad_bottom.png ) repeat-x bottom;
    padding: 0px 0px 5px 0px;
    line-height: 1px;
}

.searchbox {
    margin-top: 20px;
}

/* News Ticker */
#news {
    padding-bottom: 0px;
    display: none;
    height: 1.3em;
}

.newsticker li {
    list-style: none;
    font-size: 120%;
}

.newsticker {
    list-style-type: none;
    border: 1px solid #fff;
    background: #ffffff;
    padding: 3px;
    margin: 0;

}

.admin_page_title {
    float: left;
}

.admin_options {
    float: right;
    line-height: 2em;
    color: gray;
}

/* breadcrumbs */

.crumbs {
    font-size: 8pt;
    color: #666;
    margin-bottom: 5px;
}

/* footer */
#ft {
    text-align: center;
    font-size: 85%;
}

#logged_in_as {
    float: left;
}

#admin_options {
    float: right;
    padding-right: 20px;
}

/* tables */
table.wide, table.admin {
    width: 100%;
}

table.admin tr th {
    background: #333;
    color: white;
    font-size: 9pt;
    padding: 3px 10px;
    border: 1px solid #222;
    font-weight: bold;
}

table.admin tr td {
    padding: 7px;
    border: 1px solid #ddd;
}

.odd {
    background-color: #F3F3F3;
}

.even {
    background-color: #FFFFFF;
}

tr.three_lines_high {
    height: 5em;
    vertical-align: top;
}

table.home tr td {
    padding: 8px;
    border: 0px solid #ddd;
}

/* Rails errors and warnings */
.flash-error {
    color: red;
    font-weight: bold;
}

.flash-notice {
    color: green;
    font-weight: bold;
}

.fieldWithErrors {
    padding: 1px;
    background-color: #CC0000;
    border: 1px solid #CC0000;
    margin: 0;
    padding: 0;
}

#errorExplanation {
    width: 400px;
    border: 2px solid #CC0000;
    padding: 7px;
    padding-bottom: 12px;
    margin-bottom: 20px;
    background-color: #f0f0f0;
}

#errorExplanation li {
    margin-left: 10px;
}

#errorExplanation h2 {
    text-align: left;
    font-weight: bold;
    padding: 5px 5px 5px 15px;
    font-size: 12px;
    margin: -7px;
    background-color: #c00;
    color: #fff;
}

#errorExplanation p {
    color: #333;
    margin-bottom: 0;
    padding: 5px;
}

#errorExplanation ul li {
    font-size: 12px;
    list-style: square;
}

/* Sortables */
.sortable {
    cursor: n-resize;
}

#sortable_item_list {
    list-style: none;
    margin-left: 0;
    padding-left: 1em;
}

#sortable_item_list li {
    list-style-type: disc;
}

/* Help */
.help_top {
    color: #c00;
    font-size: small;
    font-style: italic;
    padding-bottom: 1em;
}

/* Preview */
#preview {
    padding-top: 20px;
}

/* Accordion */
#list1 .title {
    font-weight: bold;
}

.title {
    cursor: pointer;
    border: 1px solid #15387C;
    line-height: 2em;
    padding: 0.2em;
    /*margin-top: 0.5em;
    padding: 0.1em;*/
}

.on .title {
    font-size: 115%;
    background-color: #C0C0C0;
}

.off .title {
    font-size: 115%;
    background-color: #E0E0E0;
}

.content {
    background-color: #fff;
    padding: 0.1em;
    border: 1px solid #15387C;
    border-top-width: 0;
}

/* Lists */
#content ul li {
    list-style-type: disc;
    list-style-position: inside;
}

.normal_unordered_list li {
    list-style-type: disc;
    list-style-position: inside;
}

/* Calendar stuff */
div.EuMovementEvent {
    font-size: 8pt;
    text-align: center;
    font-weight: bold;
    padding-bottom: 10px;
}

div.EuMovementEvent a {
    color: #384E8F;
}

th.EuMovementEvent {
    background-color: #384E8F;
}

div.legend_EuMovementEvent {
    height: 10px;
    width: 10px;
    background-color: #384E8F;
}

div.EuEvent {
    font-size: 8pt;
    font-weight: bold;
    text-align: center;
    padding-bottom: 10px;
}

div.EuEvent a {
    color: #D19900;
}

th.EuEvent {
    background-color: #D19900;
}

div.legend_EuEvent {
    height: 10px;
    width: 10px;
    background-color: #D19900;
}

div.OtherEvent {
    font-size: 8pt;
    font-weight: bold;
    text-align: center;
    padding-bottom: 10px;
}

div.OtherEvent a {
    color: #8DC828;
}

th.OtherEvent {
    background-color: #8DC828;
}

div.legend_OtherEvent {
    height: 10px;
    width: 10px;
    background-color: #8DC828;
}

/********** Table used to display lists of things ***********/

table.list {
    width: 100%;
    border-collapse: collapse;
    border: 1px dotted #d0d0d0;
    margin-bottom: 6px;
}

table.with-cells td {
    border: 1px solid #d7d7d7;
}

table.list td {
    padding: 2px;
}

table.list thead th {
    text-align: center;
    background: #eee;
    border: 1px solid #d7d7d7;
    color: #777;
}

table.list tbody th {
    font-weight: bold;
    background: #eed;
    border: 1px solid #d7d7d7;
    color: #777;
}

table.with-padding td {
    padding: 5px;
}

table.with-cells tr th {
    color: #8C7777;
    font-weight: bold;
    padding: 3px 10px;
    border: 1px solid #D7D7D7;
}
