/* This styles the look and feel of the TOOLS pages */
/* Devised by Dorte Knights-Branch Oct2012; revised by Keith Johnson Nov2012 */

html {padding:0px; margin:0px;}
body {padding:0px; margin:0px; text-align:center; background-color:#fff; text-align:center; font-size:9pt; color:#666; font-family:verdana, arial, sans-serif;}

/*Styling of links */
a:link, a:visited {color:#5d8432;}
a:hover {color:#00f;}

/* Styles for the footer section of the pages */

.footer-list {
	list-style-type:none;
	margin:0;
	padding:0;
	}

.footer-list li {
	display:inline;
	}

#footer {
	font-family: verdana, arial, sans-serif;
	color: #18a;
	font-weight: normal;
}

/*Styling of headers and text */
h1 {color:#999; font-size:14pt; border-bottom:1px solid #999; font-weight:normal;}
h2 {color:#5d8432; font-size:12pt; font-weight:bold; margin:0px; padding:0px;}

.red {color:#f54804;}

.bodyblue {color:#00adef;}

.boldorange {color: #b85f29; font-weight: bold;}

.mainheadblack {
	color: #000;
	font-family: verdana, arial, sans-serif;
	font-size: 24px;
	font-weight: bold;
}

.body13pt {
	color: #000;
	font-family: verdana, arial, sans-serif;
	font-size: 13px;
	font-weight: bold;
}

.bodytextlabel {
	font-family: verdana, arial, sans-serif;
	font-size: 14px;
	font-weight: bold;
	color: #5d8432;
}

.TT-options {
	font-style: italic;
	font-weight: bold;
	color: #00F;
}

.critical-error {
	text-align: center;
	font-size: 24px;
	font-weight: bolder;
	color: red;
	}

/*Styling of tables */
table {font-size:10pt;}
table th {background-color:#707070; color:#ffffff; font-size:12px; padding:5px;}
table td.data {background-color:#efefef; font-size:12px; text-align:center;}
table td.dataright {background-color:#efefef; font-size:12px; text-align:right;}
table td.error {background-color:#ffffff; font-size:11px; color:#f54804; font-weight:bold;}

/*The main container of all content*/
#Container {position:relative; margin:20px auto 0px auto; padding:0px 0px 0px 0px; width:900px; text-align:left; background-color:#fff;}

/* Ensure radio buttons are aligned with labels */
.columnList {
	columns: auto 3;
}
.columnList input[type='radio'], .columnList label  {
	vertical-align: bottom;
}

@media (max-width: 599px) {
	.columnList {
		columns: 1;
	}
}

/* Free-choice entry (single-sheet layout) */
.freeform-instructions {
	font-size: 14px;
	text-align: left;
	margin: 0 0 1em 0;
}

.freeformChoices {
	width: 100%;
	max-width: 100%;
	text-align: left;
	overflow-x: hidden;
	box-sizing: border-box;
}

/* Mobile-first: single column; wider screens use 2 then 3 columns */
.freeform-family-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.6em 0;
	align-items: start;
}

@media (min-width: 600px) {
	.freeform-family-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.5em 1em;
	}
}

@media (min-width: 900px) {
	.freeform-family-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.freeform-entry-chip {
	font-size: 16px;
	line-height: 1.45;
	min-height: 2.5em;
	min-width: 0;
	max-width: 100%;
	padding: 0.35em 0;
	border-bottom: 1px solid #eee;
	box-sizing: border-box;
}

.freeform-entry-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 0.35em;
	align-items: center;
	max-width: 100%;
}

.freeform-subject-line {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.freeform-subject-label {
	font-weight: bold;
}

.freeform-abb-wrap {
	font-weight: bold;
	white-space: nowrap;
}

.freeform-entry-controls {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	flex-shrink: 0;
}

.freeform-entry-status {
	color: #666;
	font-size: 13px;
	font-style: italic;
	white-space: nowrap;
	text-align: right;
	flex-shrink: 0;
}

.freeform-abb-wrap .abb-level-5 {
	color: #2d7a2d;
}

.freeform-abb-wrap .abb-level-6 {
	color: #c41e1e;
}

.freeform-abb-wrap .abb-level-7 {
	color: #1a5fb4;
}

.freeform-abb-wrap .abb-level-other {
	color: #555;
}

.freeform-enable {
	width: 1.1em;
	height: 1.1em;
	flex: 0 0 auto;
	vertical-align: middle;
}

.freeform-choice-input {
	font-size: 14px;
	width: 2.4em;
	max-width: 2.4em;
	min-width: 2.4em;
	padding: 2px 4px;
	text-align: center;
	box-sizing: border-box;
	flex: 0 0 auto;
	scroll-margin-top: 4em;
}

.freeform_error {
	display: block;
	min-height: 1.2em;
	font-size: 12px;
}

.freeform-actions {
	grid-column: 1 / -1;
	text-align: center;
	margin-top: 1em;
	padding-top: 0.5em;
}

/* Narrow and medium widths: prevent horizontal scroll from fixed 900px container */
@media (max-width: 899px) {
	#Container {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		padding-left: 0.5em;
		padding-right: 0.5em;
	}
}

/* Narrow screens: full-width layout, larger touch targets, readable labels */
@media (max-width: 599px) {
	.freeform-instructions {
		font-size: 15px;
	}

	.freeform-entry-chip {
		padding: 0.5em 0;
	}

	.freeform-entry-inner {
		grid-template-columns: 1fr;
		row-gap: 0.35em;
	}

	.freeform-subject-line {
		white-space: normal;
		overflow: visible;
		text-overflow: clip;
	}

	.freeform-entry-status {
		text-align: left;
	}

	.freeform-enable {
		width: 1.35em;
		height: 1.35em;
	}

	.freeform-choice-input {
		width: 2.6em;
		max-width: 2.6em;
		min-width: 2.6em;
		padding: 6px 4px;
		font-size: 16px;
	}

	.freeform-actions input[type="submit"],
	.freeform-actions input[type="reset"],
	.freeform-actions input[type="button"] {
		display: block;
		width: 100%;
		max-width: 20em;
		margin: 0.35em auto;
		font-size: 16px;
		padding: 0.5em;
	}
}

.freeform-rank-grid {
	grid-template-columns: minmax(0, 1fr);
}

.freeform-select-list {
	columns: auto 4;
	list-style: none;
	padding: 0;
	margin: 1em auto;
	max-width: 900px;
	text-align: left;
	border: 1px solid #ccc;
	background: #dfc;
}

.freeform-select-item {
	padding: 4px 8px;
	break-inside: avoid;
}

.freeform-select-item label {
	cursor: pointer;
}

.freeform-select-already {
	color: #666;
}

.freeform-rank-list {
	list-style: none;
	padding: 0;
	margin: 1em auto;
	max-width: 600px;
	text-align: left;
	border: 1px solid #ccc;
	background: #fff;
}

.freeform-rank-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5em;
	padding: 8px 10px;
	border-bottom: 1px solid #ddd;
}

.freeform-rank-item:last-child {
	border-bottom: none;
}

.freeform-rank-selected {
	background: #dfc;
	border-left: 4px solid #393;
}

.freeform-rank-not-selected {
	background: #f8f8f8;
	color: #666;
}

.freeform-rank-band-start {
	border-top: 3px solid #ccc;
}

.freeform-rank-reserve {
	background: #eef6ff;
}

.freeform-rank-badge {
	display: inline-block;
	min-width: 1.5em;
	font-weight: bold;
	text-align: center;
}

.freeform-rank-move button {
	margin-right: 0.25em;
}

.freeform-rank-reserve-actions button {
	margin-left: 0.25em;
	font-size: 0.9em;
}

.freeform-rank-status {
	font-size: 0.9em;
	font-style: italic;
}

.freeform-rank-label {
	flex: 1 1 200px;
}

@media (min-width: 600px) {
	.freeform-rank-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	.freeform-select-list {
		columns: 1;
	}
}

.choices-cell {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
}

.choices-side {
	text-align: right;
	padding-right: 0.75em;
}

.choices-side:last-child {
	padding-right: 0;
}

/* Notice to TOOLS Users -- If you change anything please take care to test it rigorously afterwards. */
