.body-container {
    background-image: url("image/portal-login-bg.png");
    background-position: center;
    background-size: cover;
    max-width: 100%;
    min-height: 100vh;
    height:fit-content;
    display: flex;
    justify-content: center;
    position: relative;
}

.welcome-page li {
  list-style: none;
  padding: 4px; }

.logged-out-page iframe {
  display: none;
  width: 0;
  height: 0; }

.grants-page .card {
  margin-top: 20px;
  border-bottom: 1px solid lightgray; }
  .grants-page .card .card-title {
    font-size: 120%;
    font-weight: bold; }
    .grants-page .card .card-title img {
      width: 100px;
      height: 100px; }
  .grants-page .card label {
    font-weight: bold; }

.login-page, .logged-out-page {
    height: auto;
    width: 100%;
    max-width: 1080px;
    font-family: "Montserrat", sans-serif;
}

.b-no-repeat {
    background-repeat:no-repeat;
}
.b-contain {
    background-size:contain;
}
.b-cover {
    background-size: cover;
}
.b-center {
    background-position:center
}
.text-sm {
    font-size:10px
}

.card-image-login {
    background-image: url("image/portal-login-image.png");
    background-position:bottom left;
}
.card-image-reset {
    background-image: url("image/forgot-password-illustration.png");
}
.card-image-change {
    background-image: url("image/forgot-pass.png");
    background-size:65%;
}

.btn-djp-yellow {
    background-color: #004C4C;
    border: solid 2px #004C4C;
    color: #ffffff;
    font-weight:bold
}
.btn-djp-yellow:hover {
    background-color: #008081;
    border: solid 2px #008081;
    color: white;
    font-weight: bold;
}
.btn-djp-blue {
    background-color: #004C4C;
    border: solid 2px #004C4C;
    color: white;
    font-weight: bold;
}

.btn-djp-blue:hover {
    background-color: #008081;
    border: solid 2px #008081;
    color: white;
    font-weight: bold;
}

.p-text {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 100;
}

.link {
    text-decoration:none;
    font-weight:bold;
}

.link:hover {
    text-decoration:underline;
}

.link-primary {
    color: #007bff;
    text-decoration: none;
}

.text-xsm {
    font-size:0.65rem;
}

.text-djp-blue {
    color: #004C4C
}

.float-right {
    float:right;
}

.dntCaptcha {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    align-items: center;
    position: relative;
}

.dntCaptcha img, .refresh-captcha {
    border-radius: 0.5rem;
}

.dntCaptcha img {
    width:40%
}

.text-danger-abs {
    position: absolute;
    top: 80%;
    right: 0; 
    width: auto; 
    color: red; 
    text-align: right;
}
input#Username::placeholder, input#password::placeholder, input#DNTCaptchaInputText::placeholder {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.35);
}

/*-----validationSummary---*/

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.modals {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; 
    width: 800px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modals-danger {
    background-color: white;
    color: black;
    border: 2px solid #008081;
    border-radius: 5px;
}

.validation-summary-errors ul {
    margin: 0;
    padding: 0;
}

    .validation-summary-errors ul li {
        list-style-type: none;
    }
/*----end-of-validationSummary---*/