/*
 Theme Name:     CAP
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Husk
 Author URI:     https://www.husk.co.nz/
 Template:       Divi
 Version:        1.0.54
*/

@font-face {
    font-family: 'LubalinDemi';
    src: url('/wp-content/themes/divi-child/fonts/LubalinDemi.eot');
    src: url('/wp-content/themes/divi-child/fonts/LubalinDemi.eot') format('embedded-opentype'),
         url('/wp-content/themes/divi-child/fonts/LubalinDemi.woff') format('woff'),
         url('/wp-content/themes/divi-child/fonts/LubalinDemi.ttf') format('truetype'),
         url('/wp-content/themes/divi-child/fonts/LubalinDemi.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'LubalinBook';
    src: url('/wp-content/themes/divi-child/fonts/LubalinBook.eot');
    src: url('/wp-content/themes/divi-child/fonts/LubalinBook.eot') format('embedded-opentype'),
         url('/wp-content/themes/divi-child/fonts/LubalinBook.woff') format('woff'),
         url('/wp-content/themes/divi-child/fonts/LubalinBook.ttf') format('truetype'),
         url('/wp-content/themes/divi-child/fonts/LubalinBook.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
.jubalat, .jubalat p, .jubalat h3, 
.jubilat, .jubilat p, .jubilat h3, .jubilat p strong, .jubilat h3 strong {
font-family: jubilat,serif !important;
}

.dollar-stat span.percent-value:before {
content: '$';
font-size: 84px;
font-family: jubilat;
font-weight: 700;
}

@media screen and (max-width: 1224px){
	span.percent-value, span.percent-sign {
		font-size: 55px;
	}
	span.percent-value:before {
		font-size: 55px !important;
	}	
}

.lubalin, .lubalin p, .lubalin h3 {
	font-family: 'LubalinBook' !important;
}
strong, b {
	font-family: 'Omnes-pro' !important;
	font-weight: 700;
}

/* Highlight using link element */

li.current_page_parent > a{
    text-decoration:underline;
}

 .current_page_item > a{
	text-decoration:underline;
}
ul li, ol li {
  font-weight: initial;
  font-family: 'Omnes-pro';
}
a.special-text-link {
	transition: all 0.3s ease;
}
a.special-text-link:hover{
	letter-spacing: 1px;
}

a.special-text-link:after {
	content:'→';
	color: #fff;
transition: all 0.3s ease;
}
a.special-text-link:hover:after {
	color:#75c043;
}
@media screen and (max-width: 769px){
a.special-text-link:after {
	content:' →';
	color: #75c043;
}
}


/*------------------------------------------------*/
/*-------------------[GENERAL]--------------------*/
/*------------------------------------------------*/

body, p {
	font-family: 'Omnes-pro' !important;
	font-weight: 500;
}

ul {list-style-position: outside;}

h1, h2, h3, h4, a, a.et_pb_button, .et_pb_section, .et_hover_enabled, .entry-title a {
	font-family: 'Omnes-pro' !important;
	font-weight: '600';
}

h4 {
    line-height: 1.3em;
}
li.current-menu-item a {
	color: #fff !important;
}
.et_pb_menu_0_tb_header.et_pb_menu .nav li ul.sub-menu li.current-menu-item a{
	color: #fff !important;
}
/* Menu lineheight */
.menu-item.menu-item-type-post_type.menu-item-object-page a{
	line-height: 1.4em;
}


/* team member flip boxes */
.dsm-content, .dsm-content span, .dsm-content p, .dsm-content p span {
	font-weight: 400 !important;
}

@media screen and (max-width: 980px) and (min-width: 769px) {
	.dsm_flipbox_child {
/* 		background-size: contain;
		background-position: left; */
	}
/* 	.page-id-551 .team-row .et_pb_column.et_pb_column_1_3,
	.page-id-1153 .team-row .et_pb_column.et_pb_column_1_3 {
	margin-right: 2.5%;
		width: 47.25% !important; 
		margin-right: 2.5%;
		width: 30% !important;} */
	
	.team-row, .stories-row {
		display: flex;
		justify-content: space-between;
	}
	.team-row .et_pb_column, .stories-row .et_pb_column {
		width: 32%;
	}
}
@media screen and (max-width: 769px){
	

	.stories-row .et_pb_column {
		width: 50%;
	}
}


/* Slider fix */
.et_pb_slider .et_pb_slides .et_pb_slide:first-child {
	display: initial !important;
}

/* Accordian list right padding fix */
 .et_pb_toggle .et_pb_toggle_title, .et_pb_toggle h5.et_pb_toggle_title {
    padding: 0px !important;
}
.pacifico {font-family: 'Pacifico', cursive !important;
font-weight: 700;}

/* reverse columns for mobile */
@media screen and ( max-width: 414px ) {
	.reverse {
		display: flex;
		flex-direction: column-reverse;
	}
} 

/*------------------------------------------------*/
/*-----------------[HEADER-MENU]------------------*/
/*------------------------------------------------*/
.et_pb_menu_inner_container>.et_pb_menu__logo-wrap {
	width: auto !important;
		max-width: 100% !important;
}

.et_pb_menu_0_tb_header.et_pb_menu .et-menu-nav li ul.sub-menu li ul {
	margin-top: 11px !important;
}

/*------------------------------------------------*/
/*------------------[HOMEPAGE]--------------------*/
/*------------------------------------------------*/


/*------------------------------------------------*/
/*------------------[SUBPAGES]--------------------*/
/*------------------------------------------------*/


/*------------------------------------------------*/
/*-------------------[Footer]---------------------*/
/*------------------------------------------------*/ 
.nf-field-label label span.privacy-policy-text-color, .nf-field-label label a  {
	font-size: 14px !important;
	font-weight: 100 !important;
}

footer .privacy-policy-text-color, .divi-area-wrap .privacy-policy-text-color {
	color: #fff;
} 


footer .nf-form-content {
	padding: 1px;
}
footer .nf-field-container, #neverthelessform .nf-form-fields-required {
	margin-bottom: 8px;
}

 .nf-form-fields-required {
	display: none;
}  
/*------------------------------------------------*/
/*--------------------[Poppups]-----------------------*/
/*------------------------------------------------*/
.divi-area-wrap .ninja-form-white-text-divi-areas label, 
.divi-area-wrap h3, 
.divi-area-wrap .nf-form-fields-required,
.divi-area-wrap .nf-field-description {
	color: #fff;
}


.divi-area-wrap .ninja-forms-req-symbol,.divi-area-wrap .nf-error-msg, footer .ninja-forms-req-symbol,footer .nf-error-msg, #neverthelessform .ninja-forms-req-symbol, #neverthelessform .nf-error-msg {
	color: #fc8b53 !important;
}

/* .divi-area-wrap ::-webkit-scrollbar {
    width: 0px;
} */

/* body::-webkit-scrollbar
{
  width: 10px;
  background-color: #f7f7f7;
}

body::-webkit-scrollbar-track
{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  background-color: #f7f7f7;
}

body::-webkit-scrollbar-thumb
{
  border-radius: 12px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
  background-color: rgba(0,0,0,0.4);
}  */

/*------------------------------------------------*/
/*------------------------------------------------*/
/*------------------------------------------------*/
/*--[buttons]--*/
body #page-container .et_pb_section .read-more-wrapper a.et_pb_button.dp-dfg-more-button:hover {
	    padding-left: 1em!important;
}
.grey-button {
	opacity:20% !important;
}

.et_pb_slide_content {
	display: inline;
}

.et_pb_button.dp-dfg-load-more-button:hover {
	transform: translate(0px, -4px);
	box-shadow: 0px 4px 0px 0px #4f9b23;
	background: #75c043 !important;
	border-color: #75c043 !important;
	padding-top: 0.5em;
    padding-right: 1.4em !important;
    padding-bottom: 0.5em;
    padding-left: 1.4em !important;
}


.cap-banner-button{
-webkit-font-smoothing: antialiased;
-webkit-box-direction: normal;
text-align: left;
box-sizing: border-box;
margin: 0;
outline: 0;
vertical-align: baseline;
line-height: 1.1em!important;
border: 2px solid;
transition-property: all!important;
position: relative;
color: #f8f8f8;
text-shadow: none;
text-decoration: none;
font-family: 'Omnes-pro' !important;
margin-right: 15px;
transition: all 200ms ease !important;
margin-top: 20px;
border-width: 8px!important;
cursor: pointer;
border-radius: 10px;
letter-spacing: 1px;
font-size: 18px;
font-weight: 700 !important;
padding: 0.3em 1em!important;
display: inline-block;
}

.cap-banner-button p{
	font-weight: 700;
	
}
.cap-banner-button-green a {
	color: #f8f8f8 !important;
	text-decoration: none !important;
}

.cap-banner-button:hover {
	transform: translate(0px, -4px);
	color: #fff !important;
	
}
.cap-banner-button-green {
	background: #6ab339 !important;
	border-color: #6ab339 !important;
}
.cap-banner-button-green:hover {
	box-shadow: 0px 4px 0px 0px #4f9b23;
	background: #75c043 !important;
	border-color: #75c043 !important;
	
}
.cap-banner-button-orange {
	background: #e56425;
	border-color: #e56425;
}
.cap-banner-button-orange:hover {
	box-shadow: 0px 4px 0px 0px #bc502a;
}


.cap-banner-button-green-outline {
	background: #fff;
	border: 1px solid #6ab339 !important;
	color: #6ab339;
	padding: 0.7em 1.4em!important;
}

.cap-banner-button-green-outline:hover {
	box-shadow: 0px 4px 0px 0px #4f9b23;
	background: #75c043 !important;
	border: 1px solid #75c043 !important;
	
}


@media screen and (max-width: 480px) {
	.cap-banner-button {
		font-size: 14px !important;
		letter-spacing: 1px !important;
		padding: 0.8em;
		margin: 9px 5px 0px 0px;
	}
	.ninja-forms-field.cap-banner-button.cap-banner-button-green.nf-element, .et_pb_button  {
		font-size: 14px !important;
		padding: 12.5px !important;
		letter-spacing: 1px !important;
		height: auto !important;
	}
	
	.cap-banner-button.cap-banner-button-green img {
		margin-bottom: -2.2px !important;
	}
	.nf-form-content .ninja-forms-field {
		height: auto !important;
	}
	.nf-field-container {
		margin-bottom: 10px !important;
	}
}


.mob-menu-cta-button a {
	border: 1px solid #fff;
    border-radius: 6px;
    padding: 10px 10px 10px 10px !important;
    margin: 5px 0px 5px 0px!important;
	height: 37px !important;
	font-size: 14px !important;
}


.et_pb_fullwidth_menu .et-menu>li, .et_pb_menu .et-menu>li {
    padding-left: 11px;
    padding-right: 4px;
}

.nav li li ul {
	top: -34px;
}
.et_pb_menu_0_tb_header.et_pb_menu .nav li li ul {
	background-color: #292929 !important;
}
.et-menu li li.menu-item-has-children>a:first-child:after {
	transform: rotate(-90deg);	
    top: 7px;

}
.et_pb_menu_1_tb_header .et_pb_menu__icon.et_pb_menu__search-button, .et_pb_menu_1_tb_header .et_pb_menu__icon.et_pb_menu__close-search-button {
	margin-left: 20px;
}


/* No greater than 1069px, no less than 980px */
@media (max-width:1069px) and (min-width:980px) {
	.et_pb_fullwidth_menu .et-menu>li, .et_pb_menu .et-menu>li {
    padding-left: 11px;
    padding-right: 4px;
}
	.mob-menu-cta-button a {
		margin: 19px 0px 19px 0px!important;
	}
	ul#menu-mobile-menu li a{
		font-size: 14px!important;
	}
	.et_pb_fullwidth_menu--style-left_aligned .et_pb_menu__logo, .et_pb_menu--style-left_aligned .et_pb_menu__logo {
		margin-right: 15px !important;
	}
}
@media (max-width:980px){ 
	
	li.mob-menu-cta-button {
		text-align: center;
	}
	
	.mob-menu-cta-button a {
	border: none;
    border-radius: 6px;
	}
	.et_pb_menu_2_tb_header.et_pb_menu .et_mobile_menu .mob-menu-cta-button a {
		color: #fff !important;
		font-size: 14px !important;
	    padding: 4px 14px !important;
    	letter-spacing: 1px !important;
	    height: auto !important;
		background: #6ab33900 !important;
    	border: 1px solid #fff !important;
		display: inline-block;
		margin-bottom: 2px !important; 
	}
}

/* Breadcrumbs */
.dsm_breadcrumbs_separator .dsm_separator_icon, .et-db #et-boc .et-l .dsm_separator_icon {
	    transform: rotate(-65deg);
}

/* Sliders */

.et_pb_slider .et_pb_slide > .et_pb_container {
	display: flex;
	align-items: center;
	max-width: 1126px;
}

.home-banner-slider .et_pb_slide_description { float:left !important; padding-left:100px !important }
.home-banner-slider .et_pb_slide_image { right:100px; }


.home-testimonial-slider .et_pb_slider_0.et_pb_slider  {
	overflow: visible !important;
}

@media only screen and (min-width: 980px) {
.home-testimonial-slider .et-pb-arrow-next {
right: -50px !important;
}
}

@media only screen and (min-width: 980px) {
.home-testimonial-slider .et-pb-arrow-prev {
left: -50px !important;
}
}

@media only screen and (max-width: 980px) {
.et_pb_slider_0.et_pb_slider {overflow: visible !important;}
.home-testimonial-slider .et-pb-arrow-next {
right: -20px !important;
}
}

@media only screen and (max-width: 980px) {
.home-testimonial-slider .et-pb-arrow-prev {
left: -20px !important;
}
}
/*blog styles */
.featured-image-caption {
	font-weight: 200 !important;
}


/* Blog Grid */

.dp-dfg-skin-default .dp-dfg-filters ul {
	justify-content: left !important;
}

.term-link:before {
	content: '#'
}

/* blog videos  */
.wp-block-embed {
	margin: 40px auto;
}

/*------------------------------------------------*/
/*------------------------------------------------*/
/*------------------------------------------------*/


.thanks-msg-never:after {
	content:'✔';
    margin-left: 10px;
}

@media only screen and (max-width: 600px) {
.cap-wrap-image {
  width: 100% !important;
  padding: 0 0 30px 0px !important;
  }
}

.thanks-msg-never {
    color: #78b843;
    border: 1px solid #f4433600;
    background-color: #fff0!important;
    padding: 0px !important;
}


#wp-admin-bar-wp-logo > div.ab-item.ab-empty-item > img {max-height: 70% !important;}

li.dp-dfg-filter {
  margin-bottom: 10px;
}

a.grid-date {
	display: inline-block;
	color:#888 !important;
	font-weight: 100;
	margin-top:10px;
	padding-bottom: 5px !important;
	font-size: 14px !important;
	font-family: 'Omnes-pro' !important;
	cursor: default !important ;
}

a.grid-category {
	font-size: 13px;
	text-transform: uppercase;
	font-weight: 900;
	letter-spacing: 2px !important;
}

.speech-bubble-heading:before {
	width: 35px;
	content: " ";
	background-image: url(/wp-content/uploads/2021/04/speechbubble-icon-svg.svg);
	position: absolute;
	left: 0;
	top: 2px;
	height:20px;
	background-repeat: no-repeat;
}

.pacifico-coach {
	font-size: 60px;
}
@media only screen and (max-width: 600px) {
	.pacifico-coach {
		font-size: 38px;
}
	.speech-bubble-heading:before {
		top: 0px;	
	}
	.speech-bubble-heading {
		margin-top: 25px;
	}
	.et_pb_slides .et_pb_slider_container_inner {
		vertical-align: top;
	} 
}


/* --- Divi Mobile Menu Collapse STARTS --- */
/*change hamburger icon to x when mobile menu is open*/

#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
.et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
	content: '\4d';
}


/*adjust the new toggle element which is added via jQuery*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
ul.et_mobile_menu li.page_item_has_children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle {
	width: 44px;
	height: 100%;
	padding: 0px !important;
	max-height: 44px;
	border: none;
	position: absolute;
	right: 0px;
	top: 0px;
	z-index: 999;
	background-color: transparent;
}


/*some code to keep everyting positioned properly*/

ul.et_mobile_menu>li.menu-item-has-children,
ul.et_mobile_menu>li.page_item_has_children,
ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.page_item_has_children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children {
	position: relative;
}


/*remove default background color from menu items that have children*/

.et_mobile_menu .menu-item-has-children>a,
.et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children>a {
	background-color: transparent;
}


/*hide the submenu by default*/

ul.et_mobile_menu .menu-item-has-children .sub-menu,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
	display: none !important;
	visibility: hidden !important;
}


/*show the submenu when toggled open*/

ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
	display: block !important;
	visibility: visible !important;
}


/*adjust the toggle icon position and transparency*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
	text-align: center;
	opacity: 1;
}


/*submenu toggle icon when closed*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after {
	top: 10px;
	position: relative;
	font-family: "ETModules";
	content: '\33';
/* 	color: #00d263;
	background: #f0f3f6; */
	border-radius: 50%;
	padding: 3px;
}


/*submenu toggle icon when open*/

ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after {
	content: '\32';
}


/*add point on top of the menu submenu dropdown*/

.et_pb_menu_0.et_pb_menu .et_mobile_menu:after {
	position: absolute;
	right: 5%;
	margin-left: -20px;
	top: -14px;
	width: 0;
	height: 0;
	content: '';
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid #ffffff;
}


/*adjust the position of the hamburger menu*/

.mobile_menu_bar {
	position: relative;
	display: block;
/* 	bottom: 10px; */
	line-height: 0;
}


/*force the background color and add a rounded border*/

.et_pb_menu_0.et_pb_menu .et_mobile_menu,
.et_pb_menu_0.et_pb_menu .et_mobile_menu ul {
	background-color: #ffffff!important;
	border-radius: 10px;
}

.et_mobile_menu li a {
	border-bottom: none; 
}

/* --- Divi Mobile Menu Collapse ENDS --- */



div.dp-dfg-filters {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 150px !important;
    z-index: 9;
}

/* --- Sign up form Opt in box STARTS --- */
 .campaign-monitor-optin-wrap .nf-field-label label {
	color: #fff;
	font-weight: 100;
	font-size: 16px;	
}
@media only screen and (max-width: 400px) {
	.campaign-monitor-optin-wrap .nf-field-label label {
		font-size: 13px;
	}
}

.campaign-monitor-optin-wrap.checkbox-wrap .nf-field-label label:after {
	border: none;
} 
/* --- Sign up form Opt in box ENDS --- */


.dp-dfg-search {
	z-index: 10;
}

/* #_forms_required_items.hidden-container .nf-field-label, #ninja_forms_required_items.hr-container .nf-field-label, #ninja_forms_required_items.html-container  */

.nf-field-label, .nf-field-container.hidden-container .nf-field-label, .nf-field-container.hr-container .nf-field-label, .nf-field-container.html-container .nf-field-label {
	display: initial !important;
}
.nf-form-content label #nf-label-field-40 {
	font-size: 14px !important;
	font-weight: 100 !important;
	display: initial !important;
}

.divi-area-wrap .nf-field-label .nf-label-span, .divi-area-wrap .nf-field-label label {
	color: #ffffff;
}

/* Divi filtergrid - video popup   */
@media only screen and (max-width: 600px) {
	.dpdfg_filtergrid_0-popup.dp-dfg-popup.dp-dfg-video-popup .mfp-iframe-holder .mfp-content {
		height: auto !important;
	}
}

/* NF 2024 */
.nf-field-container {
	margin-bottom: 20px !important;
}

.nf-field-container.listselect-container {
margin-bottom: 35px !important;
}

.nf-form-content label,
.nf-field-label label,
.nf-field-label .nf-label-span {
	font-size: 18px !important;
}

.nf-form-content .label-above .nf-field-label {
	margin-bottom: 5px !important;
}

.nf-form-content input:not([type=submit]), 
.nf-form-content textarea,
.nf-error textarea.ninja-forms-field {
	font-size: 18px;
}