/* RP Opt-ins — front-end styles. Colors can be changed per form with the --rpo-* variables.
   Themes style buttons, inputs and headings with strong selectors (IDs), so the form's own
   look is marked !important where a theme would otherwise win. */
.rpo{
	--rpo-bg:#fafbfc;
	--rpo-accent:#0C4DA2;
	--rpo-text:#1d2733;
	--rpo-btn:#E8731A;
	--rpo-btn-text:#fff;
	box-sizing:border-box;
	display:flex;
	gap:20px;
	align-items:center;
	background:var(--rpo-bg);
	color:var(--rpo-text);
	border:1px solid #e4e8eb;
	border-left:4px solid var(--rpo-accent);
	border-radius:8px;
	padding:22px 24px;
	margin:28px 0;
	font-size:16px;
	line-height:1.5;
	text-align:left;
}
.rpo *,.rpo *::before,.rpo *::after{box-sizing:border-box}
.rpo-body{flex:1 1 0;min-width:0}
.rpo .rpo-image{flex:0 0 auto;width:220px;max-width:34%;height:auto;margin:0;border-radius:6px}
/* A wide picture sits above the text instead of beside it. */
.rpo.rpo-img-top{flex-direction:column;align-items:stretch}
.rpo.rpo-img-top .rpo-image{width:100%;max-width:560px;align-self:center}
.rpo-title{font-size:22px;font-weight:700;line-height:1.25;color:var(--rpo-accent);margin:0 0 6px}
.rpo .rpo-title h1,.rpo .rpo-title h2,.rpo .rpo-title h3,.rpo .rpo-title h4,.rpo .rpo-title p{font:inherit!important;color:inherit!important;letter-spacing:normal!important;text-transform:none!important;margin:0!important;padding:0!important}
.rpo-message{margin:0 0 14px}
.rpo-message p{margin:0 0 8px;padding:0}
.rpo-message p:last-child{margin-bottom:0}

.rpo-form{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0}
.rpo-field{flex:1 1 180px;min-width:0;margin:0}
.rpo .rpo-field input{
	display:block;width:100%!important;max-width:none;height:46px!important;margin:0!important;padding:0 14px!important;
	font:inherit;font-size:16px!important;line-height:normal;color:#1d2733!important;background:#fff!important;
	border:1px solid #c9d1d9!important;border-radius:6px!important;box-shadow:none;
	transition:border-color .15s ease,box-shadow .15s ease;
}
.rpo .rpo-field input:focus{outline:none;border-color:var(--rpo-accent)!important;box-shadow:0 0 0 3px rgba(12,77,162,.18)}
.rpo .rpo-field input.rpo-bad{border-color:#c62828!important}

/* The button: lifts 2px and glows on hover, like the other Raytown buttons. */
.rpo .rpo-btn{
	flex:0 0 auto;width:auto;height:46px!important;margin:0!important;padding:0 24px!important;
	font:inherit;font-size:16px!important;font-weight:700!important;letter-spacing:.01em!important;line-height:1!important;
	color:var(--rpo-btn-text)!important;background:var(--rpo-btn)!important;
	border:0!important;border-radius:6px!important;cursor:pointer;text-transform:none!important;
	box-shadow:0 4px 10px rgba(232,115,26,.25)!important;
	box-shadow:0 4px 10px color-mix(in srgb,var(--rpo-btn) 28%,transparent)!important;
	transition:transform .2s ease,box-shadow .2s ease,filter .2s ease!important;
}
.rpo .rpo-btn:hover,.rpo .rpo-btn:focus-visible{
	transform:translateY(-2px)!important;
	filter:brightness(.93);
	box-shadow:0 8px 18px rgba(232,115,26,.38)!important;
	box-shadow:0 8px 18px color-mix(in srgb,var(--rpo-btn) 40%,transparent)!important;
}
.rpo .rpo-btn:focus-visible{outline:2px solid var(--rpo-accent);outline-offset:2px}
.rpo .rpo-btn:active{transform:translateY(0)!important}
.rpo .rpo-btn[disabled]{opacity:.65;cursor:default;transform:none!important}

.rpo-ts{flex:1 1 100%}
.rpo-ts:empty{display:none}
.rpo-status{font-size:15px;margin-top:10px}
.rpo-status:empty{display:none}
.rpo-status.rpo-err{color:#c62828}
.rpo-done .rpo-status{font-size:17px;font-weight:600;color:var(--rpo-accent);margin-top:0}
.rpo-done .rpo-form,.rpo-done .rpo-footer{display:none}
.rpo-footer{font-size:13px;opacity:.75;margin-top:10px}
.rpo-footer p{margin:0;padding:0}

/* Hidden from people, read by screen readers. */
.rpo-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* The spam trap, off screen. */
.rpo-hp{position:absolute!important;left:-9999px!important;top:auto;width:1px;height:1px;overflow:hidden}

.rpo-widget{flex-direction:column;align-items:stretch;padding:18px;margin:0}
.rpo-widget .rpo-image{width:100%;max-width:100%}
.rpo-widget .rpo-field,.rpo-widget .rpo-btn{flex:1 1 100%}
.rpo-widget .rpo-title{font-size:19px}

.rpo-lock-content[hidden]{display:none}

/* ---- Popups and fly-ins ---- */
.rpo-overlay[hidden]{display:none}
.rpo-overlay{position:fixed;z-index:999990;opacity:0;transition:opacity .25s ease}
.rpo-overlay.rpo-open{opacity:1}
.rpo-overlay-popup{inset:0;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(10,20,35,.62);overflow-y:auto}
.rpo-overlay-flyin{right:20px;bottom:20px;width:400px;max-width:calc(100vw - 24px)}
.rpo-dialog{position:relative;width:100%;max-width:620px;max-height:100%;outline:none;transform:translateY(14px);transition:transform .25s ease}
.rpo-overlay.rpo-open .rpo-dialog{transform:none}
.rpo-overlay .rpo{margin:0;padding:28px 28px 24px;box-shadow:0 18px 50px rgba(0,0,0,.3);border-left-width:1px;border-top:4px solid var(--rpo-accent)}
.rpo-overlay-flyin .rpo{flex-direction:column;align-items:stretch;padding:22px 20px 18px;box-shadow:0 10px 34px rgba(0,0,0,.24)}
.rpo-overlay-flyin .rpo-image{display:none}
.rpo-overlay-flyin .rpo-field,.rpo-overlay-flyin .rpo-btn{flex:1 1 100%}
.rpo-overlay-flyin .rpo-title{font-size:19px;padding-right:22px}
.rpo-overlay-popup .rpo-title{font-size:26px;padding-right:22px}
.rpo-overlay .rpo-close{
	position:absolute;top:6px;right:6px;z-index:2;width:36px!important;height:36px!important;margin:0!important;padding:0!important;
	font:400 26px/1 Arial,sans-serif!important;text-transform:none!important;color:#5b6673!important;background:transparent!important;
	border:0!important;border-radius:50%!important;box-shadow:none!important;cursor:pointer;
	transition:background-color .15s ease,color .15s ease;
}
.rpo-overlay .rpo-close:hover,.rpo-overlay .rpo-close:focus-visible{background:#e9edf1!important;color:#1d2733!important}
html.rpo-noscroll{overflow:hidden}

@media (max-width:600px){.rpo{flex-direction:column;align-items:stretch;padding:18px}
	.rpo .rpo-image{width:100%;max-width:100%}
	.rpo-field,.rpo .rpo-btn{flex:1 1 100%;width:100%}
	.rpo-title{font-size:20px}
	.rpo-overlay-popup .rpo-title{font-size:21px}
	.rpo-overlay-popup .rpo-image{display:none}
	.rpo-overlay-flyin{right:12px;bottom:12px}}

@media (prefers-reduced-motion:reduce){.rpo-overlay,.rpo-dialog,.rpo .rpo-field input{transition:none}
	.rpo .rpo-btn{transition:none!important}
	.rpo .rpo-btn:hover,.rpo .rpo-btn:focus-visible{transform:none!important}
	.rpo-dialog{transform:none}}