/*
 Theme Name:   Divi Child
 Theme URI:    https://heartwoodtreecare.ca/
 Description:  Divi Child Theme
 Author:       Marketing-Blendz
 Author URI:   https://heartwoodtreecare.ca/
 Template:     Divi
 Version:      1.0.0
*/




/*----------Script changing number CSS -----*/

.num_with_icon a {
    position: relative;
    color: #fff;
  font-size: 15px;
    padding-left: 25px;
    font-weight: 500;
}
.num_with_icon a:hover{
    color: #e32e00;
}
.num_with_icon a:before {
    position: absolute;
    font-family: "ETmodules";
    content: "\e090";
    left: 0px;
    font-size: 17px;
    color: #e32e00;
}


/*--------------------  Default CSS --------------------------------*/


@media (min-width: 1700px) { 
#max_width_row.et_pb_row {
    max-width: 1680px;
    margin: auto !important;
}
}

.gform_validation_errors {
    display: none !important;
}
.responsive_image img{
	object-fit:cover;
}
.arrow_list ul, 
.white_arrow_list ul{
    padding: 0;
    list-style-type: none;
}
.arrow_list ul li, 
.white_arrow_list ul li{
    position: relative;
    padding-left: 25px;
}
.arrow_list ul li:before, 
.white_arrow_list ul li:before{
    content: "9";
    font-family: "ETmodules" !important;
    color: #e42e00;
    font-weight: 700;
    font-size: 25px;
    top: 0px;
    position: absolute;
    left: -5px;
}
.white_arrow_list ul li:before{
	color:#fff !important;
}

/* Scroll to top Button */

span.et_pb_scroll_top.et-pb-icon{
    padding: 5px 5px 7px;
    background: #02801b;
}

/*---------------------  Header CSS  -----------------------------*/

#menu-header li.menu_cta_btn a {
    letter-spacing: 0px;
    color: #ffffff !important;
    background-color: #03801b;
    padding: 10px 25px 8px !important;
    border-width: 0px !important;
    border-radius: 50px !important;
    transition: all .3s !important;
    width: 100%;
    height: 45px;
}
#menu-header li.menu_cta_btn a:hover{
	background-color: #765025 !important;
	color:#fff !important;
}
/*.has_et_pb_sticky div#main_header_sec.et_pb_section.et_pb_sticky_module {*/
/*    background-color: #000 !important;*/
/*    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);*/
/*}*/
#et-boc .has_et_pb_sticky #main_header_sec.et_pb_sticky_module,
.et-boc .has_et_pb_sticky #main_header_sec.et_pb_sticky_module {
    background-color: #000 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.55) !important;
    transition: background 0.5s ease, box-shadow 0.5s ease;
}
#main_header_sec {
	transition: background 0.5s ease, box-shadow 0.5s ease;
}
.has_et_pb_sticky .main_menu_row img {
    border-radius: 20px !important;
    width: 220px;
}
.has_et_pb_sticky .top_header_row {
	background-color: #03801b !important;
}
.top_header_row {
	transition: background 0.5s ease;
}
.main_menu_row img {
	transition: width 0.5s ease, border-radius 0.5s ease;
}
.has_et_pb_sticky #main_header_sec .main_menu_row{
    padding-top: 17px !important;
    padding-bottom: 0px !important;
}
#main_header_sec .main_menu_row{
	transition: padding 0.5s ease;
}
@media (min-width: 1289px) {  
    #main_header_sec .top_header_row {
    display: none;
    }
}
@media (max-width: 1288px) {  
	.main_menu_row .dipi-cta-button-menu-item {
    display: none !important;
	}
}
@media (min-width: 981px) and (max-width: 1107px) {
    ul#menu-header li a {
    font-size: 14px;
    }
.main_menu_row .et_pb_menu__logo-wrap {
    width: 210px !important;
    max-width: 100%;
    }
}
/*--------------------------------- Service Page Css --------------------------------------------*/

.single_service_blurb .et_pb_main_blurb_image, 
.single_service_blurb .et_pb_main_blurb_image img{
    width: 100%;
	height: 350px;
    object-fit: cover;
}
.single_service_blurb .et_pb_blurb_container {
    position: relative;
}
.single_service_blurb .et_pb_blurb_container {
    position: relative;
    padding: 20px 5px;
}
.single_service_blurb .et_pb_blurb_container:before {
    content: url(/wp-content/uploads/2025/07/ico-1.png);
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #f17dde;
    transition: all 0.3s;
    top: -35px;
	box-shadow: rgb(255 255 255 / 65%) 0px 0px 1px 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 93px;
    height: 86px;
    border-radius: 50px;
    border: 2px solid #000;
	    filter: invert(1);
}
.et_pb_blurb_description a:hover {
    color: #e42e00;
}

.banner-section {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
/* Column 1: stack rows naturally */
.blurb-button-image-row .et_pb_column:nth-child(1) .et_pb_row {
  margin-bottom: 20px;
}

/* Column 2: flex‑center the image */
.blurb-button-image-row .et_pb_column:nth-child(2) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
/* make the outer row equal‑height flex */
.blurb-button-image-row .et_pb_row {
  display: flex;
  align-items: stretch;
}

/* Column 1: stack in a column */
.blurb-button-image-row .et_pb_column_10 {
  display: flex;
  flex-direction: column;
}

/* push the nested blurbs row to auto height */
.blurb-button-image-row .et_pb_row_inner_1 {
  margin: 20px 0; /* spacing above/below blurbs */
}

/* Column 2: center its image */
.blurb-button-image-row .et_pb_column_11 {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* spaciality section */

.et_pb_column.et_pb_column_1_2.et_pb_column_7.speciality-col-two.et_pb_css_mix_blend_mode_passthrough.et_pb_column_single {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: -webkit-fill-available;
  background-size: 75%;
}

.speciality-section .et_pb_row {
  width: 100%;
}
/* Tablet (<= 980px) */
@media (max-width: 980px) {
  .et_pb_column.et_pb_column_1_2.et_pb_column_7.speciality-col-two {
    background-image: none !important;
    background-size: unset !important;
    background-position: unset !important;
    background-repeat: unset !important;
  }
  .speciality-section .et_pb_row {
    width: unset !important;
  }
}
.new-special-section .et_pb_row {
  width: 100%;
}

@media (min-width: 981px) {
  .new-special-section {
    background: linear-gradient(
      270deg,
      rgba(255, 255, 255, 1) 50%,
      rgba(242, 243, 247, 1) 40%
    );
  }
}
.new-special-col-two {
  display: flex;
  align-items: center;
  padding-right: 00 !important;
  justify-content: center !important;
}
.col_not_flx .et_pb_column_single{
	 display: flex;
	flex-direction:column;
	align-items:center;
}
.owl-dots {
    display: none;
}

/*----------------------------Service-sec--------------------------*/

.Service-sec .slider {
  white-space: nowrap;
}
.Service-sec .slider .wrap {
  white-space: nowrap;
}

.Service-sec .serv-box {
  position: relative;
  margin: 0 10px 30px;
  white-space: nowrap;
}
.Service-sec .serv-box:hover a {
  opacity: 1 !important;
  transition: all 0.3s;
  text-decoration: none;
}
.Service-sec .serv-box:hover .text .ico {
  background: #03801b;
  transition: all 0.3s;
}
.Service-sec .serv-box:hover .text .ico img {
  filter: invert(1);
  transition: all 0.3s;
}
.Service-sec .serv-box .img-box {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  height: 390px;
}
.Service-sec .serv-box .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.Service-sec .serv-box .text {
  position: relative;
  text-align: center;
  min-height: 100px;
  padding: 0 20px;
}
.Service-sec .serv-box .text .ico {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  padding: 20px;
  display: flex;
  margin: 0 auto 20px;
  transition: all 0.3s;
  border: 2px solid #fff;
  margin-top: -50px;
}
.Service-sec .serv-box .text .ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.3s;
}
.Service-sec .serv-box .text h4 {
  color: #000;
  margin: 0 0 10px;
  white-space: normal;
  font-size: 25px;
  font-weight: 600;
  font-family: "Hind", sans-serif;
}
.Service-sec .serv-box .text p {
  white-space: normal;
  line-height: 22px;
  font-weight: 400;
	margin-bottom:10px;
}
.Service-sec .serv-box .text a {
  text-transform: uppercase;
  color: #e32e00;
  opacity: 0;
  transition: all 0.3s;
  font-weight: 600;
}

.scroll-container {
  width: 600px;
  overflow-x: auto;
  height: 20px;
}

.scrollbar {
  width: 2000px;
  height: 10px;
}
/*  */
.slider-progress-bar {
  position: relative;
  height: 10px;
  width: 70%;
  background: #e74c3c;
  border-radius: 10px;
  margin: 20px auto 0 auto;
  overflow: hidden;
  border: 2px solid #e32e00;
}
.slider-progress-bar-thumb {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 40% !important;
  background: #fff;
  border-radius: 10px;
  transition: left 0.3s;
  z-index: 2;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
}

/* testimonial */

.dipi-testimonial-rating {
  margin: 10px 0 0 0;
  text-align: left;
}
.dipi-img-name {
  display: flex;
  align-items: flex-start; 
  gap: 10px;
  margin-top: 15px;
}
.dipi-name-date {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  text-align: left;
  min-height: 80px;
}
.dipi-name-date .dipi-company-name {
  font-size: 0.85em;
  color: #666;
}
.dipi-testimonial-text a {
  color: #e21b1b !important;
  font-weight: bold;
}
.dipi-testimonial-text div {
  display: inline;
}
.dipi-testimonial-img {
  width: 80px;
  height: 80px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
}
.testimonial-row .dipi_testimonial_0 .dipi-testimonial-img {
  margin: 0 !important;
}
.dipi-testimonial-img img {
  object-fit: contain !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dipi-img-name {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 15px;
}
.dipi-testimonial-text {
  height: 150px;
}
/* blog section */
.our-blog-row
  .et_pb_blog_grid
  .et_pb_ajax_pagination_container
  .et_pb_salvattore_content
  .column
  .et_pb_post {
  margin-bottom: 20px;
}

.our-blog-row .et_pb_blog_grid .et_pb_image_container img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
@media (max-width: 980px) {
  .our-blog-row
    .et_pb_blog_grid
    .et_pb_ajax_pagination_container
    .et_pb_salvattore_content
    .column
    .et_pb_post {
		
  }
	.our-blog-row .et_pb_blog_grid .et_pb_salvattore_content {
		display:flex;
		flex-wrap:wrap;
		justify-content:center;
		gap:20px;
	}
	.our-blog-row .et_pb_blog_grid .et_pb_salvattore_content .column{
		width:100% !important;
	}
}
.gallery-row .dipi_masonry_gallery_container img {
  height: 350px !important;
  width: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gallery-row .img-container {
  height: 350px;
  overflow: hidden;
}
/* footer */
ul#menu-footer {
  display: block;
}
.et_pb_widget .wp-block-search__button {
  cursor: pointer;
  background-color: #03801b !important;
  color: #fff !important;
  font-weight: 500 !important;
}
@media (min-width: 981px) and (max-width: 1030px) {
  .footer-menu-row {
    width: 90%;
  }
}
.search-page-post-row
  .et_pb_blog_grid
  .et_pb_ajax_pagination_container
  .et_pb_salvattore_content
  .column
  .et_pb_post {
  min-height: 150px !important;
  margin-bottom: 20px;
}

/* contact-page-form */

.form-section .gform-theme--foundation .gfield input.large,
.ginput_container_select .gfield_select {
	border-radius: 15px !important;
	height: 50px;
	margin-bottom: -20px;
	display:flex;
	align-items:center;
}
.form-section .textarea {
  border-radius: 15px !important;
}
.form-section .gform_confirmation_message {
  color: white !important;
}
.form-section input:focus ,
.form-section select:focus,
.form-section textarea:focus {
  outline: 0 !important;
	border:1px solid #fff !important;
}

 .form-section .gform_validation_error .gform_fields{
	row-gap:15px !important;
}
#gform_submit_button_1, 
#gform_submit_button_2 {
    font-family: 'Hind', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0px;
    color: #03801b !important;
    background-color: #fff;
    padding: 10px 25px 8px !important;
    border-width: 0px !important;
    border-radius: 50px !important;
    transition: all .3s;
    width: 100%;
    height: 45px;
    text-transform: uppercase;
}


#gform_submit_button_1:hover, 
#gform_submit_button_2:hover{
 	background-color: #000 !important;
	color:#fff !important;
}
.validation_message {
  visibility: hidden;
}
/* tree removal page  */
.tree-removal-panel-one-image-module img {
  object-fit: cover;
  object-position: top;
}

.tree-removal-panel-three-text .et_pb_text_inner ul li:before {
  content: "9";
  font-family: "ETmodules";
  color: #e32e00;
  font-weight: bold;
  font-size: 18px;
  top: 2px;
  position: relative;
}
.tree-removal-panel-three-text .et_pb_text_inner ul {
  padding-left: 0 !important;
}
/* tree-removal-faq */
ul.faq {
  list-style-type: none;
  padding-left: 0px !important;
}

ul.faq li:before {
  content: "9";
  font-family: "ETmodules";
  color: #03801b;
  font-weight: bold;
  font-size: 18px;
  top: 2px;
  position: relative;
}

/* submenu */
ul .sub-menu li a {
  border-bottom: 1px solid white !important;
}
.accordion_tabs .et_pb_toggle_open h5.et_pb_toggle_title:after {
    width: 17px;
    height: 10px;
    position: absolute;
    right: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 100 !important;
    content: "\4b" !important;
    font-family: ETmodules !important;
}
.white_bg_acc.accordion_tabs .et_pb_toggle_open h5.et_pb_toggle_title:after {
    color: #000 !important;
}
.accordion_tabs .et_pb_toggle_open h5.et_pb_toggle_title{
	position:relative;
}

/*------------------------ Blog Page Navigation -------------------------------------*/

.wp-pagenavi {
    display: flex;
    align-items: center;
    justify-content: center;
}
.wp-pagenavi .current, 
.page.larger, 
.nextpostslink, 
.previouspostslink, 
.page.smaller {
	font-size: 14px;
    border: 1px solid #03801b !important;
    height: 35px;
    width: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
	font-weight: 600;
	color: #03801b;
}
 
.page.larger:hover, 
.nextpostslink:hover, 
.previouspostslink:hover, 
.page.smaller:hover{
	color: #fff !important;
    background: #03801b;
}
.wp-pagenavi span.current {
    font-weight: bold;
    color: #fff !important;
    background: #03801b;
}

/*--------------------------Single Post page CSS---------------------------------*/

.single_post_content h2, 
.single_post_content h3, 
.single_post_content h4 {
    margin: 10px 0px;
}
@media (max-width: 980px) {
	.post_sidebar .et_pb_widget.widget_block {
    padding: 10px !important;
	}
	.post_sidebar {
    border-right: 1px solid #03801b !important;
}
	
}