/* General Style Info */
body {
    font-family: arial, helvetica, sans-serif;
    background-attachment: fixed;
    background-image: url('../img/bg.jpg');
    background-repeat: repeat;
    background-position: center;
    margin: 10px;
    padding: 0px;
}

a {
    color: black;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

a img {
    border: none;
}

h1, h2, h3, h4 {
    margin: 0px;
    padding: 0px;
    display: inline;
}

.index h2 {
    color: brown;
}
.view h2 {
    color: brown;
}

.title {
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
    padding: 2px 0px 2px 0px;
    background-color: red;
    border-bottom: 1px solid blue;
}

#error-goto {
    text-align: center;
}
#error-goto a {
    color: blue;
    text-decoration: none;
}
#error-goto a:hover {
    text-decoration: underline;
}



/* IE 6 Warning */
.ie6Warning {
    background: #FFFFDF url(../img/icon_warning.gif) no-repeat 5px 3px;
    margin: 5px;
    padding: 5px 5px 5px 30px;
    border: 1px solid #CFA840;
    font-weight: bold;
}
.ie6Warning a {
    text-decoration: underline;
}



/* Race Schedule */
.sched-table {
    font-size: 1.1em;
}
.sched-altrow {
    background-color: LightGrey;
}
.sched-month {
    color: DarkGreen;
    font-size: 1.4em;
    font-weight: bold;
    height: 60px;
}
.sched-closed {
}
.sched-practice {
    color: OrangeRed;
    font-size: 1.3em;
    font-weight: bold;
}
.sched-event {
    color: navy;
    font-size: 1.3em;
    font-weight: bold;
}
.sched-cancelled {
    color: red;
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
}
.sched-comments {
    font-size: 1.2em; 
    font-weight: bold;
}


/* Layout */
#container {
    background-color: transparent;
    margin-left: auto;
    margin-right: auto;
    width: 970px;
}

#header {
    border: 10px ridge blue;
    margin-bottom: 20px;
    z-index: 1;
}
#header-title-ovl {
    float: left;
    position: relative;
    margin-top: -250px;
    margin-left: 275px;
    z-index: 2;
}


/* Menu */
.cmdbar {
    border-top: 1px solid red;
    border-bottom: 1px solid red;
    height: 20px;
    padding-left: 5px;
    background-color: black;
    overflow: hidden;
}
/* Selected Main MenuButton */
.menubuttonx {
    line-height: 19px;
    float: left;
    font-size: 12pt;
    font-weight: bold;
    margin-right: 10px;
}
.menubuttonx a {
    padding: 0px 10px 0px 10px;
    text-decoration: none;
    color: black;
    background-color: blue;
}
.menubuttonx a:hover {
    color: black;
    background-color: blue;
}
/* Not Selected, Main MenuButtons */
.menubutton {
    float: left;
    font-size: 12pt;
    font-weight: bold;
    margin-right: 10px;
    line-height: 19px;
    height: 19px;
}
.menubutton a {
    padding: 0px 10px 0px 10px;
    text-decoration: none;
    color: blue;
    background-color: black;
}
.menubutton a:hover {
    color: white;
    background-color: blue;
}
/* Selected Admin MenuButton */
.menubuttonx2 {
    line-height: 19px;
    float: left;
    font-size: 12pt;
    font-weight: bold;
    margin-right: 10px;
}
.menubuttonx2 a {
    padding: 0px 10px 0px 10px;
    text-decoration: none;
    color: black;
    background-color: gold;
}
.menubuttonx2 a:hover {
    color: black;
    background-color: gold;
}
/* Not Selected, Admin MenuButtons */
.menubutton2 {
    float: left;
    font-size: 12pt;
    font-weight: bold;
    margin-right: 10px;
    line-height: 19px;
    height: 19px;
}
.menubutton2 a {
    padding: 0px 10px 0px 10px;
    text-decoration: none;
    color: gold;
    background-color: black;
}
.menubutton2 a:hover {
    color: white;
    background-color: transparent;
}
/* Not Selected, Submenu MenuButtons */
.menubutton3 {
    float: left;
    font-size: 11pt;
    margin-right: 10px;
    line-height: 20px;
    height: 20px;
}
.menubutton3 a {
    padding: 0px 10px 0px 10px;
    text-decoration: none;
    color: DimGray;
    font-weight: bold;
    background-color: black;
}
.menubutton3 a:hover {
    color: white;
    font-weight: bold;
    background-color: black;
    text-decoration: underline;
}


/* Content */
#content {
    color: black;
    background-color: white;
    border: 10px ridge blue;
    margin-bottom: 20px;
}

.inner-content-box {
    color: black;
    background-color: white;
    border: 4px outset blue;
    margin: 15px;
}

.inner-content-area {
    margin: 15px;
}


/* Footer */
#footer {
    margin-bottom: 50px;
    background-color: transparent;
}

#web-credit {
    width: 300px;
    margin: 0px auto 0px auto;
    font-weight: bold;
}
#web-credit span {
}
#web-credit a {
    color: red;
    font-weight: bold;
    text-decoration: none;
}
#web-credit a:hover {
    text-decoration: underline;
}


/* Form Input */
fieldset {
    margin: 5px;
    padding: 5px;
    border: 2px solid black;
}
fieldset legend {
    color: brown;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.input {
    clear: both;
}
.input label {
    font-weight: bold;
    display: block;
    float: left;
    width: 175px;
    margin-bottom: 5px;
}
.input input {
    border: 1px solid black;
    width: 500px;
}
.checkbox {
    margin-left: 150px;
    float: left;
    margin-bottom: 5px;
}
.checkbox input {
    width: 20px;
    float: left;
}
.checkbox label {
    padding-left: 5px;
    display: block;
    float: left;
}
.submit {
    margin-left: 5px;
}



/* Cake Specific Tables */
table.cake-sql-log, .index table, .related table {
    background: #fff;
    border:1px solid #ccc;
    border-right:0;
    clear: both;
    color: #333;
    margin-bottom: 10px;
    width: 100%;
}
.cake-sql-log th, .index th, .related th {
    background: #f2f2f2;
    border:1px solid #bbb;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    text-align: center;
}
.cake-sql-log th a, .index th a, .related th a {
    background:#f2f2f2;
    display: block;
    padding: 2px 4px;
    text-decoration: none;
}
.cake-sql-log th a:hover, .index th a:hover, .related th a:hover {
    background: #ccc;
    color: #333;
    text-decoration: none;
}
table.cake-sql-log tr td, .index table tr td, .related table tr td {
    background: #fff;
    border-right: 1px solid #ccc;
    padding: 4px;
    text-align: center;
    vertical-align: top;
}
table.cake-sql-log tr.altrow td, .index table tr.altrow td, .related table tr.altrow td {
    background: #f4f4f4;
}
td.actions {
    text-align: center;
    white-space: nowrap;
}
td.actions a {
    margin: 0px 6px;
    color: navy;
    font-weight: bold;
}
.cake-sql-log {
    margin-top: 25px;
}
.cake-sql-log caption {
    color: black;
    background-color: white;
    border: 2px solid gray;
}
.cake-sql-log table {
    background: #f4f4f4;
}
.cake-sql-log td {
    padding: 4px 8px;
    text-align: left;
}

/* Cake Paging */
div.paging {
    background:#fff;
    color: #ccc;
    margin-bottom: 2em;
}
div.paging div.disabled {
    color: #ddd;
    display: inline;
}
div.paging span {
}
div.paging span.current {
    color: #000;
}
div.paging span a {
}

/* Cake Scaffold View */
dl {
    line-height: 2em;
    margin: 0em 0em;
    width: 60%;
}
dl.altrow {
    background: #f4f4f4;
}
dt {
    font-weight: bold;
    padding-left: 4px;
    vertical-align: top;
}
dd {
    margin-left: 10em;
    margin-top: -2em;
    vertical-align: top;
}

/* Cake Notices and Errors */
div.message {
    border: 3px solid white;
    clear: both;
    text-align: center;
    color: red;
    background-color: black;
    font-weight: bold;
    font-size: 1.4em;
    margin: 1em 0;
    padding: 4px 0px 4px 0px;
}
div.error-message {
    border: 2px solid red;
    clear: both;
    text-align: center;
    color: red;
    background-color: black;
    font-weight: bold;
    font-size: 1.3em;
    margin-bottom: 20px;
}
p.error {
    color: red;
    background-color: black;
    font-family: Courier, monospace;
    font-size: 120%;
    line-height: 140%;
    padding: 0.8em;
    margin: 1em 0;
}
p.error em {
    color: red;
    font-weight: normal;
    line-height: 140%;
}
.notice {
    color: white;
    background-color: black;
    display: block;
    font-family: Courier, monospace;
    font-size: 120%;
    line-height: 140%;
    padding: 0.8em;
    margin: 1em 0;
}
.success {
    background: green;
    color: #fff;
}

/* Cake Actions */
div.actions ul {
    margin: 5px;
    padding: 0;
}
div.actions li {
    display: inline;
    list-style-type: none;
    line-height: 2em;
    margin: 0 2em 0 0;
    white-space: nowrap;
}
div.actions ul li a {
    color: navy;
    font-weight: bold;
    text-decoration: none;
}
div.actions ul li a:hover {
    text-decoration: underline;
}

/* Cake Related */
div.related {
    clear: both;
    display: block;
}

/* Cake Debugging */
pre {
    color: white;
    background: black;
    padding: 1em;
    z-index: 1000;
}
pre.cake-debug {
    background: #ffcc00;
    font-size: 120%;
    line-height: 140%;
    margin-top: 1em;
    overflow: auto;
    position: relative;
}
div.cake-stack-trace {
    background: #fff;
    border: 4px dotted #ffcc00;
    color: #333;
    margin: 0px;
    padding: 6px;
    font-size: 120%;
    line-height: 140%;
    overflow: auto;
    position: relative;
}
div.cake-code-dump pre {
    position: relative;
    overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
    color: #000;
    background-color: #F0F0F0;
    margin: 0px;
    padding: 1em;
    overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
    clear: both;
    font-size: 12px;
    line-height: 15px;
    margin: 4px 2px;
    padding: 4px;
    overflow: auto;
}
div.cake-code-dump span.code-highlight {
    background-color: #ff0;
    padding: 4px;
}
div.code-coverage-results div.code-line {
    padding-left:5px;
    display:block;
    margin-left:10px;
}
div.code-coverage-results div.uncovered span.content {
    background:#ecc;
}
div.code-coverage-results div.covered span.content {
    background:#cec;
}
div.code-coverage-results div.ignored span.content {
    color:#aaa;
}
div.code-coverage-results span.line-num {
    color:#666;
    display:block;
    float:left;
    width:20px;
    text-align:right;
    margin-right:5px;
}
div.code-coverage-results span.line-num strong {
    color:#666;
}
div.code-coverage-results div.start {
    border:1px solid #aaa;
    border-width:1px 1px 0px 1px;
    margin-top:30px;
    padding-top:5px;
}
div.code-coverage-results div.end {
    border:1px solid #aaa;
    border-width:0px 1px 1px 1px;
    margin-bottom:30px;
    padding-bottom:5px;
}
div.code-coverage-results div.realstart {
    margin-top:0px;
}
div.code-coverage-results p.note {
    color:#bbb;
    padding:5px;
    margin:5px 0 10px;
    font-size:10px;
}
div.code-coverage-results span.result-bad {
    color: #a00;
}
div.code-coverage-results span.result-ok {
    color: #fa0;
}
div.code-coverage-results span.result-good {
    color: #0a0;
}


/* Custom */
.sitemap b {
    font-size: 1.2em;
    display: block;
    margin-top: 5px;
    margin-bottom: 2px;
}
li.sitemap {
    list-style-type: none;
    margin-bottom: 10px;
}
li.sitemap li {
    list-style-type: disc;
}
.nextRaceMsg {
    color: white;
}
.nextRaceMsg a {
    color: white;
}
.nextRaceMsg a:hover {
}
