/**
 * Globally available styles
 */

/*********************** Reset (inspired by blueprint CSS) ********************/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, dialog, figure, footer, header,
hgroup, nav, section {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}

article, aside, dialog, figure, footer, header,
hgroup, nav, section {
    display:block;
}

body {
    line-height: 1.5;
}

/* Tables still need 'cellspacing="0"' in the markup. */
table {
    border-collapse: collapse;
    border-spacing: 0;
}
caption, th, td {
    text-align: left;
    font-weight: normal;
}
table, td, th { 
    vertical-align: middle;
}
th {
    font-weight: bold;
}

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { 
    content: "";
}
blockquote, q { 
    quotes: "" "";
}

/* Remove annoying border on linked images. */
a img { 
    border: none;
}


/********************************* General Style Info *************************/

/* Default font settings.
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
html { font-size:100.01%; }
body {
    font-size: 75%;
    background: #fff;
	color: #000;
    font-family: sans-serif;
}

a {
    color: #003d7c;
    text-decoration: underline;
}
a:hover {
    color: #ac3d00;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}
h1 {
    font-size: 180%;
}
h2 {
    font-size: 150%;
}
h3 {
    font-size: 130%;
}
h4 {
    font-size: 115%;
}
h5 {
    font-size: 105%;
}
h6 {
    font-size: 100%;
}

select, input, textarea {
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 100%;
    margin: 0;
}
table {
    font-size: 100%;
}

strong      { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
sup, sub    { line-height: 0; }

abbr,
acronym     { border-bottom: 1px dotted #666; cursor: help; }
address     { margin: 0 0 1.5em; font-style: italic; }

pre         { margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }

blockquote  { margin: 1.5em; font-style: italic; }
blockquote em { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
    margin: 0.5em 0;
}
p, ul, ol {
    margin: 1em 0;
}
ul, ol {
    padding: 0 0 0 1em;
    margin: 1em 0;
    list-style-position: inside;
}
li ul, li ol {
    margin: 0;
}
ul {
    list-style-type: disc;
}
ol {
    list-style-type: decimal;
}

/********************************* Layout *******************************/

.sl-column {
    float: left;
}
.sl-clear {
    height: 0;
    clear: both;
}

.sl-column-inner {
    padding: 0 1em;
}
.sl-column-first {
    padding-left: 0;
}
.sl-column-last {
    padding-right: 0;
}

.sf-menu {
    cursor: default;
}

.sl-node-separator {
    border: none;
    height: 0;
    border-bottom: 1px solid #666;
    margin: 1em 0;
    clear: both;
}

/********************************* Carousel *******************************/

.sl-carousel-prev, .sl-carousel-next {
    position: absolute;
    bottom: 40%;
    top: 40%;
    z-index: 100;
    width: 3em;
}
.sl-carousel-next {
    right: 0;
}

.sl-carousel-node-index li.carousel {
    width: 200px;
    position: relative;
    height: 160px;
    padding: 0 200px 0 4em;
}
.sl-carousel-node-index .sl-image {
    position: absolute;
    right: 4em;
    top: 0;
}

/********************************* Images *******************************/

.sl-image {
    display: inline;
}
.sl-align-left,
.sl-align-right,
.sl-align-auto {
    display: block;
}

.sl-align-auto, .sl-align-left {
    margin: 0 1em 1em 0;
    float: left;
    clear: left;
}
.sl-align-right {
    margin: 0 1em 1em 0;
    float: right;
    clear: right;
}

table.sl-image-gallery {
    width: 100%;
}
table.sl-image-gallery td {
    text-align: center;
}


/****************************** Notices and Errors ****************************/

.sl-message-error, .sl-message-notice, .sl-message-success, .sl-message-info {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin: .5em;
    padding: .5em;
    color: #000;
}
.sl-message-error {
    background: #eaa;
}
.sl-message-notice {
    background: #f7f7bb;
}
.sl-message-success {
    background: #9d9;
}
.sl-message-info {
    background: #eee;
}

/********************************* Debugging *******************************/

pre {
    text-align: left;
    color: #000;
    background: #f9f9f9;
    padding: 1em;
}
pre.cake-debug {
    background: #ffcc00;
    font-size: 120%;
    line-height: 140%;
    margin-top: 1em;
    overflow: auto;
    position: relative;
}
div.cake-stack-trace {
    text-align: left;
    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;
}

/********************************* SQL table *******************************/

.cake-sql-log 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 {
    background:#f2f2f2;
    display: block;
    padding: 2px 4px;
    text-decoration: none;
}
.cake-sql-log th a:hover {
    background: #ccc;
    color: #333;
    text-decoration: none;
}
.cake-sql-log td {
    background: #fff;
    border-right: 1px solid #ccc;
    text-align: center;
    vertical-align: top;
    padding: 4px 8px;
    text-align: left;
}
.cake-sql-log tr.altrow td {
    background: #f4f4f4;
}
.cake-sql-log {
    border:1px solid #ccc;
    border-right:0;
    clear: both;
    color: #333;
    margin-bottom: 10px;
    width: 100%;
    background: #f4f4f4;
}

/********************************* phpinfo() *******************************/

.sl-phpinfo { margin: 1em 0; }
.sl-phpinfo pre { margin: 0; line-height: 1; }
.sl-phpinfo a { color: #003d7c; text-decoration: underline; }
.sl-phpinfo a:hover {}
.sl-phpinfo table { border: 2px solid #ddd; border-collapse: collapse; }
.sl-phpinfo .center { text-align: center; }
.sl-phpinfo .center table { margin: 0 auto; }
.sl-phpinfo .center th { background: #eee; text-align: center; font-weight: bold; }
.sl-phpinfo td, th { border: 1px solid #ddd; padding: 2px; }
.sl-phpinfo h1 { margin: 1em 0 .5em 0; }
.sl-phpinfo h2 { margin: 1em 0 .5em 0; border: none !important; }
.sl-phpinfo .p { font-size: 100% !important; border: none !important; }
.sl-phpinfo .e { background: #eee; }
.sl-phpinfo .h { background: #99c; }
.sl-phpinfo .v { text-align: left; }
.sl-phpinfo tr.v { background: #ccc; }
.sl-phpinfo .vr {}
.sl-phpinfo img {}
.sl-phpinfo hr { display: none; }



/**********************************/

/* Contact forms */
h3.sl-contact_form {
    margin: 1em 0 .5em 0;
}
div.sl-contact_form {
    margin: 0 0 2em 0;
}
.input {
    margin: .5em 0 1em 0;
}
.input label {
    display: block;
    margin: 0 0 .2em 0;
    font-weight: bold;
}
.checkbox label,
.radio label {
    display: inline;
    padding: 0 1em 0 .2em;
    font-weight: normal;
}
.sl-contact_form .after {
    font-size: 90%;
}

.textarea textarea,
.select select,
.text input,
.password input {
    width: 95%;
    display: block;
    font-size: 120%;
}
.submit input {
    padding: 0 2em; /* make the submit button bigger */
}
.submit {
    margin: 1em 0;
}
