/*
Theme Name: Custom Theme
Theme URI: http://www.kanemitchell.co.uk
Version: 1.0
Author: Kane Mitchell
Author URI: http://www.kanemitchell.co.uk
template: bb-theme
*/

#mobileAppDownload {
	background: rgba(0, 0, 0, 0.8);
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 9999999;
}
#mobileAppDownload > div {
	background-color: #fff;
	color: #333;
	font-family: sans-serif;
	font-size: 0.9em;
	margin-top: -70px;
	padding: 2em 0;
	position: absolute;
	text-align: center;
	top: 50%;
	width: 100%;
}
#mobileAppDownload .text {
	margin: 0 5em;
}
#mobileAppDownload p {
	margin-top: 0;
}
#mobileAppDownload .text a {
	background: #333;
	color: #fff;
	display: block;
	margin: 1.5em auto 0;
	padding: 1em;
	text-decoration: none;
	width: 15em;
}
#mobileAppDownload .close {
	border: 1px solid #333;
	border-radius: 5em;
	color: #333;
	font-size: 1.4em;
	font-weight: bold;
	padding: 0.3em 0.7em 0.4em;
	position: absolute;
	right: 0.5em;
	text-decoration: none;
	top: 0.5em;
}

/* Gravity Forms */
div.gform_wrapper.gravity-theme .gform-body .gfield .gfield_label {
	display: block;
	margin: 0 0 1px;
	padding: 0;
}

div.gform_wrapper.gravity-theme
	.gform-body
	.gfield
	.gfield_label
	.gfield_required {
	color: #f0ad02;
}
div.gform_wrapper.gravity-theme .gform-body .gfield input {
	height: auto;
	line-height: 1;
	padding: 10px 15px;
	border-radius: 2px;
}
div.gform_wrapper.gravity-theme .gform-body .gfield textarea {
	height: 125px;
	padding: 10px;
	line-height: 1.6;
	border-radius: 2px;
}
div.gform_wrapper.gravity-theme .gform_footer {
	margin: 0;
	padding: 20px 0 0;
	display: flex;
	justify-content: center;
}
div.gform_wrapper.gravity-theme .gform_footer input.gform_button {
	border: none;
	border-radius: 0;
	font-weight: 600;
	padding: 16px 30px;
	font-size: 18px;
	font-weight: bold;
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
	text-align: center;
	margin: auto;
	display: inline-block;
	-webkit-transition: all 0.35s ease;
	-moz-transition: all 0.35s ease;
	-ms-transition: all 0.35s ease;
	-o-transition: all 0.35s ease;
	transition: all 0.35s ease;
}

/* MISC */
.limit-ch.text-center .fl-rich-text,
.limit-ch.text-center .fl-heading {
	margin-left: auto !important;
	margin-right: auto !important;
}

.limit-ch.mx-30 .fl-rich-text,
.limit-ch.mx-30 .fl-heading {
	max-width: 30ch;
}
.limit-ch.mx-40 .fl-rich-text,
.limit-ch.mx-40 .fl-heading {
	max-width: 40ch;
}
.limit-ch.mx-50 .fl-rich-text,
.limit-ch.mx-50 .fl-heading {
	max-width: 50ch;
}
.limit-ch.mx-60 .fl-rich-text,
.limit-ch.mx-60 .fl-heading {
	max-width: 60ch;
}
.limit-ch.mx-70 .fl-rich-text,
.limit-ch.mx-70 .fl-heading {
	max-width: 70ch;
}
.limit-ch.mx-80 .fl-rich-text,
.limit-ch.mx-80 .fl-heading {
	max-width: 80ch;
}
.limit-ch.mx-90 .fl-rich-text,
.limit-ch.mx-90 .fl-heading {
	max-width: 90ch;
}
.limit-ch.mx-100 .fl-rich-text,
.limit-ch.mx-100 .fl-heading {
	max-width: 100ch;
}

@media screen and (max-width: 768px) {
	br.large-only {
		display: none;
	}
}

/* Shortcode - Staff List */
.staff-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 52px;
	grid-row-gap: 52px;
}

.staff-item .staff-item-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	align-content: center;
	margin-bottom: 12px;
}

.staff-item .staff-item-top .staff-item-img {
	width: 30%;
}
.staff-item .staff-item-top .staff-item-title {
	width: 65%;
}

.staff-item .staff-item-top .staff-item-title h3 {
	margin: 0 0 8px;
}

.staff-item a.staff-email {
	color: #333;
	transition: all 0.3s ease-in-out;
}

.staff-item a.staff-email:hover {
	color: #c08a02;
}

@media screen and (max-width: 768px) {
	.staff-list {
		grid-template-columns: repeat(1, 1fr);
	}
	.staff-item .staff-item-top .staff-item-title a.staff-email {
		font-size: 12px;
	}
}
