/**
 * GMB Testimonial CSS
 *
/*
-------------------------------------------------------------- */

/*
Testimonial Shortcode
Type: Classic
-------------------------------------------------------------- */
.testimonial-sc-wrap {
	float: left;
	width: 100%;
	padding: 40px 5% 40px 5%;
	border-color: #d8d8d8;
	border-style: solid;
}

.testimonial-sc {
	position: relative;
	max-width: 1340px;
	margin: 0 auto;
	quotes: '\201c' '\201d';
}

.testimonial-sc .testimonial-quote:before {
	position: absolute;
	top: 32px;
	left: -14px;
	font-size: 90px;
	color: #000;
	content: open-quote;
	opacity: 0.2;
}

.testimonial-sc-wrap.black .testimonial-sc .testimonial-quote:before {
	color: #fff;
}

.testimonial-sc.align-right .testimonial-quote:before {
	left: 19%;
}

.testimonial-sc .testimonial-quote,
.testimonial-sc .testimonial-author {
	float: left;
}

.testimonial-sc.align-right .testimonial-quote,
.testimonial-sc.align-right .testimonial-author {
	float: right;
}

.testimonial-sc .testimonial-quote {
	width: 80%;
}

.testimonial-sc .testimonial-quote blockquote {
	padding: 8px 24px 0 24px;
	margin: 0;
	font-family:'DIN Next W01 Regular';
	font-size: 20px;
	line-height: 1.5;
}
.testimonial-sc .testimonial-quote p {
	margin-bottom: 20px;
}

.entry-content .testimonial-sc .testimonial-quote blockquote {
	border-left: none;
}

.testimonial-sc .testimonial-author {
	width: 20%;
	margin: 0;
	text-align: center;
}

.testimonial-sc .testimonial-author img {
	width: 125px;
	border-radius: 50%;
}

.testimonial-sc .testimonial-author figcaption {
	padding: 6px 0 0 0;
	font-family:'DIN Next W01 Regular';
}

.testimonial-sc .testimonial-author figcaption span {
	font-family:'DIN Next W01 Regular';
}

.testimonial-sc-wrap.blue,
.testimonial-sc-wrap.green,
.testimonial-sc-wrap.pink,
.testimonial-sc-wrap.black {
	color: #fff;
	border: none !important;
}

.testimonial-sc-wrap.blue {
	background-color: #28B1DE;
}

.testimonial-sc-wrap.green {
	background-color: #4DBA97;
}

.testimonial-sc-wrap.pink {
	background-color: #E03F85;
}

.testimonial-sc-wrap.black {
	background-color: #20262E;
}


/*
Testimonial Shortcode
Type: Stylized
-------------------------------------------------------------- */
.testimonial-wrap,
.testimonial {
	position: relative;
}

.testimonial-wrap.has-top-border,
.testimonial.has-top-border {
	border-top: 1px solid #d8d8d8;
}

.testimonial-wrap.has-bottom-border,
.testimonial.has-bottom-border {
	border-bottom: 1px solid #d8d8d8;
}

.testimonial-container {
	max-width: 1340px;
	margin: 0 auto 24px auto;
}

.testimonial-wrap.is-inverted,
.testimonial.is-inverted {
	color: #fff;
	background-color: #20262E;
}

.testimonial .profile-panel {
	padding: 32px 32px 0 32px;
}

.testimonial-item .profile-panel,
.testimonial .profile-panel {
	margin-bottom: 16px;
	line-height: 1.2;  /* Reset from article styling on .entry-content */
	text-align: center;
}

@media screen and (min-width: 768px) {
	.testimonial-container {
		display: flex;
	}

	.testimonial.is-reversed .testimonial-container {
		flex-direction: row-reverse;
	}

	.testimonial .profile-panel {
		flex-shrink: 0;
		padding: 32px 16px 32px 32px;
		margin-bottom: 0;
	}

	.testimonial.is-reversed .profile-panel {
		padding: 32px 32px 32px 16px;
	}
}

.testimonial-item .title,
.testimonial .title {
	font-size: 20px;
}

.testimonial-item .subtitle,
.testimonial .subtitle {
	font-size: 18px;
	color: #97959e;
}

.testimonial-item .picture,
.testimonial .picture {
	position: relative;
	display: block;
	width: 180px;
	height: 180px;
	margin: 0 auto 8px auto;
	border-radius: 50%;
}

.testimonial .quote-panel {
	padding: 0 32px 32px 32px;
}

@media screen and (min-width: 768px) {
	.testimonial .quote-panel {
		flex-grow: 1;
		padding: 32px 32px 32px 16px;
	}

	.testimonial.is-reversed .quote-panel {
		padding: 32px 16px 32px 32px;
	}
}

.testimonial-wrap:before,
.testimonial:before {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: transparent url(/wp-content/themes/gmb/images/stripesblack.png) repeat left top;
	background-size: 200px;
	content: "";
	opacity: .15;
}

.testimonial-wrap.is-flat-background:before,
.testimonial.is-flat-background:before {
	content: none;
}

.testimonial-wrap.is-inverted:before,
.testimonial.is-inverted:before {
	filter: invert(100%);
}

.testimonial .headline {
	display: flex;
	padding-left: 16px;
	margin-bottom: 16px;
	font-family: "DIN Next W01 Bold";
	font-size: 18px;
	text-transform: uppercase;
}

.testimonial .program-logo {
	flex: 0 0 46px;
	margin-top: 14px; /* Offset for spill over of .gmbhex box model */
	margin-right: 16px;
	margin-bottom: 14px; /* Offset for spill over of .gmbhex box model */
	vertical-align: middle;
}

.testimonial .headline-content {
	margin-top: 14px;
}

.testimonial-item .quote,
.testimonial .quote {
	position: relative;
	padding-right: 16px;
	padding-left: 16px;
	font-family: "DIN Next W01 Regular";
	font-size: 18px;
	font-style: italic;
	line-height: 1.2;
}

.testimonial-item .quote p,
.testimonial .quote p {
	margin-bottom: 12px;
}

.testimonial-item .quote:before,
.testimonial .quote:before {
	position: absolute;
	top: -4px;
	left: -4px;
	font-size: 48px;
	line-height: 1;
	color: #9F9DA2;
	content: open-quote;
	quotes: '\201c' '\201d';
}

.testimonial-item.has-video .profile-panel,
.testimonial.has-video .profile-panel {
	max-width: 440px;
	margin-right: auto;
	margin-left: auto;
}

@media screen and (min-width: 768px) {
	.testimonial.has-video .profile-panel {
		flex-basis: 33%;
		max-width: none;
		margin-right: 0;
		margin-left: 0;
	}
}

.testimonial-item.has-video .lightbox-thumbnail {
    width: 100%;
    height: 100%;
	min-width: 100%;
	margin-bottom: 8px;
}

.lightbox-thumbnail.video {
	position: relative;
}

.lightbox-thumbnail.video:before {
	display: block;
	width: 100%;
	padding-bottom: 56%; /* 16:9 aspect ratio for video */
	content: " ";
}

.lightbox-thumbnail .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.lightbox-thumbnail.video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.lightbox-thumbnail .lightbox-markup {
	display: none;
}


/*
Fancy Testimonial Shortcode
-------------------------------------------------------------- */
.fancy-testimonial-wrap-sc {
	float: left;
	width: 100%;
	padding: 60px 5%;
	margin: 16px 0 40px 0;
}

.fancy-testimonial-wrap-sc.green {
	background-color: #4dba97;
}

.fancy-testimonial-wrap-sc.blue {
	background-color: #28B1DE;
}

.fancy-testimonial-wrap-sc.pink {
	background-color: #E03F85;
}

.fancy-testimonial-wrap-sc.black {
	background-color: #20262E;
}

.fancy-testimonial-wrap-sc p {
	max-width: 740px;
	margin: 0 auto 52px auto;
	font-family:'DIN Next W01 Regular';
	font-size: 22px;
	font-size: 24px;
	line-height: 33px;
	line-height: 35px;
	color: #fff;
}

.fancy-testimonial-wrap-sc h3 {
	margin-bottom: 40px;
	font-family:'DINNextW01-CondensedUlt';
	font-size: 66px;
	font-weight: 100;
	line-height: 88px;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
}

.fancy-testimonial-wrap-sc.white h3,
.fancy-testimonial-wrap-sc.white p {
	color: #20262e;
}

.fancy-testimonial-sc {
	position: relative;
	float: left;
	width: 25%;
	padding: 8px;
	cursor: pointer;
}

.fancy-testimonial-sc .name-title-loc {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	padding: 16px 24px 40px 24px;
	color: #fff;
	text-align: center;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
	opacity: 0;
	-webkit-transition: opacity 0.4s ease-in-out;
	-moz-transition:    opacity 0.4s ease-in-out;
	-ms-transition:     opacity 0.4s ease-in-out;
	-o-transition:      opacity 0.4s ease-in-out;
	transition:         opacity 0.4s ease-in-out;
}

.fancy-testimonial-sc .name-title-loc .name {
	font-family:'DIN Next W01 Regular';
	font-size: 22px;
	line-height: 33px;
}

.fancy-testimonial-sc .name-title-loc .title-loc {
	font-family:'DINNextW01-CondensedUlt';
	font-size: 18px;
	font-weight: 100;
	line-height: 28px;
}

.fancy-testimonial-sc .headshot-wrap:hover .name-title-loc {
	opacity: 1;
}

.fancy-testimonial-sc .headshot img {
	width: 100%;
	margin-bottom: 0;
}

.fancy-testimonial-sc .headshot-wrap:after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(77, 186, 151, 0.5);
	content: '';
	opacity: 0;
	-moz-transition:    opacity 0.3s ease-in-out;
	-ms-transition:     opacity 0.3s ease-in-out;
	-o-transition:      opacity 0.3s ease-in-out;
	-webkit-transition: opacity 0.3s ease-in-out;
	transition:         opacity 0.3s ease-in-out;
}

.fancy-testimonial-wrap-sc.blue .headshot-wrap:after {
	background-color: rgba(40, 177, 222, 0.5);
}

.fancy-testimonial-wrap-sc.pink .headshot-wrap:after {
	background-color: rgba(224, 63, 133, 0.5);
}

.fancy-testimonial-wrap-sc.black .headshot-wrap:after {
	background-color: rgba(32, 38, 46, 0.5);
}

.fancy-testimonial-sc .headshot-wrap:hover:after {
	opacity: 1;
}

.fancy-testimonial-sc .quote-action-pic {
	display: none;
}

.quote-action-pic img {
	vertical-align: bottom;
}

.quote-action-pic .quote {
	position: absolute;
	bottom: 0;
	width: 100%;
	font-family:'DIN Next W01 Regular';
	font-size: 22px;
	line-height: 33px;
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
	background-color: rgba(77, 186, 151, 0.8);
}

.quote-action-pic .quote blockquote {
	max-width: 600px;
	padding: 40px 40px 16px 40px;
	margin: 0 auto;
}

.quote-action-pic .quote blockquote a {
	color: #fff;
	text-decoration: underline;
}

.quote-action-pic .quote blockquote a:hover {
	text-decoration: none;
}

.fancy-testimonial-sc .quote-action-pic .quote blockquote p {
	margin-bottom: 0;
}

@media only screen and (max-width: 1023px) {
	.testimonial-sc .testimonial-quote,
	.testimonial-sc .testimonial-author {
		width: 100%;
	}

	.testimonial-sc.align-right .testimonial-quote:before {
		left: -10px;
	}
}

@media only screen and (max-width: 640px) {
	.fancy-testimonial-sc {
		float: left;
		width: 50%;
	}

	.quote-action-pic .quote {
		font-size: 18px;
		line-height: 27px;
	}
}

@media only screen and (max-width: 588px) {
	.quote-action-pic .quote {
		font-size: 16px;
		line-height: 26px;
	}
	.fancy-testimonial-wrap-sc h3 {
		font-size: 52px;
		line-height: 69px;
	}
}

@media only screen and (max-width: 470px) {
	.fancy-testimonial-sc {
		float: none;
		width: 100%;
	}

	.quote-action-pic .quote {
		font-size: 14px;
		line-height: 24px;
	}
}


/*
Testimonial Wrap Shortcode
-------------------------------------------------------------- */
.testimonial-wrap {
	padding: 24px 16px;
}

@media screen and (min-width: 1024px) {
	.testimonial-wrap {
		display: flex;
	}
}

/*
Testimonial Item Shortcode
-------------------------------------------------------------- */
.testimonial-item {
	padding-right: 16px;
	padding-bottom: 32px;
	padding-left: 16px;
}

@media screen and (min-width: 1024px) {
	.testimonial-item {
		flex-basis: 0;
		flex-grow: 1;
		padding-bottom: 0;
	}
	.testimonial-item:not(:last-child) {
		border-right: 1px solid #d8d8d8;
	}
}

.testimonial-item .profile-panel {
	padding-right: 16px;
	padding-left: 16px;
}
