.ui-datepicker {
	width: 100%;
	padding: 0;
}
.ui-datepicker table td ,.ui-datepicker table th{
	background: -webkit-linear-gradient(to left, #bbb 0%, #bbb 20%, transparent 20%, transparent 100%)!important;
	background: linear-gradient(to left, #bbb 0%, #bbb 20%, transparent 20%, transparent 100%)!important;
	background-repeat: repeat-x!important;
	background-size: 6px 1px!important;
	background-position: 1px bottom!important;
	box-sizing: border-box!important;
}
.ui-datepicker table td + td:after , .ui-datepicker table tr:last-of-type th:after {
	content: "";
	display: block;
	position: absolute;
	width: 1px;
	height: 100%;
	top: 0;
	left: 0;
	background: -webkit-linear-gradient(to top, #bbb 0%, #bbb 20%, transparent 20%, transparent 100%);
	background: linear-gradient(to top, #bbb 0%, #bbb 20%, transparent 20%, transparent 100%);
    background-repeat: repeat;
    background-position-x: 0%;
    background-position-y: 0%;
    background-size: auto auto;
	background-repeat: repeat-y;
	background-size: 1px 6px;
	background-position: 0 0;
}
.ui-datepicker table {
	width: 100%;
	font-size: .9em;
	border-collapse: collapse;
	margin: 0 0 .4em;
	border: 1px solid #d3d3d3;
}
.ui-datepicker th {
	padding: .7em .3em;
	text-align: center;
	font-weight: normal!important;
	width: auto;
}
.ui-datepicker th:first-of-type span {
	color: #F00;
}
.ui-datepicker th:last-of-type span {
	color: #00F;
}
.table-input .ui-datepicker th{
	background-color: none!important;
}
.ui-datepicker th span {
	background-color: #f5f5f5;
	display: block;
}
.ui-datepicker td {
	padding: 0px 0px 1px 1px!important;
}
.ui-datepicker td span,
.ui-datepicker td a {
	display: block;
	padding: .2em;
	text-align: center;
	text-decoration: none;
	height: 54px;
}

.cal-disabled span{
	background-color: #dedede;
}

.ui-datepicker td a{
	background: -webkit-linear-gradient(top, #fefefe 0%,#ececed 100%);
	background: linear-gradient(to bottom, #fefefe 0%,#ececed 100%);
	margin: 4px;
	height: 46px!important;
	box-shadow:1px 1px 3px 1px #dcdcdc;
	border:1px solid #FFF;
	border-radius: 5px;
}
.ui-datepicker td a:hover{
	opacity: 0.6;
}
.ui-datepicker td a:after{
	content: "";
	display: inline-block;
	position: absolute;
	bottom: 12px;
	left: 50%;
	margin-left: -11px!important;
	width: 24px;
	height: 24px;
	margin: 0 0 0 0.7em;
	background: url(/reserves/images/icon_enable.svg) no-repeat 0 0;
}
.ui-datepicker a.ui-state-active{
	background: -webkit-linear-gradient(top, #ffebeb 0%,#eedcdc 100%);
	background: linear-gradient(to bottom, #ffebeb 0%,#eedcdc 100%);
	font-weight: bold;
}

.cal-legend{
	text-align: right;
	font-size: 13px;
}
.cal-legend span{
	position: relative;
	padding-left: 20px;
}
.cal-legend .enabled-half-day:before{
	content: "";
	display: inline-block;
	position: absolute;
	left: 0;
	top: -2px;
	width: 17px;
	height: 17px;
	background: url(/reserves/images/triangle-line.svg) no-repeat 0 0;
}
.cal-legend .en-r{
	margin-right: 15px;
}
.cal-legend .enabled-day:before{
	content: "";
	display: inline-block;
	position: absolute;
	left: 0;
	top: -2px;
	width: 17px;
	height: 17px;
	background: url(/reserves/images/icon_enable.svg) no-repeat 0 0;
}
/*
.cal-legend .disabled-day{
	margin-left: 15px;
}
*/
.cal-legend .disabled-day:before{
	content: "";
	display: inline-block;
	position: absolute;
	left: 0;
	top: -1px;
	width: 15px;
	height: 15px;
	background: url(/reserves/images/icon_disable.svg) no-repeat 0 0;
}


/* for sp ---*/
@media screen and (max-width: 767px) {
	.ui-datepicker{
		display: table!important;
		width: 100%!important;
		table-layout:fixed;
		box-sizing: border-box;
	}
	.ui-datepicker th{
		display: table-cell!important;
		width: 13%;
	}
	.ui-datepicker td{
		display: table-cell!important;
		width: 13%;
	}
	.ui-datepicker tr{
		display: table-row;
		width: auto
	}
	.ui-datepicker thead , .ui-datepicker tbody{
		display: table-row-group;
		width: auto
	}

}
