/**
 * Theme Name:     Hello Elementor Child
 * Author:         Vision infotech
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1. Common 
2. Header
3. Footer
4. FAQ
5. Contact Form
6. Testimonial Slider
7. Responsive
--------------------------------------------------------------*/


/*--------------------------------------------------------------
COMMON 
--------------------------------------------------------------*/

.mb-20{
	margin-bottom:20px;
}
button:focus,
input:focus,
textarea:focus {
  outline: none;
  box-shadow: none;
}


/*--------------------------------------------------------------
HEADER
--------------------------------------------------------------*/

.ehf-header header#masthead {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff; 
  transition: all 0.3s ease;
}

header .hfe-nav-menu-icon {
    height: 25px;
}

header .hfe-menu-item.elementor-button {
    margin-left: 10px;
}

/*--------------------------------------------------------------
Footer
--------------------------------------------------------------*/

.footer-border {
  border: 0.5px solid transparent;
  border-image-source: linear-gradient(90deg, rgba(68, 167, 73, 0) 0%, #44A749 49.04%, rgba(68, 167, 73, 0) 100%);
  border-image-slice: 0.5;
  border-radius: 8px; 
}

/*--------------------------------------------------------------
FAQ
--------------------------------------------------------------*/

.e-n-accordion-item[open]{
	  border-bottom-left-radius: 0;
  	border-bottom-right-radius: 0;
}
.e-n-accordion 
> .e-n-accordion-item[open] 
> .e-n-accordion-item-title {
  border-bottom: 0 !important;
	 position: relative;
}
.e-n-accordion 
> .e-n-accordion-item[open] 
> .e-n-accordion-item-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 30px;     
  right: 30px;  
  height: 1px;
  background: #ccc;  
}

body .e-n-accordion-item[open] summary {
  border-top:0;
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
body .e-n-accordion-item[open] > div.e-flex.e-con.e-child {
  border-top: 0 !important;
}
body .e-n-accordion-item[open] summary .e-n-accordion-item-title-text {
  font-weight: 500;
}
.elementor-widget-n-accordion .e-n-accordion-item .e-n-accordion-item-title-icon span>svg,
.elementor-widget-n-accordion .e-n-accordion-item[open]>.e-n-accordion-item-title .e-n-accordion-item-title-icon span>svg,
.elementor-widget-n-accordion .e-n-accordion-item:not([open]):hover>.e-n-accordion-item-title .e-n-accordion-item-title-icon span>svg {
	fill: #fff;
}

/*--------------------------------------------------------------
CONTACT FORM
--------------------------------------------------------------*/

body .wpcf7-form select,
body .wpcf7-form  input,
body .wpcf7-form textarea ,
body .wpcf7-form .wpcf7-form-control.wpcf7-submit {
  margin-bottom: 0;
}

.wpcf7-form br{
  display:none;
}

.wpcf7-form input:hover,
.wpcf7-form textarea:hover,
.wpcf7-form select:hover,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus,
.wpcf7-form input:focus-visible,
.wpcf7-form textarea:focus-visible,
.wpcf7-form select:focus-visible{
    outline: none;
    border-color: #CCCCCC;
}

.wpcf7-form .form-row textarea{
    height: 96px;
    resize: none;
}

.wpcf7-form .form-row {
  margin-bottom: 15px;
}

.wpcf7-form .form-row:nth-last-of-type(1) {
  margin-bottom: 0px;
}

.wpcf7-form .two-col p:first-child{
  display: flex;
  gap: 30px;
}

.wpcf7-form span.wpcf7-form-control-wrap {
    width: 50%;
}

.wpcf7-form .two-col input,
.wpcf7-form .two-col select {
  width: 100%;
}

.wpcf7-form .form-row select:has(option:first-child:checked),
.wpcf7-form .form-row select[aria-invalid="true"] {
  color: #565656; 
}

.wpcf7-form .form-row select[aria-invalid="false"] {
  color: #111111; 
}

.wpcf7-form input[type=date], 
.wpcf7-form input[type=email], 
.wpcf7-form input[type=number], 
.wpcf7-form input[type=password], 
.wpcf7-form input[type=search], 
.wpcf7-form input[type=tel], 
.wpcf7-form input[type=text], 
.wpcf7-form input[type=url], 
.wpcf7-form select, 
.wpcf7-form textarea
{
	width: 100%;
  padding: 15px;
  border: 1px solid #CCCCCC;
  border-radius: 10px;
  font-size: 16px;
  line-height: 19px;
}

.wpcf7-form .form-row input::placeholder,
.wpcf7-form .form-row textarea::placeholder,
.wpcf7-form .form-row select::placeholder {
  color: #565656 !important;
  font-size: 16px !important;
  line-height: 19px;
  opacity: 1;
}

body .wpcf7-form select {
  appearance: none; 
  -webkit-appearance: none;
  -moz-appearance: none;
  color: #565656;
  width: 100%;
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px auto;
  background-image: url("./assets/images/arrow-down.svg");
}

body .wpcf7-form .form-row input[type="checkbox"] {
    margin: 0;
}

body .wpcf7-form .wpcf7-list-item {
	margin-left:0px;
}

body .wpcf7-form .wpcf7-list-item label{
	display:flex;
	align-items: center;
	gap:10px;
	margin-bottom: 0;
}

body .wpcf7-form .checkbox-row{
  	margin-bottom: 15px;
}

.wpcf7-form .read-text,
.wpcf7-form .agree-terms .wpcf7-list-item-label{
  font-size: 16px;
  line-height: 19px;
}

body .wpcf7-form input[type="submit"]{
    background-color: #44A749;
    border-radius: 6px;
    padding: 8px 25px;
    border: none;
    font-size: 16px;
    line-height: 19px;
}

body .wpcf7-form input[type="submit"]:hover {
  background-color: #5FC963;
}

.wpcf7 form .wpcf7-response-output {
    margin-top: 10px;
    margin-left: 0px;
}

body .wpcf7-form input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid #CCCCCC; 
  border-radius: 5px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

body .wpcf7-form input[type="checkbox"]:hover {
  border-color: #2e8135;
  background-color: #eaffea;
}

body .wpcf7-form input[type="checkbox"]:checked {
  background-color: #44A749; 
  border-color: #44A749;
}

body .wpcf7-form input[type="checkbox"]:checked::after {
  content: "✔";
  color: #fff;
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.agree-terms .wpcf7-acceptance .wpcf7-list-item-label {
  width: calc(100% - 20px);
}

/*--------------------------------------------------------------
TESTIMONIAL SLIDER
--------------------------------------------------------------*/

blockquote {
    margin: 0;
}

.testimonial-slider {
  max-width: 963px;
  margin: 0 auto;
}

.testimonial-inner {
  display: flex;
  align-items: center;
  gap: 30px;
}

.testimonial-left {
  flex: 0 0 40%;
}

.testimonial-right {
  flex: 1 1 60%;
}

.testimonial-inner:not(:has(.testimonial-left)) .testimonial-right {
  flex: 1 1 100%;
  width: 100%;
}

.testimonial-left img{
  margin: 0 auto;
}

.quote-icon img {
  margin-bottom: 15px;
}

.testimonial-text blockquote {
  color: #333;
  margin-bottom: 15px;
}

.testimonial-text p{
	font-size:16px;
	line-height:22px;
	color:#111;
}

.testimonial-author,
.testimonial-location{
	font-size:16px;
	line-height:19px;
  font-weight: 500;
  color: #111;
}

/* Responsive CSS */
@media only screen and ( max-width: 1200px ) {
	
  .ehf-header header#masthead  .menu-item a.hfe-menu-item.elementor-button{
    background-color:unset;
    color:#111;
    padding:15px;
    margin:0;
  }

  body .hfe-nav-menu__layout-horizontal {
    background-color: #FAFAFA;
  }
	
  body header .hfe-nav-menu .hfe-nav-menu__layout-horizontal .hfe-nav-menu .menu-item a.hfe-menu-item {
    padding:15px;
  }
  body .hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-horizontal li,
  body .hfe-nav-menu__breakpoint-tablet .hfe-nav-menu{
        width: 100%;
        margin-right:0px;
    }

  body .hfe-nav-menu__breakpoint-tablet .hfe-layout-horizontal .hfe-nav-menu__toggle,
  body .hfe-nav-menu__breakpoint-tablet .hfe-layout-vertical .hfe-nav-menu__toggle {
      display: block;
  }

  body .hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
      visibility: hidden;
      opacity: 0;
  }

  body .hfe-nav-menu__breakpoint-tablet .hfe-active-menu + .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
      visibility: visible;
      opacity: 1;
    padding:15px;
  }

  body .hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-horizontal,
  body .hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-vertical {
      visibility: hidden;
      opacity: 0;
      height: 0;
  }

  body .hfe-nav-menu__breakpoint-tablet .hfe-active-menu + .hfe-nav-menu__layout-horizontal,
  body .hfe-nav-menu__breakpoint-tablet .hfe-active-menu + .hfe-nav-menu__layout-vertical {
      visibility: visible;
      opacity: 1;
      height: auto;
  }

  body .hfe-nav-menu__breakpoint-tablet .hfe-active-menu.hfe-active-menu-full-width + .hfe-nav-menu__layout-horizontal,
  body .hfe-nav-menu__breakpoint-tablet .hfe-active-menu.hfe-active-menu-full-width + .hfe-nav-menu__layout-vertical,.hfe-nav-menu__submenu-classic{
      position: absolute;
  width:100%;
  }

  body .hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-horizontal .sub-menu {
      visibility: hidden;
      opacity: 0;
  }

  body .hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-horizontal .menu-item-has-children .menu-item-has-children .sub-menu {
      top: 0;
      left: 0;
  }

  body .hfe-nav-menu__breakpoint-tablet .hfe-layout-horizontal .hfe-nav-menu__toggle,
  body .hfe-nav-menu__breakpoint-tablet .hfe-layout-vertical .hfe-nav-menu__toggle
  {
      visibility: visible;
      opacity: 1;
      display: block;
  }

  body .hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-vertical {
      float: none;
  }

  body .hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-horizontal .hfe-nav-menu .menu-item-has-children:hover > .sub-menu,
  body .hfe-nav-menu__breakpoint-mobile .hfe-nav-menu__layout-horizontal .hfe-nav-menu .menu-item-has-children:hover > .sub-menu,
  body .hfe-nav-menu__breakpoint-none .hfe-nav-menu__layout-horizontal .hfe-nav-menu .menu-item-has-children:hover > .sub-menu {
      visibility: hidden;
      opacity: 0;
      -webkit-transition: none;
      transition: none;
  }

  body .hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-horizontal .sub-menu {
      position: relative;
      height: 0;
  }

  body .hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-horizontal .sub-menu {
      position: relative;
      height: 0;
      top: 0;
  }

  body .hfe-nav-menu__breakpoint-tablet .saved-content,
  body .hfe-nav-menu__breakpoint-tablet .sub-menu,
  body .hfe-nav-menu__breakpoint-tablet .child {
      left: 0 !important;
      width:auto !important;  
  }

  body .hfe-nav-menu .sub-menu {
      min-width: auto;
      margin: 0;
  }  
}

@media (max-width: 767px) {
	
  .quote-icon img {
      width: 25px;
  }
  .wpcf7-form .two-col p:first-child {
      flex-direction: column;
      width: 100%;
      gap: 15px;
  }
  .wpcf7-form span.wpcf7-form-control-wrap {
    width: 100%;
  }
  .e-n-accordion 
> .e-n-accordion-item[open] 
> .e-n-accordion-item-title::after {
  left: 20px;     
  right: 20px;    
}
  .testimonial-inner {
    gap: 20px;
    flex-direction: column;
  }
  .testimonial-left,
  .testimonial-right {
      width: 100%;
  }
}

