/*
Theme Name: iHagaki
Theme URI: http://www.ihagaki.com
Description: Custom theme for www.ihagaki.com. Inspired by YAST - http://www.timewaster.de
Version: 1.0
Author: iHagaki Team
Author URI: http://www.ihagaki.com
Tags: ihagaki

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

	This Theme uses parts of the code and the translations from YAST (http://www.timewaster.de) and "The default WordPress theme based on the famous Kubrick." (http://binarybonsai.com/kubrick/) which was released under GPL:
	http://www.opensource.org/licenses/gpl-license.php
*/

/* 
 *  general
 */
body, div, span, td, h1, h2, h3, h4, h5, h6, p, input {
    font: normal 10pt tahoma, verdana, sans-serif; 
    }
h1,h2,h3,h4,h5,h6 {
    font-weight: bold;
    }
h1 { 
    font-size: 160%; 
    }
h2 { 
    font-size: 140%; 
    }
h3 { 
    font-size: 120%; 
    }
h4 { 
    font-size: 100%; 
    }
h5 { 
    font-size: 80%; 
    }
h6 { 
    font-size: 90%; 
    }
body {
    color: #333;
    background: #efefef;
    background-image: url(img/page-bg.gif);
	background-repeat: repeat;
	margin: 0;
	padding: 0;
    }
form {
    margin: 0;
    padding: 0; 
    }
input[type=text], input[type=checkbox], textarea {
    border:1px solid #999;
    }
img {
    border: none;
    }
a img {
	border: none;
    }
a {
    color:#006699; 
    text-decoration:none;
    }
a:hover {
    color:#003366;
    }
p {
    margin-bottom: 6pt;
    }
hr {
    border: none; 
    border-bottom:1px solid #999;
    }

/* 
 *  structure 
 */
#page {
    background: url(img/shade-top.png);
	background-repeat: repeat-x;
    margin: 0px 0px 30px 0px;
    }
#page-box {
	margin: 0px auto 0px auto;
	width: 964px;
}
#head {
    background: url(img/logo.png);
	background-repeat: no-repeat;
    height: 134px; 
    width: 964px; 
    }
#body-top {
	background-image: url(img/body-top.png);
	background-repeat: no-repeat;
	height: 4px;
	margin: 10px auto 0px auto;
	overflow: hidden;
    }
#body-body {
	background-image: url(img/body-body.png);
	background-repeat: repeat-y;
	margin: 0px auto 0px auto;
	padding: 5px 13px 4px 9px;
    }
#body-bottom {
	background-image: url(img/body-bottom.png);
	background-repeat: no-repeat;
	height: 5px;
	margin: 0px auto 20px auto;
	overflow: hidden;
    }
#footer {
	text-align: center;
    }
#footer-menu {
	font-size: 90%;
    }
#copyright {
	color: #999;
	font-size: 75%;
    padding: 6pt 0px 0px 0px;
    }
#content {
    float: left;
    margin: 0px;
    padding: 10px;
    width: 700px;
    }
#contentMid {
    margin:113px 0px -9px 129px;
    position:relative; 
    width:600px; 
    }
#sidebar {
    float: right; 
    margin: 0px;
    padding: 10px;
    width: 200px; 
    }
/* 
 *  news 
 */
.news {
    background: url(img/news-mid.png);
    background-repeat: repeat-y;
    float: left;
    margin: 0px 0px 10px 0px; 
    width:700px; 
    }
.news .top {
    background:url(img/news-top.png); 
    background-repeat: no-repeat;
    padding: 10px 8px 6px 8px;
    }
.news .top h2, .news .top h3 {
    font-size:18px; 
    font-weight:bold;
    }
.news .top h2 a, .news .top h3 a {
    color:#000;
    }
.news .top h2 span, .news .top h3 span {
    color:#777;
    }
.news .mid {
    background:url(img/news-mid2.png) repeat-y;
    padding:12px 19px 3px 19px; 
    }
.news .mid2 {
    background:url(img/news-mid2.png) repeat-y;
    padding:2px 19px 1px 19px; 
    }
.news .midTop {
    background:url(img/news-top2.png) no-repeat;
    height:5px; 
    }
.news .midBot {
    background:url(img/news-bot2.png) no-repeat;
    height:5px; 
    }
.news .midBot2 {
    background:url(img/news-bot3.png) no-repeat;
    height:15px; 
    }
.news .bot {
    background:url(img/news-bot.png) bottom no-repeat;
    color:#777; 
    padding:7px 9px 8px 9px; 
    text-align:center; 
    }
.news .bot a {
    color:#006699;
    }
.news .bot a:hover {
    color:#003366;
    }
.news .commentPic {
    float:left; 
    margin:0px 10px 8px 0px;
    }

/* 
 *  navigation bar 
 */
.nav {
    float: left;
    margin: 10px 0px 0px 0px;
    width: 700px;
    }
.nav .left a, .nav .right a {
    background: url(img/button.png); 
    background-repeat: no-repeat;
    height: 22px; 
    margin-top: 10px;
    padding-top: 7px; 
    text-align: center; 
    width: 150px; 
    }
.nav .left a {
    float:left;
    }
.nav .right a {
    float:right;
    }

/* 
 *  sidebar 
 */
#sidebar {
    color: #333;
    }
#sidebar ul {
    list-style-type:none;
    margin:0px; 
    padding:0px; 
    }
#sidebar > ul > li {
    background: url(img/menu-mid.png) repeat-y; 
    margin-top: 10px;
    }
#sidebar > ul > li h2 {
    color: #333;
    background: url(img/menu-top.png); 
    background-repeat: no-repeat;
    display: block; 
    font-size: 100%;
    height: 18px; 
    padding: 7px 9px 0px 9px; 
    }
#sidebar > ul > li .a, #sidebar > ul > li > ul {
    background: url(img/menu-bot.png) bottom no-repeat;
    padding: 7px 9px 8px 9px; 
    }
#sidebar input[type=text] {
    width:108px;
    }
.ksidebar a:before {
    content: "\bb""\a0";
    }
#sidebar .text {
    background: #fff;
    padding: 7px 0px 0px 0px; 
    }
#sidebar .text p {
    color: #000; 
    font-weight: bold;
    }
#sidebar .bk {
    color: #000;
    }
#sidebar .categories .children {
    margin-left: 10px;
    }

/* 
 *  miscellaneous 
 */
.h2head {
    font-size: 140%;
    margin: 8pt; 
    }
.pageContent {
    margin:14px 0px 20px 0px;
    }
.pageContent li {
    text-align: justify;
    }
.pageContent p {
    text-align: justify;
    }
.error1 {
    color:#900;
    margin-top:7px; 
    }
.error2 {
    color:#900;
    margin:5px 0px 15px 0px; 
    }
.pages {
    margin:7px 0px 15px 0px;
    text-align:center; 
    }
.clear {
    clear:both;
    }
.MT10 {
    margin-top:10px;
    }
.comment {
    font-size:14px; 
    margin-bottom:10px;
    }

/* 
 * needed by wordpress 
 */
.aligncenter, div.aligncenter {
    display:block; 
    margin-left:auto; 
    margin-right:auto;
    }
.alignleft {
    float:left;
    }
.alignright {
    float:right;
    }
.wp-caption {
    background-color:#fff; 
    border:1px solid #ddd; 
    margin:8px 0px 0px 0px;
    padding-top:4px; 
    text-align:center; 
    }
.wp-caption img {
    border:0 none;
    margin:0; 
    padding:0; 
    }
.wp-caption p.wp-caption-text {
    margin:0;
    padding:7px 4px 8px; 
    }

/* head area text color */
#head .m h1 a, #head .m div {
    color:#efefef;
    }
/* menu background color */
#sidebar > ul > li {
    background-color:#f6f6f6;
    }
/* post background color */
.news {
    background-color:#fefefe;
    }
/* previous-next navigation buttons background color */
.nav .left a, .nav .right a {
    background-color:#efefef;
    }

/*	#content{float:right; margin:113px 24px -9px 0px;}	*/
/*	#sidebar{margin:113px 0px -9px 24px;}			*/
