.main {
	z-index: 10;
	position: relative;
}
.header {
	border-bottom: 1px solid var(--c-1);
}
.hero--m-t {
	/*margin-top: 40px;*/
}
@media screen and (min-width: 768px) {
	.hero--m-t {
		margin-top: 70px;
	}
}

/* Changes */
.heading p {
	margin-bottom: 0;
}
.content a {
	text-decoration: underline;
}
.error404 .main .wrapper__inner {
	min-height: 60vh;
}


/*
 Content
*/
.content hr {
    border: 0;
    border-top: 1px solid #e6e6e6;
    margin: 4.5rem 0;
}

/*
 HTML
*/
.component.html iframe {
	max-width: 100%;
}

/*
 Events
*/
.event-resources .file-icon {
	display: none;
}
.event-resources h2 {
	font-size: 18px;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: .4rem;
}
@media screen and (min-width: 768px) {
	.event-resources h2 {
		font-size: 21px;
	}
}
.event-resources p {
	margin-bottom: 1rem;
}
.event-resources__section:not(:first-of-type) {
	border-top: 0.1rem solid var(--c-1);
    padding-top: 5rem;
    margin-top: 2rem;
}
.event-resources span {
	line-break: anywhere;
}


/*
 Background
*/
.bg--white-extend::after {
    top: 110px;
    left: 0;
    right: 0;
    height: 210px;
    position: absolute;
    content: '';
    display: block;
    pointer-events: none;
    background: #fff;
}

/*
 Buttons
*/
.button {
	padding: 0 !important;
	border: 0 !important;
}
.button:hover .button__text {
	text-decoration: underline;
}
.button__image {
	height: 15px;
	display: inline-block;
}
.button__image img {
	margin: -36px 0 -10px 10px;
    position: relative;
    z-index: 4;
    height: 60px;
}
.button__borders {
	padding: 1.6rem 3rem 1.8rem;
}
.button::before,
.button::after,
.button__borders::before,
.button__borders::after {
    position: absolute;
    content: '';
    display: block;
    border: 1px solid #fff;
    transition: all .3s ease-in-out;
}
.button::before,
.button::after {
	height: 15px;
	width: calc(100% - 15px);
	border-width: 1px 1.5px 0 0;
	transform: skew(45deg);
}
.button::before {
	top: 0;
	right: 7px;
}
.button::after {
	bottom: 0;
	right: 7px;
	transform: rotate(180deg) skew(45deg);
}
.button__borders::before,
.button__borders::after {
	height: calc(100% - 15px);
	border-width: 0 1px 0 0;
}
.button__borders::before {
	left: 0;
	top: 0;
}
.button__borders::after {
	right: 0;
	bottom: 0;
}
.button--square .button__borders {
    padding: 1.5rem 2rem 1.5rem 1.4rem;
}
.button--corner {
	position: absolute;
	bottom: 20px;
	right: 30px;
}


/**
 * Post Box
*/
.post-box {
	border: 1px solid var(--c-1);
	border-width: 1px 1px 0 0;
}
.post-box::before,
.post-box::after {
    position: absolute;
    content: '';
    display: block;
}
.post-box::before {
	height: calc(100% + 50px);
	width: 1px;
	background: var(--c-1);
	left: -1px;
	top: -14px;
}
.post-box::after {
	background: url(../images/icon-block-navy.svg) center/contain no-repeat;
	height: 9px;
	width: 9px;
	left: -4px;
	top: -30px;
}
.post-box:nth-of-type(even)::before {
	top: -30px;
}
.post-box:nth-of-type(even)::after {
	top: calc(100% + 30px);
}
.post-box__tax {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--c-1);
}
.post-box__date {
	font-size: 13px;
	font-weight: 400;
	color: var(--c-1);
}
.post-box .wrapper,
.post-box .wrapper__inner  {
    height: 100%;
    align-content: flex-start;
}
.post-box__bottom {
	min-height: calc(100% - 79px);
}


/*
 * Icons
 */
.icon-before {
	padding-left: 30px;
}
.icon-before a {
	font-weight: 700;
}
.icon-before::before {
	content: '';
	width: 20px;
	height: 20px;
	background: url(../images/icon-website.svg) center/contain no-repeat;
	position: absolute;
	left: 0;
	top: 1px;
}
.icon-before--twitter::before {
	background-image: url(../images/icon-twitter.svg);
}


/* People Links */
.people-website-links li {
	padding-bottom: 5px;
}


/* Headings
 */
h1, h2, h3, h4 {
	letter-spacing: -1px;
}
.h4, .h5, .h6 {
	letter-spacing: 0px;
}


/**
 * Map
 */
#wpsl-wrap {
    border: 1px solid;
}
.wpsl-dropdown {
	width: 105px;
}
.wpsl-search {
    background: #fff;
    padding: 0;
    margin: 0;
}
#wpsl-search-wrap {
	border-bottom: 1px solid var(--c-1);
}
#wpsl-search-wrap .wpsl-input label {
	color: var(--c-1);
}
#wpsl-search-wrap div label {
	white-space: nowrap;
	padding-top: 4px;
}
#wpsl-search-wrap .wpsl-input {
	flex-grow: 1;
	display: inline-flex;
}
@media screen and (max-width: 767px) {
	#wpsl-search-wrap .wpsl-input {
		flex-direction: column;
	}
}
#wpsl-search-wrap .wpsl-input input {
	flex-grow: 1;
}
#wpsl-search-btn {
	background: var(--c-1);
	color: #fff;
	border: 0 !important;
	padding: 10px 30px;
	font-size: 1.6rem;
	margin: 0;
}
#wpsl-search-wrap form {
	display: flex;
	align-content: center;
}
@media screen and (max-width: 767px) {
	#wpsl-search-wrap form {
		flex-direction: column;
	}
	#wpsl-search-wrap form > div:not(:last-of-type) {
		border-bottom: 1px solid var(--c-1);
	}
}
#wpsl-search-wrap form > div {
	padding: 20px;
	margin: 0;
}
@media screen and (min-width: 768px) {
	#wpsl-search-wrap form > div:not(:last-of-type) {
		border-right: 1px solid var(--c-1);
	}
}
.wpsl-store-location > p span {
	font-size: 1.2rem;
}
#wpsl-wrap #wpsl-result-list li {
	padding: 20px;
}
#wpsl-result-list li p {
	margin-bottom: 10px;
	font-size: 14px;
}
#wpsl-result-list li p.wpsl-store-location__title,
p.wpsl-info-window__title {
	font-size: 16px;
}
#wpsl-result-list li a,
.wpsl-info-window p a {
	text-decoration: underline;
}
#wpsl-result-list li a.btn,
.wpsl-info-window a.btn {
	text-decoration: none;
	background: var(--c-1);
	padding: 4px 8px;
	display: inline-block;
	color: #fff;
	font-weight: 700;
}
#wpsl-result-list li a.btn:hover,
#wpsl-result-list li a.btn:focus,
.wpsl-info-window a.btn:hover,
.wpsl-info-window a.btn:focus {
	text-decoration: underline;
	background: var(--c-6);
	color: #fff;
}
.info-window-label {
	display: block;
	font-size: 12px;
	font-weight: 700;
}
.wpsl-info-window p {
	font-weight: 400;
}
.gm-style .gm-style-iw {
	border-radius: 0;
}

/**
 * Location search
 */
#wpsl-widget-form {
	display: flex;
}
#wpsl-widget-form::before {
    top: -20px;
    left: -20px;
	width: 61px;
	height: 82px;
    position: absolute;
    content: '';
    display: block;
	background: url(../images/icon-people.svg) center/contain no-repeat;
	pointer-events: none;
}
#wpsl-widget-submit {
	font-size: 0;
	background: url(../images/icon-search.svg) center/contain no-repeat;
	width: 64px;
	height: 62px;
	border: 0;
	position: absolute;
	top: -6px;
	right: -5px;
}
#wpsl-widget-form label {
	display: none;
}
#wpsl-widget-search {
	border-color: var(--c-1);
	font-size: 18px;
	padding: 13px 20px 13px 60px;;
	color: var(--c-1);
	width: 100%;
}
#wpsl-widget-search::placeholder {
	font-size: 18px;
	color: var(--c-1);
}
@media screen and (min-width: 768px) {
	#wpsl-widget-search,
	#wpsl-widget-search::placeholder {
		font-size: 21px;
	}
}
.wpsl-icon-direction {
	display: none;
}
#wpsl-widget-form p {
	margin: 0;
}
#wpsl-widget-form p:nth-of-type(1) {
	width: calc(100% - 30px);
}
#wpsl-widget-form p:nth-of-type(2) {
	width: 30px;
}


/**
 * Heading line mark
 */
.line-mark .heading-text {
	padding-bottom: 1.6rem;
	width: auto;
	display: inline-block;
	position: relative;
}
.line-mark .heading-text::before,
.line-mark .heading-text::after {
    left: 10px;
    bottom: 0;
    position: absolute;
    content: '';
    display: block;
}
.line-mark .heading-text::before {
	width: 100%;
	height: 1px;
	background: var(--c-2);
}
@media screen and (min-width: 768px) {
	.line-mark .heading-text::before {
		width: calc(100% + 50px);
	}
}
.line-mark.line-mark--narrow .heading-text::before {
	width: 70px;
}
.line-mark .heading-text::after {
	left: -4px;
	bottom: -2px;
	width: 5px;
	height: 5px;
	background: url(../images/icon-block-navy.svg) center/contain no-repeat;
}
@media screen and (min-width: 768px) {
	.line-mark .heading-text::before {
		left: 0;
	}
	.line-mark .heading-text::after {
		left: -24px;
		width: 9px;
		height: 9px;
		bottom: -4px;
	}
}
.line-mark--white .heading-text::before {
	background: var(--c-white);
}
.line-mark--white .heading-text::after {
	background-image: url(../images/icon-block-blue.svg);
}


/* 
 M3 Family
*/
.m3-family--row .col {
	margin: 0 !important;
}	
.m3-family--row .col:first-of-type {
	padding: 2.4rem 2rem;
}
.m3-family--row a {
	display: block;
	transition: all .3s ease-in-out;
	font-size: 0;
}
.m3-family--row a:hover {
	background: #fff;
}
.m3-family--row img {
	height: 7.4rem;
	width: auto;
	padding: 2rem;
}
@media screen and (max-width: 767px) {
	.m3-family--row .col {
		border-bottom: 1px solid var(--c-1);
	}
}
@media screen and (max-width: 1024px) {
	.m3-family--row .col:nth-of-type(1),
	.m3-family--row .col:nth-of-type(2) {
		border-bottom: 1px solid var(--c-1);
	}
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
	.m3-family--row .col:nth-of-type(1),
	.m3-family--row .col:nth-of-type(3) {
		border-right: 1px solid var(--c-1);
	}
}
@media screen and (min-width: 1025px) {
	.m3-family--row .col:first-of-type {
		padding-left: 0;
	}
	.m3-family--row .col:not(:first-of-type) {
		border-left: 1px solid var(--c-1);
	}
}
.m3-family--dropdown img {
	height: 34px;
	width: auto;
}
.m3-family--dropdown .nav--horizontal {
	padding: 0;
	margin: 0;
}
.m3-family--dropdown .nav--horizontal .sub-menu {
	min-width: 30rem;
	border-top: 1px solid var(--c-1);
}
.m3-family--dropdown .nav--horizontal li:hover,
.m3-family--dropdown .nav--horizontal li[aria-expanded="true"] {
	background: var(--c-4);
	color: var(--c-1);
}
.m3-family--dropdown .nav--horizontal li:hover a,
.m3-family--dropdown .nav--horizontal li[aria-expanded="true"] a {
	color: var(--c-1) !important;
}
.m3-family--dropdown .nav--horizontal li:hover .sub-menu,
.m3-family--dropdown .nav--horizontal li[aria-expanded="true"] .sub-menu {
	background: var(--c-4);
}
.m3-family--dropdown .m3-family__nav-toggle {
	padding: 2.3rem 2.4rem 3.5rem;
	height: auto;
	background: url(../images/icon-arrow-down-navy.svg) no-repeat;
	background-size: 20px auto;
	background-position: center calc(50% + 15px);
	transition: all .3s ease-in-out;
	display: block;
}
.m3-family--dropdown .nav--horizontal > li:hover > a {
	background: url(../images/icon-arrow-down-navy.svg) no-repeat;
	background-size: 20px auto;
	background-position: center calc(50% + 20px);
}
.m3-family--dropdown .nav--horizontal li .sub-menu a:hover {
	background: var(--c-white);
}
.m3-family--dropdown .menu-item-has-children:hover .sub-menu {
	display: block;
	position: absolute;
}
@media screen and (max-width: 1024px) {
	.m3-family--dropdown .menu-item-has-children:hover .sub-menu a {
		padding: .5rem 2rem;		
	}
	.m3-family--dropdown .menu-item-has-children:hover .sub-menu li:after {
		display: none;
	}
}


/* 
 Menus
*/
.nav--vertical li a {
	background: url(../images/icon-arrow-right-menu.svg) center/contain no-repeat;
	background-size: 5px auto;
	background-position: calc(100% - 25px) center;
}


/* 
 Team Grid
*/
.team .team-box__thumb img {
	mask-image: url(/wp-content/themes/e9digital/assets/images/mask-team.svg);
	mask-size: contain;
    mask-position: center center;
    mask-repeat: no-repeat;
	-webkit-mask-image: url(/wp-content/themes/e9digital/assets/images/mask-team.svg);
    -webkit-mask-size: contain;
    -webkit-mask-position: center center;
    -webkit-mask-repeat: no-repeat;
}
.team .team-box__content {
	padding: 50px 0 0 20px;
	margin: -60px 0 0 20px;
	border-left: 1px solid var(--c-1);
	text-align: left;
	z-index: 1;
	position: relative;
}
.team .team-box__content::before {
    top: -9px;
    left: -5px;
    width: 9px;
    height: 9px;
    border: 1px solid var(--c-1);
    border-radius: 10px;
    position: absolute;
    content: '';
    display: block;
}
.team .team-box__after {
	background: var(--c-1);
	padding-top: calc(100% - 30px);
	height: 0;
	text-align: left;
}
.team .team-box__after h2 {
	position: absolute;
	top: 30px;
	left: 30px;
	right: 20px;
	color: #fff;
	text-transform: uppercase;
}
.team .team-box__after .button {
	position: absolute;
	bottom: -10px;
	right: 0px;
}
.team .team-box__after .button::before,
.team .team-box__after .button::after,
.team .team-box__after .button__borders::before,
.team .team-box__after .button__borders::after {
	display: none;
}
.team .team-box__after::before,
.team .team-box__after::after {
	background: var(--c-1);
	height: 30px;
	width: 50%;
	content: '';
	transform: skew(45deg);
	position: absolute;
    left: 15px;
    top: 100%;
    pointer-events: none;
}
.team .team-box__after::before {
	left: auto;
	right: 0;
	transform: none;
}
.team .team-box__before img {
	width: 30%;
}
@media screen and (max-width: 767px) {
	.team h1 {
		max-width: 60%;
	}
	.team .team-box__before img {
		position: absolute;
		top: -70px;
		right: 0;
	}
}
@media screen and (min-width: 768px) {
	.team .team-box__before img {
		width: 50%;
		margin: -40px 0 -20px auto;
	}
}
@media screen and (min-width: 1025px) {
	.team .team-box__before {
		grid-column: span 2 / 3;
		text-align: left;
	}
	.team .team-box__before img {
		margin: -130px 0 -40px auto;
	}
}


/* 
 Boxed heading
*/
.heading--boxed {
	position: relative;
	overflow: hidden;
}
.heading--boxed .heading-text {
	background: var(--c-5);
	padding: 2rem 2rem 0 2rem;
	font-weight: 300;
}
.heading--boxed::after {
    content: '';
    display: block;
    background: var(--c-5);
}
.heading--boxed::after {
	height: 25px;
	width: calc(100% + 15px);
	transform: skew(45deg);
	position: relative;
	bottom: 0px;
	left: 10px;
	transform: skew(45deg);
}
.heading--boxed span {
	display: block;
	font-weight: 400;
	font-size: 13px;
	letter-spacing: 0;
}
.heading--boxed-alt {
	display: flex;
	flex-direction: column-reverse;
}
.heading--boxed-alt .heading-text {
	background: var(--c-1);
	padding: 2rem 2rem 2rem 2rem;
	font-weight: 400;
}
.heading--boxed-alt::after {
	background: var(--c-1);
	left: -10px;
}
@media screen and (min-width: 768px) {
	.heading--boxed .heading-text {
		padding: 2rem 4rem 0 4rem;
	}
	.heading--boxed-alt .heading-text {
		padding: 2rem 4rem 2rem 2rem;
	}
	.heading--boxed {
		max-width: 350px;
	}
	.heading--boxed::after {
		height: 45px;
		left: 15px;
	}
	.heading--boxed-alt::after {
		left: -22px;
	}
	.heading--boxed span {
		font-size: 16px;
	}
}


/* 
 Twitter feed
*/
#ctf .ctf-item {
	padding: 0;
}
.ctf-owl-prev,
.ctf-owl-next {
	background: url(../images/icon-slider-arrow.svg) center/contain no-repeat !important;
	padding: 0;
    height: 48px;
    width: 48px;
    margin: 5px;
}
.ctf-owl-prev svg,
.ctf-owl-nex svg {
	opacity: 0 !important;
}
.ctf-owl-prev {
	left: 0;
}
.ctf-owl-next {
	left: 56px;
	transform: rotate(180deg);
}


/* 
 Offset content
*/
.content--offset {
	border-left: 1px solid var(--c-5);
	padding-left: 20px;
}
@media screen and (min-width: 768px) {
	.content--offset {
		max-width: 420px;
		padding-left: 40px;
	}
}


/* 
 Borders 
*/
.thin-border--top::before,
.thin-border--bottom::after {
	content: '';
	position: absolute;
	left: 20px;
	right: 20px;
	height: 1px;
	background: var(--c-1);
}
@media screen and (min-width: 768px) {
	.thin-border--top::before,
	.thin-border--bottom::after {
		left: 30px;
		right: 30px;
	}
}
.thin-border--top::before {
	top: 0px;
}
.thin-border--bottom::after {
	bottom: 0px;
}
.thin-border--top--offset::before {
	top: -10px;
}
.thick-border--bottom .wrapper::after {
	height: 10px;
	bottom: -5px;
	width: calc(100% + 40px);
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	background: var(--c-2);
	content: '';
}


@media (max-width: 1023px) {
	.nav--horizontal .sub-menu {
    	background: var(--c-1) !important;
	}
}