/*Bootstrap 5*/
/* These pages were built on Bootstrap 4.3.1. Where 5 changed a default these pages show, it is put
   back here, so the move is not a redesign. Kept from 5 on purpose: the link colour (#0d6efd, 4.5:1
   on white; 4's #007bff was 4.0:1), the darker text-muted, alert text and control text, the
   keyboard-only focus rings. */
:root {
  /* 4's font stack (5 starts with system-ui). */
  --bs-font-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4's corner radii (5 rounds controls, buttons, alerts and cards more). */
  --bs-border-radius: .25rem;
  --bs-border-radius-sm: .2rem;
  --bs-border-radius-lg: .3rem; }

/* 5 underlines links; 4 did on hover only. */
a {
  text-decoration: none; }

a:hover {
  text-decoration: underline; }

/* 4's fixed heading sizes (5 scales them down below 1200px). */
h1, .h1 {
  font-size: 2.5rem; }

h2, .h2 {
  font-size: 2rem; }

h3, .h3 {
  font-size: 1.75rem; }

h4, .h4 {
  font-size: 1.5rem; }

.display-4 {
  font-size: 3.5rem; }

small, .small {
  font-size: 80%; }

hr {
  color: #000;
  opacity: .1; }

/* 4's 30px gutters, and no 1320px container from 1400px. */
.container, .container-fluid, .row {
  --bs-gutter-x: 30px; }

@media (min-width: 1400px) {
  .container {
    max-width: 1140px; } }

/* 4's control border (its fixed control height is on .form-control below). */
.form-control, .form-select {
  --bs-border-color: #ced4da; }

.alert {
  --bs-alert-padding-x: 1.25rem;
  --bs-alert-padding-y: .75rem; }

.card {
  --bs-card-spacer-y: 1.25rem;
  --bs-card-spacer-x: 1.25rem;
  --bs-card-cap-padding-y: .75rem;
  --bs-card-cap-padding-x: 1.25rem;
  --bs-card-title-spacer-y: .75rem;
  --bs-card-border-color: rgba(0, 0, 0, .125); }

/* .form-group is this stylesheet's own class now (5 dropped it); see the rules further down. */

/*Common*/
@media (max-width: 767px) {
  .menu {
    text-align: center; }
    .menu-logo {
      font-size: 1.2em; }
  /* Below md the menu items are in the #account-menu collapse that the Menu button opens. */
  .welcome-block h1 {
    font-size: 2em; } }

@media (min-width: 768px) {
  .menu-item {
    display: block; }
  .menu-button {
    display: none; } }

.border-top {
  border-top: 1px solid #e5e5e5; }

.border-bottom {
  border-bottom: 1px solid #e5e5e5; }

.box-shadow {
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05); }

.welcome-block {
  max-width: 700px; }

.forgot-success .custom-form1{
    text-align: left;
    padding: 20px;
}

.form-header h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333333;
}

.form-description {
    font-size: 14px;
    color: #666666;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    color: #333333;
}

.form-control {
    padding: 5px;
    height: calc(1.5em + .75rem + 2px); /* Bootstrap 4's; 5 sizes controls by their padding */
}

.password-rules ul {
    padding-left: 20px;
}

.password-rules ul li {
    font-size: 14px;
    color: #666666;
}

.btn-link {
    padding: 0;
    color: #007bff;
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: underline;
}

.btn-primary {
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    .btn-primary:hover {
        background-color: #0056b3;
    }

.additional-actions {
    margin-top: 15px;
}

.logo, .logo:hover {
  color: black;
  text-decoration: none; }

.col-m-5 {
  margin: 5px; }

.col-m-10 {
  margin: 10px; }

.col-m-15 {
  margin: 15px; }

.col-m-20 {
  margin: 20px; }

.col-m-25 {
  margin: 25px; }

.col-m-30 {
  margin: 30px; }

.col-m-35 {
  margin: 35px; }

.col-m-40 {
  margin: 40px; }

.col-m-45 {
  margin: 45px; }

.col-m-50 {
  margin: 50px; }

.col-m-b-5 {
  margin-bottom: 5px; }

.col-m-b-10 {
  margin-bottom: 10px; }

.col-m-b-15 {
  margin-bottom: 15px; }

.col-m-b-20 {
  margin-bottom: 20px; }

.col-m-b-25 {
  margin-bottom: 25px; }

.col-m-b-30 {
  margin-bottom: 30px; }

.col-m-b-35 {
  margin-bottom: 35px; }

.col-m-b-40 {
  margin-bottom: 40px; }

.col-m-b-45 {
  margin-bottom: 45px; }

.col-m-b-50 {
  margin-bottom: 50px; }

.col-m-t-5 {
  margin-top: 5px; }

.col-m-t-10 {
  margin-top: 10px; }

.col-m-t-15 {
  margin-top: 15px; }

.col-m-t-20 {
  margin-top: 20px; }

.col-m-t-25 {
  margin-top: 25px; }

.col-m-t-30 {
  margin-top: 30px; }

.col-m-t-35 {
  margin-top: 35px; }

.col-m-t-40 {
  margin-top: 40px; }

.col-m-t-45 {
  margin-top: 45px; }

.col-m-t-50 {
  margin-top: 50px; }

.col-m-l-5 {
  margin-left: 5px; }

.col-m-l-10 {
  margin-left: 10px; }

.col-m-l-15 {
  margin-left: 15px; }

.col-m-l-20 {
  margin-left: 20px; }

.col-m-l-25 {
  margin-left: 25px; }

.col-m-l-30 {
  margin-left: 30px; }

.col-m-l-35 {
  margin-left: 35px; }

.col-m-l-40 {
  margin-left: 40px; }

.col-m-l-45 {
  margin-left: 45px; }

.col-m-l-50 {
  margin-left: 50px; }

.col-m-r-5 {
  margin-right: 5px; }

.col-m-r-10 {
  margin-right: 10px; }

.col-m-r-15 {
  margin-right: 15px; }

.col-m-r-20 {
  margin-right: 20px; }

.col-m-r-25 {
  margin-right: 25px; }

.col-m-r-30 {
  margin-right: 30px; }

.col-m-r-35 {
  margin-right: 35px; }

.col-m-r-40 {
  margin-right: 40px; }

.col-m-r-45 {
  margin-right: 45px; }

.col-m-r-50 {
  margin-right: 50px; }

.col-p-5 {
  padding: 5px; }

.col-p-10 {
  padding: 10px; }

.col-p-15 {
  padding: 15px; }

.col-p-20 {
  padding: 20px; }

.col-p-25 {
  padding: 25px; }

.col-p-30 {
  padding: 30px; }

.col-p-35 {
  padding: 35px; }

.col-p-40 {
  padding: 40px; }

.col-p-45 {
  padding: 45px; }

.col-p-50 {
  padding: 50px; }

.col-p-b-5 {
  padding-bottom: 5px; }

.col-p-b-10 {
  padding-bottom: 10px; }

.col-p-b-15 {
  padding-bottom: 15px; }

.col-p-b-20 {
  padding-bottom: 20px; }

.col-p-b-25 {
  padding-bottom: 25px; }

.col-p-b-30 {
  padding-bottom: 30px; }

.col-p-b-35 {
  padding-bottom: 35px; }

.col-p-b-40 {
  padding-bottom: 40px; }

.col-p-b-45 {
  padding-bottom: 45px; }

.col-p-b-50 {
  padding-bottom: 50px; }

.col-p-t-5 {
  padding-top: 5px; }

.col-p-t-10 {
  padding-top: 10px; }

.col-p-t-15 {
  padding-top: 15px; }

.col-p-t-20 {
  padding-top: 20px; }

.col-p-t-25 {
  padding-top: 25px; }

.col-p-t-30 {
  padding-top: 30px; }

.col-p-t-35 {
  padding-top: 35px; }

.col-p-t-40 {
  padding-top: 40px; }

.col-p-t-45 {
  padding-top: 45px; }

.col-p-t-50 {
  padding-top: 50px; }

.col-p-l-5 {
  padding-left: 5px; }

.col-p-l-10 {
  padding-left: 10px; }

.col-p-l-15 {
  padding-left: 15px; }

.col-p-l-20 {
  padding-left: 20px; }

.col-p-l-25 {
  padding-left: 25px; }

.col-p-l-30 {
  padding-left: 30px; }

.col-p-l-35 {
  padding-left: 35px; }

.col-p-l-40 {
  padding-left: 40px; }

.col-p-l-45 {
  padding-left: 45px; }

.col-p-l-50 {
  padding-left: 50px; }

.col-p-r-5 {
  padding-right: 5px; }

.col-p-r-10 {
  padding-right: 10px; }

.col-p-r-15 {
  padding-right: 15px; }

.col-p-r-20 {
  padding-right: 20px; }

.col-p-r-25 {
  padding-right: 25px; }

.col-p-r-30 {
  padding-right: 30px; }

.col-p-r-35 {
  padding-right: 35px; }

.col-p-r-40 {
  padding-right: 40px; }

.col-p-r-45 {
  padding-right: 45px; }

.col-p-r-50 {
  padding-right: 50px; }

.col-form-label {
  text-align: right;
  font-weight: bold; }

@media (max-width: 575px) {
  .col-form-label {
    text-align: left; } }

/*Controls*/
.navbar-brand > img {
  max-height: 31px; }

.navbar-brand.logo {
  padding: 10px 10px; }

.navbar-brand-image-mobile {
  display: none; }

@media (max-width: 767px) {
  .navbar-brand-image {
    display: none; }
  .navbar-brand-image-mobile {
    display: block;
    padding-left: 0;
    padding-right: 0; } }

.validation-summary-errors {
  color: #ff3834;
  border: 1px solid #ffd3d3;
  background: none;
  padding-top: 9px;
  -ms-border-radius: 4px;
  border-radius: 4px;
  margin-bottom: 15px;
  margin-top: 20px; }

.switch {
  display: inline-block;
  height: 28px;
  position: relative;
  width: 60px;
  margin-top: 5px; }

/* Hidden but focusable: display:none took the checkbox out of the tab order. */
.switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0; }

.switch input:focus-visible + .slider {
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25); }

.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s; }

.slider:before {
  background-color: #fff;
  bottom: 4px;
  content: "";
  height: 20px;
  left: 7px;
  position: absolute;
  transition: .4s;
  width: 20px; }

input:checked + .slider {
  background-color: #007bff; }

input:checked + .slider:before {
  transform: translateX(26px); }

.slider.round {
  border-radius: 34px; }

.slider.round:before {
  border-radius: 50%; }

label.radio-img > input {
  visibility: hidden;
  position: absolute; }

label.radio-img > input + img {
  cursor: pointer;
  border: 2px solid transparent; }

label.radio-img > input:checked + img {
  background-color: #ffe7ac;
  -ms-border-radius: 15px;
  border-radius: 15px; }

label.radio-img > input:checked ~ h3, label.radio-img > input:checked ~ h4 {
  color: #007bff;
  text-decoration: underline; }

label.radio-img > h3, label > h4 {
  cursor: pointer; }

.cc-window {
  color: #212529;
  background-color: #f7f7f7; }

.cc-btn {
  color: #ffffff;
  background-color: #007bff;
  border-color: transparent; }

/*Pages*/
.consent-container .toggle-button__input {
  float: left; }

.consent-container .toggle-button__text {
  float: left;
  margin-top: 6px;
  margin-left: 10px; }

.consent-container .consent-description {
  width: 100%;
  float: left; }

.consent-container .client-logo {
  float: left; }
  .consent-container .client-logo img {
    margin-right: 25px; }

.logged-out-container iframe {
  display: none;
  width: 0;
  height: 0; }

.grants-container .page-header {
  margin-bottom: 10px; }

.grants-container .grant {
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid lightgray; }
  .grants-container .grant .clientname {
    font-size: 140%;
    font-weight: bold; }
  .grants-container .grant .granttype {
    font-size: 120%;
    font-weight: bold; }
  .grants-container .grant .created {
    font-size: 120%;
    font-weight: bold; }
  .grants-container .grant .expires {
    font-size: 120%;
    font-weight: bold; }
  .grants-container .grant li {
    list-style-type: none;
    display: inline; }
    .grants-container .grant li:after {
      content: ', '; }
    .grants-container .grant li:last-child:after {
      content: ''; }

.custom-form1 {
    width: 410px;
    background-color: #fff;
    border: 1px solid #e0e1e2;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    text-align: center;
    padding: 0 45px;
    margin: 0 auto;
    overflow: hidden;
}

.boxshadow1 {
    box-shadow: -2px 4px 3px rgba(0,0,0,.08);
}


.auth-head1 {
    color: #232323;
    font-size: 24px;
    font-weight: 700;
    margin: 25px 0;
}

/*NEW CSS*/

.cancel {
    display: flex;
    margin-top: 10px;
    background-color: #fff;
    padding: 10px 15px;
    border: 1px solid #ebebeb;
    border-radius: 3px;
}

.auth-button {
    display: flex;
    position: relative;
    justify-content: center;
    width: 100%;
    height: 44px; /* a 44px touch target (was 40px) */
    border-radius: 3px;
    border: solid 1px #e0e1e2;
    margin-top: 15px;
    cursor: pointer;
    align-items: center;
}

.auth-button .icon {
    position: absolute;
    left: 10px;
}

.facebook {
    background-color: #475993;
    color: #fff;
}

.google {
    background-color: #fff;
    color: #696969;
}

.main-btn {
    background-color: #258ae0;
    width: 100%;
    min-height: 44px;
    color: #fff;
    font-size: 15px;
    border: none;
    font-weight: 500;
    border-radius: 3px;
    padding: 10px;
}

.auth-form-control {
    display: block;
    width: 100%;
    height: 40px;
    padding: .375rem .75rem;
    margin-bottom: 15px;
    border-radius: 3px;
    border: 1px solid #e0e1e2;
    padding-right: 30px;
}

.auth-form-control::-ms-reveal,
.auth-form-control::-webkit-credentials-auto-fill-button {
    display: none;
}

.small-text {
    font-size: 12px;
}

.blue {
    color: #258ae0;
}

.separator {
    display: inline-block;
    font-size: 14px;
    color: #696969;
    margin: 25px 10px;
}

.separate-line {
    width: 40%;
    height: 0;
    border-bottom: 1px solid #C4C4C4;
    margin: 3px 0;
    display: inline-block;
}

.recovery-btn-block {
    display: flex;
    margin-bottom: 35px;
}

.main-btn-forgot {
    width: 144px;
    min-height: 44px;
    background-color: #258ae0;
    color: #fff;
    font-size: 15px;
    border: none;
    font-weight: 500;
    border-radius: 3px;
    padding: 10px;
}

.cancel {
    background-color: #fff;
    border: none;
    margin-left: 20px;
}

#recover-password {
    margin-bottom: 35px;
}

.custom-form2 {
    padding: 0 30px;
}

.username-block {
    display: flex;
}

.agreements {
    width: 90%;
    margin: 0 auto;
    color: #444;
}

.bottom-block {
    margin: 15px 0 18px;
}

.username {
    width: 47%;
}

.username:first-child {
   margin-right: 8%;
 }

.label-block {
    display: flex;
    justify-content: space-around;
    text-align: left;
}

.white-btn {
    width: 100%;
    /*margin-right: 8%;*/
    background-color: #ffffff;
    border: 1px solid #2A9FD8;
    border-radius: 3px;
    color: #5f697a;
    padding: 10px;
}

.lost-access-block {
    margin: 20px 0;
}

.default-text {
   font-family: 'Open Sans',sans-serif;
   font-size: 14px;
   font-weight: 400;
   color: #212529;
}

.main-btn-logout {
    background-color: #258ae0;
    width: 50%;
    color: #fff;
    font-size: 15px;
    border: none;
    font-weight: 500;
    border-radius: 3px;
    padding: 10px;
    margin-left: 25%;
}

.form-label {
    display: flex;
    font-weight: bold;
}

#continue-btn-reset {
    float: left;
    margin-top: 20px;
    margin-bottom: 30px;
    width: 144px;
}

.field-icon {
    padding: 5px;
    float: right;
    margin-left: -25px;
    margin-top: -48px;
    position: relative;
    z-index: 2;
    right: 10px;
}

/* The show/hide password control is a button (password-eye.js); it looks like the icon it was. */
.toggle-password {
    border: 0;
    background: none;
    color: inherit;
    line-height: 1;
}

.container {
    padding-top: 50px;
    margin: auto;
}

@media (max-width: 410px) {
    .container {
        padding-right: 0;
        padding-left: 0;
        /* Rows keep their negative gutter margins in this unpadded container; clip that 15px instead
           of letting the page scroll sideways. */
        overflow-x: clip;
    }
    /* Only the sign-in card pages (.custom-form1) are meant to run edge to edge; Manage, 2FA, error
       and confirmation pages keep a side margin matching the 15px gutters. */
    .container:not(:has(.custom-form1)) {
        padding-right: 15px;
        padding-left: 15px;
    }
    .box-shadow {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.05);
    }
    .media-mb-3 {
        margin-bottom: 0 !important;
    }
    .col-6 {
        padding-right: 10%;
        padding-left: 10%;
    }
    .custom-form1 {
        border: 0px solid #e0e1e2 !important;
    }
    .boxshadow1 {
        box-shadow: 0px 0px 0px rgba(0,0,0,.08) !important;
    }
}

@media (min-width: 411px) {
    .col-m-b-150 {
        margin-bottom: 100px;
        padding-top: 60px;
    }

    .forgot-form {
        margin-bottom: 315px;
        padding-top: 120px;
    }

    .forgot-success {
        margin-bottom: 200px;
        padding-top: 100px;
    }
}

@media (min-width: 411px) and (max-width: 767px) {
    .custom-form1 {
        margin-bottom: 3rem !important;
    }
}
