/* 
Theme Name:		 JFA Ball & Co.
Description:	 Divi Child Theme
Template:		 Divi
Version:		 1.0.0
Text Domain:	 Divi-child
-------------------------------------------------------------- */ 

/* =Theme customization starts here
------------------------------------------------------- */

.two-inline-buttons > .et_pb_column {text-align: center; }
.two-inline-buttons .et_pb_button_module_wrapper { display: inline-block;}
.two-inline-buttons .et_pb_button { margin: 0 7px;}

#main-header #et_mobile_nav_menu .mobile_menu_bar:before {color:white;}
#main-header #mobile_menu {background-color:#007435; border-color:#007435;}
/*-- Global Modules on Product Single Page --*/
.single-product #page-banner, .tax-product-category #page-banner, .post-type-archive-product #page-banner {
  padding-top: 171px;
}
.product-content-module, .product-image-module, .related-product-module, .product-category-title-module, .product-category-content-module,
.product-archive-content-module {
  padding-right: 0 !important;
  border: none !important;
}
.product-content-module #execphp-2, .product-image-module #execphp-3, .related-product-module #execphp-4, .product-category-title-module #execphp-5,
.product-category-content-module #execphp-6, .product-archive-content-module #execphp-7 {
  width: 100% !important;
  margin-bottom: 0 !important;
  margin-right: 0 !important;
}
.product-category-content-module #execphp-6, .related-product-module #execphp-4, .product-archive-content-module #execphp-7 {
  	padding-bottom: 2%;
	margin-bottom: 2.7% !important;
}
.product-category-content-module #execphp-6 + .et_pb_button_module_wrapper {
  clear: both;
  padding: 2% 0;
}
.product-content-module #execphp-2 .et_pb_section {
	padding: 0 !important;
}
.product-content-module #execphp-2 .et_pb_row {
	width: 100% !important;
}
.product-category-title-module h2 {
  text-transform: uppercase;
  font-size: 40px;
  color: #fff !important;
	text-align: center;
}
.related-product-module .et_pb_row, .product-category-content-module .et_pb_row, .product-archive-content-module .et_pb_row {
  width: 100%;
  padding-bottom: 0 !important;
	padding-top: 0;
}
.product-archive-content-module .et_pb_row {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.product-categories .custom-grid-3-col .et_pb_text, .related-product-module .et_pb_row .et_pb_column, .product-category-content-module .et_pb_row .et_pb_column, .product-archive-content-module .et_pb_column {
    background-blend-mode: overlay;
    background-color: rgba(255,255,255,0.4);
    border: 1px solid #fff;
}
#product-categories .two-inline-buttons .et_pb_button_module_wrapper {
  margin-bottom: 0 !important;
}
.related-product-module .et_pb_row .et_pb_column .et_pb_text, .product-category-content-module .et_pb_row .et_pb_column .et_pb_text, .product-archive-content-module .et_pb_column .et_pb_text {
    padding: 15px 15px;
    height: 200px;
    display: table;
    width: 100.1%;
}
.related-product-module .et_pb_row .et_pb_column h3, .product-category-content-module .et_pb_row .et_pb_column  h3, .product-archive-content-module .et_pb_column  h3,
.related-product-module .et_pb_row .et_pb_column h3 a, .product-category-content-module .et_pb_row .et_pb_column  h3 a, .product-archive-content-module .et_pb_column  h3 a {
	color: #007435 !important;
}
.related-product-module .et_pb_row .et_pb_column .et_pb_text:before, .product-category-content-module .et_pb_row .et_pb_column .et_pb_text:before, .product-archive-content-module .et_pb_column .et_pb_text:before {
    background-color: rgba(255, 255, 255, 0.6) !important;
}
.related-product-module .et_pb_row .et_pb_column:hover h3, .product-category-content-module .et_pb_row .et_pb_column:hover h3, .product-archive-content-module .et_pb_column:hover h3,
.related-product-module .et_pb_row .et_pb_column:hover h3 a, .product-category-content-module .et_pb_row .et_pb_column:hover h3 a, .product-archive-content-module .et_pb_column:hover h3 a {
	color: #fff !important;
}
.related-product-module .et_pb_row .et_pb_column:hover .et_pb_text:before, .product-category-content-module .et_pb_row .et_pb_column:hover .et_pb_text:before, .product-archive-content-module .et_pb_column:hover .et_pb_text:before {
    background-color: rgba(0, 116, 53, 1) !important;
}
.ds-vertical-align {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.whiteTxt {
  color: #fff;
  background: #252525;
}
table b {
  font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
  font-weight: 600;
}
.single-product table + br, .single-product table + br + p, .single-product p:empty {
  display: none;
}
.testimonial-grid .et_pb_testimonial:before {
	content: "“";
    font-size: 100px;
    color: #007435;
    line-height: 100%;
    max-height: 71px;
    font-family: 'Font_5200',sans-serif !important;
    margin: 0 auto;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 100;
    text-align: center;
    top: 10px;
	background: none;
}
.testimonial-grid .et_pb_testimonial .et_pb_testimonial_description {
	padding-top: 30px;
}
.testimonial-grid .et_pb_testimonial .et_pb_testimonial_author {
	margin-top: 0;
}
/*-- Custom Responsive Grid --*/
.custom-grid-4-col > .et_pb_column_4_4 > .et_pb_module { float:left; }
.custom-grid-3-col > .et_pb_column_4_4 > .et_pb_module { float:left; }
.bottom-nav li {
	font-weight: 400;
}
.footerIcon {
    color: #ffffff;
    float: left;
    margin-right: 0.25em;
}
#footer-widgets .fwidget {
	width: 100%;
}
#footer-widgets .widget_media_image img {
	-webkit-filter: grayscale(1);
    filter: grayscale(1);
}
/*
* Remove sidebar on all archive pages
*/
.search #main-content .container::before,
.archive #main-content .container::before {
    display: none;
}
.search #left-area,
.archive #left-area {
    width: 100%;
    float: none;
    padding-right: 0;
}
.search #sidebar,
.archive #sidebar {
    display: none;
}
 
/*
* Create Mansonory styles for archive pages
*/
.search #left-area,
.archive #left-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
 
.archive .et_pb_post > a,
.search .et_pb_post > a {
    margin: -20px -20px 20px;
    display: block;
}
 
.search #left-area .et_pb_post,
.archive #left-area .et_pb_post {
    width: calc(33.33% - 20px);
    padding: 20px;
    border: 1px solid #d8d8d8;
    background-color: #fff;
    margin: 0 30px 30px 0;
}
.search #left-area .et_pb_post:nth-child(3n),
.archive #left-area .et_pb_post:nth-child(3n) {
  margin: 0 0 30px 0;
} 
.search #left-area .et_pb_post h2,
.archive #left-area .et_pb_post h2 {
    font-size: 18px;
}
 
.search #left-area .et_pb_post.format-link,
.search #left-area .et_pb_post.format-quote,
.search #left-area .et_pb_post.format-audio,
.archive #left-area .et_pb_post.format-link,
.archive #left-area .et_pb_post.format-quote,
.archive #left-area .et_pb_post.format-audio{
    padding: 0;
}
 
.archive .et_pb_post .et_pb_image_container,
.archive .et_pb_post .et_main_video_container,
.archive .et_pb_post .et_audio_content,
.archive .et_pb_post .et_pb_slider,
.search .et_pb_post .et_pb_image_container,
.search .et_pb_post .et_main_video_container,
.search .et_pb_post .et_audio_content,
.search .et_pb_post .et_pb_slider {
    margin: -20px -20px 10px;
}
 
.archive .et_pb_post.format-audio .et_audio_content{
    margin: 0px -38px 0px;
}
 
.archive .et_pb_post .et_pb_slider .et_pb_slide,
.search .et_pb_post .et_pb_slider .et_pb_slide {
    min-height: 180px;
}
 
.archive .pagination,
.search .pagination {
    padding: 20px 0;
}
#execphp-8 {
  margin: 0;
  width: 100%;
} 
#execphp-8 h2 {
  font-size: 40px;
}
.search-results #page-banner {
  padding-top: 171px;
}
/*
* Media Queries
*/
@media screen and (max-width: 980px) {
  .search #left-area,
  .archive #left-area {
      -moz-column-count: 2;
          column-count: 2;
      -moz-column-gap: 60px;
          column-gap: 60px;
  }
  .delivery-infographic .et_pb_text {
    font-size: 18px !important;
    text-align: center;
    margin-top: 0 !important;
  }
  .delivery-infographic .et_pb_image_wrap, .delivery-infographic img {
    max-width: 80%;
  }
  /*** wrap row in a flex box ***/
  .custom_row {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
  -webkit-flex-wrap: wrap; /* Safari 6.1+ */
  flex-wrap: wrap;
  }
   
  /*** custom classes that will designate the order of columns in the flex box row ***/
  .first-on-mobile {
  -webkit-order: 1;
  order: 1;
  }
   
  .second-on-mobile {
  -webkit-order: 2;
  order: 2;
  }
   
  .third-on-mobile {
  -webkit-order: 3;
  order: 3;
  }
   
  .fourth-on-mobile {
  -webkit-order: 4;
  order: 4;
  }
  /*** add margin to last column ***/
  .custom_row:last-child .et_pb_column:last-child {
  margin-bottom: 30px;
  }
  .product-intro .et_pb_column .et_pb_module, .product-intro .et_pb_column .et_pb_widget_area {
    margin-bottom: 30px !important;
  } 
  .product-intro .et_pb_row:nth-child(2) .et_pb_column .et_pb_module:last-child {
    margin-bottom: 0 !important;
  }
  .product-intro .et_pb_column .et_pb_module.et_pb_button {
    margin-bottom: 0 !important;
  }
  .product-intro .dcsbcm_divi_breadcrumbs_wrapper + .et_pb_text {
    font-size: 16px !important;
  }
  .history-preview .et_pb_column .et_pb_text {
    font-size: 16px !important;
  }
  .industries-preview .et_pb_row {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
  }
  .industries-preview .et_pb_row:first-child {
    padding-top: 30px !important;
  }
  .did-you-know, .our-team-preview {
    padding-top: 10% !important;
    padding-bottom: 10% !important;
  }
  .did-you-know .et_pb_row:nth-child(2), .our-team-preview .et_pb_row:nth-child(2) {
    width: 80% !important;
  }
  .testimonials-preview .et_pb_row {
      padding: 0 0 30px;
  }
  .testimonials-preview .et_pb_row:last-child {
      padding: 0;
  }
  .delivery-shipping .et_pb_row {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
  }
  .who-we-work-intro {
    width: 80% !important;
    max-width: 80% !important;
  }
  .who-we-work-intro br {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  #main-features .et_pb_column .et_pb_blurb:nth-child(3):before {
    background-color: rgba(5, 56, 28, 0.9);
  }
  #main-features .et_pb_column .et_pb_blurb:nth-child(4):before {
    background-color: rgba(5, 56, 28, 0.7);
  }
  #selling-points .et_pb_column .et_pb_blurb:nth-child(3):before {
    background-color: #007435;
  }
  #selling-points .et_pb_column .et_pb_blurb:nth-child(4):before {
    background-color: #0c8b47;
  }
  .et_pb_column, .et_pb_section .et_pb_column .et_pb_module {
      margin-bottom: 0 !important;
  }
  #hero .et_pb_column .et_pb_module {
      margin-bottom: 30px !important;
  }
  #hero .et_pb_column .et_pb_text:nth-child(3) {
    font-size: 18px !important;
  }
  .did-you-know, .our-team-preview {
    padding-top: 10% !important;
    padding-bottom: 10% !important;
  }
  .did-you-know .et_pb_row:nth-child(2), .our-team-preview .et_pb_row:nth-child(2) {
    width: 80% !important;
  }
  .did-you-know .et_pb_row:nth-child(2) p, .our-team-preview .et_pb_row:nth-child(2) p {
    padding-bottom: 1em;
  }
  .our-team-preview .et_pb_row:nth-child(2) p {
    font-size: 20px !important;
  }
  .who-we-work-with .et_pb_row:nth-child(2) .et_pb_column {
    margin-bottom: 30px !important;
  }
  .who-we-work-with .et_pb_row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .delivery-shipping .et_pb_row {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
  }
  .delivery-shipping .et_pb_row .et_pb_column:nth-child(1) .et_pb_text {
    font-size: 18px !important;
  }
  .delivery-shipping .et_pb_row .et_pb_column:nth-child(1) .et_pb_text p {
    padding-bottom: 1em;
  }
  .faq-preview .et_pb_row .et_pb_column h3 + p {
    padding-bottom: 1em;
  }
  .faq-preview .et_pb_row .et_pb_column .et_pb_button_module_wrapper {
    margin-top: 30px;
  }
  h1 {
    font-size: 28px !important;
  }
  h2 {
    font-size: 24px !important;
  }
  h3 {
    font-size: 20px !important;
  }
  h4 {
    font-size: 18px !important;
  }
  .et_pb_button {
    font-size: 18px !important;
  }
  #footer-widgets .footer-widget:nth-child(1) {
    text-align: center;
  }
  #footer-widgets .footer-widget:nth-child(1),
  #footer-widgets .footer-widget:nth-child(3) {
    margin-bottom: 30px !important;
  }
  #footer-widgets .footer-widget:nth-child(2) {
    margin-bottom: 15px !important;
  }
  #footer-widgets .footer-widget:nth-child(3) h4 {
    display: none;
  }
  #page-banner .et_pb_row:last-child .et_pb_text:last-child {
    font-size: 18px !important;
  }
  
}
@media screen and (max-width: 767px) {
  .search #left-area,
  .archive #left-area {
      -moz-column-count: 1;
          column-count: 1;
  }
  .search .et_pb_post.format-audio .et_audio_content,
  .archive .et_pb_post.format-audio .et_audio_content{
      margin: 0;
  }
  .search #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls div.mejs-time-rail,
  .archive #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls div.mejs-time-rail,
  .search #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls .mejs-time-rail .mejs-time-total,
  .archive #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls .mejs-time-rail .mejs-time-total{
      min-width: 300px!important;
      width: 300px!important;
  }
}
@media all and (min-width: 981px) {
  .custom-grid-4-col > .et_pb_column_4_4 > .et_pb_module {width: 25% !important; float:left;}
  .custom-grid-3-col > .et_pb_column_4_4 > .et_pb_module {width: 33.33% !important; float:left;}
}

/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
  .custom-grid-4-col > .et_pb_column_4_4 > .et_pb_module {width: 50% !important; float:left;}
  .custom-grid-3-col > .et_pb_column_4_4 > .et_pb_module {width: 50% !important; float:left;}
}
/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {
  .custom-grid-4-col > .et_pb_column_4_4 > .et_pb_module {width: 100% !important; float:left;}
  .custom-grid-3-col > .et_pb_column_4_4 > .et_pb_module {width: 50% !important; float:left;}
}

@media screen and (max-width: 500px) {
  .wpcf7-form input[type=submit] {
    width: 100% !important;
  }
  .close-quote-form {
    display: block;
    text-align: center;
  }
  .et_pb_section .et_pb_row {
    padding: 20px 0;
  }
  .green-bg .et_pb_column {
    padding-top: 8vw !important;
    padding-right: 8vw !important;
    padding-bottom: 8vw !important;
    padding-left: 8vw !important;
  }
  #main-features .et_pb_column .et_pb_blurb:nth-child(3):before {
    background-color: rgba(5, 56, 28, 0.7);
  }
  #main-features .et_pb_column .et_pb_blurb:nth-child(4):before {
    background-color: rgba(5, 56, 28, 0.9);
  }
  #selling-points .et_pb_column .et_pb_blurb:nth-child(3):before {
    background-color: #0c8b47;
  }
  #selling-points .et_pb_column .et_pb_blurb:nth-child(4):before {
    background-color: #007435;
  }
  .did-you-know, .our-team-preview {
      padding-top: 12% !important;
      padding-bottom: 12% !important;
  }
  .testimonials-preview .et_pb_row {
      padding: 0 0 30px;
  }
  .testimonials-preview .et_pb_row:last-child {
      padding: 0;
  }
  .product-category-content-module #execphp-6, .related-product-module #execphp-4, .product-archive-content-module #execphp-7 {
      padding-bottom: 8%;
  }
  .product-categories .custom-grid-3-col {
      padding-bottom: 8% !important;
  }
  .product-category-content-module #execphp-6, .related-product-module #execphp-4, .product-archive-content-module #execphp-7 {
    padding-bottom: 8%;
  }
  .product-categories .et_pb_row .et_pb_column.et_pb_column_1_4 {
    width: 50% !important;
  }
   
}