.apic-login-wrapper:after,
.apic-reset-wrapper:after,
.apic-register-wrapper:after {
  content: none;
}

.apic-user-form-inner-wrapper,
.apic-user-form-login .apic-portal-title,
.apic-user-form-login .apic-user-form-header,
.user-login-form .apic-user-form-wrapper,
.apic-user-form-footer,
.apic-user-forgot-password ,
.apic-user-form .apic-portal-title,
.apic-user-form-header,
.apic-user-form.apic-user-form-reset-pwd {
  padding: 0;
  margin: 0;
}

.apic-user-form,
.apic-user-form-inner-wrapper,
.context-user-login .form-actions,
.context-user-password .form-actions {
  max-width: unset;
}

.apic-user-form-text,
.apic-user-form-or-container,
.user-login-form .apic-user-form-registries .apic-user-form-subheader {
  display: none;
}

.context--user-login .footer.footer.container,
.context--user-password .footer.footer.container,
.apic-user-form-subheader {
  margin: 0;
}

.context--user-login .main-container,
.context--user-password .main-content,
.context--user-password .apicMainContent {
  padding: 0;
}

.apic-user-form-wrapper {
  width: unset;
  max-width: unset;
}

/* Remove header on login and reset password page */
.context--user-login .apicStickyHeader,
.context--user-password .apicStickyHeader,
.context--user-register .apicStickyHeader{
  display: none !important;
}

/* Remove header margin on login and reset password page */
.context--user-login .apicMainContent,
.context--user-password .apicMainContent,
.context--user-register .apicMainContent{
  margin-top: 0 !important;
}

.context--user-register .apicMainContent > .row > .col-sm-12 {
  padding: 0;
}

/* Remove footer on login and reset password page */
.context--user-login .footer,
.context--user-password .footer,
.context--user-register .footer {
  display: none !important;
}

.apic-user-form {
  padding: 1rem;
  margin: 0;
}

.apic-user-form.apic-user-form-login,
.apic-user-form.apic-user-form-reset-pwd,
.apic-user-form.apic-user-form-register {
  display: flex;
  flex-direction: row;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.apic-user-form-login:before,
.apic-user-form-reset-pwd:before,
.apic-user-form-register:before {
  content: '';
  background-image: url(../../images/login.jpg);
  background-size:     cover;
  background-repeat:   no-repeat;
  background-position: center center;
  width: 100%;
  min-height: 228px;
  display: block;
}

.apic-user-form-login > .apic-login-wrapper,
.apic-user-form-reset-pwd > .apic-reset-wrapper,
.apic-user-form-register > .apic-register-wrapper {
  max-width: 442px;
  width: 100%;
  padding: 0 1rem;
  align-self: center;
}

.apic-user-form-container {
  display: flex;
  flex-direction: column;
}

.apic-user-form-inner-wrapper {
  order: 2;
}

.apic-user-form-inner-wrapper.apic-user-form-registries {
  order: 1;
  padding: 0;
}

.user-register-form .apic-user-form-wrapper,
.user-register-form .apic-user-form-inner-wrapper {
  margin: 0;
}

.apic-user-form .apic-portal-title,
.apic-user-form .apic-user-form-header {
  text-align: center;
}

.apic-user-forgot-password > a,
.reload-captcha-wrapper > a {
  background-color: unset;
  border: unset;
}

.apic-user-form-registries a.registry-button {
  justify-content: flex-start;
}

.apic-user-form-registries a.registry-button svg {
  fill: #141414;
}

@media screen and (max-width: 767px) {
  .apic-user-form.apic-user-form-login,
  .apic-user-form.apic-user-form-reset-pwd,
  .apic-user-form.apic-user-form-register {
    flex-direction: column;
  }

  .apic-user-form-login > .apic-login-wrapper,
  .apic-user-form-reset-pwd > .apic-reset-wrapper,
  .apic-user-form-register > .apic-register-wrapper {
    max-width: unset;
  }
}
