/* -------------------------------------------------------------------------
 * ACCOUNT AUTHENTICATION PAGES
 * Account-only styling kept separate from the main BAW-D theme stylesheet.
 * ------------------------------------------------------------------------- */

body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper,
body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main,
body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.user-login-form,
body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.user-pass,
body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.user-form,
body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.user-register-form,
body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.confirmation {
  width: 100%;
  max-width: 820px;
  min-width: 0;
  margin: auto;
  box-sizing: border-box;
}

body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.user-login-form .form-item,
body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.user-pass .form-item,
body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.user-form .form-item,
body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.user-register-form .form-item {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.user-login-form input,
body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.user-pass input,
body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.user-form input,
body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.user-form select,
body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.user-form textarea,
body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.user-register-form input,
body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.user-register-form select,
body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.user-register-form textarea {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.bawd-account-auth-form > h2.bawd-account-auth-form__title {
  margin: 0 0 1.4rem;
  color: #173f47;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
}

body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content #block-bawd-bartik-socialauthlogin.block.block-social-auth.block-social-auth-login {
  width: 100%;
  max-width: 820px;
  min-width: 0;
  margin: 0 0 1.5rem;
  box-sizing: border-box;
}

body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content #block-bawd-bartik-socialauthlogin.block.block-social-auth.block-social-auth-login > h2 {
  margin: 0 0 1rem;
  color: #173f47;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
}

body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content #block-bawd-bartik-socialauthlogin.block.block-social-auth.block-social-auth-login .content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}

body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content #block-bawd-bartik-socialauthlogin.block.block-social-auth.block-social-auth-login .content a.social-auth.auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border-radius: 10px;
  line-height: 0;
}

body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content #block-bawd-bartik-socialauthlogin.block.block-social-auth.block-social-auth-login .content a.social-auth.auth-link img.social-auth.auth-icon {
  display: block;
  width: 4.5em;
  height: 4.5em;
  margin: 0;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content #block-bawd-bartik-socialauthlogin.block.block-social-auth.block-social-auth-login .content a.social-auth.auth-link:hover img.social-auth.auth-icon,
body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content #block-bawd-bartik-socialauthlogin.block.block-social-auth.block-social-auth-login .content a.social-auth.auth-link:focus img.social-auth.auth-icon {
  filter: drop-shadow(0 5px 8px rgba(8, 63, 75, 0.18));
  transform: translateY(-2px) scale(1.04);
}

body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content #block-bawd-bartik-socialauthlogin.block.block-social-auth.block-social-auth-login .content a.social-auth.auth-link:focus {
  outline: 3px solid rgba(8, 127, 140, 0.2);
  outline-offset: 5px;
}

@media (min-width: 600px) and (max-width: 900px) {
  body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content nav.tabs ul.tabs.primary {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0.5rem;
  }

  body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content nav.tabs ul.tabs.primary li {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }

  body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content nav.tabs ul.tabs.primary li a {
    justify-content: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

@media (max-width: 760px) {
  body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.user-login-form,
  body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.user-pass,
  body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.user-form,
  body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.user-register-form,
  body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.confirmation {
    max-width: 100%;
  }

  body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content #block-bawd-bartik-socialauthlogin.block.block-social-auth.block-social-auth-login .content {
    gap: 1rem;
  }

  body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content #block-bawd-bartik-socialauthlogin.block.block-social-auth.block-social-auth-login .content a.social-auth.auth-link img.social-auth.auth-icon {
    width: 3.75em;
    height: 3.75em;
  }
}

@media (max-width: 480px) {
  body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content form.bawd-account-auth-form > h2.bawd-account-auth-form__title,
  body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content #block-bawd-bartik-socialauthlogin.block.block-social-auth.block-social-auth-login > h2 {
    font-size: 1.25rem;
  }

  body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content #block-bawd-bartik-socialauthlogin.block.block-social-auth.block-social-auth-login .content {
    gap: 0.75rem;
  }

  body.path-user #page-wrapper #page #main-wrapper.layout-main-wrapper #main.layout-main main#content.column.main-content #block-bawd-bartik-socialauthlogin.block.block-social-auth.block-social-auth-login .content a.social-auth.auth-link img.social-auth.auth-icon {
    width: 3.25em;
    height: 3.25em;
  }
}

/* Get rid of the Cancel button on User pages */
form:not([action*="/cancel"]) #edit-delete.button--danger {
  display: none !important;
}

/* Reformat the Cancel button where it DOES appear */
#edit-cancel {
	min-height: 20px !important;
	min-width: 58px !important;
	margin-left: 30px;
}