body.error404 header.header {
  background: #3461c9 !important;
}

.not-found__wrapper {
  min-height: 65vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.not-found__content {
  margin-bottom: 0 !important;
}

.not-found__body {
  display: flex;
  width: 100%;
  margin: 100px auto 50px;
  align-items: center;
  text-align: left;
}

.not-found__image {
  min-width: 300px;
}

.modalalert .not-found__image {
  min-width: 260px;
}

.not-found__title {
  color: #273E5D;
  font-size: 62px;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.2;
}

.not-found__subtitle {
  font-size: 30px !important;
  line-height: 40px;
  min-height: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #273E5D;
}

@media (max-width: 991px) {
  body.modalalert-show {
    overflow: hidden;
  }

  body.modalalert-show header {
    position: absolute !important;
    background: transparent !important;
  }

  body.modalalert-show main a.menu-button {
    display: none;
  }
  
  .not-found__title {
    text-align: center;
  }

  .not-found__subtitle {
    text-align: center;
  }

  .not-found__body {
    flex-direction: column;
  }

  .not-found__wrapper {
    min-height: 60vh;
  }
}

@media (max-width: 767px) {
  .not-found__title {
    font-size: 48px;
  }
  
  .not-found__subtitle {
    font-size: 28px !important;
    line-height: 40px;
    min-height: 40px;
  }
}

@media (max-width: 480px) {
  .not-found__subtitle {
    margin-top: 5px;
    font-size: 26px !important;
    line-height: 32px;
    min-height: 32px;
  }

  .modalalert .not-found__title {
    font-size: 42px;
    line-height: 50px;
  }

  .modalalert .not-found__subtitle {
    font-size: 22px !important;
    line-height: 28px;
    min-height: 28px;
    margin-top: 0;
    margin-bottom: 5px;
  }

  .modalalert .not-found__text {
    font-size: 15px;
    line-height: 22px;
  }

  .modalalert .not-found__text:not(:last-child) {
    margin-bottom: 0.5rem;
  }
}


@media (max-width: 400px) {
  .modalalert .not-found__body {
    padding: 20px !important;
  }
}

@media (orientation: landscape) and (max-height: 600px) {
  .modalalert .not-found__body {
    padding: 10px !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    flex-direction: row;
  }

  .modalalert .not-found__content {
    width: auto !important;
    flex: unset !important;
    display: block !important;
    margin: 0;
    margin-left: 20px;
  }

  .modalalert .not-found__image img,.not-found__image {
    width: 250px;
  }
}

@media (orientation: landscape) and (max-height: 300px) {
  .not-found__subtitle {
    font-size: 23px !important;
    min-height: 30px;
    line-height: 30px;
  }

  .not-found__text {
    font-size: 16px;
    line-height: 22px;
  }

  .not-found__title {
    font-size: 40px;
  }
}