/* GENERAL */
*, *::before, *::after {
  box-sizing: border-box;
}

@font-face {
  font-display: swap;
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/barlow-v12-latin-regular.woff2') format('woff2'); 
}

@font-face {
  font-display: swap;
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/alexandria-v3-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: block;
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/material-symbols-outlined-v134-latin-regular.woff2') format('woff2');
}

html, body {
    height: 100%;
    padding: 0;
    margin: 0;
	scroll-behavior: smooth;
}

body{
    min-height: 100%;
    display: flex;
    flex-direction: column;
	line-height: 1.5;
	font-family: Barlow, Candara, Arial, sans-serif;
}

input, button, textarea, select {
  font: inherit;
}

a{
	color: #0000FF;
	text-decoration: none;
}

a:visited{
	color: #8A2BE2;
}

a:hover{
	text-decoration: underline;
}

button, a.button{
	color: #015683;
	font-weight: bold;
	background-color: #ccf28b;
	cursor: pointer;
	border: none;
	margin: 0;	
	padding: .2em .4em;
	border-radius: 6px;
}

a.button{
	text-decoration: none;
	padding: .25em .5em;
	display: inline-block;		
}

span.material-symbols-outlined{
	vertical-align: middle;
	font-size: 1em;
	font-family: 'Material Symbols Outlined';
	font-weight: normal;
	font-style: normal;
	font-size: 1em;  /* Preferred icon size */
	display: inline-block;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
	direction: ltr;

	/* Support for all WebKit browsers. */
	-webkit-font-smoothing: antialiased;
	/* Support for Safari and Chrome. */
	text-rendering: optimizeLegibility;

	/* Support for Firefox. */
	-moz-osx-font-smoothing: grayscale;

	/* Support for IE. */
	font-feature-settings: 'liga';
}

::placeholder {
	color: #888;
}

span.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

blockquote{
  font-size: 1.1em;
  width: 95%;
  margin: 1em auto;
  font-style:italic;
  color: #555555;
  padding: 1em;
  border-left: 6px solid #015683;
  position: relative;
  background:#EDEDED;
}

main{
	margin: 1em auto 2em auto;
	width: 100%;
	max-width: 1100px;
	flex: 1 0 auto;
}

main h1, h2, h3{
	font-family: 'Alexandria', Candara, Arial, sans-serif;
}

main h2{
	font-size: 32px;
	margin: .5em 0;
}

main h3{
	font-size: 22px;
}

main h4{
	font-size: 18px;
}

.accessibility {
	position: absolute;
	left: -9999px;
	overflow: hidden;
	color: #fff;
}

.text-muted {
    color: #777;
}

.small {
    font-size: 14px;
}

noscript{
	text-align: center;
	font-size: 14px;
	color: red;	
}
/* END GENERAL */

/* HEADER */
header{		
	border-bottom: 1px solid #CCC;
}

header, footer {
    flex-grow: 0;
    flex-shrink: 0;
}

div#official-site-container{
	background-color: #f0f0f0;
}

div#official-site, div#official-site-info{
	width: 100%;
	padding: 0 1em;
}

div#official-site{
	font-size: 14px;
	font-family: Barlow, Candara, Arial, sans-serif;
}

div#official-site img{
	width: 1em;
	height: 1em;
	vertical-align: text-bottom;
	margin-right: .5em;
}

div#official-site label{
	margin-left: .5em;
	color: #015683;
	text-decoration: underline;
	cursor: pointer;
}

div#official-site-info{
	display: none;
	max-width: 1000px;
}

div#official-site-info section{
	font-size: 16px;
	font-family: Barlow, Candara, Arial, sans-serif;
	padding: 1em 0;
	display: flex;
	width: 50%;
}

div#official-site-info section h2{
	font-family: Barlow, Candara, Arial, sans-serif;
	font-size: 16px;
	margin: 0 0 .25em 0;
}

div#official-site-info section img{
	height: 40px;
	width: 40px;
}

div#official-site-info section > div{
	padding: 0 1em;
}

div#official-site-container input{
	display: none;
}

div#official-site-container input:checked ~ div#official-site-info { display: flex; }

div#official-site-container input:checked ~ div#official-site label > span.expand_more{
	display: none;
}

div#official-site-container input:checked ~ div#official-site label > span.expand_less{
	display: inline-block;
}

div#banner-container > h1 {
	display: none;
}

header nav{
	float: right;
	display: flex;
}	

span.expand_less{
	display: none;
}

ul.menu{
	position: relative;
	margin-right: 1em;	
}

span.menu, input#hamburger{
	display: none;
}

ul.menu > li{	
	font-family: Barlow, Candara, Arial, sans-serif;
	display: inline-block;
	position: relative;
	list-style: none;	
	margin: 0;
	padding: 0;	
}

ul.menu > li > a{
	font-weight: bold;
	color: #015683;
	text-decoration: none;
	font-size: 18px;
	display: block;
	padding: .25em;	
}

ul.sub-menu{
	display: none;
	margin: 0;
	padding: 0;
	padding-inline-start: 0;
	background-color: #013e5f;	
	width: 100%;
}

ul.sub-menu > li{
	display: block;
	list-style: none;
	margin: 0;	
	padding: 0;
	width: 100%;
}

ul.sub-menu > li > a{
	font-family: Barlow, Candara, Arial, sans-serif;
	color: #fff;
	text-decoration: none;	
	display: block;
	padding: .25em;
}

div#logo{
	display: inline-block;	
	margin: .25rem 2rem;
}

div#logo img{
	width: 274px;
	height: 80px;
}
/* END HEADER */

/* SEARCH BAR */
div#search {
	background-color: #015683;
	width: 100%;
	padding: 1em;
}

div#search-box{
	margin: 0 auto;
	width: 90%;
	max-width: 1120px;
	height: 100%;	
	font-size: 20px;	
}

div#search-box input{
	width: calc(100% - 220px);
	border: none;
	border-radius: 6px 0 0 6px;	
	padding-left: 1em;	
	line-height: 2em;
}

button.search-btn{
	padding: 1px 8px 0;
	border-radius: 0 6px 6px 0;	
	line-height: 2em;
	font-weight: bold;
}

span.material-symbols-outlined.search{
	font-size: 36px;
}	
	
div#search-link{
	display: inline-block;
    vertical-align: bottom;
    margin-left: 1.5em;
	font-size: 16px;
	font-weight: normal;
	color: #fff;
}
	
div#search-link a{
	color: #fff;
}
/* END SEARCH BAR */

/* BACK TO TOP */
a#backToTop{color: #0000FF;}

#backToTop {
    position: fixed;
    height: 50px;
    width: 90px;
    right: -100px;
    bottom: 140px;
    background: #e8f0f7;
	background-image: url(../images/Icon_Back_to_Top_Blue.png);
    background-size: 45px;
    background-position: 2px;
    background-repeat: no-repeat;	
    transition: right .5s;
    padding: 0 15px 0 50px;
    border-radius: 25px 0 0 25px;
    line-height: 50px;
    display: inline-block;
    text-align: center;
    z-index: 1;
}
/* END BACK TO TOP */

/* FOOTER */
footer {
	padding: 1em;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;	
	background-color: #015683;
	width: 100%;
	color: #fff;	
}

footer nav{
	text-align: center;
}

footer nav ul.links{
	padding: 0;
	margin: 0 auto 1em auto;
	width: fit-content;
	block-size: fit-content;
}

footer nav ul.links li{
	list-style: none;
	display: inline-block;
}

footer nav ul.links li a{
	margin: 0 .25em;
}

footer nav ul.links li:not(:last-child):after{
	content: " \2022 ";
}

footer a, footer a:visited{
	color: #fff;
	font-weight: normal;
}

footer div.small a{
	text-decoration: underline;
}
/* END FOOTER */

/* LARGE SCREENS */
@media screen and (min-width: 1250px){
	header nav{	
		margin-top: 1.25em;
	}
	
	div#banner-container{
		width: 100%;
	}	
	
	ul.menu > li:hover a {
		color: #fff;
	}

	ul.menu > li:hover a > span.expand_more{
		display: none;
	}

	ul.menu > li:hover a > span.expand_less{
		display: inline-block;
	}

	ul.menu > li:hover{
		background-color: #013e5f;	
		color: #fff;
	}

	ul.menu > li:hover > ul.sub-menu{
		display: block;
		position: absolute;
		z-index: 100;
	}

	ul.sub-menu > li > a:hover{
		color: #fff;
		text-decoration: underline;
	}	
}
/* END LARGE SCREENS */

/* SMALL SCREENS */
@media screen and (max-width: 1249px){
	main{
		padding: 1em;
		max-width: 98%;
	}	
	
	main#home{
		padding: 0;
		max-width: 100%;
	}	
	
	div#official-site, div#official-site-info{
		font-size: 13px;
	}	
	
	div#banner-container{
		width: 100%;
		height: 58px;		
	}
	
	div#logo{	
		display: inline-block;
		margin: .25em 0 .25em 1em;
		position: absolute;
	}
	
	div#logo img{
		width: 171px;
		height: 50px;
	}	
	
	header nav{
		display: block;
	}	
	
	label[for=hamburger]{
		text-align: right;
		font-size: 24px;
	}	
	
	span.menu{
		display: block;
		margin: .8em .5em 0 0;
		cursor: pointer;
	}
	
	ul.menu{
		display: none;
		margin: 0;
		padding: 0;
	}
	
	ul.menu li{
		display: block;
	}	
	
	ul.menu span.expand_more, ul.menu span.expand_less{
		display: none;
	}

	nav input:checked ~ ul.menu { display: block; }
	
	ul.sub-menu{
		display: block;
		background-color: #fff;
		position: relative;
	}	
	
	ul.sub-menu > li > a{
		color: #015683;
	}	
	
	div#search-box {
		width: 100%;
		text-align: center;
	}
	
	div#search-box input{
		width: calc(100% - 52px);
	}	
	
	div#search-link{
		display: block;
		line-height: normal;		
		text-align: right;
	}	
	
	div#hero aside {
		max-width: 340px;	
		margin: 5%;
	}	
}
/* END SMALL SCREENS */

/* BETA TEXT */
	#logo::after{
		content: "";
		position: relative;
		bottom: 1.75em;
		left: .5em;
		color: #aaa;
		font-style: italic;
		font-size: 90%;
	}
	
@media screen and (max-width: 1249px){
	#logo::after{
		bottom: 1.4em;
		font-size: 70%;
	}	
}	