:root {
	--c-purpleDark:			hsl(269, 51%, 24%);
	--c-purple:				hsl(269, 51%, 31%);
	--c-purpleLight:		hsl(269, 51%, 40%);
	--c-purplePale1:		hsl(269, 30%, 96%);
	--c-purplePale2:		hsl(269, 30%, 93%);
	--c-purplePale3:		hsl(269, 30%, 90%);
	--c-purplePale4:		hsl(269, 30%, 87%);
	--c-purplePale5:		hsl(269, 30%, 84%);
	
	--c-yellowDark:			hsl( 45, 82%, 55%);
	--c-yellow:				hsl( 45, 82%, 65%);
	--c-yellowLight:		hsl( 45, 82%, 75%);
	
	--c-blue:				hsl(220, 51%, 31%);
	--c-blueLight:			hsl(220, 51%, 40%);
	--c-green:				hsl(120, 51%, 31%);
	--c-greenLight:			hsl(120, 51%, 40%);
	--c-red:				hsl(  0, 51%, 31%);
	--c-redLight:			hsl(  0, 51%, 40%);
	
	--c-blueNote:			hsl(220, 82%, 65%);
	--c-greenNote1:			hsl(120, 82%, 35%);
	--c-greenNote2:			hsl(120, 82%, 50%);
	--c-redNote:			hsl(  0, 82%, 65%);
}
*,
*::before,
*::after {
	box-sizing: border-box;
	font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
::selection {
	background-color: var(--c-purplePale5);
	color: black;
}
body {
	scrollbar-gutter: stable;
	overflow-y: scroll;
	margin: 0;
}
input, textarea, button, select {
	border: 0;
	border-radius: 10px;
	padding: 10px 20px;
	text-align: center;
	background-color: var(--c-yellowLight);
	outline: none;
	transition: background-color 0.2s;
}
input:focus, textarea:focus, select:focus {
	background-color: var(--c-yellow);
}
textarea {
	resize: vertical;
	width: 100%;
	padding: 20px;
	text-align: left;
}
input::placeholder {
	color: hsla(0, 0%, 0%, 0.3);
}
input[type=submit], button {
	background-color: var(--c-purple);
	color: white;
	font-weight: 700;
	transition: 0.2s;
}
input[type=submit], button, select {
	cursor: pointer;
}
input[type=submit]:hover, button:hover {
	background-color: var(--c-purpleLight);
}
input[type=submit].selected, button.selected {
	box-shadow: inset 0 0 0 4px var(--c-purple);
	background-color: white;
	color: black;
}
input[type=submit].selected:hover, button.selected:hover {
	background-color: white;
}
input[type=submit].alternate, button.alternate {
	background-color: var(--c-blue);
}
input[type=submit].alternate:hover, button.alternate:hover {
	background-color: var(--c-blueLight);
}
input[type=submit].positive, button.positive {
	background-color: var(--c-green);
}
input[type=submit].positive:hover, button.positive:hover {
	background-color: var(--c-greenLight);
}
input[type=submit].negative, button.negative {
	background-color: var(--c-red);
}
input[type=submit].negative:hover, button.negative:hover {
	background-color: var(--c-redLight);
}
input[type=submit]:disabled, button:disabled {
	background-color: #f0f0f0 !important;
	color: #b3b3b3 !important;
	cursor: not-allowed !important;
}
img.loading {
	opacity: 0;
	display: block;
	height: 48px;
	margin: 20px auto 0 auto;
	transition: 0.5s;
}
#section-nav {
    position: fixed;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
}
#previous-section, #next-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	left: 5px;
	height: 65px;
	aspect-ratio: 1 / 1;
	line-height: 1;
	border: none;
	border-radius: 100%;
	background-color: var(--c-purpleDark);
	color: white;
    font-size: 2.0em;
	cursor: pointer;
	transition: opacity 0.4s, visibility 0.4s, background-color 0.2s;
	z-index: 99;
	user-select: none;
	opacity: 0;
	visibility: hidden;
}
#previous-section:hover, #next-section:hover {
	background-color: var(--c-purpleLight);
}
#previous-section.show, #next-section.show {
	opacity: 1;
	visibility: visible;
}
#previous-section {
	top: 46%;
}
#next-section {
	top: 54%;
}
#modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 999;
}
#modal-window {
	width: 90%;
	max-width: 600px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	padding: 40px;
	background-color: white;
	text-align: center;
}
#modal-content {
	font-size: 1.2em;
}
#modal-buttons {
	display: flex;
	justify-content: center;
	gap: 20px;
	height: 60px;
	margin: auto;
	margin-top: 40px;
}
#modal-buttons button {
	width: 150px;
	font-size: 1.3em;
}
#modal-window img.loading {
	display: none;
	opacity: 1;
	height: 60px !important;
	margin-top: 40px;
}
#login {
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
}
#login > div {
	position: relative;
	width: 400px;
	text-align: center;
}
#login > div > h1 {
	font-size: 1.5em;
}
#login > div > img {
	width: 80%;
}
#login > div > form > input {
	display: block;
	width: 100%;
	margin: 20px 0;
	padding: 20px;
	font-size: 1.5em;
}
#login > div > div.notification {
	position: absolute;
	bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
	width: 100%;
}


#application {
	text-align: center;
}
#application h1 {
	margin-top: 0;
	font-size: 3.0em;
}
#application input,
#application textarea,
#application button {
	font-size: 1.0em;
}
#application button {
	margin: 5px;
}
#application input[type=text] {
	width: 350px;
}
#application p.notification-blue,
#application p.notification-green,
#application p.notification-red {
	font-style: italic;
}
#application p.notification-blue {
	color: var(--c-blueNote);
}
#application p.notification-green {
	color: var(--c-greenNote1);
}
#application p.notification-red {
	color: var(--c-redNote);
}
#application > section {
	padding: 20px;
	font-size: 1.2em;
}
#application > section:nth-child(even) {
	background-color: #f7f7f7;
}
#application > section > h2 {
	font-size: 2.0em;
}
#application > section > h3 {
	margin-top: 50px;
}
#application > section > #website-buttons {
	margin-bottom: 50px;
}
#application > section > #website-namer button.website-namer {
	width: 120px;
}


#application > #website-information > div.question-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
#application > #website-information > div.question-grid > div {
	padding: 40px 20px;
}
#application > #website-information > div.question-grid > div > h4,
#application > #website-information > div.question-grid > div > h5 {
	margin: 0;
}
#application > #website-information > div.question-grid > div > h5 {
	color: #999999;
}
#application > #website-information > div.question-grid > div > textarea {
	min-height: 150px;
	margin-top: 10px;
}
#application > #website-information > div.question-grid > div > div.question-number {
    display: flex;
    align-items: center;
    justify-content: center;
	width: 100px;
	aspect-ratio: 1 / 1;
	margin: 5px auto;
	border-radius: 100%;
	background-color: black;
	color: white;
	font-size: 3.0em;
	font-weight: 700;
}


#application > #website-profile h4 {
	margin-bottom: 0;
}
#application > #website-profile textarea {
	margin-top: 10px;
}
#application > #website-profile #website-summary {
	width: 60%;
	min-height: 320px;
}
#application > #website-profile #website-summary-button {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
#application > #website-profile > div.relevance-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}
#application > #website-profile > div.relevance-grid > div {
	padding: 30px;
}
#application > #website-profile > div.relevance-grid > div textarea {
	min-height: 200px;
}


#application > #keyword-research #generated-keywords {
	margin-bottom: 80px;
}


#application > #keyword-research-results {
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0;
}
#application > #keyword-research-results #keyword-count-all {
	font-size: 1.1em;
}
#application > #keyword-research-results div.bulk-keyword-selection {
	display: flex;
    flex-direction: column;
    align-items: flex-end;
	margin: 10px;
	font-size: 0.8em;
}
#application > #keyword-research-results div.bulk-keyword-selection p {
	margin: 10px 5px;
	text-align: right;
}
#application > #keyword-research-results div.bulk-keyword-selection div.bulk-keyword-selection-controls {
	display: flex;
	align-items: stretch;
	gap: 5px;
}
#application > #keyword-research-results div.bulk-keyword-selection div.bulk-keyword-selection-controls > * {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	box-sizing: border-box;
}
#application > #keyword-research-results div.bulk-keyword-selection div.bulk-keyword-selection-controls input {
	width: 200px;
	padding-left: 0;
}
#application > #keyword-research-results div.bulk-keyword-selection div.bulk-keyword-selection-controls div.bulk-select-status {
	padding: 0;
	font-size: 1.8em;
	user-select: none;
	cursor: pointer;
	filter: saturate(0.5);
	transition: 0.2s;
}
#application > #keyword-research-results div.bulk-keyword-selection div.bulk-keyword-selection-controls div.bulk-select-status:hover {
	filter: saturate(1);
}
#application > #keyword-research-results div.bulk-keyword-selection div.bulk-keyword-selection-controls button {
	background-color: var(--c-blue);
}
#application > #keyword-research-results div.bulk-keyword-selection div.bulk-keyword-selection-controls button:hover {
	background-color: var(--c-blueLight);
}
#application > #keyword-research-results table {
	width: 100%;
	margin: auto;
    border-collapse: collapse;
    border: none;
}
#application > #keyword-research-results table th,
#application > #keyword-research-results table td {
	padding: 15px;
	text-align: right;
}
#application > #keyword-research-results table thead th:nth-child(2),
#application > #keyword-research-results table thead th:nth-child(3),
#application > #keyword-research-results table thead th:nth-child(4),
#application > #keyword-research-results table thead th:nth-child(6) {
	width: 160px;
}
#application > #keyword-research-results table thead th:nth-child(5),
#application > #keyword-research-results table thead th:nth-child(7) {
	width: 280px;
}
#application > #keyword-research-results table thead {
	position: sticky;
	top: 0;
}
#application > #keyword-research-results table thead tr {
	background-color: var(--c-purple);
	color: white;
}
#application > #keyword-research-results table thead tr:first-child {
	height: 100px;
	user-select: none;
}
#application > #keyword-research-results table thead tr:first-child th:first-child {
	position: relative;
}
#application > #keyword-research-results table thead tr:first-child th:first-child div.pagination {
	position: absolute;
	left: 0;
	top: 10px;
	text-align: center;
	font-size: 0.8em;
	font-weight: normal;
}
#application > #keyword-research-results table thead tr:first-child th:first-child div.pagination select {
	user-select: none;
}
#application > #keyword-research-results table thead tr:first-child th:first-child div.pagination div.pagination-indicator {
	display: block;
}
#application > #keyword-research-results table thead tr:first-child th:first-child div.pagination div.pagination-indicator #keyword-count {
	font-weight: 700;
}
#application > #keyword-research-results table thead tr:first-child th div.keyword-sort {
	cursor: pointer;
}
#application > #keyword-research-results table thead tr:first-child th div.keyword-sort:hover {
	text-decoration: underline;
	text-decoration-color: var(--c-yellowDark);
	text-decoration-thickness: 2px;
	text-underline-offset: 2px;
}
#application > #keyword-research-results table thead tr:first-child th div.keyword-sort-icon {
	display: block;
	padding: 5px;
	font-size: 1.2em;
	cursor: pointer;
}
#application > #keyword-research-results table thead tr:first-child th div.keyword-sort-icon-asc {
	color: var(--c-greenNote2);
}
#application > #keyword-research-results table thead tr:first-child th div.keyword-sort-icon-desc {
	color: var(--c-redNote);
}
#application > #keyword-research-results table thead tr:first-child th div.keyword-sort-icon-none {
	visibility: hidden;
}
#application > #keyword-research-results table thead tr:last-child input[type=text],
#application > #keyword-research-results table thead tr:last-child select {
	width: 100%;
	padding: 10px;
	background-color: hsla(0, 0%, 0%, 0.2);
	color: white;
	font-size: 0.8em;
	text-align: right;
	transition: 0.2s;
}
#application > #keyword-research-results table thead tr:last-child input[type=text]:hover,
#application > #keyword-research-results table thead tr:last-child select:hover {
	background-color: hsla(0, 0%, 100%, 0.2);
}
#application > #keyword-research-results table thead tr:last-child input[type=text]:focus,
#application > #keyword-research-results table thead tr:last-child select:focus {
	background-color: white;
	color: black;
}
#application > #keyword-research-results table thead tr:last-child select {
	padding: 10px 5px;
}
#application > #keyword-research-results table thead tr:last-child select option {
	color: initial;
}
#application > #keyword-research-results table tbody tr:nth-child(odd) {
	background-color: var(--c-purplePale2);
}
#application > #keyword-research-results table tbody tr:nth-child(even) {
	background-color: var(--c-purplePale1);
}
#application > #keyword-research-results table tbody tr:nth-child(odd) td.new-data {
	box-shadow: inset 20px 0 0 var(--c-yellow);
}
#application > #keyword-research-results table tbody tr:nth-child(even) td.new-data {
	box-shadow: inset 20px 0 0 var(--c-yellowLight);
}
#application > #keyword-research-results table tbody td.clickable {
	cursor: pointer;
	user-select: none;
}
#application > #keyword-research-results table tbody tr td.clickable:hover {
    background-color: var(--c-purplePale4);
}
#application > #keyword-research-results table tbody td.pending {
	font-size: 0.7em;
	color: #666666;
}
#application > #keyword-research-results table tbody tr.no-results td {
	padding: 50px;
	text-align: center;
	font-size: 1.5em;
	font-style: italic;
	color: #999999;
}
#application > #keyword-research-results table tfoot tr {
	height: 20px;
	background-color: var(--c-purpleDark);
}
#application > #keyword-research-results table tfoot tr td {
	padding: 0;
}


#application > #website-structure-level0 div.page-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 30px;
	margin: 40px 80px;
}
#application > #website-structure-level0 div.page-grid > div {
	display: flex;
	flex-direction: column;
	position: relative;
	border-radius: 10px;
	padding: 15px;
	padding-top: 0;
	background-color: var(--c-yellowLight);
}
#application > #website-structure-level0 div.page-grid > div > input[type=text] {
	width: 100%;
	margin: 15px 0;
	padding: 10px;
	text-align: left;
	font-size: 1.4em;
	font-weight: 700;
}
#application > #website-structure-level0 div.page-grid > div > input[type=text]:hover {
	background-color: hsla(0, 0%, 100%, 0.2);
}
#application > #website-structure-level0 div.page-grid > div > input[type=text]:focus {
	background-color: white;
	color: black;
}
#application > #website-structure-level0 div.page-grid > div > table {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	width: 100%;
	border-collapse: collapse;
	border: none;
	background-color: white;
}
#application > #website-structure-level0 div.page-grid > div > table > thead,
#application > #website-structure-level0 div.page-grid > div > table > tbody {
	display: block;
}
#application > #website-structure-level0 div.page-grid > div > table > tbody {
	flex-grow: 1;
	height: 300px;
	overflow-y: scroll;
}
#application > #website-structure-level0 div.page-grid > div > table > thead > tr,
#application > #website-structure-level0 div.page-grid > div > table > tbody > tr {
	display: table;
	table-layout: fixed;
	width: 100%;
}
#application > #website-structure-level0 div.page-grid > div > table > thead > tr:first-child {
	background-color: black;
	color: white;
}
#application > #website-structure-level0 div.page-grid > div > table > thead > tr:last-child {
	background-color: var(--c-purple);
	color: white;
}
#application > #website-structure-level0 div.page-grid > div > table > tbody > tr:nth-child(even) {
	background-color: #f7f7f7;
}
#application > #website-structure-level0 div.page-grid > div > table > thead > tr:last-child > th {
	font-weight: normal;
}
#application > #website-structure-level0 div.page-grid > div > table > thead > tr > th,
#application > #website-structure-level0 div.page-grid > div > table > tbody > tr > td {
	padding: 10px;
	font-size: 0.7em;
}
#application > #website-structure-level0 div.page-grid > div > table > thead > tr > th:first-child,
#application > #website-structure-level0 div.page-grid > div > table > tbody > tr > td:first-child {
	text-align: left;
}
#application > #website-structure-level0 div.page-grid > div > table > thead > tr > th:not(:first-child),
#application > #website-structure-level0 div.page-grid > div > table > tbody > tr > td:not(:first-child) {
	width: 100px;
	text-align: right;
}
#application > #website-structure-level0 div.page-grid > div > table > thead > tr > th:nth-child(2) {
	padding-right: 25px;
}
#application > #website-structure-level0 div.page-grid > div > table > thead > tr > th:nth-child(3) {
	padding-right: 25px;
}
#application > #website-structure-level0 div.page-grid > div.add-new-page {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	border: 5px dashed #e6e6e6;
	background-color: transparent;
	cursor: pointer;
}
#application > #website-structure-level0 div.page-grid > div.add-new-page > div {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	width: 100px;
	aspect-ratio: 1 / 1;
	border-radius: 100%;
	background-color: #e6e6e6;
	color: white;
	font-size: 4.0em;
	user-select: none;
	transition: 0.2s;
}
#application > #website-structure-level0 div.page-grid > div.add-new-page:hover > div {
	background-color: var(--c-purpleLight);
}
#application > #website-structure-level0 div.page-grid > div > div.delete-page {
	position: absolute;
	right: -10px;
	top: -10px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	width: 40px;
	aspect-ratio: 1 / 1;
	box-shadow: -5px 5px 30px rgba(0, 0, 0, 0.1);
	border-radius: 100%;
	background-color: var(--c-yellowLight);
	font-size: 1.2em;
	user-select: none;
	cursor: pointer;
	transition: 0.2s;
}
#application > #website-structure-level0 div.page-grid > div > div.delete-page:hover {
	background-color: var(--c-redLight);
	color: white;
}
#application > #website-structure-level0 div.page-grid > #page-container-unassigned0 {
	background-color: #cccccc;
}
#application > #website-structure-level0 div.page-grid > #page-container-unassigned0 > div {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 20px 0;
	padding: 5px;
}
#application > #website-structure-level0 div.page-grid > #page-container-unassigned0 > div > div {
	text-align: left;
	font-weight: 700;
}
#application > #website-structure-level0 div.page-grid > #page-container-unassigned0 > div > button {
	margin: 0;
	padding: 7px 20px;
	font-size: 0.8em;
}

@media (max-width: 800px) {
	#application > #website-information > div.question-grid,
	#application > #website-profile > div.relevance-grid,
	#application > #website-structure-level0 div.page-grid {
		grid-template-columns: auto;
	}
	#section-nav {
		display: none;
	}
	textarea {
		padding: 10px;
		font-size: 0.8em !important;
	}
	#application h1 {
		font-size: 2.0em;
	}
	#application > section > h2 {
		font-size: 1.5em;
	}
	#application > #website-information > div.question-grid > div,
	#application > #website-profile > div.relevance-grid > div {
		padding: 20px 0;
	}
	#application > #website-profile #website-summary {
		width: 100%;
	}
	#application > #keyword-research-results > *:not(table) {
		margin-left: 10px !important;
		margin-right: 10px !important;
	}
	#application > #keyword-research-results table thead tr:first-child th:first-child div.pagination > button {
		padding: 5px 10px;
	}
	#application > #keyword-research-results table td {
		font-size: 0.8em;
	}
	#application > #keyword-research-results table th:nth-child(6), #application > #keyword-research-results table td:nth-child(6),
	#application > #keyword-research-results table th:nth-child(7), #application > #keyword-research-results table td:nth-child(7) {
		max-width: 100px;
	}
	.mobile-hide,
	#application > #keyword-research-results table thead tr:first-child th:first-child div.pagination > div.pagination-indicator:first-child,
	#application > #keyword-research-results table thead tr:first-child th:first-child div.pagination > select,
	#application > #keyword-research-results table th:nth-child(2), #application > #keyword-research-results table td:nth-child(2),
	#application > #keyword-research-results table th:nth-child(3), #application > #keyword-research-results table td:nth-child(3),
	#application > #keyword-research-results table th:nth-child(4), #application > #keyword-research-results table td:nth-child(4),
	#application > #keyword-research-results table th:nth-child(5), #application > #keyword-research-results table td:nth-child(5) {
		display: none;
	}
	#application > #website-structure-level0 div.page-grid {
		margin: 40px 0;
	}
}