/* This stylesheet is handwritten by Ragnar | ragnar@meego.ee */

body.single-product form.cart .woocommerce-variation-add-to-cart .ticket-date-time-field {
	display: flex;
	flex: 1 1 100%;
}

body.single-product form.cart .ticket-date-time-field,
body.single-product form.cart .ticket-date-time-field {
	margin-bottom: 10px !important;
}

body.single-product form.cart .ticket-date-time-field label {
	display: block;
	padding: 5px 0;
}

body.single-product form.cart .ticket-date-time-field input,
body.single-product form.cart .ticket-date-time-field select {
	margin-bottom: 0 !important;
	width: 150px;
}

body.single-product form.cart .ticket-date-time-field select option[disabled]{
	color: #ccc;
	background-color: #f6f6f6;
}

.ui-datepicker.wcpbt-loading,
.ticket-time-select.wcpbt-loading {
	position: relative;
}

.ui-datepicker.wcpbt-loading:before,
.ticket-time-select.wcpbt-loading:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	display: block;
	background-color: rgba(0,0,0,0.3);
	z-index: 1;
}

.ui-datepicker.wcpbt-loading:after,
.ticket-time-select.wcpbt-loading:after {
	content: "\f110";
	position: absolute;
	top: calc(50% - 15px);
	left: calc(50% - 15px);
	transform: translate(-50%, -50%);
    display: inline-block;
	width: 30px;
	height: 30px;
    animation: fa-spin 1s linear infinite;
	font-family: 'Font Awesome 5 Free';
	font-size: 30px;
	font-weight: 700;
	color: #fff;
	line-height: 30px;
	z-index: 3;
}

/* Define the spin keyframes */
@keyframes fa-spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
