/*! Inquiry success modal — site-wide (no thankyou redirect) */
body.xy-ct-success-open{overflow:hidden;}
.xy-ct-success-overlay{
	position:fixed;
	inset:0;
	z-index:100010;
	display:-webkit-box;display:-webkit-flex;display:flex;
	-webkit-box-align:center;-webkit-align-items:center;align-items:center;
	-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;
	padding:20px;
	box-sizing:border-box;
	background:rgba(16,48,56,.58);
	-webkit-animation:xyCtFadeIn .22s ease;animation:xyCtFadeIn .22s ease;
}
.xy-ct-success-dialog{
	width:100%;
	max-width:480px;
	margin:0 auto;
	padding:40px 32px 32px;
	background:#fff;
	border-radius:4px;
	box-shadow:0 20px 56px rgba(16,48,56,.28);
	text-align:center;
	box-sizing:border-box;
	-webkit-animation:xyCtPop .28s ease;animation:xyCtPop .28s ease;
}
.xy-ct-success-icon{
	width:64px;
	height:64px;
	margin:0 auto 18px;
	border-radius:50%;
	background:#107f8a;
	color:#fff;
	display:-webkit-box;display:-webkit-flex;display:flex;
	-webkit-box-align:center;-webkit-align-items:center;align-items:center;
	-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;
	font-size:28px;
	line-height:1;
	box-shadow:0 8px 20px rgba(16,127,138,.35);
}
.xy-ct-success-icon .fa{line-height:1;}
.xy-ct-success-title{
	margin:0 0 12px;
	padding:0;
	border:0;
	color:#222;
	font-size:28px;
	font-weight:700;
	line-height:1.25;
}
.xy-ct-success-line{
	width:48px;
	height:3px;
	margin:0 auto 18px;
	background:#107f8a;
	border-radius:2px;
}
.xy-ct-success-body,
.xy-ct-success-mail{
	margin:0 0 10px;
	font-size:15px;
	line-height:1.65;
	color:#666;
}
.xy-ct-success-mail a{
	color:#107f8a;
	text-decoration:underline;
}
.xy-ct-success-actions{
	margin-top:22px;
	display:-webkit-box;display:-webkit-flex;display:flex;
	-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;
	-webkit-flex-wrap:wrap;flex-wrap:wrap;
	gap:12px;
}
.xy-ct-success-close,
.xy-ct-success-home{
	display:inline-block;
	min-width:130px;
	padding:11px 22px;
	border:2px solid #107f8a;
	border-radius:2px;
	font-size:14px;
	font-weight:600;
	line-height:1.2;
	cursor:pointer;
	text-decoration:none !important;
	box-sizing:border-box;
	-webkit-transition:background .2s ease,color .2s ease;transition:background .2s ease,color .2s ease;
}
.xy-ct-success-close{
	background:#107f8a;
	color:#fff !important;
}
.xy-ct-success-close:hover{background:#0d6b74;border-color:#0d6b74;color:#fff !important;}
.xy-ct-success-home{
	background:#fff;
	color:#107f8a !important;
}
.xy-ct-success-home:hover{background:#107f8a;color:#fff !important;}

/* Fallback thankyou page card */
.xy-jump-notice{
	max-width:560px;
	margin:48px auto;
	padding:48px 36px 40px;
	background:#fff;
	border:1px solid #e8ecee;
	box-shadow:0 8px 28px rgba(16,48,56,.08);
	text-align:center;
	box-sizing:border-box;
}
.xy-jump-notice .xy-ct-success-icon{margin-bottom:20px;}
.xy-jump-notice .xy-ct-success-title,
.xy-jump-notice .ins_title{
	margin:0 0 12px;
	font-size:28px;
	font-weight:700;
	color:#222;
	line-height:1.25;
}
.xy-jump-notice .xy-ct-success-line{margin-bottom:18px;}
.xy-jump-notice .xy-jump-msg,
.xy-jump-notice .xy-jump-mail,
.xy-jump-notice .ins_txt{
	margin:0 0 10px;
	font-size:15px;
	line-height:1.65;
	color:#666;
}
.xy-jump-notice .xy-jump-mail a,
.xy-jump-notice .ins_txt a{color:#107f8a;text-decoration:underline;}
.xy-jump-notice .xy-jump-actions{margin-top:24px;}
.xy-jump-notice .ins_btn,
.xy-jump-notice .xy-jump-home{
	display:inline-block;
	min-width:160px;
	padding:12px 24px;
	border:2px solid #107f8a;
	background:#107f8a;
	color:#fff !important;
	font-size:14px;
	font-weight:600;
	text-decoration:none !important;
	border-radius:2px;
}
.xy-jump-notice .ins_btn:hover,
.xy-jump-notice .xy-jump-home:hover{background:#0d6b74;border-color:#0d6b74;}
.xy-jump-notice.ins_error .xy-ct-success-icon{background:#c0392b;box-shadow:0 8px 20px rgba(192,57,43,.3);}
.xy-jump-notice.ins_error .xy-ct-success-line{background:#c0392b;}

@-webkit-keyframes xyCtFadeIn{from{opacity:0}to{opacity:1}}
@keyframes xyCtFadeIn{from{opacity:0}to{opacity:1}}
@-webkit-keyframes xyCtPop{from{opacity:0;-webkit-transform:translateY(12px) scale(.96);transform:translateY(12px) scale(.96)}to{opacity:1;-webkit-transform:none;transform:none}}
@keyframes xyCtPop{from{opacity:0;-webkit-transform:translateY(12px) scale(.96);transform:translateY(12px) scale(.96)}to{opacity:1;-webkit-transform:none;transform:none}}

@media (max-width:520px){
	.xy-ct-success-dialog{padding:32px 20px 28px;}
	.xy-ct-success-title{font-size:24px;}
	.xy-ct-success-actions{-webkit-box-orient:vertical;-webkit-flex-direction:column;flex-direction:column;}
	.xy-ct-success-close,.xy-ct-success-home{width:100%;}
}
