/* body styles */
* {
  box-sizing:border-box;
}

@font-face {
    font-family: 'Gantari';
    src: url('Gantari-VariableFont_wght.ttf');
}
@font-face {
    font-family: 'Raleway';
    src: url('Raleway-VariableFont_wght.ttf');
}
body, html {
	background-color: #d2d5aa;
	min-height: 100%;
	height: 100%;
	font-family: Raleway, Arial;
	margin: 0;
	font-size: 14pt;
}
html {
	min-height: 100%;
}
/* end body styles */

/* header styles */
#header {
	width: 100%;
	height: 165px;
	margin: 0;
	z-index: 999;
	position: fixed;
}
#headerTop {
	background-color: #ede6d4;
	width: 100%;
	height: 55px;
}
#logo {
	height: 60px;
	width: 714px;
	max-width: 100%;
	margin: 0 auto;
	padding: 10px;
}
#logo img {
	max-width: 100%;
}
#headerBottom {
	width: 100%;
	height: 70px;
}
#headerBottomCornerLeft {
	width: 157px;
	height: 70px;
	background-image: url("images/headercornerleft.png");
	background-position: bottom;
	background-repeat: no-repeat;
	float: left;	
}
#headerBottomCornerRight {
	width: 157px;
	height: 70px;
	background-image: url("images/headercornerright.png");
	background-position: bottom;
	background-repeat: no-repeat;
	float: left;
}
#headerBottomCentre {
	width: calc(100% - 314px);
	height: 70px;
	background-image: url("images/headerbackgroundedge.png");
	background-repeat: repeat-x;
	background-position: bottom;
	float: left;
	padding-top: 6px;
}
#spacer {
	width: 100%;
	height: 90px;
}
/* end header styles */
/* menu styles */
.topnav {
	margin: 0 auto;
	width: 500px;
	overflow: hidden;
  background-color: #ede6d4;
	height: 30px;
}
nav a, .topnav a {
  background-image: linear-gradient(
    to right,
    #92ab51,
    #92ab51 50%,
    #000 50%
  );
  background-size: 200% 100%;
  background-position: -100%;
  display: inline-block;
  position: relative;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease-in-out;
	font-size: 16pt;
	font-weight: bold;
	padding-left: 5px;
	padding-right: 5px;
	font-family: Gantari;
  color: #000000;
	text-decoration: none;
}
nav a:before, .topnav a::before {
  content: '';
  background: #92ab51;
  display: block;
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  transition: all 0.3s ease-in-out;
}
.topnav a:hover {
 background-position: 0;
}

.topnav a:hover::before {
  width: 100%;
}

.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 .dropdown-content {
    display: block;
}
/* end responsive menu */
/* body styles */
#mainContent {
	width: 100%;
	max-width: 1400px;
	background-color: #FFFFFF;
	padding: 15px;
	margin: 0 auto;
	min-height: calc(100% - 105px);
	padding-bottom: 40px;
}
#mainContent p, #mainContent td {
  margin-left: 25px;
  margin-right: 25px;
	line-height: 25px;
	color: #363636;
}
#mainContent img {
	padding: 25px;
}
#mainContent h4 {
	font-size: 16pt;
	color: #336699;
  margin-left: 15px;
  margin-right: 15px;
	line-height: 20px;
	font-family: Gantari;
}
#mainContent h5 {
	font-size: 14pt;
	color: #336699;
  margin-left: 22px;
  margin-right: 22px;
	line-height: 20px;
	font-family: Gantari;
}
#mainContent select, #mainContent input, #mainContent textarea, #mainContent ul, #mainContent ol {
	color: #363636;
	line-height: 20px;
	font-family: Raleway, Arial;
	font-size: 14pt;
}
#mainContent select, #mainContent input, #mainContent textarea {
	padding: 5px;
	margin: 5px;
	box-shadow: 1px 1px 2px rgba(139,161,83,0.5);
}
#mainContent select:focus, #mainContent input:focus, #mainContent textarea:focus {
	box-shadow: 2px 2px 4px rgb(139,161,83);
}
#mainContent label {
	padding: 10px;
}
/* end body styles */
/* testimonial slider styles */
.testimonialContainer {
  width: 600px;
	height: 237px;
  padding: 20px;
}
.testimonialContainer p {
  font-size: 200%;
}
/* end testimonial slider styles */
/* footer styles */
#footer {
	background-color: #ede6d4;
	width: 100%;
	bottom: 0px;
	position: fixed;
	padding-top: 12px;
	text-align: center;
	line-height: 20px;
	font-size: 12pt;
	background-image: url("images/footerbackgroundedge.png");
	background-repeat: repeat-x;
	background-position: top;
	height: 40px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
  justify-content: center;
  align-items: top;
}
.footerItem {
	text-align: center;
	width: auto;
	height: auto;
	padding-left: 15px;
	padding-right: 15px;
}
#footer a {
	text-decoration: none;
}
#footer a:hover {
	color: #8ba153;
	text-decoration: none;
}
/* end footer styles */
@media screen and (max-width: 1380px) {
	body, html {
		font-size: 12pt;
	}
	#mainContent h4 {
		font-size: 14pt;
	}
	#mainContent h5 {
		font-size: 13pt;
	}
	#mainContent select, #mainContent input, #mainContent textarea, #mainContent ul, #mainContent ol {
		font-size: 12pt;
	}
	#footer {
		font-size: 10pt;
	}
}
@media screen and (max-width: 800px) {
	#headerTop {
		height: 45px;
	}
	#header {
		position: relative;
		height: 90px;
	}
	#spacer {
		display: none;
	}
	#footer {
		bottom: auto;
		position: relative;
		background-image: url("images/footerbackgroundedge.png");
		height: auto;
	}
	#headerBottomCornerLeft, #headerBottomCornerRight {
		display: none;
	}
	#headerBottomCentre {
		width: 100%;
	}
	#mainContent img {
		padding: 15px;
		max-width: 95%;
	}
	#mainContent img.sideImage {
		float: none;
		max-width: 50%;
	}
	.topnav {
		height: auto;
		width: 250px;
	}
	.topnav a {
		font-size: 12pt;
	}
	.topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
	.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;
  }
}