@import url('vars.css');
@import url('headers.css');

/* Montserrat:
Light 300
Medium 500
Medium 500 Italic
Bold 700
ExtraBold 800
*/

body {
	font-family: "Montserrat",Helvetica,Arial,sans-serif;
	overflow-x: hidden;
}

body.hbmenu,
body.noscroll {
	height: 100vh;
	width: 100vw;
	overflow: hidden;
}

body {
	background: #fff;
	padding: 0;
}

body, input, textarea {
	color: #333;
}


/* header & navigation */

header#masthead {
	background: #000;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
}

header#masthead .content_wrapper,
header#masthead {
	height: 90px;
	z-index: 10;
	-webkit-transition: height .5s ease;
	   -moz-transition: height .5s ease;
		-ms-transition: height .5s ease;
		 -o-transition: height .5s ease;
			transition: height .5s ease;
}

body.scrolled header#masthead .content_wrapper,
body.scrolled header#masthead {
	height: 50px;
}

body.scrolled header#masthead {
	background: rgba(0,0,0,.8);
}

header#masthead .content_wrapper {
	display: flex;
	align-items: center;
	position: relative;
	width: calc(100% - 10px);
}

header#masthead .content_wrapper .site-branding {
	width: 425px;
	position: absolute;
	top: 0;
	left: 0;
}

header#masthead .content_wrapper .header_nav {
	width: calc(100% - 40px - 40px);
}

header#masthead .content_wrapper #nav_search {
	width: 40px;
	height: 70px;
	position: relative;
}

.header_search_form input.search-submit,
header#masthead .content_wrapper #nav_search .search_icon {
	display: inline-block;
	text-indent: -300em;
	overflow: hidden;
	height: 40px;
	width: 40px;
	background: url('../img/icon-search.png') center center no-repeat;
	background-size: 20px 20px;
	margin: 15px auto 0 auto;
}

header#masthead .content_wrapper #nav_search .header_search_form {
	background: transparent;
	overflow: hidden;
	position: absolute;
	top: 20px;
	right: 0;
	width: 0px;
	-webkit-transition: all .5s ease;
	   -moz-transition: all .5s ease;
		-ms-transition: all .5s ease;
		 -o-transition: all .5s ease;
			transition: all .5s ease;
}

body.header_search header#masthead .content_wrapper #nav_search .header_search_form {
	width: 250px;
}

header#masthead .content_wrapper #nav_search .header_search_form form {
	display: flex;
	margin: 0;
}

header#masthead .content_wrapper #nav_search .header_search_form .close_search {
	margin: 0;
	background: #000;
	
}

header#masthead .content_wrapper #nav_search .header_search_form .close_search {
	padding: 5px;
}

header#masthead .content_wrapper #nav_search .header_search_form .close_search img {
	height: 20px;
	width: auto;
	cursor: pointer;
}

header#masthead .content_wrapper #nav_search input.search-field {
	width: calc(100% - 40px);
	display: inline;
}

header#masthead .content_wrapper #nav_search input.search-field,
header#masthead .content_wrapper #nav_search .header_search_form input.search-submit {
	height: 30px;
}

header#masthead .content_wrapper #nav_search .header_search_form input.search-submit {
	margin: 0;
	border: none;
	background-color: var(--purple);
	min-width: 0;
}

header#masthead .content_wrapper #mobile_nav {
	width: 40px;
	height: 70px;
}

header#masthead .site-branding .site-title {
	position: relative;
}

header#masthead .site-branding .site-title a {
	position: absolute;
	top: 0;
	left: 0;
	background: url('../img/logo-balletri2-wht.png') left top no-repeat;
	background-size: 235px 70px;
	width: 235px;
	height: 70px;
	text-indent: -300em;
	overflow: hidden;
	display: block;
	margin-top: 10px;
	-webkit-transition: all .5s ease;
	   -moz-transition: all .5s ease;
		-ms-transition: all .5s ease;
		 -o-transition: all .5s ease;
			transition: all .5s ease;
}


body.scrolled header#masthead .site-branding .site-title a {
	background-size: 118px 35px;
	width: 118px;
	height: 35px;
}

#site-branding .site-description {
	display: block;
}

#site-navigation {
}

#primary-menu li {
}

#primary-menu.menu li a {
	padding: 0 15px;
}

#primary-menu.menu li .sub-menu li a {
}

#main {
	padding-bottom: 40px;
}

#mobile_nav {
	position: absolute;
	top: 0;
	right: 0;
}

#hamburger-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: auto;
	max-height: 100vh;
	background: rgba(0,0,0,.7);
	z-index: 999;
	display: flex;
	align-items: top;
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	-webkit-transition: all .5s ease;
	   -moz-transition: all .5s ease;
		-ms-transition: all .5s ease;
		 -o-transition: all .5s ease;
			transition: all .5s ease;
	opacity: 0;
	pointer-events: none;
}

#hamburger-menu .content_wrapper {
	position: relative;
	width: 100%;
	max-width: calc(100% - 10px);
}

#hamburger-menu .menu_wrapper {
	position: relative;
	display: flex;
	align-items: flex-start;
	max-width: 1140px;
	margin: 0 auto;
}

.hamburger-menu-items li a {
	margin: 0;
	padding: 10px 0;
	display: block;
	font-size: 24px !important; 
}

#mobile_menu_links a,
.hamburger-menu-items li a,
#primary-menu.menu li a {
	color: #fff;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}


#hamburger-menu ul.menu li {
	display: block;
}

#hbmenu_logo {
	padding: 10px 0;
}

#hbmenu_logo img {
	width: 400px;
	height: 119px;
}

#hamburger-menu .menu_wrapper {
	padding: 50px 0;
}

#hamburger-menu .menu_wrapper ul.menu {
	margin: 0;
}

body.hbmenu #hamburger-menu {
	opacity: 1;
	pointer-events: auto;
	overflow: auto;
	max-height: 100vh;
}

#primary-menu.menu li.current_page_item a,
#primary-menu.menu li.current_page_parent a,
#primary-menu.menu li.current-menu-parent a,
#primary-menu.menu li.current-page-ancestor a,
#primary-menu.menu li .sub-menu li.current_page_item a {
}

.hamburger-menu-items.menu li.current_page_item a,
.hamburger-menu-items.menu li.current_page_parent a,
.hamburger-menu-items.menu li.current-menu-parent a,
.hamburger-menu-items.menu li.current-page-ancestor a,
.hamburger-menu-items.menu li .sub-menu li.current_page_item a {
	color: #fff;
}

#site-navigation .menu > li.hover > a,
#site-navigation .menu li .sub-menu {
	background: rgba(0,0,0,.8);
}

#site-navigation .menu li .sub-menu {
	padding: 10px 0 0 0;
}

#site-navigation .menu li .sub-menu a {
	padding: 5px 15px 15px 15px;
	color: #fff;
}

.menu li.current-page-parent a,
.menu li.current_page_item a,
.menu li.current-page-ancestor a{
	color: #000;
}

.hamburger-menu-items > ul > li {
	margin-top: 20px;
}

.hamburger-menu-items .menu li a {
	color: #acacac;
	padding: 10px 25px;
}

.hamburger-menu-items li.current-menu-item a,
.hamburger-menu-items li a:hover {
	color: #fff;
}

.hamburger-menu-items .menu-item-has-children {
	background: url(../img/menu-arrow-down-wht.png) left 14px no-repeat;
	background-size: 16px 16px;
}

.hamburger-menu-items .menu-item-has-children.active {
	background-image: url(../img/menu-arrow-up-wht.png);
}

.hamburger-menu-items .sub-menu {
	margin-top: 0;
	display: none;
}

.hamburger-menu-items .sub-menu li {
}

.hamburger-menu-items .sub-menu li a {
	font-weight: 400;
	padding: 10px 0;
}





header#masthead #mobile_menu_icon {
	background: url(../img/mobile_menu_icon.png) 5px center no-repeat;
}

header#masthead #mobile_menu_icon,
#mobile_menu_close {
	position: absolute;
	top: 25px;
	right: 0;
	background-position: center center;
	background-size: 40px 40px;
	background-repeat: no-repeat;
	height: 40px;
	width: 40px;
	line-height: 40px;
	display: block;
	cursor: pointer;
	-webkit-transition: top .5s ease;
	   -moz-transition: top .5s ease;
		-ms-transition: top .5s ease;
		 -o-transition: top .5s ease;
			transition: top .5s ease;
}

body.scrolled header#masthead #mobile_menu_icon,
body.scrolled #mobile_menu_close {
	top: 5px;
}

body.hbmenu header#masthead #mobile_menu_icon {
	background-image: none;
}

#mobile_menu_close {
	background-image: url(../img/close-x2-wht.png);
	background-size: 20px 20px;
	top: 15px;
}

#mobile_menu_links {
	height: 20px;
	line-height: 18px;
	width: auto;
	position: absolute;
	top: 25px;
	right: 96px;
}

#mobile_menu_search {
	height: 20px;
	width: 20px;
	position: absolute;
	top: 25px;
	right: 50px;
}

body.scrolled #mobile_menu_links,
body.scrolled #mobile_menu_search {
	top: 15px;
}

#mobile_menu_search img {
	width: 100%;
	height: auto;
}



/* hero */


#hero_wrapper {
	height: auto;
	background: #333;
}

#hero_wrapper.normal {
	margin-top: 90px;
}

#hero_wrapper.tall .hero_item {
	box-shadow: inset 0px -25px 35px -25px rgba(0,0,0,.5);
}

#hero_wrapper .home_hero_text_wrapper .home_hero_text {
	background: transparent;
}

#hero_wrapper .title_text1 {
	text-transform: uppercase;
	font-size: 30px;
	line-height: 1.1em;
	letter-spacing: 4px;
	font-weight: 300;
	margin-top: 10vw;
}

#hero_wrapper.tall .title_text1 {
	margin-top: 0;
}

#hero_wrapper .title_text2 {
	text-transform: uppercase;
	font-size: 48px;
	line-height: 1.1em;
	font-weight: 800;
}

#hero_wrapper .hero_link {
	margin-top: 20px;
}

#hero_wrapper,
#hero_wrapper .hero_item {
	min-height: 300px;
	height: 30vw;
}

#hero_wrapper.tall,
#hero_wrapper.tall .hero_item {
	height: 50vw;
	overflow: hidden;
}

.home_hero_text_wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

.home_hero_text_wrapper,
.home_hero_text_wrapper .content_wrapper,
.home_hero_text_wrapper .home_hero_text_inner {
	height: 100%;
	display: block;
}

.home_hero_text_wrapper .home_hero_text_inner {
	position: relative;
	display: table;
	width: 50%;
}

.home_hero_text_wrapper .home_hero_text {
	display: table-cell;
	position: relative;
	bottom: 0;
	z-index: 50;
	padding: 0;
	vertical-align: middle;
	background: rgba(0,0,0,.6);
	color: #fff;
}

.hero_item {
	position: relative;
	display: table;
	height: 100%;
	width: 100%;
	overflow: hidden;
	background-size: cover;
	background-position: center center;
}

.hero_item img.hero_image {
	visibility: hidden;
	display: none;
}

.home_hero_text_wrapper {
	position: relative;
}

.hero_item img.hero_image {
	display: none !important;
}

#hero_wrapper .owl-nav {
	opacity: 0;
	-webkit-transition: opacity .5s ease;
	   -moz-transition: opacity .5s ease;
		-ms-transition: opacity .5s ease;
		 -o-transition: opacity .5s ease;
			transition: opacity .5s ease;
}

#hero_wrapper:hover .owl-nav {
	opacity: 1;
}

#hero_wrapper .video_wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%; 
	padding-bottom: 56.25%;
}

#hero_wrapper .hero_video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}



#content {
	position: relative;
	z-index: 1;
	background: #fff;
	padding: 0;
	-webkit-transition: padding .5s ease;
	   -moz-transition: padding .5s ease;
		-ms-transition: padding .5s ease;
		 -o-transition: padding .5s ease;
			transition: padding .5s ease;
}

#content.top_color {
	border-top: 150px solid var(--purple);
	padding-top: 40px;
}

#content.top_color h1.page_title {
	margin: 0 0 20px 0;
	text-transform: uppercase;
	color: var(--purple);
}

p, ul, ol, li, pre, form, select, address, embed {
	font-size: 14px;
	line-height: 1.7em;
}

b, strong {
	font-weight: 700;
}

.small {
	font-size: 12px;
}

.medium {
	font-size: 18px;
}

.large {
	font-size: 24px;
}

.topspace0 {
	padding-top: 0 !important;
	margin-top: 0 !important;
}



#content .search-form {
	display: flex;
	margin-bottom: 40px;
}

#content .search-form .search-field {
	width: 80%;
	padding-left: 10px;
	margin-right: 10px;
}

body.search form.search-form {
	margin: 0 0 60px 0;
}

body.search form.search-form .search-field {
	display: inline-block;
	max-width: 600px;
}


.bottom_content_padding {
	padding-top: 20px;
	padding-bottom: 20px;
}


.promo_boxes .content_wrapper {
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	align-items: normal;
}

.promo_boxes .content_wrapper .content_col {
	position: relative;
	background-color: #ccc;
}

.promo_boxes .content_col {
	 background-repeat: no-repeat;
	 background-size: cover;
	 background-position: center center;
	 display: flex;
}

.content_wrapper .content_col .promo_box_content {
	width: 100%;
	padding: 40px;
	padding: 2vw;
	position: relative;
	z-index: 5;
}

.content_wrapper .content_col.valign_top .promo_box_content {
	align-self: flex-start;
}

.content_wrapper .content_col.valign_middle .promo_box_content {
	align-self: center;
}

.content_wrapper .content_col.valign_bottom .promo_box_content {
	align-self: flex-end;
}

.promo_boxes .content_col {
	font-size: 36px;
	line-height: 1.2em;
	text-transform: uppercase;
	letter-spacing: 2px;
	position: relative;
}

.promo_boxes .content_col .promo_text {
	text-transform: none;
	font-size: 14px;
	line-height: 22px;
	font-weight: 500;
	letter-spacing: 0;
}

.promo_boxes a {
	text-decoration: none !important;
	cursor: pointer;
}

.link_hover {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	display: block;
	opacity: 0.5;
	z-index: 1;
	-webkit-transition: opacity .25s ease;
		   -moz-transition: opacity .25s ease;
			-ms-transition: opacity .25s ease;
			 -o-transition: opacity .25s ease;
				transition: opacity .25s ease;

}

.promo_boxes a:hover .link_hover {
	opacity: 0;
}

.promo_boxes .content_col .promo_text1 {
	font-weight: 800;
}

.promo_boxes .content_col .promo_text2 {
	font-weight: 500;
}

.promo_boxes .content_col .promo_text3 {
	font-weight: 300;
}

.promo_hover_block {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: .4;
	-webkit-transition: opacity .5s ease;
	   -moz-transition: opacity .5s ease;
		-ms-transition: opacity .5s ease;
		 -o-transition: opacity .5s ease;
			transition: opacity .5s ease;

}

.promo_boxes .content_col.hover .promo_hover_block {
	opacity: 0;
}


.promo_boxes .owl-nav {
}

.owl-nav button {
	background: url(../img/arrow-wht-left.png) center center no-repeat !important;
	background-size: 24px 24px !important;
	width: 40px;
	height: 40px;
	color: #fff !important;
	position: absolute;
	left: 0px;
	top: calc(50% - 20px);
}

.owl-nav button.owl-next {
	background-image: url(../img/arrow-wht-right.png) !important;
	left: auto;
	right: 0;
}

.owl-nav button span {
	display: none;
}




.txt_img_promo.promo_text_bg-black {
	background: #000;
	color: #fff;
}

.txt_img_promo.promo_text_bg-black .content_col-text .text_wrapper a {
	color: #fff;
	border-color: #fff;
}

.txt_img_promo.promo_text_bg-white {
	background: #fff;
}

.txt_img_promo .content_wrapper {
	gap: 0;
	width: 100%;
	align-items: stretch !important;
}

.txt_img_promo .content_wrapper > .content_col {
	width: 50%;
	padding: 0 !important;
}

.width-narrowleft.txt_img_promo .content_wrapper > .content_col {
	width: 66.67%;
}
.width-narrowleft.txt_img_promo .content_wrapper > .content_col:first-of-type {
	width: 33.33%;
}

.width-narrowright.txt_img_promo .content_wrapper > .content_col {
	width: 33.33%;
}
.width-narrowright.txt_img_promo .content_wrapper > .content_col:first-of-type {
	width: 66.67%;
}

.txt_img_promo.promo_text-right .content_wrapper {
	flex-direction: row-reverse;
}

.txt_img_promo .content_col-text .text_wrapper {
	padding: 40px;
}

.txt_img_promo.promo_text-left .content_col-text .text_wrapper,
.txt_img_promo.promo_text-right .content_col-text .text_wrapper {
	width: 400px;
}

.txt_img_promo.width-even .content_col-text .text_wrapper {
	width: 100%;
}

.txt_img_promo.promo_text-left .content_col-text .text_wrapper {
	float: right;
}

.txt_img_promo .content_col-text .text_wrapper h4 {
	margin-bottom: 30px;
}

.txt_img_promo .content_col-image {
	background-size: cover;
	background-repeat: no-repeat;
}

.txt_img_promo .content_col-image img {
	width: 100%;
	max-width: none;
	height: auto;
	visibility: hidden;
}



.text_testimonials.has_text {
	background: #fff;
}

.text_testimonials .content_col-first {
	background: #000;
	color: #fff;
}

.text_testimonials .content_col {
	padding: 50px;
}

.text_testimonials .testimonial {
	width: 100%;
}

.text_testimonials .testimonial .quote_text {
	font-weight: bold;
}

.text_testimonials .testimonial .quote_source {
	margin-top: 10px;
	font-weight: normal;
	font-style: italic;
}

.text_testimonials .owl-nav button {
	height: 40px;
	width: 40px;
	background-image: url(../img/arrow-blk-left.png) !important;
	left: -50px;
}

.text_testimonials .owl-nav button.owl-next {
	background-image: url(../img/arrow-blk-right.png) !important;
	left: auto;
	right: -50px;
}

.owl-nav button.disabled {
	opacity: 0;
}



.single_content_area .content_wrapper {
	padding: 40px;
}

.single_content_area.content_width-narrow .content_wrapper {
	max-width: 900px;
}

.single_content_area.content_width-full .content_wrapper {
	width: 100%;
	max-width: 100%;
}

.content_cols .content_wrapper {
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	align-items: normal;
}

.content_cols .content_wrapper .content_col {
	padding: 40px;
}


/* company */

.company_wrapper {
	width: 100%;
}

.display-grid {
	background: #666;
}

.display-grid,
.display-grid .team_name,
.display-grid .team_name a {
	color: #fff;
}

.display-grid .company_wrapper {
	display: flex;
	flex-wrap: wrap;
}

.display-grid .company_wrapper {
	display: flex;
	flex-wrap: wrap;
	column-gap: 0;
	row-gap: 0;
	text-align: center;
}

.display-grid .company_wrapper .team_item .team_photo {
	width: 100%;
	overflow: hidden;
	margin-bottom: 10px;
}

.display-grid .company_wrapper img {
	padding: 0 0 10px 0;
	margin: 0 auto;
	max-width: 400px;
	width: 100%;
	height: auto;
}

.display-photo .company_wrapper {
	display: block;
}

.display-photo .company_wrapper .team_item {
	display: flex;
	width: 100%;
	padding: 0;
	column-gap: 35px;
	row-gap: 35px;
}

.display-photo .company_wrapper .team_item .team_photo {
	width: 25%;
}

.display-photo .company_wrapper .team_item .team_text {
	width: 75%;
}

.team_wrapper.display-photo .team_name {
	text-transform: uppercase;
	font-size: 24px;
	font-weight: 300;
	margin:  0 0 5px 0;
}

.team_wrapper.display-photo .team_title {
	text-transform: uppercase;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 2px;
	margin:  0 0 10px 0;
}

.team_wrapper.display-photo .team_bio,
.team_wrapper.display-photo .team_bio p {
	font-weight: 400;
}

.team_wrapper.display-photo .team_bio_more {
	display: none;
	padding-bottom: 60px;
}

.more_bio,
.hide_bio {
	cursor: pointer;
	opacity: .6;
}

.more_bio:hover,
.hide_bio:hover {
	opacity: 1;
}

.team_bio.show .more_bio {
	display: none;
}

.team_wrapper.display-grid .team_name {
	text-transform: uppercase;
	font-size: 14px;
	font-weight: bold;
	margin: 0;
}

.team_wrapper.display-grid .team_title {
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 400;
	margin: 0;
}


article.company h2.team_name {
	margin: 0 0 10px 0;
	padding: 0;
}

article.company .content_col-first {
	padding-left: 0 !important;
}

article.company .team_text {
	margin: 20px 0;
}




/* FAQ */

	
.faq_item {
	border-bottom: 1px solid #ccc;
	padding: 0 0 5px 22px;
	margin: 0 0 20px 0;
}

.faq_item .faq-q {
	cursor: pointer;
	text-transform: uppercase;
	color: #666;
	font-weight: 300;
	font-size: 18px;
	margin-bottom: 5px;
	background: url(../img/faq-plus.png) top 7px left 5px no-repeat;
	background-size: 12px 12px;
	margin-left: -24px;
	padding-left: 24px;
}

.faq_item .faq-q:hover {
	color: #000;
}

.faq_item.active .faq-q {
	color: #000;
	font-weight: 700;
	background-image: url(../img/faq-x.png);
}

.faq_item .faq-a {
	display: none;
}



/* performance module */

.performance > .content_wrapper {
	display: flex;
	align-items: center !important;
}

.performance > .content_wrapper.img_loc-left {
	flex-direction: row-reverse;
}


.performance > .content_wrapper.img_loc-left .content_col-text .text_wrapper {
	float: none;
}

	
.performance .perf-cta {
	display: flex;
	flex-wrap: nowrap;
	column-gap: 40px;
}

.performance .perf-cta a.show_perf_info {
	line-height: 40px;
	text-transform: uppercase;
	text-decoration: none;
	background: url(../img/faq-plus-wht.png) top 13px left 5px no-repeat;
	background-size: 12px 12px;
	padding-left: 24px;
	opacity: .6;
}

.performance .perf-cta a.show_perf_info.active {
	background-image: url(../img/faq-x-wht.png);
}

.performance .perf-cta a.show_perf_info:hover {
	opacity: 1;
}

.performance .perf_more_info {
	display: none;
	background: #fff;
	color: #000;
}

.performance .perf_more_info .text_wrapper {
	padding: 40px;
}

.performance .perf_more_info .content_col-second {
	background: #e7e7e7;
}

.performance .perf_more_info .content_col-third {
	background: #333;
	color: #fff;
}

.performance .perf_more_info .content_col-third .text_wrapper {
	display: flex;
	flex-wrap: wrap;
}

.performance .perf_more_info .content_col-third .text_wrapper > div,
.performance .perf_more_info .content_col-third .text_wrapper > div a {
	width: 100%;
}

.performance .perf_more_info .content_col-third .text_wrapper > div {
	margin: 20px 0 0 0;
}

.performance .perf_more_info .content_col-third .text_wrapper > div:first-of-type {
	margin: 0;
}

.performance .perf_more_info .content_col-third .text_wrapper > div .button {
	line-height: 1.2em;
	padding: 10px;
	height: auto;
	text-align: left;
}

.performance .perf_more_info .perf-address {
	font-weight: bold;
}



@media screen and (min-width: 1000px) {
	
	.performance .content_col-text .text_wrapper {
		width: 100% !important;
	}
	
	.performance .perf_more_info .content_col-first {
		width: 50%;
	}
	
	.performance .perf_more_info .content_col-second,
	.performance .perf_more_info .content_col-third {
		width: 25%;
	}


}

@media screen and (max-width: 999px) {
	
	.performance .perf_more_info .content_col,
	.performance .content_wrapper > .content_col {
		width: 100%;
	}

	.performance > .content_wrapper.img_loc-left,
	.performance > .content_wrapper {
		display: flex !important;
		flex-direction: column-reverse;
	}

}

@media screen and (max-width: 499px) {

	.performance .perf-cta {
		flex-wrap: wrap;
		flex-direction: column-reverse;
	}
	
	.performance .perf-cta a {
		width: 100%;
	}
	
	.performance .perf-cta .button {
		margin-bottom: 20px;
	}

}


/* tabs */

.page_tabs {
	margin: 30px 0;
	border-bottom: 1px solid #666;
}

.page_tabs,
.page_tabs .menu {
	height: 40px;
	line-height: 40px;
}

.page_tabs .menu {
	margin: 0;
	display: flex;
	flex-wrap: nowrap;
	align-content: flex-start;
	align-items: flex-end;
	justify-content: center;
	column-gap: 10px;
}

.page_tabs .menu li {
	list-style: none;
}

.page_tabs .menu li a {
	border: 1px solid #666;
	background: #ccc;
	text-decoration: none;
	padding: 10px 20px;
	width: 100%;
	border-radius: 5px 5px 0 0;
	white-space: nowrap;
	font-size: 16px;
}

.page_tabs .menu li.current-menu-item a {
	color: #000;
	background: #fff;
	border-bottom-color: #fff;
}


/* mobile screen styles */
@media screen and (max-width: 799px) {
	
	.txt_img_promo .content_wrapper {
		display: block;
	}
	
	.page_tabs,
	.page_tabs .menu {
		height: auto;
	}

	.page_tabs .menu {
		display: block;
		padding: 0 20px;
	}
	
	.page_tabs .menu li a {
		border-radius: 5px;
		padding: 0 15px;
		display: block;
		text-align: center;
		width: 100%;
		margin-bottom: 10px;
	}
	
	.page_tabs .menu li.current-menu-item a {
		border-bottom-color: #666;
	}
	
}



/* contact form 7 */

.wpcf7-form.sent p,
.wpcf7-form.sent div {
	display: none;
}

.wpcf7-form.sent div.wpcf7-response-output {
	display: block;
}



/* waypoints */
.scrollshow {
	opacity: 0;
	-webkit-transition: opacity 1s ease;
	   -moz-transition: opacity 1s ease;
		-ms-transition: opacity 1s ease;
		 -o-transition: opacity 1s ease;
			transition: opacity 1s ease;
}

.scrollshow.show {
	opacity: 1;
}



/* links */

a,
a:visited {
	outline: none !important;
}

a:hover, a:active {
	
}

.ctct-form-embed.form_0 .ctct-form-custom .ctct-form-button,
input[type="submit"],
.button, a.button {
	color: #000;
	background: transparent;
	border: 1px solid #000;
	text-decoration: none;
	text-transform: uppercase;
	height: 40px;
	line-height: 40px;
	display: inline-block;
	min-width: 150px;
	padding: 0 10px;
	border-radius: 0;
	cursor: pointer;
	text-align: center;
	-webkit-transition: all .25s ease;
	   -moz-transition: all .25s ease;
		-ms-transition: all .25s ease;
		 -o-transition: all .25s ease;
			transition: all .25s ease;
	opacity: .5;
}

.button.btn-wht, a.button.btn-wht {
	color: #fff;
	border-color: #fff;
}

.edit-link {
	display: none !important;
}


/* Constant Contact */

#content div.ctct-form-embed div.ctct-form-defaults {
	padding: 0;
}

.ctct-form-embed.form_0 .ctct-form-custom .ctct-form-button {
	background: #fff !important;
	border-color: #000 !important;
	color: #000 !important;
	text-transform: uppercase;
	width: auto;
}

.ctct-form-embed.form_0 .ctct-form-custom .ctct-form-button:hover,
.button:hover, a.button:hover {
	opacity: 1;
	text-transform: uppercase;
}

#content div.ctct-form-embed * {
	font-family: "Montserrat",Helvetica,Arial,sans-serif;
}

#content div.ctct-form-embed form.ctct-form-custom input.ctct-form-element {
	max-width: 400px;
}


body.search-results #page {
	padding-top: 80px;
}


/* footer */

footer#footer {
	background-color: #000;
	padding-top: 40px;
	padding-bottom: 40px;
	text-align: left;
}

footer#footer,
footer#footer p,
footer#footer li,
footer#footer a {
	font-size: 12px;
	color: #999999;
	text-decoration: none;
}

footer#footer ul,
footer#footer p {
	margin-bottom: 10px;
}

footer#footer a:hover,
footer#footer h3 {
	color: #fff;
}

footer#footer h3 {
	margin: 0 0 10px 0;
	font-weight: 600;
	font-size: 12px;
}

footer#footer, footer#footer a, footer#footer a:visited, footer#footer a:hover {
}

#footer section.widget {
	margin: 0 0 40px 0;
}

#footer ul.menu li {
	display: block;
	text-transform: uppercase;
	padding: 0;
	margin: 0 0 10px 0;
}

#footer ul.menu li a {
	padding: 0;
}

footer .footer_section.footer_section3 .textwidget > p {
	display: flex;
	flex-wrap: wrap;
	row-gap: 0;
	column-gap: 10px;
}

footer .footer_section.footer_section3 .textwidget > p > img {
	width: 24%;
	margin: 20px 0 10px 0;
}

footer .footer_copyright {
	text-align: center;
}

footer .footer_copyright,
footer .footer_copyright p {
	font-weight: bold;
}

footer#footer .footer_copyright section.widget {
	margin: 0;
}



#totop {
	position: fixed;
	z-index: 200;
	bottom: 10px;
	right: 10px;
	height: 26px;
	width: 26px;
	background: url(../img/back-to-top.png) center center no-repeat;
	background-size: 26px 26px;
	opacity: 0;
	-webkit-transition: opacity .5s ease;
	   -moz-transition: opacity .5s ease;
		-ms-transition: opacity .5s ease;
		 -o-transition: opacity .5s ease;
			transition: opacity .5s ease;

}

body.scrolled #totop {
	opacity: .7;
}

body.scrolled #totop:hover {
	opacity: 1;
}



#modal_bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 100;
	background: #999;
	opacity: 0.7;
	display: none;
	z-index: 1001;
}
	
#modal_bg.active {
	display: block;
}



/* let's get responsive! */

/* Desktops */
@media screen and (min-width: 1300px) {

	header#masthead .site-branding .site-title a {
		background-size: 336px 100px;
		width: 336px;
		height: 100px;
	}
	
}

@media screen and (min-width: 1200px) {
	
	/* hide header widget area -- if you need it above the logo & nav, adjust header_links in header.php */
	header#masthead .header_links {
		display: none;
	}
	
	header#masthead .site-branding {
	}
	
	header#masthead .header_nav {
	}
	
	#site-navigation .menu {
		width: auto;
		display: table;
		float: right;
	}

	#site-navigation .menu li .sub-menu {
		min-width: 200px;
		width: auto;
		max-width: 300px;
	}
	
	#site-navigation .sub-menu li {
		width: auto;
	}


}


/* medium styles+ */
@media screen and (min-width: 800px) {

	#hamburger-menu {
		padding: 10px 20px;
	}

	.menu-hamburger-nav-container,
	.hamburger-menu-items {
		display: block;
		width: 100%;
	}

	.hamburger-menu-items {
	}
	
	.menu-hamburger-nav-container .col1 {
		background: red;
	}

	.menu-hamburger-nav-container .col2 {
		background: green;
	}
	
	.hamburger-menu-items .menu > li {
		width: 100%;
		padding-right: 20%;
	}


	.display-grid .company_wrapper .team_item .team_photo {
		aspect-ratio: 3 / 3.4;
	}


	.text_testimonials.has_text {
		background: #fff;
		background: linear-gradient(90deg, #000 50%, #fff 50%);
	}
	
	
	footer .footer_section_wrapper {
		display: flex;
	}
	
	footer .footer_section {
		float: none;
		margin: 0;
	}
	
	footer .footer_section.footer_section1,
	footer .footer_section.footer_section2 {
		width: 15%;
		padding-right: 2%;
	}
	
	footer .footer_section.footer_section3 {
		width: 70%;
	}


}


/* mobile styles */
@media only screen and (max-width: 1199px) {

	.site-branding {
		margin-top: 0;
	}

	#site-navigation .menu,
	#site-navigation .menu-main-nav-container {
		background-color: #333;
		color: #fff;
	}

	#site-navigation .menu li a {
		color: #fff;
	}

	#site-navigation #mobile_menu_icon.active {
	}
	
	#site-navigation ul.menu li.menu-item-has-children > a {
		background-image: url(../img/menu-arrow-down-wht.png);
		background-position: right 20px center;
		background-repeat: no-repeat;
		background-size: 12px 12px;
	}
	
	#site-navigation ul.menu li.menu-item-has-children > a.active {
		background-image: url(../img/menu-arrow-up-wht.png);
	}
	
	X#hero_wrapper.tall .hero_item {
		background-image: none !important;
		background-color: var(--purple);
	}
	
	#hero_wrapper.tall, #hero_wrapper.tall .hero_item {
		Xheight: 80vw;
	}
	
	#hero_wrapper .home_hero_text {
		padding: 20px;
	}
	
	#hero_wrapper .hero_item {
	}
	
	#hero_wrapper .hero_item .video_wrapper {
	}
	
	#hero_wrapper .video_wrapper iframe {
		
	}
	
	.button, a.button {
		opacity: 1;
	}
	
	.bottom_content_wrapper .bottom_content_area {
		padding: 0;
	}

}
	
	
	
@media only screen and (max-width: 999px) {
	
	.txt_img_promo .content_wrapper {
		display: flex;
		flex-wrap: wrap;
	}

	.txt_img_promo.promo_text-right .content_wrapper,
	.txt_img_promo.rev_mobile_cols .content_wrapper {
		flex-direction: column-reverse;
	}
	
	.txt_img_promo .content_wrapper .content_col {
		width: 100% !important;
	}
	
	.txt_img_promo.promo_text-left .content_col-text .text_wrapper {
		float: none;
	}
	
	.txt_img_promo.promo_text-left .content_col-text .text_wrapper, 
	.txt_img_promo.promo_text-right .content_col-text .text_wrapper {
		width: 100%;
	}
	
}
	
	
	
@media only screen and (max-width: 799px) {

	header#masthead .site-branding .site-title a {
		background-size: 235px 70px;
	}
	
	#hbmenu_logo img,
	header#masthead .site-branding .site-title a {
		width: 235px;
		height: 70px;
	}
	
	#hbmenu_logo img {
		margin: 0 20px;
		width: 118px;
		height: 35px;
	}
	
	#hamburger-menu .menu_wrapper {
		padding: 20px;
		display: block;
	}
	
	#hero_wrapper.tall {
		height: calc(50vw + 90px);
		min-height: 0;
	}
	
	#hero_wrapper.tall .hero_item {
		min-height: 0;
	}
	
	#hero_wrapper.tall {
		border-top: 90px solid #000;
	}
	
	#hero_wrapper .owl-nav {
		display: none;
	}
	
	.content_wrapper .content_col .promo_box_content,
	.content_cols .content_wrapper .content_col,
	.performance .perf_more_info .text_wrapper,
	.txt_img_promo .content_col-text .text_wrapper {
		padding: 20px;
	}
	
	.content_cols .content_wrapper .content_col > .promo_box_content {
		padding: 0;
	}


}
