/*
Theme Name: Divi Child Theme
Version: 1.0
Description: A customized version of Divi for Williams & Case
Author: Full Spectrum Marketing
Author URI: http://www.fullspectrummarketing.com
Template: Divi
*/


/* Links */

#main-content a:not(.et_pb_button) {
    text-decoration: underline;
    font-weight: 600;
	    transition: all .3s ease 0ms;

}

#main-content a:not(.et_pb_button):hover {
    text-decoration: none !important;
	color:#647C90;
    transition: all .3s ease 0ms;
}

/* hide Divi branding in footer */

#footer-info {
	display: none;
}

@media only screen and ( min-width:981px) {
	/* set the slider height for hero images */
	.et_pb_slider,
	.et_pb_slider .et_pb_container {
		/*height: 600px !important;*/
	}
	.et_pb_slider,
	.et_pb_slider .et_pb_slide {
		/*max-height: 600px;*/
	}
}

#copyright {
	color: #fff;
	line-height: 5em;
	text-align: center;
}



@media only screen and (min-width: 1275px) {
	.grow-protect-section {
		padding: 25px 0 !important;
	}
	
	.grow-protect-hero {
		padding: 25px 0 !important;
		min-height: 160px !important;
		height: 100% !important;
	}
	
}

@media (max-width: 980px) {
	.grow-protect-section {
		padding: 50px 0 !important;
	}
	
	.grow-protect-hero {
		padding: 30px 0 !important;
	}
}

/* basic forms */

body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
body .gform_wrapper textarea.textarea,
body div.form_saved_message div.form_saved_message_emailform form input[type=text] {
	padding: 1em;
	border: none;
	font-size: 14px;
}

body #page-container .et_pb_button,
body #page-container .gform_button {
	cursor: pointer;
}


/* material design shadows */

body {
	background: #e2e1e0;
	text-align: center;
}

.depth-1 {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.depth-2,
.hover-cols .et_pb_column {
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.depth-3 {
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.depth-4 {
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.depth-5 {
	box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
}

.depth-hover {
	transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.depth-hover:hover,
.hover-cols .et_pb_column:hover {
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
	-webkit-transform: translateY(-2px);
	transform: translateY(-2px);
	cursor: pointer;
}

.depth-hover:hover .et_pb_testimonial_portrait {
	-webkit-filter: grayscale(75%);
	filter: grayscale(75%);
	filter: saturate(5);
}

.depth-hover .et_pb_testimonial_portrait,
.hover-cols .et_pb_column {
	transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}


/* material design button click ripple */

.ripple {
	overflow: hidden;
}

.ripple:active {
	position: absolute;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	background: white;
	animation: ripple-animation 2s;
}

@keyframes ripple-animation {
	from {
		transform: scale(1);
		opacity: 0.4;
	}
	to {
		transform: scale(100);
		opacity: 0;
	}
}


/* custom css below */

body,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 400;
}

#top-menu li a {
    font-weight: 600 !important;
}

/*HEADER: MAX MEGA MENU + DIVI THEME BUILDER */
#desktop-header-section{
	padding: 0;
}

#desktop-secondary-menu-row{
	padding: 1rem;
	background-color: #0078C2;
	color: #ffffff;
}

#desktop-secondary-menu-row .et_pb_module,
#desktop-primary-menu-row .et_pb_module{
	margin-bottom: 0 !important;
}

#desktop-primary-menu-row{
	padding: 1.5rem 2rem;
}

.desktop-menu-flex{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#mega-menu-wrap-primary-menu #mega-menu-primary-menu>li.mega-menu-item>a.mega-menu-link,
#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu>li.mega-menu-item>a.mega-menu-link,
#mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-item,
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1>li.mega-menu-item>a.mega-menu-link,
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1>li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
	letter-spacing: 2px;
}

@media only screen and (max-width: 768px) {
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1>li.mega-menu-flyout ul.mega-sub-menu{
		border-top: 1px solid #0078C2;
	}

	#mega-menu-item-4006{
		margin: 15px 0 !important;
	}
}

.request-quote-btn a.mega-menu-link{
	background-color: #0078C2 !important;
	border-radius: 6px !important;
	color: #ffffff !important;
	border: 1px solid #0078C2 !important;
	width: fit-content !important;
	transition: .2s ease !important;

}

.request-quote-btn a.mega-menu-link{
	color: #fff !important;
}

.resources-btn{
	border: 1px solid #0078C2 !important;
	border-radius: 6px !important;
	width: fit-content !important;
}

.request-quote-btn a.mega-menu-link:hover,
.resources-btn:hover{
	background-color: #62a6de !important;
	transition: .2s ease !important;
	border-radius: 6px !important;
	color: #1a1a1a !important;
	transition: .2s ease !important;
	text-decoration: underline !important;
}




/*PREVIOUS HEADER (unsure if this needs to be kept*/
@media only screen and (min-width:981px) {
	#main-header > .container,
	#et-footer-nav > .container {
		max-width: 100%;
		width: 100%;
	}
	#main-header #et-top-navigation {
		border-top: 1px solid rgba(0, 0, 0, .2);
		border-bottom: 1px solid rgba(0, 0, 0, .2);
		text-align: center;
		padding-left: 20px;
		padding-right: 20px;
	}
	.et_header_style_centered #top-menu>li>a {
		padding-top: 32px !important;
		padding-bottom: 32px !important;
	}
	#et-footer-nav > .container {
		text-align: center;
		border-bottom: 1px solid rgba(255, 255, 255, .2);
	}
	#et-footer-nav .bottom-nav,
	#et-footer-nav .bottom-nav a {
		font-weight: 500;
	}
	.et-fixed-header .logo_container {
		height: 0 !important;
	}
	#menu-item-174 {
		position: relative;
		top: -2px;
	}
}


/* buttons*/

#page-container #menu-item-174 a,
#page-container .et_pb_button,
#menu-privacy-statement #menu-item-198 a,
.gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type=submit],
.gform_wrapper .gform_page_footer input.button,
.gform_wrapper .gform_page_footer input[type=submit] {
	-webkit-box-shadow: 0px 0.2em 0px 0px #005f99;
	-moz-box-shadow: 0px .2em 0px 0px #005f99;
	box-shadow: 0px 0.2em 0px 0px #005f99;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 2px;
	font-weight: 700;
	font-style: normal;
	padding: 1em 1.5em !important;
	display: inline-block;
	border-radius: 3px;
	border: none !important;
	background-color: #0078c2;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	color: #fff !important;
	-webkit-transition: all .2s 0s ease-in-out, color .1s 0s ease-in-out;
	-moz-transition: all .2s 0s ease-in-out, color .1s 0s ease-in-out;
	-ms-transition: all .2s 0s ease-in-out, color .1s 0s ease-in-out;
	-o-transition: all .2s 0s ease-in-out, color .1s 0s ease-in-out;
	transition: all .2s 0s ease-in-out, color .1s 0s ease-in-out;
}

#page-container #menu-privacy-statement #menu-item-198 a {
	background-color: #fff !important;
	color: #0078c2 !important;
	font-size: 12px;
}

#page-container #menu-item-174 a:hover,
#page-container .et_pb_button:hover,
#menu-privacy-statement #menu-item-198 a:hover {
	background-color: #0081d1;
}

#page-container #menu-privacy-statement,
#page-container #menu-privacy-statement li {
	padding: 0;
	margin: 0 auto;
}

#page-container #menu-privacy-statement li:before {
	content: none;
}

#page-container #menu-privacy-statement li a {
	margin: 0 !important;
}

#page-container #footer-widgets {
	padding-top: 2% !important;
}

#page-container #footer-widgets .footer-widget {
	text-align: center;
	margin-bottom: 2% !important;
}

#nav_menu-2 {
	float: none;
	text-align: center;
}


/* hover-cols */

.hover-cols .et_pb_column {
	padding: 2em !important;
	border-radius: 8px;
}

.hover-cols .et_pb_column .et_pb_main_blurb_image {
	margin-bottom: 0;
}

.hover-cols .et_pb_column .et_pb_module_header {
	font-weight: 500;
}


/* faqs */

.faq-heading h2 {
	padding: 0 !important;
}


/* form */

body #page-container .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
body #page-container .gform_wrapper textarea.textarea,
body #page-container div.form_saved_message div.form_saved_message_emailform form input[type=text] {
	padding: 1em;
	border: none;
	font-size: 14px;
	border: 1px solid #717171;
}


/* red btn */

.red-btn {
	background-color: #B40839 !important;
	text-align: center;
	width: 100%;
	box-shadow: 0px 0.2em 0px 0px #80002a !important;
	display: block;
}

.red-btn img {
	display: block;
	margin: 0 auto;
}

.red-btn:hover {
	background-color: #e00946 !important;
}


/* person */

.et_pb_team_member_image {
	background: transparent url(/wp-content/themes/Divi-child/images/bill-williams-2.jpg) no-repeat center center;
	background-size: contain;
}

.person .et_pb_team_member_image img {
	transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
	background-color: #fff;
}

.person .et_pb_team_member_image:hover img {
	opacity: 0;
}

#bill .et_pb_team_member_image {
	background-image: url(/wp-content/themes/Divi-child/images/bill-williams-2.jpg);
}

#james .et_pb_team_member_image {
	background-image: url(/wp-content/uploads/2023/02/james-w-v2.jpg);
}

#darlene .et_pb_team_member_image {
	background-image: url(/wp-content/themes/Divi-child/images/darlene-pannier-2.jpg);
}

#laura .et_pb_team_member_image {
	background-image: url(/wp-content/themes/Divi-child/images/laura-muhleman-2.jpg);
}

#susan .et_pb_team_member_image {
	background-image: url(/wp-content/themes/Divi-child/images/susan-redinger-2.jpg);
}

/* updated 11/05/24 */
#julie .et_pb_team_member_image {
	background-image: url(/wp-content/uploads/2024/11/julie-a-v2.jpg);
}

/* updated 11/05/24 */
#vicky .et_pb_team_member_image {
	background-image: url(/wp-content/uploads/2024/11/kylie-m-v2.jpg);
}

#katie .et_pb_team_member_image {
	background-image: url(/wp-content/uploads/2023/02/katie-s-v2.jpg);
}

#et-main-area{overflow: hidden;}
.special-list li{list-style:none;}
.special-list li:before{content: "\2022";color: #0078c2;font-weight: bold;display: inline-block;width: 1em;margin-left: -1em;}
.special-list strong{color: #0078c2;}
.et_pb_promo{position:relative;}
.et_pb_promo:before{content:'';position:absolute;width:500%;height:100%;top:0;left:-100%;background:#0078c2;}
.CTA-no-color.et_pb_promo:before{display:none;}

/* Farmers Insurance page 02/25/25 */

/*  toggle background colors */
.ds_toggle__switch > input:checked + label {
	background : #9cc1d8; 
  }
	
  .ds_toggle__switch label {
	background         : #186cb4;
  }
  /* toggle switch color */
  .ds_toggle__switch label::after { 
	background         : #ffffff; 
  }
	
  .ds_toggle__switch_wrapper {
	display         : -webkit-box;
	display         : -ms-flexbox;
	display         : flex;
	align-items     : center;
	justify-content : center;
	margin-bottom   : 20px;
  }
  .ds_toggle__switch_wrapper_inner {
	display     : -webkit-box;
	display     : -ms-flexbox;
	display     : flex;
	align-items : center;
  }
  .ds_toggle__switch {
	position       : relative;
	display        : inline-block;
	vertical-align : middle;
	margin         : 0 30px;
	cursor         : pointer;
  }
  .ds_toggle__switch input[type="checkbox"] {
	position           : relative;
	width              : 100%;
	height             : 100%;
	padding            : 0;
	margin             : 0;
	opacity            : 0;
	z-index            : 3;
	display            : none;
	-webkit-appearance : none;
  }
  .ds_toggle__label {
	line-height : 1.7em;
  }
  .ds_toggle__switch {
	width  : 50px;
	height : 30px;
  }
  .ds_toggle__switch label { 
	cursor             : pointer;
	top                : 0;
	left               : 0;
	right              : 0;
	bottom             : 0;
	width              : 100%;
	height             : 100%;
	position           : absolute;
	-webkit-transition : all 0.3s ease;
	-o-transition      : all 0.3s ease;
	transition         : all 0.3s ease;
	border-radius      : 20px;
  }
  .ds_toggle__switch label::after {
	position           : absolute;
	-webkit-transition : all 0.3s ease;
	-o-transition      : all 0.3s ease;
	transition         : all 0.3s ease;
	top                : 50%;
	-webkit-transform  : translateY(-50%);
	transform          : translateY(-50%);
	content            : "";
	height             : 20px;
	width              : 20px;
	left               : 5px;
	bottom             : 5px;
	border-width       : 0;
	border-radius      : 50%;
  }
  .ds_toggle__switch > input:checked + label::after {
	-webkit-transform : translate(20px, -50%);
	transform         : translate(20px, -50%);
  } 
	
  .ds_toggle__inactive { display: none !important; }

  #farm-overview .et_pb_text_inner ul.first-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
	margin-top: 4rem;
	padding-bottom: 3rem;
}


  #farm-overview .et_pb_text_inner ul:last-child {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 0px;
	grid-row-gap: 0px;
  }

  @media screen and (max-width: 767px) {
	#farm-overview .et_pb_text_inner ul.first-list {
		grid-template-columns: repeat(1, 1fr);
    	margin-top: 3rem;
		padding-bottom: 2rem;
	}

	#farm-overview .et_pb_text_inner ul.first-list li:not(:first-child), 
	#farm-overview .et_pb_text_inner ul.second-list li:not(:first-child) {
		margin-top: 2rem;
	}

	#farm-overview .et_pb_text_inner ul:last-child {
		grid-template-columns: repeat(1, 1fr);
	}

	#page-container .farmer-toggle li {
		line-height: 1.5rem;
		padding: 1rem 0;
	}

	#farm-overview {
		padding-bottom: 0;
	}

	#farm-expert {
		padding-top: 0;
		padding-bottom: 0;
	}

	.farmer-toggle .et_pb_row .et_pb_column:first-child {
		margin-bottom: 16px;
	} 

  }

  #farm-overview .et_pb_text ul strong {
	display: block;
  }

  #farm-overview .et_pb_text ul li {
	list-style-type: none;
	text-align: center;
	display: flex;
	flex-direction: column;
	width: 90%;
  }

  #farm-overview .et_pb_text ul li:nth-child(1):before {
	content:'\f864';
	font-family: 'Font Awesome 6 Pro';
	position: relative;
	display: block;
	margin-right: 0.75rem;
	font-weight: 900;
	color: #005f99;
	font-size: 3rem;
    margin-bottom: 1.25rem;
  }

  #farm-overview .et_pb_text ul li:nth-child(2):before {
	content:'\e546';
	font-family: 'Font Awesome 6 Pro';
	position: relative;
	display: block;
	margin-right: 0.75rem;
	font-weight: 900;
	color: #005f99;
	font-size: 3rem;
    margin-bottom: 1.25rem;
  }

  #farm-overview .et_pb_text ul li:nth-child(3):before {
	content:'\f6c8';
	font-family: 'Font Awesome 6 Pro';
	position: relative;
	display: block;
	margin-right: 0.75rem;
	font-weight: 900;
	color: #005f99;
	font-size: 3rem;
    margin-bottom: 1.25rem;
  }

  #farm-overview .et_pb_text ul.second-list li:nth-child(1):before {
	content:'\f015';
	font-family: 'Font Awesome 6 Pro';
	position: relative;
	display: block;
	margin-right: 0.75rem;
	font-weight: 900;
	color: #005f99;
	font-size: 3rem;
    margin-bottom: 1.25rem;
  }

  #farm-overview .et_pb_text ul.second-list li:nth-child(2):before {
	content:'\f722';
	font-family: 'Font Awesome 6 Pro';
	position: relative;
	display: block;
	margin-right: 0.75rem;
	font-weight: 900;
	color: #005f99;
	font-size: 3rem;
    margin-bottom: 1.25rem;
  }

  #farmer-partner-logos .et_pb_image_wrap {
	height: 150px;
	width: auto;
  }

  #farmer-partner-logos .et_pb_image_wrap img {
	height: 85%;
	width: 100%;
	object-fit: contain;
	object-position: bottom;
  }

  @media screen and (min-width:980px) {
  #farmer-partner-logos .et_pb_column:nth-child(2) {
	margin-right: 2%;
  }
}

  .farmer-toggle li {
	list-style-type: none;
	min-height: 65px;
	display: flex;
	align-items: center;
  }

  .farmer-toggle ul {
	padding-bottom: 0;
  }

  .farmer-toggle li:before {
	content:'\f336';
	font-family: 'Font Awesome 6 Pro';
	position: relative;
	display: inline-block;
	margin-right: 0.75rem;
	font-weight: 900;
	color: #005f99;
	font-size: 1.5rem;
  }

  /* .farmer-toggle .et_pb_row .et_pb_column:last-child {
	display: flex;
    align-items: center;
  } */

.farmer-toggle h3 {
	line-height: 1.2em;
}

#main-header #top-menu .menu-item-has-children>a:first-child:after {
	position: relative;
    margin-left: 5px;
}

#main-header #top-menu .menu-item-has-children>a:first-child {
	padding-right: 0;
}

/* Revision - add button hover state 11/12/25 */

#page-container #et-boc .et_pb_button, 
#mega-menu-wrap-primary-menu #mega-menu-primary-menu>li.mega-menu-item>a.mega-menu-link, 
#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu>li.mega-menu-item>a.mega-menu-link, 
#mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-item, 
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1>li.mega-menu-item>a.mega-menu-link, 
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1>li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link, 
body #page-container .gform_button, 
footer #menu-main-menu-1 li, 
.faq-heading .et_clickable h2 {
	transition: .2s ease all;
}

#page-container #et-boc .et_pb_button:hover, 
body #page-container .gform_button:hover, 
footer #menu-main-menu-1 li:hover {
	    background: #62a6de;
        color: #1a1a1a !important;
        text-decoration: underline;
        border-color: inherit;
}

footer #menu-main-menu-1 li {
	padding: 0 !important;
	border-radius: 8px;
}

footer #menu-main-menu-1 li a {
	padding: 0 0.5rem !important;
}

footer .et-social-icon a {
	color: #FFFFFF;
}

.faq-heading .et_clickable h2:hover {
	opacity: 65%;
	transform: scale(1.01)
}