* {
    margin: 0;
    padding: 0;
}
p {
    margin: 1em 0;
}
h1, h3 {
    margin-bottom: .5em;
}
h2 {
    margin: 1em 0 .5em 0;
}
h2.first {
    margin-top: 0;
}
.clear {
    clear: both;
    display: block;
}
a img {
    border: none;
}
body {
    font: 12px/18px "Trebuchet MS", Arial, Helvetica, sans-serif;
    margin: 15px 0;
}

.black {
    color: black;
}

/* Headers */

h1 {
    font-size: 24px;
}
h2 {
    font-size: 18px;
    line-height: 27px;
}
h3 {
    font-size: 16px;
    line-height: 24px;
}
h4 {
    font-size: 12px;
    line-height: 18px;
}


/* Links */

a {
    color: #5B9EFF;
    font-weight: bold;
}


/* Tables */

table {
    border-collapse: collapse;
    width: 100%;
}

.vendor-row:nth-child(odd) {
    background-color: #EFEFEF;
}

tr.alt-row:nth-child(odd) {
    background-color: #EFEFEF;
}

tr.alt-row:nth-child(even) {
    background-color: #FFF;
}

.blue-alt:nth-child(odd) {
    background-color: #E0EEFF;
}

.blue-alt:nth-child(even) {
    background-color: #FFFFFF;
}

li.key:nth-child(odd) {
    background-color: #DDDDDD;
}


.alt {
    background-color: #EFEFEF;
}

th {
    border-color: #5B5B5B;
    border-style: groove;
    background: #C5C7C8 url(/static/img/table_head_back.png) repeat-x;
    padding: 2px 15px;
    border-width: 1px 1px 1px 2px;
    border-left-color: #FFF;
    color: #3C3C3C;
}
th, td {
    padding: 2px 15px;
    vertical-align: top;
}
th {
    text-align: left;
}
th.first, td.first {
    border-left: none !important;
}
th.last, td.last {
    border-right: none !important;
}
td {
    border-left: 1px solid #D0D0D0;
    border-right: none;
}
td.containsSelect {
    padding: 0;
}
td.total {
    color: #FFF;
    background-color: #508BED;
}
tfoot td {
    color: #828282;
    font-weight: bold;
}
tfoot td.last {
    border: 1px solid #5B5B5B;
}


/* Forms */

form p {
    width: 100%;
    overflow: hidden;
}
form p label {
    float: left;
}
span.formInput {
    float: right;
    display: block;
    text-align: left;
}
input.textInput, span.formInput select {
    width: 150px;
}
input.dateTextInput {
    width: 75px;
}

td select {
    width: 100%;
}


/* Main Layout */

#top, #bottom {
    width: 982px;
    background-repeat: no-repeat;
    margin: 0 auto;
    height: 15px;
}
#top {
    background-position: left bottom;
}
#container {
    width: 968px;
    padding: 0 7px;
    margin: 0 auto;
}
#footer {
    text-align: center;
    font-size: 10px;
    color: #919191;
}


/* Error Messages */

#error, .error-message {
    color: #FF655C;
    font-weight: bold;
}
#error ul li {
    margin-left: 15px;
}
.form-error {
    background-color: #FFB2AD;
}


/* Flash Content */

#flashcontent{
    position: absolute;
    height: 100%;
    width: 100%;
    margin-top: -15px;
}
pre.cake_debug {
    background: #F8CE18;
    max-height: 250px;
    overflow: auto;
    margin: 10px;
}

.red {
    color: rgb(255, 30, 0);
}

.orange {
    color: orange;
}

.white {
    color: white;
}

.text-center {
    text-align: center;
}

#editfield {
    margin-right: 5px;
}

.vendor-report-row > td {
    min-height: 50px;
}