/*
Theme Name: Relation V2
Theme URI: https://relationinsurance.com
Author: Dewdrop Media
Author URI: https://dewdropmedia.com
Description: Core template for Relation V2
Version: 2.0
License: Do not transfer.
*/
.clearfix:after {
	content: " ";
	display: table;
	height: 0;
	clear: both;
	visibility: hidden;
}

body {font-size:20px; line-height:1.7; padding-top:0 !important; overflow-x: hidden;}

/*-----------------------------------*/
/*             TYPOGRAPHY            */
/*-----------------------------------*/

#menu-new-primary-menu, .link-arrow a {font-size:100%;}
.menu {font-size:140%;}
footer .menu {font-size:100%;}

h2 {font-size: 3rem;}
.b3-simple-content p,
.b3-simple-content li {font-size:1.4rem;}
.b3-simple-content a {color:#333;}
.h4, h4 {line-height: 1.7rem;}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.35;
}
div[role=module] ul.simple li:before {color:#333 !important;}
div[role=module] ul.simple li {padding:0 !important;}
div[role=module] ul.simple li a {text-decoration:none;}

@media (max-width:1400px) {
	h2 {font-size: 2rem;}
	.b3-simple-content p {font-size:1.3rem;}
	.h4, h4 {line-height: 1.5rem;}
}

.link-arrow a:after, .link-arrow a:before {line-height:1; top:50%; transform:translateY(-50%);}
.filter:after, .filter:before {top: -10px;}

.filter .filter-wrapper select {
	appearance: none;
    -moz-appearance: none;
-webkit-appearance: none;
}

div[role=module] .links-list li:last-child {margin-bottom:0;}

/*-----------------------------------*/
/*              HEADER               */
/*-----------------------------------*/

#header-top-bar .top-menu li:last-child {margin-right:0; padding-right:0;}

#mobile-nav {height:100vh; background-color:#333; overflow-y: scroll;}
#mobile-nav ul li.menu-item.menu-item-has-children {position:relative;}
#mobile-nav ul li.menu-item.menu-item-has-children>a:after {display:none;}
#mobile-nav ul li.menu-item.menu-item-has-children div.open-sub {
    /*bottom: 0;*/
    color: #fcb315;
    /*content: "";*/
    display: block;
		background:url('public/img/mobile-menu.png') center no-repeat;
		background-size:60% auto;
		height:50px;
		width:50px;
		content:"";
    /*font-family: "Font Awesome 5 Pro",sans-serif;*/
    /*font-weight: 400;*/
    margin: auto;
    position: absolute;
    right: 1rem;
    top:0;
    /*transform: translateY(-50%);*/
}
/*#mobile-nav .menu-new-primary-menu-container {background-color: #333;}

#mobile-nav {right: -340px;}
#mobile-nav.show {right: -20px;}
body.home #mobile-nav {right: -320px;}
body.home #mobile-nav.show {right: 0px;}*/

/*-----------------------------------*/
/*              slider               */
/*-----------------------------------*/

.content-slider {width:90%; margin:0 auto; max-width:1200px;}
.content-slider .big-outer {display:none;}
.content-slider .big-outer.active {display:block;}
.content-slider .container {display:flex; justify-content:center; align-items:center;}
.content-slider .inner {padding:0 30px;}
.content-slider .col-left {width:30%;}
.content-slider .col-left img {width:100%;}
.content-slider .col-right {width:60%;}
.content-slider .col-right p.big-quote {font-style:italic; font-size:1.7vw;}

/*-----------------------------------*/
/*                HOME               */
/*-----------------------------------*/

.b3-carousel-head {font-size:3vw;}
.b3-carousel-link {font-size:1.5vw;}

@media (max-height:1050px) {
  /*.carousel-item img {margin-top:-6rem;}*/
}

@media (max-width:1000px) {
	.b3-carousel-head {font-size:35px !important; margin-bottom:5px;}
	.b3-carousel-link {font-size:20px;}
	.carousel-item:after {background-color:rgba(0,0,0,0.4); position:absolute; top:0; left:0; width:100%; height:100%; content:""; display:block;}

	header #navigation li:after {display:none;}
}

#cta-slideshow-wrapper .carousel {ax-height: 75vh;}

@media (max-width:800px) {
	#cta-slideshow-wrapper {padding-bottom:60px;}
	#cta-slideshow-wrapper #navigation {position:relative; padding-bottom:10px;}
}

/*-----------------------------------*/
/*              SECTIONS             */
/*-----------------------------------*/

#home-bottom h2 {margin-bottom:30px;}
#home-bottom .image {width:45%;}
#home-bottom .content-side {width:50%;}
#home-bottom > .py-5, #home-bottom {padding:0 !important;}

.industries-graphic {padding:50px 0;}

@media (max-height:1050px) {
  #page-banner.fixed {position:relative; }
}

div[role=module] .downloads-list .link-arrow.download a:after, div[role=module] .downloads-list .link-arrow.download a:before {top:50%;}
div[role=module] ul li {padding-top:0;}

.py-7 {
    padding-top: 4rem!important;
    padding-bottom: 4rem!important;
}

.search form.main-search button:after, .search form.main-search button:before {top:4px;}
.search-result {margin-top:40px; padding-bottom:30px; border-bottom:solid thin #333;}
.search-result:last-child {border-bottom:none;}
.search-result h3 a {text-decoration:none; color:#f47721}

@media (max-width:800px) {
	main > div[role=module]:first-of-type,
	main > .b3-simple-content {padding-top:0 !important; margin-top:0 !important;}
	main > div[role=module]:first-of-type .container {padding-top:0 !important; margin-top:0 !important;}
	body.home main > div[role=module]:first-of-type {padding-top:50px !important; margin-top:0 !important;}
}

/*-----------------------------------*/
/*              MODULES              */
/*-----------------------------------*/

.b3-simple-content {background-size:contain; background-repeat:no-repeat; padding:5rem 0 5rem; margin:75px 0 150px;}
.b3-simple-content.left {background-position:center left;}
.b3-simple-content.right {background-position:center right;}
.b3-simple-content.small {padding:4rem 0 3rem;}
.b3-simple-content.regular {padding:6rem 0 5rem;}
.b3-simple-content.tall {padding:8rem 0 7rem;}
.b3-simple-content.taller {padding:10rem 0 9rem;}
.b3-simple-content section {width:90%; margin:0 auto; max-width:1300px;}
.b3-simple-content .simple-content-container {display:flex; padding:0; align-items:center; justify-content: flex-end;}
.b3-simple-content.right .simple-content-container {justify-content: flex-start;}
.b3-simple-content .simple-content-container .inner {width:65%; max-width:700px;}

@media (max-width:1480px) {
	.b3-simple-content.small {padding:2rem 0 1rem;}
	.b3-simple-content.regular {padding:4rem 0 3rem;}
	.b3-simple-content.tall {padding:6rem 0 5rem;}
	.b3-simple-content.taller {padding:8rem 0 7rem;}
}

@media (max-width:1280px) {
	.b3-simple-content .simple-content-container .inner {width:50%;}

	.b3-simple-content.small {padding:1rem 0 0.5rem;}
	.b3-simple-content.regular {padding:2rem 0 1rem;}
	.b3-simple-content.tall {padding:4rem 0 3rem;}
	.b3-simple-content.taller {padding:6rem 0 5rem;}
}

@media (max-width:1100px) {
	.b3-simple-content {background-size:55% auto;}
}

@media (max-width:980px) {
	.b3-simple-content {background:none !important;}
	.b3-simple-content .simple-content-container {justify-content:center !important;}
	.b3-simple-content .simple-content-container .inner {width:100%;}
}

.b3-module {}
.b3-module .b3-row.align-items-center .b3-row-content {padding-top:0 !important; }
.edge-wrapper {max-width: 44vw;}

@media (max-width:991px) {
  .content-row-with-edge-image {display:none;}
	body.news .content-row-with-edge-image {display:block;}
	body.news .content-row-with-edge-image #sidebar {display:none;}

	#home-bottom .d-flex {display:block !important;}
	#home-bottom .content-side, #home-bottom .image {width:100%;}
	#home-bottom .content-side {margin-bottom:50px;}
}

#curated-posts .curated-post-featured-image a {max-width: 150px;}
#curated-posts .curated-post-featured-image img {width: 263px;}

#news-container .post-thumbnail {clip-path:none;}

.b3-new-post {padding:0 !important; margin:20px 0; border-right:solid thin #ddd;}
.b3-new-post:nth-child(3n) {border-right:none;}
.b3-new-post .inner {padding:20px; margin:15px; }


.background-image-module .content-layer {padding-right: 10vw; padding-left: 2vw;}

.b3-col-left {float:left;}
div[role=module] .downloads-list li {margin-right:20px; padding-left:2.5rem;}
div[role=module] .links-list li {padding-right:2.5rem;}
div[role=module] .downloads-list .link-arrow.download a:after, div[role=module] .downloads-list .link-arrow.download a:before {margin-left:-2.5rem;}
div[role=module] .links-list li a:before, div[role=module] .links-list li a:after {margin-right:-2.5rem;}

.b3-row-content p {font-size:120%;}
@media (max-width:768px) {
	.b3-col-left {float:none;}
	.b3-row-content p {font-size:100%;}
	.pe-5 {padding-right: 1rem!important;}
}

/*-----------------------------------*/
/*               FOOTER              */
/*-----------------------------------*/

footer {font-size:18px; line-height:1.5;}
footer .brand {max-width:350px;}
footer .phone-numbers {font-size:1.5rem; line-height:1.4;}
footer .social-media li {margin: 0 .4rem;}
footer .input-group.search span {padding: .2rem 1.5rem;}
footer #copyright-legal {font-size: 1rem;}

footer .menu li {
    margin: .4rem 0 .3rem 1.7rem;
}

@media (max-width:768px) {
	#nav-footer {display:none;}
}

/*-----------------------------------*/
/*            CONTACT MAP            */
/*-----------------------------------*/

.spin {
	-webkit-animation-name: spin;
    -webkit-animation-duration: 4000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: spin;
    -moz-animation-duration: 4000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: spin;
    -ms-animation-duration: 4000ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
    animation-name: spin;
    animation-duration: 4000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes spin {
    from {
		-ms-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
		transform:rotate(0deg);
	}
    to {
		-ms-transform: rotate(360deg);
		-moz-transform: rotate(360deg);
		-webkit-transform: rotate(360deg);
		transform:rotate(360deg);
	}
}

#map-wrap {height:800px; width:100%; margin:0 !important; padding:0 !important; position:relative; background-color:#EEEEEE;}
#map-mask {background-color:#EEEEEE; position:absolute; top:0; left:0; width:100%; height:100%; z-index:10000000; text-align:center; display:table;}
.mask-inner {display:table-cell; vertical-align:middle;}
#map-mask .spinner {width:100px; height:100px; background: url('public/img/loading.png') center no-repeat; margin:0 auto;}
#mapbox {width:calc(100% - 300px); height:800px; position: relative; float:left;}

#map-wrap #keys {position:relative; float:right; width:300px; overflow-y: scroll; height:calc(100% - 50px);}
#map-wrap .group-title {background: #00AEEF; color:#fff; padding:10px 15px; cursor:pointer; line-height:1.3; border-bottom:solid thin #fff;}
#map-wrap .group {display:none;}
#map-wrap .group.active {display:block;}
#map-wrap .key {text-align:left; padding:10px 15px; cursor: pointer; border-bottom:solid thin #000; line-height:1.3;}
#map-wrap .key:last-child {border-bottom:none;}
#map-wrap .key-content {display:none;}
#map-wrap .reset,
#map-wrap .overall-reset {text-align: center; cursor:pointer; margin-top:20px; text-transform:uppercase; font-size:14px; position:absolute; bottom:10px; right:15px;}
#map-wrap .overall-reset {text-align:left; bottom:0; margin:0; right:0; padding:10px 25px 10px; width:300px; color:#fff; background-color:#f47721}

#product-keys {position:relative;}
#product-keys-top {padding:15px 25px;}
#product-keys .legend {text-align:left; padding-bottom:10px;}
#product-keys .legend div {padding:5px 25px; display:inline-block; position:relative; cursor:pointer;}
#product-keys .legend div:before {
	content:"";
	display:block;
	height:31px;
	width:20px;
	top:0;
	left:0;
	background:url(images/marker.png) center no-repeat;
	position:absolute;
}
#product-keys .legend div.rep-icon:before {background-image:url('images/rep-marker.png')}
#product-keys h3 {margin-top:15px; font-size:18px; line-height:1.3;}
#product-keys ul {margin:0 25px; padding:0; /*box-shadow: inset 0 0 15px rgba(0,0,0,0.25);*/}
#product-keys li {padding:15px 0; font-size:16px; border-bottom:solid thin #ccc; cursor:pointer; list-style:none; }
div[role=module] #product-keys ul li:before {display:none;}
#product-keys li:last-child {border-bottom:none;}

#map-wrap .mapboxgl-ctrl-bottom-left, #map-wrap .mapboxgl-ctrl-bottom-right {display:none;}
.map-marker {cursor:pointer;}
.mapboxgl-popup-content {padding: 0 !important;width: 180px;}
.mapboxgl-popup-content-wrapper {padding: 1%;}
.mapboxgl-popup-content h3 {
	background: #00AEEF;
	color: #fff !important;
	margin: 0;
	display: block;
	padding: 10px !important;
	border-radius: 3px 3px 0 0;
	font-weight: 700;
	margin-top: -15px;
}
.mapboxgl-popup-content h4 {margin: 0; display: block; padding: 10px !important; font-weight: 400;}
.mapboxgl-popup-content div {padding: 10px;}
.mapboxgl-container .leaflet-marker-icon {cursor: pointer;}
.mapboxgl-popup-anchor-top > .mapboxgl-popup-content {margin-top: 15px;}
.mapboxgl-popup-anchor-top > .mapboxgl-popup-tip {border-bottom-color: #91c949;}
.mapboxgl-marker.purple {background-image: url("/wp-content/themes/johnzink/images/purple-marker.png?asdf") !important; }
#map-detail.active {
    padding: 0rem;
    background-color: rgba(197, 192, 159, 0.87);
    position: absolute;
    background: #fff;
    height: 100%;
    opacity: 1;
    -webkit-box-shadow: 0px 1px 46px rgba(0, 0, 0, .5);
    box-shadow: 0px 1px 46px rgba(0, 0, 0, .5);
    visibility: visible;
}
#map-detail {
	position: absolute;
    padding: 0rem;
	z-index: 900;
    background-color: rgba(197, 192, 159, 0.87);
    opacity: 0;
    width: 26%;
    max-height: 420px;
    height: auto;
    bottom: 0px;
    top: 50%;
    left: 115px;
    transform: translateY(-153px);
    margin: 0;
    box-shadow: 0 10px 45px rgba(0,0,0,0.45);
    transition: opacity 1s ease 0s,height 1s ease 0s,box-shadow .5s ease 0s;
    visibility: hidden;
}
#map-detail.zolo-rep {max-height:250px; width:20%; top: 60%;}
#map-detail.right {left:auto; right:415px;}
@media (max-width:1400px) {
	#map-detail {left: 50px; width: 29%;}
	#map-detail.right {left:auto; right:375px;}
}
#map-detail .company_title {
    background: #f47721;
    padding: .5rem 1rem;
    color: #fff;
    font-size: 19px;
	line-height:1.3;
}
#map-detail .company_title.home {
	background:#f47721;
}
#map-detail .company_title.rep {background:#76B236;}
#map-detail .inset {padding: .5rem 1rem; height: 339px; overflow: auto;}
#map-detail .inset p {line-height:1.4; font-size:15px; margin-bottom:15px;}
#map-detail.zolo-rep .inset p {margin-bottom:5px; font-size:17px;}
#map-detail .inset h3 {margin-bottom:5px; font-size:18px; color: #00AEEF; line-height:1.5;}
#map-detail .inset h3.rep {color: #76B236;}
.marker {cursor:pointer;}
.marker .key-data {display:none;}
#map-markers {z-index:999;}
#map-zoom {position:absolute; top:20px; left:20px; z-index:1000000; height:77px; width:50px;}
#map-zoom div {background-color:#F79C32; opacity:0.5; font-size:30px; padding:4px 11px 12px 11px; color:#fff; cursor:pointer; position:absolute; top:0; left:0;}
#map-zoom div.out {bottom:0; top:auto; font-size:35px; padding:5px 13px 12px 13px;}
#map-zoom div:hover {/*background-color:#333;*/ opacity:1;}

.map-search {margin:15px 0 5px; padding:5px; display:block; border:none; font-size:16px; width:calc(100% - 10px);
	background-image: url(images/search-icon.png);
    background-image: url(images/search-icon.svg);
    background-size: 14px;
    background-position: right 10px center;
    background-repeat: no-repeat;
}
.search-error {margin-bottom:5px; color:red; display:none;}

#company-keys,
#select-keys {display:none; overflow:hidden; padding-top:20px;}
#company-back,
#select-back {color:#F79C32; padding:10px; cursor:pointer;}
.the-companies {padding:30px 0 10px;}
.the-companies p {padding:5px 10px; color:#F79C32; font-size:18px; text-transform: uppercase;}
.the-companies ul {margin:0 10px; /*box-shadow: inset 0 0 15px rgba(0,0,0,0.25);*/ border-top:1px solid #ccc; margin-bottom:25px;}
#map-wrap .the-companies li {
	float: left;
    width: 50%;
    padding:15px 10px;
    list-style-type: none;
    border-right: 1px solid #ccc;
	border-bottom:1px solid #ccc;
    overflow: hidden;
	cursor:pointer;
}
#map-wrap .the-companies li:before {display:none;}
.the-companies li:nth-child(odd) {padding-left:0;}
.the-companies li:nth-child(even) {border-right:none;}
.the-companies li:nth-last-child(-n+2) {border-none:none;}
.the-companies li p {font-size:12px; padding:0; margin-bottom:8px; margin-top:0; line-height:1.3; color:#333; text-transform: none;}
.the-companies li p.name {font-size:14px; overflow: hidden; height:52px;}
.the-companies li p span {font-size:10px;}

#map-sorting {padding:10px 0; background:#f47721;}
#map-sorting p {line-height:1.5;}
#map-sorting select {width:24%;}
#map-sorting select:nth-child(2) {margin:0 1%;}
#map-sorting select:nth-child(3) {margin:0 1% 0 0;}
#map-sorting h2 {color:#fff; font-size:22px; margin-bottom:25px; line-height:1.4;}
#map-sorting h2 a {color:#fff; text-decoration:none; font-weight:bold;}

@media (max-width:850px) {
    #map-sorting h2 {font-size:18px;}
    #map-sorting {padding-bottom:10px;}
    #map-sorting select {margin:0 0 20px !important; width:100%;}
    #map-sorting select:nth-child(2) {
        margin: auto;
    }
    #map-wrap {height:auto;}
    #mapbox, #map-wrap #keys {width:100%; float:none;}
    #mapbox, #map-mask {height:500px}
    #map-wrap #keys {padding-bottom:40px; overflow-y: auto;}

    #the-companies ul {border-left: 1px solid #ccc;}
    #the-companies li {width:calc(33% - 21px)}
    #the-companies li:nth-child(even) {border-right: 1px solid #ccc;}
    #the-companies li:nth-child(odd) {padding-left:10px;}

    #map-detail {width:90%; top:20px; left:20px; transform: translateY(0); z-index: 1000001;}
    #map-detail .company_title {font-size:18px;}
    #map-detail .inset p {font-size:16px;}
}

@media (max-width:500px) {
	#mapbox, #map-mask {height:400px}
}
@media (max-width:401px) {
	#the-companies li {width:calc(50% - 21px)}
}

/*
#the-content ul#sitemap {padding-top:30px;}
#the-content ul#sitemap a {text-decoration:none;}
#the-content ul#sitemap ul {padding:0;}
#the-content ul#sitemap li {background-position:10px 12px;}
#the-content ul#sitemap > li {background-image:none; margin-bottom:20px; float:left; width:33%; padding:0;}
#the-content ul#sitemap > li > a {text-transform: uppercase; color:#F99D1C; font-weight:bold;}
#the-content ul#sitemap > li > ul > li > a:hover {color:#0193CF;}
#the-content ul#sitemap > li > ul > li > ul > li > a {color:#838383;}
#the-content ul#sitemap > li > ul > li > ul > li > ul > li > a {color:#8CC63F;}
#the-content ul#sitemap > li > ul > li > ul > li > ul > li > ul > li > a {color:#7D3599;}
*/

.sb-image {width:100%;}

.course-schedule {width:100% !important;}
#the-content .course-schedule th {color:#fff; vertical-align:middle;}

/* ------------------------------------------------------------
	Sitemap
------------------------------------------------------------ */

/* -------- Top Level --------- */

#sitemapNav {
	clear: both;
	width: 100%;
}
/*@media (min-width: 475px) {
	#sitemapNav {
	margin-top: 6em;
}
}*/
#sitemapNav #home {
	position: absolute;
	margin-top: -3em;
	margin-bottom: 0;
	min-width: 11.5em;
	width: 100%;
}
#sitemapNav #home:before {
	display: none;
}
#sitemapNav ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none !important;
	position: relative;
}
#sitemapNav li {list-style: none !important;}
#sitemapNav ul ul li {
	flex: 1;
	flex-basis: 11.5em;
	padding-right: 1.25em;
	position: relative;
}
#sitemapNav > ul > li {
	margin-top: 3em;
}
#sitemapNav li a {
	margin: 0;
	padding: .875em .9375em .9375em .9375em;
	display: block;
	font-size: .9375em;
	font-weight: bold;
	color: white;
	/*background: rgba(0,88,142,1);;*/
  background: #474747;
	text-shadow: 0 0 10px rgba(0,0,0,.1);
	border: 1px solid  rgba(0,0,0,.025);
	box-shadow: 0px 2px 1px rgba(0,0,0,0.15);
	text-decoration: none;
}
#sitemapNav li a:hover {
	background-color: white;
	color:#333;
}
#sitemapNav a:link:after,
#sitemapNav a:visited:after,
.utilityNav a:link:after,
.utilityNav a:visited:after {
	content: " "attr(href)" ";
	display: block;
	font-weight: 600;
	font-size: .75em;
	margin-top: .5em;
	word-wrap: break-word;
	color: #333;
}
#sitemapNav > ul > li > a:link:after,
#sitemapNav > ul > li > a:visited:after {
  color:#fff;
}
#sitemapNav > ul > li:hover > a:link::after,
#sitemapNav > ul > li:hover > a:visited:after {
	color:#333;
}

/* -------- Second Level --------- */

#sitemapNav ul ul {
	display: block;
}
#sitemapNav ul ul li {
	padding-top: .6875em;
	padding-right: 0;
}
#sitemapNav ul ul li a {
	background-color: #f47721;
  color:#000;
}
#sitemapNav ul ul li a:hover {
	background-color: #f47721;
}
#sitemapNav ul ul li:first-child {
	padding-top: 2em;
}

/* -------- Third Level --------- */

#sitemapNav ul ul ul {
	margin-top: .6em;
	padding-top: .6em;
	padding-bottom: .625em;
}
#sitemapNav ul ul ul li {
	padding-top: .3125em;
	padding-bottom: .3125em;
}
#sitemapNav ul ul ul li a {
	background-color: #e24811;
	font-size: .75em;
	padding: .75em;
	width: 90%;
	margin-right: 0;
	margin-left: auto;
}
#sitemapNav ul ul ul li a:hover {
	background-color: #a32e38db;
}
#sitemapNav ul ul ul li:first-child {
	padding-top: 1em;
}
#sitemapNav ul ul ul li a:link:after,
#sitemapNav ul ul ul li a:visited:after {
	font-size: .75em;
}

/* --------	Fourth Level --------- */

#sitemapNav ul ul ul ul {
	margin-top: 0;
	padding-top: .3125em;
	padding-bottom: .3125em;
}
#sitemapNav ul ul ul ul li a {
	background-color: #7c3999;
	padding: .75em;
	width: 80%;
}
#sitemapNav ul ul ul ul li a:hover {
	background-color: #7c3999db;
}
#sitemapNav ul ul ul ul li a:link:after,
#sitemapNav ul ul ul ul li a:visited:after {
	display: none;
}

/* ------------------------------------------------------------
	Connecting Lines:
	Uncomment 'border-color: red' for debugging
------------------------------------------------------------ */

#sitemapNav ul:before,
#sitemapNav ul:after,
#sitemapNav ul li:before,
#sitemapNav ul li:after {
	display: block;
	content: '';
	position: absolute;
	border-width: 0;
	border-color: #e3e3e3;
	border-style: solid;
	z-index: -1;
	/* border-color: red; */
}
#sitemapNav > ul > li:before {
	/*height: 1.375em;
	top: -1.375em;;
	right: calc(50% + .625em);
	width: calc(100% - 2px);
	border-top-width: 2px;
	border-right-width: 2px;
	 border-color: red; */
}
#sitemapNav > ul > li:first-child + li:before {
	border-top-width: 0;
	height: 5em;
	top: -5em;
	/* border-color: red; */
}
#sitemapNav ul ul li:after {
	width: 50%;
	height: .6875em;
	top: 0;
	right: 1px;
	border-left-width: 2px;
	/* border-color: red */;
}
#sitemapNav ul ul li:first-child:before {
	width: 50%;
	height: 1.3125em;
	top: .6875em;
	right: 1px;
	border-left-width: 2px;
	/* border-color: red; */
}
#sitemapNav > ul > li:last-child:after {
	border-bottom-width: 0;
}
#sitemapNav ul ul ul li:before {
	width: calc(50% - 5px) !important;
	height: calc(100% - 2px);
	top: -50%;
	left: 0;
	border-left-width: 2px;
	border-bottom-width: 2px;
	/* border-color: red; */
}
#sitemapNav ul ul ul li:first-child:before {
	height: 2.125em;
	top: -1px;
	border-top-width: 2px;
	/* border-color: red; */
}
#sitemapNav ul ul ul:before {
	width: 50%;
	height: 1.25em;
	top: -10px;
	right: 1px;
	border-left-width: 2px;
	/* border-color: red; */
}
#sitemapNav ul ul ul li:after {
	border-width: 0;
}
#sitemapNav ul ul ul ul li:before,
#sitemapNav ul ul ul ul li:first-child:before {
	display: none;
}

#sitemapNav ul ul ul ul:before {
	width: 1px;
	height: calc(100% + 2.5em);
	top: -2.5em;
	left: 0;
	border-left-width: 2px;
	/* border-color: red; */
}

/* ------------------------------------------------------------
	Utility Navigation
------------------------------------------------------------ */

.utilityNav {
	float: right;
	margin-top: 0;
	margin-bottom: -.25em;
	margin-right: 1.25em;
	max-width: 48%;
	list-style-type: none;
}
.utilityNav li {
	padding: 0 0 .625em .625em;
	display: inline-block;
}
.utilityNav li:first-child {
}
.utilityNav li a {
	display: block;
	font-size: .75em;
	font-weight: 700;
	padding: .75em 1em;
	font-weight: bold;
	text-align: left;
	color: white;
	background-color: #ff9d00;
	border: 1px solid  rgba(0,0,0,.025);
	box-shadow: 0px 2px 0 rgba(0,0,0,0.15);
	text-shadow: 0 0 10px rgba(0,0,0,.15);
	text-decoration: none;
}
.utilityNav li a:hover {
	background-color: #ff831b;
}
.utilityNav li a:link:after,
.utilityNav li a:visited:after {
	color: rgba(255,255,255,.75);
	font-size: .75em;
	font-weight: 600;
	margin-top: .25em;
}

/* ------------------------------------------------------------
	Responsive Styles
------------------------------------------------------------ */

@media screen and (max-width: 30em) {
	#sitemapNav ul {
		display: block;
	}
	#sitemapNav li {
		width: 100%;
		padding-right: 0;
	}
	#sitemapNav #home {
		width: 100%;
		position: relative;
		margin-bottom: -1em;
		margin-top: 0;
	}
	.utilityNav {
		float: none;
		display: block;
		width: 100%;
		text-align: right;
		margin-bottom: 2.5em;
		max-width: 100%;
	}
}

.link-arrow {display:inline-block; margin-right:20px;}

.link-arrow a:after,
.link-arrow a:before {
	font-family: 'Font Awesome 5 Free';
  font-weight: 900;
	color:#f47721;
}
.link-arrow a:after:hover,
.link-arrow a:before:hover {opacity:0.6;}


.search form.main-search button:after,
.search form.main-search button:before {
	-moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
	font-family: 'Font Awesome 5 Free';
  font-weight: 900;
	content: "\f061";
	top:12px;
}
.search form.main-search button:after,
.search form.main-search button:before {}

.accordion h2.accordion-header button.accordion-button:before,
.accordion h2.accordion-header button.accordion-button:after {
	-moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
	font-family: 'Font Awesome 5 Free';
  font-weight: 900;
	content: "\f063";
	top:12px;
}

.link-arrow.white-icons a:before {color:white;}

.filter:after {
	content: "\f107";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
}

/* ------------------------------------------------------------
	Home Page Changes
------------------------------------------------------------ */

body.home #page-banner {min-height:0; background:#333333;}
body.home #page-banner:before {display:none;}
body.home #secondary-nav-container {position: absolute; top: 75px; right: -20px;}
body.home #banner-overlay {display:none;}

#home-video-cta {width:100%; position: relative; background-color:lightgrey; overflow:hidden; z-index: 900;}
#home-video-cta video {
	width:100%;
	z-index:800;
	position:relative;
	display:block;
}
#home-video-cta .overlay {
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	height:100%;
	width:100%;
	z-index:900;
	background-color:rgba(0,0,0,0.5);
}

#home-video-cta .cta-content {
	position: absolute;
	top:0;
	left:0;
	width:100%;
	z-index: 901;
	margin-right: calc(1.5rem / 2);
  margin-left: calc(1.5rem / 2);
	padding-right: 0.5rem!important;
  padding-left: 0.5rem!important;
	margin-top:100px;
}
#home-video-cta h2 {color:white; line-height:1.35em; font-weight:bold; font-size:3.5rem; margin-bottom:50px;}
#home-video-cta h2 .sliding-text .sliding-border {height:9px; width:443px; background:url('/wp-content/uploads/Image-1.png') bottom right no-repeat; background-size:100% auto;}
#home-video-cta h2 span {color:#F47721; line-height:1.2em; animation: caret 1s steps(1) infinite; white-space: nowrap; display:inline-block; padding-bottom:5px; border-right:solid 2px #F47721;}
#home-video-cta h2 span.done {border-color:transparent !important;}

#home-video-cta ul {text-align:left; margin:0; padding:0;}
#home-video-cta ul li {list-style:none; display:inline-block; margin-right:20px; margin-bottom:20px;}
#home-video-cta ul li a {
	color:white;
	background-color:#E57521;
	padding:8px 0;
	text-align:center;
	width:200px;
	display:inline-block;
	border-radius:15px;
	border:solid thin #E57521;
	transition:all 0.5s;
}
#home-video-cta ul li a:hover {background-color:#fcb315; border-color:#fcb315;}

#home-video-cta #page-banner-tagline {
	z-index: 901;
    margin-top: 0;
    right: 50%;
    margin-right: -656px;
}

@keyframes caret {
  50% {
    border-color: transparent;
  }
}

@media (max-width:1400px) {
	#home-video-cta #page-banner-tagline {margin-right:0; right:75px; margin:0; position:absolute;}
}

@media (max-width:990px) {
	#home-video-cta .cta-content {margin-top:40px;}
	#home-video-cta #page-banner-tagline { max-width:197px; right:20px;}
	#home-video-cta h2 {font-size:2.5rem;}
	#home-video-cta ul li a {padding:5px; width:120px; font-size:14px;}
	#home-video-cta h2 .sliding-text .sliding-border {height:9px; width:280px;}
}

@media (max-width:700px) {
	#home-video-cta .cta-content {margin-top:100px;}
	#home-video-cta video {width: 150%; margin-left: -25%;}
	#home-video-cta h2 {font-size:5vw;}
	#home-video-cta h2 .sliding-text .sliding-border {height:9px; width:50vw;}
}

@media (max-width:520px) {
	#home-video-cta h2 {font-size:7vw; margin-bottom:20px;}
}


.member .member-image:after, .member .member-image:before {
	font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content:"\f055";
}


#page-banner {z-index:901;}

@media (max-width:768px) {
	body.page-id-22 main .row {
		display:block;
	}
}

#sidebar .edge-wrapper {
    box-shadow: 10px 10px 0px 0px rgba(252,179,21,.75);
    -webkit-box-shadow: 10px 10px 0px 0px rgba(252,179,21,.75);
    -moz-box-shadow: 10px 10px 0px 0px rgba(252,179,21,.75);
    left: 0;
    margin-bottom: 15vw;
    overflow: hidden;
    position: relative;
    right: initial;
    -moz-transform: translate(-50%, 25%) scale(1.5);
    -webkit-transform: translate(-50%, 25%) scale(1.5);
    -o-transform: translate(-50%, 25%) scale(1.5);
    -ms-transform: translate(-50%, 25%) scale(1.5);
    transform: translate(-50%, 25%) scale(1.5);
}
#sidebar .edge-wrapper img {
    transform: none;
}
.content-post-thumbnail {
	display:none;
}
.content-post-thumbnail img {
	width:100%;
}
@media (max-width:1850px) {
	#sidebar .edge-wrapper {
		width:27vw;
		transform: translate(-9vw, 25%) scale(1.2);
    	margin-bottom: 170px;
	}
}
@media (max-width:1550px) {
	#sidebar .edge-wrapper {
		transform: translate(-72px, 0) scale(1.2);
	}
}
@media (max-width:1275px) {
	#sidebar .edge-wrapper {
		display:none;
	}
	.content-post-thumbnail {
		display:block;
	}
}
#news-container .post-thumbnail {
	max-height: none;
	min-height: none;
}
body.news #post-header h3 {
	margin-top:0;
}
body.news #post-header h2 {
	margin:0;
}

body .mfp-iframe-scaler iframe {
	background-color: white;

}
body .mfp-iframe-holder .mfp-content {
	max-width:700px;
	height:100vw;
	max-height:835px;
}

.filter.filter-button:before,
.filter:before {
	content:"" !important;
}

body.page-id-12657 #page-banner-header {
	line-height:1.1em;
}

body.page-id-12657 main > div:first-child {
	margin-top:0 !important;
}

body.page-id-12657 main > div:first-child > .py-5 {
	padding-top:0 !important;
}

.industries-graphic.mobile {
	display:none;
}

@media (max-width:768px) {
	.industries-graphic.mobile {
		display:block;
	}
	.industries-graphic.desktop {
		display:none;
	}
}