/* === === === FranchiseHeader === === === */

.FranchiseHeader {
  position: relative;
}

.FranchiseHeader-inner {
  position: relative;
  height: 100%;
  max-height: 920px;
  margin-bottom: 40px;
}

.FranchiseHeader-inner::after {
    content: '';
    position: absolute;
    z-index: 1;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 99px;
    background-image: url('../Images/FranchiseHeader-wave.svg');
    background-size: cover;
  }

@media screen and (min-width: 601px) {

.FranchiseHeader-inner {
    margin-bottom: 0;
}
  }

.FranchiseHeader .Picture {
    max-height: inherit;
  }

.FranchiseHeader .Picture img {
      max-height: inherit;
    }

.FranchiseHeader .IBESearch {
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
}

@media screen and (min-width: 1026px) {

.FranchiseHeader .IBESearch {
    position: absolute;
    z-index: 10;
    top: 40px;
    flex-direction: column;
}
  }

.FranchiseHeader-overlayWrapper {
  position: relative;
  z-index: 10;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
}

@media screen and (min-width: 601px) {

.FranchiseHeader-overlayWrapper {
    position: absolute;
    bottom: 165px;
    left: 50%;
    transform: translateX(-50%);
}
  }

.FranchiseHeader-overlay {
  position: absolute;
  z-index: 10;
  bottom: 0;
  left: 50%;
  width: 90%;
  padding: 20px 30px;
  border-radius: 10px;
  background: #f4f9f9;
  transform: translate(-50%, 20%);
}

@media screen and (min-width: 601px) {

.FranchiseHeader-overlay {
    position: absolute;
    z-index: 10;
    right: 0;
    bottom: 0;
    left: auto;
    left: initial;
    width: auto;
    padding: 30px;
    border-radius: 10px;
    background: #ffffff;
    transform: none;
}
  }

.FranchiseHeader-overlayTitle {
  min-width: 10px;
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 100%;
  color: var(--clr-orange);
}

@media screen and (min-width: 601px) {

.FranchiseHeader-overlayTitle {
    font-size: 4.0625rem;
    line-height: 120%;
}
  }

.FranchiseHeader-overlaySubtitle {
  min-width: 10px;
  font-family: var(--font-primary);
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 100%;
  color: var(--clr-blue);
}

@media screen and (min-width: 601px) {

.FranchiseHeader-overlaySubtitle {
    font-size: 4.25rem;
    line-height: 3rem;
}
  }

.FranchiseHeader-breaker {
  position: relative;
}

.FranchiseHeader-breakerInner {
  position: absolute;
  top: 20px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  font-size: 1.375rem;
  text-align: center;
  background-color: var(--clr-red);
  color: #ffffff;
  transform: translateY(-140%);
}

.FranchiseHeader-breakerInner span {
    width: 100%;
  }

@media screen and (min-width: 1026px) {

.FranchiseHeader-breakerInner {
    transform: translateY(0%);
}
  }
