/* body styles */
* {
  box-sizing:border-box;
}
@font-face {
    font-family: 'GlacialIndifference';
    src: url('fonts/GlacialIndifference-Regular.otf');
}
@font-face {
    font-family: 'GlacialIndifferenceBold';
    src: url('fonts/GlacialIndifference-Bold.otf');
}
@font-face {
    font-family: 'Gantari';
    src: url('fonts/Gantari-VariableFont_wght.ttf');
}
body, html {
	background-color: #FFFFFF;
	min-height: 100%;
	height: 100%;
	font-family: Gantari, Arial;
	margin: 0px;
	font-size: 12pt;
}
html {
	min-height: 100%;
}
/* end body styles */

/* header styles */
header { 
	margin: 0;
	width: 100%;
	height: 70px;
	z-index: 999;
	position: fixed;
}
header #headerLeft, header #headerRight {
	background-color: #000000;
	border-bottom: 5px solid #096aa3;
	float: left;
}
header #headerLeft {
	height: 85px;
	width: calc(35% - 11px);
}
header #headerCentre {
	width: 22px;
	height: 85px;
	background-image: url("images/headercentre.png");
	background-repeat: no-repeat;
	background-position: bottom;
	float: left;
}
header #headerRight {
	height: 65px;
	width: calc(65% - 11px);
}
#logo {
	width: 368px;
	height: 80px;
	margin-left: 40%;
}
#logo img {
	width: 100%;
}
#spacer {
	width: 100%;
	height: 60px;
}
/* end header styles */
/* menu styles */
nav {
 	width: 100%;
	margin-top: 20px;
	margin-left: 20px;
}
#menu {
	margin-top: 42px;
	margin: 0 auto;
	width: 980px;
}
.topnav {
  overflow: hidden;
	margin: 0 auto;
}
.topnav a:link, .topnav a:visited {
	font-family: GlacialIndifference, Arial;
	font-size: 14pt;
}
.topnav a {
  background-image: linear-gradient(
    to right,
    #54b3d6,
    #096aa3 50%,
    #FFFFFF 50%
  );
  background-size: 200% 100%;
  background-position: -100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease-in-out;
	font-weight: bold;
	padding: 6px;
}

.topnav a:before {
  content: '';
  background: #54b3d6;
  display: block;
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
}

.topnav a:hover {
 background-position: 0;
}


.active {
  background-color: #4CAF50;
  color: white;
}

.topnav .icon {
  display: none;
}
.icon {
	color: white;
	font-weight: bold;
}
.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 12pt;    
    border: none;
    outline: none;
    color: white;
    padding: 8px 10px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
		padding-left: 27px;
		padding-right: 27px;
}
.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    background-color: #4CAF50;
		box-shadow: 7px 7px 5px 0px rgba(0,0,0,0.5);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: white;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown:hover .dropbtn {
  background-color: #4CAF50;
  color: white;
}

.dropdown-content a:hover {
  background-color: #1574ae;
	color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* end menu styles */
/* content styles */
#slider {
	height: auto;
	z-index: 5;
    margin: 0 auto;
}
#slider img {
    width: 100%;
}

#mainEdge {
	z-index: 500;
	width: 100%;
	height: 38px;
	position: relative;
	margin-top: -28px;
}
#mainEdgeLeft, #mainEdgeRight {
	height: 25px;
	float: left;
}
#mainEdgeLeft {
	width: calc(65% - 11px);
	border-bottom: 5px solid #096aa3;
}
#mainEdgeCentre {
	width: 22px;
	height: 25px;
	background-image: url("images/bottomcentre.png");
	background-repeat: no-repeat;
	background-position: bottom;
	float: left;
}
#mainEdgeRight {
	width: calc(35% - 11px);
	background-color: white;
	border-top: 5px solid #096aa3;
}
main {
	max-width: 100%;
	width: 1400px;
	background-color: #FFFFFF;
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 15px;
	margin: 0 auto;
	z-index: 10;
}
main p, main td {
  margin-left: 15px;
  margin-right: 15px;
	line-height: 25px;
}
main h4 {
	font-size: 16pt;
	color: #336699;
  margin-left: 10px;
  margin-right: 10px;
	line-height: 20px;
	font-family: GlacialIndifferenceBold, Arial;
}
main h5 {
	font-size: 12pt;
	color: #336699;
  margin-left: 10px;
  margin-right: 10px;
	line-height: 20px;
	font-family: GlacialIndifferenceBold, Arial;
}
input, textarea, main p, main td, main ul, main ol {
	color: #363636;
	line-height: 20px;
	font-family: Gantari, Arial;
}
a:hover {
	color: red;
	text-decoration: none;
}
.selected {
	color: #FF0000;
	font-weight: bold;
	text-align: center;
}
#copyrightParagraph {
	padding-bottom: 10px;
	padding-top: 15px;
}
#faceBookDisplay {
	margin: 0 auto;
	width: 470px;
}
main img {
	margin: 30px;
}
/* footer styles */
footer {
	position: fixed;
	bottom: 0;
	background-color: #000000;
	color: #FFFFFF;
	width: 100%;
	text-align: center;
	padding: 10px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
  justify-content: center;
  align-items: top;
	font-size: 10pt;
	height: auto;
	border-top: 5px solid #096aa3;
}
footer a:link, footer a:visited {
	color: #FFFFFF;
}
footer a:hover {
	color: #FFFFFF;
}
.footerItem {
	width: auto;
	margin-right: 15px;
}
/* end footer styles */

/* Use a media query to add a break point at 900px: */
@media screen and (max-width: 1775px) {
	#logo {
		margin-left: 20%;
	}
}
@media screen and (max-width: 1500px) {
	.topnav a:link, .topnav a:visited {
		font-size: 12pt;
	}
	nav {
		margin-top: 15px;
		margin-left: 15px;
	}
	header #headerLeft, header #headerCentre {
		height: 75px;
	}
	header #headerRight {
		height: 55px;
	}
	#spacer {
		height: 50px;
	}
	#logo {
		width: 300px;
	}
}
@media screen and (max-width: 1330px) {
	#logo {
		margin-left: 5%;
	}
	#mainEdge, #mainEdgeLeft, #mainEdgeRight {
		display: none;
	}
	.topnav a:link, .topnav a:visited {
		font-size: 10pt;
	}
	#slider {
		height: 310px;
	}
	#slider img {
		max-width: 1330px;
	}
}
@media screen and (max-width: 1120px) {
	header {
		position: relative;
	}
	footer {
		position: relative;
	}
	main {
		margin-top: 45px;
	}
	nav {
		background-color: black;
	}
	#spacer {
		display: none;
	}
	header #headerLeft, header #headerRight {
		width: 100%;
		float: none;
		border: none;
	}
	header #headerRight {
		border-bottom: 5px solid #096aa3;
	}
	#slider {
		display: none;
	}
	header #headerLeft {
		height: 65px;
	}
	header #headerRight {
		height: 35px;
	}
	header #headerCentre {
		display: none;
	}
	#logo {
		margin: 0 auto;
	}
	nav {
		width: 200px;
		margin: 0 auto;
	}
	nav a:link, nav a:visited {
  	font-size: 14pt;
		padding-top: 0px;
		margin-top: 2px;
	}
	.topnav a {
  background-image: linear-gradient(
    to right,
    #54b3d6,
    #a3c7d4 50%,
    #FFFFFF 50%
  );
	}
	.topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
		margin-top: 3px;
  }
	.topnav.responsive {
		position: relative;
		box-shadow: 0px 7px 5px 0px rgba(0,0,0,0.5);
	}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
	main img {
		margin: 15px;
	}
}
@media screen and (max-width: 600px) {
	header, #spacer {
		height: 130px;
	}
	#logo img {
		width: 100%;
		max-width: 100%;
	}
	#faceBookDisplay {
		display: none;
	}
	main img {
		max-width: 95%;
		margin: 0 auto;
		float: left;
		padding: 10px;
	}
}