/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

#logo a .logo-qol-lockup {
	align-items: center;
	display: inline-flex !important;
	gap: 14px;
	height: var(--cnvs-header-height);
}

#logo a .logo-qol-mark-wrap {
	display: inline-flex !important;
	height: 72px;
	overflow: hidden;
	width: 98px;
}

#logo a img.logo-qol-mark {
	display: block !important;
	height: 72px !important;
	max-width: none;
	object-fit: cover;
	object-position: top center;
	width: 98px;
}

#logo a .logo-qol-text {
	border-bottom: 2px solid #25cbd7;
	color: #063f78;
	display: inline-block !important;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 1.4px;
	line-height: 1.1;
	padding-bottom: 7px;
	white-space: nowrap;
}

.sticky-header-shrink #logo a .logo-qol-lockup {
	height: var(--cnvs-header-height-shrink);
}

.sticky-header-shrink #logo a .logo-qol-mark-wrap,
.sticky-header-shrink #logo a img.logo-qol-mark {
	height: 52px !important;
	width: 72px;
}

.sticky-header-shrink #logo a .logo-qol-text {
	font-size: 19px;
	padding-bottom: 5px;
}

.primary-menu .menu-item-phone .menu-link {
	color: #063f78;
	letter-spacing: 0;
	white-space: nowrap;
}

.primary-menu .menu-item-phone .menu-link div {
	align-items: center;
	display: inline-flex;
	gap: 7px;
}

.primary-menu .menu-item-phone .menu-link i {
	color: var(--cnvs-themecolor);
	font-size: 16px;
}

.slider-caption p {
	font-weight: 500;
}

.slider-caption .hero-title-accent {
	color: var(--cnvs-themecolor);
}

.qol-inner-hero,
.qol-inner-hero .fslider,
.qol-inner-hero .flexslider,
.qol-inner-hero .slider-wrap,
.qol-inner-hero .slide {
	background-color: #f2fbff;
	height: 460px !important;
	min-height: 460px;
	overflow: hidden;
}

.qol-inner-hero .slide img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.qol-inner-hero .vertical-middle-overlay {
	background: transparent;
	height: 100%;
}

.qol-inner-hero .page-title-row {
	align-items: center;
	flex-direction: column;
	justify-content: center;
	min-height: 460px;
	text-align: center;
}

.qol-inner-hero .page-title-content h1 {
	color: #fff;
	font-size: 4rem !important;
	line-height: 1.05 !important;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}

.qol-inner-hero .page-title-content h1 .qol-title-accent {
	color: var(--cnvs-themecolor);
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
}

.qol-inner-hero .page-title-content {
	text-align: center;
}

.qol-inner-hero .page-title-content > span {
	color: #fff;
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.35;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.qol-inner-hero .breadcrumb {
	justify-content: center;
	margin-top: 2rem;
}

.qol-inner-hero .breadcrumb,
.qol-inner-hero .breadcrumb a {
	color: rgba(255, 255, 255, 0.9);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

@media (max-width: 767px) {
	.qol-inner-hero,
	.qol-inner-hero .fslider,
	.qol-inner-hero .flexslider,
	.qol-inner-hero .slider-wrap,
	.qol-inner-hero .slide,
	.qol-inner-hero .page-title-row {
		height: 320px !important;
		min-height: 320px;
	}

	.qol-inner-hero .page-title-content h1 {
		font-size: 2.6rem !important;
	}

	.qol-inner-hero .page-title-content > span {
		font-size: 1.15rem;
	}
}

.medical-agent {
	bottom: 24px;
	isolation: isolate;
	position: fixed;
	right: 24px;
	z-index: 999;
}

.medical-agent::before {
	animation: medical-agent-heart-ring 2.2s ease-out infinite;
	background: rgb(222 98 98 / 24%);
	bottom: 0;
	content: "";
	height: 82px;
	mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 92' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 84C22 61 7 46 7 27C7 12 18 4 31 4C40 4 47 10 50 18C53 10 60 4 69 4C82 4 93 12 93 27C93 46 78 61 50 84Z'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 92' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 84C22 61 7 46 7 27C7 12 18 4 31 4C40 4 47 10 50 18C53 10 60 4 69 4C82 4 93 12 93 27C93 46 78 61 50 84Z'/%3E%3C/svg%3E") center / contain no-repeat;
	pointer-events: none;
	position: absolute;
	right: 0;
	width: 88px;
	z-index: -1;
}

.medical-agent__toggle {
	align-items: center;
	animation: medical-agent-heart-pulse 2.2s ease-in-out infinite;
	background: linear-gradient(145deg, #ee7272 0%, #de6262 58%, #c94758 100%);
	border: 0;
	box-shadow: 0 14px 34px rgb(222 98 98 / 34%);
	color: #fff;
	display: flex;
	flex-direction: column;
	font-weight: 700;
	height: 82px;
	justify-content: center;
	letter-spacing: 0;
	line-height: 1;
	mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 92' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 84C22 61 7 46 7 27C7 12 18 4 31 4C40 4 47 10 50 18C53 10 60 4 69 4C82 4 93 12 93 27C93 46 78 61 50 84Z'/%3E%3C/svg%3E") center / contain no-repeat;
	padding: 12px 16px 10px;
	position: relative;
	width: 88px;
	-webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 92' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 84C22 61 7 46 7 27C7 12 18 4 31 4C40 4 47 10 50 18C53 10 60 4 69 4C82 4 93 12 93 27C93 46 78 61 50 84Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.medical-agent__toggle span {
	font-size: 17px;
	line-height: 1;
	white-space: nowrap;
}

.medical-agent__panel {
	background: #fff;
	border: 1px solid rgb(18 35 53 / 12%);
	border-radius: 8px;
	bottom: 96px;
	box-shadow: 0 20px 50px rgb(0 0 0 / 18%);
	display: none;
	overflow: hidden;
	position: absolute;
	right: 0;
	width: min(380px, calc(100vw - 32px));
}

.medical-agent--open .medical-agent__panel {
	display: block;
}

.medical-agent__header {
	align-items: center;
	background: #f7fafc;
	border-bottom: 1px solid rgb(18 35 53 / 10%);
	display: flex;
	justify-content: space-between;
	padding: 14px 16px;
}

.medical-agent__header strong,
.medical-agent__header span {
	display: block;
	line-height: 1.25;
}

.medical-agent__header span {
	color: #607080;
	font-size: 13px;
}

.medical-agent__close,
.medical-agent__form button {
	align-items: center;
	background: transparent;
	border: 0;
	color: #22303c;
	display: inline-flex;
	height: 36px;
	justify-content: center;
	width: 36px;
}

.medical-agent__messages {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-height: 320px;
	overflow-y: auto;
	padding: 16px;
}

.medical-agent__message {
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.45;
	max-width: 88%;
	padding: 10px 12px;
}

.medical-agent__message--assistant,
.medical-agent__message--pending {
	align-self: flex-start;
	background: #eef5f7;
	color: #22303c;
}

.medical-agent__message--user {
	align-self: flex-end;
	background: #de6262;
	color: #fff;
}

.medical-agent__prompts {
	display: flex;
	gap: 8px;
	padding: 0 16px 14px;
}

.medical-agent__prompts button {
	background: #fff;
	border: 1px solid rgb(18 35 53 / 14%);
	border-radius: 999px;
	color: #2f4355;
	font-size: 13px;
	padding: 7px 10px;
}

.medical-agent__form {
	align-items: center;
	border-top: 1px solid rgb(18 35 53 / 10%);
	display: flex;
	gap: 8px;
	padding: 12px;
}

.medical-agent__form input {
	border: 1px solid rgb(18 35 53 / 14%);
	border-radius: 999px;
	flex: 1;
	height: 40px;
	min-width: 0;
	padding: 0 14px;
}

.medical-agent__form button {
	background: #de6262;
	border-radius: 999px;
	color: #fff;
	flex: 0 0 40px;
	height: 40px;
	width: 40px;
}

.medical-agent__form button:disabled {
	opacity: 0.55;
}

@keyframes medical-agent-heart-pulse {
	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.06);
	}
}

@keyframes medical-agent-heart-ring {
	0% {
		opacity: 0.42;
		transform: scale(1);
	}

	70%,
	100% {
		opacity: 0;
		transform: scale(1.34);
	}
}

@media (prefers-reduced-motion: reduce) {
	.medical-agent::before,
	.medical-agent__toggle {
		animation: none;
	}
}

@media (max-width: 575px) {
	.medical-agent {
		bottom: 16px;
		right: 16px;
	}

	.medical-agent__toggle {
		height: 74px;
		width: 80px;
	}

	.medical-agent::before {
		height: 74px;
		width: 80px;
	}

	.medical-agent__panel {
		bottom: 88px;
	}
}
