/**
 * Hero banner styles for the Home, Industry and Default templates
 */

/* All Banners
--------------------------------------------- */

.banner-state,
.banner-insurance-type,
.banner-submit {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 1rem !important;
  border: 0;
  border-radius: 3px !important;
  font-size: 16px;
  font-weight: normal;
  line-height: 20px;
  color: #666;
  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.15);
}

.banner-submit {
  width: 100% !important;
}

.banner-insurance-type,
.banner-state {
  margin-bottom: 1rem;
}

.banner-state:focus,
.banner-insurance-type:focus,
.banner-submit:focus {
  box-shadow: 0 0 1px 3px rgba(59, 153, 252, 0.7);
  outline: none;
  border: 0;
}

.banner-insurance-type,
.banner-state {
  display: block;
  margin-right: 1rem;
  margin-bottom: 1rem;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background-color: #ffffff;
  background-image: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-position: right 0.65rem top 50%;
  background-repeat: no-repeat;
  background-size: 15px auto;
  cursor: pointer;
}

.banner-submit {
  padding: 1rem;
  font-size: 18px !important;
  color: #ffffff;
  background-color: #c2185b !important;
}

.banner-submit:hover {
  background-color: #ff9800 !important;
}

/* Home Banner
--------------------------------------------- */

.home-banner {
  background-image: url('../../../assets/images/hero-banner.svg'),
    radial-gradient(circle, rgba(78, 175, 84, 1) 0%, rgba(32, 94, 47, 1) 100%);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: cover;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.home-banner-content {
  display: flex;
  flex-flow: column nowrap;
}

.home-banner-content {
  max-width: 1140px;
  padding: 2rem;
}

.home-banner-title,
.home-banner-description,
.home-banner-insurance-label,
.home-banner-state-label {
  color: #ffffff;
}

.home-banner-title {
  margin-bottom: 1.25rem;
  font-family: 'Crimson Text', serif;
  font-size: 36px;
  line-height: 1.1;
}

.home-banner-description {
  margin-bottom: 0;
  font-size: 16px;
}

.home-banner-form {
  margin-top: 1.5rem;
}

.home-banner-insurance-label,
.home-banner-state-label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 20px;
  font-weight: normal;
  text-align: left;
}

.home-banner-state-label {
  display: none;
}

@media (min-width: 768px) {
  .home-banner-content {
    flex-flow: row nowrap;
    align-items: center;
    min-height: 350px;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .home-banner-left {
    margin-bottom: 0;
    padding-right: 3rem;
    flex-basis: 60%;
  }

  .home-banner-right {
    flex-basis: 40%;
  }

  .home-banner-form {
    margin-top: 0;
  }

  .home-banner-description {
    margin-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .home-banner-form {
    opacity: 0;
    transition: opacity 0.25s;
  }

  .home-banner-content {
    min-height: 400px;
    padding-left: 2rem;
  }

  .home-banner-left {
    flex-basis: 50%;
    padding-left: 2rem;
  }

  .home-banner-right {
    flex-basis: 50%;
  }

  .home-banner-title {
    font-size: 40px;
  }

  .home-banner-description {
    font-size: 18px;
  }

  .home-banner-insurance-label,
  .home-banner-state-label {
    display: inline-block;
    text-align: left;
    font-weight: 200;
  }

  .home-banner-insurance-type,
  .home-banner-state {
    display: inline-block;
    width: auto;
    max-width: none;
    margin-bottom: 0;
    margin-right: 0;
    padding: 8px !important;
    background-image: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-color: transparent;
    background-size: auto;
    box-shadow: none;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    line-height: 24px;
  }

  .home-banner-insurance-type option,
  .home-banner-state option {
    font-weight: 400;
    color: #333;
  }

  .home-banner-submit {
    display: inline-block;
    width: auto !important;
    margin-top: 0.5rem;
  }
}

@media (min-width: 1200px) {
  .home-banner-content {
    min-height: 450px;
  }

  .home-banner-content {
    padding: 0;
  }

  .home-banner-left {
    flex-basis: 50%;
    padding-left: 0;
  }

  .home-banner-right {
    flex-basis: 50%;
    padding-left: 3rem;
  }

  .home-banner-title {
    margin-bottom: 1.65rem;
    font-size: 52px;
  }
}

/* Industry Banner
--------------------------------------------- */

.industry-banner {
  padding: 2rem;
  background-image: url('../../../assets/images/hero-banner.svg'),
    radial-gradient(circle, rgba(78, 175, 84, 1) 0%, rgba(32, 94, 47, 1) 100%);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: cover;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.industry-banner-content {
  display: flex;
  flex-flow: column nowrap;
  max-width: 1140px;
  margin: 0 auto;
}

.industry-banner-left {
  margin-bottom: 2rem;
}

.industry-banner-title,
.industry-banner-description {
  color: #fff;
}

.industry-banner-title {
  font-family: 'Crimson Text', serif;
  font-size: 36px;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.industry-banner-description {
  font-size: 16px;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .industry-banner {
    padding: 4rem 2rem;
  }

  .industry-banner-content {
    flex-flow: row nowrap;
    align-items: center;
  }

  .industry-banner-left {
    margin-bottom: 0;
    padding-right: 2rem;
    flex-basis: 60%;
  }

  .industry-banner-right {
    flex-basis: 40%;
  }

  .industry-banner-title {
    margin-top: -1rem;
  }
}

@media (min-width: 1024px) {
  .industry-banner {
    align-items: center;
    padding: 5rem 2rem;
  }

  .industry-banner-left {
    flex-basis: 55%;
    padding-right: 0;
  }

  .industry-banner-right {
    flex-basis: 45%;
    padding-left: 4rem;
  }

  .industry-banner-title {
    max-width: 75%;
    font-size: 52px;
  }

  .industry-banner-description {
    font-size: 18px;
  }
}

/* Info Banner
--------------------------------------------- */

.info-banner {
  padding: 3rem 1rem;
  background-image: url('../../../assets/images/hero-banner.svg'),
    radial-gradient(circle, rgba(78, 175, 84, 1) 0%, rgba(32, 94, 47, 1) 100%);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: cover;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.info-banner-content {
  max-width: 1140px;
  margin: 0 auto;
}

.info-banner-title,
.info-banner-description {
  color: #fff;
  text-align: center;
}

.info-banner-title {
  margin-bottom: 1rem;
  font-family: 'Crimson Text', serif;
  font-size: 36px;
  line-height: 1.1;
}

.info-banner-description {
  margin-bottom: 0;
  font-size: 16px;
}

@media (min-width: 768px) {
  .info-banner {
    padding: 4rem 1rem;
  }

  .info-banner-description {
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  .info-banner {
    padding: 6rem 4rem;
  }

  .info-banner-title {
    font-size: 52px;
  }
}
