@import url("https://fonts.googleapis.com/css?family=Crimson+Text|Source+Sans+Pro:300,300italic,600,900|VT323");

html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

	blockquote:before, blockquote:after, q:before, q:after {
		content: '';
		content: none;
	}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
	-webkit-text-size-adjust: none;
}

mark {
	background-color: transparent;
	color: inherit;
}

input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input, select, textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
}

.container, .container1w{max-width:70%;}

/* Basic */

	@-ms-viewport {
		width: device-width;
	}

	html {
		box-sizing: border-box;
	}

	*, *:before, *:after {
		box-sizing: inherit;
	}

	body {
		background: #f5f7fa;
	}
	
	body.aboutpage{background:#91a1c9;}

		body.is-preload *, body.is-preload *:before, body.is-preload *:after {
			-moz-animation: none !important;
			-webkit-animation: none !important;
			-ms-animation: none !important;
			animation: none !important;
			-moz-transition: none !important;
			-webkit-transition: none !important;
			-ms-transition: none !important;
			transition: none !important;
		}

	body, input, textarea, select {
		line-height: 1.70em;
		font-family: 'Playfair Display', serif;
		font-weight: 300;
		color: #305c77;
		font-size: 16pt;
	}


	h1, h2, h3, h4, h5, h6 {
		font-weight: 700;
		color: #336970;
		
	}

	h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
		color: inherit;
		text-decoration: none;
	}
	
	h1{
		font-size:2.4em;
		margin: 0 0 1.5em 0;
	}

	h2 {
		font-size: 1.4em;
		margin: 0 0 1.5em 0;
		font-weight:400;
		line-height:1.4em;
	}
	
	.container1w h2, .ui-tabs-panel h2{font-weight:700; font-size:1.7em; padding-bottom:6px; border-bottom:6px solid #a2395a;}
	
	.ui-tabs-panel h2{border:none;}
	
	.ui-tabs .ui-tabs-panel{padding:2em;}
	
	h3 {
		font-size: 1.1em;
		margin: 0 0 0.5em 0;
	}

	a {
		color: #305c77;
		text-decoration: underline;
	}

		a:hover {
			color:#3499B8;
			text-decoration: none;
		}

	strong, b {
		font-weight: 700;
	}

	em, i {
		font-style: italic;
	}

	sub {
		position: relative;
		top: 0.5em;
		font-size: 0.8em;
	}

	sup {
		position: relative;
		top: -0.5em;
		font-size: 0.8em;
	}

	hr {
		border: 0;
		border-top: solid 1px #ddd;
	}

	blockquote {
		border-left: solid 0.5em #ddd;
		padding: 1em 0 1em 2em;
		font-style: italic;
	}

	p, ul, ol, dl, table {
		margin-bottom: 1em;
	}
	
	p{font-size:1.1em; margin-bottom:1.5em;}

	br.clear {
		clear: both;
	}
	
	.file_wrapper a{max-width:30%;}
.flexcentre{display:flex; justify-content: center;
	align-items: center; flex-wrap:wrap; text-align:center}
.services_bg{background:#9be4ea;}


.subpagelinks{font-size:0.9em;position:absolute; z-index:1000; display:flex; flex-wrap:wrap; justify-content:space-between!important; width:25%; max-width:400px; top:20%;right:5%; border:1px solid #000; background:rgba(102,102,102,0.8); padding:40px 0px 20px 0px;}

ul.actions.special.subpagelinks li{margin:0.3em!important; padding:0;flex-grow:1;}
ul.actions.special.subpagelinks li a.button{padding:0.3em!important; background:#666; width:100%;}
ul.actions.special.subpagelinks li a.button:hover{background:#45a0a0;}
.calculator_screen{background:#999; font-family: 'VT323', monospace; font-size:2em; width:100%; color:#000; padding:10px!important}

.highlight{color:#a2395a!important;}

.smallmargin{margin:0.5em!important;}

ul.smalllist{font-size:0.9em; margin-left:1em;}

.grecaptcha-badge{z-index:999!important;}


/* Container */

	.container {
		margin: 0 auto;
		width: 1320px;
	}

		@media screen and (max-width: 1680px) {

			.container {
				width: 1340px;
			}
			.subpagelinks{display:none!important;}
			.container1w{max-width:85%;}

		}

		@media screen and (max-width: 1280px) {

			.container {
				width: 960px;
			}
			
			.container1w{padding:1em; max-width:90%;}
		}
		@media screen and (max-width: 980px) {

			.container {
				width: 95%;
			}
			#mountainspgn{bottom:0%;}

		}

		@media screen and (max-width: 840px) {

			.container {
				width: 95%;
			}

		}

		@media screen and (max-width: 736px) {

			.container {
				width: 100%;
			}

		}

/* Sections/Articles */

	section, article {
		margin-bottom: 3em;
	}

	section > :last-child,
	article > :last-child,
	section:last-child,
	article:last-child {
		margin-bottom: 0;
	}

/* Images */

	.image {
		display: inline-block;
	}

		.image img {
			display: block;
			width: 100%;
		}

		.image.fit {
			display: block;
			width: 100%;
		}

		.image.featured {
			display: block;
			width: 100%;
			margin: 0 0 2em 0;
		}

		.image.left {
			float: left;
			margin: 0 2em 2em 0;
		}

		.image.centered {
			display: block;
			margin: 0 0 2em 0;
		}

			.image.centered img {
				margin: 0 auto;
				width: auto;
			}

/* Lists */

	ol {
		list-style: decimal;
		padding-left: 1.25em;
	}

		ol li {
			padding-left: 0.25em;
		}

	ul {
		list-style: disc;
		padding-left: 1em;
	}

		ul li {
			padding-left: 0.325em;
		}
		
		ul.dropotron li{padding-left:0;}
		
	dl dt {
		display: block;
		margin: 0 0 1em 0;
	}

	dl dd {
		margin-left: 1.5em;
	}

/* Links */

	ul.links {
		list-style: none;
		padding-left: 0;
	}

		ul.links li {
			padding-top: 0.70em;
			padding-left: 0;
		}

			ul.links li:first-child {
				padding-top: 0;
			}

		ul.links a {
			text-decoration: underline;
			color: #8e9399;
		}

			ul.links a:hover {
				text-decoration: none;
			}

/* Icons */

	ul.icons {
		list-style: none;
		padding-left: 0;
	}

		ul.icons > li {
			cursor: default;
			display: block;
			position: relative;
			padding: 16px 0 0 80px;
			min-height: 48px;
			margin-top: 1.75em;
		}

			ul.icons > li:first-child {
				margin-top: 0;
			}

		ul.icons li a, ul.icons li span {
			display: block;
			text-decoration: none;
			color: #000;
		}

		ul.icons > li:before {
			position: absolute;
			top: 0;
			left: 0;
			display: block;
			background: #343e49;
			color: #FFF;
			border-radius: 100%;
			text-align: center;
			font-size: 22px;
			width: 64px;
			height: 64px;
			line-height: 64px;
		}

		ul.icons > li.fa-twitter:before {
			background: #389ebc;
		}

		ul.icons > li.fa-facebook-f:before {
			background: #3876bc;
		}

		ul.icons > li.fa-linkedin-in:before {
			background: #007BB6;
		}

/* Pennants */

	ul.pennants {
		list-style: none;
		padding-left: 0;
		margin: 0;
		text-align: center;
	}

		ul.pennants li {
			display: inline-block;
			width: 15em;
			padding: 1em;
			vertical-align: top;
		}

/* Profiles */

	ul.profiles {
		margin: 0;
		overflow: hidden;
		list-style: none;
		padding-left: 0;
	}

		ul.profiles li {
			overflow: hidden;
			display: block;
			padding: 1.5em 0em 1.8em 0em;
			border-style: solid;
			border-color: #555;
			border-color: rgba(255, 255, 255, 0.1);
			border-top-width: 2px;
			font-weight: 300;
		}

			ul.profiles li:first-child {
				padding-top: 0;
				border-top: none;
			}

		ul.profiles .image {
			position: relative;
			overflow: hidden;
			border-radius: 50%;
		}

/* Actions */

	ul.actions {
		display: -moz-flex;
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		cursor: default;
		list-style: none;
		margin-left: -1em;
		padding-left: 0;
		flex-wrap:wrap;
	}

		ul.actions li {
			padding: 0 0 0 1em;
			vertical-align: middle;
		}

		ul.actions.special {
			-moz-justify-content: center;
			-webkit-justify-content: center;
			-ms-justify-content: center;
			justify-content: center;
			width: 100%;
			margin-left: 0;
		}

			ul.actions.special li:first-child {
				padding-left: 0;
			}

		ul.actions.stacked {
			-moz-flex-direction: column;
			-webkit-flex-direction: column;
			-ms-flex-direction: column;
			flex-direction: column;
			margin-left: 0;
		}

			ul.actions.stacked li {
				padding: 1.3em 0 0 0;
			}

				ul.actions.stacked li:first-child {
					padding-top: 0;
				}

		ul.actions.fit {
			width: calc(100% + 1em);
		}

			ul.actions.fit li {
				-moz-flex-grow: 1;
				-webkit-flex-grow: 1;
				-ms-flex-grow: 1;
				flex-grow: 1;
				-moz-flex-shrink: 1;
				-webkit-flex-shrink: 1;
				-ms-flex-shrink: 1;
				flex-shrink: 1;
				width: 100%;
			}

				ul.actions.fit li > * {
					width: 100%;
				}

			ul.actions.fit.stacked {
				width: 100%;
			}

		@media screen and (max-width: 736px) {

			ul.actions:not(.fixed) {
				-moz-flex-direction: column;
				-webkit-flex-direction: column;
				-ms-flex-direction: column;
				flex-direction: column;
				margin-left: 0;
				width: 100% !important;
			}

				ul.actions:not(.fixed) li {
					-moz-flex-grow: 1;
					-webkit-flex-grow: 1;
					-ms-flex-grow: 1;
					flex-grow: 1;
					-moz-flex-shrink: 1;
					-webkit-flex-shrink: 1;
					-ms-flex-shrink: 1;
					flex-shrink: 1;
					padding: 1em 0 0 0;
					text-align: center;
					width: 100%;
				}

					ul.actions:not(.fixed) li > * {
						width: 100%;
					}

					ul.actions:not(.fixed) li:first-child {
						padding-top: 0;
					}

					ul.actions:not(.fixed) li input[type="submit"],
					ul.actions:not(.fixed) li input[type="reset"],
					ul.actions:not(.fixed) li input[type="button"],
					ul.actions:not(.fixed) li button,
					ul.actions:not(.fixed) li .button {
						width: 100%;
					}

						ul.actions:not(.fixed) li input[type="submit"].icon:before,
						ul.actions:not(.fixed) li input[type="reset"].icon:before,
						ul.actions:not(.fixed) li input[type="button"].icon:before,
						ul.actions:not(.fixed) li button.icon:before,
						ul.actions:not(.fixed) li .button.icon:before {
							margin-left: -0.5em;
						}

		}

/* Forms */

	form input, form select, form textarea {
		-webkit-appearance: none;
	}

	form input[type=text],
	form input[type=password],
	form select,
	form textarea {
		-moz-transition: background-color 0.25s ease-in-out;
		-webkit-transition: background-color 0.25s ease-in-out;
		-ms-transition: background-color 0.25s ease-in-out;
		transition: background-color 0.25s ease-in-out;
		-webkit-appearance: none;
		position: relative;
		width: 100%;
		border: 0;
		padding: 0.70em;
		border-radius: 0.5em;
		background: #f5f7fa;
		outline: none;
	}

		form input[type=text]:focus,
		form input[type=password]:focus,
		form select:focus,
		form textarea:focus {
			background: #f0f2f5;
		}

	form textarea {
		height: 12em;
	}

	form ::-webkit-input-placeholder {
		color: #555 !important;
	}

	form :-moz-placeholder {
		color: #555 !important;
	}

	form ::-moz-placeholder {
		color: #555 !important;
	}

	form :-ms-input-placeholder {
		color: #555 !important;
	}

	form ::-moz-focus-inner {
		border: 0;
	}
	
	input[type="checkbox"],
	input[type="radio"] {
		-moz-appearance: none;
		-webkit-appearance: none;
		-ms-appearance: none;
		appearance: none;
		display: block;
		float: left;
		margin-right: -2rem;
		opacity: 0;
		width: 1rem;
		z-index: -1;
	}

		input[type="checkbox"] + label,
		input[type="radio"] + label {
			text-decoration: none;
			cursor: pointer;
			display: inline-block;
			font-size: 1rem;
			font-weight: 400;
			padding-left: 2.55rem;
			padding-right: 0.75rem;
			position: relative;
		}

			input[type="checkbox"] + label:before,
			input[type="radio"] + label:before {
				-moz-osx-font-smoothing: grayscale;
				-webkit-font-smoothing: antialiased;
				font-family: "Font Awesome 5 Pro";
				font-style: normal;
				font-weight: normal;
				text-transform: none !important;
			}

			input[type="checkbox"] + label:before,
			input[type="radio"] + label:before {
				border-radius: 4px;
				border: solid 1px;
				content: '';
				display: inline-block;
				height: 1.8rem;
				left: 0;
				line-height: 1.725rem;
				position: absolute;
				text-align: center;
				top: 0;
				width: 1.8rem;
			}

		input[type="checkbox"]:checked + label:before,
		input[type="radio"]:checked + label:before {
			content: '\f00c';
		}

	input[type="checkbox"] + label:before {
		border-radius: 4px;
	}

	input[type="radio"] + label:before {
		border-radius: 100%;
	}

/* Tables */

	table {
		width: 100%;
	}

		table.style1 {
			width: 100%;
		}

			table.style1 tbody tr:nth-child(2n+2) {
				background: #f4f4f4;
			}

			table.style1 td {
				padding: 0.5em 1em 0.5em 1em;
			}

			table.style1 th {
				text-align: left;
				font-weight: 700;
				padding: 0.5em 1em 0.5em 1em;
			}

			table.style1 thead {
				background: #444;
				color: #fff;
			}

			table.style1 tfoot {
				background: #eee;
			}

/* Buttons */

	.button {
		-moz-transition: border-color .25s ease-in-out, background-color .25s ease-in-out, color .25s ease-in-out;
		-webkit-transition: border-color .25s ease-in-out, background-color .25s ease-in-out, color .25s ease-in-out;
		-ms-transition: border-color .25s ease-in-out, background-color .25s ease-in-out, color .25s ease-in-out;
		transition: border-color .25s ease-in-out, background-color .25s ease-in-out, color .25s ease-in-out;
		position: relative;
		display: inline-block;
		text-decoration: none;
		cursor: pointer;
		border: 1px solid #000;
		/*border-radius: 0.5em;*/
		background: #a2395a;
		color: #FFF;
		outline: 0;
		line-height: 2em;
		text-align: center;
		font-weight: 700;
		padding: 0.5em 4em;
	}
	
	button.primary,  .button.primary {
	box-shadow: none;
	background-color: #035b4c;
	color: #ffffff;
}

		.button.small {
			letter-spacing: -0.04em;
			font-size: 0.8em;
		}

		.button.large {
			letter-spacing: -0.04em;
			font-size: 1em;
		}

		.button:hover {
			background-color: #45a0a0;
			color: #fff;
		}

	
		.button.alt {
			border-color: #343E49;
			background: #343E49;
			color: #FFF !important;
		}

			.button.alt:hover {
				border-color: #444E59;
				background: #444E59;
			}

			.button.alt:active {
				background: #242E39;
				border-color: #242E39;
			}

		.button.alt2 {
			border-color: #3499B8;
			background: #3499B8;
			color: #FFF !important;
		}

			.button.alt2:hover {
				border-color: #44a9c8;
				background: #44a9c8;
			}

			.button.alt2:active {
				background: #2489a8;
				border-color: #2489a8;
			}

/* Main Title Heading */

	.title-heading {
		position: relative;
		margin: 2em 0;
	}
	
	.title_underline{height:4px; background:#336970; width:50%; margin:0em auto 2.5em auto;}

		.title-heading h2 {
			color: #FFF;
			font-size: 2em;
			margin: 0;
		}

		.title-heading p {
			position: absolute;
			right: 0;
			top: 0;
			color: #FFF;
			font-size: 1.25em;
		}

/* Header */

	header p {
		position: relative;
		top: -1.75em;
	}

/* Footer */

	footer {
		margin: 2em 0 0 0;
	}

/* Page Center Title */

	.title {
		width: 100%;
	}

		.title span {
			position: absolute;
			display: inline-block;
			background: #a2395a;
			/*border-radius: 0 0 0.5em 0.5em;*/
			font-weight: 700;
			font-size: 1.25em;
			color: #FFF;
			padding: 0.8em 2em 0.8em 2em;
			-webkit-animation: 1s ease 0s normal forwards 1 slidein;
	animation: 1s ease 0s normal forwards 1 slidein;
	left: 50%;
	transform: translate(-50%);
	margin-top:-10%;
	border:1px solid #000;
		}

/* Pennant */

	.pennant {
		-moz-transition: background-color 0.25s ease-in-out;
		-webkit-transition: background-color 0.25s ease-in-out;
		-ms-transition: background-color 0.25s ease-in-out;
		transition: background-color 0.25s ease-in-out;
		position: relative;
		display: inline-block;
		margin-bottom: 2em;
		width: 10em;
		height: 10em;
		line-height: 9.75em;
		border: solid 2px rgba(255, 255, 255, 0.35);
		border-radius: 100%;
		background-color: none;
	}

		.pennant:hover {
			background-color: rgba(255, 255, 255, 0.15);
		}

		.pennant span {
			height: 5em;
			display: inline-block;
			vertical-align: middle;
		}

			.pennant span:before {
				display: block;
				color: #fff;
				font-size: 108px;
			}

/* Icons */

	.icon {
		text-decoration: none;
		position:relative;
	}

		.icon:before {
			font-family: "Font Awesome 5 Pro";
			font-size: 1em;
			text-decoration: none;
			font-style: normal;
			font-weight: normal;
			line-height: 1;
			-webkit-font-smoothing: antialiased;
			-moz-osx-font-smoothing: grayscale;
			position:absolute;
			top:24px;
			right:0;
		}
		
		.fab:before{font-family: "Font Awesome 5 Brands"!important;}

/* Wrappers */

	#header-wrapper {
		background: #ffffff;
		position: fixed;
		z-index: 99;
		width: 100%;
		top: 0;
		left: 0;
		box-shadow: 0 0.05em 0.15em 0 rgba(0, 0, 0, 0.15);
	}

	#banner-wrapper {
		color: #eee;
		color: rgba(255, 255, 255, 0.75);
	}

		#banner-wrapper h2, #banner-wrapper h3 {
			color: #fff;
		}

	#main-wrapper {
		position: relative;
		overflow: hidden;
		margin: 0;
 		padding: 0;
 		width: 100%;
 		min-height:110vh;
		background:#9be4ea;
		display:flex;
		justify-content: center;
		align-items: center;
		}

	.homepage #main-wrapper {
		position: relative;
		padding: 10em 0 7em;
	}

		.homepage #main-wrapper:before {
			content: '';
			display: block;
			position: absolute;
			left: 0;
			top: 0;
			width: 100%;
			height: 100%;
			background: url("images/highlight.png") no-repeat center center;
			background-size: 100% 100%;
		}

	#footer-wrapper {
		position: relative;
		padding: 3em 0 4em 0;
		margin-top:-4px;
		overflow:hidden;
		min-height:100vh;
		z-index:89;
		/*background:url("../../images/contact-bg.jpg") no-repeat center center;*/
	}
	
	#footer-wrapper h2{color:#305c77!important;}

	#featured-wrapper {
		position: relative;
		background: #343e49;
		padding: 8em 0 4em 0;
		color: #eee;
		color: rgba(255, 255, 255, 0.75);
	}

		#featured-wrapper h2, #featured-wrapper h3 {
			color: #fff;
		}

/* Header */

	#header {
		position: relative;
		height: 3em;
		line-height: 3em;
	}

		#header h1 {
			font-size: 1.25em;
			color: #336970;
			margin: 0;
		}

			#header h1 a {
				font-family: 'Crimson Text', serif;
				text-decoration: none;
				font-weight: 900;
				color: #336970;
			}

/* Nav */

	#nav {
		position: absolute;
		right: 0;
		top: 0;
		line-height: 3em;
		height: 3em;
	}

		#nav > ul {
			margin: 0;
		}

			#nav > ul > li {
				display: inline-block;
				margin-left: 1.5em;
			}

				#nav > ul > li:first-child {
					margin-left: 0;
				}

				#nav > ul > li > a, #nav > ul > li > span {
					display: block;
					color: #343e49;
					text-decoration: none;
					font-weight: 300;
					outline: 0;
					font-size: 0.9em;
				}
				
				#nav > ul > li > a.icon{padding-right:20px;}

				#nav > ul > li > ul {
					display: none;
				}

	.dropotron {
		list-style: none;
		text-align: left;
		line-height: 2em;
		min-width: 12em;
		background: #fff;
		box-shadow: 0 0.05em 0.15em 0 rgba(0, 0, 0, 0.15);
		line-height: 1em;
		padding: 0.85em 0 0.85em 0;
		/*border-radius: 0.5em;*/
	}

		.dropotron a, .dropotron span {
			display: block;
			padding: 0.5em 1.5em 0.5em 1.5em;
			font-size: 0.90em;
			text-decoration: none;
			color: inherit;
		}

		.dropotron li.active > a, .dropotron li.active > span {
			background-color: #3499B8;
		}

		.dropotron li:hover > a, .dropotron li:hover > span {
			background-color: #035b4c;
			color:#FFF;
		}

		.dropotron.level-0 {
			font-size: 0.9em;
			/*border-radius: 0 0 0.5em 0.5em;*/
			box-shadow: 0 0.15em 0.15em 0 rgba(0, 0, 0, 0.15);
			margin: -0.1em 0 0 -1.1em;
		}

/* Main */

	#main {
		position: relative;
		background: #FFF;
		border-radius: 0.5em;
		padding: 4em 2.5em 4em 2.5em;
	}

/* Banner */

	#banner {
		text-align: center;
	}

		#banner .major h2 {
			font-size: 3.5em;
			line-height: 1em;
			margin-bottom: 0.75em;
		}

		#banner .major p {
			top: -1em;
			font-size: 1.5em;
		}

		#banner section {
			margin: 0;
		}

/* Footer */
	
	#footer{
		position:relative;
		z-index:300;
		margin-top:5em;
		-webkit-animation: 3s ease 0s normal forwards 1 fadeonlyin;
	animation: 3s ease 0s normal forwards 1 fadeonlyin;
	opacity:0;
	}
	
	
	.title {
		position:relative;
		z-index:4;
		text-align: center;
	}

	.title span {
		background: #a2395a;
	}

/* Copyright */

	#copyright {
		position: relative;
		text-align: center;
		color: #444;
		padding: 1em 0em;
		font-size:0.7em;
		background:#fff;
		z-index:1;
	}
	
	#copyright p{margin-bottom:0;}

		#copyright span {
			color: #a1a6ac;
		}

/* Featured */

	#featured .title {
		text-align: center;
	}

		#featured .title span {
			background: #3499b8;
			background-attachment: fixed;
			background-image: url("images/bg.svg");
			background-position: center center;
			background-repeat: repeat;
		}

	#featured header .byline {
		display: block;
	}

	#featured p {
		line-height: 1.8em;
	}

/* Wide */

	@media screen and (max-width: 1680px) {

		/* Basic */

			body, input, textarea, select {
				font-size: 14pt;
			}

		/* Pennant */

			.pennant span:before {
				font-size: 96px;
			}

		/* Wrappers */

			#main-wrapper {
				padding: 4em 0 3em 0;
			}

			.homepage #main-wrapper {
				padding: 8em 0 5em;
			}

	}

/* Normal */

	@media screen and (max-width: 1280px) {

		/* Basic */

			body, input, textarea, select {
				font-size: 13pt;
			}

		/* Pennant */

			.pennant span:before {
				font-size: 84px;
			}

		/* Pennants */

			ul.pennants li {
				width: 48%;
				max-width: 100%;
				padding: 1em 2em;
			}

	}

/* Narrow */

	@media screen and (max-width: 980px) {

		/* Icons */

			ul.icons > li {
				padding: 8px 0 0 64px;
			}

				ul.icons > li:before {
					font-size: 16px;
					width: 48px;
					height: 48px;
					line-height: 48px;
				}

				ul.icons > li:nth-last-child(1), ul.icons > li:nth-last-child(2) {
					margin-bottom: 0;
				}

	}

/* Narrower */

	#navPanel, #titleBar {
		display: none;
	}

	@media screen and (max-width: 840px) {

			html, body {
				overflow-x: hidden;
			}

		/* Profiles */

			ul.profiles {
				text-align: center;
				margin: 0;
			}

				ul.profiles > li {
					display: inline-block;
					text-align: center;
					border-top-width: 0;
					border-left-width: 2px;
					padding: 0 1.5em;
					vertical-align: top;
				}

				ul.profiles.four > li {
					width: 23%;
				}

				ul.profiles.three > li {
					width: 32%;
				}

				ul.profiles.two > li {
					width: 48%;
				}

				ul.profiles > li:first-child {
					border-left-width: 0;
				}

				ul.profiles > li .image {
					max-width: 10em;
					margin: 0 auto;
				}

			ul.icons > li {
				display: inline-block;
				width: 48%;
				margin: 0 0 2em 0;
				vertical-align: top;
			}

				ul.icons > li:nth-last-child(1), ul.icons > li:nth-last-child(2) {
					margin-bottom: 0;
				}

		/* Wrappers */

			#header-wrapper {
				display: none;
			}

			#main-wrapper {
				padding: 1em 0 3em 0;
			}

			.homepage #main-wrapper {
				padding: 5em 0;
			}

		/* Featured */

			#featured ul.style1 {
				margin-top: 3em;
			}

		/* Nav Panel */

			#page-wrapper {
				-moz-backface-visibility: hidden;
				-webkit-backface-visibility: hidden;
				-ms-backface-visibility: hidden;
				backface-visibility: hidden;
				-moz-transition: -moz-transform 0.5s ease;
				-webkit-transition: -webkit-transform 0.5s ease;
				-ms-transition: -ms-transform 0.5s ease;
				transition: transform 0.5s ease;
				padding-top: 44px;
				padding-bottom: 1px;
			}

			#titleBar {
				-moz-backface-visibility: hidden;
				-webkit-backface-visibility: hidden;
				-ms-backface-visibility: hidden;
				backface-visibility: hidden;
				-moz-transition: -moz-transform 0.5s ease;
				-webkit-transition: -webkit-transform 0.5s ease;
				-ms-transition: -ms-transform 0.5s ease;
				transition: transform 0.5s ease;
				display: block;
				height: 44px;
				left: 0;
				position: fixed;
				top: 0;
				width: 100%;
				z-index: 10001;
				background: #FFF;
				box-shadow: 0 0.05em 0.15em 0 rgba(0, 0, 0, 0.15);
			}

				#titleBar .title {
					display: block;
					text-align: center;
					line-height: 44px;
					font-size: 1.10em;
					font-weight: 900;
					color: #343e49;
				}

				#titleBar .toggle {
					position: absolute;
					left: 0;
					top: 0;
					width: 80px;
					height: 60px;
					z-index: 9999;
				}

					#titleBar .toggle:after {
						content: '';
						display: block;
						width: 20px;
						height: 20px;
						position: absolute;
						left: 10px;
						top: 12px;
						background: url("images/toggle.svg") 0px 0px no-repeat;
						background-size:cover;
						opacity: 0.8;
					}

					#titleBar .toggle:active:after {
						opacity: 0.75;
					}

			#navPanel {
				-moz-backface-visibility: hidden;
				-webkit-backface-visibility: hidden;
				-ms-backface-visibility: hidden;
				backface-visibility: hidden;
				-moz-transform: translateX(-275px);
				-webkit-transform: translateX(-275px);
				-ms-transform: translateX(-275px);
				transform: translateX(-275px);
				-moz-transition: -moz-transform 0.5s ease;
				-webkit-transition: -webkit-transform 0.5s ease;
				-ms-transition: -ms-transform 0.5s ease;
				transition: transform 0.5s ease;
				display: block;
				height: 100%;
				left: 0;
				overflow-y: auto;
				position: fixed;
				top: 0;
				width: 275px;
				z-index: 10002;
				background: #242E39;
			}

				#navPanel .link {
					display: block;
					color: #888;
					color: rgba(255, 255, 255, 0.75);
					text-decoration: none;
					height: 44px;
					line-height: 44px;
					border-top: solid 1px rgba(255, 255, 255, 0.05);
					padding: 0 0.6em 0 0.6em;
					font-size:0.9em;
				}

					#navPanel .link:first-child {
						border-top: 0;
					}

					#navPanel .link.depth-0 {
						color: #fff;
					}

				#navPanel .indent-1 {
					display: inline-block;
					width: 1em;
				}

				#navPanel .indent-2 {
					display: inline-block;
					width: 2em;
				}

				#navPanel .indent-3 {
					display: inline-block;
					width: 3em;
				}

				#navPanel .indent-4 {
					display: inline-block;
					width: 4em;
				}

				#navPanel .indent-5 {
					display: inline-block;
					width: 5em;
				}

				#navPanel .depth-0 {
					color: #fff;
				}

			body.navPanel-visible #page-wrapper {
				-moz-transform: translateX(275px);
				-webkit-transform: translateX(275px);
				-ms-transform: translateX(275px);
				transform: translateX(275px);
			}

			body.navPanel-visible #titleBar {
				-moz-transform: translateX(275px);
				-webkit-transform: translateX(275px);
				-ms-transform: translateX(275px);
				transform: translateX(275px);
			}

			body.navPanel-visible #navPanel {
				-moz-transform: translateX(0);
				-webkit-transform: translateX(0);
				-ms-transform: translateX(0);
				transform: translateX(0);
			}

	}

/* Mobile */

	@media screen and (max-width: 736px) {

		/* Basic */

			 input, textarea, select {
				font-size: 12pt;
				text-align: justify;
			}
			
			h1{font-size:1.6em;}
			

			h2, .container1w h2 {
				font-size: 1.25em;
				margin: 0 0 1.5em 0;
			}

.title span{position:relative; margin:0 auto; left:auto; transform:none;}

.container, .container1w{max-width:90%;}
.container1 img{max-height:50px!important; width:auto;}
#footer{margin-top:2em;}

.title_underline{height:3px; background:#336970; width:80%; margin:0em auto 1.5em auto;}
#main-wrapper{min-height:120vh;}
			h3 {
				font-size: 1em;
				margin: 0 0 0.5em 0;
			}

		/* Buttons */

			.button {
				line-height: 2.5em;
				display: block;
				width: 100%;
				padding: 0em 1.5em;
				font-size: 1em !important;
				letter-spacing: 0 !important;
			}

		/* Profiles */

			ul.profiles > li {
				width: 100% !important;
				border-left-width: 0;
				border-top-width: 2px;
				padding: 2em 0 0 0;
				margin: 1em 0 0 0;
			}

				ul.profiles > li:first-child {
					border-top-width: 0;
					padding-top: 0;
					margin-top: 0;
				}

		/* Icons */

			ul.icons > li {
				display: block;
				width: 100%;
				margin: 1em 0 0 0 !important;
			}

		/* Pennants */

			ul.pennants li {
				width: 100%;
				padding: 0.5em 0;
			}

		/* Main Title Heading */

			.title-heading {
				margin: 1.5em 0 1em 0;
				text-align: center;
			}

				.title-heading h2 {
					font-size: 1.5em;
				}

				.title-heading p {
					position: relative;
					font-size: 1em;
				}

		/* Wrappers */

			#main-wrapper {
				padding: 0 0 2em 0;
			}

			.homepage #main-wrapper {
				padding: 2.5em 20px 2.5em 20px;
			}

			#footer-wrapper {
				padding: 0em;
			}

			#featured-wrapper {
				padding: 6em 20px 2em 20px;
			}

		/* Banner */

			#banner .major h2 {
				font-size: 2.5em;
				line-height: 1.1em;
				margin-bottom: 1em;
			}

			#banner .major p {
				top: -1em;
				font-size: 1.25em;
				margin: 0;
			}

		/* Main */

			#main {
				border-radius: 0;
				padding: 2em 20px;
			}

		/* Copyright */

			#copyright {
				padding: 2em 0em;
			}

	}
	
	

.container1{
	
	padding:2em;
	max-width:50%;
	color:#336970;
	text-align:center;
	position:absolute;
	z-index:98;
	/*text-transform:uppercase;*/
	left: 50%;
	margin-top:10%;
	transform: translate(-50%);
	-webkit-animation: 2s ease 0s normal forwards 1 fadein;
	animation: 2s ease 0s normal forwards 1 fadein;
	opacity:0;
	
}

.container1 h1{font-family: 'Crimson Text', serif!important;}

/* tabs (overrides from jqueryu ui*/
.ui-widget-header{background:none!important; border:none!important;}
.ui-widget-content, #tabs{border:none!important; background:none!important;}
/*.ui-corner-top{border-top-right-radius: 8px;border-top-left-radius: 8px;}*/
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active{background-color:#336970; border-color:#336970;}
.ui-tabs .ui-tabs-nav{margin-left:1em;}
.ui-widget-content{color:inherit!important; font-family:inherit!important;}
/* end tabs */

/*
old style boxes
.container1w, .ui-tabs-panel{
	background:rgba(255,255,255,1)!important;
	border:0!important;
	border-radius:0px!important;
	padding:2em;
	margin:0 auto;
	-webkit-box-shadow: -10px 10px 0px 0px rgba(162,57,90,1);
-moz-box-shadow: -10px 10px 0px 0px rgba(162,57,90,1);
box-shadow: -10px 10px 0px 0px rgba(162,57,90,1);
}
*/

.ui-tabs-panel{
	background:rgba(51,105,112,1)!important;
	border:0!important;
	border-radius:0px!important;
	padding:2em;
	margin:0 auto;
	color:#FFF!important;
	/*-webkit-box-shadow: -10px 10px 0px 0px rgba(162,57,90,1);
-moz-box-shadow: -10px 10px 0px 0px rgba(162,57,90,1);
box-shadow: -10px 10px 0px 0px rgba(162,57,90,1);*/
}


#footer-wrapper .ui-tabs-panel h2, .ui-tabs-panel h4{color:#FFF!important;}

.container1w{
	padding:2em;
	margin:0 auto;
	-webkit-animation: 2s ease 0s normal forwards 1 fadeonlyin;
	animation: 2s ease 0s normal forwards 1 fadeonlyin;
	opacity:0;
	position:relative;
	z-index:2;
	
}

/*#page-wrapper.bgfade > #footer-wrapper::after{
	content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .3;
	z-index:1;
}*/

#footer-wrapper .container1w h1, #footer-wrapper .container1w h2, #footer-wrapper .container1w h3, .container1w{color:#FFF!important;}

#footer-wrapper .darkfont, #footer-wrapper .container1w.darkfont h2, #footer-wrapper .darkfont h1, #footer-wrapper .darkfont h3, #footer-wrapper .darkfont a{color:#101010!important;}
.container1w.darkfont h2{border-color:#FFF;}

#footer-wrapper .container1w.darkfont a{color:#0a2c34!important;}
#footer-wrapper .container1w.darkfont a.button{color:#FFF!important;}
#footer-wrapper .container1w a{color:#a0dbe9!important;}

#footer-wrapper .container1w li a{color:#FFF!important;}


 @keyframes fadein {
 0% {
opacity:0;
margin-top:20%;
}
 50% {
opacity:0;
}
 100% {
opacity:1;
margin-top:10%;
}
}
 @-webkit-keyframes fadein {
 0% {
opacity:0;
margin-top:20%;
}
 50% {
opacity:0;
}
 100% {
opacity:1;
margin-top:10%;
}
}


 @keyframes fadeonlyin {
 0% {
opacity:0;
}
 50% {
opacity:0;
}
 100% {
opacity:1;
}
}
 @-webkit-keyframes fadeonlyin {
 0% {
opacity:0;
}
 50% {
opacity:0;
}
 100% {
opacity:1;
}
}


 @keyframes slidein {
 0% {

margin-top:-10%;
}
 50% {

}
 100% {

margin-top:0%;
}
}
 @-webkit-keyframes slidein {
 0% {
opacity:0;
margin-top:-10%;
}
 50% {
opacity:0;
}
 100% {
opacity:1;
margin-top:0%;
}
}


.welcome {
	left:10%;
	max-width:50%;
	z-index:10
}
.welcome p {
	color:#3e3e3e;
	font-size:2em;
	line-height:1.3em;
	margin:1.2em 0;
}
.floating {
	float: left;
	-webkit-animation-name: Floatingx;
	-webkit-animation-duration: 3s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: ease-in-out;
	-moz-animation-name: Floating;
	-moz-animation-duration: 3s;
	-moz-animation-iteration-count: infinite;
	-moz-animation-timing-function: ease-in-out;
	-ms-animation-name: Floating;
	-ms-animation-duration: 3s;
	-ms-animation-iteration-count: infinite;
	-ms-animation-timing-function: ease-in-out;
	-o-animation-name: Floating;
	-o-animation-duration: 3s;
	-o-animation-iteration-count: infinite;
	-o-animation-timing-function: ease-in-out;
	-o-animation-name: Floating;
	animation-duration: 3s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
	margin-left: 30px;
	margin-top: 5px;
}
 @-webkit-keyframes Floatingx {
 from {
-webkit-transform:translate(0, 0px);
}
 65% {
-webkit-transform:translate(0, 15px);
}
to {
	-webkit-transform: translate(0, -0px);
}
}
 @-moz-keyframes Floating {
 from {
-moz-transform:translate(0, 0px);
}
 65% {
-moz-transform:translate(0, 15px);
}
to {
	-moz-transform: translate(0, -0px);
}
}
 @-ms-keyframes Floating {
 from {
-ms-transform:translate(0, 0px);
}
 65% {
-ms-transform:translate(0, 15px);
}
to {
	-ms-transform: translate(0, -0px);
}
}
 @-o-keyframes Floating {
 from {
-o-transform:translate(0, 0px);
}
 65% {
-o-transform:translate(0, 15px);
}
to {
	-o-transform: translate(0, -0px);
}
}
 @keyframes Floating {
 from {
transform:translate(0, 0px);
}
 65% {
transform:translate(0, 15px);
}
to {
	transform: translate(0, -0px);
}
}


    
/* Sprites  		    -------------------------------------------------------*/

	[data-type="sprite"] {
 position: absolute;
	    /*left:50%;
	    top:50%;*/
	    width:auto;
height:auto;
/*border:1px dashed blue;*/
	}
.sprite {
	position:absolute;
	z-index:10
}

div.sprite{z-index:999;}
/* Layout - Section  		    -------------------------------------------------------*/

	#panel-1 {
	background:#9be4ea;
	display:flex;
	justify-content: center;
	align-items: center;
}
/* moving parts */
	
	#tree {
	right:100px;
	z-index:15;
	width:25%; height:auto;
}

 #grass,#cloudsbg {
width:100%; height:auto;
}

#grass{z-index:12;}

#sunskyhome{z-index:1; width:100%;height:auto;}
#birds{ z-index:12; left:10%; width:20%; height:auto;}
#sun{width:35%; height:auto;}
#clouds{width:95%; height:auto;}
#clouds2{width:95%; height:auto;}
#mountains{width:105%; height:auto; z-index:12;}
#mountainspgn{width:50%; height:auto; z-index:12; left:0;}
#mountainsn{width:105%; height:auto; z-index:10;}
#sunsetsky{width:100%; height:auto; z-index:0;}
#office{height:100%; width:auto; z-index:0;}
#sunsettrees,#office-lights{width:100%; height:auto; z-index:1;}
#pepperpot{width:40%; max-width:597px; height:auto; right:5%; }
#calculator{width:30%;max-width:238px;height:auto; right:15%; z-index:11;
-webkit-animation: 2s ease 0s normal forwards 1 fadein;
	animation: 2s ease 0s normal forwards 1 fadein;
	opacity:0;
	}
/* end moving parts */
	
	#panel-1 p {
	font-size:1.9em;
	color:#fff;
}

 @media screen and (max-width: 760px) {
 body {
	 font-size:100%;
}
.container1w {
	max-width:100%;
}

 .container { 
 padding:1em 0em;
 width:94%;
 margin:auto;
 top: 5%;
}
 #grass, #mountains {
bottom:0!important;
}
 #cloudsbg {
bottom:5%!important;
}
#clouds{top:10%!important;}
#birds{display:none;}
#sun{top:10%!important;}

#tree{width:50%;height:auto;right:5%; bottom:-5%;}

#sunsetsky,#office, #sunskyhome,#resourcessky{height:100%!important; width:auto!important; top:0; left:0;}

#sunsettrees, #office-lights, #mountainsn{display:none;}

.contact-bg {
	background:url("../../images/contact-bg.jpg") no-repeat center center;
	background-size:cover;
}
.container1{max-width:100%; width:90%;}


.ui-tabs .ui-tabs-nav li {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
	margin:4px;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:4px; padding-bottom:0px;}
.file_wrapper a{max-width:100%;}
.flexcentre {display:block;}

}

#contentModal{font-size:0.8em;}
#contentModal .modal-content{border-radius:0!important;position:relative; background-color:#FFF;
box-shadow:
    /* The top layer shadow */
    0 -1px 1px rgba(0,0,0,0.15),
    /* The second layer */
    0 -10px 0 -5px #eee,
    /* The second layer shadow */
    0 -10px 1px -4px rgba(0,0,0,0.15),
     /* The third layer */
    0 -20px 0 -10px #eee,
    /* The third layer shadow */
    0 -20px 1px -9px rgba(0,0,0,0.15);
    /* Padding for demo purposes */
    padding: 30px;

}

#contentModal .modal-content:before, #contentModal .modal-content:after {            
    bottom:40px;
                    content: "";
                    position: absolute;
                    z-index: -1;
                    -ms-transform: rotate(-11deg);
                    -webkit-transform: rotate(-11deg); /* Safari and Chrome */
                    -o-transform: rotate(-11deg); /* Opera */
                    -moz-transform: rotate(-11deg); /* Firefox */
                    box-shadow: 0 25px 15px rgba(0, 0, 0, 0.4);
                    height: 50px;
                    max-width: 50%;
                    width: 50%;
                    left:3px;
                }
                #contentModal .modal-content:after {
                    
                    -ms-transform: rotate(11deg); /* IE 9 */
                    -webkit-transform: rotate(11deg); /* Safari and Chrome */
                    -o-transform: rotate(11deg); /* Opera */
                    -moz-transform: rotate(11deg); /* Firefox */
                    left: auto;
                    right: 2px;
                }
				
.social_icons{font-size:2em;}