#calendar {
	background:#fff;
	margin:0;
	padding:0;
	border:1px solid #ddd;
}

.calendar iframe{
	font-size:1rem;
	padding:10px 0 0 5px;
}

#cal_wrapper table{
	table-layout: fixed;
	width:max;
	margin:5px 0 0 5px;
}

div.cal_wrapper table.cal tr th p {/*年月*/
	float:left;
	padding:0;
	margin:0 0 0 5px;
	color:#666;
	font-size:1rem;
}
div.cal_wrapper table.cal tr th div.cal_ui {
	float:right;
	padding:2px;
	cursor:pointer;
}
div.cal_wrapper table.cal tr th div.cal_ui input {/*月おくり*/
	border:solid 1px #CCC;
	background-color:#FFF;
	font-size:0.7em;
	padding:3px 5px;
	border-radius:3px;
	cursor:pointer;
}

div.cal_wrapper table.cal tr{
	border-top:solid 1px #EEE;
	background:#fff;
}

div.cal_wrapper table.cal td {
	border-top:solid 1px #EEE;
	text-align:center;
	padding:3px;
	background:#fff;
}

div.cal_wrapper table.cal tr.headline td {/*曜日*/
	padding:0;
	color:#666;
	font-size:0.7em;
}

div.cal_wrapper table.cal tr td div {/*カレンダー中身*/
	margin:0;
	padding:1px 5px;
	text-align:center;
	background-color:#FFF;
	border-radius:3px;
}

div.cal_wrapper table.cal tr td div span {/*マウスオーバー(IE非対応)*/
	display:block;
	visibility:hidden;
	position:absolute;
	top:30px;
	left:0;
	display:none;
	width:180px;
	border:solid 1px #EEE;
	background-color:#FFF;
	text-align:left;
	padding:5px;
	z-index:30;
	color:#000;
	font-weight:normal;
	line-height:1.5em;
	box-shadow:1px 1px 3px #666;
}

/* 以下、クラス指定 */

div.cal_wrapper table.cal tr td div.weekday {
	background:#FFF;
}/*白8:30-22:00*/

div.cal_wrapper table.cal tr td div.weekday_vacation {
	background:#B3FFB3;
}/*緑8:30-13:00*/

div.cal_wrapper table.cal tr td div.Sat {
	background:#c3e5fe;
}/*水色8:30-17:00*/

div.cal_wrapper table.cal tr td div.Sun {
	/*background-image: linear-gradient(to top left, pink, pink 50%, #888 51%, #888 54%, pink 54%, pink);*/
	background:pink;
	text-decoration:underline;
}/*ピンク閉館*/

div.cal_wrapper table.cal tr td div.testweek{
	background:#FFFF80;
}/*黄色10:00-17:00*/

div.cal_wrapper table.cal tr td div.closed {
	background:#bbb;
}/*灰未定*/

div.cal_wrapper table.cal tr td div.temp {
	background:#FC3;
}/*オレンジ8:30-19:00*/

div.cal_wrapper table.cal tr td div.temp2 {
	background:#C9F;
}/*紫8:30-20:00*/

div.cal_wrapper table.cal tr td div.undecided {
	color:#EEE;
}/*未定グレーアウト*/

div.cal_wrapper table.cal tr td div.Today {
	font-weight:bold;
/*	text-decoration:underline;
	border:#F30 solid 1px;
	margin:-1px;*/
}

div.cal_wrapper table.cal tr td div.Deli {
	background-color:#EFE;
}

div.cal_wrapper table.cal tr td div.backward {
/*	color:#666;
*/	border-radius:3px;
}
div.cal_wrapper table.cal tr td div.pointer {
	cursor:pointer;
}


/* 開館時間表 */
#ex table{
	margin:0 0 0 2px;
}

#ex td{
	margin:0;
	padding:3px;
	text-align:center;
	background:#fff;
	font-size:10px;
}

#ex .weekday{
	border:#aaa solid 1px;
}

#ex .weekday_vacation{
	background:#B3FFB3 !important;
}

#ex .Sat{
	background:#c3e5fe !important;
}
#ex .Sun{
	/*background-image: linear-gradient(to top left, pink, pink 48%, #888 48.5%, #888 51%, pink 51%, pink);*/
	background:pink; !important;
	text-decoration:underline;
}
#ex .testweek{
	background:#FFFF80 !important;
}
#ex .temp{
	background:#FC3 !important;
}
#ex .temp2{
	background:#C9F !important;
}
#ex .closed {
	background:#EEE !important;
}

/* 文字調整 */
td .cal_caption{
	text-align: left;
}
