/**
* $Id: style.css,v 1.4.2.8.2.3 2006/05/29 12:44:43 thorstenr Exp $
*
* This is the main style sheet file for phpMyFAQ 1.5
* If you want to change only the colours, use colors.css
*
* @author		Jens Grochtdreis <jens@grochtdreis.de>
* @author		Thorsten Rinne <thorsten@rinne.info>
* @since        2004-06-02
* @copyright	(c) 2004-2006 phpMyFAQ Team
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific language governing rights and limitations
* under the License.
*/

/**
* main definitions
*
* NOTE: You may remove them because they are global
*/
body, td {
   font-family: Arial, Helvetica, "Bitstream Vera Sans", "Trebuchet MS", Geneva, Verdana, sans-serif;
   font-size: 80.01%;
}
body, h1, h2, h3, h4, h5, h6, div, p, table, td, ul, ol, li, dd, dt, dl, blockquote, address, hr, pre {
   margin: 0;
   padding: 0;
}
h1, h2, h3, h4, h5, h6 {
   font-family: Arial, Geneva, Verdana, Helvetica, sans-serif, "Trebuchet MS";
   font-weight: normal;
   font-size: 100%;
}
a {
   text-decoration: none;
}
a:hover {
   text-decoration: underline;
   }
h1 {
   font-size: 200%;
}
h2 {
   font-size: 175%;
   font-style: normal;
   font-weight: bold;
}
h3 {
	font-size: 125%;
	font-style: normal;
	font-weight: bold;
	padding-top: 1em;
}
h4 {
	font-size: 110%;
	font-style: normal;
	font-weight: bold;
	padding-top: 1em;
}
h5 {
	font-size: 100%;
	font-style: italic;
	font-weight: bold;
	padding-top: 0.8em;
}
form {
   margin: 0;
   padding: 0;
}
fieldset {
   margin-bottom: 0.9em;
   padding: .4em;
}
img {
   border: 0;
}
pre, code {
   font-size: 11px;
}
pre {
   margin-bottom: 1em;
   overflow: auto;
   padding: 0.5em;
}
hr {
   height: 1px;
   border: 1px solid gray;
}
p {
   padding: 0;
   margin: 0;
   margin-bottom: 0.8em;
}
code {
   white-space: pre;
   display: inline;
}

.invisible {
	display: none;
}

/**
* Header definitions
*/
#header {
   position: relative;
   min-height: 50px;
   height: 5em;
   padding: 0;
   margin: 0;
   margin-bottom: 3px;
   height: 3em;
   padding-top: 3px;
   padding-bottom: 3px;
}
.header {
   margin	: 0px;
   padding	: 0px;
}
/* phpMyFAQ title */
#header h1, #header h3 {
	padding-left: 21px;
	display: inline;
}
#header h1 a {
   text-decoration: none;
}

/**
* Main navigation
*/
#header ul {
   width: auto;
   position: absolute;
   bottom: 0;
   right: 0;
   margin: 0;
   padding: 0 15px 0 0;
   list-style: none;
}
#header li {
   float: right;
   padding: 0 5px 0 0;
   margin: 0 1px 0 0;
   display: inline;
   white-space: nowrap;
}
#header ul a {
   float: left;
   display: block;
   padding: 1px 5px 1px 5px;
   font-weight: bold;
   font-size: 100%;
   text-decoration: none;
}
#header ul a:hover {
   text-decoration: none;
}

/**
* Categories
*/
#categories {
   width: 178px;
   padding: 0;
   font-size: 100%;
   border: 1px solid;
}
#categories ul {
   list-style: none;
   margin: 0;
   padding: 0;
   border: none;
}
#categories li {
   margin: 0;
   border-left: 10px solid;
}
#categories li a {
   display: block;
   padding: 5px 5px 5px 0.5em;
   border-bottom: 1px solid;
   text-decoration: none;
	height: 100%; /* stupid IE fix */
}
html>body #categories li a {
   width: auto;
}
#categories li ul li {
   margin: 0;
   border-left: 0px
}
#categories li ul a {
   padding-left: 15px;
}
#categories ul ul ul a {
   padding-left: 25px;
}
#categories ul ul ul ul a {
   padding-left: 35px;
}
#categories .active {
}
#categories .subcat a {
   padding-top: 3px;
   padding-bottom: 3px;
}
#categories .subcat .active {
}
#categories .break {
	display: block;
	border-bottom: 1px solid;
	border-left: 10px solid;
	height: 1px;
	font-size:1px; /* stupid IE fix */
}

input, select {
   border: 1px solid;
   font-size: 80%;
}

/**
* Search box and language selection box
*/
#search, #langform, #gsearch, #poweredby {
   margin-top: 10px;
   border: 1px solid;
   padding: 5px;
   width: 168px;
}
#search fieldset, #langform fieldset {
   display: inline;
   border: 0;
}
#search input[type=text], #search .inputfield, #langform .inputfield, #gsearch input[type=text], #gsearch .inputfield {
   border: 1px solid;
   width: 130px;
   font-size: 80%;
}
#search input[type=submit], #gsearch input[type=submit], #langform input[type=submit] {
   margin-top: 3px;
   padding: 0;
   border: 1px solid;
   margin-left: 0;
   font-size: 80%;
}
#poweredby-picture, #poweredby-click4link, #poweredby-phpmyfaq, #poweredby-google {
	margin-top: 10px;
	text-align: center;
	border: 1px solid;
}
#poweredby-click4link, #poweredby-phpmyfaq, #poweredby-google {
	margin-top: 10px;
	text-align: center;
	border: 0;
}

/**
* Number of current users
*/
#useronline {
   margin-top: 10px;
   text-align: center;
}

/**
* Top 10 and Latest articles
*/
#topten, #latest, #polls, #consult {
   margin-bottom: 10px;
}
#topten h3, #latest h3, #polls h3, #consult h3 {
   font-size: 100%;
   border: 1px solid;
   margin-bottom: 5px;
   padding: 2px 3px 2px 3px;
}
#topten ol, #latest ol {
	list-style-type: decimal;
	margin-left: 2em;
	padding-left: 0em;
}
#topten li, #latest li {
	list-style-type: decimal;
	font-size: 90%;
}
#polls ol {
	list-style-type: none;
	margin-left: 0.3em;
	padding-left: 0em;
}
#polls li {
	list-style-type: none;
	font-size: 90%;
}
#polls div {
	margin-left: 2em;
}
#consult div {
	margin-left: 2em;
	width: 120px;
	border: 1px solid;
}

/**
* Main content
*/
.main-content {
   padding: 0;
   margin: 0;
   line-height: 1.3;
}
.main-content h2, .main-content h3 {
   border-bottom: 1px solid;
   margin-bottom: 6px;
   margin-top: 10px;
}
.main-content h2#article_category {
   font-size: 110%;
   font-style: normal;
   font-weight: bold;
   margin: 0px -10px 5px -10px;
   padding: 1px 3px 1px 10px;
   border: 1px solid;
}
.main-content ul, .main-content ol {
   padding-left: 2em;
   list-style: square outside;
}
.main-content #solution_id {
   float: right;
   font-size: 60%;
   font-style: italic;
   vertical-align:baseline;
}
.main-content .searchpreview {
	font-size: 10px;
}

/**
* Main content - news section
*/
.main-content #news h3 {
   font-size: 125%;
   border: 0;
   border-bottom: 1px solid;
   margin: 10px 0 0 0;
   padding: 1px 1px 1px 1px;
}
.main-content #news .block {
   margin-top: 5px;
   margin-bottom: 7px;
}
.main-content #news .date {
   font-size: 80%;
   margin-bottom: 12px;
}

/**
* Table definitions in the main content column
*/
.main-content table {
	overflow: scroll;
	padding: 0;
	margin: 0;
	margin-bottom: 1.0em;
	width: 99%;
}
td, th, .main-content td {
	padding: 2px;
	margin: 0;
	vertical-align: top;
}
.main-content th {
	border: 0;
	border-bottom: 1px solid;
	padding: 2px;
	text-align: center;
	vertical-align: middle;
	font-size: 90%;
}

/**
* Form and Fieldset definitions in the main content column
*/
.main-content form {
   float: left;
   display: block;
   width: 99%;
}
.main-content fieldset {
   border: 1px solid;
}
.main-content textarea.inputarea, .main-content form .inputfield, .main-content select {
   margin: 2px;
   border-width: 1px;
   border-style: solid;
}
.main-content form input[type=radio], .main-content form input[type=checkbox] {
   border: 0;
}
.radio, .checkbox {
   border: 0;
}
.main-content label.left {
   float: left;
   text-align: left;
   width: 150px;
   margin-right: .3em;
}
.main-content form br {
   clear: both;
}
.main-content #article_categories {
/*
    float: left;
    width: 220px;
    margin: 0 0 10px 20px;
*/
}
.main-content #article_categories fieldset {
	font-size: 90%;
}
.main-content #article_categories legend {
}
.main-content #article_categories ul {
    list-style: none outside;
    margin-left: 0px;
}
.main-content #article_categories ul li {
    margin: 0;
    padding: 0;
}
.main-content table {
    float: left;
}


/**
* Submit button definitions
*/
input[type=submit] {
   border: 2px solid;
   padding: 2px 4px;
   margin-left: 0;
}

/**
* Comments
*/
.comment {
   padding: 1.0em;
   margin: 0.5em 0;
}

/**
* Left and right sidebar definitions
*/
.sidebar {
  padding: 0;
  margin: 0;
}

body {
   margin: 0px;
   padding: 10px;
}
* html>body {
   margin-right: -3px; /* IE hack */
}
div {
   border: 0;
   margin: 0px;
   padding: 0px;
}

/**
* Main wrapper around the div containers
*/
#wrapper1 {
	min-width: 710px;
	max-width: 1200px;
}
#wrapper1, #wrapper2 {
   margin: 0px;
   padding: 0px;
}

/**
* Main columns definitions
*/
.columns {
   border: none;
   margin-top: -6px;
}
.leftcolumn {
   float: left;
   left: 0px;
   width: 190px;
   margin: 0px;
   padding: 0px;
}
.rightcolumn {
   position: static;
   float: right;
   width: 200px;
   margin: 0px;
   padding: 0px;
   overflow:hidden;
}
.centercolumn {
   margin: 0px;
   padding: 0px;
   margin-right: 200px;
   margin-left: 180px;
}

/**
* Padding definitions for the columns
*/
.centerpadding, .leftpadding, .rightpadding {
   margin: 0px;
   padding: 0px;
}
.rightpadding {
   padding-left: 0;
}
.centerpadding {
   padding-left: 20px;
   padding-right: 20px;
}
.clearing {
   height: 0;
   margin: 10px;
   clear: both;
   display: none;
}

/**
* Definitions for version info and copyright on contact page
*/
#version {
   margin-top: 20px;
   text-align: center;
}
#copyright {
   margin-top: 12px;
   font-size: 80%;
   text-align: center;
}

/**
* Footer definitions
*/
#footer {
   margin-top: 10px;
   clear: both;
   border-top: 1px solid;
   padding-top: 1px;
   text-align: right;
}
#footer p#copyrightnote {
   font-size: 80%;
   text-align: right;
}

/**
* selbst definierte Styles
*/
#article, #article td {
	font-size: 100%;
}

#action {
	text-align: right;
	margin: 0px;
}

.Author, .Bookmark {
	font-size: 90%;
	text-align: right;
	font-style: italic;
	margin: 0px;
}

.Author {
	text-align: right;
}

.Bookmark {
	text-align: left;
}

#voting {
	font-size: 90%;
	width: 100%;
}

#google_ads {
	min-height: 90px;
	text-align: center;
	padding: 1px;
	margin-bottom: 8px;
}
#google_ads3 {
	margin: 10px;
	margin-top: 20px;
	margin-left: 7em;
}
