html, body {
  height: 100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
   font-family: Lexend;
   font-size:14px;
  margin-bottom: 60px; /* Margin bottom by footer height */

}


html, body {

}


@font-face {  
 
   font-family: 'Lexend';
   src: url(Lexend-Light.woff2)  format("woff2"),   url(Lexend-Light.woff)    format("woff");    
   
   font-weight: 300; 
   font-style: normal;
   font-display: swap
}
   
   @font-face {
       font-family: 'Lexend';
           src: url(Lexend-Bold.woff2)       format("woff2"), url(Lexend-Bold.woff) format("woff");
                font-weight: bold; 
                font-style: normal;
                       font-display: swap
  }

    @font-face {
          font-family: 'Lexend'; 
          src: url(Lexend-Regular.woff2)         format("woff2"),  url(Lexend-Regular.woff) format("woff"); 
          font-weight: normal;
          font-style: normal;
          font-display: swap
}


body {
   font-family: Lexend;
}

.logo {
  padding:5px;

}

.navbar-inverse {
  background-color:#0f0f37;
  padding-top:15px;
  padding-bottom:15px;
  border-top:10px solid #e63c3c;
}


.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover {
    color: #ffffff;
    background-color: #0f0f37;
}



.navbar-inverse .navbar-nav>li>a {
  padding-left:5px;
  padding-right:5px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.navbar-inverse .navbar-nav>li>a:hover {
    color: #32b4dc;
    text-decoration: none;
}

.form-signin
 {
    width: 100%;
    max-width: 500px;
    padding: 15px;
    margin: auto;
}


.FlexContainerWrapper {

  margin-top:70px;

}


.FlexContainerWrapper {
  display: flex;
  flex-direction: column;
}

.FlexContainer {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 1em;
  padding: 2em;
  min-height: 250px;
  width: 100%;
}

.FlexItem {
  box-sizing: border-box; /* 1 */
  max-width: 100%; /* 1 */
  padding: 10px;
  color:#ffffff;
  
}


.FlexItem input {
  color:#000000;
}

#formbox {
  padding:10px;
  color:#0f0f37;
  border:3px solid #32b4dc;
 border-radius: 25px;
 
}


#sb {

  margin-top:20px;
  margin-bottom:20px;

}

.btn-holder {
    text-align: center;
}


@media only screen and (min-width: 1024px) {
  .FlexItem {
    max-width: 50%;
  }
}




/* Main information card */
.infoitem {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.infoitem:hover {
    border-color: #adb5bd;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

/* Horizontal header layout */
.infoitem-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: #f8f9fa;
}

/* Date: fixed width */
.infoitem-date {
    flex: 0 0 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
}

/* Title and introduction */
.infoitem-summary {
    flex: 1 1 auto;
    min-width: 0;
}

.infoitem-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 6px;
    color: #212529;
}

.infoitem-intro {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #6c757d;
    margin: 0;
}

/* Button aligned to the far right */
.infoitem-action {
    flex: 0 0 auto;
    margin-left: auto;
}

.infoitem-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    white-space: nowrap;
}

/* Chevron arrow using CSS only */
.infoitem-arrow {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

/* Rotate upwards when expanded */
.infoitem-toggle:not(.collapsed) .infoitem-arrow {
    transform: rotate(225deg);
}

/* Expanded content belongs to same card */
.infoitem-body {
    padding: 24px;
    border-top: 1px solid #dee2e6;
    background: #fff;
    line-height: 1.65;
}

/* Responsive mobile layout */
@media (max-width: 767.98px) {
    .infoitem-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }

    .infoitem-date {
        flex: 0 0 auto;
        width: auto;
    }

    .infoitem-action {
        margin-left: 0;
        align-self: flex-end;
    }

    .infoitem-body {
        padding: 16px;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .infoitem,
    .infoitem-arrow {
        transition: none;
    }
}























.jumbotron.vertical-center {
  margin-bottom: 0; /* Remove the default bottom margin of .jumbotron */
}

.vertical-center {
  min-height: 100%;  /* Fallback for vh unit */
  min-height: 100vh; /* You might also want to use                   */

  /* Make it a flex container */
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex; 
  
  /* Align the bootstrap's container vertically */
    -webkit-box-align : center;
  -webkit-align-items : center;
       -moz-box-align : center;
       -ms-flex-align : center;
          align-items : center;
  
  /* In legacy web browsers such as Firefox 9
     we need to specify the width of the flex container */


  /* Also 'margin: 0 auto' doesn't have any effect on flex items in such web browsers
     hence the bootstrap's container won't be aligned to the center anymore.
  
     Therefore, we should use the following declarations to get it centered again */
         -webkit-box-pack : center;
            -moz-box-pack : center;
            -ms-flex-pack : center;
  -webkit-justify-content : center;
          justify-content : center;
}

.formcontainer {
  text-align:center;
}

.formcontainer input {
  color: #1A335C;
}



.qholder {
  display: flex;
  width: 100%;
  align-items: stretch;
  border-bottom: 1px solid #ccc; /* optional */
}

.qholder > div {
  flex: 1;
  padding: 8px;
  box-sizing: border-box;
}

.qholder .qtitle {
  flex: 0 0 40%; /* fixed at ~40% width */
  font-weight: bold;
}

.qholder > div:not(.qtitle) {
  flex: 1; /* remaining 60% split evenly among 5 columns */
}

.choicescore {
  display: block;
  font-weight: bold;
  font-size: 1.2em;
}

.choicetitle {
  display: block;
  font-size: 0.9em;
  color: #555;
  margin-top: 4px;
  word-wrap: break-word;
}

.qholder > div:nth-child(even) {
  background-color: #f9f9f9;
}



.mt10 { margin-top: 10px; }
.mt20 { margin-top: 20px; }
.mt30 { margin-top: 30px; }
.mt40 { margin-top: 40px; }

.password-rules-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.password-rules {
  display: flex;
   align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
}

.rule-card {
  width: 180px;
  min-height: 170px;
  padding: 16px;
  border: 1px solid #dee2e6;
  border-radius: 16px;
  background: #fff;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: fex-start;

  text-align: center;

  transition: all 0.2s ease;
}

/* Circle tick */
.tick-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;
  font-weight: 700;

  border: 3px solid #adb5bd;
  color: #adb5bd;
  background: #f8f9fa;

  transition: all 0.25s ease;
}

.rule-icon {
  margin-bottom: 18px;
}

/* Active/valid state */
.rule-card.valid .tick-circle {
  border-color: #198754;
  background: #198754;
  color: #fff;
}

.rule-label {
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

.rule-label small {
  display: block;
  margin-top: 6px;
  color: #666;
  font-size: 12px;
}

.rule-card.warning {
  background: #fffdf5;
}



