:root {
  --section-main-bg-color: #fff;
  --section-secondary-bg-color: #fff4ef;
}
#JoinAsAgencyPage {
  width: 100%;
  margin: 0 auto;
  background-color: #fff;
}

#join-btn {
  width: 200px;
  margin: 35px auto 0 auto;
}

#banner-section {
  height: 80vh;
  background: #000;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  position: relative;
  margin-top: 65px;
}

#banner-section .banner-img {
  flex: 1;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  opacity: 0.8;
}

#banner-section .banner-txt-container {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  display: grid;
  place-content: center;
}

#banner-section .banner-txt-container .banner-txt {
  font-family: NeueHaasGroteskDisplayProBold;
  font-size: 56px;
  color: #ffffff;
  color: rgb(255, 255, 255);
  text-align: center;
  max-width: 680px;
  line-height: 1.2;
}

.section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.section-column {
  display: inline-block;
  width: 33%;
  padding-right: 62px;
  padding-left: 62px;
  float: left;
  height: auto;
}

.section-title {
  font-family: NeueHaasGroteskDisplayProBold;
  font-size: 48px;
  color: #2a2928;
  color: rgb(42, 41, 40);
  text-align: center;
  line-height: 1;
  letter-spacing: 0.8px;
  margin-bottom: 40px;
}

.section-subtitle {
  font-family: NeueHaasGroteskDisplayProBold;
  font-size: 40px;
  color: #2a2928;
  color: rgb(42, 41, 40);
  text-align: left;
  line-height: 51px;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.subtitle-width {
  max-width: 200px;
  display: block;
}

.subtitle-width2 {
  max-width: 300px;
  display: block;
}

.inner {
  max-width: 1440px;
  margin: 0 auto;
}

.section-content {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.section-text {
  flex: 1;
  margin: auto 160px auto 115px;
  font-family: Messina Sans;
  font-size: 17px;
  color: #2a2928;
  color: rgb(42, 41, 40);
  text-align: left;
  letter-spacing: 0.36px;
  line-height: 26px;
}

#section3 .section-text {
  margin: auto 115px auto 160px;
}

.section-img {
  width: 45%;
  position: relative;
}

.section-img img {
  width: auto;
  max-width: 100%;
}

#section1,
#section3 {
  background-color: #fff4ef;
}

#section2,
#section4 {
  background-color: #fff;
}

#section2 .section-img,
#section4 .section-img {
  margin-right: 30px;
  margin-left: 45px;
}

#section3 .section-img {
  margin-right: 45px;
  margin-left: 30px;
}

#section1 .inner {
  padding-right: 62px;
  padding-left: 62px;
}

#section1 p {
  margin: 0;
}

#section1 .section-text {
  margin: 0;
}

hr {
  margin-top: 15px;
  margin-bottom: 15px;
  border: 0;
  background: #000000;
  background: rgba(0, 0, 0, 1);
  height: 1px;
}

.the-content small {
  font-family: Messina Sans;
  font-size: 15px;
  color: #999999;
  color: rgb(133, 125, 120);
}

.the-content strong {
  font-family: Messina Sans;
  font-weight: bold;
  font-size: 15px;
  color: #2a2928;
  color: rgb(42, 41, 40);
}

header#my-header {
  z-index: 999999;
}

a:focus {
  color: #2a2928;
  text-decoration: none;
}

#section-faq {
  background: var(--section-secondary-bg-color);
  min-height: 400px;
  padding-top: 60px;
  padding-bottom: 60px;
}

#section-faq .section-title {
  margin-bottom: 60px;
}

.question-tab {
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 1px solid #d8d4d1;
}

.question-tab.last {
  border-bottom: 1px solid #d8d4d1;
}

.question-tab.opened.last {
  border-bottom: 0;
}

.answer-tab {
  font-family: Messina Sans;
  font-size: 15px;
  color: #2a2928;
  overflow: hidden;
  display: none;
}

.question-wrap {
  font-family: Messina Sans;
  font-weight: bold;
  font-size: 18px;
  color: #2a2928;
  color: rgb(42, 41, 40);
  line-height: 1.5;
  text-transform: uppercase;
  user-select: none;
  cursor: pointer;
}

.question-wrap .faq-icon {
  user-select: none;
}
#faq-list {
  padding-left: 140px;
  padding-right: 140px;
}
.question-wrap .faq-icon:after {
  content: "+";
  font-size: 32px;
  width: 32px;
  height: 39px;
  text-align: right;
  line-height: 1;
  float: right;
  display: inline-block;
  position: relative;
  top: -4px;
  cursor: pointer;
  font-weight: normal;
}

.opened .question-wrap .faq-icon:after {
  content: "-";
}

.question-tab.opened + .answer-tab {
  display: block;
  padding-bottom: 30px;
}

@media (max-width: 1024px) {
  #banner-section .banner-txt-container .banner-txt {
    font-size: 48px;
  }

  #banner-section {
    height: 70vh;
  }
  #faq-list {
    padding-left: 80px;
    padding-right: 80px;
  }
}

@media (max-width: 768px), (max-width: 996px) and (min-width: 768px) {
  #banner-section {
    margin-top: 0;
    height: 100vh;
  }

  #banner-section .banner-txt-container .banner-txt {
    font-family: NeueHaasGroteskDisplayProBold;
    font-size: 34px;
    color: #ffffff;
    color: rgb(255, 255, 255);
    max-width: 250px;
    line-height: 64px;
    letter-spacing: 0.68px;
  }

  /*#section3 {*/
  /*background: #fff;*/
  /*padding: 20px;*/
  /*text-align: left;*/
  /*}*/

  /*#section2 .section-img {*/
  /*margin: 0;*/
  /*margin-bottom: 20px;*/
  /*padding-bottom: 56.2%;*/
  /*}*/

  /*#section2 .section-text {*/
  /*padding: 0;*/
  /*margin: 0;*/
  /*}*/
}

@media (max-width: 767px) {
  #join-btn {
    margin-top: 20px;
  }
  #faq-list {
    padding-left: 0px;
    padding-right: 0px;
  }
  #section-faq {
    padding: 25px;
  }
  .section-title {
    font-size: 28px;

    max-width: 250px;
    margin: 0 auto;
    margin-bottom: 25px;
    line-height: 1.5;
  }
  #section-faq .section-title {
    margin-bottom: 25px;
  }
  .question-wrap {
    font-size: 16px;
    line-height: 1.5;
  }
  .faq-icon {
    display: none;
  }
  .question-tab {
    padding-top: 25px;
    padding-bottom: 25px;
  }
  .section {
    padding-top: 40px;
    padding-bottom: 0;
  }

  #section1 .inner {
    padding-right: 0;
    padding-left: 0;
  }

  .section-column {
    width: 100%;
    margin-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
  }

  #section2 .section-content,
  #section4 .section-content {
    flex-direction: column;
  }

  #section3 .section-content {
    flex-direction: column-reverse;
  }

  .section-title,
  .section-subtitle {
    font-size: 30px;
    color: #2a2928;
    letter-spacing: 0.6px;
    margin-bottom: 20px;
    line-height: 39px;
  }

  .subtitle-width,
  .subtitle-width2 {
    max-width: 100%;
  }

  .section-text {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.32px;
    margin: 0;
  }

  #section2 .section-img,
  #section3 .section-img,
  #section4 .section-img {
    margin: 0;
  }

  #section2 br,
  #section3 br,
  #section4 br {
    display: none;
  }

  .section-img {
    width: 100%;
    padding-bottom: 20px;
  }

  .section-img img {
    padding: 0 20px;
  }

  .section-text,
  #section3 .section-text {
    margin: 20px;
  }

  .section-text p {
    margin-bottom: 20px;
  }
}
