/*
 * Override some of the "features" in the TKK CSS
 */

@import url("prettytable.css");

/* ------------------------------------------------------------------------- */
/* Try to choose font sizes so that they display **big enough**
 * on IE, Firefox and Opera.
/* ------------------------------------------------------------------------- */

/* Font size:
   We take advantage of keyword scaling- browsers won't go below 9px
   More at http://www.w3.org/2003/07/30-font-size
   http://style.cleverchimp.com/font_size_intervals/altintervals.html
  */
body {
	font: x-small;
}
#container {
        min-width: 1000px;
}
#main {
        /* scale up to sane default */
	font-size: 130%;
}
* {
	font-size: 100%;
}
p {
        text-align: justify;
}
p, li, dt, dd, th, td { 
	font-size: 100%;
}
ul li ul li {
	font-size: 100%;
}
td p, td li {
	font-size: 100%;
}
#left p, #right p, #left li, #right li {
	font-size: 100%;
}
#menu-1 li, h1, h2, h3, h4 {
	font-size: 125%;
}
td h3, td h4 {
	font-size: 100%;
}
#top p, #go, #footer p, #footer li {
	font-size: 100%;
}
.breadcrumb {
	font-size: 90%;
}
.subpage #content h1 {
	font-size: 150%;
}
.subpage #content h2 {
	font-size: 130%;
}
.subpage #left li {
	font-size: 100%;
}

#content .more {
	font-size: 90%;
}
#right .nav h3 {
	font-size: 100%;
}
#right .nav li {
	font-size: 100%;
}

#content h1 {
	font-size: 150%;
}
#content h2 {
        font-size: 120%;
}
#content h3 {
        font-size: 100%;
}
#content h4 {
        font-size: 100%;
        font-style: italic;
}

#editform {
        font-size: 120%;
}

/* ------------------------------------------------------------------------- */
/* Make some other stuff nicer                                               */
/* ------------------------------------------------------------------------- */
p {
	margin-bottom: .5em;
}

span.subpages {
	display: inline;
}

#content .breadcrumb a {
	text-decoration: none;
}
#content .breadcrumb a:hover {
	text-decoration: underline;
}
#content .breadcrumb a:visited {
	color:#1558BB;
}
a {
	color: #1558BB ;
}
/* was color: #1558BB , can be  #0f3e84 */

/* Show everything that's in the right menu, and make it nicer */
#right ul.subnavi {
    margin-left: 0.2em;
    margin-bottom: 0em;
}

/* Fix footer icon spacing */
#footer ul li {
    padding-left: 25px;
}

/* Fix footer icon spacing */
#footer ul li#i0 {
    padding-left: 5px;
}

#footer #updated {
    border-right: none;
}

/* Don't clear login form */
div#userloginForm form,
div#userlogin form#userlogin2 {
    clear:none;
}

/* Gallery background should be transparent */
#main table.gallery {
    background: none;
    border: none;
}

#main table.gallery td {
    background: none;
    border: none;
}

#main div.gallerybox div.thumb {
    border: none;
}

#main div.gallerybox div.thumb div {
    background: none;
    border: none;
}

#main div.gallerytext p {
    text-align: center;
}

/* Right sidebar linkless entries */
#right div.nav span.parentitem {
    font-style: italic;
}

/* Thumbnail borders */
img.thumbborder {
        border: 1px solid #ddd;
}

/* Floats should have some padding */
div.floatright, table.floatright {
    margin: 4px 0px 8px 16px;
}

div.floatleft, table.floatleft {
    margin: 4px 16px 8px 0px;
}

/* Wikidrops breadcrumbs ... */
#main div.breadcrumbs {
    font-size: 85%;
    margin-left: 2em;
    margin-top: 1em;
    margin-bottom: 1em;
}
#main div.breadcrumbs span.breadcrumbs:before {
    content: "(Linked from: ";
}
#main div.breadcrumbs span.breadcrumbs:after {
    content: ")";
}

#main ol > li { 
    background: none;
}
#main ul ol li { 
    background: none;
    padding-left: 0px;
}
#main li ol {
    margin-top: 0.5em;
    margin-bottom: 0em;
}
#main li ul {
    margin-top: 0.5em;
    margin-bottom: 0em;
}

#main #content hr {
    display: block;
}

/*
 * Clean up headers
 */
#main #content h3 {
    margin-top: 1ex;
}
#main #content h4 {
    margin-top: 1ex;
}
#main #content pre {
    margin-bottom: 1ex;
}

/* 
 * Clean up prefs dialog 
 */
#main ul#preftoc li {
	background: none;
	padding-left: 0.1em;
}

/* ------------------------------------------------------------------------- */
/* Aaaargh, IE forgets some of the earlier main.css definitions! stn         */
/* copypasta from screen.css                                                 */
/* ------------------------------------------------------------------------- */

/* 26.4.2007: Added "main ol" by Markus Sipil<E4> */
#main ol {
        margin-left: 35px;
	/*margin-left: 0px;*/
        margin-bottom: 1em;
        }

/* 26.4.2007: Renamed to "main ul li", was "main li" by Markus Sipil<E4> */
#main ul li {
        padding-left: 10px;
        background: url(tkk/bullet.gif) 0px 7px no-repeat;
        margin-bottom: 0.5em;
        }

/* 26.4.2007: Added "main ol li" by Markus Sipil<E4> */
#main ol li { 
        padding-left: 0px;
        margin-bottom: 0.5em;
        }

#footer {
	padding: 15px;
/*	text-transform: lowercase; */
	letter-spacing: 1px;
	overflow: hidden;
	}

