/**
 * @version 4.22.4
 * Date: 2022-05-13T15:10:10.832Z
 */
/** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	I. QUIZ BOT PRES STYLES & OVERRIDES
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **/
:root {
	--headerHeight: 56px;
	--footerHeight: 62px;
}

body {
	border-top: none;
	font-size: 17px;
	overflow: hidden;
}

.card {
	border-radius: 0;
	display: block;
	height: 100%;
}

.card-header {
	align-items: center;
	border-radius: 0 !important;
	display: flex;
	min-height: 54px;
	position: sticky;
	top: 0;
	z-index: 1;
}

#root {
	display: block;
	min-height: calc(100vh - var(--headerHeight) - var(--footerHeight));
	padding: 0;
}

.card-body {
	overflow: hidden;
	overflow-y: auto;
	position: relative;
	z-index: 0;
}

.card-footer {
	align-items: center;
	background-color: #fff;
	bottom: 0;
	display: flex;
	height: 60px;
	justify-content: flex-end;
	position: sticky;
	z-index: 1;

	padding-top: 0.5rem !important;
	padding-bottom: 0.5rem !important;
}

.card-footer .btn + .btn {
	margin-left: 10px;
}

#qReset .cdc-icon-chevron-right {
	transform: rotate(180deg)
}

.chatboxes {
	display: flex;
	padding-left: 0 !important;

	/* Performant CSS props to help with animations */
	position: absolute;
	min-width: calc(300vw * 99);
	will-change: transform;

	transition: transform 250ms ease-in-out;
}

.chatbox {
	display: block;
	height: 0;
	margin: 0;
	width: inherit;
}

.chatbox.is-active-card:focus {
	outline: auto 3px rgba(255, 102, 1, 0.9) !important;
}

.chatbox + .chatbox {
	margin-top: 0;
}

.chatbox-body {
	margin-bottom: 1rem;
	max-width: none;
	padding: 1rem;
	width: 100%;
}

.chatbox-body:last-child {
	margin-bottom: 0;
}

.chatbox-icon+.chatbox-body {
	margin-left: 0;
}

.chatbox-section {
	border: none;
	padding: 0;
}

.chatbox-body .chatbox-section:first-of-type,
.chatbox--response .chatbox-body {
	width: fit-content !important;
}

.chatbox-icon {
	display: none;
}

.chatbox-footer {
	border: none;
	padding: 0;
	width: fit-content;
}

#root button.disabled {
	background-color: transparent;
	color: var(--teal);
}

#root button.disabled.is-clicked {
	background-color: #d9ecee;
	color: var(--teal);
}

.chatbox-info~.chatbox-btn+.chatbox-btn {
	margin-top: 4px;
}

/** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	II. QUIZ BOT ADAPTIVE CARD OVERRIDES
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **/
.ac-input {
	border-radius: var(--radius);
	padding: 10px !important;
}

.ac-textInput {
	border-style: solid !important;
    border-width: 1px !important;
}

.ac-image {
	margin-right: 6px !important;
}

/* .ac-actionSet > :not(.ac-pushButton) {
	height: 8px !important;
} */
.ac-actionSet > [style*="height: 20px"] {
	height: 8px !important;
}

.ac-custom-box {
    background-color: var(--lightest) !important;
	padding: var(--spacer) !important;
    margin-top: 1rem !important;
    margin-left: -1rem !important;
    margin-right: -1rem !important;
    margin-bottom: -1rem !important;
}

.ac-container .ac-image {
	display: block;
    height: 184px;
	object-fit: cover;
    width: 100%;
}

.ac-textBlock {
	font-family: 'Open Sans', sans-serif !important;
	font-weight: normal !important;
	margin-bottom: 1rem;
}

.chatbox-btn:focus,
.ac-pushButton:focus {
	outline: auto 3px rgba(255, 102, 1, 0.9);
}

.chatbox-btn,
.ac-pushButton {
	background-color: inherit;
	border-color: var(--teal);
	color: var(--teal);
	font-size: 1rem;
	font-weight: normal;
	padding: 6px 13px 6px 13px;
	/* max-width: 350px;
	min-width: 350px;
	width: 100%; */

	justify-content: flex-start !important;
}

.chatbox-btn:focus,
.chatbox-btn:hover,
.ac-pushButton:focus,
.ac-pushButton:hover {
	background-color: #d9ecee;
	color: var(--teal);
}

.ac-input-container input[type="date"] {
	width: auto !important;
}

@media screen and (max-width: 768px) {
	.ac-columnSet {
		flex-direction: column;
	}
	.ac-columnSet .ac-container:first-of-type {
		order: 2;
		width: 100% !important;
	}

	.ac-columnSet .ac-container:last-of-type {
		margin-bottom: 1rem !important;
		order: 1;
	}

	.ac-container .ac-image {
		margin-right: 0 !important;
		object-fit: cover;
	}
	
	.ac-columnSet .ac-vertical-separator {
		display: none;
	}	
}
