@font-face {
  font-family: "Proxima Nova Alt Rg";
  src: url("./fonts/ProximaNovaA-Regular.woff2?orgId=00D0Y000001Idpc") format("woff2"), url("./fonts/ProximaNovaA-Regular.woff?orgId=00D0Y000001Idpc") format("woff"), url("./fonts/ProximaNovaA-Regular.ttf?orgId=00D0Y000001Idpc") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova Alt Rg";
  src: url("./fonts/ProximaNovaA-Bold.woff2?orgId=00D0Y000001Idpc") format("woff2"), url("./fonts/ProximaNovaA-Bold.woff?orgId=00D0Y000001Idpc") format("woff"), url("./fonts/ProximaNovaA-Bold.ttf?orgId=00D0Y000001Idpc") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

html {
  box-sizing: border-box;
  font-size: 1em;
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  color: #333;
  font-family: "Proxima Nova Alt Rg", sans-serif;
  margin: 0;
}

textarea {
  resize: vertical;
}

img {
  max-width: 100%;
}

a {
  color: #1c5db5;
  text-decoration: none;
}

.login-main {
  padding: 54px 20px 48px;
}

.login__header {
  position: relative;
  height: 66px;
  background: #ebaa47;
}

.login__header-inner {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding: 0 64px;
}

@media (min-width: 900px) {
  .login {
    margin-right: auto;
    margin-left: auto;
  }
  
  .login__header {
    height: 80px;
  }
  
  .login__wrapper-inner {
    display: flex;
    justify-content: space-between;
    padding: 0 64px;
  }
  
  .login-main {
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
    padding: 100px 0;
  }
}

.login__wrapper-inner {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.login-aside {
  position: relative;
  background-image: url("./images/Hero_Mobile.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  border-top: solid 4px #e7a944;
}

.login-aside:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%), linear-gradient(267.91deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.login-aside__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 460px;
  padding: 40px;
  color: #fff;
}

@media (min-width: 900px) {
  .login-aside {
    display: flex;
    align-items: center;
    border-top: 0;
    width: 480px;
  }
}

.login-aside-old {
  position: relative;
  background-image: url("./images/Old_Hero_Mobile.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  border-top: solid 4px #e7a944;
}

@media (min-width: 900px) {
  .login-aside-old {
    display: flex;
    align-items: center;
    border-top: 0;
    width: 480px;
  }
}

.login__logo {
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 24px;
  width: 70px;
  height: 70px;
  margin: 0;
}

.login__logo:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: -6px;
  bottom: 0;
  left: -6px;
}

.login__logo--footer {
  position: absolute;
  top: -19.5px;
  right: 0;
  left: 0;
  width: 75px;
  height: 75px;
  margin: auto;
  text-align: center;
}

.login__logo--footer:before {
  content: none;
}

@media (min-width: 900px) {
  .login__logo {
    top: 20px;
    left: 20px;
    width: 100px;
    height: 100px;
  }
  
  .login__logo--footer {
    position: relative;
    top: 0;
  }
}

.login__title {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 36px;
  line-height: 1;
  text-align: center;
}

.login__subtitle {
  margin-top: 0;
  margin-bottom: 20px;
  text-align: center;
}

@media (min-width: 900px) {
  .login__title {
    font-size: 32px;
  }
  
  .login__subtitle {
    font-size: 20px;
  }
}

.login__form {
  margin-top: 16px;
}

.login__row {
  position: relative;
  margin-top: 16px;
}

.login__row--focus.has-focus .login__label {
  font-size: 12px;
  top: 10px;
}

.login__label {
  position: absolute;
  top: 18px;
  left: 16px;
  width: 76%;
  transition: top 0.2s, font-size 0.2s;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.login__row--additional {
  margin-top: 8px;
  font-size: 12px;
}

.login__input-text, .login__input-email, .login__input-password {
  font-size: 16px;
  font-weight: bold;
  width: 100%;
  height: 56px;
  padding: 22px 36px 10px 16px;
  border: 1px solid #333;
  border-radius: 5px;
  background-color: #fff;
}

.login__row--submit {
  text-align: center;
}

.text-center {
  text-align: center;
}

.login__row--no-account {
  max-width: 335px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
  text-align: center;
  font-size: 14px;
}

.login__input-checkbox {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.login__row--checkbox .login__label {
  position: relative;
  top: 0;
  left: 0;
  width: auto;
  display: flex;
  cursor: pointer;
  overflow: initial;
  white-space: initial;
}

.login__row--checkbox .login__label:before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-right: 16px;
  border: 1px solid #b6a999;
  background-color: #fff;
  border-radius: 5px;
  transition: background-color 0.3s, border 0.3s;
}

.login__row--checkbox .login__label:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  opacity: 0;
  -webkit-transform: translate(50%, 40%);
  transform: translate(50%, 40%);
  background-image: url("./images/check-circle.svg");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 50% 50%;
  transition: opacity 0.3s;
}

.login__input-checkbox:checked ~ .login__label:before {
  background-color: #1c5db5;
  border-color: #1c5db5;
}

.login__input-checkbox:checked ~ .login__label:after {
  opacity: 1;
}

@media (min-width: 900px) {
  .login__form {
    max-width: 416px;
    margin: 24px auto 0;
  }
  
  .login__group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .login__row {
    margin-top: 24px;
  }
  
  .login__group .login__row {
    width: 48%;
  }
  
  .login__group .login__row--checkbox {
    width: 100%;
  }
  
  .login__group .login__row--submit {
    width: 100%;
  }
  
  .login__row--checkbox label {
    font-size: 16px;
  }
  
  .login__row--no-account {
    max-width: none;
  }
  
  .login__row--additional {
    margin-top: 8px;
  }
}

.login__footer {
  position: relative;
  z-index: 1;
  height: 340px;
  padding: 54px 20px 0;
  border-top: solid 2px #e7a944;
  background-image: url("./images/Homepage_Footer_Imagefooter.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

.login__footer:after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(37, 40, 42, 0.2);
}

.login__footer__text {
  text-align: center;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
}

@media (min-width: 900px) {
  .login__footer__wrapper {
    width: 336px;
    margin-left: 16%;
    -webkit-transform: translate(0, -72px);
    transform: translate(0, -72px);
  }

  .login__footer__text {
    margin-top: 0;
  }
}

.icon-check {
  position: absolute;
  top: 32px;
  right: 16px;
  width: 20px;
  height: 20px;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  opacity: 1;
  transition: opacity .3s;
  background-repeat: no-repeat;
  background-position: 96% 50%;
  background-size: 20px 20px;
  background-image: url("./images/error.svg");
  pointer-events: none;
}

.login__errors {
  text-align: center;
  color: #d0021b;
  font-size: 14px;
}

.login__error {
  margin-top: 8px;
  font-size: 12px;
  color: #d0021b;
}

.login__row--error .login__label {
  color: #d0021b;
}

.login__row--error .login__input-text, .login__row--error .login__input-email {
  border-color: #d0021b;
}

.login__row--error .icon-check {
  opacity: 1;
  background-image: url("./images/error.svg");
}

.btn {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding-right: 32px;
  padding-left: 32px;
  font-weight: bold;
  color: #fff;
  line-height: 1;
  border: solid 2px #e7a944;
  border-radius: 24px;
  background-color: transparent;
  box-shadow: 0 10px 30px 0 rgba(51, 51, 51, 0.2);
  transition: border-color 0.3s, color 0.3s;
  cursor: pointer;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}

.btn--yellow {
  background-color: #e7a944;
}

.btn:after {
  content: "";
  width: 20px;
  height: 20px;
  margin-left: 12px;
  background-image: url("./images/arrow-right.svg");
  background-repeat: no-repeat;
  background-size: 20px 20px;
}