/* STYLES THAT PRISMA HEALTH WILL MANAGE */
body .dev-options {
	z-index: 99999;
	position: fixed;
	bottom: 2em;
	left: 2em;
	max-width: 400px;
	-webkit-box-shadow: 10px 10px 40px -10px;
	box-shadow: 10px 10px 40px -10px;
	padding: 2em 2em 2em 2em;
	background: #ffcd58;
}
body .dev-options * {
	font-weight: 500;
}
body .dev-options h5 {
	margin: -2em -2em 1em -2em;
	font-size: 1em;
	height: 3em;
	padding: 0 2em;
	background: #292929;
	color: #fff;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}
body .dev-options a.btn {
	padding: 0.8em 1.3em;
	background: #292929;
	color: #fff;
	font-weight: normal;
	font-size: 1em;
	display: inline-block;
}
body .dev-options.active {
	-webkit-transition: 400ms ease transform;
	-o-transition: 400ms ease transform;
	transition: 400ms ease transform;
}
body .dev-options span.close {
	position: absolute;
	top: 0;
	right: 0;
	padding: 1.5em;
	color: #fff;
	height: 3em;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
	cursor: pointer;
}
body .dev-options.hide {
	-webkit-transform: translateY(100%);
	-ms-transform: translateY(100%);
	transform: translateY(100%);
	bottom: 0;
}
body .dev-options.hide.active {
	-webkit-transform: translateY(calc(100% + -3em));
	-ms-transform: translateY(calc(100% + -3em));
	transform: translateY(calc(100% + -3em));
}
body .dev-options.hide span.close {
	-webkit-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	transform: rotate(-90deg);
}
@media (max-width: 767px) {
	body .dev-options {
		max-width: 210px;
		font-size: 0.8em;
	}
}

/* Admin - Preview Mode */
html.previewMode .c-header {
	position: relative;
}

/* --- Wysiwyg sticky editor */
html.previewMode .fr-box.fr-basic:hover .fr-toolbar {
	z-index: 2 !important;
}

html.previewMode .c-routing-card__image.lazyload {
	background-image: url(https://prismahealth.org/getmedia/25976358-8d5a-44ea-8d95-7b92404bbc7c/a-placeholder.png);
	opacity: 1 !important;
}

/* Foundation Blackbaud form tracking */
.BBFormContainer input[type="email"],
.BBFormContainer select,
.BBFormContainer input[type="tel"],
.BBFormContainer input[type="text"],
.BBFormContainer textarea,
.BBFormContainer input[type="number"],
.BBFormContainer input[type="password"],
.BBFormContainer input[type="text"] {
	font-size: 16px !important;
	font-size: 1rem !important;
	background-color: #f9f9f9 !important;
	border: 2px solid transparent !important;
	width: 100% !important;
	padding: 11px 16px !important;
	border: 1px solid #434343 !important;
	border-radius: 0px !important;
}

.BBFormSubmitbutton {
	background-color: #830065 !important;
	border-color: transparent !important;
	color: #fff !important;

	font-size: 18px !important;
	font-size: 1.125rem !important;
	border-radius: 0 !important;
	font-weight: 700 !important;
	height: auto !important;
	text-decoration: none !important;

	cursor: pointer !important;
	-webkit-box-pack: center !important;
	-ms-flex-pack: center !important;
	justify-content: center !important;
	padding: 0.7rem 1.5rem !important;
	text-align: center !important;
	white-space: nowrap !important;
}

.BBFormSubmitbutton:focus {
	-webkit-box-shadow: 0 0 0 0.125em rgb(131 0 101 / 25%) !important;
	box-shadow: 0 0 0 0.125em rgb(131 0 101 / 25%) !important;
	background-color: #ed1849 !important;
}

.BBFormContainer input[type="checkbox"] {
	display: none !important;
}
.BBFormCheckbox {
	position: relative !important;
	padding: 0 0 0 2em !important;
}

.BBFormCheckbox:before {
	content: "" !important;
	display: inline-block !important;
	margin: 0 5px 0 0 !important;
	color: #b32572 !important;
	width: 12px !important;
	height: 12px !important;
	vertical-align: middle !important;
	position: absolute !important;
	top: 50% !important;
	left: 4px !important;
	-webkit-transform: translateY(-50%) !important;
	transform: translateY(-50%) !important;
}

.BBFormCheckbox:after {
	content: "" !important;
	display: block !important;
	width: 20px !important;
	height: 20px !important;
	border: 2px solid #b32572 !important;
	position: absolute !important;
	top: 50% !important;
	left: 0 !important;
	-webkit-transform: translateY(-50%) !important;
	transform: translateY(-50%) !important;
}

.BBFormContainer input:checked + label:before {
	background-color: #830065;
}
.BBFormContainer input:checked + label:after {
	border-color: #830065;
}

/* Salesforce Forms */
.salesforce-form {
	position: relative;
	min-height: 200px;
	width: 100%;
	max-width: 630px;
}

.salesforce-form:before {
	content: "";
	border: 7px solid #830065;
	border-top: 7px solid #ffffff;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	animation: spin 1s linear infinite;
	position: absolute;
	top: 60px;
	left: 50%;
	margin-top: -30px;
	z-index: 1;
}

.salesforce-form > div {
	opacity: 0;
}
@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/*
div#phw-location-modal-content {
	display: none;
}*/

/* Style tweaks for YEXT */
button.yxt-SearchBar-button > span.yxt-SearchBar-AnimatedIcon:nth-child(2) {
	display: none !important;
}
button .yxt-SearchBar-Icon--inactive {
	display: flex !important;
	animation: unset !important;
}

/* Modal - Popup Salesforce Forms */
.modal {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: none;
	opacity: 0;
	transition: opacity 1s;
	z-index: 100000000;
}
.modal.active {
	display: block;
	animation: fadeIn 600ms;
	animation-fill-mode: forwards;
}
.modal > .shade {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: black;
	opacity: 0.8;
	z-index: 105;
	cursor: pointer;
}
.modal > .modal-container {
	display: block;
	position: absolute;
	left: 50%;
	top: 50%;
	min-width: 40%;
	max-width: 95%;
	z-index: 106;
	transform: translate(-50%, -50%);
	overflow: hidden;
	width: 600px;
}
@media (max-width: 767px) {
	.modal > .modal-container > .modal-content {
		width: 95%;
		padding: 2em 1em;
	}
}
.modal > .modal-container > .content {
	padding: 3em 3em;
	background: #fff;
}
.modal > .modal-container > .close {
	cursor: pointer;
	background-color: #830065;
	position: absolute;
	top: 0;
	right: 0;
	content: "\f00d";
	text-decoration: none;
	padding: 10px 15px;
	line-height: 1;
	white-space: pre-wrap;
	color: #fff;
	transition: 200ms ease;
}
.modal > .modal-container > .close:hover {
	background-color: #6b0052;
}
.modal > .modal-container > .close:after {
	content: "\f00d";
	text-decoration: none;
	display: inline-block;
	white-space: pre-wrap;
	font-weight: 300;
	font-family: "Font Awesome 6 Pro";
	font-size: 2em;
}

@media (max-width: 767px) {
	.modal > .modal-container {
		width: auto;
		max-height: 100vh;
		transform: none;
		left: 0;
		right: 2%;
		left: 2%;
		top: 2%;
		bottom: 2%;
		overflow: auto;
	}

	.modal > .modal-container > .content {
		padding: 3em 1em;
		overflow: auto;
	}
	.modal > .modal-container > .content h2 {
		line-height: 1.2;
	}

	.modal > .modal-container > .content .frm_style_prisma-health.with_frm_style .form-field {
		margin-bottom: 1em;
	}
}

@media (min-width: 600px) and (max-width: 992px) {
	.modal > .modal-container {
		max-width: 80%;
		min-width: 80%;
		margin: auto;
	}

	.modal > .modal-container > .content {
		padding: 1.5em 1em;
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@-moz-keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@-webkit-keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@-o-keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@-ms-keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
