/**
* $Id: style.css,v 1.4.2.8.2.6 2006/08/19 07:07:43 thorstenr Exp $
*
* This is the main style sheet file for phpMyFAQ 1.6
* 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
*/

form {
   margin: 0;
   padding: 0;
}
fieldset {
   margin-bottom: 1em;
   padding: .5em;
}
.invisible {
	display: none;
}

/**
* Header definitions
*/
#header {
   position: relative;
   min-height: 39px;
   height: 5em;
   padding: 0;
   margin: 0;
   margin-bottom: 1em;
   height: 3em;
   padding: 15px 0;
}
.header {
   margin				: 0px;
   padding				: 0px;
}
/* phpMyFAQ title */
#header h1 {
   padding-left: 20px;
}
#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 6px 0 0;
   margin: 0 1px 0 0;
   display: inline;
   white-space: nowrap;
}
#header ul a {
   float: left;
   display: block;
   padding: 10px 4px 4px 10px;
   font-weight: bold;
   font-size: 110%;
   text-decoration: none;
}
#header ul a:hover {
   text-decoration: underline;
}

/**
* Categories
*/
#categories {
   width: 198px;
   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 {
}
#categories .subcat .active {
}

/**
* Number of current users
*/
#useronline {margin-top: 10px; text-align: center;}

/**
* Top 10 and Latest areticles
*/
#topten, #latest {margin-bottom: 10px;}

#topten h3, #latest h3 {margin: 7px 0px 0px 0px; padding: 0px 5px 0px 5px; background: #ddd;	line-height: 1.5em; color: #333; font-weight: bold; font-size: 11px; border-top: 1px solid #bbb;	border-bottom: 1px solid #bbb;}

#topten h3 img, #latest h3 img {vertical-align: middle;}

#topten ol, #latest ol {list-style-type: decimal; padding: 10px 0px 0px 30px; margin: 0px;}
#topten li, #latest li {list-style-type: decimal; margin: 0px;}

/**
* Main content
*/

#maincontent pre, #maincontent code {
    white-space: -moz-pre-wrap; /* Mozilla, supported since 1999 */
    white-space: -pre-wrap;     /* Opera 4 - 6 */
    white-space: -o-pre-wrap;   /* Opera 7 */
    white-space: pre-wrap;      /* CSS3 - Text module (Candidate Recommendation)
                                   http://www.w3.org/TR/css3-text/#white-space */
    word-wrap: break-word;      /* IE 5.5+ */
}
#maincontent h2#article_category {
   font-family: Arial, Verdana, Sans-serif;
   font-size: medium;
   font-weight: normal;
   color: #333; 
   margin: 10px 0 5px 0;
   border-bottom: none;
   text-decoration: none;
}
/* Hide from IE5-mac. Only IE-win sees this. \*/
* html #maincontent h2#article_category {font-size: small;}
*:first-child+html #maincontent h2#article_category {font-size: small;}
/* End hide from IE5-mac */

#maincontent #article_categories ul, ol {
   padding-left: 1em;
}
#maincontent #article_categories li {
   margin-left: 20px;
}
#maincontent #solution_id {
   float: right;
}
#maincontent .searchpreview {
	font-size: small;
}
/* Hide from IE5-mac. Only IE-win sees this. \*/
* html #maincontent .searchpreview {font-size: x-small;}
*:first-child+html #maincontent .searchpreview {font-size: x-small;}
/* End hide from IE5-mac */

/**
* Main content - news section
*/
#maincontent #news h2 {
   display: none;
}

#maincontent #news h3 {
   border: 0;
   margin-bottom: 7px;
}

#maincontent #news h3 a {
   text-decoration: none;
   color: #5a5a5a;
}

#maincontent #news .block {
   margin-top: 7px;
   margin-bottom: 7px;
}
#maincontent #news .date {
   font-size: 80%;
   margin-bottom: 12px;
}

/**
* Table definitions in the main content column
*/
#maincontent table {
   overflow: scroll;
   padding: 0;
   margin: 0;
}
td, th, #maincontent td {
   padding: 2px;
   margin: 0;
}
#maincontent th {
   border: 0;
   padding: 2px;
   text-align: center;
   vertical-align: middle;
}

/**
* Form and Fieldset definitions in the main content column
*/
#maincontent form {
   display: block;
}
#maincontent fieldset {
   border: 1px solid #bbb;
}
#maincontent textarea.inputarea, #maincontent form .inputfield, #maincontent select {
   margin: 2px;
   border-width: 1px;
   border-style: solid;
}
#maincontent form input[type=radio], #maincontent form input[type=checkbox] {
   border: 0;
}
#maincontent label.left {
   float: left;
   text-align: right;
   width: 150px;
   margin-right: .3em;
}
#maincontent form br {
}
#maincontent #article_categories {
    float: right;
    width: 220px;
    margin: 0 0 10px 20px;
}
#maincontent #article_categories fieldset {
}
#maincontent #article_categories legend {
}
#maincontent #article_categories ul {
    list-style: none outside;
    margin-left: 0px;
}
#maincontent #article_categories ul li {
    margin: 0;
    padding: 0;
}

/**
* Submit button definitions
*/
input[type=submit] {
}

/**
* Comments
*/
.comment {
   padding: 1.0em;
   margin: 0.5em 0;
}

/**
* Left and right sidebar definitions
*/
.sidebar {
  padding: 0;
  margin: 0;
}

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: 0px;
}
.leftcolumn {
   float: left;
   left: 0px;
   width: 200px;
   margin: 0px;
   padding: 0px;
}
.rightcolumn {
   position: static;
   float: right;
   width: 247px;
   margin: 0px;
   padding: 0px;
}
.centercolumn {
   margin: 0px;
   padding: 0px;
   margin-right: 255px;
   margin-left: 210px;
}

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