/*
  div#calendars
    div.calender(.calendar_N)
      table#cal_YYYYMM(.month .mon_6)
        tr>th[colspan=7]
        tr>th.dn
        tr>td(.holiday)*7
*/
.cf {
	zoom:1;/*for IE 5.5-7*/
}
.cf:after {/*for modern browser*/
	content:".";
	display: block;
	height:0px;
	clear:both;
	visibility:hidden;
}
p{
	margin:0;
	padding:0;
}
body{

	margin:0;
	padding:0;
	font-size:12px;
	color:#5c5c5c;
	line-height:20px;

}
.calbot{
	padding-top:10px;
	line-height:25px;
	font-size:12px;
	float:left;
}
.calbot:before{
	content:"";
	float:left;
	display:block;
	width:25px;
	height:25px;
	background-color:#ffd1b1;
	margin-right:5px;
}
#calendars {
	width:200px;
	padding:7px;
	text-align: center;
	background: url(./../../img/calback.gif);
	box-sizing: border-box;
}

#calendars div.calendar {
	background:#fff;
	margin:0;
	position:relative;
	z-index:1;
	padding:5px;
	box-sizing: border-box;

}
#calendars div.calendar:first-child{
	margin-bottom:19px;
}
#calendars div.calendar:after{
	display:block;
	height:5px;
	width:200px;
	content:"";
	margin:0;
	background:#fff;
	position:absolute;
	bottom:-12px;
	left:-7px;
}
/* 月名 */
#calendars div.calendar div.ym {
 	color:#9e9d9d;
	background-color: #f4f4f4;
	font-weight:bold;
	font-size:16px;
	line-height:26px;
	padding-left:5px;
	font-size:12px;
	font-weight:bold;
	text-align:left;
}

/* 1ヶ月分 */
#calendars table {
	margin:5px 0 0 0;
	width: 100%;
	color: #9e9d9d;
	background:#fff;
	box-sizing: border-box;
	/* ボーダー: よしなに */

	
	 /* 縦線不要のケース */
	border-collapse: collapse;
	 /* 縦線ありのケース */

	 /*border-collapse: collapse;
	 background-color: #fff;*/

}
#calendars table th,
#calendars table td { 
  /* 縦線なしの場合 */
	min-height: 24px;
	line-height:24px;
	padding:0;
	font-size:12px;
	border-bottom:1px solid #f9f9f9;

}
#calendars table td { 
	width:24px;
}
#calendars table tr {
  background-color: white;
}

/* 祝日背景 */
#calendars table .holiday {
  background-color:#ffd1b1;
  color: #ff0000 !important;
}
/* 曜日名 */

/* 曜日色 */
#calendars table .sun { color: #ff0000; border-left:none;}
#calendars table .mon { color: #9e9d9d; }
#calendars table .tue {  color: #9e9d9d; }
#calendars table .wed {  color: #9e9d9d; }
#calendars table .thu {  color: #9e9d9d; }
#calendars table .fri {  color: #9e9d9d; }
#calendars table .sat { color: #0000ff !important; border-right:none; }



/* 当日背景 */
#calendars table td.today {
}
