.modal-open {
	overflow: hidden;
}

.modal-open .modal {
	overflow-x: hidden;
	overflow-y: auto;
}

.modal {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1060;
	display: none;
	width: 100%;
	height: 100%;
	overflow: hidden;
	outline: 0;
}

.modal-dialog {
	position: relative;
	width: auto;
	margin: 0.5rem;
	pointer-events: none;
}

.modal.fade .modal-dialog {
	-webkit-transition: -webkit-transform 0.3s ease-out;
	transition: -webkit-transform 0.3s ease-out;
	transition: transform 0.3s ease-out;
	transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
	-webkit-transform: translate(0, -50px);
	transform: translate(0, -50px);
}

@media (prefers-reduced-motion: reduce) {
	.modal.fade .modal-dialog {
		-webkit-transition: none;
		transition: none;
	}
}

.modal.show .modal-dialog {
	-webkit-transform: none;
	transform: none;
}

.modal.modal-static .modal-dialog {
	-webkit-transform: scale(1.02);
	transform: scale(1.02);
}

.modal-dialog-scrollable {
	height: calc(100% - 1rem);
}

.modal-dialog-scrollable .modal-content {
	max-height: 100%;
	overflow: hidden;
}

.modal-dialog-scrollable .modal-body {
	overflow-y: auto;
}

.modal-dialog-centered {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	min-height: calc(100% - 1rem);
}

.modal-content {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	width: 100%;
	pointer-events: auto;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 0.3rem;
	outline: 0;
}

.modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1050;
	width: 100vw;
	height: 100vh;
	background-color: #000;
}

.modal-backdrop.fade {
	opacity: 0;
}

.modal-backdrop.show {
	opacity: 0.5;
}

.modal-header {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	padding: 1rem 1rem;
	border-bottom: 1px solid #dee2e6;
	border-top-left-radius: calc(0.3rem - 1px);
	border-top-right-radius: calc(0.3rem - 1px);
}

.modal-header .btn-close {
	padding: 0.5rem 0.5rem;
	margin: -0.5rem -0.5rem -0.5rem auto;
}

.modal-title {
	margin-bottom: 0;
	line-height: 1.5;
}

.modal-body {
	position: relative;
	-webkit-box-flex: 1;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	padding: 1rem;
}

.modal-footer {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	padding: 0.75rem;
	border-top: 1px solid #dee2e6;
	border-bottom-right-radius: calc(0.3rem - 1px);
	border-bottom-left-radius: calc(0.3rem - 1px);
}

.modal-footer > * {
	margin: 0.25rem;
}

.modal-open.type-email #emailVerificationModal {
	display: block;
}

.modal-open.type-response #formResponseModal {
	display: block;
	z-index: 1062;
}

.response-modal {
	background-color: rgba(0, 0, 0, 0.5);
}

.response-modal .modal-body {
	text-align: center;
	padding: 24px;
}

.response-modal .modal-title {
	font-size: 22px;
	margin-bottom: 16px;
}

.response-modal .desc {
	font-size: 14px;
	margin-bottom: 16px;
}

.response-modal .fa {
	display: flex;
	flex-flow: wrap;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	font-size: 18px;
	color: #ffa100;
	margin: 0 auto 16px;
	border-radius: 100%;
	background-color: #fbe8c5;
}

.response-modal .fa:before {
	content: "\f129";
}

.response-modal .type-success .fa {
	font-size: 24px;
	color: #2cb12c;
	background-color: #f0faf0;
}

.response-modal .type-success .fa:before {
	content: "\f00c";
}

.response-modal .type-error .fa {
	font-size: 32px;
	color: #c8170e;
	background-color: #f8e7e4;
}

.response-modal .type-error .fa:before {
	content: "\f00d";
}

.response-modal .btn-primary {
	cursor: pointer;
	min-width: 175px;
	font-size: 14px;
	font-weight: 500;
	line-height: normal;
	color: #ffffff;
	padding: 14px 16px;
	border-radius: 4px;
	border: none;
	background-color: #665952;
}

.response-modal .btn-primary.disabled,
.response-modal .btn-primary:disabled {
	opacity: 0.5;
	pointer-events: none;
}

.verification-modal {
	background-color: rgba(0, 0, 0, 0.5);
}

.verification-modal .modal-body {
	padding: 32px 60px;
	text-align: center;
}

.verification-modal .modal-title {
	font-size: 32px;
	font-weight: 500;
	line-height: normal;
	color: #000;
	margin-bottom: 16px;
}

.verification-modal .desc {
	font-size: 16px;
	font-weight: normal;
	line-height: normal;
	color: #000;
	margin-bottom: 24px;
}

.verification-form .form-item.has-danger {
	color: #FF0000;
}

.verification-form .has-danger .form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
	color: red;
	opacity: 1; /* Firefox */
}

.verification-form .has-danger .form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: red;
}

.verification-form .has-danger .form-control::-ms-input-placeholder { /* Microsoft Edge */
	color: red;
}

.verification-form .form-item .pristine-error {
	display: none;
}

.verification-form .otp-wrapper {
	display: flex;
	flex-flow: row;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.verification-form .otp-wrapper .otp-title {
	font-size: 16px;
	font-weight: 500;
	line-height: normal;
	color: #000;
	margin-bottom: 0;
}

.verification-form .otp-wrapper .countdown {
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
	padding: 4px 6px;
	border-radius: 4px;
	background-color: #665952;
}

.verification-form .form-control {
	width: 100%;
	font-size: 24px;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 20px;
	text-align: center;
	color: #665952;
	padding: 0;
	border-radius: 0;
	border: none;
	box-shadow: none;
}

.verification-form .form-footer {
	display: flex;
	flex-flow: column;
	align-items: center;
	padding-top: 24px;
}

.verification-form .form-footer .btn-link {
	font-size: 15px;
	font-weight: 500;
	line-height: normal;
	color: #665952;
	padding: 0;
	border: none;
	background-color: transparent;
	margin-bottom: 24px;
}

.verification-form .form-footer .btn-link.disabled,
.verification-form .form-footer .btn-link:disabled {
	opacity: 0.5;
	pointer-events: none;
}

.verification-form .form-footer .btn-primary {
	cursor: pointer;
	min-width: 175px;
	font-size: 14px;
	font-weight: 500;
	line-height: normal;
	color: #ffffff;
	padding: 14px 16px;
	border-radius: 4px;
	border: none;
	background-color: #665952;
}

.verification-form .form-footer .btn-primary.disabled,
.verification-form .form-footer .btn-primary:disabled {
	opacity: 0.5;
	pointer-events: none;
}

.modal .formError {
	left: 50% !important;
	transform: translateX(-50%);
}

.modal .formError .formErrorArrow {
	left: 50%;
	margin: 0;
	transform: translateX(-50%);
}

@media (min-width: 576px) {
	.modal-dialog {
		max-width: 500px;
		margin: 1.75rem auto;
	}
	.modal-dialog-scrollable {
		height: calc(100% - 3.5rem);
	}
	.modal-dialog-centered {
		min-height: calc(100% - 3.5rem);
	}
}

.response-modal .fa:before { content: "!"; font-family: inherit; font-style: normal; font-weight: 700; }
.response-modal .type-success .fa:before { content: "\2713"; }
.response-modal .type-error .fa:before { content: "\2715"; }

.verification-modal .modal-dialog .modal-content,
.response-modal .modal-dialog .modal-content {
	padding: 0;
	background-color: #fff;
	border-radius: 0.3rem;
	border: 1px solid rgba(0, 0, 0, 0.2);
}
.verification-modal .modal-dialog,
.response-modal .modal-dialog {
	margin: 1.75rem auto;
}

.verification-form .form-footer .btn-primary,
.response-modal .modal-body .btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: auto;
	margin-left: 0;
}

.phone-number .phone-label {
	top: auto;
	bottom: 0;
	height: 50px;
}
