

div.span-labels:has(> span) {
	display: var(--div--display, flex);
	margin-bottom: 2px;
}

div.span-labels span:first-of-type {
	display: var(--span--display, inline-block);
	margin-right: 3px;
	padding: 2px 5px;
	text-align: var(--span--text-align, right);
	width: var(--span--width, 80px);
	flex-shrink: 0;
}

div.span-labels span {
	align-content: center;
}



#container {
	grid-area: container;
	overflow: hidden;
}


.container__buttons {
	--btn--font-size: 1.25rem;
	--btn--width: auto;
	--btn--padding: 1em;
	--btn--margin: 0 10px;

	margin: var(--margin, 3px 0 10px);
	padding: var(--padding, 1em);


	grid-area: container__buttons;
	display: flex;
	border: thin solid black;
}


li.header {
	list-style-type: none;
	font-weight: bold;
	margin-left: -16px;
	text-decoration: underline;
}

li.sub-header {
	font-weight: bold;
	text-decoration: underline;
}

li.no-dot {
	list-style-type: none;
}

li.note {
	list-style-type: none;
}


.page-buttons {
	--btn--width: 190px;
	--btn--margin: .5em auto;
	--btn--padding: .75em 0;

	grid-area: page-buttons;
	display: flex;
	flex-direction: column;
	margin: 0;
	margin-right: 12px;
	border: thin solid black;
	padding-bottom: 1em;
	width: 200px;
}

.page-buttons h1 ~ h1 {
	margin-top: 2em;
}

.page-buttons hr {
	width: 80%;
}

.element--selected {
	background-color: hsl(60, 100%, 50%) !important;
	color: black !important;
}


/* For WebKit-based browsers like Chrome */
::-webkit-scrollbar {
	width: 12px; /* Adjust scrollbar width */
}

::-webkit-scrollbar-track {
	background: #f1f1f1; /* Track background */
	border: 2px solid #333; /* Border around the track */
}

::-webkit-scrollbar-thumb {
	background: #888; /* Scrollbar color */
	border: 2px solid #555; /* Border around the thumb */
	border-radius: 6px; /* Rounded corners */
}

::-webkit-scrollbar-thumb:hover {
	background: #555; /* Darker color on hover */
}

.btn-icon-holder {
	position: absolute;
	top: 0px;
	left: 0;
	padding-right: 4px;
	padding-left: 3px;
	background-color: rgb(from black r g b / 0.45);
	height: 100%;
}

.btn-icon {
	--image-size: 35px;
	width: 32px;
	height: var(--image-size);
	background-repeat: no-repeat; /* Prevent background image from repeating */
	background-size: contain;
	position: relative;

}


.character-count {
	font-size: 14px;
	color: gray;
	border-top: thin solid lightgrey;
	padding-left: 7px;
}






.focus-shadow {
	box-shadow: 1px 1px 8px 3px rgba(10, 112, 188, 0.62);
}

.copy-when-clicked 	{
	--hue: 196;
	--saturation: 100%;
	--lightness: 90%;
	--color: black;
}




.results--copied {
	background: grey;
	color: white;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	font-weight: bold;
	border-radius: 10px;
	height: 25px;
	padding-inline: 10px;
	width: fit-content;
	white-space: nowrap;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: rgba(0, 0, 0, 1) 0 0 1px 2px;
	z-index: 3;
}

.icon--copy .results--copied {
	right: 190%;
}

.results--copied::before {
	content: '▲';
	display: block;
	color: grey;
	position: absolute;
	right: -19px;     /* move to right side */
	top: -18%;
	font-size: 30px;
	transform: rotate(90deg); /* point right */
	filter: drop-shadow(0px -4px 0px rgba(0,0,0,1));
}


.side-bar__field__information .results--copied::before {
	right: 90%;     /* move to right side */
	top: -5px;
	transform: rotate(270deg); /* point right */
}



a 	{
	color: var(--color-purple--dark);
}

a:hover 	{
	filter: brightness(120%);
	font-size: calc(var(--base-font-size) * 1.25);
	font-weight: bold;
}


h1, h2 {
	--_hue: var(--hue);
	--_saturation: var(--saturation);
	--_lightness: var(--lightness);
	--_color: var(--color);
	--_background-color: hsl(var(--_hue) var(--_saturation) var(--_lightness));

	color: var(--_color, white);

	padding: .75em;
	text-align: center;

}

h1 {
	background-color: var(--_background-color, var(--color-purple--dark));
	font-size: calc(var(--base-font-size) * 1.125);
	text-shadow: var(--text-shadow);
}

h2 {
	background-color: var(--_background-color, black);
	font-size: calc(var(--base-font-size) * 1.05);
}

hr {
	width: var(--hr--width, 100%);
	margin: var(--hr--margin, .5em auto);
	border: none;
	border-top: thin solid hsl(0, 0%, 12.5%);
}


.hr-vertical 	{
	margin: auto 5px;
	display: inline-block;
	height: 40px;
	width: 2px;
	border: none;
	border-left: thin solid black;
	background: black;
}


.section 	{

	height: var(--section--height, fit-content);
	width: var(--section--width, auto);
	background-color: var(--section--background, white);
	color: var(--section--color, black);
	margin: var(--section--margin, 3px 12px 10px);


	box-shadow: 5px 3px 3px 3px #888888;
	border: black 1px solid;
	padding-bottom: 1em;
}

.section:has(table) {
	--_table-width: var(--table-width, auto);
	width: var(--_table-width);
}


#search 	{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	margin: 1em;
}


#search__options
,#search__buttons 	{
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}







.search__field {
	position: relative;
	background: white;
	border: 1px solid;
	border-color: #848484 #c1c1c1 #e1e1e1;
	border-radius: 1px;
	outline: 0;
	margin: .2em .5em;
	padding: 0em .5em;
	vertical-align: top;
	text-align: left;


}

.search__field__label 	{
	text-shadow: none;
	text-align: left;
	margin: 0;
	padding: 3px 0px;
	font-weight: bold;
	font-size: 1.205rem;
}

.search__field input:not(.chosen-search-input)
,.search__field select
,.search__field .chosen-container	{
	border: none;
	outline: 0;
	padding: .5em 0 .2em;
	font-size: 1.202rem;
	min-height: 2em;
	min-width: 13em;
	width: var(--width, 100%);
}

#search__buttons input[type=button] {
	font-size: 1.25rem;
	--btn--width: auto;
	min-width: unset;
	padding: 1em 2em;
}



.report-buttons {
	display: flex;
	border: thin solid black;
	margin-bottom: 1em;
	justify-content: flex-start;
}

.report-buttons input[type=button] {
	width: 200px;
	min-width: auto;
	max-width: unset;
	padding: 1em;
}

.form--information {
	background: yellow;
	color: black;
	text-align: justify;
	border: solid thin black;
	margin: 1em auto;
}

.form--information p {
	padding: .5em;
}

.form--information p + p {
	padding-top: 0;
}






.form--grid {
	align-items: flex-start;
	justify-content: start;
	display: grid;
}


body:has(.overlay:not([style*="display: none"])) {
	overflow: hidden;
}

.overlay 	{
	width: 100vw;
	height: 100vh;
	position:fixed;
	top:0;
	left:0;
	background:url('../images/overlay.png');
	background: -moz-linear-gradient(rgba(11,11,11,0.7), rgba(11,11,11,0.8)) repeat-x rgba(11,11,11,0.2);
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(11,11,11,0.7)), to(rgba(11,11,11,0.8))) repeat-x rgba(11,11,11,0.2);
	z-index: 9;

	display: flex;
	justify-content: center;
	align-items: center;
}

.overlay-p {
	font-size: 4em;
	color: white;
	background-color: hsl(0, 0%, 0%, .45);
	border-radius: 10px;
	padding: 1em;
}



.message--warning {
	grid-area: message--warning;

	border: 2px solid red;
	font-size: 1.5rem;
	padding: 1em;
	max-width: 500px;
	margin: 1em auto;
}



.width--50p {
	--width: 44%;
}


.width--100p {
	--width: 99%;
}




/*
	 ,,                                                                 ,,
	 db                       mm                                 mm     db
	                          MM                                 MM
	7MM `7MMpMMMb.  ,pP"Ybd mmMMmm `7Mb,od8 `7MM  `7MM  ,p6"bo mmMMmm `7MM  ,pW"Wq.`7MMpMMMb.  ,pP"Ybd
	 MM   MM    MM  8I   `"   MM     MM' "'   MM    MM 6M'  OO   MM     MM 6W'   `Wb MM    MM  8I   `"
	 MM   MM    MM  `YMMMa.   MM     MM       MM    MM 8M        MM     MM 8M     M8 MM    MM  `YMMMa.
	 MM   MM    MM  L.   I8   MM     MM       MM    MM YM.    ,  MM     MM YA.   ,A9 MM    MM  L.   I8
	JMML.JMML  JMML.M9mmmP'   `Mbmo.JMML.     `Mbod"YML.YMbmd'   `Mbmo.JMML.`Ybmd9'.JMML  JMML.M9mmmP'
*/

.instructions 	{
	grid-area: instructions;
	background: hsl(60 100 50 /.70);
	font-size: 1.25rem;
}

.instructions__actions {
	padding: 1em;
}

.instructions__p 	{
	padding: .5em 0;
}

.instructions__ul li	{
	margin-left: 1.5em;
}


.instructions span {
	font-weight: bold;
	text-decoration: underline;
}




.modal-dialog {
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
width: auto;
overflow-y: auto;
}
.modal-dialog:target {
	opacity:1;
	pointer-events: auto;
}
.modal-dialog .page-information {
	max-width: 900px;
	width: fit-content;
	position: relative;
	margin: 10% auto;
	padding: 5px 20px 13px 20px;
	border-radius: 10px;
	background: #fff;
	background: -moz-linear-gradient(#fff, #999);
	background: -webkit-linear-gradient(#fff, #999);
	background: -o-linear-gradient(#fff, #999);
}


.modal-dialog td {
	table-layout: fixed;
	word-wrap: break-word;
	white-space: normal;
	padding: 5px;
}

.modal-dialog h1{
	font-size: 1.45rem;
}
.modal-dialog caption{
	background-color: black;
	color: white;
	font-size: 1.25rem;
	font-weight: bold;
}


.modal-dialog .close {
	background: #606061;
	color: #FFFFFF;
	line-height: 25px;
	position: absolute;
	right: -12px;
	text-align: center;
	top: -10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}

.modal-dialog .close:hover {
	background: white;
	color: black;
}
.modal-dialog .close:hover, .close:focus {
	color: #aaa;
	text-decoration: none;
	cursor: pointer;
}

.modal-dialog li {
	margin: 10px 20px;
	list-style-type: disc;
	padding: 0px 10px;
}

/*
	  ,,                          ,,    ,,
	`7MM                        `7MM    db
	  MM                          MM
	  MM  ,pW"Wq.   ,6"Yb.   ,M""bMM  `7MM  `7MMpMMMb.  .P"Ybmmm
	  MM 6W'   `Wb 8)   MM ,AP    MM    MM    MM    MM :MI  I8
	  MM 8M     M8  ,pm9MM 8MI    MM    MM    MM    MM  WmmmP"
	  MM YA.   ,A9 8M   MM `Mb    MM    MM    MM    MM 8M
	.JMML.`Ybmd9'  `Moo9^Yo.`Wbmd"MML..JMML..JMML  JMML.YMMMMMb
	                                                   6'     dP
	                                                   Ybmmmd'
*/

.loading 	{
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	left:0;
	background: rgba(46,26,70,.9);
	background-image: linear-gradient( 10deg, rgba(46,26,70,.9) 5%, rgba(2,0,35,.9) 85%, rgba(46,26,70,.9) 100%);

	z-index:100000;
	display: flex;
	align-items: center;
	justify-content: center;
}
.loading--p {
	text-align: center;
	font-size: 5em;
	color: white;
}

//.loading--p:after {
//	content: 'Loading....'
//}




.status__complete	{
	background: green;
	color: white;
	display: none;
	min-height: 100px;
	padding: 1em;
	margin: 1em;
	width: 100%;
	border: thick solid black;
}

.status__error 	{
	display: none;
	background: red;
	color: white;
	font-size: 1.35rem;
	font-weight: bold;
	margin: 1em;
	min-height: 75px;

}