/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification\
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a {
  color: #0077cc;
}

.form-control:focus {
    border-color: #0077cc;
    outline: black auto 1px;
    box-shadow: none;
}

.form-check-input:focus {
    border-color: #0077cc;
    box-shadow: none;
    outline: black auto 1px;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-primary:focus {
    box-shadow: none;
    outline: black auto 1px;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.btn-link.nav-link:focus {
  outline: black auto 1px;
}

html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.container {
  max-width: 960px;
}

.pricing-header {
  max-width: 700px;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  overflow: scroll;
  white-space: nowrap;
  line-height: 60px;
}

/* USMEX mobile login fix - stack logo + form, full-width inputs */
@media (max-width: 768px) {
  main > div > div[style*="flex-direction: row"],
  main > div > div {
    flex-direction: column !important;
    align-items: center !important;
    height: auto !important;
    min-height: auto !important;
    justify-content: flex-start !important;
    padding: 1.25rem 1rem 2rem !important;
    gap: 1.5rem !important;
  }

  main .col-md-4 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  main .col-xl-2,
  main .col-lg-3 {
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    flex: 0 0 100% !important;
  }

  main section {
    width: 100% !important;
  }

  main img[src*="logo"] {
    width: 100% !important;
    max-width: 200px !important;
    height: auto !important;
  }

  main h1 {
    font-size: 1.75rem !important;
    margin-bottom: 0.5rem !important;
  }

  main .form-floating > .form-control {
    font-size: 16px !important; /* stops iOS zoom hiding the field */
  }

  body {
    margin-bottom: 0 !important;
    overflow-x: hidden !important;
  }

  main {
    padding-bottom: env(safe-area-inset-bottom, 1rem) !important;
  }
}
