html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
    -webkit-font-smoothing: subpixel-antialiased !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

html,
body {
	font-size: 17px;
	line-height: 24px;
	-webkit-text-size-adjust: 100%;
	height: 100%;
	font-family: 'PemW-Lt', 'Helvetica Neue', sans-serif;
}

body {
	margin: 0;
	padding: 0;
	background-color: #fff;
	display: flex;
	overflow-x: hidden; 
}


@font-face {
	font-family: 'Cockayne-Text';
	src: url('/fonts/Cockayne-Text.woff2') format('woff2'),
		 url('/fonts/Cockayne-Text.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'PemW-Lt';
	src: url('/fonts/PemW-Lt/pemw-lt.eot');
	src: url('/fonts/PemW-Lt/pemw-lt.eot?#iefix') format('embedded-opentype'),
		 url('/fonts/PemW-Lt/pemw-lt.woff2') format('woff2'),
		 url('/fonts/PemW-Lt/pemw-lt.woff') format('woff'),
		 url('/fonts/PemW-Lt/pemw-ltt.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'PemW-Rg';
	src: url('/fonts/PemW-Rg/pemw-rg.eot');
	src: url('/fonts/PemW-Rg/pemw-rg.eot?#iefix') format('embedded-opentype'),
		 url('/fonts/PemW-Rg/pemw-rg.woff2') format('woff2'),
		 url('/fonts/PemW-Rg/pemw-rg.woff') format('woff'),
		 url('/fonts/PemW-Rg/pemw-rg.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'PemW-Md';
	src: url('/fonts/PemW-Md/pemw-md.eot');
	src: url('/fonts/PemW-Md/pemw-md.eot?#iefix') format('embedded-opentype'),
		 url('/fonts/PemW-Md/pemw-md.woff2') format('woff2'),
		 url('/fonts/PemW-Md/pemw-md.woff') format('woff'),
		 url('/fonts/PemW-Md/pemw-md.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
strong {
	font-family: 'PemW-Md';
	font-weight: normal;
	font-style: normal;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, li {
	margin: 0;
	padding: 0;
	font-weight: normal!important;
}

h1, h2 {
	margin: 30px 0;
	font-family: 'PemW-Lt';
	font-size: 42px;
	line-height: 48px;
}

h3 {
	margin: 40px 0 20px 0;
	font-family: 'PemW-Lt';
	font-size: 26px;
	line-height: 32px;
}

h4 {
	margin: 40px 0 20px 0;
	font-family: 'PemW-Lt';
	font-size: 22px;
	line-height: 28px;
}

h4 {
	padding-right: 50px;
}

p {
	margin: 0 0 20px 0;
	font-family: 'PemW-Lt';
	font-size: 17px;
	line-height: 24px;
}

a {
	color: #0d78f2;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

ul, ol {
	margin-left: 5px; 
	margin-bottom: 20px;
}

li { margin-left: 20px; }

ol li { margin-bottom: 20px; }

ol li ol { margin-left: 5px; list-style-type: lower-alpha ; } /* override second level ordered list to lowercase letters */

/*.topLeft {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 300px;
  height: auto;
  opacity: 1.0;
  z-index: 2;
}
*/
.topMiddle {
  position: absolute;
  top: 20px;
  left: 50%;
  /* bring your own prefixes */
  transform: translate(-50%, 0);
  width: 100%;
  max-width: 320px;
  height: auto;
  opacity: 1.0;
  z-index: 2;
}

/*.centered {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  opacity: 1.0;
  z-index: 2;
}
*/

#arrow { display: block; }

.centeredBottom {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  width: 44px;
  opacity: 1.0;
  z-index: 2;
}
	.centeredBottom:hover {
  		opacity: 1.0;
	}
	#home .centeredBottom {
		bottom: 30px;
	}
	.centeredBottom {
		bottom: 170px;
	}

#navigation {
	position: absolute;
	top: 125px;
	left: 50%;
	/* bring your own prefixes */
	transform: translate(-50%, 0);
	z-index: 2;
		width: 100%;
		max-width: 600px;
}
#nav {
	list-style-type: none;
	margin: 0 auto;
	height: auto;
	align-items: center;
	display: flex;
	justify-content: center;
}
	#nav li {
		margin: 0;
		padding: 0 10px;
		float: left;
	}
	#nav li:last-of-type {
		margin-right: 0;
	}
		#nav li a {
			color: #fff;
		}
		#nav li a:hover {
			text-decoration: none;
			color: #ccc;
		}
		#nav li.active a {
			text-decoration: none;
			color: #ccc;
			font-family: 'PemW-Md';
		}
		#home #nav li.active a {
			text-decoration: none;
			color: #fff;
			font-family: 'PemW-Lt';
		}

#home #full-height-slider {
	position: absolute;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px; /* height of thumbs (if not required set to 0) */
	width: auto;
	height:auto;
	z-index: 0;
	background: #fff;
}

#full-height-slider {
	position: absolute;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 150px; /* height of thumbs (if not required set to 0) */
	width: auto;
	height:auto;
	z-index: 0;
	background: #fff;
}

.rsNav { 
	padding: 20px 0;
	background: transparent !important;
	display: none;
}


#home .other { margin: 0; padding: 20px 0 0 0; position: absolute; left: 0; top: 100%; width: 100%; }

.other { margin: -150px 0 0 0; padding: 20px 0 0 0; position: absolute; left: 0; top: 100%; width: 100%; }

.otherContent {
	margin: 0 auto;
	padding: 0 0 30px 0;
	width: 60%;
	max-width: 960px;
	/*text-align: center;*/
}
	.otherContent a {
		color: #00aaee;
	}

	.subNavigation {
		margin: 0 auto;
		padding: 0;
		width: 100%;
	}
	
	.otherContent .subNavigation nav {
		text-align: center;
	}
	
	.otherContent .subNavigation ul {
		list-style-type: none;
		display: inline-block;
		margin: 0;
		padding: 0;
	}
	.otherContent .subNavigation li {
		list-style-type: none;
		display: inline-block;
		margin: 0;
		padding: 0 7px;
		border-right: 1px solid #999;
	}
		/*.otherContent .subNavigation li:first-child {
			padding-left: 0;
		}*/
		.otherContent .subNavigation li:last-child {
			border-right: none;
		}
	
	.otherContent .subNavigation li a {
		color: #00aaee;
	}
	
	.otherContent .subNavigation li.active a {
		color: #000;
	}



.tabs {
	width: 100%;
	max-width: 960px;
	margin: 30px auto 30px auto;
	padding: 0;
	display: inline-block;
}

.transformer-tabs ul {
	list-style: none;
	margin: 20px 0 0 0;
	padding: 0;
	/*width: 250px;*/
	width: 30%;
	float: left;
	background-image: linear-gradient(to right, #fff, #999);
}
.transformer-tabs li {
	display: block;
	padding: 0;
	vertical-align: middle;
	margin: 1px 1px 0 0;
	background: #fff;
	background-image: linear-gradient(to right, #fff, #f7f7f7);
	text-align: right;
	cursor: pointer;
}
.transformer-tabs li .active {
	color: #000; 
	background: #fff;
	background-image: none;
	border-right: 1px solid #fff;
	margin-right: -1px;
}

.transformer-tabs a {
	display: block;
	/*color: #34add5;*/
	color: #777;
	text-decoration: none;
	margin: 0;
	padding: 15px;
	/*width: 219px;*/
}
.transformer-tabs li:last-child {
	margin: 1px 1px 1px 0;
}
.transformer-tabs a.active {
	position: relative;
	display: block;
}

.tabs > div {
	display: none;
	/*padding: 0 20px 10px 40px;*/
	margin: 20px 0 0 0;
	padding: 15px 0;
	float: left;
	/*width: 650px;*/
	width: 70%;
}

.tabs > .active {
	display: block;
}

.tabs > div h1,
.tabs > div h2,
.tabs > div h3,
.tabs > div p {
	margin: 0;
	padding: 0 30px 20px;
}
	.tabs > div h1,
	.tabs > div h2,
	.tabs > div h3,
	.tabs > div:first-child p {
		margin-top: 15px;
	}
	
.tabs > div p { line-height: 1.4; }




#footer {
	margin: 32px 0 0 0;
	padding: 0;
	width: 100%;
	background-color: #000;
	text-align: center;
}
	#footer div {
		margin: 0px;
		padding: 20px;
	}
		#footer div p, #footer div a {
			margin-bottom: 0;
			color: #fff;
		}

	.centeredBottom {
		bottom: 170px;
	}

	#gallery {
		margin: 0;
		padding: 0 30px;
		/*width: 100%;*/
	}
		#gallery div, #gallery figure.image, #gallery a {
			margin: 0;
			padding: 0;
			width: 12.5%;
			display: inline-block;
		}
			#gallery div img, #gallery figure.image img, #gallery a img {
				width: 100%;
				height: auto;
				vertical-align: bottom;
				/*border-top: 1px solid #fff;
				border-left: 1px solid #fff;*/
			}

			/*#gallery img {
				width: 12.5%;
				height: auto;
				vertical-align: bottom;
			}*/

	.lg-item p {
		position: relative;

		display: inline-block;

		color: #fff;

		bottom: -25%;
	}
	
	div.caption { display: none !important; }



@media only screen and (max-width: 740px) {

	.otherContent {
		width: 90%;
	}
	.otherContent h4 {
		padding-right: 10px;
	}



	.tabs {
		width: 100% !important;
		max-width: 740px !important;
		margin: 30px 0;
		padding: 0;
	}
	
	.transformer-tabs ul {
		padding: 0;
		margin: 0;
		border-bottom: 0;
		overflow: hidden;
		position: relative;
		float: none;
		width: 100%;
		/*background-image: none;*/
	}
	.transformer-tabs ul::after {
		content: "☰";
		font-size: 24px;
		position: absolute;
		top: 7px;
		right: 0px;
		z-index: 2;
		pointer-events: none;
	}
	.transformer-tabs ul.open a {
		position: relative;
		display: block;
	}
	.transformer-tabs li,
	.transformer-tabs li .active {
		margin-right: 0 !important;
		width: auto;
		background-color: #fff;
		background-image: none;
	}
	.transformer-tabs a {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: #fff;
		text-align: left;
		padding: 10px 40px 10px 0px;
		margin: 0 0 0 0;
	}
		.transformer-tabs a:hover {
			color: #000;
		}
	.transformer-tabs a.active {
		border: 0;
		z-index: 1;
	}
		.transformer-tabs a.active:hover {
			color: #000;
		}

	.tabs > div {
		display: none;
		padding: 0;
		float: none;
		width: 100%;
	}

	.tabs > div h1,
	.tabs > div h2,
	.tabs > div h3,
	.tabs > div p {
		margin: 0;
		padding: 0 0 20px;
	}


	#gallery {
	margin: 0;
	padding: 0 20px;
	/* width: 100%; */
	}
		#gallery div, #gallery figure.image, #gallery a {
			margin: 0;
			padding: 0;
			width: 25%;
			display: inline-block;
		}
  
}


@media only screen and (min-device-width: 320px) and (max-device-width: 740px) and (orientation : portrait) {

	/*#navigation {
		width: 100%;
		max-width: 340px;
	}
	#nav {
		list-style-type: none;
		margin: 0 auto;
		height: auto;
		align-items: center;
		display: block;
		justify-content: center;
	}
	#nav li {
		margin: 0;
		padding: 0 5px;
		float: left;
	}
		#nav li a { font-size: 15px; }
*/
}

@media only screen and (min-device-width: 320px) and (max-device-width: 740px) and (orientation : landscape) {

	
	#full-height-slider {
		bottom: 30px;
	}

	.other { margin: -30px 0 0 0; }

	.centeredBottom {
		bottom: 50px;
	}

}






#mainContainer {
	margin: 120px auto 30px auto;
	padding: 0;
	/*border: 1px solid #111;*/
	width: 90%;
	max-width: 1200px;
}

.pageTitle {

}

.bodyText {
	margin: 0;
	padding: 0;
	float: left;
	width: 75%;
}

.black-header-bg {
	background: black;
	height: 170px;
}
@media only screen and (max-width: 479px) {
	.black-header-bg {
		height: 100px;
	}
}
.w-full {
	width: 100%;
}
.mb-md {
	margin-bottom: 40px;
}
