@import url(reset.css);

/*
    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 */

strong, th, thead td { font-weight: bold; }
cite, em, dfn { font-style: italic; }
code, kbd, samp, pre, tt, var, input[type='text'], input[type='password'], 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; }
.noMargin { margin:0; padding:0; }

/* 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 { padding:0px; margin:0px;  }
fieldset form { padding:0; }
legend { background: #fff;  font-weight:bold; }
label { display:inline; float:left; cursor:pointer; line-height:18px; color:#164076; font-weight:bold; }
textarea, input[type='text'], input[type='password'], select { }
textarea:hover, input[type='text']:hover, input[type='password']:hover, select:hover {  }
#mainColumn textarea:hover, #mainColumn input[type='text']:hover, #mainColumn input[type='password']:hover, #mainColumn select:hover { border-color: #a6a6a6; }
textarea:focus, input[type='text']:focus, input[type='password']:focus, select:focus {  }
#mainColumn textarea:focus, #mainColumn input[type='text']:focus, #mainColumn input[type='password']:focus, #mainColumn select:focus { border-color: #a6a6a6; }
input, select { cursor: pointer; }
input[type='text'], input[type='password'] { cursor: text; }
input[type='submit'] {  }
input[type='checkbox'] { float:left;}

/* BASE SIZES */

.left { float:left; display:inline; }
.right { float:right; display:inline; }

/* HR */

hr { display: block; background: #ffcd3a; color: #ffcd3a; width: 100%; height: 1px; border: none; }

/* LISTS */

ul { list-style: disc outside; margin-left: 0px; padding-left:0px; } /* IE can't handle :before and :after */
ul li { text-indent: 0; margin-left: 0; }
ol { list-style-position: outside; list-style-type: decimal; }
dt { font-weight: bold; }
ul li p { margin:0px; padding:0px; display:inline; }

/* TABLES */

table { border-top: 1px solid #ccc;  border-left: 1px solid #ccc; }
th, td { border-bottom: 1px solid #ddd; border-right: 1px solid #ccc; }

/* MARGINS & PADDINGS */

blockquote *:first-child { margin: .8em 0; }
p, ol, dl, pre, blockquote, address, table, form { margin-bottom: 18px; }
address { font-style:normal; }

/* NOTE: Calulate header margins: TOP: 1.6em/size, BOTTOM: 1.6em/size/2 */

th, td { padding: .8em; }
caption { padding-bottom: .8em; } /* padding instead of margin for IE */
blockquote { padding: 0 1em; margin: 1.6em 0; }
legend { padding-left: .8em; padding-right: .8em; margin-left:-13px; border:1px solid #ccc; border-bottom:0px;  }
legend+* { margin-top: 1em; } /* compensates for the opera margin bug */
textarea, input { padding: 2px 3px 2px 3px; margin-bottom:10px; }
textarea { width:180px; height:100px; }
.small_height { height:50px; }
.small_textarea textarea { height:100px; }
select { padding: .1em .2em 0 .2em; margin-bottom:10px; }
option { padding: 0 .4em; }

dt { margin-top: .8em; margin-bottom: .4em; }
ul { margin-left: 2em;  margin-top:18px; }
ol { margin-left: 2.35em;  margin-top:18px; }
ol ol, ul ol { margin-left: 2.5em; }
form div {  }

/* COLORS */
code, pre { color: #c33; } /* very optional, but still useful. W3C uses about the same colors for codes */
.green { color:#008000; border-color:#008000; }
.red { color:#c33; border-color:#c33; }
.blue { color:#36c; border-color:#36c; }
.darkBlue { color:#164076; border-color:#164076; }
.autoW { width:auto !important; }
.center { margin:0 auto; }
.txt_center { text-align:center; }
.noFloat { float:none; }
