@charset "utf-8";

/*
*	Title: Vicuna: [Calendar Module]
*	URI: http://vicuna.jp/
*	Last Modified: 2007-07-21
*	Author: wu
*
*	Description:
*	カレンダー追加スタイルモジュール
*
*	※このModuleを使用するにはカレンダーの
*	MTタグを追加する必要があります。
*
*/

/*======================================

	Calendar Style Module
	
=======================================*/

/*--------------------------------------
	1.Structure
---------------------------------------*/

div#utilities dl dd table.calendar {
	margin: 0.5em 0;
	width: 300px;
	font-size: 85%;
	border-width: 1px 0 0 1px;
	border-color: #eee;
/* Marginを使うと
caption内のリンクがFxで表示の問題がでるので相対配置で置いています。
調整中で、もっと良い方法があったら変更します。*/
	position: relative;	
	left: 7px;
}

body.double div#utilities dl dd table.calendar {
	margin: 0;
	_margin-top: 0.5em;
	width:200px;

/*ここも*/
	left: 17px;
}

/*--------------------------------------
	2.前後の月へのリンク
---------------------------------------*/

div#utilities dl dd table.calendar caption {
	margin-top: 0.5em;
	padding: 0.1em 0;
	color: #b83800;
}

body.double div#utilities dl dd table.calendar caption {
	background-color: #eee;
}

div#utilities dl dd table.calendar caption a {
	padding: 0 5px;
	height: 1px;
	color: #01b0f0;
	background-color: #eee;
	font-weight: bold;
	text-decoration: none;
}

div#utilities dl dd table.calendar caption a:hover {
	color: #fff;
	background-color: #000;
}

/*--------------------------------------
	3.セル
---------------------------------------*/

div#utilities dl dd table.calendar th,
div#utilities dl dd table.calendar td {
	padding: 0;
	text-align: center;
}

div#utilities dl dd table.calendar th {
	background-color: #ddd;
}

/*--------------------------------------
	4.土日
---------------------------------------*/

div#utilities dl dd table.calendar th.sun {
	background-color: #ccc;
}

div#utilities dl dd table.calendar th.sat {
	background-color: #ccc;
}

/*--------------------------------------
	5.セル内のリンク
---------------------------------------*/

div#utilities dl dd table.calendar td a {
	padding: 0.3em 0;
	display: block;
	line-height: 1;
	text-decoration: none;
}

div#utilities dl dd table.calendar td a:link {
	color: #fff;
	background-color: #666;
}

div#utilities dl dd table.calendar td a:visited {
	color: #333;
	background-color: #eee;
}

div#utilities dl dd table.calendar td a:hover {
	color: #fff;
	background-color: #000;
}
