@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

:root {
  --primary-100: #00AEEF;
  --primary-200: #0662B0;
  --primary-300: #172B4D;
  --accent-100: #75B756;
  --accent-200: #FFCB08;
  --text-100: #4A4A4A;
  --text-200: #878787;
  --bg-100: #E2EAF1;
  --bg-200: #CFE1F0;
  --bg-300: #FFFFFF;
}

.row.header {
  background: #0662B0;
  height: 80px;
    /* font-family: "Mulish", sans-serif; */
  font-weight: 600;
}

.col-md-12.main-content {
  background-repeat: no-repeat;
  /* background-image: linear-gradient(rgba(153, 153, 153, 0.384), rgba(68, 68, 68, 0.404)), url(../images/Login-page-bg.jpg); */
  background-position: center;
}

#main-menu li a {
  font-size: 0.825rem;
}

#main-menu li a:hover {
  background-color: #172B4D;
}

.row.navigation {
  background: #172B4D;
    /* font-family: "Mulish", sans-serif; */
  font-size: 0.95rem;
  font-weight: 500;
  min-height: 50px;
}

.col-md-7 {
  padding-left: 0;
  padding-right: 0;
}

.col-md-7 .content {
  padding-left: 0;
  padding-right: 0;
}

.col-md-3.header-right {
  padding-right: 0;
  max-height: 60px;
  top: -5px;
}

.header-right {
  font-size: 0.825rem;
}

#user-menu {
  padding-left: 0;
  z-index: 100;
  max-height: 60px;
}

/* #user-menu li {
  border: 2px solid rgba(255, 255, 255, 0.20);
  border-radius: 5px;
  max-height: 60px;
}

#user-menu .menu-item.menu-item-secondary {
  border-radius: none;
  border: none;
} */

/* body {
   /* font-family: "Lato", sans-serif;
} */

.fa-icon-circle {
  background: #00AEEF;
  justify-content: center;
  /* float: left; */
  vertical-align: middle;
}

.chat-wrapper .btn-info {
  background-color: #75B756;
  border-color: #75B756;
  float: right;
}

.card-title-custom {
  color: #4A4A4A;
  font-weight: 700;
  font-size: 0.85rem;
    /* font-family: "Mulish", sans-serif; */
}

.card-subtitle-custom {
  color: #878787;
  font-weight: 500;
  font-size: 0.70rem;
  /*   /* font-family: "Mulish", sans-serif; */ */
}

.pane-content .card {
  border-radius: 5px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
  height: 160px;
}

/* login page */

.login-wrapper {
  background: var(--bg-200)
  background-image: url(../images/Login-page-bg.jpg);
}

.login-wrapper .row {
  margin-right: -3px;
  margin-left: 0 ;
  width: 960px;
}

.login-wrapper .card {
  border-radius: 5px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
  width: 960px;
  height: 630px;
  align-self: center;
}

.card-body.p-0.auth-header-box {
  background: #0662B0;
  border-radius: 0px 5px 0px 0px;
  width: 100%;
}

.login-wrapper .col-md-7 {
  background-color: #F7F9FB;
  border-radius: 5px 0px 0px 5px;
  height: 630px;
  text-align: center;
  font-size: 1rem;
  width: 55%;
}

.login-wrapper .img-place-holder {
  background-image: url(../images/Login-page-image.svg);
  width: 355.04px;
  height: 375px;
  flex-shrink: 0;
  margin: 87px;
  margin-top: 60px;
  margin-bottom: 30px;
  background-repeat: no-repeat;
}

.login-wrapper .img-place-holder img {
  width: 433.999px;
  height: 458.403px;
  flex-shrink: 0;
}

.login-wrapper .col-md-5 {
  padding: 0;
  height: 630px;
  /* width: 45%; */
}

.login-wrapper .card-body.p-0 {
  color: #4A4A4A;
  text-align: center;
    /* font-family: "Mulish", sans-serif; */
  font-size: 0.95rem;
  font-weight: 600;
}

.login-wrapper h4 {
  font-size: 1.25rem;
    /* font-family: "Mulish", sans-serif; */
  padding-top: 20px;
  padding-bottom: 10px;
  color: #4A4A4A;
}

.login-wrapper h3 {
  font-size: 1rem;
  color: #0662B0;
    /* font-family: "Mulish", sans-serif; */
  font-weight: 500;
}

.login-wrapper .col-md-5 h4 {
  padding-top: 70px;
}

.login-wrapper .site-logo {
  max-height: 65px;
  max-width: 100%;
  width: auto;
  padding-left: 0;
  padding-bottom: 5px;
}

.login-wrapper .card-body.bg-light-alt.text-center {
  padding-top: 10px;
  padding-bottom: 10px;
}

.login-wrapper .or-line {
  color: var(--bg-100);
  border-top: 2px solid;
  width: 30%;
  display: inline-block;
}

.login-wrapper .or-text {
  display: inline-block;
  padding: 0 30px;
  background-color: #fff;
  color: var(--text-200, #878787);
    /* font-family: "Mulish", sans-serif; */
  font-weight: 400;
  position: relative;
  top: -0.7em;
}

.login-wrapper .btn-primary {
  color: #fff;
  background-color: #00AEEF;
  border-color: #00AEEF;
    /* font-family: "Mulish", sans-serif; */
}

.btn-primary {
  color: #fff;
  background-color: #0662B0;
  border-color: #0662B0;
    /* font-family: "Mulish", sans-serif; */
  text-decoration: none;
}

.login-wrapper .form-submit {
  background-color: var(--primary-200);
  border-color: none;
}

.login-wrapper .form-submit,
.add-new-record {
  margin: 0;
  padding: 8px 18px;
}

.login-wrapper .form-wrapper {
  margin-top: 20px;
}

.login-wrapper .password-reset-link {
  text-align: center;
}

.page-user-password .tabs,
.page-user-password ul.primary,
.page-user-password ul.tabs,
.page-user-reset .tabs,
.page-user-reset ul.primary,
.page-user-reset ul.tabs {
  display: none;
}

.page-user-reset .login-wrapper .card,
.page-user-reset .login-wrapper .col-md-7,
.page-user-reset .login-wrapper .col-md-5 {
  height: auto !important;
  min-height: 630px;
}
.page-user-reset .login-wrapper .card > .row {
  height: auto;
  align-items: stretch;
}

.login-wrapper #ms-openid-connect-user-pass-reset {
  width: 100%;
  padding: 0 1rem 1rem;
  box-sizing: border-box;
  text-align: left;
}

.login-wrapper .ms-pass-reset-form {
  max-width: none;
  margin: 0;
}

.login-wrapper .ms-pass-reset-intro {
  font-weight: 500;
}

.login-wrapper #user-login,
.login-wrapper #user-pass,
.login-wrapper #ms-openid-connect-user-pass-reset {
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

.login-wrapper #user-login .form-text,
.login-wrapper #user-pass .form-text,
.login-wrapper #ms-openid-connect-user-pass-reset .form-text {
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
}

.login-wrapper #user-pass .form-item,
.login-wrapper #user-pass label {
  max-width: 100%;
  text-align: left;
}

.login-wrapper .password-reset-sent {
  margin: 1.5rem 1rem 1rem;
}

.login-wrapper .password-reset-sent-message {
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.login-wrapper .password-reset-sent-action .form-submit,
.login-wrapper .password-reset-sent-login .form-submit {
  display: inline-block;
  width: auto;
  max-width: 100%;
  white-space: normal;
  line-height: 1.3;
  text-decoration: none;
  color: #fff;
}

.login-wrapper .password-reset-sent-login {
  margin-top: 0.75rem;
}

.login-wrapper .ms-container-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0 0.35rem;
  text-align: center;
}

.login-wrapper .ms-container-inline input,
.login-wrapper input.openid-login-email-change {
  width: auto !important;
  max-width: 100%;
  display: inline-block;
  margin: 0;
  padding: 0;
  background: none !important;
  border: none !important;
  box-shadow: none;
  font: inherit;
  color: #0662b0 !important;
  text-decoration: underline;
  cursor: pointer;
}

.messages {
  margin-top: 20px;
  font-weight: 400;
  font-size: 0.80rem;
}

/* login local sign in */

.login-wrapper-local-sign-in {
  background: var(--bg-200);
  background-image: url(../images/Login-page-bg.jpg);
}

.login-wrapper-local-sign-in .card {
  border-radius: 5px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
  min-width: 500px;
  border: none;
}

.login-wrapper-local-sign-in .card-body.p-0.auth-header-box {
  background: #0662B0;
  border-radius: 5px 5px 0px 0px;
  margin-right: 0;
  margin-bottom: 10px;
  width: 100%;
}

.login-wrapper-local-sign-in h4 {
  font-size: 1.25rem;
    /* font-family: "Mulish", sans-serif; */
  padding-top: 0;
  padding-bottom: 10px;
}

.login-wrapper-local-sign-in h3 {
  font-size: 1rem;
    /* font-family: "Mulish", sans-serif; */
  font-weight: 500;
  padding-bottom: 10px;
}

.login-wrapper-local-sign-in .site-logo {
  max-height: 65px;
  padding-left: 0;
  padding-bottom: 5px;
}

.login-wrapper-local-sign-in .form-actions.form-wrapper .form-submit {
  margin-left: 190px;
  margin-right: 190px;
  max-width: 100px;
  background-color: #0662B0;
  border-color: #0662B0;
    /* font-family: "Mulish", sans-serif; */
  font-size: 0.95rem;
  font-weight: 600;
}

.login-wrapper-local-sign-in .form-submit {
  background-color: #FFF;
  border-color: #FFF;
}

#edit-your-login-email-save,
.login-wrapper #edit-your-login-email-save--2.form-submit.ajax-processed {
  margin-left: 100px;
  margin-right: 100px;
  max-width: 100px;
  color: #fff;
  background-color: #0662B0;
  border-color: #0662B0;
    /* font-family: "Mulish", sans-serif; */
  font-weight: 700;
  font-size: 14px;
}

.login-wrapper #edit-your-login-email-save--3.form-submit.ajax-processed {
  margin-left: 100px;
  margin-right: 100px;
  max-width: 100px;
  color: #fff;
  background-color: #0662B0;
  border-color: #0662B0;
    /* font-family: "Mulish", sans-serif; */
  font-weight: 700;
  font-size: 14px;
}

.login-wrapper-local-sign-in #user-login {
  margin-left: 10px;
  color: var(--text-200, #878787);
    /* font-family: "Mulish", sans-serif; */
  text-align: left;
  padding: 0
}

.login-wrapper-local-sign-in .form-item .description {
  font-weight: 500;
  color: #878787;
  font-size: 0.65rem;
}

.login-wrapper-local-sign-in .form-item {
  max-width: 450px;
}

.form-text.required {
  max-width: 450px;
}

.login-wrapper-local-sign-in .form-text,
.form-select {
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
  background: var(--bg-300);
}

/* profile page */

/* view profile */

.field.field-name-og-user-node.field-type-entityreference.field-label-above {
  border: 2px solid var(--bg-100, #E2EAF1);
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 20px;
}

.language-switcher-locale-session a.session-active {
  color: #00AEEF;
    /* font-family: "Mulish", sans-serif; */
  font-weight: 800;
}

.language-switcher-locale-session a.active {
  color: #00AEEF;
    /* font-family: "Mulish", sans-serif; */
  font-weight: 800;
}

li.en.first.active::marker {
  color: #00AEEF;
}

li.fr.last.active::marker {
  color: #00AEEF;
}

.user-picture {
  margin: 10px;
}

h3 {
  color: #0662B0;
}

/* edit profile */

body {
  background: #CFE1F0;
  color: var(--text-100, #4A4A4A);
}


.main-content,
.region-sidebar-left .block,
.region-sidebar-right .block {
  background: white;
  /* border-radius: 5px; */
}

.page-title {
  color: #0662B0;
    /* font-family: "Ubuntu", sans-serif; */
  font-weight: 500;
  font-size: 1.5rem;
  padding-left: 5px;
}

.form-item .description {
  font-weight: 700;
  color: #878787;
    /* font-family: "Mulish", sans-serif; */
}

fieldset {
  border: 2px solid var(--bg-100, #E2EAF1);
  border-radius: 5px;
}

.fieldset-legend {
  font-weight: 700;
  color: #0662B0;
    /* font-family: "Mulish", sans-serif; */
}

.form-text,
.form-select {
  border: 2px solid var(--bg-100, #E2EAF1);
  border-radius: 5px;
  /* background: transparent; */
}

.tabs.primary {
  border-bottom: 2px solid #0662B0;
  padding-top: 15px;
  padding-left: 0;
  font-size: 0.80rem;
    /* font-family: "Mulish", sans-serif; */
  font-weight: 600;
  background: var(--bg-300);
  color: var(--text-100, #4A4A4A);
}

ul.tabs.primary li {
  background: var(--bg-100);
  border-radius: 5px 5px 0px 0px;
  padding: 10px 0;
}

ul.primary li.active a {
  font-weight: 700;
  background: #0662B0;
  border-radius: 5px 5px 0px 0px;
}

/* .views-exposed-form {
  border-radius: 5px;
  background: rgba(246, 246, 246, 0.56);
  padding: 10px;
} */

.views-exposed-form .form-submit {
  color: #0662B0;
  border-color: #0662B0;
  background-color: #FFF;
  border: 2px solid #0662B0;
  padding: 4px 10px;
  margin-right: 0;
  margin-top: 1.65rem;
  font-weight: 700;
}

/* Business Units */

/* .btn.btn-primary.btn-sm:hover {
  color: #FFFFFF;
} */

/* .btn.btn-sm {
  font-weight: 700;
} */

.btn.btn-light.btn-sm {
  color: #0662B0;
  border-color: #0662B0;
  background-color: #FFF;
  border: 2px solid #0662B0;
}

.btn-light.focus,
.btn-light:focus,
.btn-light:hover {
  color: #212529;
  background-color: #FFF;
  border: 2px solid #0662B0;
}

.views-field.views-field-field-export-views-xls img {
  width: 20px;
  height: 20px;
}

.far.fa-file-word {
  font-size: 20px;
}

.view-filters {
  border: none;
  padding-left: 0;
  padding-right: 0;
}

.view-content {
  border: none;
  padding-left: 0;
  padding-right: 0;
}

.views-table thead,
.sticky-header thead {
  border-bottom: 2px solid #DFECF8;
  background: #DFECF8;
  color: var(--text-100, #4A4A4A);
    /* font-family: "Mulish", sans-serif; */
  font-size: 11px;
  min-height: 55px;
  z-index: 90;
}

.views-table thead th {
  background-color: #DFECF8;
  border-bottom: none;
}

.views-table {
  border: 2px solid var(--bg-100, #E2EAF1);
}

.views-field {
  padding-top: 10px;
  padding-bottom: 10px;
}

.views-field ul li {
  background: none;
}

.fas.fa-info-circle.primary.fa-lg.mr-2 {
  color: #0662B0;
}

.select2-container--default .select2-selection--multiple {
  background-color: white;
  border: 2px solid var(--bg-100, #E2EAF1);
  border-radius: 5px;
}

/* roles page form */

.ui-dialog-titlebar.ui-widget-header.ui-corner-all.ui-helper-clearfix {
  background: var(--bg-200);
  border: none;
  color: var(--primary-200);
  font-weight: 800;
  font-size: 0.85rem;
}

.ui-dialog {
  padding: 0px;
  border: 2px solid var(--bg-100, #E2EAF1);
  border-radius: 5px;
    /* font-family: "Mulish", sans-serif; */
}

.item-list .last {
  border-bottom: none;
}

.vbo-views-form {
  border-radius: 5px;
}

.form-submit {
  background-color: #0662B0;
  border-color: #0662B0;
  border-radius: 5px;
    /* font-family: "Mulish", sans-serif; */
  font-weight: 600;
}

div.vertical-tabs {
  border: 2px solid var(--bg-100, #E2EAF1);
  border-radius: 5px;
}

.vertical-tabs ul.vertical-tabs-list {
  border: none;
}

.vertical-tabs ul.vertical-tabs-list li {
  border-radius: 5px;
  background: var(--bg-100);
  border: none;
  margin: 5px 0;
  margin-right: 10px;
}

.vertical-tabs ul.vertical-tabs-list li.selected {
  background-color: #0662B0;

}

.vertical-tabs ul.vertical-tabs-list li.selected a {
  color: #FFF;
}

.vertical-tabs ul.vertical-tabs-list li.selected a strong {
  color: #FFF;
}

.vertical-tabs fieldset.vertical-tabs-pane {
  border: none;
}

.vertical-edit {
  padding: 7px 18px;
  border-radius: 5px;
  background: var(--dark-blue, #0662B0);
  color: #FFFFFF;
    /* font-family: "Mulish", sans-serif; */
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
}

.views-field.views-field-edit-node a {
  padding: 4px 8px;
  border-radius: 5px;
  background: transparent;
  color: #0662B0;
  border: 2px solid #0662B0;
    /* font-family: "Mulish", sans-serif; */
  font-weight: 700;
  font-size: 0.80rem;
  text-decoration: none;
  display: block;
}

td.views-field.views-field-nid a {
  padding: 4px 8px;
  border-radius: 5px;
  background: transparent;
  color: #0662B0;
  border: 2px solid #0662B0;
    /* font-family: "Mulish", sans-serif; */
  font-weight: 700;
  font-size: 0.80rem;
  text-decoration: none;
}

.views-field.views-field-nid-2 a {
  padding: 4px 8px;
  border-radius: 5px;
  background: transparent;
  color: #0662B0;
  border: 2px solid #0662B0;
    /* font-family: "Mulish", sans-serif; */
  font-weight: 700;
  font-size: 0.80rem;
  text-decoration: none;
}

.ui-dialog-titlebar.ui-widget-header.ui-corner-all.ui-helper-clearfix {
  background: var(--bg-200);
  border: none;
  color: #0662B0;
}

.form-submit {
  color: #fff;
  background-color: #0662B0;
    /* font-family: "Mulish", sans-serif; */
  border-radius: 5px;
}

#edit-unpublish.form-submit {
  border-color: #dc3545;
  background-color: #dc3545;
}

/* pager */

.pager {
    /* font-family: "Mulish", sans-serif; */
  font-weight: 600;
  font-size: 0.9rem;
}

.pager-item {
  border: 1.5px solid #E2EAF1;
  border-right: none;
  padding: 0.7rem;
  background: #FFF;
  text-decoration: none;
  margin-right: -5px;
}

.pager-item a {
  text-decoration: none;
}

.pager-current {
  border: 1.5px solid #0662B0;
  border-right: none;
  padding: 0.7rem;
  background: #0662B0;
  margin-right: -5px;
}

.pager-next {
  border: 1.5px solid #E2EAF1;
  border-right: none;
  padding: 0.7rem;
  background: #FFF;
  text-decoration: none;
  margin-right: -5px;
}

.pager-next a {
  text-decoration: none;
}

.pager-previous {
  border: 1.5px solid #E2EAF1;
  border-right: none;
  padding: 0.7rem;
  background: #FFF;
  text-decoration: none;
  margin-right: -5px;
}

.pager-previous a {
  text-decoration: none;
}

.pager-first.first {
  border: 1.5px solid #E2EAF1;
  border-right: none;
  border-radius: 5px 0 0 5px;
  padding: 0.7rem;
  background: #FFF;
  text-decoration: none;
  margin-right: -5px;
}

.pager-first.first a {
  text-decoration: none;
}

.pager-current.first {
  border: 1.5px solid #0662B0;
  border-right: none;
  border-radius: 5px 0 0 5px;
  padding: 0.7rem;
  background: #0662B0;
  margin-right: -5px;
}

.pager-current.last {
  border: 1.5px solid #0662B0;
  border-right: none;
  border-radius: 0 5px 5px 0;
  padding: 0.7rem;
  background: #0662B0;
}

.pager-last.last {
  border: 1.5px solid #E2EAF1;
  border-radius: 0 5px 5px 0;
  padding: 0.7rem;
  background: #FFF;
  text-decoration: none;
}

.pager-last.last a {
  text-decoration: none;
}

.pager-ellipsis {
  border: 1.5px solid #E2EAF1;
  border-right: none;
  padding: 0.7rem;
  background: #FFF;
  text-decoration: none;
  margin-right: -5px;
}

/* dashboard */

.alert.alert-info.dashboard-divider {
  background: #0662B0;
  border-radius: 5px;
}

.view-panel-og-metrics th {
  color: var(--text-100);
}

/* bcm bank */

.horizontal-tabs.clearfix {
  border: 2px solid #E2EAF1;
  border-radius: 5px;
  padding: 10px;
}

.horizontal-tabs ul.horizontal-tabs-list {
  background: none;
  border: none;
  border-bottom: 2px solid #00AEEF;
  padding-left: 0;
  font-size: 0.80rem;
    /* font-family: "Mulish", sans-serif; */
  font-weight: 600;
  color: var(--text-100, #4A4A4A);
}

.horizontal-tabs-list li {
  margin: 0 2px;
}

.horizontal-tabs ul.horizontal-tabs-list li {
  background: var(--bg-100);
  border-radius: 5px 5px 0px 0px;
  border: none;
}

.horizontal-tabs ul.horizontal-tabs-list li strong {
  color: #4A4A4A;
  font-weight: 600;
}

.horizontal-tab-button.horizontal-tab-button-0.first.selected {
  font-weight: 700;
  background: #00AEEF;
  border-radius: 5px 5px 0px 0px;
  margin-left: 0;
}

.horizontal-tabs ul.horizontal-tabs-list li.selected {
  font-weight: 700;
  background: #00AEEF;
  border-radius: 5px 5px 0px 0px;
}

.horizontal-tabs ul.horizontal-tabs-list li.selected a strong {
  color: #FFF;
  font-weight: 600;
}

.horizontal-tab-button.horizontal-tab-button-0.first.selected a strong {
  color: #FFF;
  font-weight: 600;
}

.horizontal-tabs fieldset.horizontal-tabs-pane {
  margin-top: 0;
  margin-bottom: 0;
  padding: 10px;
  border: none;
}

.horizontal-tabs ul.horizontal-tabs-list li.selected a:hover {
  background-color: transparent;
}

/* user list */

.far.fa-bookmark.fa-lg.bookmark-button {
  float: right;
}

/* other */

.cke_editable.cke_editable_themed.cke_contents_ltr.cke_show_borders {
  background: #FFF;
}

.multiple-fields-remove-button.form-submit.ajax-processed {
  border-color: #dc3545;
  background-color: #dc3545;
  padding: .375rem .75rem;
  margin: -54px 0 0 29rem;
}

.views-ui-display-tab-actions .ctools-button-processed input {
  background-color: white;
  color: #0662B0;
}

input[value="Remove"] {
  border-color: #dc3545;
  background-color: #dc3545;
  padding: .375rem .75rem;
}

/* footer */

.region-footer .content {
  margin-top: 0;
}

.col.text-center {
  padding-right: 0;
}

@media (min-width: 1200px) {

  .login-wrapper .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1040px;
  }
}

@media (max-width: 1100px) {

  /* Hide the image column, right column takes full card width */
  .login-wrapper .col-md-7 {
    display: none;
  }

  .login-wrapper .col-md-5 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
    min-width: 0;
  }

  /* Card has a sensible max-width and centers itself */
  .login-wrapper .card {
    max-width: 480px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Keep the outer centering row as flex — no grid */
  .login-wrapper .row.vh-100 {
    display: flex;
  }

  /* Inner card row: column layout, no negative margins */
  .login-wrapper .card > .row {
    display: flex;
    flex-direction: column;
    margin-right: 0;
    margin-left: 0;
    width: 100%;
  }

  /* Blue header spans full card width */
  .login-wrapper .card-body.p-0.auth-header-box {
    border-radius: 5px 5px 0 0;
    width: 100%;
    box-sizing: border-box;
  }

  /* Form inputs fill the column */
  .login-wrapper #user-login,
  .login-wrapper #user-pass,
  .login-wrapper #ms-openid-connect-user-pass-reset {
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  .login-wrapper #user-login .form-text,
  .login-wrapper #user-pass .form-text,
  .login-wrapper #ms-openid-connect-user-pass-reset .form-text {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Local sign-in card */
  .login-wrapper-local-sign-in .card {
    min-width: 0;
    max-width: 480px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .login-wrapper-local-sign-in .col-12.align-self-center {
    padding: 0;
  }

  .login-wrapper-local-sign-in .container {
    width: 100%;
    padding: 0;
  }

  .login-wrapper-local-sign-in .col-lg-5.mx-auto {
    padding: 0;
    max-width: 480px;
  }

  .login-wrapper-local-sign-in .form-item {
    max-width: 100%;
  }

  .login-wrapper-local-sign-in .form-text.required {
    max-width: 100%;
  }

  .login-wrapper-local-sign-in #user-login {
    margin: 10px;
  }

  .login-wrapper-local-sign-in #edit-actions {
    display: flex;
    justify-content: center;
  }

}

@media (max-width: 575px) {

  /* Remove full-viewport-height row — let content define the height */
  .login-wrapper .row.vh-100 {
    height: auto !important;
    min-height: unset !important;
  }

  /* Outer layout: full width, start from top */
  .login-wrapper,
  .login-wrapper-local-sign-in {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
  }

  .login-wrapper .container {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100%;
  }

  .login-wrapper .row {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  /* Override fit-content from 1100px breakpoint */
  .login-wrapper .col-12.align-self-center {
    max-width: 100% !important;
    width: 100%;
    padding: 0;
    align-self: flex-start !important;
  }

  /* Card goes full width, no border radius, no left margin from the row */
  .login-wrapper .card {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
  }

  /* Inner card row: zero out Bootstrap negative margins, reset grid height */
  .login-wrapper .card > .row {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  /* Hide left image/branding column on mobile */
  .login-wrapper .col-md-7 {
    display: none;
  }

  /* Right column fills full width */
  .login-wrapper .col-md-5 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;
    padding-right: 0;
    padding-left: 0;
    min-width: 0;
  }

  /* Header box clips the logo text cleanly */
  .login-wrapper .card-body.p-0.auth-header-box {
    overflow: hidden;
    border-radius: 0;
  }

  /* Card body padding */
  .login-wrapper .card-body.p-0 {
    padding: 0 1rem !important;
    box-sizing: border-box;
    width: 100%;
  }

  .login-wrapper .card-body.p-0.auth-header-box {
    padding: 0 !important;
  }

  /* Reduce top margin on heading immediately after header */
  .login-wrapper .card-body.p-0 h4:first-child {
    margin-top: 1rem !important;
  }

  /* Footer text sizing */
  .login-wrapper .card-body.bg-light-alt.text-center {
    padding: 10px 1rem !important;
    font-size: 0.75rem;
  }

  .login-wrapper .card-body.bg-light-alt .text-muted {
    display: inline !important;
    font-size: 0.75rem;
  }

  /* Form and inputs fill full width */
  .login-wrapper #user-login,
  .login-wrapper #user-pass,
  .login-wrapper #ms-openid-connect-user-pass-reset {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .login-wrapper #user-login .form-text,
  .login-wrapper #user-pass .form-text,
  .login-wrapper #ms-openid-connect-user-pass-reset .form-text {
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .login-wrapper #user-login .form-actions .form-submit,
  .login-wrapper #user-pass .form-actions .form-submit,
  .login-wrapper #ms-openid-connect-user-pass-reset .form-actions .form-submit,
  .login-wrapper #ms-openid-connect-user-pass-reset .ms-pass-reset-generate {
    width: 100%;
  }

  .login-wrapper .password-reset-link {
    text-align: center;
  }

  /* "Using email | change" row — keep on one line, smaller text */
  .login-wrapper .ms-container-inline {
    flex-wrap: nowrap;
    font-size: 0.85rem;
    column-gap: 0.2rem;
  }

  .login-wrapper .ms-container-inline .openid-login-email {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .login-wrapper .ms-container-inline input,
  .login-wrapper input.openid-login-email-change {
    width: auto !important;
    flex: 0 0 auto;
  }

  /* Local sign-in card */
  .login-wrapper-local-sign-in .card {
    width: 100%;
    border-radius: 0;
    min-width: 0;
  }

  .login-wrapper-local-sign-in .col-lg-5.mx-auto {
    padding: 0;
    max-width: 100%;
    width: 100%;
  }

  .d-none {
    display: unset;
  }

}

@media (min-width: 1100px) {
  .login-wrapper .col-md-7 {
    flex: 0 0 58.33333%;
    max-width: 55%;
    display: block;
  }

  .login-wrapper .col-md-5 {
    flex: none;
    max-width: 45%;
  }

  /* Restore inner row to flex-row for two-column layout */
  .login-wrapper .card > .row {
    display: flex;
    flex-direction: row;
    margin-right: -3px;
    margin-left: -3px;
    height: 630px;
  }
}

/* Added by Kieran, if it breaks something, it was my fault */
.field-item{
    font-size: 12px;
}
