@charset "utf-8";
#side{
	width: 250px;
	float: right;
}
#view_box{
	width: 580px;
	float: left;
}


#view_box .date{
	margin:0 10px 10px;
	text-align:right;
}
#view_box .article{
	margin:0 10px 10px;
}





#side #cal{
	width:250px;
	margin:0 0 20px;
}


#side #cal table{
	width:100%;
}


.cal_header{
	width:100%;
	color:#fff;
	background:url(../img/cal_bg.png) no-repeat;
    font-weight: bold;
    height:24px;
    padding: 6px 0;
    position: relative;
}
.cal_body{
	border:1px solid #ccc;
	padding: 6px;
	width: 236px;
	
}

.cal_header:before, .cal_header:after {
    border-collapse: collapse;
    content: "";
    display: table;
}
.cal_header:after {
    clear: both;
}
.cal_header:before, .cal_header:after {
    border-collapse: collapse;
    content: "";
    display: table;
}
.cal_header p {
    line-height: 24px;
	font-size:1.2em;
    margin: 0 2.3em;
    text-align: center;
}
.prev {
    height: 1.8em;
    position: absolute;
    top: 6px;
    width: 24px;
    height: 24px;
	left: 6px;
		background:url(../img/cal_prev.png) no-repeat center center;
text-indent: -99999px;
}


.next {
    right: 6px;
    height: 1.8em;
    position: absolute;
    top: 6px;
    width: 24px;
    height: 24px;
	background:url(../img/cal_next.png) no-repeat center center;
text-indent: -99999px;}

#side #cal table{
	width:100%;
	border-collapse:collapse;
}


#side #cal table thead th{
	border:1px solid #ccc;
	background:#ccc;
	color:#fff;
	text-align:center;
	padding:5px 0;
}
#side #cal table tbody th{
	border:1px solid #ddd;
	text-align:center;
	padding:5px 0;
}

#side #cal table tbody td{
	border:1px solid #ddd;
	text-align:center;
	padding: 0;
}


#side #cal table tbody td span{
	display:block;
	text-align:center;
	padding:4px 0;
	margin: 1px;
}

#side #cal table tbody td a{
	background: #5B80B2;
	display:block;
	text-align:center;
	color:#fff;
	font-weight:bold;
	padding:4px 0;
	margin: 1px;
}

#side #cal table tbody td a:hover{
	background: #5B80B2;
	color:#fff;
	text-decoration: underline;
}
