/*************************************/
/******** MOBILE FIRST DESIGN ********/
/*************************************/

/******** START: GENERAL STYLES *******/
h2,
h3,
p {
  color: #5c4c44;
}

p {
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  text-align: center;
}

a {
  color: #5c4c44;
}

a:hover {
  color: #5c4c44;
}

.checklist i {
  color: #f8941d;
}

.container__hero {
  margin-top: 113px;
  margin-left: 0px;
}

.logo-container {
  width: 141px;
  height: 61px;
  margin-left: 19px;
}

#logo {
  width: 100%;
  display: block;
}

#qualify {
  color: #5c4c44;
  padding-left: 30px;
}

#signup {
  color: #d1372f;
}

#qualify:hover,
#signup:hover {
  color: #325b25;
}

/******** END: GENERAL STYLES *******/

/*---------------------------------------*/
/*------- START: COMPONENT STYLES -------*/
/*---------------------------------------*/

/* START: HEADER STYLES */
.c-header__nav {
  background-color: #fff;
}

.c-header__nav ul .c-header__nav-item a {
  color: #5c4c44;
  font-weight: 700;
  font-size: 20px;
  line-height: 32px;
}

.c-header__nav ul .c-header__nav-item:first-child a {
  color: #d1372f;
}

.c-header__nav ul .c-header__nav-item a:hover {
  color: #5c4c44;
}

/* END: HEADER STYLES */

/* START: TEXT-ON-IMAGES STYLES */
.c-text-on-image__title {
  color: #fff;
  font-size: 32px;
  line-height: 100%;
  font-weight: 400px;
}
.swiper-button-next,
.swiper-button-prev {
  margin-top: -5.5rem;
}

.c-text-on-image__paragraph {
  color: #fff;
  font-size: 16px;
  font-weight: 400px;
  line-height: 24px;
  text-align: left;
}

/* END: TEXT-ON-IMAGES STYLES */

/* START: SWIPER CAROUSEL */

.swiper-slide__content {
  justify-content: flex-start;
  padding: 50px 10px 0 10px;
}

.swiper-title {
  color: #5c4c44;
  font-size: 24px;
  font-weight: 400px;
  line-height: 100%;
  margin-left: 72px;
  margin-right: 72px;
}

.swiper-text {
  color: #5f6368;
  font-size: 16px;
  font-weight: 400px;
  line-height: 24px;
  margin-left: 42px;
  margin-right: 42px;
}

.c-swiper-header .c-swiper-header__link {
  color: #77787b;
}

.c-swiper-header .c-swiper-header__link.active {
  color: #77787b !important;
  border-bottom: solid 5px #f7941e;
}

/* END: SWIPER CAROUSEL */

/* START: STEPS */
.c-steps__label {
  color: #fff;
  background-color: #5c4c44;
}

.step-text {
  padding-top: 10px;
}

.c-steps__content--border {
  border: 1px solid #dbdbdb;
}

/* END: STEPS */

/* START: QUALIFICATIONS */

div#qualifications.container {
  width: 90vw;
}

/* END: QUALIFICATIONS */
div#sign-up-1.col-12 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 0;
}

.checklist--text {
  text-wrap: pretty;
  font-size: 20px;
  line-height: 32px;
}

/* START: PARTNERS */

div.container:has(> div.c-partners) {
  width: 90vw;
}

.c-partners__title {
  color: #5c4c44;
}

.c-partners {
  padding: 0;
}

.c-partners__logo {
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.c-partners__logo img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.c-partners {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.c-partners__disclaimer {
  text-align: center;
  color: #afafaf;
}

/* END: PARTNERS */

/* START: FOTTER STYLES */
.c-footer {
  background-color: #4f4f4f;
  padding-top: 50px;
}

.c-footer .footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

p.footer-title {
  color: #fff !important;
  font-weight: 700;
  margin-bottom: 0;
}

p.footer-text {
  color: #fff;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 0;
}

p.footer-text a {
  color: #fff;
  text-decoration: underline;
}

p.footer-text a:visited {
  color: #fff;
  text-decoration: underline;
}

.c-footer p#copyright {
  color: #afafaf;
}

.c-social-media a {
  color: #afafaf;
}

.c-social-media a:hover,
.c-social-media a:active {
  color: #f7941e;
}

/* START: FOTTER STYLES */

/*---------------------------------------*/
/*-------- END: COMPONENT STYLES --------*/
/*---------------------------------------*/

/*---------------------------------------*/
/*-------- START: ELEMENTS STYLES -------*/
/*---------------------------------------*/

/* START: BUTTON STYLES */
.e-button--primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #d1372f;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  width: 250px;
  height: 50px;
  margin: 50px auto 10px auto;
}

.e-button--primary:first-child {
  width: 163px;
  height: 40px;
  margin: unset;
}

.e-button--primary:hover {
  background-color: #d1372f;
  color: #fff;
}

.e-button--primary:active {
  background-color: #325b25;
  color: #fff;
}

.e-button--primary:disabled {
  background-color: #4f4f4f;
  color: #fff;
}

.e-button--secondary {
  background: #fff;
  color: #5c4c44;
}

.e-button--secondary:hover {
  background: #ededed;
  color: #f7941e;
}

/* END: BUTTON STYLES */

.modal-mask {
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: table;
  transition: opacity 0.3s ease;
}

.modal-wrapper {
  display: table-cell;
  vertical-align: middle;
}

.modal-container {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  width: 90%;
  max-width: 650px;
  height: auto;
  max-height: 90%;
  margin: 0px auto;
  padding: 20px 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
  transition: all 0.3s ease;
  overflow-y: auto;
}

.modal-header {
  color: #4f4f4f;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-bottom: 0px;
  margin-bottom: 0;
}

.modal-header h3 {
  font-size: 32px;
  font-weight: 400;
  margin-top: 0;
}

.modal-body {
  display: flex;
  justify-content: center;
  flex: none;
  padding: 0;
  padding-bottom: 30px;
}

.modal-body > div > select {
  width: 90%;
  height: 37px;
}

.modal-footer {
  display: flex;
  justify-content: center;
  border-top: 0px;
}

/*---------------------------------------*/
/*--------- END: ELEMENTS STYLES --------*/
/*---------------------------------------*/

/******************************************/
/*********** START: MEDIA STYLES **********/
/******************************************/
@media only screen and (min-width: 450px) {
  .logo-container {
    width: 180px;
  }
}

@media only screen and (max-width: 768px) {
  .c-partners__logo img {
    width: 100%;
  }

  #aquanta-logo {
    max-width: 193px;
  }

  #google-logo {
    max-width: 232px;
  }

  #ecobee-logo {
    max-width: 200px;
  }

  #honeywell-logo {
    max-width: 228px;
  }
}

@media only screen and (min-width: 768px) {
  .modal-container {
    width: 80%;
    max-width: 650px;
    height: auto;
    max-height: 80%;
  }
  .modal-body > div > select {
    width: 80%;
    max-width: 350px;
  }

  .container__hero {
    width: 100%;
  }

  .c-text-on-image__paragraph,
  .c-text-on-image__title {
    margin-left: 210px;
  }

  .c-text-on-image__paragraph {
    font-size: 24px;
    line-height: 40px;
    font-weight: 400px;
  }

  .c-text-on-image__title {
    font-size: 48px;
  }

  .c-text-on-image__buttons {
    display: flex;
    flex-direction: row;
    margin-left: 210px;
    gap: 20px;
  }

  #signup {
    padding-bottom: 30px;
  }

  #qualify {
    padding-bottom: 30px;
  }

  p.step-text {
    font-size: 20px;
  }

  .swiper-slide__content {
    margin-top: 2rem;
    align-items: center;
  }

  .swiper-text {
    display: flex;
    font-size: 20px;
    align-items: center;
    justify-content: center;
    margin-left: 75px;
    margin-right: 50px;
  }

  .c-footer .footer-content {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .c-footer .footer-content footer-text {
    justify-content: left;
  }

  .c-partners__disclaimer {
    text-align: left;
  }

  #aquanta-logo {
    max-width: 207px;
  }

  #google-logo {
    max-width: 232px;
  }

  #ecobee-logo {
    max-width: 207px;
  }

  #honeywell-logo {
    max-width: 365px;
  }
  a.c-partners__logo {
    margin-bottom: 2em;
  }
  .c-footer p {
    font-size: 20px;
  }

  p.footer-text {
    text-align: left;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
  }
}

@media only screen and (min-width: 992px) {
  .modal-container {
    width: 650px;
    height: 325px;
  }

  .qualifications__description {
    text-wrap: pretty;
  }

  .logo-container {
    width: 168px;
  }

  div#sign-up-1.col-12 {
    display: none;
  }

  .c-text-on-image__buttons-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .e-button--primary:first-child {
    width: 270px;
    height: 50px;
  }

  .e-button--secondary.sm-hidden.md-hidden {
    width: 270px;
    height: 50px;
  }

  #logo {
    margin: -10px 0;
  }
  .modal-body > div > select {
    width: 350px;
  }
}

@media only screen and (max-width: 992px) {
  .checklist--text {
    font-size: 16px;
    line-height: unset;
  }
}

/******************************************/
/*********** END: MEDIA STYLES ************/
/******************************************/
