@import url('https://fonts.googleapis.com/css2?family=Crimson+Text&family=Lato&family=Lugrasimo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&family=Raleway&family=Roboto&display=swap');

@font-face {
	font-family: 'FreeSerif';
	src: url('../shared/fonts/FreeSerif-4aeK.ttf') format('ttf');
}

body, h1, h2, h3, p {
	margin: 0;
	padding: 0;
}

html, body {
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	display: flex;
	flex-direction: column;
	font-family: "Lato", Arial, sans-serif;
	background-color: #f4f4f4;
	color: #333;
	line-height: 1.6;
	height: 100%;
	opacity: 0;
	/*transition: opacity 0.5s;*/
}
body.hidden {

}
body.loaded {
	opacity: 1;
}

#header {
	background-color: #333;
	color: #fff;
	text-align: center;
	padding: 0.5em;
}
.HeaderContainer {
	display: flex;
	flex-wrap: wrap-reverse;
	align-items: center;
}
.HeaderItem {
	flex: 1;
}

#main {
	flex-grow: 1;
	padding: 0.5em;
}

p {
	font-size: larger;
	max-width: 800px;
	margin: auto;
	margin-bottom: 1em;
}

hr {
	border: none;
	height: 2px;
	background-color: #CCC;
	margin: 4em auto 2em auto;
	max-width: 50%;
}


#footer {
	margin-bottom: 0px;
	text-align: center;
	padding: 0.5em 1em;
	background-color: #333;
	color: #fff;
}
.FooterContainer {

}
.FooterItem {
	margin: 0.5em;
}

a {
	color: #007BFF;
	text-decoration: none;
}
a:hover {
	color: #0056b3;
	text-decoration: underline;
}

a.ButtonLink {
	display: inline-block;
	text-align: center;
	padding: 0.25em 1.0em;
	font-size: 3em;
	background-color: #007BFF;
	color: #fff;
	text-decoration: none;
	border: 1px solid #007BFF;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s ease;
	margin: 1em;
	line-height: 1em;
}

a.ButtonLink:hover {
	/* box-shadow: 0 0 0.1em 0.1em rgba(255, 0, 0, 0.75), 0 0 0.25em 0.25em rgba(255, 165, 0, 0.5), 0 0 0.5em 0.5em rgba(255,255,0,0.5); */
	box-shadow: 0 0 0.1em 0.1em rgba(255, 0, 0, 0.75);
	opacity: 0.95;
}
a.ButtonLink:active {
	/* box-shadow: 0 0 0.2em 0.2em rgba(255, 0, 0, 0.75), 0 0 0.5em 0.5em rgba(255, 165, 0, 0.5), 0 0 1.5em 1.5em rgba(255,255,0,0.5); */
	box-shadow: 0 0 0.2em 0.2em rgba(255, 0, 0, 0.75);
	opacity: 0.95;
}

.Title {
	font-size: 3em;
	font-family: "Playfair Display", Arial, sans-serif;
}
.Subtitle {
	font-size: 1.0em;
	font-style: italic;
	text-decoration: underline;
	text-underline-offset: -1.5em;
	text-decoration-thickness: 1px;
}

.SectionHeader {
	font-size: 3em;
	font-family: "Playfair Display", Arial, sans-serif;
	color: #006f9f;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.NoticeContainer {
	padding: 1em;
	background-color: #FFFFBB;
}

.Disclaimer {
	font-size: 14px;
	color: #666;
	margin-top: 10px;
}

.Disclaimer a {
	color: #007BFF;
	text-decoration: underline;
}

.FloatLeft { float: left; }
.FloatRight { float: right; }

.SmallText { font-size: smaller; }

.LeftAlignText { text-align:left; }

.CenteredContainer {
	display: flex;
	justify-content: center;
	align-items: center;
}
