/*
	Theme Name: Beattie Foundation JABF
	Description: Custom Wordpress theme for Beattie Foundation
	Version: 1.0
	Author: Direction Forward
	Author URI: http://directionforward.com
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
	overscroll-behavior: none;
}
body {
	font-family: 'Sharp Sans No1 - Medium', Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 16px;
	line-height: 1.6em; 
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	/*max-width:1280px;*/
	width:100%;
	margin:0 auto;
	position:relative;
}
.wrapperinner {
	max-width: 1280px;
	margin: 0 auto 0 auto;
	position: relative;
	height: 100%;
}
/* main */
main {
	padding: 10vh 0 10vh 0;
}	
main:nth-of-type(2n) {
	color: white;
	
	background: #00659f;
	background: -moz-linear-gradient(-45deg, #00659f 0%, #03476e 100%);
	background: -webkit-linear-gradient(-45deg, #00659f 0%,#03476e 100%);
	background: linear-gradient(135deg, #00659f 0%,#03476e 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00659f', endColorstr='#03476e',GradientType=1 );
}
main:nth-of-type(2n) h1,
main:nth-of-type(2n) h2 {
	color: white;
}
main:nth-of-type(2n) h2 {
font-family: 'Sharp Sans No1 - Bold';
}
main:nth-of-type(2n) p a {
	color: white;
}
.channelleft {
	float: left;
	width: 25%;
}
section {
	float: left;
	width: 50%;
}
.channelright {
	float: left;
	width: 25%;
}
/* hero */
.hero {
	height: 85vh;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
    margin: 15vh 0 0 0;
    position: relative;
    background-attachment: fixed;
}
body.legal .hero {
	height: 0;
}
body.page-template-template-events .hero .wrapperinner {
    padding: calc(5vh + 5%) 0 calc(5vh + 5%) 0;
}
.hero p {
	margin: 2em 0 0 0;
}
.herooverlay {
	background-color: rgba(0,0,0,0.29);
	width: 100%;
    height: 100%;
    position: absolute;
}
body.bank-of-mum-and-dad .herooverlay,
body.tons-of-help .herooverlay {
	background-color: transparent;
}
.hero .wrapperinner {
	padding: 5% 0 5% 0;
}
.hero .slidedown {
	position: absolute;
	bottom: 10%;
	left: 0;
	font-family: 'Gotham-Bold';
}
.hero .slidedown a {
	color: #ffffff;
	text-transform: uppercase;
}
body.bank-of-mum-and-dad .hero .slidedown a,
body.tons-of-help .hero .slidedown a {
	color: #00659F;
}
.hero .slidedown img {
	width: 25px;
    display: block;
    margin: 0 0 5px 0;
}

/* header */
.header {
	background-color: #00659F;
	width: 100%;
	height: 15vh;
	margin: 0 0 0 0;
	position: fixed;
    top: 0;
    z-index: 100;
    left: 0;
    overflow: visible;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.78);
}
.topmenu {
	font-family: 'Tungsten - Medium';
	color: #86D1F5;
    position: absolute;
    right: 0;
    top: -10px;
    background-color: #08527C;
    border-radius: 6px;
    padding: 20px 10px 10px 10px;
    font-size: 20px;
    width: 150px;
    text-align: center;
}
.topmenu span {
	margin: 0 5% 0 5%;
}
.topmenu a {
	color: #86D1F5;
}
/* logo */
.logo {
	float: left;
	width: 200px;
    vertical-align: middle;
    height: 15vh;	
}
.logo-img {
    height: 100%;
}
/* nav */
.nav {
	font-family: 'Sharp Sans No1 - Semibold';
	opacity: 0;
	float: right;
	font-size: 0.9em;
	line-height: 15vh;
	height: 15vh;
}
.nav ul {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    list-style: none;
    width: 100%;
    height: 100%;
    display: table;
}
.nav ul li {
	display: table-cell;
	text-align: center;
	padding: 0 1% 0 1%;
}
.nav ul li:first-of-type {
	padding: 0 1% 0 0;
}
.nav ul li:last-of-type {
	padding: 0 0 0 1%;
}
.nav a {
	color: #ffffff;
	vertical-align: bottom;
    height: calc(100% - 1em);
}
.nav .current-menu-item a {
	color: #83D0F5;
}
/* subnav eg events */
.subnav {
	background-color: #001C2C;
	height: 5vh;
	z-index: 100;
	position: fixed;
	width: 100%;
	left: 0;
	top: 15vh;
    font-size: 0.9em;
	line-height: 5vh;
	display: none;
}
body.page-template-template-events.page-child .subnav {
	display: block;
	opacity: 0;
}
.subnav ul {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	list-style: none;
	left: auto;
	height: 100%;
	position: relative;
}
.subnav ul li {
	float: left;
	margin-right: 30px;
}
.subnav ul li:last-of-type {
	margin-right: 0;
}
.subnav a {
	color: #83D0F5;
}
.subnav a:hover {
	color: white;
}
.subnav .current_page_item a {
	color: white;
}

/* sidebar */
.sidebar {

}
/* footer */
.footer {
	background-color: #001C2C;
	min-height: 300px;
	width: 100%;
	color: #86D1F5;
	font-size: 0.9em;
    line-height: 1.5em;
	margin: 0 0 0 0;
	padding: 5% 0 5% 0;
}
.footer p {
	color: #86D1F5;
    margin: 0 0 0 0;	
}
.footer a:link,
.footer a:visited {
	color: #86D1F5;
}
.footer a:active {
	color: #ffffff;
}
.footerlogo {
	width: 200px;
	float: left;
}
.footerlogo img {
	max-width: 200px;
	height: 100%;
}
.footermenu {
	float: right;
}
.footermenu ul {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	list-style: none;
}
.footermenu .current-menu-item a {
	color: #ffffff;
}
.footerdetails {
	float: right;
}
.footerdetails p {
	margin: 0 0 10px 0;
}
.footershare {
	float: right;
}
.a2a_kit g,
.a2a_kit path {
	fill: #86D1F5 !important;
}
.a2a_kit span.a2a_svg {
	background-color: transparent !important;
}
.a2a_kit ul {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	list-style: none;
}
.a2a_kit a { 
	width: 100%;
}
.a2a_default_style a {
	line-height: 1.6em !important;
}
.copyright {
	position: absolute;
    bottom: 0;
    left: 0;
}

/*------------------------------------*\
    MENU ANIMATIONS
\*------------------------------------*/
.prospero a {
	position: relative;
	display: inline-block;
	-webkit-transition: color 0.25s;
	transition: color 0.25s;
}

.prospero a:hover,
.prospero a:focus {
	
}

.prospero a::before {
	content: '';
	position: absolute;
    top: calc(60% + 1em);
	left: 0;
	width: 100%;
	height: 2px;
	background: #83D0F5;
	-webkit-transform: scale3d(0, 1, 1);
	transform: scale3d(0, 1, 1);
	-webkit-transition: -webkit-transform 0.1s;
	transition: transform 0.1s;
	margin: 0 auto 0 auto;
    border-radius: 5px;
}

.prospero li.current_page_item > a {
	-webkit-transition: color 0.5s;
	transition: color 0.5s;
}

.prospero a:hover::before,
.prospero a:focus::before  {
	-webkit-transform: scale3d(1, 1, 1);
	transform: scale3d(1, 1, 1);
	-webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
}

body.parent-pageid-22 .menu-item-323 a {
	color: #83D0F5;
}
body.parent-pageid-22 .menu-item-322 a {
	color: white;
}

/*------------------------------------*\
    SIDE CHANNELS
\*------------------------------------*/

.channelleft {
	font-size: 0.8em;
	line-height: 1.4em;
	position: relative;
	top: 30%;
	text-align: left;
	min-height: 1px;
}
.channelleft img {
	width: 60%;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16);
	position: relative;
}
body.bank-of-mum-and-dad .channelleft img,
body.tons-of-help .channelleft img {
	box-shadow: none;
}
.channelleft p {
	width: 80%;
	text-align: left;
	margin: 15px 0 0 0;
}

.channelright {
	font-size: 0.8em;
	line-height: 1.4em;
	position: relative;
	top: 15%;
	text-align: right;
	min-height: 1px;
}
.channelright img {
	width: 60%;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16);
	position: relative;
}
body.bank-of-mum-and-dad .channelright img,
body.tons-of-help .channelright img {
	box-shadow: none;
}
.channelright p {
    width: 80%;
    text-align: left;
    margin: 15px 0 0 auto;
}
.channelright p span {
    font-size: 0.8em;
	line-height: 1.0em;
}

.channelright p.special {
	background: #1451a2;
	background: -moz-linear-gradient(-45deg, #1451a2 0%, #33b5fa 100%);
	background: -webkit-linear-gradient(-45deg, #1451a2 0%,#33b5fa 100%);
	background: linear-gradient(135deg, #1451a2 0%,#33b5fa 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1451a2', endColorstr='#33b5fa',GradientType=1 );
	
	color: white;
    padding: 10%;
    font-size: 1.2em;
    line-height: 1.4em;
}
.channelright p.special img {
	width: 40px;
    box-shadow: none;
    margin: 0 0 1em 0;
}
.channelright img.special {
	position: absolute;
    right: -20px;
    top: calc(100% - 20px);
}

p.channelcaption {
	margin: 15px -20% 10em auto;
}


/*------------------------------------*\
    STARS
\*------------------------------------*/

.buttonholder {
	display: inline-block;
    width: 100%;
    position: relative;
    margin: 5em 0 4em 0;
}
.astar {
	position: absolute;
	height: auto;
	display: none;
}
/* BOMAD */
.star1 {
    width: 30px;
    top: -30px;
    left: -30px;
}
.star2 {
    width: 20px;
    top: -30px;
    left: 400px;	
}
.star3 {
	width: 15px;
	bottom: -35px;
	left: 420px;	
}
/* Tons of Help */
.star4 {
    width: 30px;
    top: -30px;
    left: -30px;
}
.star5 {
    width: 20px;
    top: -30px;
    left: 300px;	
}
.star6 {
	width: 15px;
	bottom: -35px;
	left: 320px;	
}

@keyframes twinkle {
  0% { 
    opacity: 1.0; 
  }
  25% { 
    opacity: 0.5; 
  }
  50% { 
    opacity: 1.0;
  }
  75% { 
    opacity: 1.0;
  }
  100% {
	opacity: 1.0;
  }
}

.twinkle {
  animation: twinkle 500ms linear infinite;
}
.twinkle:nth-of-type(1) {
	-moz-animation-delay: -100ms;
	-webkit-animation-delay: -100ms;
	animation-delay: -100ms;
}
.twinkle:nth-of-type(2) {
	-moz-animation-delay: -200ms;
	-webkit-animation-delay: -200ms;
	animation-delay: -200ms;
}
.twinkle:nth-of-type(3) {
	-moz-animation-delay: -300ms;
	-webkit-animation-delay: -300ms;
	animation-delay: -300ms;
}

/*------------------------------------*\
    BUTTONS
\*------------------------------------*/

.button {
	text-transform: uppercase;
	border-radius: 15px;
	padding: 15px 25px 17px 25px;
}
a.button {
	color: white;
	font-weight: normal;
	font-family: 'Sharp Sans No1 - Medium';
}
a.button strong {
	font-weight: normal;
	font-family: 'Sharp Sans No1 - Semibold';
}
.button.blue {
	background-color: #00B1FF;
}


/*------------------------------------*\
    IMAGES
\*------------------------------------*/

h1.jack img {
	height: 1.8em;
    vertical-align: middle;
    margin: 0 0.4em 0 0;
}
h1.ada img {
	height: 1.8em;
    vertical-align: middle;
    margin: 0 0.4em 0 0;
}

.afg-gallery::before { 
  display: block; 
  content: " "; 
  margin-top: -20vh; 
  height: 20vh; 
  visibility: hidden; 
  pointer-events: none;
}
#swipebox-title {
	display: none !important;
}
div.afg-table {
	width: calc(100% + 10px) !important;
    margin-left: -5px !important;
}
div.afg-cell {
	padding: 0 5px 10px 5px !important;
}
div.afg-pagination {
	text-transform: uppercase;
    text-align: left !important;
}
img.afg-img {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
	box-shadow: none !important;
	
}
font.afg-page,
a.afg-page:visited,
a.afg-page:link {
	border: none !important;
}
font.afg-cur-page {
	border: none !important;
	background-color: #00659F !important;
}
a.afg-page:hover {
	background-color: #86D1F5 !important;
}


ul.thankyou {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	list-style: none;
}
ul.thankyou li {
	display: inline-block;
	width: 25%;
	margin: 5% 11% 5% 0;
    vertical-align: middle;
	text-align: center;
}
ul.thankyou li:nth-of-type(3n) {
	margin-right: 0;
}
ul.thankyou li img {
	max-height: 60px;
}

img.signature {
    margin: 1em 0 1em 0;
}


/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family: 'Sharp Sans No1 - Medium';
	src: url('fonts/Sharp Sans No1 - Medium.eot');
	src: local('☺'), url('fonts/Sharp Sans No1 - Medium.woff') format('woff'), url('fonts/Sharp Sans No1 - Medium.ttf') format('truetype'), url('fonts/Sharp Sans No1 - Medium.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Sharp Sans No1 - Semibold';
	src: url('fonts/Sharp Sans No1 - Semibold.eot');
	src: local('☺'), url('fonts/Sharp Sans No1 - Semibold.woff') format('woff'), url('fonts/Sharp Sans No1 - Semibold.ttf') format('truetype'), url('fonts/Sharp Sans No1 - Semibold.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Sharp Sans No1 - Bold';
	src: url('fonts/Sharp Sans No1 - Bold.eot');
	src: local('☺'), url('fonts/Sharp Sans No1 - Bold.woff') format('woff'), url('fonts/Sharp Sans No1 - Bold.ttf') format('truetype'), url('fonts/Sharp Sans No1 - Bold.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Tungsten - Medium';
	src: url('fonts/Tungsten-Medium.eot');
	src: local('☺'), url('fonts/Tungsten-Medium.otf') format('otf'), url('fonts/Tungsten-Medium.ttf') format('truetype'), url('fonts/Tungsten-Medium.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Tungsten - Semibold';
	src: url('fonts/Tungsten-Semibold.eot');
	src: local('☺'), url('fonts/Tungsten-Semibold.otf') format('otf'), url('fonts/Tungsten-Semibold.ttf') format('truetype'), url('fonts/Tungsten-Semibold.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Gotham-Bold'; 
	src: url('fonts/Gotham-Bold.eot');
	src: local('â˜º'), url('fonts/Gotham-Bold.woff') format('woff'), url('fonts/Gotham-Bold.ttf') format('truetype'), url('fonts/Gotham-Bold.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

main h1 {
	font-family: 'Tungsten - Semibold';
	font-weight: normal;
	color: #00659F;
    font-size: 3.4em;
    letter-spacing: -1px;
	text-transform: uppercase;
	margin: 0 0 1.1em 0;
	line-height: 1.0em;
}
main h2 {
	color: #00659F;
	font-weight: normal;
	font-family: 'Sharp Sans No1 - Semibold';
	font-size: 1.25em;
	line-height: 1.3em;
}
main h3 {
	color: #86D1F5;
    margin: -2.6em 0 2em 0;
	font-weight: normal;
	font-size: 1.5em;
    line-height: 1.3em;
	font-family: 'Sharp Sans No1 - Semibold';
}
main h3:nth-of-type(2) {
	margin: -2em 0 2em 0;
}
main h4 {
	font-weight: normal;
	font-family: 'Sharp Sans No1 - Bold';
	font-size: 0.9em;
	line-height: 1.3em;
    margin: 0 0 1em 0;
}


main section p,
main section ul,
main section ol {
	font-size: 1.2em;
    line-height: 1.4em;
	font-family: 'Sharp Sans No1 - Semibold';
	font-weight: normal;
}
main section ul {
	list-style: none;
}
main section ul li {
	margin: 0 0 1em 0;
}
main section ul li:before {
    content: " ";
    background-image: url(img/bullet.svg);
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    height: 1em;
    background-repeat: no-repeat;
    background-size: 50%;
    background-position: left bottom;
}
main section ul ul,
main section ol ol {
	font-size: inherit;
}
main section ul,
main section ol {
    padding: 0 0 0 1em;
}
main section p strong {
	font-family: 'Sharp Sans No1 - Bold';
	font-weight: normal;
}
main section p span {
	font-size: 0.8em;
}

.hero h1 {
	margin: 0 0 0 -1px;
	font-family: 'Tungsten - Semibold';
	font-weight: normal;
	color: #ffffff;
	font-size: 6.0em;
    line-height: 0.85em;
	text-transform: uppercase;
}
body.bank-of-mum-and-dad .hero h1,
body.tons-of-help .hero h1 {
	color: #00659F;
}
.hero h2 {
	margin: 0 0 0 0;
	font-family: 'Sharp Sans No1 - Semibold';
	font-weight: normal;
	color: #ffffff;
	font-size: 1.1em;
    line-height: 1.3em;	
}
body.bank-of-mum-and-dad .hero h2 {
	color: #00659F;
}
body.tons-of-help .hero h2 { 
	color: #00659F;
	width: 33%;
}

blockquote {
    font-size: 1.25em;
    color: #86D1F5;
    margin: 2em 0 2em 0;
    line-height: 1.5em;
	font-family: 'Sharp Sans No1 - Semibold';
	font-weight: normal;
}
blockquote:first-letter {
	margin-left: -0.35em;
}

.others {
    font-size: 1.4em;
    color: #2398DB;
    margin: 0 0 2em 0;
    line-height: 1.4em;
	font-family: 'Sharp Sans No1 - Bold';
	font-weight: normal;
}


body.page-template-template-grantprogramme main section strong:first-of-type {
	margin: -1em 0 2em 0;
	display: block;
}


body.page-template-template-grantprogramme main h3 {
	margin: -2.6em 0 0 0;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

.mobileonly {
	display: none !important;
}
.mobilemenu {
	display: none;
}
.forcemobile {
	display: block;
}

@supports (-webkit-touch-callout: none) {
	.hero {
		background-attachment: scroll;
	}
}


@media only screen and (max-width:1366px) {
	.wrapperinner {
		width: 95%;
		margin: 0 auto 0 auto;
	}
	p.channelcaption {
		margin: 15px 0 10em auto;
	}
	
}

@media only screen and (max-width:1250px) {
	.logo {
		width: 150px;
	}
	.nav {
		width: calc(100% - 175px) !important;
	}

}

@media only screen and (max-width:1080px) { /* IPAD STUFF */
	.wrapperinner {	
	    max-width: 970px;
	}
	.hero {
		height: 80vh;
		margin: 20vh 0 10vh 0;
		background-attachment: scroll;
	}

	.header {
		height: 20vh;
	}
	.hero .wrapperinner {
		padding: 6% 0 3% 0;
	}
	.hero .slidedown {
		bottom: 5%;
	}
	.logo {
		height: 20vh;
	}
	.nav {
		height: calc(20vh - 1.25em);
		line-height: calc(20vh - 1.25em);		
		font-size: 0.80em;
	}
	.nav ul {
		margin: 1.25em 0 0 0;
	}
	.subnav {
		top: 20vh;
		font-size: 0.8em;
	}
	.subnav ul {

	}
	.subnav ul li {
	    margin-left: 2.0em;
		margin-right: 0;
	}
	.channeleft {
		top: 60%;
	}
	.channelright {
		top: 30%;
	}

	
	main h1 {
		font-size: 2.6em;	
	}
	main h3 {
		font-size: 1.3em;
	    margin: -2.3em 0 2em 0;
	}
	
	img.afg-img {
		margin-top: 10px !important;
	}
	div.afg-table {
		text-align: center;
	}
	div.afg-row {
		display: inline !important;
	}
	div.afg-cell {
		display: inline !important;
	}
	
	@supports (-webkit-overflow-scrolling: touch) {
		/* CSS specific to iOS devices */ 
		.hero {
			height: calc(80vh - 62px);
		}

	}
	
}



@media only screen and (max-width:1020px) { /* SMARTPHONE STUFF */
	.channelleft {
		display: none;
	}
	.channelright {
		display: none;
	}
	.wrapperinner {
	    width: 90%;
	    margin: 0 auto 0 auto;
	}
	section {
		float: none;
		width: 100%;
	}
	.mobileonly {
		display: block !important;
	}
	.topmenu {
		display: none;
	}
	.header {
	    height: 15vh;
	}
	
	.hero {
	    height: 85vh;
    	margin: 15vh 0 10vh 0;
	}
	body.page-template-template-events.page-child .hero .wrapperinner {
	    padding: 25% 0 3% 0;	
	}
	.hero h1 {
		font-size: 5.0em;
	}
	body.tons-of-help .hero h2 { 
		width: 70%;
	}
	
	.logo {
		height: 15vh;
		width: 150px;
	}
	.nav {
		display: none;
		top: 15vh;
		background-color: #00659F;
		height: 85vh;
		width: 100% !important;
		position: fixed;
		margin: 0 0 0 -5%;
		opacity: 1;
		line-height: 5vh;
		text-align: center;
	    z-index: 100;
		float: none;
	}
	.nav ul {
		margin: 15% auto 3% auto;	
		height: 100%;
		width: 90%;
	}
	.nav ul li {
		margin: 0 0 0 0;
		float: none;
		display: block;
		line-height: 2.25em;
    	font-size: 1.5em;
	}
	.subnav {
		top: 15vh;
		height: 7.5vh;
    	line-height: 7.5vh;
	}
	.subnav .wrapperinner {
		width: 95%;
    	margin: 0 0 0 auto;
		overflow-x: scroll;
		-webkit-overflow-scrolling: touch;
	}
	.subnav ul {
		display: table;
	}
	.subnav ul li {
		display: table-cell;
    	margin: 0 0 0 0;
		float: none;
	    padding: 0 2em 0 0;
	}
	.subnav ul li a {
	    display: block;
   		white-space: nowrap;
	}
	
	.footershare {
		display: none;
	}
	.footermenu {
		display: none;
	}
	
	.mobilemenu {
		position: absolute;
		right: 4%;
		top: 0;
		width: 30px;
		height: 15vh;
		display: block;
		cursor: pointer;
	}
	.mobilemenuholder {
		    width: 100%;
			position: relative;
			top: 50%;
			height: 14px;
			margin-top: -7px;
	}
	.gomenutop,
	.gomenubottom {
		    height: 1px;
			background-color: #ffffff;
			position: absolute;
			width: 100%;
			-webkit-transition: transform 0.250s linear;
			-moz-transition: transform 0.250s linear;
			-ms-transition: transform 0.250s linear;
			-o-transition: transform 0.250s linear;
			transition: transform 0.250s linear;
	}
	.gomenutop {
		/*top: 44%;*/
		top: 0;
	}
	.gomenubottom {
		/*top: 56%;*/
		bottom: 0;
	}
	.gomenutop.opened {
		transform: rotate(45deg) translate(0.25em,0.25em) scale(1.30,1);
	}
	.gomenubottom.opened {
		transform: rotate(-45deg) translate(0.30em,-0.30em) scale(1.30,1);
	}
	body.page-template-template-events.page-child .subnav {
		opacity: 1;
	}
	
	ul.thankyou li {
		display: inline-block;
		width: 42%;
		margin: 5% 15% 5% 0;
		vertical-align: middle;
		text-align: center;
	}
	ul.thankyou li:nth-of-type(3n) {
		margin-right: 15%;
	}
	ul.thankyou li:nth-of-type(2n) {
		margin-right: 0;
	}
	ul.thankyou li img {
		max-height: 50px;
	}
	
	@supports (-webkit-overflow-scrolling: touch) {
		/* CSS specific to iOS devices */ 
		.hero {
			height: calc(85vh - 62px);
		}

	}
	
}



@media only screen and (max-width:600px) {
	.footer {
		padding-bottom: 4em;
	    min-height: 100px;
	}
	.footerdetails {
		float: none;	
	    margin: 2em 0 0 0;
	}
	.footerlogo {
		float: none;
	}
	.footerlogo img {
		width: 150px;
	}
	.copyright {
		bottom: -2em;
	}
	ul.thankyou li {
		width: 41%;
	}
	.footerdetails p {
		display: none;
	}
	.footerdetails p.forcemobile {
		display: block;
	}
	.buttonholder {
		overflow: hidden;		
	}
	.buttonholder p,
	.hero p {
		font-size: 1.0em;	
	}
	
	
	
}





@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin: 0 0 0 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin: 0 0 0 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
