/*  
Theme Name: OVAL OFFICE
Theme URI: http://www.koikikukan.com/
Description: koikikukan template 3 column
Author: NIMITZ
Author URI: http://ovaloffice.jp/
Version: 0.2f
*/

/*
 * 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.
 *           : 2.00 2007.07.22 for XHTML 1.0 Strict.
 *
 * Copyright (C) 2005-2007 www.koikikukan.com All rights reserved.
 */

/* all */
* {
    margin: 0;
    padding: 0;
    font-family: "メイリオ",Verdana, Arial, sans-serif;    
}
body {
    font-size: 12px;
    color: #aaaaaa;
}
html>body {
    font-size: 12px;    
}

/* heading */
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

/* anchor */
a,
a:link,
a:visited {
    color: #aaaaaa;
    text-decoration: none;
}
a:hover {
    color: #ff9900;
    text-decoration: none;
}
a:active {
    color: #cc0000;
    text-decoration: none; 
}

/* image with anchor */
a img {
    border: none;
}

/* form */
form {
    margin: 0px;
}

input:hover,
textarea:hover {
    border-color: #ff0033;
}

#searchform fieldset {
    border: none;
}
#search-options,
input {
    padding: 1px;
}
#searchtext {
    width: 166px;   
}

input.searchsubmit {
    color: #cccccc;
    background-color: #000000;
    cursor: pointer;
}
input.searchsubmit:hover {
    background-color: #990000;
}

/* Header */

/* banner title */
#header {    
    color: #000000;
    width: 974px; 
    height: 275px;
    background: #000000;
    background-image: url(images/top/ovaloffice.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    text-align: left;
}
#header a,
#header a:link,
#header a:visited {
    color: #000000;
    background: transparent;
    font-size: 10px;
    text-decoration: none;
}
#header a:hover {
    color: #ff9900;
    text-decoration: none;
}
#header a:active {
    color: #cc0000;
    text-decoration: none;
}

#blog-name a,
#blog-name a:link,
#blog-name a:visited {
    visibility: hidden;
}
#blog-name a:hover {}
#blog-name a:active {}

/* description of blog */
.blog-description {
    visibility: hidden;
}

/* Title on Mouse */
#on_title {
    position: absolute;
    top: 1px;         
    margin: 0px 0px 0px 0px;        
}

/* Font Size */
#font_size {
    color: #333333;
    position: absolute;
    top:  4px;
    margin: 0px 0px 0px 860px;         
}    

/* 星条旗 */
#us_flag {         
    position: absolute;
    top:  180px;
    margin: 0px 0px 0px 30px;         
}

/* Twitter */
#twitter_div {
    position: absolute;
    top:  251px;
    margin: 0px 0px 0px 30px;
    padding: 6px 0px 0px 120px;
    width: 795px;    
    color:#00ffff;
    background:url(images/top/twitter_top.png) no-repeat; 
}

/* Top Info */
#top_info {
    position: absolute;
    top:  110px;
    margin: 0px 0px 0px 760px;
    padding: 6px 0px 0px 6px;
    font-size: 12px;
    width: 190px;    
    height: 85px;
    color:#ffffff;
    background:url(images/top/top_info_bg.png) no-repeat; 
}   
#top_info a:link,
#top_info a:visited {
    color: #ff0000;
}
#top_info a:hover {
    color: #ff9900;
}
#top_info a:active {
    color: #cc0000;
}

/* Top button */
#top_button {         
    position: absolute;
    top:  202px;
    margin: 0 0 0 838px;
}
#top_button a:hover {
    position:relative; top:1px; left:1px;
}

/* Admin button */
#admin_button {         
    position: absolute;
    top:  202px;
    margin: 0 0 0 893px;
}
#admin_button a:hover {
    position:relative; top:1px; left:1px;
}

/* Google Search */
#google_search {   
    position: absolute;
    top: 225px;
    margin: 0px 0px 0px 729px
}
#seachform {
    height: 16px;
}
input.seachbtn {
    height: 22px;
    color: #ffffff;
    background-color: #252525;
    cursor: pointer;
}
input.seachbtn:hover {
    background-color: #990000;
} 

/* Header2 */
#header2 {    
    width: 974px; 
    height: 260px;
    background: #252525;
    text-align: left;
}

/* Navigation */
#navigation {
    margin: 0px 0px 0px 0px;
    padding: 10px 0px 5px 0px;
    text-align:center;
}

/* Headline News */
#headline {
    width 974px;
    height: 190px;
    margin: 0px 0px 0px 5px;
    padding: 30px 0px 0px 0px;
    background: url("images/wall/headline.jpg") no-repeat;
}
.toptitle {
     width: 150px; 
     text-align: center;       
}
.topleft {
     width: 380px;
     text-align: left;  
     line-height: 2.3;    
}
.topsukima1 {
     width: 20px;         
}
.topright {
     width: 380px;      
     text-align: left; 
     line-height: 2.3;        
}
.topsukima2 {
     width: 20px;        
}

/* Main */
#main {
    width: 974px;
    background: url("images/wall/main.gif") repeat-y center;
}
#main-top {
    width: 974px;
    background: url("images/wall/main_top.gif") no-repeat;
}
#main-bottom {
    width: 974px;
    padding-left: 3px;
    min-height: 50px;
    background: url("images/wall/main_bottom.gif") no-repeat  left bottom;    
}

/* article */
.blog {
    padding: 10px 15px;
}

/* article date & Category */
.title-under {
    margin: 5px 0px 75px 0px;
}

.title-under .entry-hizuke {
    float: left;    
    padding: 9px 6px 16px 6px;
    background:url("images/body/hizuke_bg.png") no-repeat;
}
.entry-hizuke .hizuke-nengetu {
    color: #ffffff;
    font-size: 10px;
    text-shadow: 0.5px 0.5px 0.8px #888888;
    text-align: center;
    line-height: 1;   
}   
.entry-hizuke .hizuke-day {
    padding-top: 4px;
    color: #000000;
    font-size: 19px;
    font-weight: bold;
    text-shadow: 2px 2px 2px #666666;
    text-align: center;
    line-height: 1;
}   
.entry-hizuke .hizuke-week {   
    color: #444444;
    font-size: 9px;
    text-shadow: 0.5px 0.5px 0.8px #666666;
    text-align: center;
    line-height: 1;
}   

.title-under .category-tags {
    float: left;
}

.category-tags .category {
    padding: 15px 0 0 20px;
    color:#dddddd;      
    font-size: 12px;
    line-height: 1;   
}
.category a:link,
.category a:visited {
    color: #cccccc;
}
.category a:hover {
    color: #ff9900;
}
.category a:active {
    color: #cc0000;
}

.category-tags .tags { 
    padding: 5px 0 0 20px;
    color: #cccccc;
    font-size: 10px;
}
.tags a:link,
.tags a:visited{
    color: #aaaaaa;
}
.tags a:hover{
    color: #00ff00;
}
.tags a:active{
    color: #cc0000;
}

.title-under .topsy-button {
    float: right;
    padding: 0px 0px 0px 0px;
}

/* comment color */
.trackbacks-header,
.comments-header,
.comments-open-header {
    color: #cccccc;
    background-color: #222222;
}

/* an article or comment */
#comments,
.entry {
    width: auto;
    margin: 0px 0px 10px 0px;
    padding: 0px 10px 0px 10px;    
    color: #cccccc;
    background-color: #252525;
    font-size: 12px;
    line-height: 2;
    word-break: break-all;
    /*border: 3px ridge #cccccc;*/
}

.entry-body a:link,
.entry-body a:visited {
    color: #ffff99;
    text-decoration: underline; 
}
.entry-body a:hover {
    color: #ff9900;
    text-decoration: underline;  
}
.entry-body a:active {
　　color: #cc0000;
    text-decoration: underline;    
}

.entry p {
    margin: 10px 0;
}
.entry blockquote p {
    margin: 0;
}
.entry ul {
    margin: 10px 0 10px 25px;
}
.entry ol {
    margin: 10px 0 10px 30px;
}
.entry textarea {
    width: 97%;
}

p img {
    padding: 0;
    max-width: 100%;
}
img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
img.alignright {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
}
img.alignleft {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
}
.alignright {
    float: right;
}
.alignleft {
    float: left;
}

/* blockquote */
.entry blockquote {
    width: auto;
    margin: 15px 20px 0;
    padding: 10px;
    border: 1px solid #666;
    background: #f6f6f6;
    font-size: 11px;
    line-height: 150%;
}
.quotetitle {
    font-size: 11px;
    border-bottom: 1px solid #666;
    padding: 3px;
}

pre {
    margin: 15px 20px 0px;
    padding: 10px;
    background: #f6f6f6;
    border: 1px solid #999;
    font-size: 11px;
    line-height: 1.5;
    width: 100%;
    overflow: scroll;
}
html>body pre {
    width: 87%;
}

/* title of entry */
.entry-header {
    margin: 0px -12px 0px -12px;
    padding: 9px 0px 8px 20px;  
    color: #ffffff;
    text-shadow: 2px 2px 2px #aaaaaa;
    font-size: 17px;
    font-weight: bold;
    background-image: url(images/body/e_title.png);
    line-height: 1;   
}
.entry-header a:link,
.entry-header a:visited {
    color: #ffffff;
    text-shadow: 2px 2px 2px #aaaaaa;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;
    border-bottom:none;
}
.entry-header a:hover {
    color: #ff9900;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;
    border-bottom:none;
}
.entry-header a:active {
　　 color: #cc0000;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;
    border-bottom:none;
}

/* entry more */
.ajax-entry-more-link a:link,
.ajax-entry-more-link a:visited {
    margin: 0px 0px 0px 0px;
    padding: 5px 6px 5px 6px;
    color: #ffff00;
    font-size: 12px;
    font-weight: bold;
    background: url(images/body/more_bk.gif) repeat-x center;
    text-decoration: none;
    border-bottom:none;
}
.ajax-entry-more-link a:hover {
    margin: 0px 0px 0px 0px;
    padding: 5px 6px 5px 6px;
    color: #00ff00;
    font-size: 12px;
    font-weight: bold;
    background: url(images/body/more_rd.gif) repeat-x center;
    text-decoration: none;
    border-bottom:none;
}
.ajax-entry-more-link a:active {
    margin: 0px 0px 0px 0px;
    padding: 5px 6px 5px 6px;
　  color: #ff0000;
    font-size: 12px;
    font-weight: bold;
    background: url(images/body/more_rd.gif) repeat-x center;
    text-decoration: none;
    border-bottom:none;
}

/* contributor */
.entry-footer {
    margin: 10px 0 30px 0;
    padding: 10px 10px 10px 0;
    /*border-bottom: 1px solid #cc0000;*/
    text-align: right;
    color: #cccccc;
    background: url("images/body/footer_bg.gif") no-repeat;
    font-size: 11px;
    line-height: 1;
}
.entry-footer a:link,
.entry-footer a:visited{
    color: #cccccc;
}
.entry-footer a:hover{
    color: #00ff00;
}
.entry-footer a:active{
    color: #cc0000;
}

/* Related Post */
.relate-head {
    margin: 1px 0px 20px 0px;
    padding: 7px 0px 7px 0px;
    text-align: center;
    color: #ffffff;
    font-family: Georgia,Arial, sans-serif;    
    font-size: 13px;
    font-weight: bold;    
    background: url(images/body/cmtb_title.gif);
    line-height: 1;    
}

.relatedpost {
    margin: -10px 0px 10px 30px;
}

/* archive-list */
.archive-list {
    margin: 10px 0;
}

/* side logo */
.side-center {
    text-align: center;
}
.side-right {
    text-align: right;
}
.ugoku a:hover {
    position:relative; top:1px; left:1px;
}

/* navigation */
.content-nav {
    margin: 10px;
    font-size: 12px;
    text-align: center;
}

/* navigation */
.page {
    margin: 6px 0 10px;
    font-size: 11px;
}

/* breadcrumbs list */
.crumbs {
    margin: 6px 0 10px;
    padding-left: 5px;
    font-size: 11px;
}

/* calendar */
#wp-calendar caption {
    padding-bottom: 5px;
    text-align: center;
    color: #999999;
    font-size: 9px;
    background: none;
    letter-spacing: 0.2em;
}
#wp-calendar {
    text-align: center;
    color: #999999;
    background: none;
}
#wp-calendar a:link,
#wp-calendar a:visited {
    color: #ffffcc;
    text-decoration: none;
}
#wp-calendar a:hover {
    color: #ff9900;
    text-decoration: underline;
}
#wp-calendar a:active {
　　color: #cc0000;
    text-decoration: underline;
}
#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%;
}

/* menu list of sidebar */
#links-left ul,
#links-right ul {
    color: #aaaaaa;
}
#links-left ul li,
#links-right ul li {
    list-style: none;
    margin: 0 0 10px 0;
}
#links-left li li,
#links-right li li {
    background: url(images/lmark.gif) no-repeat  0px 2px;
    padding-left: 14px;
    margin: 0;
}
#links-left ul ul,
#links-right ul ul {
    margin: 0;
}

html > body #links-left ul li h2,
#links-right ul li h2 {
   padding-bottom: 0;
}
#links-left ul ul,
#links-right ul ul {
    margin: 3px 0 20px 0;
}
#links-left ul ul ul,
#links-right ul ul ul{
    margin-bottom: 0;
}
#links-left ul li li ,
#links-right ul li li {
    font-size: 12px;
    line-height: 150%;
}
#links-left ul li li li ,
#links-right ul li li li {
    font-size: 12px;
}
#links-left ul ul.children,
#links-right ul ul.children {
    margin-top: 0;
}

/* Title Menu List */

/* no oritatami */
#links-left h2,
#links-right h2 {
    display: block;
    margin: 10px 0px 10px 0px;
    padding-bottom: 1px; 
    color: #ffffff;
    background:url(images/body/s_title_bk.gif) repeat-x center;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    line-height: 2.2;
}
/* oritatami */ 
.oritatami a:link,
.oritatami a:visited { 
    display: block;
    margin: 10px 0px 10px 0px;
    padding-bottom: 1px; 
    color: #ffffff;
    background:url(images/body/s_title_bk.gif) repeat-x center;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    line-height: 2.2;     
}  
.oritatami a:hover { 
    display: block;
    margin: 10px 0px 10px 0px;
    padding-bottom: 1px; 
    color: #777777;
    background:url(images/body/s_title_rd.gif) repeat-x center;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    line-height: 2.2;
}

/* credit */
.powered {
    margin-top: 50px;
    text-align: left;
    color: #aaaaaa;
    font-size: 11px;
    line-height: 1.5;
}
.powered img {
    margin-top: 3px;
}

.clear {
    clear: both;
}

/* comment and trackback */
.trackbacks,
.comments {
    margin: 10px 5px;
    color: #36414d;
}

.trackbacks-header,
.comments-header,
.comments-open-header,
.comments-head {
    margin: 1px -9px 20px -9px;
    padding: 7px 0px 7px 0px;
    text-align: center;
    color: #ffffff;
    font-family: Georgia,Arial, sans-serif;    
    font-size: 13px;
    font-weight: bold;    
    background: url(images/body/cmtb_title.gif);
    line-height: 1;    
}

#trackbacks-info,
.trackback-content,
.comment-content,
.comments-open-content {
    color: #cccccc;
    background-color : #333333;
    margin: 15px 0px 10px 0px;
    padding : 10px 10px 5px 15px;
    border-top:2px solid #090909; 
    border-right: 2px solid #404040;
    border-bottom: 2px solid #404040;
    border-left: 2px solid #090909;    
    font-size: 12px;
    line-height: 1.5;
    word-break: break-all;
}

.trackback-content p,
.comment-content p {
    margin-top: 10px;
    margin-bottom: 5px;
}

.comment-content .com-avatar {
    float: right;
}

.trackback-footer,
.comment-footer {
    height: 20px;
    color: #cccccc;
    background-color : #333333;
    margin: 0px 0px 0px 0px;
    padding : 5px 10px 5px 10px;
    border-top:2px solid #090909; 
    border-right: 2px solid #404040;
    border-bottom: 2px solid #404040;
    border-left: 2px solid #090909;    
    font-size: 10px;  
}

.trackback-footer,
.comment-footer a:link,
.trackback-footer,
.comment-footer a:visited {
    color: #cccc00;  
}
.trackback-footer,
.comment-footer a:hover {
    color: #ff9900;  
}
.trackback-footer,
.comment-footer a:active {
    color: #00ffff;   
}

.comment-footer .f-post {
    float: right;
}
.f-post .f-post1 {
    color: #cccccc;
    font-size: 12px;
    float: right;
}    
.f-post .f-post1 a:link,
.f-post .f-post1 a:visited {
    color: #00ffff;
}
.f-post .f-post1 a:hover {
    color: #ff9900;
}
.f-post .f-post1 a:active {
　　color: #cc0000;    
}
.f-post .f-post2 {
    padding-right:3px;
    color: #cccccc;
    float: right;
    line-height: 1.9;
}    
.f-post .f-post2 a:link,
.f-post .f-post2 a:visited {
    color: #ffffff;
}
.f-post .f-post2 a:hover {
    color: #ff9900;
}
.f-post .f-post2 a:active {
　　color: #cc0000;    
}

.comment-footer .f-edit {
    float: left;
}
.comment-footer .f-edit a:hover {
    position:relative; top:1px; left:1px;
}
.comment-footer .f-track {
    float: right;
}
.trackbackinput {
    margin: 0px 0px 20px 0px;
}

#comments-open-data p {
    margin-bottom: 10px;
}
#comment-post {
   font-weight: bold;
}
#comment-author, #comment-email, #comment-url, #comment-text {
   width: 220px;
}
#comment {
    width: 515px;
    height: 200px ;
   overflow-y:scroll;
}
#comment-bake-cookie {
   margin-left: 2px;
   vertical-align: middle;
}
#comments-open-footer {
    text-align: center;
}
.comments-open label {
    display: block;
}

form input,
form textarea {
    border: 1px solid #999;
}

#searchtext {
    margin: 3px 0;
}

input.submit{
    background: #eeeeee;
    width: 100px;
    height: 28px;
    cursor: pointer;
}
input.submit:hover {
    background-color: #ff9900;
}

input.acp-preview {
    background: #eeeeee;
    width: 100px;
    height: 28px;
    cursor: pointer;
}
input.acp-preview:hover {
    background-color: #ff9900;
}

#ajax-comment-preview {
    color: #cccccc;
    background-color : #333333;
    margin: 10px 0px 10px 0px;
    padding : 10px 10px 5px 15px;
    border-top:2px solid #090909; 
    border-right: 2px solid #404040;
    border-bottom: 2px solid #404040;
    border-left: 2px solid #090909;    
    font-size: 12px;
    line-height: 1.5;
    word-break: break-all;
}

/* footer */
#footer {
    margin: 10px 0;
    padding: 1px 0;  
}
#footer p {
    margin: 5px 0;
    font-size: 12px;
    text-align: center;
    color: #aaaaaa;
}

/* for 3 columns */
body.layout-three-column {
    margin-bottom: 20px;
    text-align: center; 
    background: #1e1e1e url(images/wall/kabe_body.png) repeat-y center ;
}
.layout-three-column #container {
    margin-bottom: 10px;
}
.layout-three-column #box {
    width: 974px; 
    margin-right: auto;
    margin-left: auto;
    padding: 0 0 15px 0;        
    text-align: left;
}

/* for 3 columns fixed layout */
.layout-three-column #content {
    float: left;
    width: 568px;
    margin: 0 0 10px 0;    
}
.layout-three-column #links-left-box ,
.layout-three-column #links-right-box {
    float: left;
    width: 200px;
    overflow: hidden;
}
.layout-three-column #links-left,
.layout-three-column #links-right {
    padding: 15px 15px 0px 15px; 
}

input {
    font-size: 12px;
    line-height: 1.5;
}
textarea {
    font-size: 12px;
    line-height: 1.5;
    background-color:#f5f5f5;
    background-image:url(images/wall/president_seal.gif);
    background-repeat:no-repeat;
    background-position:center ;
}

.pnavi {
       text-align: center;
}

/********** Information 流れる文字 *********/
.oshirase {
    color:#ffffff;
    font-size: 12px;
    background-color:#000000;
    width:165px;
}

/********** 枠線で文章を囲む **********/ 
.textfrm { 
    margin : 10px 10px 10px 10px; 
    padding: 5px; 
    background-color:#333333;
    border-top: 2px solid #090909;
    border-right: 2px solid #404040;
    border-bottom: 2px solid #404040;
    border-left: 2px solid #090909; 
}
/**********************************************/


.clearfix:after {
    content: ""; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-table;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */