* { margin: 0; padding: 0; text-decoration: none; font-size: 1em; outline: none; }
code, kbd, samp, pre, tt, var, textarea, input, select, isindex { font: inherit; font-size: 1em; }
dfn, i, cite, var, address, em { font-style: normal; }
th, b, strong, h1, h2, h3, h4, h5, h6 { font-weight: normal; }
a, img, a img, iframe, form, fieldset, abbr, acronym, object, applet { border: none; }
#main img {

}
table { border-collapse: collapse; border-spacing: 0; }
caption, th, td, center { text-align: left; vertical-align: top; }
body { line-height: 1; background: white; color: black; font-size: 1em; }
q { quotes: "" ""; }
sub, sup { vertical-align: baseline; }
a { color: inherit; }
hr { display: none; } /* we don't need a visual hr in layout */
font { color: inherit !important; font: inherit !important; color: inherit !important; } /* disables some nasty font attributes in standard browsers */


/*
    Tripoli is a generic CSS standard for HTML rendering. 
    Copyright (C) 2007  David Hellsing

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

/*
-----------------------------
GENERIC
-----------------------------
*/

/* MAIN TYPOGRAPHY */

html { font-size: 75%; font-family: "lucida grande", arial, "lucida sans unicode", "microsoft sans serif", sans-serif; }
strong, th, thead td { font-weight: bold; }
cite, em, dfn { font-style: italic; }
code, kbd, samp, pre, tt, var, input[type='text'], textarea { font-size: 100%; font-family: monaco, "Lucida Console", courier, mono-space; }
del { text-decoration: line-through; color: #666; }
ins, dfn { border-bottom: 1px solid #ccc; }
small, sup, sub { font-size: 85%; }
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; }
h1, h2, h3, h4, h5 { font-family: "Arial Narrow", Arial, Helvetica, Sans-serif; }
h1 a, h2 a, h3 a, h4 a, h5 a {
  text-decoration: none;
}

/* QUOTES */

blockquote { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; color: #666; }
blockquote *:first-child:before { content: "\201C"; }
blockquote *:first-child:after { content: "\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. */
html[lang|='en'] q:before   { content: '\201C'; }
html[lang|='en'] q:after    { content: '\201D'; }
html[lang|='en'] q q:before { content: '\2018'; }
html[lang|='en'] q q:after  { content: '\2019'; }

/* FORMS */

fieldset { border: 1px solid #ccc; }
legend { background: #fff; }
textarea, input[type='text'], select { border: 1px solid #ccc; background: #fff; }
/*textarea:hover, input[type='text']:hover, input[type='password']:hover, select:hover { border-color: #aaa; }*/
/*textarea:focus, input[type='text']:focus, input[type='password']:focus, select:focus { border-color: #888; outline: 2px solid #ffffaa; }*/
/*input, select { cursor: pointer; }*/


/*
-----------------------------
CONTENT ONLY
-----------------------------
*/

/* BASE SIZES */

#main { font-size: 1em; line-height: 1.7em; text-align: left; color: #444; }
#main h1 { font-size: 172%; }
#main h2 { font-size: 172%; }
#main h3 { font-size: 166%; }
#main h4 { font-size: 125%; }
#main h5 { font-size: 116%; }
#main h6 { font-size: 100%; }

/* HR */

#main hr { display: block; background: #e7e7e7; color: #e7e7e7; width: 98%; height: 1px; border: none; }

/* LISTS */


#content dt { font-weight: bold; }

/* TABLES 

#content table { border-top: 1px solid #ccc;  border-left: 1px solid #ccc; }
#content th, #content td { border-bottom: 1px solid #ddd; border-right: 1px solid #ccc; }

*/

/* MARGINS & PADDINGS */

#content blockquote *:first-child { margin: .8em 0; }
#content hr, #content p, #content ul, #content ol, #content dl, #content pre, #content blockquote, #content address, #content table, #content form { margin-bottom: 1.6em; }
/* NOTE: Calulate header margins: TOP: 1.6em/size, BOTTOM: 1.6em/size/2 */
h1 { margin: .7em 0 .3em;  }
h2 { margin: .8em 0 .4em; }
h3 { margin: .9em 0 .5em; }
h4 { margin: 1em 0 .6em; }
h5 { margin: 1.1em 0 .7em; }
h6 { margin: 1.2em 0 .8em; }
#content h1 { margin: .2em 0 .3em; }
#content h2 { margin: .2em 0 .4em; }
#content ul, #content ol { padding-left: 15px; }
#main th, #main td { padding: .1em; }
#main caption { padding-bottom: .8em; } /* padding instead of margin for IE */
#main blockquote { padding: 0 1em; margin: 1.6em 0; }
#main fieldset { padding: 0 0 1em 0; } /* padding-top is margin-top for fieldsets in Opera */
#main legend { padding-left: .8em; padding-right: .8em; }
#main legend+* { margin-top: 1em; } /* compensates for the opera margin bug */
#main textarea, #main input { padding: .5em .4em .25em .4em; }
#main select { padding: .1em .2em 0 .2em; }
#main option { padding: 0 .4em; }
#main a { position: relative; padding: 0.3em 0 .1em 0; } /* for larger click-area */
#main dt { margin-top: .8em; margin-bottom: .4em; }
#main ol { margin-left: 2.35em; }

#main form div { margin-bottom: .8em; }

/* COLORS */

h1, h2, h3, h4, h5, h1 a, h2 a, h3 a, h4 a, h5 a {
  color: #272727;
}
a { text-decoration: underline; color: #AA2C4A; }
a:hover { text-decoration: none; color: #DB798F; }
a:active, a:focus { text-decoration: underline; color: #000; }
#main code, #main pre { color: #c33; } /* very optional, but still useful. W3C uses about the same colors for codes */
