.flex {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.text-center.flex {
	justify-content: center;
}


.clutch-scripted .schedule-form-wrapper.popover {
	position: fixed;
	z-index: 9999999999;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	
	display: none;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	width: 100vw;
	height: 100vh;
	overflow: auto;
	margin: 0;
	padding: 0;
	background-color: rgba(0,0,0,0.8);
	box-shadow: 5px 5px 9px rgba(0,0,0,0.6);
}
.schedule-form-wrapper.popover .schedule-title {
	font-size: 24px;
	width: 100%;
	padding: 0 44px;
	text-align: center;
}
.popover .schedule-cancel {
	position: absolute;
	z-index: 2;
	top: 10px;
	right: 10px;
	left: auto;
	width: 24px;
	height: 24px;
	font-size: 24px;
	cursor: pointer;
}
.inline .schedule-cancel {
	display: none;
}

.cf7-scheduler-form-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
	max-width: 640px;
	margin: 0 auto;
}
.popover .schedule-form {
	position: relative;
	width: 100%;
	max-width: 360px;
	padding: 30px 15px;
	background-color: #ffffff;
}

.cf7-scheduler-form-wrapper input[type="submit"],
.cf7-scheduler-form-wrapper input[type="submit"]:hover {
	padding: .5em 2em !important;
	border: 2px solid #000000 !important;
}

.cf7-scheduler-form-wrapper .form-step.contact-info {
	width: 100%;
}

.cf7-scheduler-form-wrapper .form-step.time-picker {
	max-width: 320px;
}

.cf7-scheduler-form-wrapper .form-step {
	position: absolute;
	z-index: 1;
	opacity: 0.0;
	visibility: hidden;
	transition: all 0.5s;
}
.cf7-scheduler-form-wrapper .form-step.active {
	display: block;
	position: relative;
	z-index: 2;
	opacity: 1.0;
	visibility: visible;
}


.scheduler-calendar,
.scheduler-calendar * {
	box-sizing: border-box;
}
.scheduler-calendar .calendar-week {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: center;
}
.scheduler-calendar h1 {
	padding-bottom: 20px;
}

.schedule-form div.h2 {
	width: 100%;
	font-size: 18px;
	text-align: center;
	font-weight: 700;
}
.scheduler-times div.h2 {
	margin-bottom: 15px;
}

.scheduler-calendar .calendar-day {
	width: auto;
	padding: 4px;
}
.scheduler-calendar .calendar-day .day-box {
	
}
.scheduler-calendar .day-box .date {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	line-height: 12px;
	border-radius: 100% !important;
	background-color: #ffffff;
}
.scheduler-calendar .calendar-day.available .date {
	color: #ffffff;
	background-color: #024e7c;
	cursor: pointer;
	font-weight: 700;
}
.scheduler-calendar .legend-icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin: 15px 6px 15px 0;
	background-color: #024e7c;
	border-radius: 100%;
}

.scheduler-calendar .day-of-week {
	display: block;
	width: 36px;
	text-align: center;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 700;
}
.scheduler-calendar input[name="appointment_date"],
.scheduler-times input[name="appointment_time"] {
	position: absolute;
	z-index: -1;
	opacity: 0.0;
}

.scheduler-calendar .calendar-month {
	display: flex;
	justify-content: space-between;
	max-width: 280px;
	margin: 0 auto;
}

.scheduler-times {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
	max-width: 280px;
	margin: 0 auto;
}
@media (max-width: 767px) {
	.scheduler-times {
		max-width: 100%;
	}
	
	.form-step.date-picker {
		margin: 0 auto;
	}

}
.scheduler-times .timeslot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	margin: 0 5px 10px;
	padding: 5px 0;
	color: #ffffff;
	font-weight: 700;
	background-color: #c0c0c0;
	border-radius: 10px;
}

.scheduler-times .timeslot.available {
	background-color: #8caade !important;
	cursor: pointer;
}

.schedule-form .form-step.contact-info {
	padding: 0 5%;
}

.scheduler-calendar .calendar-day.selected .date,
.scheduler-times .timeslot.selected {
	color: #ffffff !important;
	background-color: #2ba829 !important;
	cursor: pointer !important;
}

form.wpcf7-form.sent .cf7-scheduler-form-wrapper {
	display: none !important;
	max-height: 0px;
	overflow: hidden;
}

.wpcf7-response-output {
	z-index: 2;
	text-align: center;
}

.button {
	display: inline-block;
	cursor: pointer;
}
.button.no-icon {
	padding: .15em 1em !important;
}
.button.no-icon:after {
	display: none;
}
.button.no-icon:hover {
	padding: .15em 1em !important;
}
button.scheduler-back,
button.change-step {
	margin-top: 20px;
}