/* Add here all your css styles (customizations) */
/* .preloader {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background-color: #fff;
}

.preloader .icon-wrapper {
	position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform: -webkit-translate(-50%, -50%);
    transform: -moz-translate(-50%, -50%);
    transform: -ms-translate(-50%, -50%);
} */

html {
    -webkit-tap-highlight-color: #FCD29A;
}

body {
	font-family: 'Roboto', sans-serif;
}

h4 {
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 2px;
	font-family: 'Nunito', sans-serif;
	text-transform: uppercase;
	font-weight: 600;
}

h6 {
	font-size: 16px;
	font-weight: 400;
	font-family: 'Nunito', sans-serif;
}

p {
	font-size: 14px;
	color: #919191;
	font-family: 'Roboto', sans-serif;
}

.mimatch-embed {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 455px;
	border: 1px solid #DDDDDD;
	border-radius: 3px;
	box-shadow: 0 3px 4px 0 #DDDDDD;
	margin: 0px auto;
}

.mimatch-banner {
	background-image: url("../images/MiMatch-Store-Locator.jpg");
	background-size: cover;
	background-position: 50%;
	height: 202px;
	display: flex;
    align-items: center;
    justify-content: center;
}

button {
	cursor: pointer;
}

/* #region Landing Page */

.landing-page .book-online {
	padding: 33px 28px;
}

.landing-page button#book-online:disabled {
	background-color: rgba(145,145,145,0.24) !important;
}

.landing-page .book-online .error-message {
	margin-bottom: 5px;
	margin-top: -20px;
}

.landing-page h4 {
	padding-bottom: 20px;
	min-height: initial;
}

.landing-page p {
	color: #919191;
	padding-top: 5px;
	margin-bottom: 0;
}

.landing-page button, .mm-btn-1 {
	width: 100%;
	background-color: #193A89;
	border-radius: 3px;
	color: #fff;
	padding: 10px 0;
	border: none;
	font-size: 14px;
}

.landing-page button.light {
	width: 100%;
	background-color: #fff;
	border-radius: 3px;
	color: #193A89;
	padding: 10px 0;
	border: 1px solid #193A89;
	font-size: 14px;
	margin-top: 12px;
}

.landing-page button {
	max-width: 290px;
}

.landing-page button:active, .mm-btn-1:active, .mm-btn-2:active {
	background-color: #FCD29A !important;
	outline: none;
}

.mm-btn-1:disabled {
	background-color: rgba(145,145,145,0.24);
	color: #fff;
}
/* #endregion Landing Page */

/* #region Location Page */

.select-location {
	padding-top: 28px;
	overflow-y: scroll;
	height: 455px;
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
}

.select-location::-webkit-scrollbar, .booking-success-page .success-message::-webkit-scrollbar {
	display: none;
}

.select-location .location-list {
	padding: 0 20px; 
	margin-bottom: 20px;
}

/* .select-location .location-list::-webkit-scrollbar {
	display: none;
} */

/* .booking-details-page .select-hand .select-form {
	margin-bottom: 70px;
} */
.form-layout-grid{
	display: grid;
    grid-template-columns: 75%;
    grid-column-gap: 10px;
}
.select-location .location-item, .select-hand .hand-item {
	border: 2px solid #193A89;
	border-radius: 3px;
	padding: 8px 15px 10px 15px;
	color: #193A89;
	margin-bottom: 5px;
	display: flex;
	-ms-flex-pack: justify;
    justify-content: space-between;
	-ms-flex-align: center;
	align-items: center;
	cursor: pointer;
	max-width: 290px;
	margin: 5px auto;
}
.club-type select{
	border: 2px solid #193A89;
	border-radius: 3px;
	/* padding: 8px 15px 10px 15px; */
	color: #193A89;
	margin-bottom: 5px;
}

.select-hand .hand-item:active {
	border: 2px solid transparent;
	background-color: #FCD29A;
	color: #ffffff !important;
}

.select-hand .hand-item:active span {
	color: #ffffff !important;
}

.select-location h4 {
	margin-bottom: 20px;
	font-weight: 700;
}

.select-location .location-item p {
	display: inline-block;
	margin-bottom: 0;
	color: #193A89;
}

.select-location .location-item .location {
	text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select-location .location-item .action-wrapper {
	width: 60px;
    text-align: right;
}

.select-location .location-item .action-wrapper p {
	padding-left: 3px;
}
/* #endregion Location Page */

/* #region Select Time Page */
.select-time-page .select-time-header {
	padding: 25px 30px;
}

.select-time-page .select-time-header h4 {
	margin-bottom: 0;
	font-weight: 700;
}
.select-time-page .select-time-header label{
	font-size: 12px;
	margin-bottom: 0;
}
.select-time-page .select-time-header select {
	border: 1px solid #193A89;
	color: #193A89;
	margin-bottom: 1px;
	line-height: 24px;
	/* width: 115px; */
	appearance: none !important;
	-moz-appearance: none !important;
	-webkit-appearance: none !important;
	z-index: 2;
	background-color: transparent;
	padding-right: 20px;
}

.select-time-page .select-time-header select:focus {
	outline: none;
}

.select-time-page #booking-coach-area{
	display: flex;
    align-items: center;
    justify-content: flex-start;
}
.select-time-page #booking-coach-area i{
	color:#777;
	margin-top: 20px;
    margin-left: 10px;
}

.select-time-page .select-time-header .select-wrapper {
	position: relative;
}

.select-time-page .select-time-header .select-wrapper:after {
	content: url('../img/caret.svg');
	position: absolute;
	right: 4px;
    pointer-events: none;
    bottom: 9px;
}

.select-time-page .book-time {
	background-color: rgba(25, 58, 137, 0.06);
	display: flex;
	padding: 2px 0;
}

.select-time-page .book-time .arrow {
	padding: 10px;
	cursor: pointer;
	font-size: 14px;
}

.select-time-page .book-time .arrow i {
	font-size: 12px;
}

.select-time-page .book-time .arrow:active i {
	opacity: 0.3;
}

.select-time-page .book-time .dates {
	display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-around;
}

.select-time-page .book-time .dates .date {
	font-size: 14px;
	color: #3E3E3E;
	width: 65px;
	line-height: 1.2;
}

.select-time-page .book-time .dates .date.bolded {
	font-weight: 700;
	color: #000000;
}

.select-time-page .book-time .dates .date .booked-out {
	font-size: 12px;
    color: #C41B1B;
    font-weight: 400;
}
/* .select-time-page .book-time .dates .date:last-of-type {
	padding-right: 5px;
} */
.select-time-page .booking-slots {
	padding: 0 30px 75px 30px;
	display: flex;
}

.select-time-page .booking-slots {
	overflow-y: scroll;
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
	height: 328px;
	display: flex;
	justify-content: space-around;
}

.select-time-page .booking-slots::-webkit-scrollbar {
	display: none;
}

.select-time-page .booking-slots .slot:first-of-type {
	margin-top: 4px;
}

.select-time-page .booking-slots .slot {
	padding: 8px 12px;
	margin-bottom: 4px;
	border: 1px solid #193A89;
	border-radius: 3px;
	cursor: pointer;
	line-height: 1.3;
}

.select-time-page .booking-slots .slot:last-of-type {
	margin-bottom: 80px;
}

.select-time-page .booking-slots .slot.unavailable {
	border: 1px solid transparent;
}

.select-time-page .booking-slots .slot span {
	font-size: 14px;
	font-weight: 400;
	color: #193A89;
}

.select-time-page .booking-slots .slot:not(.unavailable):hover span {
	color: #ffffff;
}

.select-time-page .booking-slots .slot:not(.unavailable):hover {
	background-color: #193A89;
}

.select-time-page .booking-slots .slot.unavailable span {
	color: #919191;
	text-decoration: line-through;
}

.select-time-page .booking-slots .slot.selected {
	background-color: #FCD29A !important;
	border: 1px solid transparent;
}

.select-location.active .location-item:active {
	background-color: #FCD29A;
	border: 2px solid transparent;
	color: #ffffff;
}

.select-location.active .location-item:active p {
	color: #ffffff !important;
}

.select-time-page .booking-slots .slot.selected span {
	color: #ffffff;
}

.select-time-page .confirmation-panel .confirm-background {
	background-color: rgba(25, 58, 137, 0.06);
	padding: 12px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* TODO: Add animation to animate up */
.select-time-page .confirmation-panel.animation {
	-webkit-transition: max-height 0.5s; 
	-moz-transition: max-height 0.5s; 
	-ms-transition: max-height 0.5s; 
	-o-transition: max-height 0.5s; 
	transition: max-height 0.5s;  
}
.select-time-page .confirmation-panel {
	max-height: 0px;
	overflow: hidden;
	position: absolute;
	bottom: 0px;
	display: block;
	background-color: #ffffff;
	width: 100%;
}

.select-time-page .confirmation-panel.active {
	max-height: 65px;	
}

#confirm-booking {
	background-color: #193A89;
	border-radius: 3px;
	color: #fff;
	padding: 10px 15px;
	border: none;
	font-size: 14px;
}

#confirm-booking:disabled {
	background-color: rgba(145,145,145,0.24);
	color: #fff;
}

.select-time-page .date-confirm span {
	display: inline-block;
	vertical-align: middle;
	padding-left: 8px;
}

.select-time-page .loading-screen {
	display: flex;
	height: 374px;
	position: absolute;
	bottom: 0;
	width: 100%;
    background-color: white;
	justify-content: center;
	align-items: center;
}

.select-time-page .loading-screen img {
	width: 128px;
	height: 128px;
}

.select-time-page .loading-screen.error img {
	display: none;
}

.select-time-page .loading-screen.error .error-message {
	padding: 0 65px;
}

.select-time-page .loading-screen.active {
	opacity: 1;
}

.select-time-page .loading-screen:not(.active), .select-time-page .loading-screen:not(.active) img {
	opacity: 0;
	height: 0;
}

/* #endregion Select Time Page */

/* #region Booking Details */
.booking-details-page {
	padding: 28px;
	text-align: left;
	height: 455px;
}

.booking-details-page .detail-element {
	margin-bottom: 15px;
}

.booking-details-page .booking-time {
	display: flex;
	align-items: center;
	position: relative;
}

.booking-details-page .booking-time img {
	padding-right: 5px;
}

.booking-details-page .inline-edit {
	color: #193A89 !important;
	font-size: 14px;
	padding-left:10px;
	cursor: pointer;
}

.booking-details-page .inline-edit:active {
	opacity: 0.4;
}

.booking-details-page .hand-item {
	justify-content: center;
}

.booking-details-page .hand-item span {
	margin-bottom: 0;
	color: #193A89;
}

.booking-details-page .submit-booking button {

}

.booking-details-page .submit-booking .error-message {
	font-size: 13px;
	margin-top: 5px;
}

.booking-details-page .contact-info {
	margin-bottom: 24px;
}

.booking-details-page .form-row {
	position: relative;
	margin-bottom: 0px;
	display:flex;
}

.booking-details-page .u-input-group-v1 {
	width: 100%;
}

.booking-details-page .inline-form-element {
	display: flex;
	width: 100%;
}

.booking-details-page .inline-form-element .u-input-group-v1 {
	width: 50%;
	position: relative;
}

.booking-details-page .inline-form-element .u-input-group-v1:first-of-type {
	padding-right: 10px;
}

.booking-details-page .u-input-group-v1 label {
	top: 70%;
	left: 5px;
	position: absolute;
	-webkit-transition-property: top,font-size;
    -o-transition-property: top,font-size;
    transition-property: top,font-size;
    -webkit-transition-duration: .2s;
    -o-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-timing-function: ease;
    -o-transition-timing-function: ease;
    transition-timing-function: ease;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
	margin-bottom: 0;
	cursor: text;
	color: #919191;
}
.booking-details-page .u-input-group-v1 .form-control {
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 3px solid #D8D8D8;
	padding: 25px 5px 5px !important;
	line-height: 1rem;
	cursor: text;
	height: auto;
}

.booking-details-page .u-input-group-v1 .form-control:focus {
	border-bottom: 3px solid #193A89 !important;
	box-shadow: none;
}

.iti {
	width: 100%;
}

.booking-details-page .u-input-group-v1 .form-control:focus+label, .booking-details-page .u-input-group-v1 .iti:focus-within+label {
	top: 15px;
	font-size: 12px;
	color: #193A89 !important;
}

.iti .flag-container .selected-flag {
	display: none;
}

.booking-details-page .u-input-group-v1 .form-control.not-empty {
	border-bottom: 3px solid transparent
}

.booking-details-page .u-input-group-v1 .form-control.not-empty+label, .booking-details-page .u-input-group-v1 .not-empty+label {
	top: 15px;
	font-size: 12px;
	color: #919191;
}

.pulsating-circle {
    width: 10px;
	height: 10px;
	margin-right: 5px;
	position: relative;
	display: inline-block;
	vertical-align: middle;
}

.booking-details-page .pulsating-circle {
	margin-right: 15px;
}

.pulsating-circle:before {
	content: '';
	/* position: relative; */
	top: -4px;
    left: 0px;
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    /* margin-left: -100%;
    margin-top: -100%; */
    border-radius: 45px;
    background-color: #FF9E19;
    -webkit-animation: pulse-ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    animation: pulse-ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.pulsating-circle:after {
	content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    display: block;
    width: 10px;
    height: 10px;
    background-color: #FF9E19;
    border-radius: 15px;
    -webkit-animation: pulse-dot 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -0.4s infinite;
    animation: pulse-dot 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -0.4s infinite;
}

@keyframes pulse-ring {
	0% {
	  transform: scale(.33);
	}
	80%, 100% {
	  opacity: 0;
	}
  }
  
  @keyframes pulse-dot {
	0% {
	  transform: scale(.8);
	}
	50% {
	  transform: scale(1);
	}
	100% {
	  transform: scale(.8);
	}
  }

.booking-details-page .booking-location span {
	display: inline-block;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 80%;
	white-space: nowrap;
	vertical-align: middle;
}

.booking-details-page .inline-edit {
	display: inline-block;
	vertical-align: middle;
}

.booking-details-page h4 {
	font-weight: 700;
	margin-bottom: 16px;
}
/* #endregion Booking Details */

/* #region Booking Success Page */
.booking-success-page, .landing-page {
	height: 455px;
	display: flex;
	align-items: stretch;
	flex-direction: column;
}

.booking-success-page .mimatch-banner, .landing-page .mimatch-banner {
	flex-grow: 1;
}

.booking-success-page .success-message {
	padding: 34px 28px;
	/* overflow-y: scroll;
	-ms-overflow-style: none;
    scrollbar-width: none; */
}

.booking-success-page .success-message p {
	color: #919191;
}

.booking-success-page .booking-details {
	background-color: rgba(25,58,137,0.06);
	padding: 20px 20px 25px 20px;
	margin-top: 30px;
}

.booking-success-page .booking-details p {
	margin-bottom: 0;
}

.booking-success-page .booking-details i {
	color: #193A89;
	font-size: 14px;
}

/* .booking-success-page .details-wrapper .booking-email {
	text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 214px;
} */

.booking-success-page .details-wrapper .icon-container, .booking-success-page .details-wrapper .booking-content {
	display: inline-block;
	vertical-align: top;
}

.booking-success-page .details-wrapper .icon-container {
	width: 10%;
}

.booking-success-page .details-wrapper .booking-content {
	width: 90%;
}

.booking-success-page .details-wrapper .booking-content {
	display: inline-block;
    overflow: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
	font-size: 16px;
	color: #919191;
}

/* #endregion Booking Success Page */

/* Animations */
.page:not(.landing-page) {
	left: 100%;
}

.page.landing-page {
	left: 0;
}

.page {
	position: absolute;
	width: 100%;
	background-color: white;
}

.page.active:not(.landing-page) {
	-webkit-animation: slide 1s forwards;
    -webkit-animation-delay: 2s;
    animation: slide 1s forwards;
}

.page.landing-page:not(.active) {
	-webkit-animation: slide-back 1s forwards;
    -webkit-animation-delay: 2s;
    animation: slide-back 1s forwards;
}

.page:not(.active) {
	left: 100%;
	/* -webkit-animation: slide-forward 1s forwards;
    -webkit-animation-delay: 2s;
    animation: slide-forward 1s forwards; */
}

.page.slide-back {
	-webkit-animation: slide-back 1s forwards;
    -webkit-animation-delay: 2s;
    animation: slide-back 1s forwards;
}

.page.slide {
	-webkit-animation: slide 1s forwards;
    -webkit-animation-delay: 2s;
    animation: slide 1s forwards;
}

.page.slide-forward {
	-webkit-animation: slide-forward 1s forwards;
    -webkit-animation-delay: 2s;
    animation: slide-forward 1s forwards;
}

.page.edit-slide-forward {
	-webkit-animation: edit-slide-forward 1s forwards;
    -webkit-animation-delay: 2s;
    animation: edit-slide-forward 1s forwards;
}

/* .page.edit-page {
	-webkit-animation: slide-forward 1s forwards !important;
    -webkit-animation-delay: 2s !important;
    animation: slide-forward 1s forwards !important;
} */

@-webkit-keyframes slide {
    100% { left: 0; }
}

@keyframes slide {
    100% { left: 0; }
}

@-webkit-keyframes slide-back {
	0% { left: 0; }
    100% { left: -100%; }
}

@keyframes slide-back {
	0% { left: 0; }
	100% { left: -100%; }
}

@-webkit-keyframes slide-forward {
	0% { left: 0; }
    100% { left: 100%; }
}

@keyframes slide-forward {
	0% { left: 0; }
	100% { left: 100%; }
}

@-webkit-keyframes edit-slide-forward {
	0% { left: -100%; }
    100% { left: 0; }
}

@keyframes edit-slide-forward {
	0% { left: -100%; }
	100% { left: 0; }
}

@media (max-width: 414.98px) {
	.booking-details-page-container {
		max-width: 290px;
		margin: 0 auto;
	}

	.booking-details-page .contact-info {
		margin-bottom: 18px;
	}

	.select-time-page .select-time-header {
		padding: 8px 30px;
	}
}

@media (min-width: 591px) {
	.page {
		max-width: 590px;
		right: 0;
		margin: 0 auto;
	}

	.select-location .location-item .location {
		width: 350px;
	}
}

@media (min-width: 415px) {
	.mimatch-banner {
		max-height: 223px;
	}

	.mimatch-banner img {
		width: 173px;
	}

	.mimatch-embed {
		height: 517px;
	}

	.page {
		height: 517px !important;
	}

	/* #region Large Landing Page */
	.landing-page .book-online {
		padding: 33px 80px;
		display: flex;
		flex-grow: 1;
		align-items: center;
	}

	.landing-page h4 {
		padding-bottom: 40px;
	}
	/* #endregion Large Landing Page */

	/* #region Large Location Page */
	.select-location .location-item, .select-hand .hand-item {
		max-width: initial;
	}

	.select-location.page {
		padding-top: 50px;
	}

	.select-location .location-list {
		padding: 0 70px;
	}

	.select-location h4 {
		margin-bottom: 25px;
	}

	.select-location .location-item .action-wrapper p {
		padding-left: 6px;
	}
	/* #endregion Large Location Page */

	/* #region Large Select Time Page */
	.select-time-page .select-time-header {
		padding: 8px 35px;
	}

	.select-time-page .booking-slots {
		height: 394px;
	}

	.select-time-page .confirmation-panel .confirm-background {
		justify-content: center;
		padding-right: 15px;
	}

	.select-time-page .confirmation-panel .confirm-background .mm-btn-2 {
		width: 165px;
	}

	.select-time-page .date-confirm span {
		padding-right: 20px;
	}
	/* #endregion Large Select Time Page */

	/* #region Large Booking Details Page */
	.booking-details-page-container {
		max-width: 290px;
		margin: 0 auto;
	}

	.booking-details-page {
		padding: 50px 28px;
	}

	.booking-details-page .detail-element {
		margin-bottom: 15px;
	}

	.booking-details-page .select-hand {
		margin-bottom: 8px;
	}

	.booking-details-page .inline-edit {
		width: 18%;
    	text-align: right;
	}

	/* .booking-details-page .select-hand .select-form {
		margin-bottom: 90px;
	} */

	.booking-details-page .contact-info {
		margin-bottom: 30px;
	}
	/* #endregion Large Booking Details Page */

	/* #region Large Booking Success Page */
	.booking-success-page .mimatch-banner {
		max-height: 196px;
	}

	.booking-success-page .mimatch-banner img {
		width: 126px;
	}

	.booking-success-page .success-message {
		padding: 44px 0px;
		max-width: 290px;
		margin: 0 auto;
		z-index: 1;
		background-color: #fff;
	}
	/* #endregion Large Booking Success Page */

	/* #region Loading screen */
	.select-time-page .loading-screen.active{
		height: 438px;
	}
}

@media (max-width: 339.98px) {
	.select-time-page .select-time-header {
		padding: 8px 20px;
	}

	.booking-success-page .details-wrapper .booking-content {
		width: 90%;
	}
}

@media (max-width: 319.98px) {
	.select-time-page .select-time-header {
		padding: 8px 10px;
	}
	.select-time-page .date-confirm span {
		font-size: 14px;
	}
	.select-time-page .confirmation-panel .confirm-background {
		padding: 12px 10px;
	}

	.select-time-page .booking-slots .slot {
		padding: 8px 5px;
	}
	.select-location .location-item .location {
		width: 160px;
	}
}

/* #region Pilot styling - Remove after pilot complete */
.select-time-page .select-time-header .select-wrapper.pilot:after {
	display: none;
}

.select-time-page .select-time-header .select-wrapper.pilot #booking-venue {
	display: none;
}

.select-time-page .select-time-header .select-wrapper.pilot p {
	margin-bottom: 0;
	color: #193A89;
	font-size: 16px;
	width: 115px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
/* #endregion Pilot styling - Remove after pilot complete */