.hero-content {
  min-height: 500px;
}

.hero-text h1 {
  font-weight: 400;
  font-size: 3.5rem;
}

.hero__content-bottom form {
  position: relative; 
}

.hero__content-bottom form input#hero-search {
  width: 475px !important;
  background: transparent;
  border: 1px solid #29513b !important;
  border-radius: 30px;
  padding-left: 50px;
  position: relative;
  color: #333;
  font-size: 14px;
  letter-spacing: 1px;
  padding-top: 12px;
  position: relative;
}

.hero__content-bottom form input#hero-search:hover, .hero__content-bottom form input#hero-search:focus {
  border: 2px solid #29513b !important;
  font-weight: 600;
}

input#hero-search:before, input#hero-search:after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
}

input#hero-search:before {
  top: 0;
  left: 0;
}

input#hero-search:after {
  bottom: 0;
  right: 0;
}

input#hero-search:hover::before, input#hero-search:focus::before {
    border-top-color: #29513b !important;
    border-right-color: #29513b !important;
    transition: width 0.25s ease-out, height 0.25s ease-out 0.25s;
}

input#hero-search:hover::after, input#hero-search:focus::after  {
    border-bottom-color: #29513b !important;
    border-left-color: #29513b !important;
    transition: border-width 0s ease-out 0.5s, width 0.25s ease-out 0.5s, height 0.25s ease-out 0.75s;
}

#hero-filter-icon {
  position: absolute;
  color: #29513b;
  left: 18px;
  top: 16px;
}

#hero-filter-icon:after {
  height: 45px;
  width: 1px;
  content: '';
  background-color: #29513b;
  top: -16px;
  left: 24px;
  position: absolute;
}

#hero-form:hover #hero-filter-icon:after, body.fixeds #hero-filter-icon:after {
  width: 2px;
  height: 46px;
  transition: width 0.25s ease-out, height 0.25s ease-out 0.25s;
}

.hero__content-bottom .hero-btn a {
  text-decoration: none;
  padding-bottom: 2px;
  color: #29513b;
  letter-spacing: 1px;
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-weight: 400;
    font-size: 2.5rem;
  }
  
  .hero-content {
    min-height: auto;
  }
  
}

.hero__home {
  background-color: #f7f3ea;
}
.hero__home .hero {
  position: relative;
  z-index: 2;
}
.hero__background {
  width: 90%;
  height: 85%;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}
@media (min-width: 992px) {
  .hero__background {
    width: 100%;
    height: 100%;
  }
  
  .hero__home.hover-on, .search-focus .hero__home {
    /*max-height: 683px;*/
  }
}

@media (min-width: 992px) {

  body.fixeds{
    overflow:hidden;
    height:100%; 
  }

  body.fixeds .hero-btn {
    display: none; 
  }

  body.fixeds .hero__content-bottom form {
    position: relative;
    width: 30%;
    margin: 0 auto;
  }

}

@media (max-width: 991px) {
  .hero__background {
    width: 100%;
    height: 80%;
  }
  
  .hero__content-bottom form input#hero-search {
    width: 100% !important; 
  }
  
}


.agent-search {
  display: inline-flex;
  align-items: center;
  border-radius: 25px;
  border-width: 1px !important;
  overflow: hidden;
}

.agent-search:hover, .search-focus .agent-search {
  border-width: 2px !important;
}
.agent-search i {
  width: 3rem;
  text-align: center;
}

.agent-search input {
  font-family: "FranklinGothicURW-Boo";
  font-size: 1rem;
  font-weight: 100;
  letter-spacing: 1px;
  color: #29513b;
  background-color: transparent;
  border-left: 1px solid #29513b;
  width: 30rem !important;
}

.agent-search:hover input {
  border-left: 2px solid #29513b;
  transition: none;
}

.agent-search input.focus-visible, .search-focus .agent-search .search-input {
  border-left: 2px solid #29513b;
}

.search-wrapper {
/*   text-align: center; */
/*   width: 0 */
}

.search-wrapper,
.btn-custom2 {
  transition: all 300ms ease;
}

.hero__home .btn-custom2 {
/*   position: absolute;
  top: 0;
  right: 0; */
}

.search-focus .search-wrapper {
  width: 100%;
}
.search-focus .btn-custom2 {
  position: absolute;
  transform: translate(0px, 100px);
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 1200px) {
  .hero__home .btn-custom2 {
    position: relative;
    display: inline-block;
    margin-top: 2rem;
  }
}

@media (max-width: 767px) {
  .search-wrapper {
    width: 100%;
  }
}



/* Search */
.hero__home .bfg-area-search-wrap {
  background-color: #F6F3EA;
}