/* =BLOCKS
-------------------------------------------------------------- */

/* =HERO
-------------------------------------------------------------- */

	.hero { position:relative; height:700px; background-color:#000; overflow:hidden; }
	.hero:before { display:block; content:" "; position:absolute; left:0; top:0; right:0; bottom:0; background:#000; opacity:0.35; }
	.hero video {
		position:absolute; left:50%; top:50%; -webkit-transform:translate(-50%, -50%); -ms-transform:translate(-50%, -50%); transform:translate(-50%, -50%);
		height: 100%;
		width: 177.77777778vh; /* 100 * 16 / 9 */
		min-width: 100%;
		min-height: 56.25vw; /* 100 * 9 / 16 */
		opacity:0.75;
	}
	
	.hero-content { position:absolute; left:50%; top:50%; -webkit-transform:translate(-50%, -50%); -ms-transform:translate(-50%, -50%); transform:translate(-50%, -50%); 
		display:-webkit-box; 
		display:-ms-flexbox; 
		display:flex; -webkit-box-pack:center; -ms-flex-pack:center; justify-content:center; -webkit-box-align:center; -ms-flex-align:center; align-items:center; -ms-flex-line-pack:center; align-content:center;
	}
	.hero-content img { display:block; width:360px; height:auto; margin:0 auto; }
	.hero-content h1 { text-align:center; color:#fff; }
	.hero-content p { text-align:center; color:#fff; }
		
	@media screen and (max-width: 789px) {
		.hero { height:400px; }
		.hero-content { width:90%; }
		.hero-content h1 { font-size:24px; }
	}
	
/* =PAGE HERO
-------------------------------------------------------------- */

	.page-hero { position:relative; background-image:url(images/pexels-photo-2962600.jpg); background-position:center center; background-size:cover; background-attachment:fixed; }
	.page-hero:before { display:block; content:" "; position:absolute; top:0; right:0; bottom:0; left:0; background:#1d1d1d; opacity:0.35; z-index:0; }
	.page-hero .inner { position:relative; height:400px; display:-webkit-box; display:-ms-flexbox; display:flex; -webkit-display:flex; -webkit-box-pack:center; -ms-flex-pack:center; justify-content:center; -webkit-box-align:center; -ms-flex-align:center; align-items:center; -ms-flex-line-pack:center; align-content:center; z-index:1; }
	.page-hero .inner > div {  }
	.page-hero .inner h1,
	.page-hero .inner p { color:#fff; }
	
/* =FEATURE TEXT
-------------------------------------------------------------- */

	.feature-text { padding:100px 0; background-color:#f8f8f8; }
	
	.feature-text.osprey-bird { background-image:url(images/osprey-bird.jpg); background-repeat:no-repeat; background-position:left center; }
	
	@media screen and (max-width: 789px) {
		.feature-text { padding:50px 0; }
	}
	
/* =FEATURE TILES
-------------------------------------------------------------- */
	
	.feature-tiles { padding:100px 0; background:#7AD0E1; color:#fff; }
		.feature-tiles .the-tiles { display:-webkit-box; display:-ms-flexbox; display:flex; -webkit-display:flex; -webkit-box-pack:start; -ms-flex-pack:start; justify-content:flex-start; -ms-flex-wrap:wrap; flex-wrap:wrap; padding:15px 0 0 0; }
		.feature-tiles .the-tiles .item { margin:0 0 15px; display:-webkit-box; display:-ms-flexbox; display:flex; -webkit-display:flex; -webkit-box-pack:start; -ms-flex-pack:start; justify-content:flex-start; }
		.feature-tiles .the-tiles .item i { margin-right:30px; font-size:40px; color:#1d1d1d; }
		.feature-tiles .the-tiles .item h4 {  }
		.feature-tiles .the-tiles .item p { font-size:14px; }
	
	
	@media screen and (min-width: 790px) {
		.feature-tiles .the-tiles .item { width:30%; }
		.feature-tiles .the-tiles .item:nth-child(3n-1) { margin:0 5% 15px; }
	}
	@media screen and (max-width: 789px) {
		.feature-tiles { padding:50px 0; }
		.feature-tiles .the-tiles .item { width:47.5%; }
		.feature-tiles .the-tiles .item:nth-child(odd) { margin-right:5%; }
	}
	@media screen and (max-width: 479px) {
		.feature-tiles .the-tiles .item { width:100%; margin:0 0 15px!important; }
		.feature-tiles .the-tiles .item i { margin-right:15px; }
	}
	
/* =SERVICES-1 ACF REPEATER
-------------------------------------------------------------- */

	.services-1 { padding:0; }
	
		.services-1 article { padding:100px 0; background:#fff; }
		.services-1 article:nth-child(even) { background:#f8f8f8; }
		.services-1 article > .inner { display:-webkit-box; display:-ms-flexbox; display:flex; -webkit-display:flex; -webkit-box-pack:justify; -ms-flex-pack:justify; justify-content:space-between; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; -ms-flex-wrap:wrap; flex-wrap:wrap; }
		.services-1 article:nth-child(odd) > .inner { -webkit-box-orient:horizontal; -webkit-box-direction:reverse; -ms-flex-direction:row-reverse; flex-direction:row-reverse; }
		.services-1 article > .inner > img { display:block; width:47.5%; height:auto; }
		.services-1 article > .inner > .fields { width:47.5%; }
		.services-1 article > .inner > .fields > h3:before { display:block; content:" "; width:20px; height:2px; background:#3eb1c8; margin:0 0 30px; }
	
		@media screen and (max-width: 789px) {
			.services-1 article { padding:50px 0 20px; }
			.services-1 article > .inner > img { width:100%; margin-bottom:30px; }
			.services-1 article > .inner > .fields { width:100%; }
		}
		
/* =projects-1 CPT
-------------------------------------------------------------- */
	
	.projects-1 { display:-webkit-box; display:-ms-flexbox; display:flex; -webkit-display:flex; -webkit-box-pack:start; -ms-flex-pack:start; justify-content:flex-start; -ms-flex-wrap:wrap; flex-wrap:wrap; }
	.projects-1 .item { width:47.5%; margin-bottom:30px; }
	.projects-1 .item:nth-child(odd) { margin-right:5%; }
	.projects-1 .item img { display:block; width:100%; height:auto; }
	.projects-1 .item .fields {  } 
	.projects-1 .item .fields h3 { margin:15px 0; } 
	@media screen and (max-width: 789px) {
		.projects-1 .item { width:100%; margin-right:0!important; }
	}

/* =staff-1 CPT
-------------------------------------------------------------- */
	
	.staff-1 { display:-webkit-box; display:-ms-flexbox; display:flex; -webkit-display:flex; -webkit-box-pack:start; -ms-flex-pack:start; justify-content:flex-start; -ms-flex-wrap:wrap; flex-wrap:wrap; margin-bottom:-5%; }
	.staff-1 .item { width:30%; margin-bottom:5%; }
	.staff-1 .item:nth-child(3n-1) { margin:0 5% 5%; }
	.staff-1 .item img { display:block; width:100%; height:auto; }
	.staff-1 .item .fields {  } 
	.staff-1 .item .fields h3 { margin:15px 0; } 
	@media screen and (max-width: 789px) {
		.staff-1 .item { width:100%; margin-left:0!important; margin-right:0!important; }
	}

/* =staff-2 CPT
-------------------------------------------------------------- */
	
	.staff-2 { display:-webkit-box; display:-ms-flexbox; display:flex; -webkit-display:flex; -webkit-box-pack:start; -ms-flex-pack:start; justify-content:flex-start; -ms-flex-wrap:wrap; flex-wrap:wrap; margin-bottom:-5%; }
	.staff-2 .item { width:30%; margin-bottom:5%; }
	.staff-2 .item:nth-child(3n-1) { margin:0 5% 5%; }
	.staff-2 .item img { display:block; width:100%; height:auto; border-radius:100%; position:relative; bottom:0; -webkit-transition:all 0.5s ease; -o-transition:all 0.5s ease; transition:all 0.5s ease;
		-webkit-box-shadow: 0px 5px 50px 0px rgba(0,0,0,0.15);
		box-shadow: 0px 5px 50px 0px rgba(0,0,0,0.15);
	}
	.staff-2 .item img:hover { bottom:5px; }
	.staff-2 .item .fields { text-align:center; } 
	.staff-2 .item .fields h3 { margin:15px 0; } 
	@media screen and (max-width: 789px) {
		.staff-2 .item { width:100%; margin-left:0!important; margin-right:0!important; }
	}
	
/* =vacancies-1 CPT
-------------------------------------------------------------- */

	.vacancies-1 { display:-webkit-box; display:-ms-flexbox; display:flex; -webkit-display:flex; -webkit-box-pack:start; -ms-flex-pack:start; justify-content:flex-start; -ms-flex-wrap:wrap; flex-wrap:wrap; }
	.vacancies-1 .item { width:calc(50% - 15px); -webkit-box-sizing:border-box; box-sizing:border-box; padding:30px; border:1px solid #1d1d1d; margin-bottom:30px; background:#f7f7f7; }
	.vacancies-1 .item:nth-child(odd) { margin-right:30px; }
	.vacancies-1 .item .button { margin:30px 0 0; }
	@media screen and (max-width: 789px) {
		.vacancies-1 .item { width:100%; margin-right:0!important; margin-bottom:5%!important; }
	}
	
/* =faqs-1 REPEATER
-------------------------------------------------------------- */

	.faqs-1 {  }
	.faqs-1 .item { margin-bottom:30px; padding-bottom:15px; border-bottom:1px solid #ccc; }
	.faqs-1 .item h4 { margin:0; padding:0 0 15px; cursor:pointer; }
	.faqs-1 .item .answer { display:none; padding:0 0 15px; overflow:hidden; }
	.faqs-1 .item:first-child .answer { display:block; }
	.faqs-1 .item .answer p:last-child { margin:15px 0 0 0; }
	
/* =BLOG
-------------------------------------------------------------- */
	
	.posts-1 img { display:block; width:100%; height:auto; margin:0; }
	.posts-1 article { margin:0 0 45px; padding:0 0 45px; border-bottom:1px solid #ddd; }
	.posts-1 article h2 { margin:15px 0; }
	.posts-1 article .post-excerpt { margin:0; }
	.post-meta { text-transform:uppercase; font-size:14px; letter-spacing:1px; color:#666; }
	
/* =FLEXIBLE CONTENT ACF TEST
-------------------------------------------------------------- */

	.boc { padding:40px; background:#f5f5f5; border:1px solid #ccc; margin:0 0 10px; }
		.boc .gal { margin:0; padding:0; list-style-type:none; display:-webkit-box; display:-ms-flexbox; display:flex; -webkit-display:flex; -ms-flex-wrap:wrap; flex-wrap:wrap; }
		.boc .gal li { width:25%; }
		.boc .gal li img { display:block; width:100%; height:165px; }
		
/* =CONTACT col-flex
-------------------------------------------------------------- */

	.contact-us { position:relative; background-image:url(images/pexels-donald-tong-66134.jpg); background-size:cover; background-position:center center; background-attachment:fixed; color:#fff; }
	.contact-us:before { position:absolute; display:block; content:" "; top:0; right:0; bottom:0; left:0; background:#1d1d1d; opacity:0.5; z-index:1; }
	.contact-us .inner { position:relative; z-index:2; }
	.contact-us h2 { text-align:center; }
	.col-flex { display:-webkit-box; display:-ms-flexbox; display:flex; -webkit-box-pack:justify; -ms-flex-pack:justify; justify-content:space-between; -ms-flex-wrap:wrap; flex-wrap:wrap; }
	.col-flex > div { width:47.5%; }
	
	@media screen and (max-width: 789px) {
		.col-flex > div { width:100%; }
	}
	
/* =testimonial-carousel
-------------------------------------------------------------- */

	.testimonials-container { background:#7AD0E1; }
	.testimonials-container h2 { color:#fff; text-align:center; }
	.testimonials-carousel .item { background:#fff; padding:40px 40px 25px; }
	
	.testimonials-carousel .owl-dots { margin:30px 0 0 0!important; }
	
	.testimonials-carousel .owl-dots .owl-dot.active span, .testimonials-carousel .owl-dots .owl-dot:hover span { background:#fff!important; opacity:1; }
	.owl-theme .owl-dots .owl-dot span { background:#fff!important; opacity:0.5; }	
	
/* =accreditations
-------------------------------------------------------------- */
	
	.accreditations { padding:50px 0 70px; background:#fff; }
	.accreditations h2 { text-align:center; }
	.accreditations .logos { display:-webkit-box; display:-ms-flexbox; display:flex; -webkit-box-pack:justify; -ms-flex-pack:justify; justify-content:space-between; }
	.accreditations .logos > * { display:block; max-width:25%; margin: 0 1%; height:auto; max-height:60px; }
	.accreditations .logos > *:first-child {  margin:0 1% 0 0; }
	.accreditations .logos > *:last-child { margin:0 0 0 1%; }
	.accreditations .logos img {  }
	.accreditations .logos a img { display:block; width:100%; height:auto; max-height:60px; }
	
	@media screen and (max-width: 789px) {
		.accreditations { padding:50px 0 50px; background:#f8f8f8; }
		.accreditations .logos { -ms-flex-wrap:wrap; flex-wrap:wrap; }
		.accreditations .logos > * { max-width:30%; width:30%;  margin:0 0 5% 0 !important; }

		
		.accreditations .logos > * { max-height:unset; }
		.accreditations .logos a img { max-height:unset; }
	}
	
/* =team-members
-------------------------------------------------------------- */
	
	.meet-the-team h2 { text-align:center; margin:0 0 45px; }
	
	.team-members { display:-webkit-box; display:-ms-flexbox; display:flex; padding:0 10%; -webkit-box-pack:justify; -ms-flex-pack:justify; justify-content:space-between; }
		.team-members .item { width:45%; }
			.team-members .item img { display:block; width:100%; height:auto; border-radius:100%; margin:0 0 15px; }
			.team-members .item * { text-align:center; }
			.team-members .item h3 { margin:0; }
			.team-members .item p.role { margin:0; text-transform:uppercase; letter-spacing:1px; }
			.team-members .item .biog { position:relative; }
			.team-members .item .biog:before { display:block; content:" "; width:100px; height:1px; background:#eee; margin:15px auto; }
			.team-members .item .biog p { font-size:14px; }
			.team-members .item .social-links { list-style-type:none; padding:0; margin:15px 0 0 0; display:-webkit-box; display:-ms-flexbox; display:flex; -webkit-box-pack:center; -ms-flex-pack:center; justify-content:center; }
			.team-members .item .social-links li { margin:0 5px; }
			
	@media screen and (max-width: 789px) {
		.team-members { padding:0; }
	}