
body{margin:140px 0 0 0;}

:target:before {
  content:"";
  display:block;
  height:140px; /* fixed header height*/
  margin:-140px 0 0; /* negative fixed header height */
}


	/* size specific stuff */
.no-mobile {display:block;}
.quicklink.no-mobile {display:inline;}
.hide,
.nav-toplevel.no-desktop,
.no-desktop {display:none;}
.gi {float:none;width:auto;margin:0;}

/* logo */
header {background:#FFF;position:fixed;width:100%;top:0;z-index:999;}
header.fix {}

.fix .header {height:60px;}
.fix .logo {height:60px;background-position:0;background-size:auto 50px}

.header {height:100px;border:none;transition:height 0.1s ease-in;}
.logo {width:140px;background-position:0 50%;background-size:auto;float:none;height:100px;transition:height 0.2s ease-in,background-position 0.1s ease-in;margin:0}






/* main navigation */
.navigation {margin: 0;height:42px;background:#e7f2fa;border-width:1px 0 1px 0;border-color:#2980b9;border-style:solid;position:relative;padding:0;top:0;transition:none;
position:relative;width:100%;right:auto;

overflow:visible;

}
.navigation-ul {display:block;border:none;position:relative;font-weight:700;text-align:center;background:none;padding:0;display: -webkit-flex; /* Safari */
    -webkit-justify-content: space-between; /* Safari 6.1+ */
    display: flex;
    justify-content: space-between;}
.nav-toplevel {width:auto;display:inline-block;margin:0;border:none;height:40px;text-align:center;font-size:1rem;transition:background-size 0.1s ease-in,background-position 0.1s ease-in;color:#000;
background-size:0 5px;
background-repeat:no-repeat;
background-image:
  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mPUbNj5HwAEnwJjeC4JMwAAAABJRU5ErkJggg=='); 
  background-position:50% bottom ;
}
.nav-toplevel.r {position:relative;}

	.nav-toplevel:hover,
	.toplevel-active {background-size:100% 5px;background-position:0 bottom; color:#000;}
.nav-toplevel-link {display:inline-block;color:inherit;font-weight:500;padding:0;line-height:40px;text-transform:none;}
.nav-toplevel-link:hover {color:#000;background:none;}
.submenu {background:#2980b9;display:none;;position:absolute;left:0;top:40px;z-index:888;width:300px;padding:15px;}
	
	.nav-toplevel:hover .submenu {display:block;}
	
	.submenu {display:block;transition:all 0.15s ease-in;-webkit-transition:all 0.15s ease-in;opacity:0;transform:scale(0);-webkit-transform:scale(0);}
	.nav-toplevel:hover .submenu {opacity:1;transform:scale(1);-webkit-transform:scale(1);}
	
	
	.sub {text-align:left;}
	.cols5 .sub {float:left;width:20%;}
	.cols5 .grid_right {float:right;}
	
	.nav-sublevel {margin:0;font-size:0.9rem;font-weight:300;}
		.nav-sublevel-heading {color:#FFF;border-bottom:1px solid;font-size:1rem;margin:0 30px 10px 0;}
		.nav-sublevel a {color:#FFF;padding:5px;display:block;transition:background 0.2s ease-in,color 0.2s ease-in;}
		.nav-sublevel a:hover,
		.nav-sublevel.active a {color:#2980b9;background:rgba(255,255,255,1);}

.nav-toplevel:after  {
  content: "";
  display: none;
  clear: none;
}
	 .sub:nth-child(2n-1) {clear:none;}


#header {overflow:hidden;}

/* quick links */
.quicklinks {position:absolute;top:10px;right:0;transition:top 0.2s ease-in;}
.fix .quicklinks {display:none;top:-30px;}
	.quicklink {display:inline;padding:0 0 0 10px;text-transform:uppercase;font-size:0.9rem;margin:0;}
	.quicklink a {color:#000;}
	.quicklink a:hover {color:#2980b9;}
	
.hc {font-size:0.95rem;position:absolute;right:0;text-align:right;transition:top 0.2s ease-in;}
	.hc__tel {top:50px;font-size:1.3rem;}
	.hc__em {top:90px;display:none;}
	.fix .hc__tel {top:10px;}
	.fix .hc__em {top:30px;}
.hc a {color:#2980b9;font-size:1.2rem;}
	.hc__tel a {font-size:1.9rem;}
	
	
/* content */
#content {padding:20px 0;}


/* input */

.field {position:relative;margin:0 0 10px 0;}
.field .label {position:absolute;left:10px;top:7px;z-index:99;transition:all 0.1s ease-in;font-size:0.9rem;font-weight:400}
.field__active .label {top:0;;left:7px;font-size:9px;color:#555;border-bottom:1px solid #1f4492;font-weight:700;}
.field__active .input-text {border:1px solid #1f4492;border-radius:5px;}
.labelly {margin:0;padding-top:20px;}
.input-text {/*max-width:300px;*/;font-size:0.9rem;/*color:#000;*/}



/*h1-h6 */
.heading {padding:0;font-size:1.6rem;}
.subheading {padding:0;font-size:1.4rem}


.strapline {font-size:2.4rem;padding:20px 0;}

/* intro */
	#intro {background:#fff;padding:0;border:none;}

/* slider stuff */


 .rslides li {height:450px;background-size:cover;background-repeat:no-repeat;}
.rslides img {height:450px}



.slider_link  {position:absolute;left:0%;width:50%;height:450px;top:50px;display:block;color:inherit;font-size:2.4rem}
.slider_link:hover {color:inherit;}
.slider_intro {font-size:1.3rem;padding-top:1rem}



/* home blocks */
/*
.blocks { display: -webkit-flex;display:flex;-webkit-flex-wrap: wrap;flex-wrap:wrap; }



.b25 {width:25%;}
.b33 {width:33.333333%;}
.b50 {width:50%;}
.b66 {width:66.666666%;}
.b75 {width:75%;}
.b100 {width:100%;}

*/
.block {margin-bottom:20px }
		
	.bpad-tb {padding:20px 0;}
	.bpad-lr {padding:0 20px;}
	.bpad-all {padding:20px;}

/*	*/

	.block-image.ipx32 ,
	.block-image.ipx50 { margin-top:20px}

.block-inner + .block-inner {margin-bottom:20px;}
	
 	.block-image__250 {max-height:250px;/*margin-bottom:20px */}
	.block-title {font-size:1.4rem; }
	.block-title__main {font-size:1.6rem; }
	.block-text,	.block-text p	,.block-text li,.block-button{font-size:1.15rem;;}
.block-button {font-size:1rem; }

/*
/* wookmark */
	.wookmarked {;width:280px;display:block;float:none;margin:none;}
	.wookmarkedNEWS {;width:380px;display:block;float:none;margin:none;}


/* gallery 
	.gallery li {width:166px;height:166px;}*/
/* videos */
	.video-image {width:183px}

/*  images */
	img.grid {margin:0 20px 20px 0;width:auto;}
	img.grid_right {margin:0 0 20px 20px;width:auto;}


/* grid - grid items should try to add up to 12. ie g03 + g04 + g05; g06 + g06; g04 + g04 + g04; etc. */
.grid {float:left;}
.grid_right {float:right;}
	.g01 {width:8.33%;}
	.g02 {width:16.6%;}
		.g20 {width:20%;}
	.fl25,	
	.g03 {width:25%;}
		.g30 {width:30%;}
	.fl33,
	.g04 {width:33.3%;}
		.g40 {width:40%;}
	.g05 {width:41.6%;}
	.fl50,
	.g06 {width:50%;}
	.g07 {width:58.3%;}
		.g60 {width:60%;}
	.fl66,
	.g08 {width:66.6%;}
	.fl75,
	.g09 {width:75%;}
		.g80 {width:80%;}
	.g10 {width:83.3%;}
	.g11 {width:91.6%;}
	.fl100,
	.g12 {width:100%;}	
.pull_left {padding-right:10px;}	
.margin_right {margin-right:10px;}	
.margin_left {margin-left:10px;}	
.padding_right {padding-right:4.2%;}	
.padding_left {padding-left:4.2%;}	
	.clear_right {clear:right;}
	.clear_left {clear:left;}
	.go_right {text-align:right;}


/* flex */
.flex_row {
	display: -webkit-flex; /* Safari */
    display: flex;
}
.flex_wrap {
	-webkit-flex-wrap:wrap;
	flex-wrap:wrap;	
}

.flex_item {
	-webkit-flex:1;
	flex:1;	
}
.flex__gap {margin:12px;}
	
	


/* full bleed */
.fullbleed {left: 50%;
margin-left: -50vw;
margin-right: -50vw;
position: relative;
right: 50%;
width: 100vw;
background-image:auto;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;

max-height:800px;overflow:hidden;
}
.fullbleed-image {visibility:hidden;width:100%;margin:0}
.fullbleed-figure {font-size:2rem;padding:10px;background:rgba(0,0,0,0.8);color:#fff;position:absolute;bottom:0;right:0;}


/* body text shenanigans */

.bodytext,
.bodytext li,
.bodytext p,
#textblock {font-size:1rem;margin:1em 0;font-weight:300;}
.bodytext li {padding-left:1rem;background-size:8px 8px;}


/* footer */

#logos + .footer {margin-top:0}

.footer {margin-top:2rem;padding:30px 0;}

.footer .grid {padding-top:0;padding-bottom:0;border-bottom:none; }
.hfx {background:none;}
.footer-hide {display:block;}


.credit-footer {margin-top:0;padding:10px 0;}




#banner_video {height:400px;}
#banner_video p {position:absolute;right:30%;top:30%;background:rgba(0,0,0,0.5);padding:20px;font-weight:bold;color:#fff;width:33%;}

