/* =======================================
==========New SpotOn error Page===========
======================================= */

* {
  font-family: Lato, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 20px 0;
}
.error-page {
  min-height: 100vh;
  height: 100%;
}


/* Navbar styling */

.error-page .error-page-navbar {
  background-color: transparent;
  padding: 10px 0;
}


/* Global/Content styling */

.error-page-content {
  height: 100%;
}
.error-page-content-wrapper {
  position: relative;
}
.error-page-button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.error-page-button-wrapper a:first-child {
  margin-right: 45px;
}
.error-page-mobile {
  display: block;
  margin: auto;
  margin-bottom: 35px;
}
.error-page-content-mobile {
  display: block;
}
.error-page-text {
  padding: 0;
  top: -35px;
  position: relative;
}
.error-page-content-wrapper {
  text-align: center;
}
.error-page-mobile,
.error-page-content-mobile {
  display: block;
}
.error-page-desktop,
.error-page-button-wrapper {
  display: none;
}
.error-page-content {
  flex-direction: column;
}


/* Responsiveness */

@media (min-width: 640px) {
  .error-page-mobile,
  .error-page-content-mobile {
    display: none;
  }
  .error-page-desktop {
    display: block;
  }
  .error-page-button-wrapper {
    display: flex;
  }
  .error-page .error-page-navbar {
    padding: 20px;
  }
}

@media (min-width: 960px) {
  .error-page-content-wrapper {
    text-align: left;
  }
  .error-page-content {
    flex-direction: row;
  }
  .error-page-navbar img {
    height: auto;
  }

}

@media (min-width: 1200px) {
  .error-page .error-page-navbar {
    padding-left: 30px;
    padding-right: 30px;
  }
}


/* Rebranded Styles */

.spw-error-page {
  box-sizing: border-box;
  margin-bottom: 2rem;
}

.spw-error-page .spw-error-page__nav {
  padding: 1.5rem 0;
}

@media screen and (min-width: 960px) {
  .spw-error-page .spw-error-page__nav {
    padding: 3.25rem 0;
  }
}

.spw-error-page-content {
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
  margin-top: 5rem;
}

@media screen and (min-width: 960px) {
  .spw-error-page-content {
    flex-direction: row;
    margin-top: 10rem;
  }
}

.spw-error-page-content__info {}

.spw-error-page-content__illustration {
  display: flex;
  justify-content: center;
  padding: 0 2rem 2rem;
}

.spw-error-page-content__illustration .spw-error-page-img {
  width: 100%;
  max-width: 20.5rem;
}

@media screen and (min-width: 640px) {
  .spw-error-page-content__illustration .spw-error-page-img {
    max-width: 75%;;
  }
}

@media screen and (min-width: 960px) {
  .spw-error-page-content__illustration .spw-error-page-img {
    margin-left: 4rem;
    max-width: iniitial;
  }
}

@media screen and (min-width: 1200px) {
  .spw-error-page-content__illustration .spw-error-page-img {
    max-width: 31.5rem;
    margin-top: -2rem;
    margin-left: 6rem;
  }
}

.spw-error-page-content__illustration .spw-error-page-img--403 {
  margin-right: -2rem;
}

@media screen and (min-width: 960px) {
  .spw-error-page-content__illustration .spw-error-page-img--404 {
    max-width: 39rem;
    margin-left: 0;
  }
}

@media screen and (min-width: 1200px) {
  .spw-error-page-content__illustration .spw-error-page-img--404 {
    margin-top: 0;
  }
}

.spw-error-page-content__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.875rem;
  letter-spacing: 0;
  line-height: 2.813rem;
  color: var(--black);
  margin-bottom: 0.5rem;
}

@media screen and (min-width: 640px) {
  .spw-error-page-content__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.25rem;
    letter-spacing: 0;
    line-height: 3.375rem;
    margin-bottom: 1rem;
  }
}

.spw-error-page-content__text {
  font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0;
    line-height: 1.313rem;
    color: var(--base70);
    margin: 0 0 2.5rem;
}

@media screen and (min-width: 640px) {
  .spw-error-page-content__text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.125rem;
    letter-spacing: 0;
    line-height: 1.688rem;
  }
}

.spw-error-page-content__title {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 960px) {
  .spw-error-page-content__title {
    margin-left: 0;
  }
}

@media screen and (min-width: 960px) {
  .spw-error-page-content__cta  {
    justify-content: flex-start;
  }
}

@media screen and (min-width: 640px) {
  .spw-error-page-content__cta--mobile {
    display: none;
  }
}

.spw-error-page-btn {
  display: block;
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
}

.spw-error-page-btn:hover {
  text-decoration: none;
}

@media screen and (min-width: 640px) {
  .spw-error-page-btn {
    width: 12.5rem;
    min-width: 12.5rem;
  }
}