/**
 * Provides the @font-face definitions for Proxima Nova.
 */

/** Thin */
@font-face {
  font-family: "Proxima-Nova";
  src: url(https://assets.static.subsplash.com/fonts/proxima-nova/thin/proximanova-thin-webfont.woff2)
    format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

/** Light */
@font-face {
  font-family: "Proxima-Nova";
  src: url(https://assets.static.subsplash.com/fonts/proxima-nova/light/ProximaNova-Light-webfont.woff2)
    format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/** Regular */
@font-face {
  font-family: "Proxima-Nova";
  src: url(https://assets.static.subsplash.com/fonts/proxima-nova/regular/ProximaNova-Reg-webfont.woff2)
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/** Regular Italic */
@font-face {
  font-family: "Proxima-Nova";
  src: url(https://assets.static.subsplash.com/fonts/proxima-nova/regular-italic/ProximaNova-RegIt-webfont.woff2)
    format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/** Semibold */
@font-face {
  font-family: "Proxima-Nova";
  src: url(https://assets.static.subsplash.com/fonts/proxima-nova/semi-bold/ProximaNova-Sbold-webfont.woff2)
    format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/** Bold */
@font-face {
  font-family: "Proxima-Nova";
  src: url(https://assets.static.subsplash.com/fonts/proxima-nova/bold/ProximaNova-Bold-webfont.woff2)
    format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/** Extra Bold */
@font-face {
  font-family: "Proxima-Nova";
  src: url(https://assets.static.subsplash.com/fonts/proxima-nova/extra-bold/ProximaNova-ExtraBold-webfont.woff2)
    format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/**
* Common Utilities
*/
.u__mr--m {
  margin-right: 12px !important;
}

.u__mb--l {
  margin-bottom: 18px !important;
}

.u__mb--xl {
  margin-bottom: 24px !important;
}

.u__text-align--center {
  text-align: center;
}

/**
* Global
*/

body {
  -webkit-font-smoothing: antialiased;
  font-family: "Proxima-Nova", -apple-system, BlinkMacSystemFont, "Roboto",
    "Segoe UI", "Helvetica Neue", "Helvetica", "Arial";
  font-weight: 400;
  font-size: 15px;
  margin: 0;
  padding: 0;

  display: flex;
  justify-content: center;
  align-items: center;
}

a {
  color: #4f63ff;
  text-decoration: none;
}

.auth__legal-link {
  color: #222222;
}

.tab__focus {
  border: 2px solid transparent;
  outline: none;
}

.tab__focus:focus {
  border: 2px solid #222;
  border-radius: 8px;
}

.grecaptcha-badge {
  visibility: hidden;
}

/**
* Utilities
* -----------------------------------------------------------------
*/
/**
* Flows the element inline on the page rather than being positioned relative
* to the top/bottom of the viewport.
*/
.auth--flow {
  position: static !important;
  -webkit-transform: none !important;
  transform: none !important;
}

@media only screen and (min-width: 992px) {
  .auth__secondary-action {
    bottom: 140px;
  }
}

/**
* Auth Wrapper
* -----------------------------------------------------------------
*/
.auth__wrap {
  max-width: 400px;
  flex: 1;
  padding: 48px 24px;
}

.auth__body {
  height: auto;
  left: 0;
  right: 0;
}

/**
* Auth Page Title
* -----------------------------------------------------------------
*/
.auth__title {
  color: #333;
  font-size: 22px;
  height: auto;
  left: 0;
  right: 0;
  font-weight: bold;
  margin-bottom: 12px;
}

.auth__title--center {
  text-align: center;
}

.auth__login {
  font-size: 28px;
  margin-top: 32px;
  font-weight: bold;
  text-align: left;
  color: #222222;
}

.auth__title--with-graphic {
  margin-top: 30px;
}

.auth__title-graphic {
  text-align: center;
  margin-bottom: 18px;
}

.auth__title-graphic--large {
  margin-top: 100px;
}

/* .auth__title-graphic img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
} */

.auth__title-graphic--large img {
  width: 75px;
}

.auth__subtitle {
  color: #747578;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 30px;
}

.icon__wrap {
  border: 3px solid #b8babf;
  border-radius: 50%;
  display: inline-block;
  padding: 24px;
  display: inline-block;
}

.icon__wrap img {
  width: 30px;
  height: 30px;
}

.brand__logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

/**
* Auth Inputs
* -----------------------------------------------------------------
*/
.auth__label {
  color: #747578;
  font-size: 14px;
}

.auth__input {
  /** Removes iOS 12 default input css inner shadow */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  border: solid 2px #f5f6f7;
  border-radius: 8px;
  box-sizing: border-box;
  caret-color: #222;
  display: inline-block;
  font-family: "Proxima-Nova", -apple-system, BlinkMacSystemFont, "Roboto",
    "Segoe UI", "Helvetica Neue", "Helvetica", "Arial";
  background-color: #f5f6f7;
  font-size: 16px;
  margin-top: 4px;
  padding: 10px 0px;
  padding: 12px;
  width: 100%;
  outline: none;
}

.auth__input::placeholder,
.auth__input::-webkit-input-placeholder {
  color: #7e7f82;
}

.auth__input:focus {
  border: solid 2px #222;
  outline-width: 0;
}

.auth__input:disabled {
  border-bottom: solid 2px #f0f1f3;
  background-color: transparent;
  color: #222;
  outline-width: 0;
}

.auth__input--name {
  margin-right: 2%;
  width: 100%;
}

.auth__input--name:nth-of-type(2) {
  margin-right: 0;
  margin-left: 2%;
}

.auth__submit {
  background-color: #222222;
  border: none;
  border-radius: 22px;
  color: #ffffff;
  cursor: pointer;
  font-family: "Proxima-Nova";
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  height: 44px;
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.06), 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  -webkit-appearance: none;
}

.auth__submit:disabled {
  color: rgba(255, 255, 255, 0.5);
  -webkit-opacity: 1;
}

.auth__forgot-password {
  text-align: end;
}

.auth__forgot-password-link {
  color: #747578;
  text-decoration: underline;
  font-size: 14px;
}

.auth__legal {
  color: #747578;
  font-size: 14px;
  line-height: 1.43;
  font-family: "Proxima-Nova", -apple-system, BlinkMacSystemFont, "Roboto",
    "Segoe UI", "Helvetica Neue", "Helvetica", "Arial";
}

.auth__legal a {
  color: #747578;
  text-decoration: underline;
}

.input_container {
  position: relative;
  margin-bottom: 12px;
}

.auth__group--name {
  display: flex;
  justify-content: space-between;
}

.auth__input-confirm-password {
  display: block;
}

.auth__input-error {
  border: 2px solid #fa5560;
}

/**
* Auth Footer
* -----------------------------------------------------------------
*/
.auth__secondary-action {
  color: #7e7f82;
  padding: 20px 20px 10px 20px;
  bottom: 100px;
  left: 0;
  line-height: 22px;
  right: 0;
  text-align: center;
}

.auth__footer {
  margin-top: 24px;
  bottom: 0;
  height: auto;
  left: 0;
  right: 0;
  line-height: 1.43;
  font-size: 14px;
  color: #999b9e;
}

.auth__footer-link {
  color: #747578;
  text-decoration: underline;
}

.auth__footer-logo {
  align-items: center;
  color: #999b9e;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  justify-content: center;
  margin-top: 48px;
}

.subsplash-logo {
  width: 122px;
  height: 11px;
  margin-bottom: 8px;
}

.subsplash-copyright {
  margin: 0;
}

/**
* Media Queries
* -----------------------------------------------------------------
*/
@media screen and (max-height: 795px) {
  .auth__body,
  .auth__title,
  .auth__secondary-action,
  .auth__footer {
    position: static;
  }

  .auth__title {
    margin: 5vh 0;
  }

  .auth__body {
    -webkit-transform: none;
    transform: none;
    margin-bottom: 2vh;
  }

  .auth__secondary-action {
    margin-bottom: 2vh;
  }
}

@media screen and (max-width: 375px) {
  .auth__input--name {
    width: 93%;
  }

  #last_name {
    float: right;
  }
}

/**
* Validation Messages
* -----------------------------------------------------------------
*/
.auth__message {
  background-color: rgba(255, 255, 255, 0.95);
  box-sizing: border-box;
  box-shadow: 0 14px 10px 0 rgba(235, 228, 228, 0.06),
    0 1px 2px 0 rgba(0, 0, 0, 0.04);
  color: #fa5560;
  height: auto;
  left: 0;
  line-height: 1.5;
  padding: 25px;
  position: fixed;
  right: 0;
  text-align: center;
  top: 0;
  white-space: pre-line;
  z-index: 2;
}

.auth__message::after {
  content: "";
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.08),
    rgba(0, 0, 0, 0)
  );
  bottom: -34px;
  height: 34px;
  left: 0;
  pointer-events: none;
  right: 0;
  padding-top: 10px;
}

.error_input {
  color: #cc0000;
}

.login_body_text {
  margin: 50px 0;
  text-align: center;
}

/* Style the tab */
.auth__tabs {
  max-width: 400px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

/* Style the buttons inside the tab */
.auth__tabs button {
  color: #222;
  background-color: #ffffff;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  letter-spacing: 0.3px;
  line-height: 1.38;
  outline: none;
  text-align: center;
  text-decoration: underline;
  padding: 0px;
  -webkit-tap-highlight-color: transparent;
}

/* Create an active/current tablink class */
.auth__tabs button.active {
  color: #222222;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

.tablinks {
  font-family: "Proxima-Nova";
}

#confirm_password-invalid-popover {
  left: 23%;
}
