/*
    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 */
form, div {
	margin:0px;
	padding: 0px;
}
html { font-size: 70%; font-family: Arial, Helvetica, sans-serif; }
strong, th, thead td, h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
}
cite, em, dfn { font-style: italic; }
code, kbd, samp, pre, tt, var, input[type='text'], textarea { }
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; }
/* QUOTES */

blockquote { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; color: #666; }
/* blockquote *:first-child:before { contentright: "\201C"; } */
/* blockquote *:first-child:after { contentright: "\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   { contentright: '\201C'; } */
/* html[lang|='en'] q:after    { contentright: '\201D'; } */
/* html[lang|='en'] q q:before { contentright: '\2018'; } */
/* html[lang|='en'] q q:after  { contentright: '\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 { outline: 2px solid #ffffaa; }
input, select { cursor: pointer; }
input[type='text'] { cursor: text; }

/*
-----------------------------
contentright ONLY
-----------------------------
*/

/* BASE SIZES */

.contentright {
	font-size: 1.2em;
	line-height: 1.6em;
}
.contentright h1 {
	font-size: 1.6em;
	font-weight: normal;
	color: #293184;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #293184;
	padding-bottom: 5px;
}
.contentright h2 {
	font-size: 1.3em;
	font-weight: normal;
	color: #3D8D35;
}
.contentright h3 { font-size: 1.4em; }
.contentright h4 { font-size: 1.3em; }
.contentright h5 { font-size: 1.2em; }
.contentright h6 { font-size: 1em; }

/* HR */

.contentright hr { display: block; background: #aaa; color: #aaa; width: 100%; height: 1px; border: none; }

/* LISTS 

.contentright ul li {
	margin-left: .85em;
	list-style-type: square;
}*/
/* .contentright ul li:before { contentright: "\2022\00a0\00a0"; } */
.contentright ol { list-style-position: outside; list-style-type: decimal; }
.contentright dt { font-weight: bold; }

/* TABLES */

.contentright table { }
.contentright th, .contentright td { }

/* MARGINS & PADDINGS */

.contentright blockquote *:first-child { margin: .8em 0; }
.contentright hr, .contentright p, .contentright dl, .contentright pre, .contentright blockquote, .contentright address, .contentright table, .contentright form {
	margin-top: 1.5px;
	margin-bottom: 1.5em;
}
.contentright p+p { }
/* NOTE: Calulate header margins: TOP: 1.6em/size, BOTTOM: 1.6em/size/2 */
.contentright h1 { margin: 1em 0 .5em;  }
.contentright h2 {
	margin-top: 2em;
	margin-right: 0;
	margin-bottom: 1em;
	margin-left: 0;
	color: #3D8D35;
	font-size: 1.3em;
	font-weight: bold;
}
.contentright h3 {
	font-weight: bold;
	margin-top: 0em;
	margin-right: 0;
	margin-bottom: 0px;
	margin-left: 0;
	font-size: 1.1em;
	color: #293184;
}
.contentright h4 { margin: 1.23em 0 .615em; }
.contentright h5 { margin: 1.33em 0 .67em; }
.contentright h6 { margin: 1.6em 0 .8em; }
.contentright th, .contentright td {
	padding-top: 0em;
	padding-right: 1em;
	padding-bottom: 0em;
	padding-left: 0em;
}
.contentright caption { padding-bottom: .8em; } /* padding instead of margin for IE */
.contentright blockquote { padding: 0 1em; margin: 1.6em 0; }
.contentright fieldset { padding: 0 1em 1em 1em; margin: 1.6em 0; } /* padding-top is margin-top for fieldsets in Opera */
.contentright legend { padding-left: .8em; padding-right: .8em; }
.contentright legend+* { margin-top: 1em; } /* compensates for the opera margin bug */
.contentright textarea, .contentright input { padding: .3em .4em .15em .4em; }
.contentright select { padding: .1em .2em 0 .2em; }
.contentright option { padding: 0 .4em; }
.contentright a {
	padding: 0.3em 0 .1em 0;
} /* for larger click-area */
.contentright dt { margin-top: .8em; margin-bottom: .4em; }
.contentright form div { margin-bottom: .8em; }

/* COLORS */

.topnav a:link, .topnav a:visited {text-decoration: none; color: #888888;}
.footer_right a:link, .footer_right a:visited {text-decoration: none; color: #676767;}

.contentright a:link { text-decoration: underline; color: #00336f; }
.contentright a:visited { text-decoration: underline; color: #044C9F; }
.contentright a:hover { text-decoration: underline; color: #3D8D35; }
.contentright a:active, .contentright a:focus { text-decoration: underline; color: #3D8D35; }
.contentright code, .contentright pre { color: #c33; } /* very optional, but still useful. W3C uses about the same colors for codes */
