/* 
Theme Name:		 Cahoot Marketing
Theme URI:		 http://childtheme-generator.com/
Description:	 Cahoot Marketing is a child theme of Divi, created by ChildTheme-Generator.com
Author:			 Carl Manere
Author URI:		 http://childtheme-generator.com/
Template:		 Divi
Version:		 1.0.0
Text Domain:	 cahoot-marketing
*/

h1, h2, h3, h4, h5, h6 { padding-bottom: 0px; }

.vertical-align {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

div#page-container {
    overflow: hidden;
}

.et_pb_blurb_position_left.whatmakesusBlurb .et_pb_blurb_container {
    padding-left: 2vw;
    border-left: 3px solid #ba93ed;
}

.inline_buttons .et_pb_button_module_wrapper {
    display: inline-block;
    margin-right: 25px;
}
.inline_buttons {
    text-align: left;
}

.align_blurb_content .et_pb_blurb_container {
    vertical-align: middle !important;
}

/** HEADER CTA CSS **/

/* Divi Engine CTA Button in the Divi Menu */


/* Media query to ensure hover styles are only applied to desktop */

@media (min-width: 981px) {
	
	ul#menu-main-menu>li {
		padding-left: 0 !important;
		padding-right: calc(18px + (60 - 18) * ((100vw - 981px) / (1920 - 981))) !important;
	}
    
    /* Hover styles for our CTA Button */
    .et_pb_menu_0_tb_header.et_pb_menu li.de-menu-cta a:hover {
        opacity: 1!important;
        color: #fff!important; /* Change hover button text color here */
        background-color: #6F2AFB; /* Change hover button background color here */
        /* If you don't want the button to get bigger when you hover on it, delete this line */
    }
}
    
/* Fix the padding in the primary menu to accomodate the button */
.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
    padding-top: 0px;
    padding-bottom: 0px;
}
 
/* Make sure that the alignment in the menu is correct */
.et_pb_menu .et_pb_menu__menu>nav>ul>li {
    align-items: center;
}

/** GRAVITY FORMS **/
.gform_wrapper.gravity-theme .gfield_label {
    font-weight: normal !important;
    margin-bottom: 20px !important;
    font-family: 'AktiveGrotesk medium',Helvetica,Arial,Lucida,sans-serif;
}

.consent_field {
    margin-bottom: -30px !important;
}

.gform_wrapper.gravity-theme .gform_fields {
    grid-row-gap: 40px !important;
}

.gform_wrapper.gravity-theme .gfield textarea.small {
    height: 143px !important;
}

input.gform_button.button {
    color: #FFFFFF!important;
    border: 2px solid#6f2afb;
    border-radius: 10px;
    font-size: 18px;
	letter-spacing: 1px;
    font-family: 'AktiveGrotesk Bold',Helvetica,Arial,Lucida,sans-serif!important;
    text-transform: uppercase!important;
    background-color: #6f2afb;
    padding-top: 21px!important;
    padding-right: 60px!important;
    padding-bottom: 21px!important;
    padding-left: 60px!important;
    cursor: pointer;
    line-height: 1;
}

.footer_social_icons {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer_links ul {
    padding-left: 0;
}

/** MOBILE MENU **/

div#mobile_header_row .et_pb_column {
    display: flex;
    align-items: center;
}

/** CUSTOM BLURB CSS **/

.timeline_blurb {
    position: relative;
}

.timeline_blurb .et_pb_main_blurb_image {
    z-index: 100;
    position: relative;
}

.timeline_blurb:before {
    border-left: 3px solid #BA93ED;
    position: absolute;
    top: 0px;
    left: 26px;
    height: 100%;
    content: "";
}

/** RESPONSIVE CSS **/

@media(min-width: 981px) and (max-width: 1920px) {
	
	
	/** CUSTOM FONT SIZES **/
	.herotext.et_pb_text h1 { font-size: calc(70px + (110 - 70) * ((100vw - 981px) / (1920 - 981))); }
	.pageheader.et_pb_text h1 { font-size: calc(50px + (70 - 50) * ((100vw - 981px) / (1920 - 981))); }
	.et_pb_text.pageheaderContent p,.et_pb_text.pageheaderContent { font-size: calc(18px + (22 - 18) * ((100vw - 981px) / (1920 - 981))); }
	
	.et_pb_text.et_pb_module h2 { font-size: calc(40px + (55 - 40) * ((100vw - 981px) / (1920 - 981))); }
	.et_pb_text.et_pb_module h3, .et_pb_blurb.et_pb_module.customBlurbIcon h3 { font-size: calc(22px + (30 - 22) * ((100vw - 981px) / (1920 - 981))); }
	
	.et_pb_blurb.et_pb_module.customBlurbIcon .et_pb_main_blurb_image img {
		width: calc(120px + (165 - 120) * ((100vw - 981px) / (1920 - 981)));
	}
	
	.et_pb_text.customBodyText, 
	.et_pb_text.customBodyText p,
	.et_pb_text.testimonial, 
	.et_pb_text.testimonial p,
	.et_pb_text.footer_links,
	.et_pb_text.footer_links li,
	.et_pb_blurb:not(.blurb_card) .et_pb_blurb_description, 
	.et_pb_blurb:not(.blurb_card) .et_pb_blurb_description p,
	.gform_wrapper.gravity-theme .gfield_label { font-size: calc(14px + (22 - 14) * ((100vw - 981px) / (1920 - 981))); }
	.et_pb_text.customBodyQuote, .et_pb_text.customBodyQuote p { font-size: calc(16px + (19 - 16) * ((100vw - 981px) / (1920 - 981))); }
	
	.et_pb_text.client_testimonial_author,
	.et_pb_text.client_testimonial_author p {
		font-size: calc(14px + (18 - 14) * ((100vw - 981px) / (1920 - 981)));
	}
	
	.testimonialContent.et_pb_text,.testimonialContent.et_pb_text p { font-size: calc(22px + (30 - 22) * ((100vw - 981px) / (1920 - 981))); }
	.testimonialAuthor.et_pb_text,.testimonialAuthor.et_pb_text p { font-size: calc(18px + (25 - 18) * ((100vw - 981px) / (1920 - 981))); }
	
	.et_pb_blurb.blurb_card, .et_pb_blurb.blurb_card p, .et_pb_blurb.blurb_card et_pb_blurb_description { font-size: calc(14px + (18 - 14) * ((100vw - 981px) / (1920 - 981))) !important; }
	
	/** CUSTOM BUTTON PADDING & FONT SIZE **/
	
	a.et_pb_button.et_pb_bg_layout_light{
		font-size: calc(14px + (18 - 14) * ((100vw - 981px) / (1920 - 981))) !important;
		/*padding-top: calc(20px + (24.5 - 20) * ((100vw - 981px) / (1920 - 981))) !important;
		padding-bottom: calc(20px + (24.5 - 20) * ((100vw - 981px) / (1920 - 981))) !important; 
		padding-left: calc(40px + (60 - 40) * ((100vw - 981px) / (1920 - 981))) !important;
		padding-right: calc(40px + (60 - 40) * ((100vw - 981px) / (1920 - 981))) !important;*/
	} 
	
	.customPadding.et_pb_section{ 
		padding-top: calc(85px + (260 - 85) * ((100vw - 981px) / (1920 - 981))) !important;
		padding-bottom: calc(85px + (260 - 85) * ((100vw - 981px) / (1920 - 981))) !important; 
	}
	
	.customPaddingTwo.et_pb_section{ 
		padding-top: calc(85px + (150 - 85) * ((100vw - 981px) / (1920 - 981))) !important;
		padding-bottom: calc(85px + (150 - 85) * ((100vw - 981px) / (1920 - 981))) !important; 
	}
	
	/** CUSTOM SECTION MARGINS **/
	
	.interim_section_1.et_pb_section{ 
		margin-bottom: calc(0px + (300 - 0) * ((100vw - 981px) / (1920 - 981))) !important; 
	}
	
	.interim_section_2.et_pb_section{ 
		margin-bottom: calc(100px + (300 - 100) * ((100vw - 981px) / (1920 - 981))) !important; 
	}
	
}

@media(min-width:981px) and (max-width:1600px) {
	.et_pb_menu--style-left_aligned.et_pb_text_align_justified .et_pb_menu__menu>nav>ul {
		-webkit-box-pack: lfex-end;
		-ms-flex-pack: flex-end;
		justify-content: flex-end;
	}
}

@media(min-width: 1281px) {
	.et_pb_menu__logo-wrap { flex: 1.5 !important; }
	.fullheightsection {
		height: calc(100vh);
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}
	.logged-in .fullheightsection { height: calc(100vh - 32px ); }
}

@media(min-width: 981px) and (max-width: 1280px) {
	
	.et_pb_row { width: 90%; }
	div#homehero .hero_content_row.et_pb_row, .et_pb_section .hero_content_row.et_pb_row { padding-top: 50px !important; }
	.et_pb_row.hero_feature_row {
		max-height: 72vh !important;
		right: 3vw !important;
	}
	
	.et_pb_menu__logo img { height: 80px !important; }
	li.current-menu-item a:before { bottom: 10px; }
	div#headerMenuSection .et_pb_menu_0_tb_header.et_pb_menu ul li a {
		font-size: calc(16px + (19 - 16) * ((100vw - 981px) / (1920 - 981)));
	}
	
	
	div#homehero {
		padding-bottom: 100px;
	}	
}

@media(min-width: 981px) {
	
	/* CTA button styles */
	.de-menu-cta a {
		color: #000000 !important; /* Change button text color here */
		background-color: #EADDD3; /* Change button background color here */
		border-radius: 10px; /* Set this to 0px if you want a square CTA button */
		-webkit-border-radius: 10px;
		-moz-border-radius: 10px;
		text-align: center;
		line-height: 9px;
		font-weight: 600;
		padding-top: calc(15px + (18 - 15) * ((100vw - 981px) / (1920 - 981))) !important;
		padding-bottom: calc(15px + (18 - 15) * ((100vw - 981px) / (1920 - 981))) !important;
		padding-right: calc(30px + (55 - 30) * ((100vw - 981px) / (1920 - 981))) !important;
		padding-left: calc(30px + (55 - 30) * ((100vw - 981px) / (1920 - 981))) !important;
		text-transform: uppercase;
		display: block;
		border: 0px;
		line-height: 1;
	}
	
	ul#menu-main-menu> li.current-menu-item > a { position: relative; }

	ul#menu-main-menu > li.current-menu-item > a:before {
		content: "";
		position: absolute;
		bottom: -25px;
		left: 0;
		right: 0;
		background-image: url(/wp-content/uploads/2023/02/kata-menu-active.svg);
		width: 100%;
		height: 20px;
		background-repeat: no-repeat;
		background-position: center;
	}

	.dotted_row:before {
		content: "";
		position: absolute;
		top: 10%;
		left: 0;
		right: 0;
		background-image: url(/wp-content/uploads/2023/02/dotted-lines.svg);
		width: 66vw;
		height: 60px;
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center;
		display: block;
		margin: auto;
	}
	
	
	.gform_wrapper.gravity-theme input[type=color], .gform_wrapper.gravity-theme input[type=date], .gform_wrapper.gravity-theme input[type=datetime-local], .gform_wrapper.gravity-theme input[type=datetime], .gform_wrapper.gravity-theme input[type=email], .gform_wrapper.gravity-theme input[type=month], .gform_wrapper.gravity-theme input[type=number], .gform_wrapper.gravity-theme input[type=password], .gform_wrapper.gravity-theme input[type=search], .gform_wrapper.gravity-theme input[type=tel], .gform_wrapper.gravity-theme input[type=text], .gform_wrapper.gravity-theme input[type=time], .gform_wrapper.gravity-theme input[type=url], .gform_wrapper.gravity-theme input[type=week], .gform_wrapper.gravity-theme select, .gform_wrapper.gravity-theme textarea {
		font-size: 22px !important;
		margin-bottom: 0;
		margin-top: 0;
		padding: 25px !important;
		border-radius: 10px !important;
		border: 1px solid #707070;
		color: #000;
	}
	
}

@media (max-width: 980px) {
	
	.consent_field label {
		line-height: 1.3;
	}
	.gform_wrapper.gravity-theme .gfield-choice-input+label {
		vertical-align: top !important;
	}
	
	.inline_buttons .et_pb_button_module_wrapper {
		display: block;
		margin-right: 0px;
	}
	
	.inline_buttons {
		text-align: center !important;
	}
	
	.et_pb_row.reverse-columns-mobile {
		display: flex!important;
		flex-direction: column-reverse!important
	}
	.et_pb_row.reverse-columns-mobile .et_pb_column:last-child,
	.et_pb_row.reverse-columns-mobile .et_pb_column.et-last-child {
		margin-bottom: 30px
	}
	.et_pb_row.reverse-columns-mobile .et_pb_column:first-child {
		margin-bottom: 0;
		z-index: 10
	}
	
	/*.timeline-line {
		left: 26px !important;
	}*/
	
	.et_pb_blurb_position_left.whatmakesusBlurb .et_pb_main_blurb_image .et_pb_only_image_mode_wrap {
		margin-right: 16px !important;
	}
	
	.et_pb_blurb_position_left.whatmakesusBlurb .et_pb_blurb_container {
		padding-left: 16px !important;
	}
	
	.nomargin.et_pb_column {
		margin-bottom: 0 !important;
	}
	
	.et_pb_menu--style-left_aligned.et_pb_text_align_justified .et_pb_menu__wrap {
		-webkit-box-pack: end !important;
		-ms-flex-pack: end !important;
		justify-content: end !important;
	}
	
	.footer_social_icons {
		justify-content: left;
	}
	
	.gform_wrapper.gravity-theme input[type=color], .gform_wrapper.gravity-theme input[type=date], .gform_wrapper.gravity-theme input[type=datetime-local], .gform_wrapper.gravity-theme input[type=datetime], .gform_wrapper.gravity-theme input[type=email], .gform_wrapper.gravity-theme input[type=month], .gform_wrapper.gravity-theme input[type=number], .gform_wrapper.gravity-theme input[type=password], .gform_wrapper.gravity-theme input[type=search], .gform_wrapper.gravity-theme input[type=tel], .gform_wrapper.gravity-theme input[type=text], .gform_wrapper.gravity-theme input[type=time], .gform_wrapper.gravity-theme input[type=url], .gform_wrapper.gravity-theme input[type=week], .gform_wrapper.gravity-theme select, .gform_wrapper.gravity-theme textarea {
		font-size: 18px !important;
		margin-bottom: 0;
		margin-top: 0;
		padding: 16px !important;
		border-radius: 10px !important;
		border: 1px solid #707070;
		color: #000;
	}
	
	.gform_wrapper.gravity-theme .gform_fields {
		grid-row-gap: 30px !important;
	}
	
}

@media (min-width: 768px){
	
	.two_column_blurb {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.two_column_blurb .et_pb_blurb {
		width: 48.5%;
	}
	
	.et_pb_blurb_0_tb_footer .et_pb_main_blurb_image, 
	.et_pb_blurb_1_tb_footer .et_pb_main_blurb_image {
		margin-left: auto;
		margin-bottom: auto;
	}

}

@media(max-width: 767px ) {
	.footer_social_icons {
		justify-content: left;
	}
}