/* Imports */
@font-face {
	font-family: andaleSans;
	src: url(fonts/andalesanswgl.ttf);
}

/* General */
html,
body {
	height: 100%;
	width: 100%;
	margin: 0px;
	padding: 0px;
	background-color: #FFFFFF;
	min-height: 700px;
}

::-webkit-scrollbar {
	width: 0px;
}

/* Header */
#header {
	border-style: solid;
	border-width: 0 0 5px 0;
	font-family: andaleSans;
}

#alfaAbbreviated {
	font-size: 100px;
	color: #D00000;
	line-height: 75%;
	margin: 15px;
	display: inline-block
}

#alfaExtended {
	font-size: 22px;
	display: inline-block
}

/* Sidebar */
.sidebar {
	margin-top: 15px;
	float: left;
	height: 100%;
	width: 220px;
	overflow: scroll;
	margin-right: 15px;
}

.navContainer {
	display: flex;
	flex-direction: column;
	text-align: left;
	justify-content: flex-start;
}

.navItem {
	text-align: left;
	font-size: 20px;
	padding-left: 25px;
}

.sidebarHeader:hover {
	background-color: rgb(208, 0, 0, .5)
}

.sidebarHeader {
	line-height: 50px;
	padding-left: 15px;
	height: 50px;
	color: black;
	text-align: left;
	font-size: 29px;
	font-family: andaleSans;
}

.smallNav {
	padding-left: 35px;
	font-size: 20px;
}

.sidebar a,
.sidebar a:visited {
	color: #000099;
	text-decoration: none;
}

.navItem:hover {
	color: #D00000;
}

.navItem:active {
	color: #6633cc;
}

.navLink {
	font-size: 20px;
	font-family: andaleSans;
}

/* Page Content */
#content {
	margin: 15px 15px 10px 0px;
	width: calc(100% - 373px);
	height: 100%;
	display: inline-block;
	padding-left: 30px;
	border-style: solid;
	border-width: 0px 0px 0px 3px;
	border-color: #000033;
	overflow: scroll;
}

.familyHeader {
	font-size: 50px;
	margin-top: 5px;
	font-family: andaleSans;
	margin-bottom: 5px;
}

.fontHeader {
	padding-left: 20px;
	font-family: andaleSans;
	margin-top: 10px;
	margin-bottom: 5px;
}

.flexContainer {
	margin-left: 25px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	align-content: center;
}

.flexItem {
	font-size: 50px;
	height: 65px;
	width: 65px;
	margin: 2px;
	border-style: solid;
	border-color: red;

	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
}

.contentHeader {
	font-family: andaleSans;
	font-size: 45px;
	margin-bottom: 25px;
}

.introParagraph {
	font-family: andaleSans;
	margin-bottom: 15px;
}

input[type="file"] {
	margin-bottom: 20px;
	font-size: 20px;
	font-family: andaleSans;
}

label {
	font-size: 25px;
	font-family: andaleSans;
	margin-right: 10px;
}

.introParagraph a,
.introParagraph a:visited {
	color: rgb(208, 0, 0);
	text-decoration: none;
}

.introParagraph a:hover {
	text-decoration: none;
	color: blue;
}

/* Accordions */
.accordion {
	font-family: andaleSans;
	color: black;
	font-size: 30px;
	cursor: pointer;
	padding: 15px;
	width: 100%;
	text-align: left;
	outline: none;
	margin-top: -3px;
	background-color: #eee;
	border: solid;
	border-width: 3px 3px 3px 3px;
	transition: 0.4s;
}

.active,
.accordion:hover {
	background-color: #ccc;
}

.accordion:after {
	content: '\002B';
	color: #777;
	font-weight: bold;
	float: right;
	margin-left: 5px;
}

.active:after {
	content: "\2212";
}

.accordionContent {
	background-color: #FFFFFF;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
	margin-bottom: 15px;
}

.navAccordion {
	font-family: andaleSans;
	color: black;
	height: 50px;
	line-height: 50px;
	font-size: 29px;
	cursor: pointer;
	width: 100%;
	text-align: left;
	outline: none;
	background-color: #FFFFFF;
	transition: 0.4s;
	border: none;
}

.navAccordion a {
	color: black;
}

.navAccordion a,
.navAccordion a:visited {
	color: black;
	text-decoration: none;
}

.navActive,
.navAccordion:hover {
	background-color: rgb(208, 0, 0, .5);
}

.navAccordion:after {
	content: '\002B';
	color: #777;
	font-weight: bold;
	float: right;
	margin-left: 5px;
}

.navActive:after {
	content: "\2212";
}

/* Labeler */
input[type="text"] {
	font-size: 16px;
	padding: 5px;
	width: 300px;
}

.image-container {
	display: inline-block;
	margin: 10px;
	border: 4px solid transparent;
	padding: 5px;
	text-align: center;
}

#labelerContent img {
	max-height: 120px;
	display: block;
	margin-bottom: 5px;
}

#labelerContent {
	font-family: andaleSans;
}

.trueButton,
.falseButton {
	margin: 3px;
}

.true {
	border-color: green;
}

.false {
	border-color: #D00000;
}

#reselectMessage {
	color: darkred;
	font-weight: bold;
	margin-bottom: 10px;
	display: none;
}

/* Glyph Analyzer */
.error {
	color: red;
}

.results-grid,
.supplemental-grid {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-top: 15px;
	align-items: left;
}

.result-card,
.supp-card {
	border: 1px solid #ccc;
	padding: 10px 15px;
	border-radius: 8px;
	background-color: #f9f9f9;
	width: 100%;
	max-width: 600px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.supp-card strong {
	display: block;
	font-size: 0.95em;
	margin-bottom: 4px;
	color: #555;
}

.supplemental {
	margin-top: 15px;
}

.spinner-container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 15px;
}


.spinner {
	width: 70px;
	height: 70px;
	border: 10px solid #f3f3f3;
	/* Light grey */
	border-top: 10px solid #3498db;
	/* blue */
	border-radius: 50%;
	animation: spin 1.75s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

#downloadTable
{
	
	width:100%;
	font-family:andaleSans;
}

#downloadTableHeader
{
	text-align:center;
}

#downloadTable tr
{
	width:100%;
}

.fileColumn
{
	text-align:center;
	width:25%;
	border:1px solid black;
}

.downloadLink a:visited
{
	color:#0000EE;
	text-decoration:none;
}
.downloadLink a:hover
{
	color:#red;
}

.descriptionColumn
{
	border-style:solid;
	border-color:black;
	border-width:1px;
}

.downloadDescription
{
	padding-left:10px;
}

/* #results {
	background-color: rgb(208, 0, 0, .3);
	padding-bottom: 20px;
	padding-top: 20px;
} */

#analyzeButton {
	font-size: 25px;
	font-family: andaleSans;
	margin-left: 0;
	margin-right: auto;
	display: block;
	padding-left: 10px;
	padding-right: 10px;
}

.preview-container {
	margin-top: 15px;
	margin-bottom: 10px;
}

#imagePreview {
	display: none;
	max-width: 100%;
	max-height: 300px;
	object-fit: contain;
	border: 1px solid #ccc;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
