/* (c) Tripoli: monc.se/kitchen */

/* MAIN TYPOGRAPHY */

html { font-size: 62.5%; font-family: "Trebuchet MS", arial, sans-serif; }
strong, th, thead td, h1, h2, h3, h4, h5, h6, dt { font-weight: bold; }
cite, em, dfn { font-style: italic; }
code, kbd, samp, pre, tt, var, input[type='text'], input[type='password'], textarea { font-size: 92%; font-family: "Lucida Console", "Trebuchet MS"; }
pre { white-space: pre; }
pre * { font-size: 100%; white-space: pre; }
del { text-decoration: line-through; color: #666; }
ins, dfn { border-bottom: 1px solid #ccc; }
small, sup, sub { font-size: 85%; }
big { font-size: 125%; line-height: 80%; }
abbr, acronym { text-transform: uppercase; font-size: 85%; letter-spacing: .1em; }
a abbr, a acronym { border: none; }
abbr[title], acronym[title], dfn[title] { cursor: help; border-bottom: 1px solid #ccc; }
sup { vertical-align: super; }
sub { vertical-align: sub; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }


/* QUOTES */

blockquote { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; color: #666; }
blockquote > *:before { container: "\201C"; }
blockquote > *:after { container: "\201D"; }

/* language specific quotes! */

q { quotes: "\201C" "\201D" "\2018" "\2019"; }
:lang(af), :lang(nl), :lang(pl) { quotes: '\201E' '\201D' '\201A' '\2019'; }
:lang(bg), :lang(cs), :lang(de), :lang(is), :lang(lt), :lang(sk), :lang(sr), :lang(ro) { quotes: '\201E' '\201C' '\201A' '\2018'; }
:lang(da), :lang(hr) { quotes: '\00BB' '\00AB' '\203A' '\2039'; }
:lang(el), :lang(es), :lang(sq), :lang(tr) { quotes: '\00AB' '\00BB' '\2039' '\203A'; }
:lang(en-GB) { quotes: '\2018' '\2019' '\201C' '\201D'; }
:lang(fi), :lang(sv) { quotes: '\201D' '\201D' '\2019' '\2019'; }
:lang(fr) { quotes: '\ab\2005' '\2005\bb' '\2039\2005' '\2005\203a'; }

/* NOTE: safari refuses to support the quotes syntax. I only added the english language quotes for safari to save space. */
*[lang|='en'] q:before   { container: '\201C'; }
*[lang|='en'] q:after    { container: '\201D'; }
*[lang|='en'] q q:before { container: '\2018'; }
*[lang|='en'] q q:after  { container: '\2019'; }

/* FORMS */

fieldset { border: 1px solid #ccc; }
legend { background: #fff; }
textarea, input[type='text'], select { background: #fff; }
textarea:hover, input[type='text']:hover, input[type='password']:hover, select:hover { border-color: #ccc; }
textarea:focus, input[type='text']:focus, input[type='password']:focus, select:focus { border-color: #888; outline: 1px solid #ddd; }
input[type='button'], input[type='submit'], input[type='checkbox'], input[type='image'], input[type='radio'], input[type='reset'], select, button { cursor: pointer; }
input[type='hidden'] { display:none; }

/*
-----------------------------
container ONLY
-----------------------------
*/

/* BASE SIZES */

.container { font-size: 1.2em; line-height: 1.5em; }
.container h1 { font-size: 1.6em; }
.container h2 { font-size: 1.5em; }
.container h3 { font-size: 1.4em; }
.container h4 { font-size: 1.3em; }
.container h5 { font-size: 1.2em; }
.container h6 { font-size: 1em; }

/* MARGINS & PADDINGS */

.container hr, .container p, .container ul, .container ol, .container dl, .container pre, .container blockquote, .container address, .container table, .container form { margin-bottom: 1.6em; }
/* NOTE: Calulate header margins: TOP: line-height/size, BOTTOM: TOP/2 */
.container h1 { margin: 1em 0 .5em;  }
.container h2 { margin: 1.07em 0 .535em; }
.container h3 { margin: 1.14em 0 .57em; }
.container h4 { margin: 1.23em 0 .615em; }
.container h5 { margin: 1.33em 0 .67em; }
.container h6 { margin: 1.6em 0 .8em; }
.container h1 .header-link-smaller, .container h2 .header-link-smaller, .container h3 .header-link-smaller, .container h4 .header-link-smaller { font-size: 0.8em; }
.container .island-content-inner h1:first-child, .container .island-content-inner h2:first-child, .container .island-content-inner h3:first-child, .container .island-content-inner h4:first-child, .container .island-content-inner h5:first-child, .container .island-content-inner h6:first-child { margin-top: 0; }
.container th, .container td { padding: .8em; }
.container caption { padding-bottom: .8em; } /* padding instead of margin for IE */
.container blockquote { padding: 0 1em; margin: 1.6em 0; }
.container fieldset { padding: 0 1em 1em 1em; margin: 1.6em 0; } /* padding-top is margin-top for fieldsets in Opera */
.container legend { padding-left: .8em; padding-right: .8em; }
.container legend+* { margin-top: 1em; } /* compensates for the opera margin bug */
.container textarea, .container input { padding: .3em .4em .15em .4em; }
.container select { padding: .1em .2em 0 .2em; }
.container option { padding: 0 .4em .1em; }
.container dt { margin-top: .8em; margin-bottom: .4em; }
.container ul, .container ol { margin-left: 2.2em; }
.container ul ul, container ol ul, .container ul ol, container ol ol { margin-bottom: 0; }
.container form div { margin-bottom: .8em; }
.container blockquote > * { margin: .8em 0; }

/* COLORS */
a { color: #008ace; }
.container h1 { color: #58902f; }
.container h2 { color: #58902f; }

/* LISTS */
.container ul { list-style-image: url(../images/bullet-1.gif); }
.container ol { list-style: upper-roman; }
.container ol ol { list-style: lower-roman; }
.container ul li, .container ol li { margin-bottom: 3px; }

/* TABLES */
.container thead { text-transform: uppercase; background: url(../images/bg-fade-redorange.png) repeat-x bottom left #eb4410; color: #FFF; } 
.container thead a { color: #FFF; }
