/**
* To change the look and feel, search for the following selectors (Ctrl-F) in this style sheet:
*
* - Font, background color/image: body
* - Link colors: a:link, a:visited
* - Hover links color: a:hover
* - Code color: pre
* - Title color: #header h1 a
* - Separation color of navigation menu: #categories li a
* - Footer color and separator: #footer
* - Footer link color: #footer a:link, #footer a:visited
* - RSS button color: a.rss:link, a.rss:visited
* - Text highlight color: .highlight
*
* @author Charles A. Landemaine <landemaine@gmail.com>
* @author Thorsten Rinne <thorsten@phpmyfaq.de>
* @copyright 2004-2009 phpMyFAQ Team
* @version SVN: $Id$
*
* 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.
*/
 
/* General */
body.content { font: .8em 'Trebuchet MS', 'Nimbus Sans L', sans-serif; padding: 0; margin: 0; background: url(../../images/background.png) repeat-x; }
td { font-size: .8em; }
a.content:link, a.content:visited { color: #336633; font-weight: bold; border-bottom: 1px dotted #bbb; text-decoration: none; }
a:visited { visited: #666666; }
h3 a:link, h3 a:visited { border: 0;}
h3 img { vertical-align: middle; }
a:hover { color: #000; background: #f4f7fa; }
form { margin: 0; padding: 0; }
a img, img { border: 0; }
pre { padding: 0.5em; background: #eee; border: 1px solid #ddd; overflow: auto; }
ul { list-style: square; }
acronym { border-bottom: 1px dotted #999; }
 
/* Structure */
#content { max-width: 1400px; margin: auto; }
#headerfaq { height: 15px; -height: 100px; border: none; border-width: 2px 0px; margin: 0; background: #e3ffcf; color: white; border-color: #336633; }
#headerfaq ul { float: right; margin: 0; padding: 0; list-style: none; font-size: 1em; font-weight: bold; line-height: 1em; height: 1em; float: right; }
#headerfaq li { float: right; padding: 0 1em 0 0; margin: 0; border: 1px solid #336633; padding: 5px 12px;}
#headerfaq ul li a { text-decoration: none; background: none; }
#headerfaq ul li a:hover { text-decoration: none; background: none; }
#headerfaq h1 { font-size: 1.5em; height: 1.2em; float: left; padding: 0; margin: 0; }
#headerfaq h1 a { color: #000; border: 0; background: none; }
#header-banner { width: 100%; height: 40px; background: transparent url('/template/berlin/banner2d.jpg') no-repeat right bottom; padding: 6px 0;}
/* Categories */
 
#categories { width: 200px; }
#categories ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid gray; }
#categories ul ul, #categories ul ul ul, #categories ul ul ul ul, #categories ul ul ul ul ul { border-top: 0; }
#categories li { margin: 0; padding: 0; float: none}
#categories li a { display: block; border-bottom: 3px solid gray; text-decoration: none; height: 100%; padding: .5em 0 .5em 1.5em; }
#categories li ul a { padding-left: 3em; }
#categories ul ul ul a { padding-left: 2em; }
#categories ul ul ul ul a { padding-left: 3em; }
#categories ul ul ul ul ul a { padding-left: 4em; }
#categories .active { font-weight: bold;background-color: #33332D;color: #fff }
#categories .subcat .active {}
#categories a { background-color: #9FB4CC; border-color:#99CC66; color: #000000; font-weight: bold;}
#categories a:hover { color: #fff; border-color:#9FB4CC; background-color: #33332D;}
 
/*#categoryhome a {background-color: #041529;border-color:#99CC66; color: #ffffff; font-size: 1.25em;}*/
#categoryhome a {background-color: #041529;border-color:#99CC66; color: #ffffff; font-size: 1.1	5em;}
#categoryhome a:hover { color: #fff; border-color:#9FB4CC; background-color: #041529;}
#categoryhome li a { display: block; border-bottom: 3px solid gray; text-decoration: none; height: 100%; padding: .5em 0 .5em .5em; }
#langform { padding: .5em 0; }
label { display: block; }
.leftcolumn .inputfield { width: 98%; }
.leftcolumn .language { width: 100%; }
#useronline { margin-top: 1em; text-align: center; }
 
/* Misc */
 
#topten, #latest, #tagcloud, #allcategoryarticles, #stickyrecords { margin-bottom: 3em; }
#topten h3, #latest h3, #tagcloud h3, #allcategoryarticles h3, #stickyrecords h3 { font-size: 135%; margin-bottom: 5px; padding: 4px 4px 2px 4px; -moz-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; }
#topten img, #latest img { margin-top: -16px; }
#topten ol, #latest ol { margin-left: 15px; list-style-type: decimal; }
#topten li, #latest li { list-style-type: decimal; float: none}
#tagcloud .relevance1 { font-size: 80%; }
#tagcloud .relevance2 { font-size: 100%; }
#tagcloud .relevance3 { font-size: 120%; }
#tagcloud .relevance4 { font-size: 140%; }
#tagcloud .relevance5 { font-size: 160%; }
 
/* Main content */
 
.main-content { margin: 0; padding: 0px 220px 1em 220px; }
.main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5 { margin-bottom: 0.5em; }
.main-content pre, .main-content code { white-space: pre; }
.main-content #solution_id { float: right; }
.main-content table { overflow: scroll; }
.main-content form { width: 99%; }
.main-content label.left { float: left; text-align: right; width: 150px; margin-right: 0.3em; }
.main-content form br { clear: both; }

.article_content {}
.article_content ul { list-style-type:square; }
.article_content li { list-style-type:square; float: left;  padding: 0 1em 0 0; margin-left: 20px; padding: 5px 12px;}

#article_category { font-size: 1.5em; }
#search { padding: 0; margin: 0; width: auto; }
#search input { vertical-align: middle; font-size: 1.5em; font-weight: bold; }
#content h2, #content h3 { color: #333333; }
/* Main columns definitions */
.home { color: #fff; border-color:#9FB4CC; background-color: #041529;}
.leftcolumn { float: left; left: 0px; width: 200px; margin-bottom: 1em; }
.rightcolumn { position: static; float: right; width: 200px; margin-bottom: 1em; }
.rightcolumn ol { margin: 0 0 0 25px; padding: 0; }
html>body .rightcolumn ol { margin: 0 0 0 20px; padding: 0; }
 
#footer { margin-top: 1em; clear: both; border-top: 1px solid #ddd; color: #aaa; font-size: 11px }
#footer a:link, #footer a:visited { color: #aaa; }
 
/* Classes */
 
.invisible { display: none; }
a.rss:link, a.rss:visited { background: #ff6a00; color: #fff; font: 9px normal Verdana, sans-serif; border-top: 1px solid #ffb627; border-left: 1px solid #ffb627; border-right: 1px solid #ab4800; border-bottom: 1px solid #ab4800; padding: 0 2px; text-transform: uppercase; vertical-align: middle; }
.clearing { clear: both; display: none; }
.highlight { background: #ffffcc; padding: 0 .2em; font-weight: bold; }
#action { text-align: center; margin: 5px; }
p#action img { vertical-align: middle; }
