.calendar {
    display: flex;
    flex-flow: column;
}
.calendar .header{
	text-align:center;
}
.calendar .header .month-year {
    font-size: 20px;
    font-weight: bold;
    color: #636e73;
    padding: 20px 0;
	display:inline-block;
}
.calendar .header button {
	background: transparent;
	vertical-align: text-bottom;
}
.calendar .header .month-year {
	margin: 0 10px;
}
.calendar > .days-body{
	width:100%;
}
.calendar .days {
    display: flex;
    flex-flow: wrap;
}
.calendar .days .day_name {
    width: calc(100% / 7);
    border-right: 1px solid #0096e3;
    padding: 14px 20px;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: bold;
    color: #818589;
    color: #fff;
	text-align: center;
    background-color: #05a1f2;
}
.calendar .days .day_name:nth-child(1) {
	border-radius: 15px 0 0 0;
}
.calendar .days .day_name:nth-child(7) {
    border: none;
	border-radius: 0 15px 0 0;
}
.calendar .days .day_num {
    display: flex;
    flex-flow: column;
    width: calc(100% / 7);
    border-right: 1px solid #e6e9ea;
    border-bottom: 1px solid #e6e9ea;
    padding: 15px;
    font-weight: bold;
    color: #7c878d;
    cursor: pointer;
    min-height: 100px;
}
.calendar .days .day_num span {
    display: inline-flex;
    width: 30px;
    font-size: 14px;
}
.calendar .days .day_num:nth-child(7n) span{
	color: blue;
}
.calendar .days .day_num:nth-child(7n + 1) span{
	color: red;
}
.calendar .days .day_num .event {
	position: relative;
    margin-top: 3px;
    font-weight: 500;
    font-size: 15px;
    padding: 3px 6px 3px 25px;
    border-radius: 4px;
    /*background-color: #f7c30d;
    color: #fff;*/
    word-wrap: break-word;
}
.calendar .days .day_num .event:before {
	content: "예";
	display: block;
	width: 20px;
	height: 20px;
	line-height: 20px;
	background: #05a1f2;
	border-radius: 50px;
	position: absolute;
	top: 4px;
	left: 0;
	font-size: 13px;
	color: #fff;
	text-align: center;
}
.calendar .days .day_num .event.disabled:before {
    content: "불";
	background: #8b8b8b;	
}
.calendar .days .day_num.disabled {
	background: #f9f9f9;
}
.calendar .days .day_num.disabled > * {
	opacity: 0.5;
}
/*
.calendar .days .day_num .event.green {
    background-color: #51ce57;
}
.calendar .days .day_num .event.blue {
    background-color: #518fce;
}
.calendar .days .day_num .event.red {
    background-color: #ce5151;
}
*/
.calendar .days .day_num:nth-child(7n+1) {
    border-left: 1px solid #e6e9ea;
}
.calendar .days .day_num:hover {
    background-color: #fdfdfd;
}
.calendar .days .day_num.disabled:hover {
	background: #f9f9f9;
}
.calendar .days .day_num.disabled .event:before {
    content: "불";
    display: block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    background: #8b8b8b;
}
.calendar .days .day_num.disabled:nth-child(7n) span, .calendar .days .day_num.disabled:nth-child(7n+1) span {
	color: #8b8b8b;
}
.calendar .days .day_num.ignore {
    background-color: #fdfdfd;
    color: #ced2d4;
    cursor: inherit;
}
.calendar .days .day_num.selected {
    background-color: #f6fbff;
    cursor: inherit;
	border: 1px solid #0096e3;
}
/*2023-06-05, 욱정 - 임시로 라디오 버튼 보이게*/
/*
#reservation-wrap input[type=radio] { appearance:auto !important; -webkit-appearance:auto !important; }
#reservation-wrap input[type=checkbox] { appearance:auto !important; -webkit-appearance:auto !important; }
*/

@media all and (max-width:1551px) {
	/*
	.calendar {min-width: 1350px;}
	*/
	.calendar > .days-body {overflow-x: scroll; width:100%;}
}

@media all and (max-width:1201px) {
	.calendar > .days-body > div { min-width: 1280px;}
	.calendar .days .day_num .event {font-size: 14px;}

}

@media all and (max-width:641px) {
	/*
	.calendar {min-width: 1250px;}
	*/
	.calendar .header .month-year {font-size: 16px;}
	.calendar .days .day_num .event {font-size: 14px;}
}



.ui-state-active {
	background:red; color:#fff;
}