/*   
Theme Name:佛立研究所CMSテンプレート
Theme URI:hbs-institute.sakura.ne.jp/wp/themes/kenkyu/
Description:佛立研究所CMS
Author:administrator
*/

/*===========================================================================================================

	CMS部分基本情報

===========================================================================================================*/
#main #top-side {
	margin-right: 30px;
}	
#contents{
	clear:both;
	font:"ＭＳ ゴシック", "Osaka－等幅";
}

.clearfix {
    zoom:1;  /* for IE 5.5-7 */
}
.clearfix:after{  /* for modern browser */
    content:".";
    display: block;
    height:0px;
    clear:both;
    visibility:hidden;
}

/*===========================================================================================================

	左側メニュー（leftmenu.php）

===========================================================================================================*/

#contents .left_menu{
	float:left;
	margin-top:74px;
	}

#contents .left_menu .left01{
	width:154px;
	background: url(/wp/wp-content/themes/kenkyu/images/br_left_menu_01b.gif) 0 0 no-repeat;
}

#contents .left_menu .left02{
	width:154px;
	background: url(/wp/wp-content/themes/kenkyu/images/br_left_menu_02b.gif) 0 0 no-repeat;
}

#contents .left_menu .left03{
	width:154px;
	background: url(/wp/wp-content/themes/kenkyu/images/br_left_menu_03b.gif) 0 0 no-repeat;
}

#contents .left_menu .left04{
	width:154px;
	background: url(/wp/wp-content/themes/kenkyu/images/br_left_menu_04b.gif) 0 0 no-repeat;
}

#contents .left_menu .left05{
	width:154px;
	background: url(/wp/wp-content/themes/kenkyu/images/br_left_menu_05b.gif) 0 0 no-repeat;
}

#contents .left_menu .left06{
	width:154px;
	background: url(/wp/wp-content/themes/kenkyu/images/br_left_menu_06b.gif) 0 0 no-repeat;
}

#contents .left_menu .left07{
	width:154px;
	background: url(/wp/wp-content/themes/kenkyu/images/br_left_menu_07b.gif) 0 0 no-repeat;
}

#contents .left_menu .left08{
	width:154px;
	background: url(/wp/wp-content/themes/kenkyu/images/br_left_menu_08b.gif) 0 0 no-repeat;
}

#contents .left_menu li a { 
	width: 100%;
	height: 100%;
	display: block;
}

	
#contents .left_menu li a:hover img {
	visibility: hidden;
}
/*===========================================================================================================

	右メニュー（rightmenu.php）

===========================================================================================================*/
#contents .cms_box .right_menu {
	float:right;
	width:153px;
	padding-right:3px;
}
#contents .cms_box .right_menu li{
	margin:0px;
}


/*===========================================================================================================

	中央、ループ部分（記事部分）

===========================================================================================================*/
#contents .cms_box{
	float:left;
	width:630px;
}

#contents .cms_box h3{
	margin:26px 0px 20px 18px;
}

#contents .cms_box .document {
	float:left;
	width:439px;
	padding-left:17px;
	padding-bottom:10px;
}
/*====================================================
　　記事タイトル
　　長さによって上下にのびる
=====================================================*/
#contents .cms_box .document .titlebox {
	width:439px;
}
#contents .cms_box .document .bbb {/*　記事タイトル背景－中　*/
	width:439px;
	background:url(/img/document_midashi_top_b.gif) 0 0 no-repeat;
}

#contents .cms_box .document .bbb dl{
	width:430px;
	height:100%;
	clear:both;
	margin:0px;
	padding:0px;
	}
	
#contents .cms_box .document .bbb dl dt {
	float:left;
	font-size:14px;
	background:url(/img/dot_pink.gif) 2px 5px no-repeat;

	padding-left:20px;
	padding-right:20px;
	margin:10px 0px 0px 20px;
	display:inline;
}

#contents .cms_box .document .bbb dl dd {
	float:right;
	text-align:right;
	width:130px;
	margin:12px 10px 0px 0px;
}

#contents .cms_box .document .ccc {
	font-size:0px;
	height:9px;
	background:url(/img/document_midashi_top_c.gif) 0 0 no-repeat;
	padding:0px;
	margin:0px;
	}

/*=============================================================*/
#contents .cms_box .document div.area{
	background:url(/img/document_midashi_body.gif) 0 0 repeat-y;
	font:"ＭＳ ゴシック", "Osaka－等幅";
	width:399px;
	padding-top:10px;
	padding-right: 20px;
	padding-left: 20px;
	padding-bottom:10px;
	}
#contents .cms_box .document div.area div.rewrite {　/*「この記事を編集」関係*/
	width:350px;
}
#contents .cms_box .document div.area div.rewrite a img{
		padding:7px 0px;
	}
	
/* ============================================================
　　投稿記事内のpにmargin
============================================================== */
#contents .cms_box .document div.area p {
	margin:7px 0px;
}

/* ============================================================
　記事中のアップロード画像＆<p>の中のアップロード画像にpadding
============================================================== */
#contents .cms_box .document div.area img{　
	padding:5px;
}
#contents .cms_box .document div.area p img{
	padding:5px;
}

/* ============================================================
　記事中の<li>を中黒付きに戻す。
　記事中の<oi>を数字付きに戻す。
============================================================== */
#contents .cms_box .document div.area ul {
	width:399px;
}
#contents .cms_box .document div.area ul li{
	list-style:none;
	line-height:16px;
}
#contents .cms_box .document div.area ul li p{
	margin:-16px 0px 0px 0px;
	padding:0px;
}
#contents .cms_box .document div.area ol {
	width:360px;
	padding-left:39px;
}
#contents .cms_box .document div.area ol li{
	list-style-type:decimal;
	padding-left:0px;
	line-height:1.2em;
	padding-bottom:5px;
}
/* ============================================================
　記事中の<table>、最大幅制限
============================================================== */
#contents .cms_box .document div.area table {
	max-width:380px;
}

/* ============================================================
　「最新の記事へ」ピンクボタン
============================================================== */
#contents .cms_box .document h4{
	width:439px;
	height:47px;
	background:url(/img/document_midashi_bottom.gif) 0 0 no-repeat;
	margin-bottom:20px;
}

/* ============================================================
　最下部：次のページ＞・＜前のページ
============================================================== */
#contents .cms_box .document .next {
	float:left;
	width:439px;
	text-align:center;
}



/*========================================================
  monthchunkが書き出すliと中身（月別表示）
========================================================*/
#contents .cms_box .right_menu #arch {}

#contents .cms_box .right_menu #arch .arch_top{
	width:149px;
	height:27px;
	background:url(/wp/wp-content/themes/kenkyu/images/arch_top.gif) no-repeat;
}

#contents .cms_box .right_menu #arch .arch_body{
	width:149px;
	background-image:url(/wp/wp-content/themes/kenkyu/images/arch_body.gif);
	background-repeat:repeat-y;
}

#contents .cms_box .right_menu #arch .arch_body .cal{
	padding:10px;
	width:129px;
}

#contents .cms_box .right_menu #arch .arch_body .cal li{
	margin:0 auto;
	clear:left
}

#contents .cms_box .right_menu #arch .arch_body .cal li .year{
	float:left;
	text-align:left;
	width:149px;
}



#contents .cms_box .right_menu #arch .arch_body .cal li .betu,
#contents .cms_box .right_menu #arch .arch_body .cal li .tou {
	float:left;
	text-align:right;
	width:18px;
	font-weight:bold;
	background-image:url(/wp/wp-content/themes/kenkyu/images/right_calendar_mon.gif);
	background-position:right center;
	background-repeat:no-repeat;
	padding-right:15px;
	}

#contents .cms_box .right_menu #arch .arch_body .cal li .betu a{
	color:#00CCFF;
}

#contents .cms_box .right_menu #arch .arch_body .cal li .tou{
	color:#FFB3D1;
	background-image:url(/wp/wp-content/themes/kenkyu/images/right_calendar_mon_p.gif);
}

#contents .cms_box .right_menu #arch .arch_bottom{
	width:149px;
	height:18px;
	background:url(/wp/wp-content/themes/kenkyu/images/arch_bottom.gif) no-repeat;
}


/*===========================================================
  記事カテゴリー
===========================================================*/

#contents .cms_box .right_menu li a{
	color:#666;
}


#contents .cms_box .right_menu .category{
	clear:left;
	text-align:center;
	background-image:url(/wp/wp-content/themes/kenkyu/images/right_category.gif);
	background-repeat:no-repeat;
	width:149px;
	height:105px;
	padding:30px 0px 0px 0px;
	margin-bottom:10px;
}

#contents .cms_box .right_menu li .category li{
	float:left;
}


#contents .cms_box .right_menu .right_release{
	margin-bottom:8px;
}

#contents .cms_box .right_menu .right_speech{

}

/*===========================================================
　　個別記事のアーカーブ（○○の過去の記事）
===========================================================*/

#contents .cms_box .right_menu .archives {
	padding:5px 0px 0px;
	border-top:#CCC 1px dashed;
}

#contents .cms_box .right_menu .archives li{
	text-align:right;
}

.rewrite {
	margin:7px 0px;
	display:block;
}

.more {
	margin-top:15px;
	display:block;
}
