/**
 * NFCC Pierre Chat Stylesheet
 */

/* ==========================================================================
   Homepage B Chat & Module
   ========================================================================== */
.homepage-b-chat {
	background: #00c1e1;
	box-shadow: 0 5px 30px #00c1e1;
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.3s ease-in-out;
	border-radius: 25px 25px 0 0 !important;
}

.homepage-b-chat-module {
	position: relative;
	max-width: 1040px;
	margin: 2.25rem auto 0;
	padding-top: 2rem;
}

.homepage-b-chat-module.is-open .homepage-b-chat {
	max-height: 600px;
}

@media (max-width: 782px) {
	.homepage-b-chat-module.is-open .homepage-b-chat {
		max-height: 82svh;
	}
}

.homepage-b-chat-module.is-open .homepage-b-chat-toggle {
	min-height: 40px;
	padding-bottom: 0;
}

.homepage-b-chat-module.is-open .homepage-b-chat-toggle__icon {
	width: 48px;
	height: 48px;
}

.homepage-b-chat-module.is-open .homepage-b-chat-toggle__icon .homepage-b-chat-toggle__line--vertical {
	opacity: 0;
}

.homepage-b-chat-module.is-open .homepage-b-chat-toggle__text {
	opacity: 0;
	height: 0;
}

/* ==========================================================================
   Homepage B Chat Toggle Button
   ========================================================================== */
.homepage-b-chat-toggle {
	align-items: flex-end;
	background-color: #00c1e1;
	border: 0;
	border-radius: 25px 25px 0 0;
	color: #032e4d;
	cursor: pointer;
	display: flex;
	font-weight: 400;
	justify-content: center;
	line-height: 1.25;
	min-height: 110px;
	padding: 1.5rem;
	position: relative;
	text-align: center;
	width: 100%;
	box-shadow: 0 5px 30px #00c1e1;
	transition: all 300ms ease-in-out;
}

.homepage-b-chat-toggle:hover,
.homepage-b-chat-toggle:focus {
	background-color: #02cef2;
	outline: none;
}

@media (max-width: 1024px) {
	.homepage-b-chat-toggle {
		font-size: 1.4rem;
		min-height: 110px;
	}
}

.homepage-b-chat-toggle__icon {
	align-items: center;
	background-color: #ffffff;
	border-radius: 50%;
	box-shadow: 0 5px 20px #d5d5d5;
	display: inline-flex;
	justify-content: center;
	left: 50%;
	position: absolute;
	top: 0;
	transform: translate(-50%, -48%);
	width: 84px;
	height: 84px;
	transition: all 300ms ease-in-out;
	display: none;
}

.homepage-b-chat-toggle__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.homepage-b-chat-toggle__circle {
	fill: #ffffff;
}

.homepage-b-chat-toggle__line {
	stroke: #08b8d4;
	stroke-linecap: round;
	stroke-width: 3;
	transition: all 300ms ease-in-out;
}

@media (max-width: 1024px) {
	.homepage-b-chat-toggle__icon {
		width: 56px;
		height: 56px;
	}
}

.homepage-b-chat-toggle__text {
	transition: all 300ms ease-in-out;
	text-wrap: balance;
	font-size: 1.1875rem;
}

@media (min-width: 768px) {
	.homepage-b-chat-toggle__text {
		font-size: 1.375rem;
	}
}

@media (min-width: 1024px) {
	.homepage-b-chat-toggle__text {
		font-size: 1.875rem;
	}
}

/* ==========================================================================
   Always-Expanded Chat Variant
   ========================================================================== */
.nfcc-home-chat-expanded .homepage-b-chat-module h2 {
	padding: 1rem 1rem 0;
	text-wrap: balance;
	text-align: center;
	font-size: 1.1875rem;
	font-weight: 400;
	margin-bottom: 1rem;
}

@media (min-width: 768px) {
	.nfcc-home-chat-expanded .homepage-b-chat-module h2 {
		font-size: 1.375rem;
	}
}

@media (min-width: 1024px) {
	.nfcc-home-chat-expanded .homepage-b-chat-module h2 {
		font-size: 1.875rem;
	}
}

.nfcc-home-chat-expanded .homepage-b-chat {
	border-radius: 0;
}

/* ==========================================================================
   Member Agency Chat Containers & Slots
   ========================================================================== */
.member-agency-chat {
	border-radius: 1.5rem !important;
	overflow: hidden;
}

.member-agency-chat-hero,
.member-agency-chat-footer {
	position: relative;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}

.member-agency-chat-hero {
	box-shadow: 0 5px 30px 0 #c1e0ea;
}

.member-agency-chat iframe {
	border: none;
	width: 100%;
	height: 450px;
	display: block;
}

@media (min-width: 768px) {
	.member-agency-chat iframe {
		height: 400px;
	}
}

.member-agency-chat #piere-chat {
	height: 500px !important;
	min-height: 500px !important;
	max-height: 500px !important;
	overflow: hidden !important;
}

@media (max-width: 782px) {
	.member-agency-chat #piere-chat {
		height: 75svh !important;
		min-height: 75svh !important;
		max-height: 75svh !important;
	}
}

.member-agency-chat #piere-chat [class*="landing-heading"] {
	font-family: "Roboto", sans-serif !important;
	color: #032e4d !important;
	font-weight: 400 !important;
	font-size: 27px !important;
	line-height: 120% !important;
	letter-spacing: 0px !important;
	text-align: center !important;
	margin: 0 0 1.5rem 0 !important;
}

/* ==========================================================================
   Piere Chat Widget Popup Panel Title
   ========================================================================== */
h2.piere-sdk-58z65s-popup-panel-title,
h2[class*="popup-panel-title"],
[class*="-popup-panel-title"] {
	font-weight: 500 !important;
	font-size: 1.5rem !important;
	margin-bottom: 0 !important;
}

/* ==========================================================================
   User Converted State
   ========================================================================== */
html[data-piere-user-state="converted"] .layout__form-section {
	display: none !important;
}
