body {
    margin: 0;
    padding: 0;
    color: #555;
    font: normal 10pt Arial, Helvetica, sans-serif;
    background: #EFEFEF;
    padding-top: 40px
}

#page {
    background: white;
    border: 1px solid #C9E0ED;
}

#footer {
    padding: 10px;
    margin: 10px 20px;
    font-size: 0.8em;
    text-align: center;
    border-top: 1px solid #C9E0ED;
    color: #AAA;
}

h1 {
    padding: 0;
    font-size: 25px;
}

.shadow {
    -moz-box-shadow: 3px 0px 3px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 3px 0px 3px rgba(0, 0, 0, 0.2);
    box-shadow: 3px 0px 3px rgba(0, 0, 0, 0.2);
}

.last-item {
    border-right: 1px solid #e0e0e0;
    clear: right;
}

/* Flash messages styles */
div.flash-error,div.flash-notice,div.flash-success {
    padding: .8em;
    margin-bottom: 1em;
    border: 2px solid #ddd;
}

div.flash-error {
    background: #FBE3E4;
    color: #8a1f11;
    border-color: #FBC2C4;
}

div.flash-error a {
    color: #8a1f11;
}

div.flash-notice {
    background: #FFF6BF;
    color: #514721;
    border-color: #FFD324;
}

div.flash-notice a {
    color: #514721;
}

div.flash-success {
    background: #E6EFC2;
    color: #264409;
    border-color: #C6D880;
}

div.flash-success a {
    color: #264409;
}

/* Form styles */
div.form {
    margin: 0 !important;
}

div.form .fieldset {
    margin-top: 5px;
    text-align: left;
    min-height: 20px;
    line-height: 20px;
    background-color: #f0f0f0;
    border: 1px solid #dedede;
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 4px 4px 10px #CCCCCC;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

div.form .rememberMe label {
    display: inline;
}

div.form input,div.form textarea,div.form select {
    margin: 0.2em 0 0.5em 0;
    border: 1px solid #ccc;
    background-color: #fff;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border linear .2s, box-shadow linear .2s;
    -moz-transition: border linear .2s, box-shadow linear .2s;
    -o-transition: border linear .2s, box-shadow linear .2s;
    transition: border linear .2s, box-shadow linear .2s;
    padding: 4px 6px;
    font-size: 12px;
    line-height: 20px;
    color: #555;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    cursor: auto;
}

div.form fieldset {
    border: 1px solid #DDD;
    padding: 10px;
    margin: 0 0 10px 0;
    -moz-border-radius: 7px;
}

div.form label {
    font-weight: bold;
    font-size: 0.9em;
    display: block;
}

div.form .row {
    margin-left: 10px;
    margin-top: 10px;
    margin-right: 0;
}

div.form .row_buttons {
    background-color: #E0E0E0;
    border-top: 1px solid #CCCCCC;
    clear: both;
    padding: 10px;
    margin: 5px 0 0;
}

div.form .hint {
    margin: 0;
    padding: 0;
    color: #999;
}

div.form .note {
    font-style: italic;
    margin-left: 10px;
}

div.form span.required {
    color: red;
}

div.form label.error,div.form span.error {
    color: #C00;
}

div.form input.error,div.form textarea.error,div.form select.error {
    background: #FEE;
    border-color: #C00;
}

div.form .errorSummary {
    border: 2px solid #C00;
    padding: 7px 7px 12px 7px;
    margin: 0 0 20px 0;
    background: #FEE;
    font-size: 0.9em;
}

div.form .errorMessage {
    color: red;
    font-size: 0.9em;
}

div.form .errorSummary p {
    margin: 0;
    padding: 5px;
}

div.form .errorSummary ul {
    margin: 0;
    padding: 0 0 0 20px;
}

div.wide form label {
    float: left;
    margin-right: 10px;
    position: relative;
    text-align: right;
    width: 100px;
}

div.wide form .row {
    clear: left;
}

div.wide form .buttons {
    clear: left;
    padding-left: 110px;
}

div.wide form .errorMessage {
    margin: 0 0 0 110px;
}

/* Custom styles */
input {
    margin: 0 !important;
}

.help-block {
    display: block;
    margin: 0 !important;
    color: #999999;
    font-size: 12px;
    font-style: italic;
}