#wcs-schedule{
	display: block !important;

	select,
	.ui-datepicker select,
	input[type=text]{
		font-size: 12px;
		height: 24px;
		margin: 0;
		border: 1px solid rgba(0,0,0, 0.15) !important;
		border-radius: 2px;
	}
	select[name="wcs-interval"]{
		width: 49%;
		float: right;
	}
	select[name="wcs-hour"],
	select[name="wcs-minutes"],
	select[name="wcs-repeats-hour[]"],
	select[name="wcs-repeats-minutes[]"]{
		width: 24%;
	}
	p{
		margin-bottom: 5px;
	}
	small{
		margin: 10px 0 10px;
		line-height: 1.5;
		clear: both;
		display: block;
		opacity: 0.75;
	}
	select[name="wcs-status"]{
		float: right;
	}
	input[name='wcs-repeats-day[]']{
		width: 49%;
		outline: none;
	}

}
#wcs-canceled{
	margin-top: 20px;

	.wcs-canceled__item{
		padding-bottom: 15px;

		& + .wcs-canceled__item{
			border-top: 1px dashed rgba(0,0,0,0.1);
			padding-top: 15px;
		}
	}
	p{
		margin-top: 10px;
	}
	a{
		float: right;
	}
}
#wcs-repeat-dates{
	.wcs-repeat__item{
		padding-bottom: 15px;

		& + .wcs-repeat__item{
			border-top: 1px dashed rgba(0,0,0,0.1);
			padding-top: 15px;
		}
	}
	p{
		margin-top: 10px;
	}
	a{
		float: right;
	}
}
#ui-datepicker-div{
	display: none;
}
.wcs-datepicker-pop{
	margin-top: 10px;
	display: block !important;

	.ui-datepicker{
		display: block !important;
	}
	*{
		border: none;
		margin: 0;
		padding: 0;
		background: none;
		float: none;
		width: auto;
		font-family: inherit;
		font-weight: inherit;
		text-align: inherit;
		color: inherit;
		vertical-align: inherit;
		opacity: inherit;
		line-height: inherit;
	}
	.ui-datepicker.ui-datepicker{
		background: transparent !important;
	}
	.ui-datepicker-prev,
	.ui-datepicker-next{
		display: none;
	}
	.ui-datepicker-month{
		width: 49%;
	}
	.ui-datepicker-year{
		width: 49%;
		float: right;
		display: inline-block !important;
	}
	.ui-datepicker-calendar{
		width: 100%;
		clear: both;
		text-align: center;
		margin: 5px 0 0 0;
		border-spacing: 0;
		table-layout: fixed;

		thead th{
			border-bottom: 1px solid rgba(0,0,0, 0.05);
			font-weight: bold;
			padding: 5px 0;
		}

		td{
			line-height: 2em;
			border-bottom: 1px solid rgba(0,0,0, 0.025);
		}
		td:nth-child(2n - 1){
			background-color: rgba(0,0,0, 0.025);
		}
		.ui-state-default{
			display: inline-block;
			margin: 4px 2px;
		}
		.ui-datepicker-unselectable .ui-state-default{
			opacity: 0.5;
		}
		.ui-datepicker-current-day{
			a{
				color: white;
				border-radius: 300px;
				min-width: 2em;
			}
		}
		a.ui-state-default{
			text-decoration: none;
			font-weight: bold;
		}
	}
}
#wcs-duration {
	position: relative;

	.slider_value{
		text-align: right;
		font-size: 90%;
		text-transform: capitalize;

		> strong{
			margin-right: 3px;
			display: inline-block;
		}
		> em{
			font-style: normal;
		}
	}

	.slider.ui-slider{
		position: relative;
		background:rgba(189, 195, 199,0.35);
		height: 6px;
		border-radius: 100px;
		margin: 15px 0;
		border: 1px solid rgba(0,0,0, 0.15);
	}

	.slider.ui-slider .ui-slider-handle {
		position: absolute;
		z-index: 2;
		width: 20px;
		height: 20px;
		cursor: default;
		background: #e74c3c;
		transition: none;
		text-decoration: none;
		outline: none;
		border-radius: 100px;
		margin-left: -12px;
		margin-top: -8px;
		cursor: pointer;
		top: auto;
		box-shadow: none;
		border: none;
	}
}
.type-class.status-draft{

}
.misc-pub-section.misc-pub-post-status{
	display: none;
}
#wcs_image_metabox{

	img{
		max-width: 100%;
		height: auto;
		margin-top: 10px;
		border-radius: 2px;
	}

	#wcs-image-button{
		min-width: 40px;
	}

}
#wcs_action_metabox{

	small{
		margin-bottom: 15px;
		display: block
	}
	label{
		margin-top: 15px;
		display: block;
	}
	input[type*=text],
	select{
		display: block;
		width: 100%;
		margin-bottom: 5px;
		margin-top: 12px;
	}
}
#ui-datepicker-div.wcs-datepicker-pop,
.wcs-datepicker-pop{
	width: 230px;
	background: #fff;
	box-sizing: content-box;
	padding: 10px;
	box-shadow: 0px 0px 4px -2px rgba(0,0,0,0.5);
	z-index: 9999 !important;

	.ui-datepicker-title{
		text-align: center;
	}
	select{
		font-size: 12px;
		line-height: 16px;
		height: 24px;
		margin: 0 !important;
		border: 1px solid rgba(0,0,0, 0.15) !important;
		border-radius: 2px;
	}
}
.repeat_until{
	width: 100%;
	font-size: 12px;
}
#wcs-until a{
	font-size: 90%;
	float: right;
}



#wcs-schedule .wcs-admin-metabox-time{
	display: flex;
	flex-wrap: wrap;
  justify-content: space-between;
	margin: 0 -2px 16px;

	p{
		flex-grow: 1;
		flex-basis: 100%;
	}
	select{
		flex-basis: 14%;
		flex-grow: 1;
		margin: 0 2px;
		border-radius: 0;
	}
	input[type=text][readonly]{
		width: 100%;
		margin: 0 2px;
		flex-basis: 35%;
		flex-grow: 1;
	}
}
