/*
Theme Name: Taylor Grace Custom Theme
Theme URI: http://totalonion.com/
Author: Total Onion
Author URI: http://totalonion.com/
Description: Mobile first custom theme for the taylorgraceac.co.uk
Version: 1.2.33
*/


/**
 * Table of Contents:
 *
 * 1.0	- Reset
 * 2.0	- Shared
 * 3.0	- Masthead
 * 4.0	- Hero images / banners
 * 5.0	- Main body
 * 6.0	- Footers
 * 10.0	- Page Specifics: Resources
 * 11.0	- Page Specifics: Contact
 * 12.0	- Page Specifics: Homepage
 * 20.0	- Responsive: Small devices
 * 21.0	- Responsive: Medium devices (or landscape tablets)
 * 22.0	- Responsive: Large devices
 * ----------------------------------------------------------------------------
 */

/**
 * Table of Colours:
 *	#1E1E1E		- Grey; Main text
 *	#D60011		- Main Red; nav on, links
 *	#931111		- Dark red: nav hover, links hover;
 */

/**
 * 1.0 Reset
 *
 * v2.0 | 20110126
 * License: none (public domain)
 *
 * @see http://meyerweb.com/eric/tools/css/reset/ 
 * ----------------------------------------------------------------------------
 */

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: inherit;
	vertical-align: baseline;
	font-family: 'Source Sans Pro', sans-serif;
	color: #1E1E1E;
}
/* HTML5 display-role reset for older browsers */
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;
}


/**
 * 2.0	- Shared
 * ----------------------------------------------------------------------------
 */
html { font-size: 62.5%; }
a { outline: none; color: #1E1E1E; }
a:hover,a:focus { text-decoration: none; }
em { font-style: italic; }
strong { font-weight: 700; }
sup { font-size: 0.6em; }

/* Lists */
article ol { padding-left: 2em; }
article ol li { list-style: decimal; }

article ul li {
	list-style: none;
	padding-left: 1.2em;
	position: relative;
}

article ul li:before {
	content: '•';
	display: block;
	color: #D60011;
	font-size: 18px;
	padding-right: 0.5em;
	position: absolute;
	left: 0.1em;
	top: -0.2em;
}

/* tables */
thead { border-bottom: 1px solid #EEE; }
td, th { padding: 0.4em; }

#isOnMobile { display: block; }
.desktop-only { display: none; }
.sr-only, .screen-reader-text { display: none; }
.clear { clear: both; }

article .article-content a { color: #D60011; transition: color 0.3s; text-decoration: none; }
article .article-content a:hover { color: #931111; }

article .alignleft,
article .alignright,
article .aligncenter,
article .wp-caption-text { 
	max-width: 100%;
}

article .alignleft img,
article .alignright img,
article .aligncenter img,
article .wp-caption-text img { 
	max-width: 100%;
	height: auto;
}

article .wp-caption-text {
	font-size: 1.4rem;
}

/* buttons */
button, .button, article .article-content .wp-block-button__link {
	display: inline-block;
	height: auto;
	border: 1px solid #1E1E1E;
	color: #1E1E1E;
	font-size: 1.6rem;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1;
	padding: 1.0rem 1.4rem 1.2rem 1.4rem;
	background-color: #FFF;
	transition: 
		color 0.3s,
		border-color 0.3s;
}
a.button,
article .article-content a.button {
	color: #1E1E1E;
}

button:hover, .button:hover, article .article-content .wp-block-button__link:hover {
	color: #D60011;
	border-color: #D60011;
}

.wp-block-gallery {
	column-span: all;
}

.wp-block-buttons {
	column-span: all;
	justify-content: center;
	margin-bottom: 2em;
}

.gallery {
	position: relative;
	width: 100%;
}

.gallery .gallery-item {
	width: 100%;
	height: 56vmin;
	margin: 0 0 5vmin 0;
	background: transparent no-repeat;
	background-size: cover;
}

.gallery .arrow-nav,
.gallery .blob-nav-container { display: none; }

.gallery-hidden { display: none; }

.wp-block-gallery {
	margin-bottom: 2em;
}


/**
 * 3.0	- Masthead  & Navigation
 * ----------------------------------------------------------------------------
 */
#masthead {
	position: fixed;
	top: 0;
	left: 0;
	height: auto;
	width: 100%;
	background-color: #FFF;
	z-index: 10;
	border-bottom: 1px solid #C6C6C6;
	overflow: hidden;
}

#menu-toggle {
	position: absolute;
    top: 5vmin;
    right: 5vmin;
    z-index: 10;
    font-size: 7vmin;
}

#menu-toggle svg {
	width: 40px;
	height: 40px;
	fill: #1E1E1E;
}

#masthead .container { position: relative; }

/* logo */
#masthead h1 {
	position: relative;
	top: 3vmin;
	left: 3vmin;
	width: 50vmin;
	height: 19.9117vmin;
	white-space: nowrap;
	text-indent: 100%;
	overflow: hidden;
	color: #1E1E1E;
	background: transparent url(img/taylor-grace-logo.svg) no-repeat 0 0;
	background-size: 100% 100%;
}

/* phone */
#masthead h2 {
	position: relative;
	left: 3vmin;
    margin-top: 5vmin;
    font-size: 7.8vmin;
	font-weight: 600;
	letter-spacing: -0.025em;
}

/* email */
#masthead h3 {
	position: relative;
	left: 3vmin;
	margin: 2vmin 0 4vmin 0;
	letter-spacing: 0;
	font-size: 4vmin;
}

#masthead a {
	text-decoration: none;
}

.hover-underline { position: relative; }
.hover-underline:after {
	content: ' ';
	position: absolute;
	width: 0;
	height: 1px;
	bottom: 0;
	left: 0;
	border-bottom: 1px solid #515151;
	transition: 0.3s width;
}
.hover-underline:hover::after {	width: 100%; }

/* Nav */
#main-menu-container.container { position: fixed; }
#main-menu-container {
	display: block;
	padding: 0;
    width: 100vmin;
    background-color: #FFF;
    left: 100vmin;
    transition: left 0.3s;
}
#main-menu-container.active { left: 0; }

#main-menu li { border-top: 1px solid #C6C6C6; }
#main-menu li:last-child { border-bottom: 1px solid #C6C6C6; }
#main-menu li a {
	display: block;
	width: 100%;
	padding: 1em 3vmin;
	font-size: 1.6rem;
	text-transform: uppercase;
	font-weight: 700;
	text-decoration: none;
}
#main-menu li a:focus { color: #515151; }
#main-menu li.current-menu-item a { color: #D60011; }


/**
 * 4.0	- Hero images / banners
 * ----------------------------------------------------------------------------
 */
#hero, #hero-video, #banners { display: none; }


/**
 * 5.0	- Main body
 * ----------------------------------------------------------------------------
 */
.main-content {
	margin-top: 50vmin;
}

article > header > h1,
.article-content > h1,
article > header > h2,
.article-content > h2,
.wp-block-heading {
	font-size: 3rem;
	font-weight: 700;
	color: #D60011;
	margin: 0 0 2rem 0;
	letter-spacing: -0.02em;
	column-span: all;
	clear: both;
}

article > header > h2,
.article-content > h2 {
	font-size: 2rem;
	column-span: none;
}

article > header > p + h1,
.article-content > p + h1,
.article-content > div + h1 {
	margin-top: 2em;
}

.article-content {
	font-size: 2rem;
	margin: 2rem 0 5.3rem 0;
}

.article-content p,
.article-content ul,
.article-content ol {
	line-height: 1.4;
	margin-bottom: 1em;
	break-inside: unset;
	position: relative;
}
.article-content p {
	break-inside: avoid;
}
.article-content p:last-child { margin-bottom: 0; }

/* images in articles */
figure.wp-block-image.size-large {
	column-span: all;
	margin-bottom: 1em;
	margin-top: 2em;
}

figure.wp-block-image.size-large:first-child {
	margin-top: 0;
}

figure.wp-block-image.size-large img {
	width: 100%;
}

/**
 * 6.0	- Footers
 * ----------------------------------------------------------------------------
 */
.footer {
	font-size: 1.4rem;
}

.footer a { 
	color: inherit;
	text-decoration: none;
	color: inherit;
}
.footer a:hover { color: inherit; text-decoration: underline; }

.footer li {
	list-style: none;
	display: inline-block;
}

/* Client Logos */
#client-footer { padding-bottom: 4rem; }
#client-logos li { width: 32%; }

#client-logos li img {
	max-width: 80%;
}

/* Grey footer */
#site-footer {
	background-color: #1E1E1E;
	color: #FFF;
	padding: 5.5rem 0;
}

#site-footer li, #site-footer li a { color: #FFF; }
#site-footer li:after {
	content: '/';
	display: inline;
	padding: 0 0.5rem 0 1rem;
}
#site-footer li:last-child::after { display: none; }

#byline {
	color: #979797;
	margin-top: 1rem;
}

/**
 * 10.0	- Page Specifics: Resources
 * ----------------------------------------------------------------------------
 */
.resource-cover-container a {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
}

.resource-cover-container {
	position: relative;
	display: inline-block;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 100%;
	background: transparent no-repeat center center;
	background-size: 100%;
	width: 20vmin;
	height: 26.2921vmin;
}

.resource-filetype-doc .resource-cover-container,
.resource-filetype-docx .resource-cover-container { background-image: url(img/icon_doc.png); }

.resource-filetype-jpg .resource-cover-container,
.resource-filetype-jpeg .resource-cover-container { background-image: url(img/icon_jpg.png); }

.resource-filetype-ppt .resource-cover-container,
.resource-filetype-pptx .resource-cover-container { background-image: url(img/icon_ppt.png); }

.resource-filetype-pdf .resource-cover-container { background-image: url(img/icon_pdf.png); }

.resource-cover-container a { position: absolute; }

.expando-resource-title {
	width: 60vmin;
	display: inline-block;
	margin-left: 5vmin;
	vertical-align: top;
}

.expando-resource h3 {
	font-size: 5vmin;
	font-weight: 700;
	margin: 0.5em 0 0 0;
}

.expando-resource h4 {
	font-size: 4vmin;
	text-transform: uppercase;
}

.expando-resource .button {
	display: inline-block;
	margin: 0.5em 0 2em 0;
}

.expando-resource {
	border-bottom: 1px solid #C6C6C6;
	margin: 0 0 3vmin 0;
}


/**
 * 11.0	- Page Specifics: Vacancy (Single)
 * ----------------------------------------------------------------------------
 */
.vacancy__synopsis th,
.vacancy__synopsis td {
	font-size: 2rem;
	font-weight: 700;
	color: #D60011;
	letter-spacing: -0.02em;
	column-span: all;
}

.vacancy__synopsis th {
	padding-left: 0;
}

/**
 * 11.0	- Page Specifics: Contact
 * ----------------------------------------------------------------------------
 */
.google-map {
	width: 100%;
	height: 50rem;
}

.contact-content h3 {
	font-size: 6vmin;
	margin-bottom: 0.2em;
}

.contact-address {
	font-size: 4vmin;
	margin-top: 1em;
	margin-bottom: 3em;
	line-height: 1.2;
}


/**
 * 12.0	- Page Specifics: Homepage
 * ----------------------------------------------------------------------------
 */
#team {
	background-color: #E4E4E4;
	margin-top: -0.2rem;
	margin-bottom: 10vmin;
	padding-bottom: 2.5rem;
}

#team .container {
	position: relative;
	overflow: hidden;
}

#team-excerpts { position: relative; }

#team h2,
#team .back-btn {
	font-size: 3rem;
	font-weight: 700;
	margin: 8vmin 0 3vmin 0;
	color: #D60011;
}
#team .back-btn span {
	display: inline-block;
	vertical-align: bottom;
	color: #D60011;
}

.team-member {
	display: inline-block;
	padding: 0 0 8% 0;
	border-bottom: 1px solid #FFF;
	margin: 3% 0;
}

.team-member:last-child { border-bottom: none; }

.team-member header {
	padding-left: 6rem;
	background: no-repeat url('img/team-member.svg') 0 0;
	background-size: 5rem 5rem;
}

.team-member h3 {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 0.4em;
}

.team-member h4 {
	font-size: 1.6rem;
	padding-bottom: 0.4em;
}

.team-member h5 {
	font-size: 2rem;
	font-style: italic;	
	padding-bottom: 1.2em;
}

.team-member-excerpt,
.team-member-bio {
	display: block;
	margin-bottom: 3rem;
}

.team-member-excerpt p,
.team-member-bio p {
	font-size: 1.6rem;
	line-height: 1.4;
	margin-bottom: 1em;
}
.team-member-excerpt p:last-child, .team-member-bio p:last-child { margin-bottom: 0; }

.team-member-bio { display: none; }
.team-member button { background-color: transparent; }

#team-full-bio { display: none; }

/* when selected */
.team-member.team-member-detail-view .team-member-excerpt { display: none; }
.team-member.team-member-detail-view .team-member-bio { display: block; }
.team-member.team-member-detail-view button { display: none; }

.breakout-container:not(:first-child) {
	margin-top: 3rem;
}

@media (min-width: 992px), screen and (orientation: landscape) and (max-device-width: 1024px) {
	.breakout-container .wp-block-group__inner-container {
		width: 1305px;
		margin: auto;
		padding: 2.5em 0;
	}
}



/**
 * 20.0	- Responsive: Small devices
 * ----------------------------------------------------------------------------
 */
@media (min-width: 768px) {
	
}



/**
 * 21.0	- Responsive: Medium devices (or landscape tablets)
 * ----------------------------------------------------------------------------
 */
@media (min-width: 992px), screen and (orientation: landscape) and (max-device-width: 1024px) {
	/**
	 * 2.0	- Shared
	 * ----------------------------------------------------------------------------
	 */
	#isOnMobile { display: none; }
	.desktop-only { display: block; }

	article .alignleft { 
		float: left;
		margin: 0.3em 2rem 2rem 0;
		max-width: 49.1525%;
	}

	.gallery {
		position: relative;
		width: 100%;
		height: 0;
		padding-bottom: 56%;
		overflow: hidden;
	}

	.gallery-inner {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

	.gallery .gallery-item {
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		text-align: center;
		margin: 0;
	}

	/* Gallery nav */
	.gallery .arrow-nav {
		position: absolute;
		display: block;
		width: 3rem;
		height: 100%;
		top: 0;
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
		background: rgba(35,35,35,0) no-repeat center center;
		background-size: 1.2113rem 1.8844rem;
		opacity: 0.4;
		transition: 
			opacity 0.3s,
			background-color 0.3s;
	}
	.gallery .arrow-nav-previous	{ background-image: url(img/arrow_l.svg); left: 0; }
	.gallery .arrow-nav-next		{ background-image: url(img/arrow_r.svg); right: 0; }
	.gallery:hover .arrow-nav 		{ opacity: 0.5; background-color: rgba(35,35,35,0.2); }
	.gallery .arrow-nav:hover 		{ opacity: 1; background-color: rgba(35,35,35,0.2); }

	.gallery .blob-nav-container {
		display: block;
		position: absolute;
		bottom: 2.2rem;
		left: 0;
		width: 100%;
		text-align: center;
	}

	.gallery .blob-nav-container a {
		display: inline-block;
		width: 1rem;
		height: 1rem;
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
		margin-right: 1rem;
		border-radius: 0.5rem;
		background-color: rgba(255,255,255,0.4);
		transition: background-color 0.3s;
	}

	.gallery .blob-nav-container a.active,
	.gallery .blob-nav-container a:hover { background-color: rgba(255,255,255,1); }

	.breakout-container {
		column-span: all;
		width: 100vw;
		transform: translateX(calc(-50vw + 652px));
		background-color: #E4E4E4;
	}


	/**
	 * 3.0	- Masthead & Navigation
	 * ----------------------------------------------------------------------------
	 */
	#menu-toggle { display: none; }

	#masthead { 
		overflow: hidden;
		height: 20rem;
		background-color: rgba(255,255,255,0.85);
	}

	/* logo */
	#masthead h1 {
		position: absolute;
		top: 6.4rem;
		left: 1.4rem;
		z-index: 5;
		width: 26.9342rem;
		height: 10.7261rem;
	}

	/* phone */
	#masthead h2 {
		position: absolute;
		margin: 0;
		left: auto;
		right: 1.5rem;
		top: 11.2rem;
		font-size: 3rem;
	}

	/* email */
	#masthead h3 {
		position: absolute;
		margin: 0;
		left: auto;
		right: 1.5rem;
		top: 15.2rem;
		font-size: 2rem;
	}

	/* Nav */
	#main-menu-container { 
		display: block; 
		width: auto;
		left: auto;
		background-color: transparent;
	}
	#main-menu-container.container { position: relative; }

	#main-menu {
		float: right;
	}

	#main-menu li {
		width: auto;
		float: left;
		border-right: 1px solid #C6C6C6;
		border-top: none;
	}
	#main-menu li:last-child { 
		border-right: none;
		border-bottom: none;
	}

	#main-menu li a {
		padding: 2.4rem 2.7rem 0 3.0rem;
		transition: color 0.3s;
	}
	#main-menu li:last-child a { padding-right: 0; }
	#main-menu li.current-menu-item a { color: #D60011; }
	#main-menu li a:hover { color: #931111; }

	/**
	 * 4.0	- Hero images / banners
	 * ----------------------------------------------------------------------------
	 */
	#hero, #banners, #hero-video {
		display: block;
		position: relative;
		margin-top: 20rem;
		height: 40rem;
		overflow: hidden;
	}
	#banners { height: 50rem; }

	#hero-video {
		height: 50rem;
	}

	#hero-video video {
		position: relative;
		top: 50%;
		transform: translateY(-50%);
		width: 100%;
		min-height: 50rem;
	}

	#hero .hero-image, #banners .banner {
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background: transparent no-repeat center center;
		background-size: cover;
	}

	#banners .container {
		padding: 2rem 0 2rem 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
	}

	#banners blockquote p {
		font-size: 5rem;
		font-weight: 600;
		color: #FFF;
		letter-spacing: -0.01em;
	}

	#banners blockquote p::before {
		content: '“';
		display: inline-block;
		margin-left: -0.5em;
	}
	#banners blockquote p::after { content: '”'; }

	#banners h3 {
		font-size: 2rem;
		font-weight: 700;
		color: #FFF;
		text-transform: uppercase;
		margin: 2.5rem 0 0 0;
	}

	#banners .button {
		display: inline-block;
		margin: 3.5rem 0 0 0;
		background-color: transparent;
		color: #FFF;
		border-color: #FFF;
	}

	.home article > header > h1 { color: #1E1E1E; }


	/* Banner nav */
	.arrow-nav {
		position: absolute;
		display: block;
		width: 3rem;
		height: 100%;
		top: 0;
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
		background: transparent no-repeat center center;
		background-size: 1.2113rem 1.8844rem;
		opacity: 0.4;
		transition: opacity 0.3s;
	}
	.arrow-nav-previous	{ background-image: url(img/arrow_l.svg); left: 0; }
	.arrow-nav-next		{ background-image: url(img/arrow_r.svg); right: 0; }
	.arrow-nav:hover 	{ opacity: 1; }

	/* Blob nav */
	.nav-outer-container {
		position: relative;
		height: 2rem;
		margin-top: 37.1rem;
	}

	.blob-nav-container {
		position: absolute;
		bottom: 7.7rem;
		left: 1.5rem;
		width: 100%;
		text-align: center;
	}

	.blob-nav-container a {
		display: inline-block;
		width: 1rem;
		height: 1rem;
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
		margin-right: 1rem;
		border-radius: 0.5rem;
		background-color: rgba(255,255,255,0.4);
		transition: background-color 0.3s;
	}
	.blob-nav-container .active { background-color: #FFF; }

	
	/**
	 * 5.0	- Main body
	 * ----------------------------------------------------------------------------
	 */

	.main-content { margin-top: 5.5rem; }

	/* add more padding if there are no banners, or hero images */
	#masthead + #page { margin-top: 25rem; }

	.article-content {
		column-count: 2;
		column-gap: 3rem;
	}

	.wp-block-columns {
		column-span: all;
	}

	.single-vacancy .article-content {
		-webkit-column-count: 1;
		-moz-column-count: 1;
		column-count: 1;
	}

	.page-template-page_single-column .article-content,
	.error404 .article-content {
		-webkit-column-count: 1;
		-moz-column-count: 1;
		column-count: 1;
	}

	



	/**
	 * 6.0	- Footers
	 * ----------------------------------------------------------------------------
	 */
	#client-footer { margin-top: 7.9rem; }

	#client-logos {
		width: 75%;
		white-space: nowrap;
	}

	#client-logos li { width: auto; }

	#client-logos li img {
		height: 6.5rem;
		width: auto;
		max-width: none;
		padding-right: 4.3rem;
	}

	/**
	 * 10.0	- Page Specifics: Resources
	 * ----------------------------------------------------------------------------
	 */
	.expando-content.expando-resources {
		-webkit-column-count: 1;
		-moz-column-count: 1;
		column-count: 1;
		margin-top: 3rem;
	}

	.expando-content.expando-resources::after {
		content: ' ';
		display: inline-block;
		clear: left;
	}

	.expando-resource {
		display: block;
		position: relative;
		width: 22.8%;
		margin: 0 2.9333% 3% 0;
		float: left;
		border-bottom: none;
	}
	.expando-resource:nth-child(4n) { margin-right: 0; }

	.resource-cover-container {
		display: block;
		width: 100%;
		height: 0;
		padding-bottom: 100%;
		background-color: #E2E2E2;
		background-size: 40%;
	}

	.expando-resource-title {
		width: 100%;
		height: 0;
		padding-bottom: 42%;
		margin-left: 0;
	}

	.expando-resource h3 {
		font-size: 2rem;
		margin: 2.3rem 0 0;
		width: 95%;
	}

	.expando-resource h4 {
		font-size: 1.6rem;
		margin: 0.2em 0;
	}

	.expando-resource .button { margin: 0; }

	/**
	 * 11.0	- Page Specifics: Contact
	 * ----------------------------------------------------------------------------
	 */
	.google-map-container { margin-top: 20rem; }

	.contact-content { margin: 2rem 0 5.3rem 0; }

	.contact-content h3 {
		font-size: 3rem;
		margin-bottom: 0.2em;
	}

	.contact-address {
		font-size: 1.6rem;
		margin-top: 3.1rem;
		line-height: 1.5;
		margin-bottom: 0;
	}

	/**
	 * 12.0	- Page Specifics: Homepage
	 * ----------------------------------------------------------------------------
	 */
	#team { margin-bottom: 0; }
	#team h2, #team .back-btn { margin: 5.5rem 0 0 0; }

	#team-excerpts {
		position: relative;
		left: 0;
		opacity: 1;
		transition: 
			opacity 0.3s,
			left 0.5s;
	}
	#team-excerpts.team-member-detail-view { 
		opacity: 0;
		left: -110%;
	}

	#team-excerpts { 
		transition: 
			opacity 0.3s,
			left 0.5s;
	}
	#team-excerpts.team-member-detail-view { left: -110%; }

	/* overwrite mobile display styles */
	.team-member.team-member-detail-view .team-member-excerpt { display: block; }
	.team-member.team-member-detail-view .team-member-bio { display: none; }
	.team-member.team-member-detail-view button { display: inline-block; }

	.team-member {
		width: 23%;
		display: block;
		float: left;
		margin: 2.3% 2.45% 3% 0;
	}
	.team-member:nth-child(4n) { margin-right: 0; }
	.team-member:nth-child(4n+1) { clear: left; }

	.team-member {
		padding: 0;
		border-bottom: none;
		margin: 2.3% 2.45% 3% 0;
	}

	#team-full-bio {
		position: absolute;
		display: block;
		top: 0;
		left: 100%;
		width: 100%;
		height: 100%;
		padding: 5.5rem 0 0 0;
		opacity: 0;
		transition: 
			opacity 0.3s,
			left 0.5s;
	}

	/* When selected */
	#team-full-bio.team-member-detail-view {
		opacity: 1;
		left: 0;
	}

	#team-full-bio .team-member {
		width: 100%;
	}

	#team-full-bio .team-member-bio {
		display: block;
		font-size: 1.6rem;
		line-height: 1.4;
		width: 50%;

		-webkit-column-count: 2;
		-moz-column-count: 2;
		column-count: 2;

		-webkit-column-gap: 3rem;
		-moz-column-gap: 3rem;
		column-gap: 3rem;

		font-size: 1.6rem;
		line-height: 1.4;
	}
}

/**
 * 22.0 Responsive: Large devices
 * ----------------------------------------------------------------------------
 */
@media (min-width: 1200px) {

}

/**
 * 30.0 Device specific: iPad (Landscape)
 * ----------------------------------------------------------------------------
 */
@media only screen 
	and (min-device-width: 768px) 
	and (max-device-width: 1024px) 
	and (orientation: landscape) 
	and (-webkit-min-device-pixel-ratio: 1) {
	
	/**
	 * 2.0	- Shared
	 * ----------------------------------------------------------------------------
	 */		
	html { font-size: 40%; }
}

body div.uwy.userway_p1 div.userway_buttons_wrapper {
    top: 20px;
    left: calc(100vw - 70px);
}
