:root {
	/* color-scheme: dark light; */
	/* --isda-primary-color: #EEEEEE; */
	/* --isda-primary-color: #FFFFFF; */
	/* --header-background: linear-gradient(to right, #ffffff, #000080); */
}

.dark-theme {
	/* --isda-primary-color: #040D12; */
	/* --isda-primary-color: #FFFFFF; */
	/* --header-background: linear-gradient(to right, #dcdcdc, #ffffff); */
}

body {
	min-width: 100%;
	max-width: 100%;
	min-height: 100%;
	max-height: 100%;
	font-family: 'Hedvig Letters Serif', serif;
	background-color: var(--isda-primary-color);
	/* background-image: url("../images/rainbow-vortex.svg");
	background-repeat: no-repeat;
	background-size: cover; */
	/* background by SVGBackgrounds.com */
	/* font-family: 'Righteous', cursive; */
	/* font-family: var(--bs-font-sans-serif); */
	/* font-family: var(--fa-font-sharp-regular); */
	/* background-color: var(--bs-gray-400); */
}

.header {
	display: flex;
	box-sizing: border-box;
	flex-flow: row nowrap;
	max-width: inherit;
	height: 8em;
	/* border-bottom: 2px white solid; */
	/* background-color: #B3E5FC; */
	background-color: #E0F7FA;
	/* background: linear-gradient(to right, #ecf1f7, #c8cbce); */
	/* background: linear-gradient(to right, #bea206, #c98a46); */
	/* background: var(--header-background); */
	justify-content: space-between;
}

.header > * {
	padding: 0 4em;
}

.header_logo {
	box-sizing: border-box;
	height: inherit;
}

#header_img {
	aspect-ratio: auto;
	height: 7em;
}

.header_text {
	font-size: 2.3em;
}

.header_links {
	text-align: center;
}

.header_links > a {
	font-size: 1.3em;
	/* color: black; */
	text-decoration: none;
}

.header_links > a:hover {
	text-decoration: underline;
}

.search_submit_btn {
	background-color: #FF6347;
}

.search_submit_btn:hover {
	background-color: #FFA500;
}

.search_submit_btn:active {
	background-color: #FF8C00;
}

#theme_changer {
	cursor: pointer;
}

#theme_changer:hover {
	filter: drop-shadow(0 0 6px #000000);
}

.protein_header {
	width: 100%;
	justify-content: flex-start;
}

.protein_header > .nav-item {
	border: 0.1em solid #505050;
	border-radius: 3px;
	flex: 1 1 auto;
	text-align: center;
}

.nav-link.active {
	background-color: #FFA500;
}

.summary_container {
	max-width: 100%;
	min-width: 80%;
	border: 0.15em solid rgb(125 125 125 / 0.5);
	display: flex;
}

.image_overlay_text {
	position: absolute;
	bottom: 0%;
	left: 50%;
	transform: translate(-50%, 0%);
	min-width: 100%;
	text-align: center;
	box-sizing: content-box;
	background: linear-gradient(rgb(255 255 255 / 0), rgb(0 0 0 / 0.3));
}

.summary_info {
	align-self: flex-start;
}

#summary_image {
	align-self: flex-end;
}

.escape_flex {
	display: inline;
}

.summary_title {
	font-size: 1.3em;
	font-weight: bolder;
}

fieldset {
	/* background-color: rgb(125 125 125 / 0.7); */
	background-color: rgb(255 255 255);
}

fieldset.bordered {
	border: 0.15em solid #888888;
	padding-bottom: 0.5em;
}

fieldset.bordered > legend {
	background-color: #FFEFD5;
	padding: 0.15em;
	/* color: #ffffff; */
	margin-bottom: 0.5em;
	margin-top: -0.5em;
	/* border: 0.1em solid rgb(125 125 125 / 0.3); */
}

fieldset.fixed {
	max-height: 25em;
	overflow-y: auto;
}

fieldset.fixed > legend {
	background: linear-gradient(0.25turn, #3f87a6, #ebf8e1, #f69d3c);
}

table {
	text-align: center;
	border-color: black;
}

#validation_container {
	text-align: center;
}

.table .checkbox_div {
	width: 2em;
}

/* .data_div > .data_header {
	background-color: #1c2024;
	color: white;
} */

.error_color {
	color: #800000;
}

.search_navbar {
	background-color: #f5f5f5;
}

/* .search_navbar.sticky {
position: fixed;
top: 0;
} */

.search_navbar ul.collapse {
	max-height: 200px !important;
	width: 100%;
	overflow-x: hidden !important;
}

.card-header, .card-body {
	background-color: #E6E6FA;
	border: 0;
}

.card-footer {
	color: white;
	background-color: black;
	opacity: 0.7;
}

.filter_text {
	font-size: 0.85em;
	color: black;
}

.submit_filter {
	background-color: #8056b3;
	border-color: #f4f6f9;
}

.filter_header {
	color: #8056b3;
}

.submit_filter:hover {
	background-color: #775d97;
	border-color: #f4f6f9;
}

.filter_header:hover {
	color: #8056b3;
}

.filter_header:focus {
	color: #8056b3;
}

img:not(.validation_report) {
	image-rendering: -webkit-optimize-contrast;
	image-rendering: smooth;
}

a[target=_blank]:not(.validation_report)::after {
	content: ' \F1C5';
	font-family: 'Bootstrap-icons';
	font-weight: bold;
	font-size: 0.5em;
	vertical-align: super;
}

#macro_body > * {
	width: auto;
	max-width: 50%;
}

legend.padded_legend {
	padding-bottom: 4em;
}

#host_class_selector {
	max-width: 75% !important;
}

.half_rows > span {
	width: 50%;
}

.img-box {
	--height: min(28em, 27vw);
	height: var(--height);
	width: calc(var(--height) * 0.2);
	border-radius: calc(var(--height) * 0.1);
	transition: width 0.5s;
	border: 1px solid rgb(55,55,55);
	& h3 {
		top: 0;
		left: 0.5em;
		opacity: 0;
		transition: top 0.5s, opacity 0.25s 0.25s;
	}
	&.active {
		width: var(--height);
		& h3 {
			opacity: 1;
			top: 0.5em;
		}
	}
}

#feedback-form {
	top: initial;
	bottom: 120px;
}

.text-justify {
	text-align: justify;
}
/* Mobile breakpoint */
@media only screen and (max-width: 768px) {
	.pagination-md-sm {
		--bs-pagination-padding-x: 0.5rem;
		--bs-pagination-padding-y: 0.25rem;
		--bs-pagination-font-size: 0.875rem;
		--bs-pagination-border-radius: var(--bs-border-radius-sm);
	}

	.full_image_container {
		width: 100%;
	}

	#host_class_selector {
		max-width: 95% !important;
	}

	.half_rows > span {
		width: 100%;
	}

	.img-box {
		width: 500px;
	}
}

/* Minimum medium breakpoint */
@media only screen and (min-width: 768px) {
	.border-md-right {
		border: 0 !important;
		border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
	}

	.border-md-left {
		border: 0 !important;
		border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
	}

	.border-md-middle {
		border: 0 !important;
		border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
		border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
	}

	.full_image_container {
		width: 35%;
	}
}
