/**
* $Id: style.css,v 1.4.2.8 2006/01/02 12:47:16 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
*/
h2 img {
display:none;
}
form {
   margin: 0;
   padding: 0;
}
fieldset {
   margin-bottom: 1em;
   padding: .5em;
}
img {
   border: 0;
}
pre, code {
   font-size: 11px;
}
hr {
   height: 1px;
   border: 1px solid gray;
}
p {
   padding: 0;
   margin: 0;
   margin-bottom: 0.8em;
}
code {
   white-space: pre;
}

.invisible {
	display: none;
}


/**
* 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 {
}
/**
* Search box and language selection box
*/
#search, #langform {
   margin-top: 10px;
   border: 1px solid;
   padding: 5px;
}
#search fieldset, #langform fieldset {
   display: inline;
   border: 0;
}
#search input[type=text], #search .inputfield, #langform .inputfield {
   border: 1px solid;
   width: 170px;
}
#search input[type=submit], #langform input[type=submit] {
   margin-top: 3px;
   padding: 0;
   border: 1px solid;
   margin-left: 0;
}

/**
* 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 {
   font-size: 135%;
   border-bottom: 1px solid;
   margin-bottom: 5px;
   padding-bottom: 2px;
}
#topten ol, #latest ol {
	list-style-type: decimal;
}
#topten li, #latest li {
	list-style-type: decimal;
}

/**
* Main content
*/
.main-content {
   padding: 0;
   margin: 0;
   line-height: 1.3;
}
.main-content h2, .main-content h3 {
   border-bottom: 1px solid;
   margin-bottom: 7px;
}
h2#article_category {
background-image:url(/images/question.gif);
background-position:left top;
background-repeat:no-repeat;
font-weight:bold;
height: auto;
padding:5px 5px 10px 35px
}
.main-content ul, ol {
   padding-left: 1em;
}
.main-content li {
   margin-left: 20px;
}

/**
* Main content - news section
*/
.main-content #news h3 {
   font-size: 135%;
   border: 0;
   margin-bottom: 7px;
}
.main-content #news .block {
   margin-top: 7px;
   margin-bottom: 7px;
}
.main-content #news .date {
   font-size: 80%;
   margin-bottom: 12px;
}
#action {
display:none;
}

.contents fieldset {
display:none;
}
.contents ul {
margin:10px 0;
padding:0;
}
.contents li {
background-image:url(/images/circleArrowOrange.gif);
background-repeat:no-repeat;
background-position:left center;
list-style:none;
margin:0;
padding:3px 0;
text-indent:15px;
}

ul.phpmyfaq_ul li {
background-position:left 7px;
}
/**
* Table definitions in the main content column
*/
.main-content table {
   overflow: scroll;
   padding: 0;
   margin: 0;
}
td, th, .main-content td {
   padding: 2px;
   margin: 0;
}
.main-content th {
   border: 0;
   padding: 2px;
   text-align: center;
   vertical-align: middle;
}

/**
* 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;
}
.main-content label.left {
   float: left;
   text-align: right;
   width: 150px;
   margin-right: .3em;
}
.main-content form br {
   clear: both;
}
.main-content #article_categories {
    float: right;
    width: 220px;
    margin: 0 0 10px 20px;
}
.main-content #article_categories fieldset {
}
.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;
}


/**
* 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;
}


* html>body {
   margin-right: -3px; /* IE hack */
}

/**
* Main wrapper around the div containers
*/
#wrapper1 {
   min-width: 710px;
   max-width: 1200px;
}
#wrapper1, #wrapper2 {
   margin: 0px;
   padding: 0px;
}



/**
* 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;
}



/* 20090408 FAQのデザイン微調整
---------------------------------------------------------------- */
#innerFaq {
font-family: monospace;
padding-right: 5px;
}
#innerFaq h2 {
padding-top: 7px;
padding-bottom: 5px;
}
#innerFaq h2#article_category {
padding-top: 7px;
padding-bottom: 5px;
padding-left: 35px;
margin-bottom: 18px;
text-indent: 0;
width: 560px;
}
#innerFaq h3 {
margin-top: 24px;
padding-top: 7px;
}
#innerFaq h4 {
margin-top: 16px;
}
#innerFaq p {
margin: 8px 0;
}
#innerFaq pre, #innerFaq code {
margin: 10px 0;
padding: 10px;
background: #efefef;
}
* html #innerFaq pre, * html #innerFaq code { font-size: 10px;}

#innerFaq .red {color: #ff0000;}
#innerFaq .blue {color: #3333ff;}
#innerFaq .green {color: #009900;}
#innerFaq .gray {color: #666666;}

#innerFaq .bgGray {
display: block;
margin: 8px 0;
padding: 8px;
background: #eeeeee;
border: 1px solid #cccccc;
}
#innerFaq ul, #innerFaq ol {
margin-top: 8px;
margin-left: 25px;
margin-bottom: 16px;
padding-left: 10px;
padding-right: 10px;
}
#innerFaq ul li, #innerFaq ol li {
margin-top: 4px;
text-indent: 0;
}
.mt5 {margin-top: 5px;}
.mt10 {margin-top: 10px;}
.mt15 {margin-top: 15px;}
.mt20 {margin-top: 20px;}
.mb5 {margin-bottom: 5px;}
.mb10 {margin-bottom: 10px;}
.mb15 {margin-bottom: 15px;}
.mb20 {margin-bottom: 20px;}
.ml5 {margin-left: 5px;}
.ml10 {margin-left: 10px;}
.ml15 {margin-left: 15px;}
.ml20 {margin-left: 20px;}

/* 20090408 FAQのデザイン微調整　／ここまで
---------------------------------------------------------------- */





