:root {
	--border-color: #979797;
}

body {
	background-color: #3b6ba1;
	color: #ffffff;
	font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana,
		sans-serif;
	margin-bottom: 24px;
}

#header {
	background-image: url("media/header.jpg");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	display: flex;
	justify-content: center;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	font-size: 30px;
	color: #fff;
	height: 100%;
	text-shadow: black 2px 5px 5px;
	border-color: transparent;
	border-radius: 2px;
	border-width: 0px 0px 0px 0px;
}

.header {
	height: 40vh;
	min-height: 200px;
}

@media only screen and (max-width: 1500px) {
	#content {
		width: 95% !important;
	}

	#header {
		font-size: 20px;
	}
}
#content {
	background-color: #1d4f74;
	border-radius: 4px;
	border-width: 3px;
	border-color: var(--border-color);
	border-style: solid;
	width: 60%;
	margin-left: auto;
	margin-right: auto;
}

.tabcontent {
	padding: 10px 10px 20px 20px;
	overflow-x: hidden;
	overflow-y: auto;
}

@media only screen and (max-width: 750px) {
	#tabs {
		flex-direction: column !important;
		align-items: flex-start !important;
		justify-content: left !important;
	}

	.current-tab {
		position: absolute !important;
		justify-self: center !important;
		max-width: 165px !important;
	}

	/* Hack to get around not being able to select first
	child of certain class */
	#tabs > .tab {
		margin-top: 51px !important;
	}
	#tabs > .tab ~ .tab {
		margin-top: 0px !important;
	}
}
#tabs {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
	border-style: solid;
	border-color: var(--border-color);
	border-width: 0px;
	border-bottom-width: 1px;
	overflow-x: auto;
	overflow-y: hidden;
	height: 53px;
	padding: 6px;
	padding-bottom: 0px; /* Applied per-tab with margin */
}

@media only screen and (max-width: 750px) {
	.current-tab::before {
		content: "\2630";
		font-size: xx-large;
		margin-right: 8px;
	}
	.tab,
	.current-tab {
		justify-content: left !important;
		padding-left: 6px;
	}
}

.tab,
.current-tab {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #2669b1;
	border-style: none;
	margin: 1px;
	outline: none;
	min-height: 52px;
	color: #ffffff;
	text-decoration: none;
	font-size: larger;
	font-weight: bolder;
	min-width: 100px;
	max-width: 140px;
	width: 50%;
	cursor: pointer;
	-ms-user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	-khtml-user-select: none;
	user-select: none;
}

.current-tab {
	background-color: #368ee0;
}

.tab:active,
.current-tab:active,
.tab:focus,
.current-tab:focus {
	background-color: #40a3f3 !important;
}

.tab:hover,
.current-tab:hover {
	background-color: #008cff !important;
}

#copyright {
	text-shadow: black 1px 1px 1px;
	font-size: small;
}

.thumbnail {
	padding: 10px 0px;
	text-align: center;
}

.tabcontent :link,
.tabcontent a,
#important :link,
#important a {
	color: #febc2f;
	font-weight: bold;
}

/* :visited, a:visited {
	color: #318df7;
} */

@media only screen and (max-width: 1200px) {
	.tabcontent img {
		max-width: 600px;
	}
}

.tabcontent > a {
	display: block;
	width: max-content;
	max-width: 90%;
	margin-left: auto;
	margin-right: auto;
}

.tabcontent > a > img {
	width: 100%;
	max-width: 400px;
	border-style: ridge;
	border-color: #7d9cbb;
	border-width: 2px;
	border-radius: 2px;
}

/* Gallery */

.gallery-section {
	position: relative;
	border-style: ridge;
	border-color: var(--border-color);
	border-width: 3px;
	border-radius: 2px;
	width: 95%;
	height: 60vh;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
	margin-bottom: 24px;
	background-color: #00000025;
}

.gallery-controls {
	position: absolute;
	margin: 0;
	top: 50%;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	width: 100%;
}

@media only screen and (max-width: 950px) {
	.prev,
	.next {
		padding: 4vw !important;
	}
}
.prev,
.next {
	width: auto;
	padding: 12px;
	font-size: 25px;
	background-color: #00000040;
	display: flex;
	justify-content: center;
	align-content: center;
	z-index: 1;
}
.prev:hover,
.next:hover {
	cursor: pointer;
	background-color: #ffffff40;
}
.prev {
	float: left;
}
.next {
	float: right;
}

.gallery-section {
	display: flex;
	align-items: center;
	justify-content: center;
}

.gallery-section > p {
	position: absolute;
	width: 100%;
	text-align: center;
	align-self: flex-start;
	margin-top: 16px;
	font-weight: bolder;
	font-size: larger;
	text-shadow: black 0px 0px 2px;
	z-index: 1;
}

.gallery-item {
	display: none;
	height: 100%;
	width: 100%;
	justify-self: center;
}

.gallery-item > a {
	height: 100%;
	width: 100%;
}

.gallery-item > a > img {
	object-fit: contain;
	height: 100%;
	width: 100%;
	max-height: 100%;
	max-width: 100%;
}

/* IMPORTANT divs */

#important {
	position: fixed;
	left: 0;
	top: 0;
	display: none;
	justify-content: center;
	align-content: center;
	background-color: #00000093;
	width: 100%;
	height: 100%;
	overflow-y: auto;
	z-index: 1;
}

#important-content {
	align-self: center;
	background-color: #163b57;
	max-width: 85vw;
	width: auto;
	height: max-content;
	max-height: 90vh;
	overflow-y: auto;
	padding: 16px;
	z-index: 2;
}

#important-content p {
	white-space: pre-line;
}

.important-links {
	padding-bottom: 26px;
}

/* QR Code */

#qr-code {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

/* Separator */

.separator {
	width: 100%;
	border-style: solid;
	border-width: 0px;
	border-top-width: 1px;
	border-color: var(--border-color);
}
