﻿/* Page Headers */

main {
	display: flex;
	justify-content: center;
	background-color: var(--light-grey1);
	width: 100%;
}

article {
	flex: 1;
}

article.content {
	max-width: 100%;
}

.main {
	display: flex;
	justify-content: center;
	background-color: var(--light-grey1);
	width: 100%;
}

.white-background {
	background-color: var(--white);
}

.limit-width {
	max-width: 100%;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.page-header, .page-header-col {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	row-gap: 0.5em;
	margin-bottom: 1em;
}

.page-header {
	flex-direction: column;
}

.page-header-col {
	flex-direction: column;
}



.card-body {
	overflow: initial;
}

.card-top {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	width: 100%;
	row-gap: 1em;
}

.divider-gap {
	width: 100%;
	margin: 4em 0 2em 0;
	border-bottom: 1px solid var(--light-grey2);
}

.page-container {
	margin: 0 1em;
}

.page-footer {
	margin-top: 1.25em;
}


button > img, .button > img {
	width: 1.25em;
}

.gap {
	column-gap: 0.5em;
	row-gap: 0.5em;
}

.mid-gap {
	column-gap: 1em;
	row-gap: 1em;
}

.big-gap {
	column-gap: 2em;
	row-gap: 2em;
}

.page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.welcome-container {
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	width: 100vw;
	overflow: hidden;
	background-color: var(--light-grey1);
	padding: 4em 2em;
	z-index: 1001;
}

.transparent {
	background-color: var(--light-grey1transparent);
}

img.logo-image {
	max-height: 5.5em;
}

.welcome-card {
	position: absolute;
	background-color: var(--white);
	box-shadow: var(--box-shadow);
	border: 1px solid var(--light-grey2);
	padding: 3em 1em;
	border-radius: 1em;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	column-gap: 2em;
	width: 26.5625em;
	height: 26.5625em;
	display: flex;
	align-items: center;
	justify-content: center;
}

	.welcome-card .logo-image {
		width: 15em;
	}

	.welcome-card span {
		text-align: center;
	}

.sidebar {
	background: var(--main-background);
	border-right: 1px solid var(--light-grey2);
	z-index: 1;
}

/* Question Summary Views (Consult) START */
.question-summary-container {
	width: 100%;
	border: 1px solid var(--light-grey2);
	border-radius: 0.5em;
	background-color: var(--white);
}
.question-summary-padding {
	padding: 1.25em 2em 1.875em 2em;
}

.question-summary-footer {
	padding: 0.75em 2em 0.75em 2em;
	border-top: 1px solid var(--light-grey2);
}

.has-border-right {
	display: flex;
	align-items: center;
	height: 2em;
	border-right: 1px solid var(--light-grey2);
	padding-right: 0.5em;
}

.has-border-left {
	display: flex;
	align-items: center;
	height: 2em;
	border-left: 1px solid var(--light-grey2);
	padding-left: 0.5em;
}

.add-left-padding {
	padding-left: 0.5em;
}

.summary-edit-button {
	width: 1.25em;
	height: 1.25em;
	padding-left: 1em;
}

.allow-menu {
	overflow: initial;
}


.line {
	align-self: stretch;
	width: 100%;
	border-bottom: 1px dotted var(--light-grey2);
}

.skip-table {
	display: grid;
	grid-template-columns: 3em 8em 1fr 1fr 3em;
	align-content: center;
	align-items: center;
	padding: 0.5em;
}

.text-truncate {
	max-width: 100%;
}

.text-hover {
	position: absolute;
	top: 1em;
	left: 2em;
	display: none;
	padding: 1.25em 1.5em;
	background-color: var(--white);
	border: 1px solid var(--light-grey2);
	border-radius: 1em;
	box-shadow: var(--box-shadow);
	cursor: pointer;
	white-space: pre-line;
	z-index: 100;
}

.dark-grey-link:hover + .text-hover {
	display: flex;
}

/* Question Summary Views (Consult) END*/


#blazor-error-ui {
	color-scheme: light only;
	background: lightyellow;
	bottom: 0;
	box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
	box-sizing: border-box;
	display: none;
	left: 0;
	padding: 0.6rem 1.25rem 0.7rem 1.25rem;
	position: fixed;
	width: 100%;
	z-index: 1000;
}

#blazor-error-ui .dismiss {
	cursor: pointer;
	position: absolute;
	right: 0.75rem;
	top: 0.5rem;
}

div.options-container {
	display: grid;
	grid-template-columns: auto;
	grid-template-rows: auto;
	grid-template-areas: "optionsleft" "optionsright";
	gap:0.5em;
}

.options-left {
	grid-area: optionsleft;
}

.options-right {
	grid-area: optionsright;
}


article.client-list {
	display: grid;
	margin-top: 2em;
	row-gap: 1.25em;
	column-gap: 1.25em;
}

article.client-list h4 {
	font-size: 1em;
}

@media(min-width: 641px) {
	.card-top {
		justify-content: space-between;
	}
}

@media (min-width: 841px) {
	.page {
		flex-direction: row;
	}

	.sidebar {
		width: 15em;
		height: 100vh;
		position: sticky;
		top: 0;
	}

	article.content {
		padding: 0 2.25em 2.25em;
	}

	header.page-header {
		margin-top: 1em;
		margin-bottom: 1em;
	}

	div.options-container {
		grid-template-columns: 1fr auto 1fr;
		grid-template-areas: "optionsleft . optionsright";
	}

	article.client-list {
		display: grid;
		grid-template-columns: 1fr 1fr;
		margin-top: 2em;
		row-gap: 1em;
		column-gap: 1em;
	}
}

@media (min-width: 900px) {
	article.client-list {
		grid-template-columns: 1fr 1fr 1fr;
		grid-auto-rows: minmax(250px, auto);
	}
}

@media (min-width: 1200px) {
	header.page-header {
		height: 8em;
		flex-direction: row;
		margin-top: 0em;
		align-items: flex-end;
		margin-bottom: 2em;
	}

	.page-header-col {
		height: 8em;
		flex-direction: column;
		margin-top: 0em;
		align-items: flex-start;
		margin-bottom: 2em;
	}

	.limit-width {
		max-width: var(--max-content-width);
	}
}

@media (min-width: 1500px) {
	div.options-container {
		grid-template-columns: 1fr 1fr 1fr;
		grid-template-areas:"optionsleft . optionsright";
	}

	article.content {
		padding: 0 2.25em 2.25em;
		max-width: var(--max-content-width);
	}

	article.client-list {
		grid-template-columns: 1fr 1fr 1fr 1fr;
		grid-auto-rows: minmax(244px, auto);
	}
}