/* myPractice Template Showcase: preview. Inside the site's header/footer (mpcv--site) or stand-alone (mpcv--full). */
.mpcv {
	--mpc-accent: #000; --mpc-radius: 15px;
	--mpc-head: "PT Serif", Georgia, serif; --mpc-body: "Open Sans", system-ui, sans-serif;
	--mpc-ink: #000; --mpc-text: #4b4f58; --mpc-muted: #7a7f8a; --mpc-line: #e4e4e7;
	display: flex; flex-direction: column; font-family: var(--mpc-body); color: var(--mpc-text);
}
.mpcv *, .mpcv *::before, .mpcv *::after { box-sizing: border-box; }
.mpcv-body { margin: 0; background: #f4f4f5; }
.mpcv .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Height: the rest of the screen under the site header (the script sets --mpcv-top). */
.mpcv--full { height: 100vh; height: 100dvh; }
.mpcv--site { height: max(560px, calc(100vh - var(--mpcv-top, 0px))); height: max(560px, calc(100dvh - var(--mpcv-top, 0px))); }
.mpcv-site { display: block; margin: 0; padding: 0; max-width: none; width: 100%; }

.mpcv__bar { position: relative; z-index: 5; display: flex; align-items: center; gap: 16px; min-height: 66px; padding: 8px 24px; background: #fff; border-bottom: 1px solid var(--mpc-line); }
.mpcv .mpcv__back { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px 9px 8px; border-radius: 999px; color: var(--mpc-ink); font: 700 14px/1 var(--mpc-body); text-decoration: none; box-shadow: none; border: 0; }
.mpcv .mpcv__back:hover { background: #f4f4f5; color: var(--mpc-ink); }
.mpcv__title { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.mpcv .mpcv__title strong { overflow: hidden; color: var(--mpc-ink); font: 600 19px/1.2 var(--mpc-head); text-overflow: ellipsis; white-space: nowrap; }
.mpcv .mpcv__title span { margin-top: 3px; color: var(--mpc-muted); font: 700 11px/1 var(--mpc-body); letter-spacing: .08em; text-transform: uppercase; }
.mpcv .mpcv__pages select { appearance: none; -webkit-appearance: none; max-width: 230px; margin: 0; padding: 10px 36px 10px 16px; border: 1px solid #d4d4d8; border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--mpc-ink); font: 700 13px/1.2 var(--mpc-body); cursor: pointer; box-shadow: none; height: auto; }
.mpcv__devices { display: flex; gap: 4px; margin: 0 auto; padding: 4px; border-radius: 999px; background: #f4f4f5; }
.mpcv .mpcv__devices button { display: grid; place-items: center; width: 42px; height: 34px; margin: 0; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--mpc-muted); box-shadow: none; cursor: pointer; min-height: 0; }
.mpcv .mpcv__devices button:hover { background: transparent; color: var(--mpc-ink); }
.mpcv .mpcv__devices button.is-active { background: #fff; color: var(--mpc-ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
.mpcv__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.mpcv__devices + .mpcv__actions { margin-left: 0; }
.mpcv .mpcv__nav { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #d4d4d8; border-radius: 50%; color: var(--mpc-ink); font: 400 22px/1 var(--mpc-body); text-decoration: none; box-shadow: none; background: #fff; }
.mpcv .mpcv__nav:hover { border-color: var(--mpc-ink); color: var(--mpc-ink); }
.mpcv .mpcv__cta { display: inline-block; padding: 14px 24px; border: 2px solid var(--mpc-accent); border-radius: var(--mpc-radius); background: var(--mpc-accent); color: #fff; font: 800 13px/1 var(--mpc-body); text-decoration: none; text-transform: none; white-space: nowrap; box-shadow: none; transition: background .15s, color .15s; }
.mpcv .mpcv__cta:hover, .mpcv .mpcv__cta:focus { background: #fff; color: var(--mpc-accent); }

.mpcv__stage { position: relative; display: flex; flex: 1; justify-content: center; min-height: 0; overflow: hidden; background: #f4f4f5; }
.mpcv__frame { width: 100%; height: 100%; background: #fff; transition: width .3s ease, margin .3s ease, border-radius .3s ease; }
.mpcv__frame iframe { display: block; width: 100%; height: 100%; margin: 0; border: 0; background: #fff; }
.mpcv.is-tablet .mpcv__frame, .mpcv.is-mobile .mpcv__frame { height: calc(100% - 36px); margin: 18px 0; overflow: hidden; border-radius: 24px; box-shadow: 0 0 0 10px #000, 0 26px 60px rgba(0, 0, 0, .3); }
.mpcv.is-tablet .mpcv__frame { width: 768px; max-width: calc(100% - 52px); }
.mpcv.is-mobile .mpcv__frame { width: 390px; max-width: calc(100% - 52px); }

.mpcv__loader { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: #f4f4f5; transition: opacity .25s; pointer-events: none; }
.mpcv__loader span { width: 38px; height: 38px; border: 3px solid #d4d4d8; border-top-color: #000; border-radius: 50%; animation: mpcv-spin .8s linear infinite; }
.mpcv:not(.is-loading) .mpcv__loader { opacity: 0; }
@keyframes mpcv-spin { to { transform: rotate(360deg); } }
.mpcv__turnstile { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.mpcv__turnstile[hidden] { display: none; }
.mpcv__notice { max-width: 420px; margin: auto; padding: 24px; text-align: center; color: var(--mpc-muted); }

@media (max-width: 900px) {
	.mpcv__bar { flex-wrap: wrap; gap: 8px 12px; padding: 10px 14px; }
	.mpcv__back span { display: none; }
	.mpcv__devices, .mpcv .mpcv__nav { display: none; }
	.mpcv__actions { margin-left: auto; }
	.mpcv__pages { order: 5; width: 100%; }
	.mpcv .mpcv__pages select { width: 100%; max-width: none; }
	.mpcv.is-tablet .mpcv__frame, .mpcv.is-mobile .mpcv__frame { width: 100%; max-width: none; height: 100%; margin: 0; border-radius: 0; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .mpcv__frame, .mpcv__loader, .mpcv__loader span { transition: none; animation: none; } }

/* Brand in the toolbar */
.mpcv .mpcv__brand { display: inline-flex; align-items: center; padding-right: 18px; margin-right: 2px; border-right: 1px solid var(--mpc-line); color: var(--mpc-ink); text-decoration: none; box-shadow: none; border-bottom: 0; }
.mpcv .mpcv__brand img { display: block; width: auto; height: 30px; max-width: 190px; margin: 0; }
.mpcv .mpcv__brand strong { font: 600 19px/1 var(--mpc-head); }
@media (max-width: 900px) { .mpcv .mpcv__brand { border-right: 0; padding-right: 0; } .mpcv .mpcv__brand img { height: 26px; } }

/* Full screen: the toolbar is only there at the very top of the demo; scrolling slides it away. */
.mpcv--full .mpcv__bar { transition: margin-top .28s ease; }
.mpcv--full.is-scrolled .mpcv__bar { margin-top: -80px; pointer-events: none; }
.mpcv--full.is-scrolled .mpcv__bar { margin-top: calc(-1 * var(--mpcv-bar, 66px)); }
