/* Find a Doctor Hero
   -------------------------------------------------- */
.fad-hero {
   background-color: #f2f2f2;
   padding: 90px 0 60px;
   position: relative;
   overflow: visible;
}

.fad-hero:before {
   content: "";
   position: absolute;
   top: -25px;
   left: 0;
   width: 125%;
   height: 50px;
   background-color: #fff;
   background-size: 100%;
   border-bottom-right-radius: 300%;
   display: block;
   z-index: 1;
}

.fad-hero__container {
   max-width: 700px;
   margin: 0 auto;
   padding: 0 15px;
   text-align: center;
}

.fad-hero__headline {
   font-size: 54px;
   color: #002D97;
   font-family: 'Merriweather Sans', sans-serif;
   font-weight: 700;
   margin: 0 0 15px;
   line-height: 1.2;
}

.fad-hero__supporting-text {
   font-size: 18px;
   color: #434343;
   margin: 0 0 60px;
   line-height: 1.5;
}

.fad-hero__search {
   position: relative;
   margin-bottom: 30px;
}

/* search icon */
.fad-hero__search::after {
   content: "\f14a";
   font-family: "icons" !important;
   font-style: normal;
   font-weight: normal;
   font-variant: normal;
   text-transform: none;
   display: inline-block;
   vertical-align: middle;
   line-height: 1;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   font-size: 24px;
   position: absolute;
   top: 50%;
   right: 20px;
   transform: translateY(-50%);
   color: #005AE8;
   pointer-events: none;
   z-index: 2;
}

/* Kyruus widget overrides */
.fad-hero #fad-kyruus-search-widget form {
   padding: 0;
}

.fad-hero #fad-kyruus-search-widget form .ky-search-form label {
   display: none;
}

.fad-hero #fad-kyruus-search-widget form .ky-search-form .ky-input-search-terms {
   position: relative;
   width: 100%;
   padding: 0;
}

.fad-hero #fad-kyruus-search-widget form .ky-search-form input.ky-full-width {
   width: 100%;
   height: 70px;
   color: #757575;
   font-size: 18px;
   border: 2px solid #005AE8;
   border-radius: 45px;
   padding: 0 60px 0 25px;
   background-color: #fff;
   outline: none;
   box-shadow: none;
}

.fad-hero #fad-kyruus-search-widget form .ky-search-form input.ky-full-width:focus {
   border-color: #002D97;
   box-shadow: 0 0 0 2px rgba(0, 90, 232, 0.2);
}

/* hide zip code field */
.fad-hero #fad-kyruus-search-widget form .ky-input-location {
   display: none !important;
}

/* hide search label */
.fad-hero #fad-kyruus-search-widget form .ky-search-label {
   display: none !important;
}

/* hide search submit button */
.fad-hero #fad-kyruus-search-widget form .ky-submit-search {
   display: none !important;
}

/* search icon inside input */
.fad-hero #fad-kyruus-search-widget form .ky-right-input-group {
   position: absolute;
   top: 50%;
   right: 15px;
   transform: translateY(-50%);
   width: 40px;
   height: 40px;
   display: flex;
   align-items: center;
   justify-content: center;
}

.fad-hero #fad-kyruus-search-widget form .ky-right-input-group button {
   width: 30px;
   height: 30px;
   padding: 0;
   background: none;
   border: none;
   cursor: pointer;
   color: #005AE8;
}

.fad-hero #fad-kyruus-search-widget form .ky-right-input-group button span {
   font-size: 24px;
   color: #005AE8;
}

.fad-hero #fad-kyruus-search-widget form .ky-search-submit {
   display: none;
}

/* typeahead suggestions panel */
.fad-hero #fad-kyruus-search-widget .ky-typeahead-results {
   position: relative;
   z-index: 100;
   border: 1px solid #d9d9d9;
   border-radius: 10px;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
   margin-top: 5px;
   background-color: #fff;
   text-align: left;
}

.fad-hero #fad-kyruus-search-widget .ky-typeahead-results .ky-typeahead-result {
   padding: 12px 20px;
   cursor: pointer;
   font-size: 16px;
   color: #434343;
   border-bottom: 1px solid #f2f2f2;
}

.fad-hero #fad-kyruus-search-widget .ky-typeahead-results .ky-typeahead-result:last-child {
   border-bottom: none;
}

.fad-hero #fad-kyruus-search-widget .ky-typeahead-results .ky-typeahead-result:hover,
.fad-hero #fad-kyruus-search-widget .ky-typeahead-results .ky-typeahead-result:focus,
.fad-hero #fad-kyruus-search-widget .ky-typeahead-results .ky-typeahead-result.ky-typeahead-result-active {
   background-color: #f2f2f2;
   color: #002D97;
}

.fad-hero #fad-kyruus-search-widget .ky-typeahead-results .ky-typeahead-result .ky-typeahead-category {
   font-size: 14px;
   color: #999;
   display: block;
   margin-top: 2px;
}

/* CTA button - uses .fad-hero parent to beat Kyruus a { color !important } */
.fad-hero .fad-hero__cta {
   display: inline-flex;
   text-align: center;
   align-items: center;
   justify-content: center;
   user-select: none;
   background-color: #005AE8;
   border: 2px solid #005AE8;
   border-radius: 45px;
   padding: 14px 40px;
   cursor: pointer;
   font-weight: 600;
   text-decoration: none !important;
   font-size: 16px;
   color: #fff !important;
   font-family: 'Merriweather Sans', sans-serif;
   transition: all 0.35s ease;
   margin-top: 15px;
}

.fad-hero .fad-hero__cta:hover {
   color: #005AE8 !important;
   background-color: #fff;
}

.fad-hero .fad-hero__cta:active {
   color: #fff !important;
   border-color: #002D97;
   background-color: #002D97;
}

/* Responsive */
@media (max-width: 767.98px) {
   .fad-hero {
      padding: 60px 15px;
   }

   .fad-hero:before {
      display: none;
   }

   .fad-hero__headline {
      font-size: 36px;
   }

   .fad-hero__supporting-text {
      font-size: 16px;
      margin-bottom: 30px;
   }

   .fad-hero #fad-kyruus-search-widget form .ky-search-form input.ky-full-width {
      height: 56px;
      font-size: 16px;
      padding: 0 50px 0 20px;
   }

   .fad-hero .fad-hero__cta {
      padding: 12px 30px;
      width: 100%;
      justify-content: center;
   }
}
