﻿/*  
Theme Name: Koikikukan
Theme URI: http://www.koikikukan.com/
Description: koikikukan template
Author: Yujiro Araki
Author URI: http://www.koikikukan.com/
Version: 0.1
*/

/*
 * File      : style.css
 * Version   : 1.00
 * Update    : 1.01 2007.01.24 fix textarea size for Mozilla.
 *           : 1.02 2007.02.11 add color property at ul element of sidebar.
 *           : 1.03 2007.02.24 fix top property for liquid layout.
 *
 * Copyright (C) 2005-2007 www.koikikukan.com All rights reserved.
 */

/* all */
* {
    margin: 0;
    padding: 0;
    font-family: Verdana, Arial, sans-serif;
}

/* heading */
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

/* anchor */
a,
a:link,
a:visited {
    color: #006699;
    text-decoration: none;
}
a:hover {
    color: #006699;
    text-decoration: underline;
    position:relative; top:1px; left:1px;
}
a:active {}

/* image with anchor */
a img {
    border: 0;
}

/* unordered list / ordered list */
ul, ol {
/*    padding-left: 16px;*/
}
ul li {
/*    list-style-type: circle;*/
}

/* definition list */
dl {}
dt {}
dd {
    padding-left: 8px;
}

/* forms */
form {
    margin: 0;
}
#search-options,
input {
    padding: 1px;
    font-size: 12px;
}

/* banner title */
#banner {
    padding: 15px;
    border-bottom: 1px solid #666699;
    color: #999999;
    background-position: right top;
    background-repeat: no-repeat;
    background-image: url("images/bannerback.gif");
    background-repeat: repeat-x;
    background-attachment: scroll;
    text-align: left;
    height: 62px;
}

#banner a,
#banner a:link,
#banner a:visited {
    color: #444444;
    font-size: 20px;
    text-decoration: none;
}
#banner a:hover {}
#banner a:active {}

/* description of blog */
#banner-description {
    color: #444444;
    font-size: 12px;
}

/* article */
.blog {
    padding: 12px;
    font-size: 12px;
    color: #36414d;
    background: none;
}

/* article date */
.date {
    margin-top: 6px;
    color: #444444;
    background: #f6f6f6;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 0 2px 5px;
    border: 1px solid  #666666;
}

/* article banner_date */
.banner_date {
    margin-top: 6px;
    color: #444444;
    background: #f6f6f6;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 0 2px 5px;
    border: 1px solid  #666666;
}

/* article banner_warning */
.banner_warning {
    margin-top: 6px;
    color: #444444;
    background: #f6f6f6;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 0 2px 5px;
    border: 1px solid  #666666;
}

/* article banner_information */
.banner_information {
    margin-top: 6px;
    color: #444444;
    background: #f6f6f6;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 0 2px 5px;
    border: 1px solid  #666666;
}

/* article banner_affiliate */
.banner_affiliate {
    margin-top: 6px;
    color: #444444;
    background: #f6f6f6;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 0 2px 5px;
    border: 1px solid  #666666;
}

/* comment color */
.trackbacks-header,
.comments-header,
.comments-open-header {
    color: #ffffff;
    background: #8fabbe;
}

/* an article or comment */
#comments,
.entry {
    width: auto;
    margin: 0 5px 15px;
    color: #36414d;
    background: #ffffff;
/*    background-position: right; 
    background-repeat: repeat-y; 
    background-image: url(".gif");*/
    font-size: 12px;
    line-height:150%;
}
.entry a:active {}
.entry img {
    margin-right: 8px;
    margin-bottom: 5px;
}

/* blockquote */
.entry blockquote {
    width: auto;
    margin: 15px 20px 0 20px;
    padding: 10px;
    border: 1px solid #666666;
    background: #f6f6f6;
    font-size: 12px;
    line-height: 150%;
}

/* textarea */
.entry textarea {
    width: 97%;
}

/* title of entry */
.entry-header {
    margin: 15px 0 10px;
    padding-left: 5px;
    border-left: 3px solid #999999;
    color: #444444;
    font-size: 12px;
    font-weight: bold;
}

/* contributor */
.entry-footer {
    margin: 10px 0 0 0;
    border-top: 1px dotted #36414d;
    text-align: right;
    color: #36414d;
    font-size: 10.5px;
    _font-size: 9px;
}

.entry p {
    margin: 12px 0;
}
.entry blockquote p {
    margin: 0;
}
.entry ul {
    margin: 12px 0 10px 25px;
}
.entry ol {
    margin: 12px 0 10px 30px;
}

/* archive-list */
.archive-list {
    margin: 12px 0;
}

/* navigation */
.content-nav {
    margin: 6px 0 10px;
    text-align: center;
    font-size: 12px;
}

/* navigation */
.page {
    margin: 6px 0 10px;
    font-size: 12px;
}

/* breadcrumbs list */
.crumbs {
    margin: 6px 0 10px;
    padding-left: 5px;
    font-size: 12px;
}

/* calendar */
#wp-calendar caption {
    padding-bottom: 5px;
    text-align: center;
    color: #444444;
    font-size: 9px;
    background: none;
    letter-spacing: 0.2em;
}
#wp-calendar {
    text-align: center;
    color: #444444;
    background: none;
}
#calendar table {
	margin: 0px auto;
    text-align: center;
    color: #444444;
    font-size: 9px;
    background: none;
    letter-spacing: 0.2em;
}
#calendar td {
	padding: 0px 4px;
    color: #444;
    background: none;
}
#wp-calendar table {
    text-align: center;
    padding: 0;
    border-collapse: collapse;
}
#wp-calendar th {
    padding-bottom: 3px;
    font-size: 10px;
    width: 23px;
}
#wp-calendar td {
    padding: 2px 0;
    font-size: 9px;
    line-height: 120%;
}
#wp-calendar td a:link {
    color: #3399ff;
}
#wp-calendar td a:visited {
    color: #3399ff;
}
#wp-calendar td.saturday {
    color: #0000ff;
}

/* menu list of sidebar */
#sidebar ul {
    color: #444444;
    font-size: 11px;
    _font-size: 10px;
}

#sidebar li {
    list-style: none;
    line-height: 1.6em;
    margin: 0px 0 15px 0;
}

#sidebar li li {
    background: url(images/lmark.gif) no-repeat 0 0.4em;
    padding-left: 12px;
    margin: 0;
}

#sidebar ul ul {
    margin: 0;
}

/* title of menu list */
#sidebar ul li h2 {
    margin: 3px 0;
    padding: 4px 0 3px;
    _padding: 3px 0 4px;
    border: 1px solid  #666666;
    text-align: center;
    color: #444444;
    background: #f6f6f6;
    font-size: 11px;
    line-height: 140%;
}

/* credit */
.powered {
    margin-top: 50px;
    text-align: left;
    color: #666666;
    font-size: 9px;
    line-height: 150%;
}
.powered img {
    margin-top: 3px;
}

.clear {
    clear: both;
}

/* comment and trackback */
#comments-open-data p {
    margin-bottom: 10px;
}

#comment-post {
   font-weight: bold;
}

#comment-author, #comment-email, #comment-url, #comment-text {
   width: 245px;
}

#comment {
    width: 630px;
}

#comment-bake-cookie {
   margin-left: 2px;
   vertical-align: middle;
}

#comments-open-footer {
    text-align: center;
}

.trackbacks,
.comments {
    margin: 10px 5px;
    color: #36414d;
}

.trackbacks-header,
.comments-header,
.comments-open-header {
    margin: 15px 0;
    padding: 2px 0 2px 5px;
    color: #ffffff;
    background: #8fabbe;
    font-size: 11px;
}

#trackbacks-info,
.trackback-content,
.comment-content,
.comments-open-content {
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 150%;
}

.trackback-content p,
.comment-content p {
    margin-top: 10px;
    margin-bottom: 5px;
}

.trackback-footer,
.comment-footer {
    font-size: 9px;
    border-top: 1px dotted #36414d;
    text-align: right;
    padding-top: 3px;
    margin-right: 2px;
}

.comments-open label {
    display: block;
}

.comments-head {
    padding: 2px 0 2px 5px;
    margin: 15px 0;
    color: #ffffff;
    background: #8fabbe;
    font-size: 11px;
    font-weight: bold;
}

form input,
form textarea {
    border: 1px solid #999999;
}
#searchtext {
    margin: 3px 0;
}

/* layout */

/* for 1 column or 2 columns */
body.layout-two-column-left,
body.layout-two-column-right,
body.layout-one-column {
    margin-bottom: 20px;
    text-align: center;
    background: #f6f6f6;
}
.layout-two-column-left #container,
.layout-two-column-right #container {
    margin-bottom: 10px;
}

/* for 2 columns */
.layout-two-column-left #box,
.layout-two-column-right #box {
    width: 1085px;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
    border-bottom: 1px solid #666699;
    border-left: 1px solid #666699;
    border-right: 1px solid #666699;
    text-align: left;
    background-color: #ffffff;
}

/* for 2 columns */
.layout-one-column #container {
    margin-bottom: 0;
}

/* for 1 column */
.layout-one-column #box {
    width: 1085px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
    padding: 0;
    border-bottom: 1px solid #666699;
    border-left: 1px solid #666699;
    border-right: 1px solid #666699;
    text-align: left;
    background-color: #ffffff;
}

/* for 1 column */
.layout-one-column-liquid #banner {
    margin-right: 100px;
    margin-left : 100px;
    border-left: 1px solid #666699;
    border-right: 1px solid #666699;
}
body.layout-one-column-liquid {
    background: #36414d;
}

/* footer */
#footer {
margin-top: 20px;
margin-right: 0px;
margin-bottom: 0pt;
margin-left: 0px;
padding-top: 10px;
padding-right: 23px;
padding-bottom: 10px;
padding-left: 0pt;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #666699;
background-color: transparent;
background-image: url(images/fb.gif);
background-repeat: repeat-x;
background-attachment: scroll;
color: #444444;
text-align: center;
font-size: 10px;
letter-spacing: 0.05em;
}

.layout-two-column-liquid-left #footer,
.layout-two-column-liquid-right #footer {
    display: none;
}

.layout-one-column #footer {
    text-align: center;
}
.layout-one-column-liquid #footer {
    padding-bottom: 15px;
    text-align: center;
}

/* for 2 columns liquid layout (with right sidebar) */
.layout-two-column-liquid-right #content {
    margin: 0 255px 10px 0;
    border-bottom: 1px solid #666699;
    border-right: 1px solid #666699;
}
.layout-two-column-liquid-right #sidebar {
    position: absolute;
    width: 230px;
    top: 104px;
    _top: 100px;
    right: 15px;
    color: #ffffff;
}

/* for 2 columns liquid layout (with left sidebar) */
.layout-two-column-liquid-left #content {
    margin: 0 0 10px 255px;
    border-bottom: 1px solid #666699;
    border-left: 1px solid #666699;
}
.layout-two-column-liquid-left #sidebar {
    position: absolute;
    width: 230px;
    top: 103px;
    _top: 102px;
    left: 15px;
    color: #ffffff;
}

/* for IE7 */
*:first-child+html .layout-two-column-liquid-right #links-right,
*:first-child+html .layout-two-column-liquid-left #links-left {
    top: 100px;
}

/* for 1 column liquid layout */
.layout-one-column-liquid #content {
    margin: 0 100px 10px;
    border-bottom: 1px solid #666699;
    border-left: 1px solid #666699;
    border-right: 1px solid #666699;
    background: #ffffff;
}

/* for 2 columns fixed layout (with right sidebar) */
.layout-two-column-right #content {
    float: left;
    width: 825px;
    margin: 0 0 10px 0;
    border-bottom: 1px solid #666699;
    border-right: 1px solid #666699;
}
.layout-two-column-right #sidebar-box {
    float: right;
    width: 255px;
}
.layout-two-column-right #sidebar {
    padding: 15px 15px 0;
    color: #ffffff;
}

/* for 2 columns fixed layout (with left sidebar) */
.layout-two-column-left #content {
    float: right;
    width: 825px;
    margin: 0 0 10px 0;
    border-bottom: 1px solid #666699;
    border-left: 1px solid #666699;
}
.layout-two-column-left #sidebar-box {
    float: left;
    width: 255px;
}
.layout-two-column-left #sidebar {
    padding: 5px 5px 0;
    color: #ffffff;
}

input,textarea {
    font-family: "Osaka", "ヒラギノ角ゴ Pro W3", "ＭＳ Ｐゴシック", arial, sans-serif;
}

/* 中央広告用 */
.banner {
    margin:8px 0 18px 5px;
    font-size: 11px;
}

/* 注意用 */
.banner-warning {
    margin:8px 0 18px 5px;
    font-size: 12px;
}

/* 広告バナー */
.banner-affiliate {
    margin:8px 0 18px 5px;
    font-size: 12px;
}

/* 注意用 */
.banner-information {
    margin:8px 0 18px 5px;
    font-size: 12px;
}

/* グローバルナビゲーション用 */
#navi {
	margin: 0 0px 0 0px;
	padding: 5px 0 4px 0;
	_padding: 5px 0 4px 0;
	text-align: center;
	font-size: 10px;
	_width: auto;
	_height: 100%;
	border-bottom: 1px solid #669;
	background: url(images/titleback.gif) repeat-x;
}
.layout-two-column-left #navi {
	_margin: 0 12px 0 13px;
}
#navi ul {
	margin: 0;
	padding: 0;
	letter-spacing: 0.03em;
}
#navi ul li {
	margin:1px 0;
	display: inline;
	line-height: 150%;
	text-align: center;
	letter-spacing: 0.03em;
}
#navi ul li a { 
	padding: 4px 6px 3px 6px;
	text-decoration: none;
	letter-spacing: 0.03em;
}
#navi ul li a:hover { 
	padding: 5px 6px 4px 6px;
	_padding: 6px 6px 4px 6px;
	color: #fffcf6;
	text-decoration: none;
	background: url(images/titleback_over.gif) repeat-x;
}

/* ブロックレベル要素 */
#wrap {
    text-align: center;
}

/* ランダム広告 */
div.ad_banner {
    position: relative;
    margin: 0;
}
div.ad_banner p {
    position: absolute;
    top: -35px;
    right: 15px;
}
html > body div.ad_banner p {
    top: -37px;
    right: 0;
}
