.view {
	left: 0;
	top: 0;
	display: none;
	position: fixed;
	height: 100%;
	width: 100%;
	background-color: rgba(31, 31, 31, 0.375);
	z-index: 16;
}

.popup.video {
	max-width: 1000px;
	width: calc(100% - 2rem);
	box-sizing: border-box;
	margin: auto;
	margin-top: 15vh;
	color: var(--d-gray);
	background-color: white;
}

.popup.video .titlebar {
	display: flex;
	align-items: center;
	margin-bottom: 0.5rem;
}
.popup.video .titlebar .title {
	margin: 0.5rem 0;
}

.video-wrapper {
	overflow: hidden;
	border-radius: var(--radius-big);
}

.video-wrapper iframe {
	border: none;
	background-color: var(--gray1);
}

.video-play {
	display: inline-block;
}
header.resources .textwrapper .title {
	color: var(--gray1);
}
main header.resources { 
	background-color: unset;
	color: unset;
}
section.first .container {
	justify-content: center;
	margin-top: -1rem;
}

.choose {
	padding: 0 2.5rem;
	margin-top: -1.5rem;
	margin-bottom: 1.5rem;
	box-sizing: border-box;
}

.story-left,
.story-right {
	width: 50%;
}

.story-left .story:first-of-type {
	margin-top: 0 !important;
}
.story-right .story:first-of-type {
	margin-top: 0 !important;
}

.story {
	width: calc(100% - 1.5rem);
	box-sizing: border-box;
	margin: 1.5rem 0.75rem;
	text-align: left;
	overflow: hidden;
	background-color: white;
	border-radius: var(--radius-big);
	border: 1px solid var(--gray3);
	transition: var(--ease);
}
.story.hide {
	display: none;
}

.story label {
	margin: 0;
	text-transform: uppercase;
}
.story.vet label:after {
	content: 'Veterinary Practices';
}
.story.auto label:after {
	content: 'Automotive';
}
.story.med label:after {
	content: 'Medical Practices';
}
.story.hospital label:after {
	content: 'Hospitals';
}
.story.dental label:after {
	content: 'Dental & DSO';
}

.story-pic {
	display: none;
	height: 13.5rem;
	overflow: hidden;
	margin-bottom: -0.5rem;
}
.story-pic img {
	width: 100%;
	margin-top: -1.5rem;
}

.story-body {
	padding: 1.5rem 2rem;
	padding-bottom: 2rem;
}

.client-logo {
	display: none;
	padding: 0.5rem 0;
}
.client-logo img {
	max-height: 4.5rem;
}

.client.title {
	text-transform: none;
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.story .zmdi-quote {
	transform: rotate(180deg);
	color: var(--gray1);
	transition: var(--ease);
	font-size: 2.5rem;
	margin-left: -0.25rem;
}
.story .zmdi-quote.double {
	margin-top: 1rem;
}

.story .text {
	margin: 0.5rem 0;
	font-weight: 400;
	font-size: 1.1rem;
	line-height: 1.25;
}
.story .text:after {
	content: '”';
}

.person-holder {
	display: flex;
	align-items: flex-end;
}

.person-holder .divider {
	display: none;
}

.person-holder .mug {
	margin-top: 1rem;
	width: 6rem;
	height: 6rem;
	margin-left: -0.25rem;
	border: 3px solid var(--blue2);
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}
.mug img {
	width: 100%;
}

.person-holder .person {
	margin: 1rem 0.75rem;
	font-size: 1.25rem;
}

.cta {
	display: none;
}
.cta button {
	border-radius: 5rem;
	box-shadow: none !important;
	margin-top: 1rem;
	margin-left: -0.25rem;
	font-size: 1.25rem;
}

.cta button .zmdi {
	font-weight: 700;
	margin-right: -0.25rem;
	margin-left: 0.25rem;
}

.story:hover {
	border-color: var(--green3);
}

.story:hover .zmdi-quote,
.story:hover .title {
	color: var(--green2) !important;
}

/* different types of stories*/

.story.withlogo .client-logo {
	display: block;
}

.story.notitle .client.title {
	display: none;
}

.story.bigtext .text {
	font-size: 1.5rem;
}

.story.highlight {
	border: 3px solid var(--green3);
	box-shadow: none !important;
}
.story.highlight:hover {
	border-color: var(--green4);
}

.story.noquote .zmdi-quote {
	display: none;
}
.story.noquote .text {
	margin-top: 1rem;
}
.story.noquote .text:after {
	content: '';
}

.story.withpic .story-pic {
	display: block;
}

.story.nomug .person-holder {
	display: block;
}
.story.nomug .mug {
	display: none;
}
.story.nomug .divider {
	display: inline-block;
}
.story.nomug .person-holder .person {
	margin: 0;
}

.story.withcta .cta {
	display: block;
}

.story.noperson .person-holder {
	display: none;
}
section select {
	border: 0.05em solid var(--gray2);
}

/*custom microadjustments */
#feedback-loop img {
	margin-top: -6rem;
}

#lisa img {
	margin-top: -1rem;
}

#erika {
	width: auto;
	height: 100%;
	margin-left: -1rem;
}

@media screen and (max-width: 650px), screen and (max-device-width: 650px) {
	.story-left,
	.story-right {
		width: 100%;
		max-width: 550px;
	}

	.story {
		width: calc(100% - 2rem);
		margin: 1rem;
	}

	.story-pic {
		height: 9rem;
	}
}

@media screen and (max-width: 450px), screen and (max-device-width: 450px) {
	.popup.video {
		margin-top: 20vh;
		width: 100%;
	}

	.choose {
		padding: 0 0.5rem;
		margin-bottom: 1rem;
	}

	.story {
		width: 100%;
		margin: 1rem 0;
	}

	.cta button {
		font-size: 1.1rem;
		padding: 0.75em 1.5em;
	}

	.person-holder .person {
		margin: 0.75rem;
		font-size: 1.1rem;
	}
}
