:root {
	--clr-primary: #2fa5e7;
	--level-1: #8dccad;
	--level-2: #f5cc7f;
	--level-3: #7b9fe0;
	--level-4: #f27c8d;
	--black: black;
}

body {
	background-color: #eeeeee;
	color: #000000;
	font-family: "Arial", sans-serif;
	margin: 0px;
}

#social-bar {
	height: 50px;
	display: flex;
	flex-direction: row !important;
	justify-content: center;
	align-items: left;
}

.fa {
	padding: 10px;
	font-size: 30px;
	width: 30px;
	text-align: center;
	text-decoration: none;
}

.fa-facebook {
	background: #3b5998;
	color: white !important;
	text-decoration: none;
}

header {
	background-color: #dddddd;
	height: 65px;
	font-size: 1rem;
	position: sticky;
	top: 0px;
	z-index: 9;
	box-shadow: 0px 0px 1px #000000;
}

#logo {
	height: 100%;
	margin: 0px 40px;
	float: left;
	color: #ffffff;
	display: flex;
	align-items: center;
}

#logo img {
	height: 95%;
}

@media only screen and (max-width: 700px) {
	header {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	header i {
		padding: 25px;
		font-style: normal;
	}

	header i::before {
		content: "\2630";
	}

	#logo {
		margin: 0px 5px;
	}

	div.navbar {
		display: none;
	}

	div#jumbotron {
		height: 800px;
	}

	div#jumbotron img {
		height: 92vh;
		object-fit: cover;
	}

	#logged-in-menu {
		display: none !important;
	}
}

#mobile-nav-items {
	background-color: #333333;
	display: none;
	justify-content: center;
}

#mobile-nav-items a {
	color: #ffffff;
	text-decoration: none;
	text-transform: uppercase;
	width: 100%;
}

#mobile-nav-items ul {
	list-style-type: none;
	padding: 0px;
}

#mobile-nav-items ul li {
	padding: 20px 0px;
	text-align: center;
}

#nav-items {
	height: 100%;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}

#nav-items a {
	height: 100%;
	width: 100%;
	max-width: 8%;
	text-decoration: none;
	color: #000000;
	display: flex;
	align-items: center;
	transition: all 0.3s ease;
}

#nav-items a:hover {
	color: var(--clr-primary);
}

#nav-items span {
	display: block;
	text-align: center;
	width: 100%;
	text-transform: uppercase;
}

.navbar a.active {
	color: var(--clr-primary);
	border-top: 5px solid var(--clr-primary);
}

.navbar .dropdown2 a.active {
	color: var(--clr-primary);
	border-top: 3px solid var(--clr-primary);
}

#logged-in-menu {
	background-color: #dddddd;
	list-style: none;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	margin: 0px;
	height: 75px;
	text-transform: uppercase;
}

#logged-in-menu a {
	color: #000000;
	text-decoration: none;
	height: 100%;
	width: 100%;
	transition: all 0.3s ease;
}

#logged-in-menu a:hover {
	color: var(--clr-primary);
}

#jumbotron {
	width: 100%;
	position: relative;
}

div#jumbotron ul#no-spacing {
	padding: 0px;
	margin: 0px;
}

#jumbotron img {
	width: 100%;
	z-index: 1;
}

#jumbotron > * {
	color: #ffffff;
	z-index: 2;
	text-shadow: 2px 2px #000000;
}

#jumbotron p {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 3rem;
	background-color: rgba(0, 0, 0, 0.4);
	padding: 25px;
}

#jumbotron p span {
	font-size: 1.75rem;
}

section {
	padding: 0px 20px;
	/* min-height: 75vh; */
	width: 75%;
	margin: 0px auto;
}

section ul {
	padding: 10px 0px 20px 40px;
}

section h3 {
	font-size: 1.5rem;
	color: var(--clr-primary);
	padding: 15px 0px;
}

section h4 {
	font-size: 1.25rem;
	color: var(--clr-primary);
	padding: 15px 0px;
}

table {
	border-collapse: collapse;
	border: 1px solid var(--clr-primary);
	margin-bottom: 20px;
}

table tr:nth-child(even),
table.offset-colours tr:nth-child(even) {
	background-color: #cccccc;
}

table tr td {
	text-align: center;
}

table th,
table td {
	height: 50px;
	width: 300px;
}

table tr th {
	background-color: var(--clr-primary);
	color: #ffffff;
}

.no-border {
	border: none;
}

form table {
	border: none;
}

form table tr:nth-child(even) {
	background-color: #dddddd;
}

form #contact {
	display: none;
}

.about {
	padding: 0px 30px;
}

.cards {
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
	gap: 20px;
	padding: 20px 0px;
}

.card {
	padding: 2rem;
	width: 300px;
	height: 400px;
	display: block;
	background-color: #cccccc;
	border-radius: 5px;
}

.card p {
	padding: 0px 0px;
}

.card img {
	width: 300px;
}

.card button {
	min-width: 30%;
	height: 30px;
	background-color: transparent;
	border: 2px solid var(--clr-primary);
	color: var(--clr-primary);
	padding: 5px;
	cursor: pointer;
	border-radius: 25px;
	font-size: 1rem;
	font-weight: 600;
	transition: 0.5s;
	text-transform: uppercase;
}

.card button span {
	padding: 20px;
	line-height: 0px;
}

.card button span::after {
	content: "\279C";
	padding-left: 5px;
}

.card button:hover {
	background-color: var(--clr-primary);
	color: #ffffff;
}

.flex-table {
	display: flex;
	justify-content: center;
	padding: 50px;
}

.db-table {
	border-collapse: collapse;
	overflow-x: auto;
	min-width: 50%;
	font-size: 1.25rem;
}

.db-table th {
	background-color: var(--clr-primary);
	color: #ffffff;
	font-weight: 600;
	padding: 10px;
	text-align: left;
}

.db-table tr:nth-child(odd) {
	background-color: #aaaaaa;
}

.db-table tr:nth-child(even) {
	background-color: #dddddd;
}

.db-table td {
	padding: 10px;
}

.files {
	font-size: 25px;
}

footer {
	padding: 25px;
	background: #333333;
	color: #ffffff;
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
	align-items: center;
}

footer a {
	color: #ffffff;
	text-decoration: none;
}

footer div {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: left;
	width: 33.3%;
}

.gallery {
	padding: 20px;
	width: 45%;
}

#uc-body {
	background-image: url("https://upload.wikimedia.org/wikipedia/commons/f/fa/Jamsil_Baseball_Stadium_panorama_%28April_28_2017%29.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	height: 100vh;
	position: relative;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	position: relative;
}

#uc-body::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.6);

	margin: -20px;
}

#uc-body * {
	color: #ffffff;
	text-decoration: none;
	text-shadow: 0.2rem 0.2rem #000000;
}

#uc-message {
	font-size: 5rem;
}

.register {
	display: flex;
	justify-content: center;
	margin: 25px;
}

.register input,
.register select {
	padding: 5px;
	width: 200px;
}

.navbar {
	background-color: #dddddd;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	height: 65px;
	text-align: center;
}

.navbar a {
	font-size: 1rem;
	height: 100%;
	width: 100%;
	text-decoration: none;
	color: #000000;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.3s ease;
	text-transform: uppercase;
}

.navbar a:hover,
.dropdown2:hover .dropbtn {
	color: var(--clr-primary);
}

.dropdown2 {
	width: 100%;
	height: 100%;
}

.dropdown-content2 {
	display: none;
	position: absolute;
	top: 0;
	background-color: #dddddd;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 999;
	padding: 0px 50px;
}

.dropdown-content2 a {
	text-decoration: none;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	height: 55px;
	width: 100%;
}

.dropdown2:hover .dropdown-content2 {
	display: block;
	width: 10%;
}

#editor {
	background-color: #eeeeee;
}

/* Styles for Org Chart */

div.chart-wrap {
	display: flex;
	justify-content: center;
	margin-top: 25px;
}

ol.organizational-chart img {
	width: 100px;
}

ol.organizational-chart,
ol.organizational-chart h1,
ol.organizational-chart h2,
ol.organizational-chart h3,
ol.organizational-chart h4,
ol.organizational-chart h5,
ol.organizational-chart h6 {
	color: black !important;
	font-size: 1.25rem;
}

ol.organizational-chart,
ol.organizational-chart ol,
ol.organizational-chart li,
ol.organizational-chart li > div {
	position: relative;
}

ol.organizational-chart,
ol.organizational-chart ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

ol.organizational-chart {
	text-align: center;
}

ol.organizational-chart ol {
	padding-top: 1em;
}

ol.organizational-chart ol:before,
ol.organizational-chart ol:after,
ol.organizational-chart li:before,
ol.organizational-chart li:after,
ol.organizational-chart > li > div:before,
ol.organizational-chart > li > div:after {
	background-color: #b7a6aa;
	content: "";
	position: absolute;
}

ol.organizational-chart ol > li {
	padding: 1em 0 0 1em;
}

ol.organizational-chart > li ol:before {
	height: 1em;
	left: 50%;
	top: 0;
	width: 3px;
}

ol.organizational-chart > li ol:after {
	height: 3px;
	left: 3px;
	top: 1em;
	width: 50%;
}

ol.organizational-chart > li ol > li:not(:last-of-type):before {
	height: 3px;
	left: 0;
	top: 2em;
	width: 1em;
}

ol.organizational-chart > li ol > li:not(:last-of-type):after {
	height: 100%;
	left: 0;
	top: 0;
	width: 3px;
}

ol.organizational-chart > li ol > li:last-of-type:before {
	height: 3px;
	left: 0;
	top: 2em;
	width: 1em;
}

ol.organizational-chart > li ol > li:last-of-type:after {
	height: 2em;
	left: 0;
	top: 0;
	width: 3px;
}

ol.organizational-chart li > div {
	background-color: #fff;
	border-radius: 3px;
	min-height: 2em;
	padding: 0.5em;
}

/*** PRIMARY ***/
ol.organizational-chart > li > div {
	background-color: #a2ed56;
	margin-right: 1em;
}

ol.organizational-chart > li > div:before {
	bottom: 2em;
	height: 3px;
	right: -1em;
	width: 1em;
}

ol.organizational-chart > li > div:first-of-type:after {
	bottom: 0;
	height: 2em;
	right: -1em;
	width: 3px;
}

ol.organizational-chart > li > div + div {
	margin-top: 1em;
}

ol.organizational-chart > li > div + div:after {
	height: calc(100% + 1em);
	right: -1em;
	top: -1em;
	width: 3px;
}

/*** SECONDARY ***/
ol.organizational-chart > li > ol:before {
	left: inherit;
	right: 0;
}

ol.organizational-chart > li > ol:after {
	left: 0;
	width: 100%;
}

ol.organizational-chart > li > ol > li > div {
	background-color: #83e4e2;
}

/*** TERTIARY ***/
ol.organizational-chart > li > ol > li > ol > li > div {
	background-color: #fd6470;
}

/*** QUATERNARY ***/
ol.organizational-chart > li > ol > li > ol > li > ol > li > div {
	background-color: #fca858;
}

/*** QUINARY ***/
ol.organizational-chart > li > ol > li > ol > li > ol > li > ol > li > div {
	background-color: #fddc32;
}

@media only screen and (min-width: 64em) {
	ol.organizational-chart {
		margin-left: -1em;
		margin-right: -1em;
	}

	/* PRIMARY */
	ol.organizational-chart > li > div {
		display: inline-block;
		float: none;
		margin: 0 1em 1em 1em;
		vertical-align: bottom;
	}

	ol.organizational-chart > li > div:only-of-type {
		margin-bottom: 0;
		width: calc((100% / 1) - 2em - 4px);
	}

	ol.organizational-chart > li > div:first-of-type:nth-last-of-type(2),
	ol.organizational-chart > li > div:first-of-type:nth-last-of-type(2) ~ div {
		width: calc((100% / 2) - 2em - 4px);
	}

	ol.organizational-chart > li > div:first-of-type:nth-last-of-type(3),
	ol.organizational-chart > li > div:first-of-type:nth-last-of-type(3) ~ div {
		width: calc((100% / 3) - 2em - 4px);
	}

	ol.organizational-chart > li > div:first-of-type:nth-last-of-type(4),
	ol.organizational-chart > li > div:first-of-type:nth-last-of-type(4) ~ div {
		width: calc((100% / 4) - 2em - 4px);
	}

	ol.organizational-chart > li > div:first-of-type:nth-last-of-type(5),
	ol.organizational-chart > li > div:first-of-type:nth-last-of-type(5) ~ div {
		width: calc((100% / 5) - 2em - 4px);
	}

	ol.organizational-chart > li > div:before,
	ol.organizational-chart > li > div:after {
		bottom: -1em !important;
		top: inherit !important;
	}

	ol.organizational-chart > li > div:before {
		height: 1em !important;
		left: 50% !important;
		width: 3px !important;
	}

	ol.organizational-chart > li > div:only-of-type:after {
		display: none;
	}

	ol.organizational-chart > li > div:first-of-type:not(:only-of-type):after,
	ol.organizational-chart > li > div:last-of-type:not(:only-of-type):after {
		bottom: -1em;
		height: 3px;
		width: calc(50% + 1em + 3px);
	}

	ol.organizational-chart > li > div:first-of-type:not(:only-of-type):after {
		left: calc(50% + 3px);
	}

	ol.organizational-chart > li > div:last-of-type:not(:only-of-type):after {
		left: calc(-1em - 3px);
	}

	ol.organizational-chart > li > div + div:not(:last-of-type):after {
		height: 3px;
		left: -2em;
		width: calc(100% + 4em);
	}

	/* SECONDARY */
	ol.organizational-chart > li > ol {
		display: flex;
		flex-wrap: nowrap;
	}

	ol.organizational-chart > li > ol:before,
	ol.organizational-chart > li > ol > li:before {
		height: 1em !important;
		left: 50% !important;
		top: 0 !important;
		width: 3px !important;
	}

	ol.organizational-chart > li > ol:after {
		display: none;
	}

	ol.organizational-chart > li > ol > li {
		flex-grow: 1;
		padding-left: 1em;
		padding-right: 1em;
		padding-top: 1em;
	}

	ol.organizational-chart > li > ol > li:only-of-type {
		padding-top: 0;
	}

	ol.organizational-chart > li > ol > li:only-of-type:before,
	ol.organizational-chart > li > ol > li:only-of-type:after {
		display: none;
	}

	ol.organizational-chart > li > ol > li:first-of-type:not(:only-of-type):after,
	ol.organizational-chart > li > ol > li:last-of-type:not(:only-of-type):after {
		height: 3px;
		top: 0;
		width: 50%;
	}

	ol.organizational-chart
		> li
		> ol
		> li:first-of-type:not(:only-of-type):after {
		left: 50%;
	}

	ol.organizational-chart > li > ol > li:last-of-type:not(:only-of-type):after {
		left: 0;
	}

	ol.organizational-chart > li > ol > li + li:not(:last-of-type):after {
		height: 3px;
		left: 0;
		top: 0;
		width: 100%;
	}
}

/* Carousel */

/* Hide the images by default */
.mySlides {
	display: none;
}

/* Next & previous buttons */
.prev,
.next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	margin-top: -22px;
	padding: 16px;
	color: white;
	font-weight: bold;
	font-size: 18px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
	user-select: none;
}

/* Position the "next button" to the right */
.next {
	right: 0;
	border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
	color: #f2f2f2;
	font-size: 15px;
	padding: 8px 12px;
	position: absolute;
	bottom: 8px;
	width: 100%;
	text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
	color: #f2f2f2;
	font-size: 12px;
	padding: 8px 12px;
	position: absolute;
	top: 0;
}

/* The dots/bullets/indicators */
.dot {
	cursor: pointer;
	height: 15px;
	width: 15px;
	margin: 0 2px;
	background-color: #bbb;
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.6s ease;
}

.visible,
.dot:hover {
	background-color: #717171;
}

/* Fading animation */
.fade {
	-webkit-animation-name: fade;
	-webkit-animation-duration: 1.5s;
	animation-name: fade;
	animation-duration: 1.5s;
}

@-webkit-keyframes fade {
	from {
		opacity: 0.4;
	}
	to {
		opacity: 1;
	}
}

@keyframes fade {
	from {
		opacity: 0.4;
	}
	to {
		opacity: 1;
	}
}


.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 70px auto;
  padding: 20px;
  background: #eee;
  border-radius: 5px;
  width: 30%;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}

.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.popup .close:hover {
	color: var(--clr-primary);
}

.popup .content {
	max-height: 30%;
  	overflow: auto;
}

.good {
  	color: green;
	font-weight: bold;	
}

.bad {
  	color: red;
	font-weight: bold;	
}

