/*
    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: 62.5%; font-family: tahoma,verdana,helvetica,"microsoft sans serif",arial,sans-serif; }
strong, b, th, thead td, h1, h2, h3, h4, h5, h6 { font-weight: bold; }
cite, em, i, dfn { font-style: italic; }
code, kbd, samp, pre, tt, var, input[type='text'], textarea {  font-size: 1.2em;/*font-size: 92%;*/ font-family: tahoma,verdana,helvetica,"microsoft sans serif",arial,sans-serif /*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; }

/* 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 */

.content .articles-content-in fieldset { border: 1px solid #ccc; }
.content .articles-content-in legend {}
.content .articles-content-in textarea, .content .articles-content-in input[type='text'], .content .articles-content-in select { border: 1px solid #9f9f9f; background: #fff; }
.content .articles-content-in textarea:hover, .content .articles-content-in input[type='text']:hover, .content .articles-content-in input[type='password']:hover, .content .articles-content-in select:hover { border-color: #aaa; }
.content .articles-content-in textarea:focus, .content .articles-content-in input[type='text']:focus, .content .articles-content-in input[type='password']:focus, .content .articles-content-in select:focus { border-color: #888; outline: 2px solid #ffffaa; }
.content .articles-content-in input, .content .articles-content-in select { cursor: pointer; }
.content .articles-content-in input[type='text'] { cursor: text; }

.content .person-content-in fieldset { border: 1px solid #ccc; }
.content .person-content-in legend { }
.content .person-content-in textarea, .content .person-content-in input[type='text'], .content .person-content-in select { border: 1px solid #9f9f9f; background: #fff; }
.content .person-content-in textarea:hover, .content .person-content-in input[type='text']:hover, .content .person-content-in input[type='password']:hover, .content .person-content-in select:hover { border-color: #aaa; }
.content .person-content-in textarea:focus, .content .person-content-in input[type='text']:focus, .content .person-content-in input[type='password']:focus, .content .person-content-in select:focus { border-color: #888; outline: 2px solid #ffffaa; }
.content .person-content-in input, .content .person-content-in select { cursor: pointer; }
.content .person-content-in input[type='text'] { cursor: text; }


/* BASE SIZES */

.content .articles-content-in h1, .content .person-content-in h1{ font-size: 2.4em; font-weight:normal;}
.content .articles-content-in h2, .content .person-content-in h2{ font-size: 2em; font-weight:normal;}
.content .articles-content-in h3, .content .person-content-in h3{ font-size: 1.4em; }
.content .articles-content-in h4, .content .person-content-in h4  { font-size: 1.3em; }
.content .articles-content-in h5, .content .person-content-in h5 { font-size: 1.2em; }
.content .articles-content-in h6, .content .person-content-in h6  { font-size: 1em; }
.content .articles-content-in p, .content .person-content-in p { font-size: 1.2em; line-height: 1.6em;}
.content .articles-content-in li, .content .person-content-inli { font-size: 1.2em; line-height: 1.6em;}
.content .articles-content-in li li, .content .person-content-in li li{ font-size: 1em;}
.content .articles-content-in address, .content .articles-content-in pre, .content .articles-content-in dd, .content .articles-content-in dt, .content .articles-content-in label, .content .articles-content-in legend, .content .articles-content-in textarea, .content .articles-content-in select{font-size: 1.2em;}
.content .person-content-in address, .content .person-content-in pre, .content .person-content-in dd, .content .person-content-in dt, .content .person-content-in label, .content .person-content-in legend, .content .person-content-in textarea, .content .person-content-in select{font-size: 1.2em;}

.design-tab td, .design-tab th{font-size:1.2em;}

/* HR */

hr { display: block; background: #D5D7DB; color: #D5D7DB; width: 100%; height: 2px; border: none; }

/* LISTS */

.content .articles-content-in ul li { /*text-indent: -.85em; margin-left: .85em; list-style:disc;*/}
.content .articles-content-in ul li:before { content: "";/*content: "\2022\00a0\00a0";*/ }
.content .articles-content-in ol { list-style-position: outside; list-style-type: decimal; }
.content .articles-content-in dt { font-weight: bold; }

.content .person-content-in ul li { /*text-indent: -.85em; margin-left: .85em; list-style:disc;*/}
.content .person-content-in ul li:before { content: "";/*content: "\2022\00a0\00a0";*/ }
.content .person-content-in ol { list-style-position: outside; list-style-type: decimal; }
.content .person-content-in dt { font-weight: bold; }


/* 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 */

.content .articles-content-in blockquote *:first-child { margin: .8em 0; }
p+p { /*margin-top: 1em;*/ }
.content .articles-content-in p { margin: 0 0 1em 0;}
/* NOTE: Calulate header margins: TOP: 1.6em/size, BOTTOM: 1.6em/size/2 */
.content .articles-content-in h1 { margin: 0 0 10px 0;}
.content .articles-content-in h2 { margin: 0 0 10px 0;}
.content .articles-content-in h3 { margin: 0 0 10px 0;}
.content .articles-content-in h4 { margin: 0 0 10px 0;}
.content .articles-content-in h5 { margin: 0 0 0.5em 0;}
.content .articles-content-in h6 { margin: 0 0 0.5em 0;}
 .content .articles-content-in th, .content .articles-content-in td { padding:0 .5em 0 0; }
 .content .articles-content-in caption { padding-bottom: .8em; } /* padding instead of margin for IE */
 .content .articles-content-in blockquote { padding: 0 1em; margin: 1.6em 0; }
 .content .articles-content-in fieldset { padding: 0 1em 1em 1em; margin: 1.6em 0; } /* padding-top is margin-top for fieldsets in Opera */
 .content .articles-content-in legend { padding-left: .8em; padding-right: .8em; }
 .content .articles-content-in legend+* { margin-top: 1em; } /* compensates for the opera margin bug */
 .content .articles-content-in textarea, .content .articles-content-in input { padding: .15em .4em .3em .4em; margin-top:0px; margin-bottom:0px; cursor:text; }
 .content .articles-content-in select { padding: .1em .1em .1em .2em; }
 .content .articles-content-in option { padding: 0 .4em; }
.content .articles-content-in  a { /*position: relative; padding: 0.3em 0 .1em 0; */}  for larger click-area 
 .content .articles-content-in dt { margin-top: .8em; margin-bottom: .4em; }
 .content .articles-content-in ul { margin-left: 1em; }
 .content .articles-content-in ol { margin-left: 2.35em; }
 .content .articles-content-in ol ol, .content .articles-content-in ul ol { margin-left: 2.5em; }
 .content .articles-content-in form div { margin-bottom: .8em; }
 .content .articles-content-in textarea{ overflow:auto;}

.content .person-content-in blockquote *:first-child { margin: .8em 0; }
p+p { /*margin-top: 1em;*/ }
.content .person-content-in p { margin: 0 0 1em 0;}
/* NOTE: Calulate header margins: TOP: 1.6em/size, BOTTOM: 1.6em/size/2 */
.content .person-content-in h1 { margin: 0 0 10px 0;}
.content .person-content-in h2 { margin: 0 0 10px 0;}
.content .person-content-in h3 { margin: 0 0 10px 0;}
.content .person-content-in h4 { margin: 0 0 10px 0;}
.content .person-content-in h5 { margin: 0 0 0.5em 0;}
.content .person-content-in h6 { margin: 0 0 0.5em 0;}
 .content .person-content-in th, .content .person-content-in td { padding:0 .5em 0 0; }
 .content .person-content-in caption { padding-bottom: .8em; } /* padding instead of margin for IE */
 .content .person-content-in blockquote { padding: 0 1em; margin: 1.6em 0; }
 .content .person-content-in fieldset { padding: 0 1em 1em 1em; margin: 1.6em 0; } /* padding-top is margin-top for fieldsets in Opera */
 .content .person-content-in legend { padding-left: .8em; padding-right: .8em; }
 .content .person-content-in legend+* { margin-top: 1em; } /* compensates for the opera margin bug */
 .content .person-content-in textarea, .content .person-content-in input { padding: .15em .4em .3em .4em; margin-top:0px; margin-bottom:0px; cursor:text; }
 .content .person-content-in select { padding: .1em .1em .1em .2em; }
 .content .person-content-in option { padding: 0 .4em; }
.content .person-content-in  a { /*position: relative; padding: 0.3em 0 .1em 0; */}  for larger click-area 
 .content .person-content-in dt { margin-top: .8em; margin-bottom: .4em; }
 .content .person-content-in ul { margin-left: 1em; }
 .content .person-content-in ol { margin-left: 2.35em; }
 .content .person-content-in ol ol, .content .person-content-in ul ol { margin-left: 2.5em; }
 .content .person-content-in form div { margin-bottom: .8em; }
 .content .person-content-in textarea{ overflow:auto;}



/* COLORS */

 a:link { text-decoration: underline; color: #36c; }
 a:visited { text-decoration: underline; color: #99c; }
 a:hover { text-decoration: underline; color: #c33; }
 a:active, a:focus { text-decoration: underline; color: #000; }
 code, pre { color: #000; font-size:12px } /* very optional, but still useful. W3C uses about the same colors for codes */
