/* Styles definition here */
.cpp_form .fapp .slots a {
	color: #212121;
	font-size: 14px;
	background: none;
}
/* szabalyzat input */
#field_1-5 .dfield {
	display: none !important;
}
#field_1-5 {
	order: 50;
}
.cpp_form .fapp .slots div {
	border: solid 1px #e4eaee;
}
/* Selected date above calendar */
.cpp_form .fapp .slots span {
	color: #666666;
	font-weight: 700;
	font-size: 16px;
}
/* remove margin left on the date items (days) */
#fbuilder .slots div {
	margin-left: 0;
	margin-bottom: 0;
}
/* remove the background color of the date items (days) */
#fbuilder .slots div a {
	background: none;
}
/* Remove the padding on the calendar wrapper */
.ahb_m #fbuilder .slots {
	padding: 0;
}

/* Change font family from Raleway to Lato for better reading experience for the user */
#fbuilder {
	font-family: 'Lato', sans-serif;
	margin: 50px 0;
}

/* center the date above the hour slots (rightside) */
.slots span {
	display: flex;
	text-align: center;
	justify-content: center;
	align-items: center;
	line-height: 1;
	margin: 0;
	padding: 0;
	height: auto;
}

/* Hide the service drop-down:  */
.ahbfield_service {
	display: none;
}
/* Show the select chevron down */
#fbuilder select {
	appearance: auto;
	width: 50%;
	height: 43px;
	min-height: 43px;
}
/* Helyek szama select */
.fieldCalendarService {
	order: 11;
	margin: 20px 0 5px;
}
/* show capacity of service */
.ahb_slot_availability {
	display: block !important;
}

/* selected date below calendar (DAY) */
.ahb_list .d {
	font-weight: 700;
}
/* selected time below calendar (TIME/HOUR) */
.ahb_list .t {
	font-weight: 700;
	padding-left: 5px;
	padding-right: 5px;
}

/* Selected time (HOUR) */
#fbuilder .slots .currentSelection {
	border-color: #e9cd95;
}
#fbuilder .availableslot.currentSelection a {
	color: #e9cd95 !important;
}

/* Submit button */
#fbuilder button:not(.search_submit):not(.pswp__button):not(.mfp-close):not(.search_button) {
	background: none !important;
	background-color: #e9cd95 !important;
	padding: 10px 30px;
}

/***** MAKE THE CURRENT DATE MORE VISIBLE *****/
.ahb_m #fbuilder .ui-datepicker td {
	text-align: center;
}
.ahb_m #fbuilder .ui-datepicker-calendar .ui-state-active {
	color: #e9cd95;
	color: #e9cd95;
	border: 1px solid #e9cd95;
	border-radius: 50%;
	width: 30px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
}
/***** End MAKE THE CURRENT DATE MORE VISIBLE *****/

/***** MEDIA QUERIES *****/
@media screen and (min-width: 1198px) {
	#fbuilder .pbreak.pb0 {
		display: block;
		display: flex;
		flex-direction: column;
	}
	#fbuilder .pbreak.pb0 button {
		flex-basis: auto;
		align-self: flex-start;
	}
}
/* captcha */
.dfield input#hdcaptcha_cp_appbooking_post_1 {
	width: 50%;
}

#fbuilder .ahb_list_quantity1 {
	display: inline;
}

@media screen and (max-width: 767px) {
	.ahb_m #fbuilder .slots {
		text-align: center;
		margin: 2rem 0;
	}
	#fbuilder .top_aligned .fields .dfield {
		display: flex;
		flex-direction: column;
	}
	#fbuilder select {
		width: 100%;
	}
	/* captcha */
	.dfield input#hdcaptcha_cp_appbooking_post_1 {
		width: 100%;
	}
	#fbuilder .top_aligned .fields .dfield input[type='text'] {
		width: 100% !important;
	}
}
/***** End MEDIA QUERIES *****/