div.bl {
    border: 1px dashed #ccc;
    margin: -1px;
}

a {
    padding: 2px 4px 2px 4px;
}
a:hover {
    background-color: #BEEA69;
    color: #000;
}
a.city {
    color: #000099;
}
a.state {
    color: #FF6600;
}
a.state:hover, a.city:hover {
    color: #5FA325;
    background-color: transparent;
    text-decoration: underline;
}

p {
    padding: 0em 0em 0em 0.5em;
}

.link {
    padding: 2px 4px 2px 4px;
}
.link:hover {
    background-color: #BEEA69;
    color: #000;
}

img.thumb {
    padding: 1px;
    border: 1px solid #ccc;
}
img.thumb:hover {
    border: 1px solid #0447B3;
}
div.arrowUp {
    background: transparent url(../img/arrow_up.png) center center no-repeat;
    height: 5px;
    margin: -10px 0 5px 0;
}
.date {
    background: #FFF8CC url(../img/calendar_month.png) 3px 2px no-repeat;
    color: #444;
    font-style: italic;
    padding: 3px 6px 1px 22px;
}
span.smallgray {
    font-size: 11px;
    color: gray;
}

/* Forms */
textarea {
    font-size: 12px;
}
input.err, textarea.err {
    border: 1px solid #DD3C10;
    background-color: #FFEBE8;
}
input.valid, textarea.valid {
    border: 1px solid #38E660;
    background-color: #B8F5B1;
}
span.tick { /*to be removed*/
    font-size: 14px;
    background: transparent url(../img/tick_circle.png) no-repeat;
    margin-left: 4px;
    padding-left: 16px;
}
div.tick {
    background: transparent url(../img/tick_circle.png) no-repeat;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    float: left;
}

div.ico_delete {
    background: transparent url(../img/cross_small.png) 0 2px no-repeat;
    padding-left: 15px;
    color: #BD070F;
}
div.ico_restore {
    color: #3B5998;
}
div.imageDelete {
    background: #fff url(../img/cross_small.png) -1px -2px no-repeat;
    width: 12px;
    height: 12px;
    cursor: pointer;
}
div.imageDelete:hover {
    border: 1px solid #ff0000;
}
div.loading, div.saving, div.processing {
    background-position: 3px 4px;
    background-repeat: no-repeat;
    padding: 5px 5px 5px 23px;
    line-height: 16px;
    /*float: left;*/
    display: inline;
    -moz-border-radius: 0.5em;
    border-radius: 0.5em;
}
div.loading {
    background-color: #E0E5F5;
    background-image: url(../img/loading.gif);
}
div.saving {
    background-color: #FFF1A8;
    background-image: url(../img/loading2.gif);
}

div.previewImage {
    border: 1px solid #ccc;
    margin: 4px 3px;
    padding: 1px;
    width: 64px;
    height: 64px;
    background: center center no-repeat;
}
div.previewImage:hover {
    border: 1px solid #3B5998;
}
div.selected, div.selected:hover {
    border: 1px solid #97BC5F;
    cursor: default;
}
div.uploadBar {
    background: url(../img/upload.gif) no-repeat;
    color: #333;
    margin: 3px 0 0 1px;
    width: 185px;
    height: 13px;
    cursor: default;
}

div.input {
    /*border-bottom: 1px solid #DFDFDF;*/
    text-align: left;
    padding: 5px;
    clear: both;
}
div.err {
    border-top: 1px solid #DF7D7D;
    border-bottom: 1px solid #DF7D7D;
    background-color: #FFDFDF;
    margin-top: -1px;
}
div label {
    float: left;
    padding: 2px 10px 2px 0;
    text-align: right;
    width: 20%;
}
div.submit, div.checkbox {
    margin-left: 21%;
    text-align: left;
    padding: 5px;
    clear: both;
}

/* Tables */
div.index table {
    font-size: 11px;
    background: #fff;
    border: 1px solid #ccc;
    border-right: 0;
    clear: both;
    color: #333;
    margin-bottom: 10px;
    width: 100%;
}
div.index table th {
    background: #F1F1F1;
    border: 1px solid #bbb;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    padding-right: 0;
    text-align: left;
}
div.index table th a {
    display: block;
    margin-left: -1em;
    padding: 0 0 0 1em;
    text-decoration: none;
}
div.index table th a:hover {
    background-color: #FDEB6B;
    color: #333;
    text-decoration: underline;
}
div.index table tr td {
    background: #fff;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #F0F0F0;
    padding: 4px;
    text-align: left;
    vertical-align: top;
}
tr.altrow, tr.altrow td {
    background: #F4F8FC;
}
td.actions {
    text-align: center;
    white-space: nowrap;
}
td.actions a {
    margin: 0px 2px;
}
div.form table {
    width: none;
    border: 0;
}
div.form table tr td {
    border: 0;
}
td.label {
    color: #666666;
    font-weight: bold;
    line-height: 11px;
    padding: 8px 10px 0 0;
    text-align: right;
    width: 150px;
}
td.labelErr {
    color: #900;
}
td.labelValid {
    color: #1E7211;
}
td.input {
    padding: 2px;
}
#form-table td div.input {
    display: inline;
}


/* Refine Search */
div.refinesearch {
    border:1px solid #E0E0E0;background-color:#F5F5F5;
    -moz-border-radius-bottomleft: 0.3em;
    -moz-border-radius-bottomright: 0.3em;
    -webkit-border-bottom-left-radius: 0.3em;
    -webkit-border-bottom-right-radius: 0.3em; 
}
div.refinesearch_header {
    background-color:#000000; color:#FFFFFF; font-size:14px; border-bottom:1px solid #CEB503; padding:3px; padding-left:10px; 
    -moz-border-radius-topleft: 0.3em;
    -moz-border-radius-topright: 0.3em;
    -webkit-border-top-left-radius: 0.3em;
    -webkit-border-top-right-radius: 0.3em;
}

/* Paging */
div.paging {
    background: #fff;
    color: #ccc;
}
div.paging div.disabled {
    color: #ddd;
    display: inline;
}
div.paging div.link {
    cursor: pointer;
    display: inline;
}
div.paging span {
}
div.paging span.current {
    padding: 0 5px 0 5px;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    text-decoration: underline;
    cursor: default;
}
div.paging span a {
}

/* Scaffold View */
dl {
    line-height: 2em;
    margin: 0 3em 3em 3em;
}
dl dt.altrow, dl dd.altrow {
    background: #f4f4f4;
}
dl dt {
    padding-left: 4px;
    vertical-align: top;
    margin-top: 1em;
}
dl dd {
    margin: -0.5em 0 0 0;
    padding: 0 0.5em 0 1.5em;
    vertical-align: top;
}

/*  Actions  */
div.actions ul {
    margin: 0px 0;
    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 {
    background:#fff;
    color: #003d4c;
    text-decoration: none;
}
div.actions ul li a:hover {
    color: #333;
    text-decoration: underline;
}

/* Debugging */
pre {
    color: #000;
    background: #f0f0f0;
    padding: 1em;
}
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;
}
div.error-message {
    clear: both;
    color: #900;
    font-weight: bold;
    line-height: 16px;
    margin-top: 2px;
    padding: 2px;
    padding-left: 23px;
    background: #FFBFBF url(../img/cross.png) 4px 2px no-repeat;
    -moz-border-radius: 0.5em;
    border-radius: 0.5em;
}
.cake-sql-log table {
    background: #f4f4f4;
}
.cake-sql-log td {
    padding: 4px 8px;
    text-align: left;
}

/* Message Box */
.boxdebug, .boxError, .boxAtt, .boxNotice, .boxSuccess {
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0 0;
    padding-left: 8px;
    border: 1px solid;
}
.boxdebug {
    background-color: #FFFFFF;
    border-color: #CCCCCC;
}
.boxError {
    background-color: #FFEBE8;
    border-color: #DD3C10;
}
.boxError a {
    color: #DD3C10;
    text-decoration: none;
}
.boxAtt {
    background-color: #FFF9D7;
    border-color: #E2C822;
}
.boxNotice {
    background-color: #EEEEFF;
    border-color: #66AAEE;
}
.boxSuccess {
    background-color: #DFF3CB;
    border-color: #C3E6D8;
}

#changeLogo {
    background: #fff url(../img/images_pencil.png) right center no-repeat;
    border-right: 5px solid #fff;
    padding: 2px 20px 2px 4px;
    color: #000099;
    font-size: 11px;
    opacity: 0.8;
    position: absolute;
    top: 0;
    right: -1px;
    z-index: 3;
    cursor: pointer;
}
#changeLogo:hover {
    opacity: 1;
}
#logo {
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
}
#page_content table {
    width: 100%;
}
#page_content table tr td {
    vertical-align: top;
}
#messageBox {
    margin-bottom:5px;
}
#messageBox h4 {
    font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
    margin: 2px 0 2px 0;
}
