/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi
Description: Divi child theme via FreshySites
Author: FreshySites
Author URI: https://freshysites.com/
Template:  Divi
Version: 1.2.0
*/
/* Add your own styles at the bottom */

/* -- COLORS -- */

/* greenish */
.primary, 
.primary h1, .primary h2, .primary  h3, .primary h4, .primary h5, .primary h6, .primary li, .primary a,
h1.primary, h2.primary, h3.primary, h4.primary, h5.primary, h6.primary, li.primary, a.primary, p.primary,
.checklist ul li::before {
	color: #9ab9ae;
}

/* yellowish */
.secondary, 
.secondary h1, .secondary h2, .secondary h3, .secondary h4, .secondary h5, .secondary h6, .secondary li, .secondary a,
h1.secondary, h2.secondary, h3.secondary, h4.secondary, h5.secondary, h6.secondary, li.secondary, a.secondary, p.secondary,
.checklist-secondary ul li::before {
	color: #c6c6a4;
}

/* blueish */
.tertiary, 
.tertiary h1, .tertiary h2, .tertiary h3, .tertiary h4, .tertiary h5, .tertiary h6, .tertiary li, .tertiary a,
h1.tertiary, h2.tertiary, h3.tertiary, h4.tertiary, h5.tertiary, h6.tertiary, li.tertiary, a.tertiary, p.tertiary,
.checklist-tertiary ul li::before {
	color: #6d87a8;
}

/* blueish */
.quaternary, 
.quaternary h1, .quaternary h2, .quaternary h3, .quaternary h4, .quaternary h5, .quaternary h6, .quaternary li, .quaternary a,
h1.quaternary, h2.quaternary, h3.quaternary, h4.quaternary, h5.quaternary, h6.quaternary, li.quaternary, a.quaternary, p.quaternary,
.checklist-quaternary ul li::before {
	color: #8c829a;
}

.white, 
.white h1, .white h2, .white h3, .white h4, .white h5, .white h6, .white li, .white a,
h1.white, h2.white, h3.white, h4.white, h5.white, h6.white, li.white, a.white, p.white,
.checklist-white ul li::before {
	color: #fff;
}

.black, 
.black h1, .black h2, .black h3, .black h4, .black h5, .black h6, .black li, .black a,
h1.black, h2.black, h3.black, h4.black, h5.black, h6.black, li.black, a.black, p.black {
	color: #000;
}

/* background colors */
.bg-white, a.bg-white {background-color: #fff;}
.bg-black, a.bg-black {background-color: #000;}
.bg-primary, a.bg-primary {background-color: #9ab9ae;}
.bg-secondary, a.bg-secondary {background-color: #7c868d;}
.bg-tertiary, a.bg-tertiary {background-color: #c6c6a4;}

/* -- END COLORS -- */


/* -- TYPOGRAPHY -- */

body.et_divi_theme h1, 
body.et_divi_theme h2, 
body.et_divi_theme h3, 
body.et_divi_theme h4, 
body.et_divi_theme h5, 
body.et_divi_theme h6,  
body.et_divi_theme .et_pb_slide_description .et_pb_slide_title,
body.et_divi_theme .entry-title,
body.et_divi_theme .gform_wrapper .gform_footer input.button, 
body.et_divi_theme .gform_wrapper .gform_page_footer input.button, 
body.et_divi_theme div.form_saved_message div.form_saved_message_emailform form input[type=submit] {
	font-weight: 800;
}

.text-lowercase, 
.text-lowercase h1, .text-lowercase h2, .text-lowercase h3, .text-lowercase h4, .text-lowercase h5, .text-lowercase h6, .text-lowercase li, .text-lowercase a {
	text-transform: lowercase !important;
}

.text-uppercase, 
.text-uppercase h1, .text-uppercase h2, .text-uppercase h3, .text-uppercase h4, .text-uppercase h5, .text-uppercase h6, .text-uppercase li, .text-uppercase a {
	text-transform: uppercase !important;
}

.text-capitalize, 
.text-capitalize h1, .text-capitalize h2, .text-capitalize h3, .text-capitalize h4, .text-capitalize h5, .text-capitalize h6, .text-capitalize li, .text-capitalize a {
	text-transform: capitalize !important;
}

.text-transform-none, 
.text-transform-none h1, .text-transform-none h2, .text-transform-none h3, .text-transform-none h4, .text-transform-none h5, .text-transform-none h6, .text-transform-none li, .text-transform-none a {
	text-transform: none !important;
}

.font-weight-black, 
.font-weight-black h1, .font-weight-black h2, .font-weight-black h3, .font-weight-black h4, .font-weight-black h5, .font-weight-black h6, .font-weight-black li, .font-weight-black a {
	font-weight: 800;
}

.font-weight-bold, 
.font-weight-bold h1, .font-weight-bold h2, .font-weight-bold h3, .font-weight-bold h4, .font-weight-bold h5, .font-weight-bold h6, .font-weight-bold li, .font-weight-bold a {
	font-weight: 700;
}

.font-weight-normal, 
.font-weight-normal h1, .font-weight-normal h2, .font-weight-normal h3, .font-weight-normal h4, .font-weight-normal h5, .font-weight-normal h6, .font-weight-normal li, .font-weight-normal a {
	font-weight: 400;
}

.font-italic {font-style: italic;}

.text-underline-none, .text-underline-none a {text-decoration: none !important;}

.text-underline, .text-underline a {text-decoration: underline !important;}

.text-nowrap, .text-nowrap a {white-space: nowrap !important;}

.text-wrap-normal, .text-wrap-normal a {white-space: normal !important;}

/* -- END TYPOGRAPHY -- */


/* -- TEMPLATE -- */



/* -- END TEMPLATE -- */


/* -- HEADER -- */

header#main-header:not(.et-fixed-header) {
	-webkit-box-shadow:none !important;
	-moz-box-shadow:none !important;
	box-shadow:none !important;
}

/* make the fullwidth header have same side padding as some fullwidth block sections */
@media (min-width: 981px) {
	body.et_fullwidth_nav #main-header .container {
		width: 100%;
		max-width: 100%;
		padding-right: 3% !important;
		padding-left: 3% !important;
	}
	body.et_fullwidth_nav.et_header_style_left #main-header .container .logo_container {
		width: 94%;
		padding-left: 0;
	}
}

/* helps logo to not be pixelated when scaled down */
#logo {
	-webkit-transform: none !important;
	transform: none !important;
}

body.et_divi_theme #top-menu > li > a {
	font-weight: 800;
}

@media (min-width: 981px) and (max-width: 1475px) {
	body.et_divi_theme #top-menu > li:not(:last-child) {
		padding-right: 18px
	}
	body.et_divi_theme #top-menu > li a {
		font-size: 14px;
	}
}
@media (min-width: 981px) and (max-width: 1249px) {
	body.et_divi_theme #top-menu > li:not(:last-child) {
		padding-right: 7px
	}
	body.et_divi_theme #top-menu > li a {
		font-size: 12px;
	}
	body.et_divi_theme #top-menu > li.menu-item-home {
		display: none;
	}
	body #et-top-navigation {
		padding-left: 0 !important;
	}
}

/* when mobile menu is open, change hamburger icon to x icon */
#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
	content: '\4d';
}

/* makes sub sub menu icon be right arrow instead of down arrow */
#top-menu .menu-item-has-children .menu-item-has-children > a:first-child::after, 
#et-secondary-nav .menu-item-has-children .menu-item-has-children > a:first-child::after {
	content: '5';	
}

/* if parent link of child menu is a deadlink, then make it not clickable */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a[href="#0"] { 
	pointer-events: none;
}

/* - mobile menu toggling elements, injected via jQuery - */

/* make menu list item be relative, to be able to position toggle within this item */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children {
	position: relative;	
}
/* the new toggle element, which is added via jQuery */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
	position: absolute;
	background-color: rgba(0,0,0,0.03);
	z-index: 1;
	width: 36px;
	height: 36px;
	line-height: 36px;
	border-radius: 50%;
	top: 4px;
	right: 4px;
	cursor: pointer;
	text-align: center;
}
/* the new toggle element when popped */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped {
	background-color: rgba(0,0,0,0.1);
}
/* toggle icon */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before {
	font-family: "ETmodules" !important;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 36px;
	font-size: 24px;
	text-transform: none;
	speak: none;
	content: '\33';
}
/* toggle icon when triggered */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before {
	content: '\32';
}
/* hide sub menus by default */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
	display: none !important;
	padding-left: 0;
}
/* show sub menu when triggered via jQuery toggle, and add slight bg color */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
	display: block !important;
	background-color: rgba(0,0,0,0.03);
}
/* remove sub menu list item left padding, since padding will be on anchors */
#main-header #mobile_menu.et_mobile_menu li li {
	padding-left: 0;
}

/* adjust mobile menu anchors side paddings */
#main-header #mobile_menu.et_mobile_menu li a {
	padding-left: 20px;
	padding-right: 20px;
}
/* indent sub menu */
#main-header #mobile_menu.et_mobile_menu li li a {
	padding-left: 40px;
	padding-right: 20px;
}
/* indent sub sub menus further */
#main-header #mobile_menu.et_mobile_menu li li li a {
	padding-left: 60px;
	padding-right: 20px;
}
/* if mobile menu anchor has toggle, make room for it to fit next to the link */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children .sub-menu-toggle + a {
	padding-right: 44px;
}

/* - end mobile menu toggling elements - */

/* undo Divi's default styling of mobile menu links that have children */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a {
	background-color: transparent;
	font-weight: inherit;
}

/* make the current page's mobile menu link be different */
#main-header #mobile_menu.et_mobile_menu li.current-menu-item > a {
	font-weight: bolder;
}

/* -- END HEADER -- */


/* -- FOOTER -- */
#footer-widgets {
	line-height: 1.5em;
}
#footer-widgets a {
	transition: all 0.2s ease;
}
#footer-widgets a:hover {
	opacity: 0.75;
}

/* center image */
#footer-widgets .footer-widget:nth-child(2) {
	text-align: center;
}
#footer-widgets .footer-widget:nth-child(2) .widget_media_image {
	float: none;
	margin-bottom: 10px !important;
}

/* tagline below image */
#footer-widgets .footer-widget:nth-child(2) #text-2 {
	color: #9ab9ae;
	text-align: center;
	text-transform: uppercase;
	font-weight: 800;
	letter-spacing: 1px;
	margin: 0 auto;
	float: none;
	font-size: 1.125em;
	margin-bottom: 0.5em !important;
}

/* footer Contacts */
#footer-widgets ul.footer-contact > li {
	position: relative;
	padding-left: 26px;
}
#footer-widgets ul.footer-contact > li::before {
    font-family: 'FontAwesome';
    content: '';
    width: 20px;
    margin: 0;
    display: inline-block;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
	border: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    color: #9ab9ae;
    /* set font size helps make icon sharper */
    font-size: 20px;
	font-weight: normal;
}
#footer-widgets ul.footer-contact > li.footer-contact-address::before {
    content: '\f041';
}
#footer-widgets ul.footer-contact > li.footer-contact-phone::before {
    content: '\f095';
}
#footer-widgets ul.footer-contact > li.footer-contact-email::before {
    content: '\f0e0';
}

/* Quick Links in footer */
#footer-widgets .footer-widget .widget_nav_menu li {
    position: relative;
    padding-left: 0;
	padding-right: 26px;
	text-align: right;
}
#footer-widgets .footer-widget .widget_nav_menu li::before {
	display: none;
}
#footer-widgets .footer-widget .widget_nav_menu li::after {
    font-family: 'FontAwesome';
    content: '\f101';
    width: 20px;
    margin: 0;
    display: inline-block;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
	border: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    color: #9ab9ae;
    /* set font size helps make icon sharper */
    font-size: 20px;
	font-weight: normal;
}
#footer-widgets .footer-widget .widget_nav_menu li a {
	font-weight: 800;
	text-transform: uppercase;
}
#footer-widgets .footer-widget:last-child .et_pb_widget {
	float: right;
}

@media (min-width: 768px) {
	#footer-widgets {
		display: -webkit-flex;
		display: flex;
		-webkit-align-items: flex-end;
		align-items: flex-end;
	}
}

@media (min-width: 981px) {
	.et_fullwidth_nav #main-footer > .container,
	.et_fullwidth_nav #footer-bottom > .container {
		width: 100%;
		max-width: 100%;
		padding-right: 3% !important;
		padding-left: 3% !important;
	}
	#footer-widgets {
		padding-top: 60px;
	}
	.et_pb_gutters3 .footer-widget {
		margin-bottom: 60px;
	}
}
/* adjust stuff to hide the logo image */
@media (min-width: 768px) and (max-width: 980px) {
	#footer-widgets .footer-widget {
		margin-bottom: 0 !important;
	}
	#footer-widgets .footer-widget:nth-child(2) {
		display: none;
	}
	#footer-widgets .footer-widget:last-child {
		margin-right: 0 !important;
	}
}

@media (min-width: 1199px) {
	#footer-widgets .footer-widget .widget_nav_menu {
		text-align: right;
	}
	#footer-widgets .footer-widget .widget_nav_menu li {
		display: inline-block;
		width: 48%;
		max-width: 180px;
	}

}

@media (max-width: 767px) {
	#footer-widgets {
		display: -webkit-flex;
		display: flex;
		-webkit-flex-direction: column;
		flex-direction: column;
	}
	#footer-widgets .footer-widget:nth-child(2) {
		order: -1;
	}
	#main-footer #footer-widgets .footer-widget:first-child .widget_custom_html,
	#main-footer #footer-widgets .footer-widget:last-child .widget_nav_menu {
		float: none;
	}
	#main-footer #footer-widgets .footer-widget:first-child .widget_custom_html > div,
	#main-footer #footer-widgets .footer-widget:last-child .widget_nav_menu > div {
		display: table;
		margin: 0 auto;
	}
	#main-footer #footer-widgets .footer-widget:nth-child(2) .widget_media_image img {
		width: 100%;
		max-width: 190px !important;
		margin: 0 auto;
	}
	#main-footer #footer-widgets .footer-widget .widget_nav_menu ul {
		text-align: center;
	}
	#main-footer #footer-widgets .footer-widget .widget_nav_menu li {
		text-align: center;
		display: inline-block;
		padding: 8px 10px;
		font-size: 0.8em;
	}
	#main-footer #footer-widgets .footer-widget .widget_nav_menu li::after {
		display: none;
	}
}


#freshy_copyright span {
	display: inline-block;
	line-height: 1.5em;
}

/* vertical pipe divider */
#freshy_copyright span.copyright_via {
	width: 33.33333%;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 100%;
	background: rgba(255,255,255,0.25);
	vertical-align: middle;
	margin: 10px auto 15px;
	display: block;
}

#freshy_copyright a.copyright_fs {
	display: block;
	vertical-align: middle;
	width: 45px;
	height: 20px;
	background-image: url("/wp-content/uploads/freshysites-logo-white.svg");
	background-repeat: no-repeat;
	background-size: 45px 20px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	margin: 0 auto;
}

/* fix if using Impreza to remove underline */
#freshy_copyright a:hover {
	border: 0 !important;
}

@media (max-width: 1199px) {
	#footer-widgets .footer-widget:nth-child(2) #text-2 {
		font-size: 1em;
	}
}

@media (min-width: 600px) {
	/* vertical pipe divider */
	#freshy_copyright span.copyright_via {
		width: 1px;
		height: 20px;
		margin: 0 10px;
		display: inline-block;
	}
	#freshy_copyright a.copyright_fs {
		display: inline-block;
	}
}

@media (max-width: 980px) {
	#footer-bottom .et-social-icons li:first-child {
		margin-left: 0;
	}
}

/* -- END FOOTER -- */


/* -- RESPONSIVE -- */

/* do for mobile */
@media screen and (max-width: 767px) {
	/* hide on mobile */
	.hide-mobile {
		display: none;
	}
}

/* do for desktop */
@media screen and (min-width: 768px) {
	/* hide on desktop */
	.hide-desktop {
		display: none;
	}
}

/* -- END RESPONSIVE -- */


/* -- CHECKLIST -- */

.checklist ul {
    margin: 0;
	padding: 0 !important;
    list-style: none;
}

.checklist ul li {
    position: relative;
    padding-left: 30px;
    margin: 0 0 1em !important;
	line-height: 1.7em;
}

.checklist-columns-2 ul li,
.checklist-columns-3 ul li,
.checklist-columns-4 ul li {
	margin-bottom: 30px !important;
}

.checklist ul li h6:first-child {
	line-height: 1.7em;
	text-transform: none;
	padding-bottom: 0;
}

@media (max-width: 479px) {
	.checklist-columns-2 ul li,
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		margin-bottom: 20px !important;
	}
	.checklist-columns-2 ul li:last-child,
	.checklist-columns-3 ul li:last-child,
	.checklist-columns-4 ul li:last-child {
		margin-bottom: 0 !important;
	}
}

/* create columns of list items with this class */
@media (min-width: 480px) {
	.checklist-columns-2 ul::after,
	.checklist-columns-3 ul::after,
	.checklist-columns-4 ul::after {
		content: '';
		clear: both;
		display: table;
	}
	.checklist-columns-2 ul li,
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		float: left;
		width: 50%;
      	padding-right: 30px;
	}
	.checklist-columns-2 ul li:nth-child(odd),
	.checklist-columns-3 ul li:nth-child(odd),
	.checklist-columns-4 ul li:nth-child(odd){
		clear: both;	
	}
	.checklist-columns-2-alt > ul,
	.checklist-columns-3-alt > ul,
	.checklist-columns-4-alt > ul {
		-moz-column-count: 2;
		-moz-column-gap: 8px;
		-webkit-column-count: 2;
		-webkit-column-gap: 8px;
		column-count: 2;
		column-gap: 20px;
	}
	.checklist-columns-2-alt ul li,
	.checklist-columns-3-alt ul li,
	.checklist-columns-4-alt ul li {
		break-inside: avoid-column;
	}
}
@media (min-width: 768px) {
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		float: left;
		width: 33.333333%;
	}
	.checklist-columns-3 ul li:nth-child(odd),
	.checklist-columns-4 ul li:nth-child(odd) {
		clear: none;	
	}
	.checklist-columns-3 ul li:nth-child(3n+1),
	.checklist-columns-4 ul li:nth-child(3n+1) {
		clear: both;	
	}
	.checklist-columns-3-alt ul,
	.checklist-columns-4-alt ul {
		-moz-column-count: 3;
		-webkit-column-count: 3;
		column-count: 3;
	}
}
@media (min-width: 1199px) {
	.checklist-columns-4 ul li {
		float: left;
		width: 25%;
	}
	.checklist-columns-4 ul li:nth-child(odd) {
		clear: none;	
	}
	.checklist-columns-4 ul li:nth-child(3n+1) {
		clear: none;	
	}
	.checklist-columns-4 ul li:nth-child(4n+1) {
		clear: both;	
	}
	.checklist-columns-4-alt ul {
		-moz-column-count: 4;
		-webkit-column-count: 4;
		column-count: 4;
	}
}

.checklist ul li::before {
    font-family: 'FontAwesome';
    content: '\f058';
    width: 20px;
    margin: 0;
    display: inline-block;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    /* set font size helps make icon sharper */
    font-size: 22px;
	font-weight: normal;
}

.pluslist ul li::before {
    content: '\f055';
}
.eventlist ul li::before {
    content: '\f274';
}
.locationlist ul li::before {
    content: '\f041';
}
.externallist ul li::before {
	content: '\f14c';	
}
.pdflist ul li::before {
    content: '\f1c1';
	color: red;
}
.userlist ul li::before {
	content: '\f2c0';
}

@media (min-width: 981px) and (max-width: 1499px) {
	.checklist-experience {
		font-size: 0.9vw;
	}
}
@media (max-width: 980px) {
	.checklist-experience {
		font-size: 13px;
	}
}

/* -- END CHECKLIST -- */


/* -- DIVI HACKS -- */

/* make parallax image be centered at the start */
.et_parallax_bg {
	background-position: center center;	
}

/* Divi was turning off bottom padding on last paragraphs, when it should be only if it's the last child */
p:last-of-type {
	padding-bottom: 1em;
}
p:last-child {
	padding-bottom: 0;
}

/* if there are more than one paragraphin the Fullwidth Header module, they should have padding */
.et_pb_fullwidth_header p:not(:last-child) {
	padding-bottom: 1em;
}

/* adjust the title and gap in Counter */
body .et_pb_number_counter.et_pb_with_title .percent {
    margin-bottom: 1em;
	height: auto;
}
body .et_pb_number_counter.et_pb_with_title .percent + .title {
	padding-bottom: 0;
}
body .et_pb_blurb_content {
	max-width: 100%;
}
/* make blurb gap less */
.et_pb_blurb_position_top .et_pb_main_blurb_image {
    margin-bottom: 1.5em;
}
/* let blurb title break words */
.et_pb_blurb_content .et_pb_module_header {
	word-break: break-word;
}

/* -- END DIVI HACKS -- */


/* -- TESTIMONIALS PLUGIN -- */

/* flip quote so it's an opening quote icon for grid and slider versions */
.b3_archive_testimonials_grid article .b3_quote.grid_quote::before,
.et_pb_module.et_pb_testimonial_slider .et_pb_slides_testi::before {
	-moz-transform: scale(-1,-1);
	-o-transform: scale(-1,-1);
	-webkit-transform: scale(-1,-1);
	transform: scale(-1,-1);
}

/* -- END TESTIMONIALS PLUGIN -- */


/* -- GRAVITY FORMS -- */

/* remove gform top and bottom margins */
body .gform_wrapper {
	margin-top: 0;
	margin-bottom: 0;
}

/* remove top margin on form of first two inputs if side by side */
@media only screen and (min-width: 641px) {
	body .gform_wrapper .gform_body > ul.top_label > li.gfield.gf_left_half:first-child, 
	body .gform_wrapper .gform_body > ul.top_label > li.gfield.gf_left_half:first-child + li.gfield.gf_right_half {
		margin-top: 0;
	}
}

/* remove excess padding above submit button */
body .gform_wrapper .gform_footer {
    padding: 0;
	margin: 0;
}

/* remove excess margin top on errored input labels */
@media only screen and (min-width: 641px) {
	body .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container, 
	body .gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label {
		margin-top: 0;
	}
}

/* main input lablels */
body .gform_wrapper .top_label .gfield_label {
	font-weight: 800;
	text-transform: uppercase;
}

/* adjust weight of required asterisk, field error, and overall error */
body .gform_wrapper .top_label .gfield_label .gfield_required,
body .gform_wrapper .validation_message,
body .gform_wrapper div.validation_error {
    font-weight: 400;
}

/* partially due to Surbma's restyling of the form, 
there now apepars to be excess margin above fields at certain screen sizes,
when two or more inputs have errors side by side (hence the + in the CSS),
so let's remove that top gap */
@media only screen and (max-width: 761px), (max-device-width: 1023px) and (min-device-width: 768px) {
	.gform_wrapper form .gform_body ul.gform_fields li.gfield.gfield_error+li.gfield.gfield_error {
		margin-top: 0;
	}
}

/* we swap out form ajax spinner via PHP Function, and add spinning if its PNG */
img.gform_ajax_spinner[src$=".png"] {
	-webkit-animation: lime-spin 1.5s linear infinite;
	-moz-animation: lime-spin 1.5s linear infinite;
	animation: lime-spin 1.5s linear infinite;
	padding: 0;
	margin-left: 10px;
}
@-moz-keyframes lime-spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes lime-spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes lime-spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

/* fix for when Date Picker is used */
#ui-datepicker-div:empty {
	margin-top: 0;	
}

/* style gravity form that has this class, and should have Text Color of Light in the module settings */
body .dark-gform .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), 
body .dark-gform .gform_wrapper textarea.textarea, 
body .dark-gform div.form_saved_message div.form_saved_message_emailform form input[type=text] {
    background-color: rgba(2, 2, 2, 0.2);
    color: #fff;
    box-shadow: 0 2px 0 0 white;
	transition: all 0.2s ease;
}
body .dark-gform .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):hover, 
body .dark-gform .gform_wrapper textarea.textarea:hover, 
body .dark-gform div.form_saved_message div.form_saved_message_emailform form input[type=text]:hover {
    background-color: rgba(2, 2, 2, 0.333);
    box-shadow: 0 2px 0 0 #d9d9da;
}
body .dark-gform .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus, 
body .dark-gform .gform_wrapper textarea.textarea:focus, 
body .dark-gform div.form_saved_message div.form_saved_message_emailform form input[type=text]:focus {
    background-color: rgba(2, 2, 2, 0.333);
    box-shadow: 0 2px 0 0 #d9d9da;
}

body .dark-gform .gform_wrapper .gfield_required {
    color: #ff7d7d;
}

body .dark-gform .gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), 
body .dark-gform .gform_wrapper li.gfield_error textarea {
    border: 0;
    box-shadow: 0 2px 0 0 #ff7d7d;
}
body .dark-gform .gform_wrapper .validation_message {
    color: #ff7d7d;
}

body .dark-gform .gform_wrapper div.validation_error {
    color: #ff7d7d;
    border-top: 2px solid #ff7d7d;
    border-bottom: 2px solid #ff7d7d;
}

body .dark-gform .gform_wrapper .gform_footer input.button, 
body .dark-gform .gform_wrapper .gform_page_footer input.button, 
body .dark-gform div.form_saved_message div.form_saved_message_emailform form input[type=submit] {
    background-color: rgba(2, 2, 2, 0);
    color: #ffffff;
    border-width: 2px;
    border-color: #ffffff;
}

body .dark-gform .gform_wrapper .gform_footer input.button:hover, 
body .dark-gform .gform_wrapper .gform_page_footer input.button:hover, 
body .dark-gform div.form_saved_message div.form_saved_message_emailform form input[type=submit]:hover {
    background-color: rgba(2, 2, 2, 0.333);
    color: #ffffff;
    border-color: #d9d9da;
}

/* -- END GRAVITY FORMS -- */


/* -- HELPERS -- */

/* use the "fullwidth-section" class on a SECTION to make a "standard" SECTION truly be fullwidth 
(NOTE: the ROW module settings needs to be set to fullwidth, and the SECTION needs THIS class) */
.fullwidth-section.et_pb_section {
	padding: 0;
}
.fullwidth-section.et_pb_section > .et_pb_row.et_pb_row_fullwidth {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0;
}

/* use the "fullwidth-row" class on a SECTION to make a "full width" ROW truly be fullwidth 
(NOTE: the ROW module settings needs to be set to fullwidth, with no gutters, and the SECTION needs THIS class,
and unlike the class above, THIS class will auto-add padding to the columns) */
.fullwidth-row.et_pb_section {
	padding: 0;	
}
.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}
/* helps add padding to each column */
.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth > .et_pb_column {
	padding: 50px 10%;
}
@media (min-width: 981px) {
	.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth > .et_pb_column {
		padding: 80px 3%;
	}
}
/* for some reason Divi removes bottom margin from modules if in column with no gutters, 
so we need to add margins back */
.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth.et_pb_gutters1 > .et_pb_column .et_pb_module:not(:last-child) {
	margin-bottom: 30px;
}
@media (min-width: 981px) {
	.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth.et_pb_gutters1 > .et_pb_column_2_3 .et_pb_module:not(:last-child) {
		margin-bottom: 4.242%;
	}
	.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth.et_pb_gutters1 > .et_pb_column_1_3 .et_pb_module:not(:last-child) {
		margin-bottom: 9.27%;
	}	
}
/* reduce gap between toggles if in fullwidth row */
.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth.et_pb_gutters1 > .et_pb_column .et_pb_module.et_pb_toggle:not(:last-child),
.et_pb_section .et_pb_row > .et_pb_column .et_pb_module.et_pb_toggle:not(:last-child) {
	margin-bottom: 5px;
}
.et_pb_section .et_pb_toggle_title::before {
    font-family: 'FontAwesome' !important;
    content: '\f055';
    font-size: 20px;
}

/* 

/* -- END HELPERS -- */


/* -- HOME -- */

#video-wrapper {
	width:100%;
	overflow: hidden;
	background-image: url(/wp-content/uploads/video-frame-define.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	text-align: center;
}

#video-wrapper video {
	object-fit: cover;
	width: 100%;
	height: 100%;
	display: block;
}
#video-wrapper video::-webkit-media-controls {
	display:none !important;
}

#video-wrapper > a {
	color: white;
	position: absolute;
	z-index: 2;
	bottom: 20px;
	text-align: center;
	text-shadow: 0 1px 5px rgba(0,0,0,0.4);
	opacity: 0.75;
	font-size: 32px;
	line-height: 1em;
	left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
	transition: all 0.2s ease;
}
#video-wrapper > a:hover {
	opacity: 1;
}
#video-wrapper a::before {
    font-family: 'FontAwesome';
    content: '\f078';
    font-size: inherit;
	font-weight: normal;
}

#video-wrapper > a > div {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

#video-wrapper > div#mute-video {
	color: white;
	position: absolute;
	z-index: 2;
	bottom: 20px;
	right: 20px;
	text-align: center;
	text-shadow: 0 1px 5px rgba(0,0,0,0.4);
	opacity: 0.75;
	font-size: 32px;
	line-height: 1em;
	cursor: pointer;
	transition: all 0.2s ease;
}
#video-wrapper > div#mute-video:hover {
	opacity: 1;
}
#video-wrapper div#mute-video::before {
    font-family: 'FontAwesome';
    content: '\f026';
    font-size: inherit;
	font-weight: normal;
}
#video-wrapper div#mute-video.unmuted-video::before {
	content: '\f028';
}

#video-wrapper > div#mute-video > span {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

@media (max-width: 980px) {
	#video-wrapper > a {
		display: none;
	}
	#video-wrapper > div#mute-video {
		font-size: 16px;
		right: 10px;
		bottom: 10px;
	}
}

/* if 981px or wider, then make the video fill the viewport height */
@media (min-width: 981px) {
	#video-wrapper {
		width:100%;
		height:100vh;
		height: calc(100vh - 79px);
	}
}

/* -- END HOME -- */


/* -- BLEEDING ROW COLUMN -- */

/* when using Make This Row Fullwidth, and Use Custom Gutter Width of 2, and Equal Column Heights, and these custom classes, 
 * then force the column to go to the edge of the section, instead of having a white space.
 * We basically make the row a little wider, and increase the one column to be wider too, to go to that edge */
@media (min-width: 981px) {
	/* widen the row */
	.bleed-left.et_pb_row.et_pb_equal_columns.et_pb_gutters2.et_pb_row_fullwidth,
	.bleed-right.et_pb_row.et_pb_equal_columns.et_pb_gutters2.et_pb_row_fullwidth {
		width: 97% !important;
		max-width: 97% !important;
	}
	/* widen the bleeding column */
	.bleed-left.et_pb_row.et_pb_equal_columns.et_pb_gutters2.et_pb_row_fullwidth > .et_pb_column_2_3, 
	.bleed-right.et_pb_row.et_pb_equal_columns.et_pb_gutters2.et_pb_row_fullwidth > .et_pb_column_2_3 {
		width: 68.667%;
	}
	.bleed-left.et_pb_row.et_pb_equal_columns.et_pb_gutters2.et_pb_row_fullwidth {
		margin-right: 3%;
	}
	.bleed-right.et_pb_row.et_pb_equal_columns.et_pb_gutters2.et_pb_row_fullwidth {
		margin-left: 3%;
	}
}
/* then on mobile, when it stacks, force the row to be fullwidth, 
 * but limit the width of the non bleed column */
@media (max-width: 980px) {
	.bleed-left.et_pb_row.et_pb_equal_columns.et_pb_gutters2.et_pb_row_fullwidth,
	.bleed-right.et_pb_row.et_pb_equal_columns.et_pb_gutters2.et_pb_row_fullwidth {
		width: 100% !important;
	}
	.bleed-left.et_pb_row.et_pb_equal_columns.et_pb_gutters2.et_pb_row_fullwidth > .et_pb_column:not(.et_pb_column_2_3), 
	.bleed-right.et_pb_row.et_pb_equal_columns.et_pb_gutters2.et_pb_row_fullwidth > .et_pb_column:not(.et_pb_column_2_3) {
		width: 80% !important;
		margin-left: 10% !important;
		margin-right: 10% !important;
	}
}

/* -- END BLEEDING ROW COLUMN -- */


/* -- TITLEBAR -- */

/* if the titlebar only has a title and no meta below it, then ditch the bottom padding */
#titlebar .et_pb_text_inner h1:only-child,
.et_pb_post_title > .et_pb_title_container:only-child > .entry-title:only-child {
	padding: 0;
	margin: 0;
}

/* -- END TITLEBAR -- */


/* -- POSTS PAGE -- */

/* give the Blog homepage slight bg color 
 * so the titlebar border and footer border pops more */
body.blog #main-content,
body.single.single-post #main-content,
body.archive #main-content,
body.search #main-content,
body.error404 #main-content {
    background-color: rgba(154,185,174,0.1);
}

@media (min-width: 981px) {
	body.blog #main-content > .container, 
	body.single.single-post #main-content > .container,
	body.archive #main-content > .container,
	body.search #main-content > .container,
	body.error404 #main-content > .container {
		width: 100%;
		max-width: 100%;
		padding-right: 3% !important;
		padding-left: 3% !important;
	}
	/* tweak position of sidebar line */
	body.blog.et_right_sidebar #main-content > .container::before,
	body.single.single-post.et_right_sidebar #main-content > .container::before,
	body.archive.et_right_sidebar #main-content > .container::before,
	body.search.et_right_sidebar #main-content > .container::before,
	body.error404.et_right_sidebar #main-content > .container::before {
		left: 65% !important;
		right: 0 !important;
		background: rgba(154,185,174,0.2);
		width: auto;
		z-index: -999;
	}
}

@media (max-width: 980px) {
	/* create gap between post content and sidebar when stacked */
	body.blog #main-content > .container #left-area + #sidebar, 
	body.single.single-post > .container #left-area + #sidebar,
	body.archive > .container #left-area + #sidebar,
	body.search > .container #left-area + #sidebar,
	body.error404 > .container #left-area + #sidebar {
		margin-top: 60px;
	}
}

#left-area > article.et_pb_post {
	max-width: 1080px;
}

#left-area > article.et_pb_post:not(:last-of-type) {
	padding-bottom: 60px;
	margin-bottom: 60px;
	border-bottom: 5px solid rgba(154,185,174,1);
}

.entry-content .sharedaddy.sd-sharing-enabled {
	margin-top: 1em;
}

@media (max-width: 980px) {
	#left-area > article.et_pb_post {
		padding-bottom: 60px;
		margin-bottom: 60px;
		border-bottom: 5px solid rgba(154,185,174,1);
	}
}

/* create better gap between featured image and post content */
body:not(.single) #left-area > article.et_pb_post.has-post-thumbnail > a.entry-featured-image-url {
	margin-bottom: 30px;
}

/* tweak image to be correct line height */
body:not(.single) #left-area > article.et_pb_post.has-post-thumbnail > a.entry-featured-image-url img {
	display: block;
}

/* - DIVI LOOP (style each post article/block) - */

body.single.et_right_sidebar #main-content .container #left-area article.et_pb_post,
body.archive.et_right_sidebar #main-content .container #left-area article.et_pb_post,
body.search.et_right_sidebar #main-content .container #left-area article.et_pb_post {
}

/* any page that isn't a single page/post, and isn't the homepage (which is most/all archives, search, etc) */
body:not(.single):not(.home) #left-area {
	display: -webkit-flex !important;	/* this makes it a flex container */
	display: flex !important;			/* this makes it a flex container */
	-webkit-flex-flow: row wrap;		/* this will make each blog article block to line up HORIZONTALLY and wrap to the next line */
	flex-flow: row wrap;				/* this will make each blog article block to line up HORIZONTALLY and wrap to the next line */
	-webkit-justify-content: center; 	/* horizontally center */
	justify-content: center; 			/* horizontally center */
	-webkit-align-content: flex-start;	/* prevent from stretching heigts to fill parent */
	align-content: flex-start;			/* prevent from stretching heigts to fill parent */
}

body:not(.single):not(.home) #left-area article.et_pb_post {
	padding: 20px;
    border: 0;
    background-color: #fff;
    overflow: hidden;
	-webkit-box-shadow: 0 0 7px rgba(0,0,0,.1)!important;
    -moz-box-shadow: 0 0 7px rgba(0,0,0,.1)!important;
    box-shadow: 0 0 7px rgba(0,0,0,.1)!important;
    border-radius: 0;
	position: relative;
	-webkit-flex-basis: 48%;
    flex-basis: 48%;
	max-width: 560px;
    min-width: 200px;
	margin: 1% !important;
	-webkit-flex-grow: 1;
    flex-grow: 1;
	font-size: 13px;
    line-height: 1.5em;
	transition: all 0.2s ease;
}
body:not(.single):not(.home) #left-area article.et_pb_post:hover {
	-webkit-box-shadow: 0 5px 12px rgba(0,0,0,.1)!important;
    -moz-box-shadow: 0 5px 12px rgba(0,0,0,.1)!important;
    box-shadow: 0 5px 12px rgba(0,0,0,.1)!important;
}
/* fix for any other items in the flex wrapper that is NOT an article (e.g., prev/next nav) */
body:not(.single):not(.home) #left-area > *:not(article) {
	width: 100%;
	margin: 1%;
}

body:not(.single):not(.home) #left-area article.et_pb_post a img {
	display: block;
}
body:not(.single):not(.home) #left-area article.et_pb_post .entry-title {
	padding-bottom: 0;
	font-size: 1.5em;
	margin-bottom: 12px;
	line-height: 1;
}
body:not(.single):not(.home) #left-area article.et_pb_post .post-meta {
	padding: 0;
	margin-bottom: 12px;
}
body:not(.single):not(.home) #left-area article.et_pb_post a.entry-featured-image-url {
	display: block;
	margin: -20px -20px 20px -20px;
	overflow: hidden;
}
/* featured image in the loop */
body:not(.single):not(.home) #left-area article.et_pb_post a.entry-featured-image-url > img {
    width: auto;
    height: auto;
	margin: 0 auto;
}

/* for larger screens, make boxes be 3 wide */
@media (min-width: 1921px) {
	body:not(.single):not(.home) #left-area article.et_pb_post {
		-webkit-flex-basis: 31%;
    	flex-basis: 31%;
	}
}

/* adjust loop block title on smaller screens */
@media (max-width: 980px) {
	body:not(.single):not(.home) #left-area article.et_pb_post .entry-title {
		font-size: 1.25em
	}
	body:not(.single):not(.home) #left-area article.et_pb_post .post-meta {
    	font-size: 1em;
    	line-height: 1.5em;
	}
}

@media (max-width: 767px) {
	body:not(.single):not(.home) #left-area article.et_pb_post {
		font-size: 12px;
	}
}

/* -- SIDEBAR -- */

/* tweak color of sidebar line */
@media (min-width: 981px) {
	#main-content .container::before {
		width: 5px;
		background-color: rgba(154,185,174,1);
	}
}

#sidebar .widgettitle {
	position: relative;
	display: table;
	color: rgba(154,185,174,1);
}

/* sidebar links */
.et_pb_widget.widget_recent_entries ul,
.et_pb_widget.widget_categories ul,
ul.simple-contact {
    margin: 0;
	padding: 0 !important;
    list-style: none;
}

.et_pb_widget.widget_recent_entries ul li,
.et_pb_widget.widget_categories ul li,
ul.simple-contact li {
    position: relative;
    padding-left: 24px;
    margin: 0 0 12px !important;
	line-height: 1.5em;
}

.et_pb_widget.widget_recent_entries ul li::before,
.et_pb_widget.widget_categories ul li::before,
ul.simple-contact li::before {
    font-family: 'FontAwesome';
    width: 16px;
    margin: 0;
    display: inline-block;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    color: #9ab9ae;
    /* set font size helps make icon sharper */
    font-size: 16px;
	font-weight: normal;
}
.et_pb_widget.widget_recent_entries ul li::before {
    content: '\f105';
}
.et_pb_widget.widget_categories ul li::before {
	content: '\f105'
}
ul.simple-contact li.address::before {
    content: '\f041';
}
ul.simple-contact li.phone::before {
    content: '\f095';
}
ul.simple-contact li.email::before {
    content: '\f0e0';
}
ul.simple-contact li.contact::before {
    content: '\f040';
}

.et_pb_widget.widget_recent_entries ul li span.post-date {
	display: table;
	font-style: italic;
	font-size: 0.8em;
	opacity: 0.75;
}

#sidebar .et_pb_widget select {
	height: 40px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border-color: rgba(154,185,174,1);
}

/* search widget */
body .widget_search #searchsubmit {
	background-color: rgba(154,185,174,1);
    color: white;
}
body .widget_search input#s, 
body .widget_search input#searchsubmit {
	border-color: rgba(154,185,174,1);
}

/* JetPack subscribe widget */

/* hide from sidebar since we move with jQuery on the blog homepage */
body.blog #sidebar .jetpack_subscription_widget {
	display: none;
}
body.blog #left-area .jetpack_subscription_widget {
	background-color: rgba(154,185,174,0.2);
	padding: 20px;
}
body.blog #left-area .jetpack_subscription_widget #subscribe-email input,
body #sidebar .jetpack_subscription_widget #subscribe-email input {
    height: 40px!important;
    margin: 0;
    padding: .7em;
    border: 1px solid rgba(154,185,174,1);
    color: #666;
    font-size: 14px;
    line-height: normal!important;
    width: 100%;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

body .jetpack_subscription_widget .widgettitle + .error {
	padding-bottom: 8px;
	color: red;
}
body .jetpack_subscription_widget .widgettitle + .success {
	color: green;
}

body.blog #left-area .jetpack_subscription_widget #subscribe-text p,
body #sidebar .jetpack_subscription_widget #subscribe-text p {
	padding-bottom: 0.5em;
	line-height: 1.5em;
	font-size: 13px;
}
body.blog #left-area .jetpack_subscription_widget p#subscribe-email,
body #sidebar .jetpack_subscription_widget p#subscribe-email {
	padding-bottom: 8px;
}
body.blog #left-area .jetpack_subscription_widget #subscribe-submit input[type="submit"],
body #sidebar .jetpack_subscription_widget #subscribe-submit input[type="submit"] {
    background-color: #9ab9ae;
    color: rgba(255,255,255,0.99);
    border-width: 0px;
    border-color: #9ab9ae;
    border-radius: 0px;
    font-weight: bold;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
    font-size: 18px;
	margin: 0;
	line-height: 1.7em;
    padding: 6px 20px;
	cursor: pointer;
}
body.blog #left-area .jetpack_subscription_widget #subscribe-submit input[type="submit"]:hover,
body #sidebar .jetpack_subscription_widget #subscribe-submit input[type="submit"]:hover {
	background-color: rgba(154,185,174,0.85);
}
body.blog #left-area .jetpack_subscription_widget #subscribe-submit input[type="submit"] {
	font-size: 16px;
}

@media (min-width: 981px) {
body.blog #left-area .jetpack_subscription_widget form {
	display: table;
	width: 100%;
}
	body.blog #left-area .jetpack_subscription_widget form > #subscribe-text,
	body.blog #left-area .jetpack_subscription_widget form > #subscribe-email,
	body.blog #left-area .jetpack_subscription_widget form > #subscribe-submit {
		display: table-cell;
		vertical-align: middle;
		padding: 0;
	}
	body.blog #left-area .jetpack_subscription_widget #subscribe-text p {
		padding: 0;
		padding-right: 10px;
	}
	body.blog #left-area .jetpack_subscription_widget #subscribe-email input {
		border-radius: 3px 0 0 3px;
	}
	body.blog #left-area .jetpack_subscription_widget #subscribe-submit input[type="submit"] {
		padding-top: 0;
		padding-bottom: 0;
		line-height: 40px;
	}
}

/* -- END SIDEBAR -- */

/* -- INLINE BLURBS -- */

/* between this size, if the section has this class, then inline the blurbs to they go side by side */
@media (min-width: 768px) and (max-width: 980px) {
	.inline-blurbs .et_pb_module.et_pb_blurb {
		display: inline-block;
		width: 32%;
		margin-bottom: 0 !important;
		vertical-align: top;
	}
}

@media (min-width: 981px) and (max-width: 1405px) {
	.blurb-section .et_pb_blurb .et_pb_module_header {
		font-size: 2vw !important;
	}
}
@media (max-width: 479px) {
	.blurb-section .et_pb_blurb .et_pb_module_header {
		font-size: 6vw !important;
	}
}


/* -- TEAM MEMBERS -- */

#member-bio .et_pb_blurb .et_pb_image_wrap {
	text-align: center;
}
#member-bio .et_pb_blurb .et_pb_image_wrap .et-pb-icon {
	display: inline-block;
}
#member-bio .et_pb_module.et_pb_blurb:not(:last-of-type) {
	margin-bottom: 1em;
}

#team-grid .et_pb_module.et_pb_image img {
    width: 100%;
    max-width: 360px;
}

#team-grid .et_pb_module {
    margin-bottom: 20px;
}

body.ie #team-grid .et_pb_button {
	padding-right: 0.7em;
}
body.ie #team-grid .et_pb_button:after {
	display: none;
}

@media (min-width: 480px) and (max-width: 980px) {
	#team-grid .et_pb_text_inner h2 {
		font-size: 3vw !important;
	}
}
@media (min-width: 981px) and (max-width: 1699px) {
	#team-grid .et_pb_text_inner h2 {
		font-size: 2vw !important;
	}
}

a.popup-button { 
    background: #9ab9ae;
    padding: 10px 20px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

a.popup-button:hover {
	background-color: rgba(154,185,174,0.85);
}