:root {
  --sidebar-width: 260px;
  --bg-light-gray: #f4f5fa;
  --bg-light: #ffffff;
  --bg-dark: #212529;
  --text-light: #ffffff;
  --text-dark: #212529;
  --bg-dark-blue: #5141bd;
  --text-dark-blue: #5141bd;
  --bg-purple: #9c49df;
  --bg-green: #39d953;
  --bg-sky-blue: #4b76f7;
  --bg-light-orange: #e6923e;
  --text-purple: #c37aff;
  --text-green: #72e685;
  --text-sky-blue: #7a9bff;
  --text-light-orange: #e7a15b;
  --bg-blue-theme: #5141bd;
}
.btn-primary {
  --bs-btn-color: #fff !important;
  --bs-btn-bg: #5141bd !important;
  --bs-btn-border-color: #5141bd !important;
  --bs-btn-hover-color: #fff !important;
  --bs-btn-hover-bg: #3828a0 !important;
  --bs-btn-hover-border-color: #3828a0 !important;
  --bs-btn-focus-shadow-rgb: 49, 132, 253 !important;
  --bs-btn-active-color: #fff !important;
  --bs-btn-active-bg: #3828a0 !important;
  --bs-btn-active-border-color: #3828a0;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
  --bs-btn-disabled-color: #fff !important;
  --bs-btn-disabled-bg: #5141bd !important;
  --bs-btn-disabled-border-color: #5141bd !important;
}
.btn-outline-primary {
  --bs-btn-color: #5141bd !important;
  --bs-btn-border-color: #5141bd !important;
  --bs-btn-hover-color: #fff !important;
  --bs-btn-hover-bg: #3828a0 !important;
  --bs-btn-hover-border-color: #3828a0 !important;
  --bs-btn-focus-shadow-rgb: 13, 110, 253 !important;
  --bs-btn-active-color: #fff !important;
  --bs-btn-active-bg: #3828a0 !important;
  --bs-btn-active-border-color: #3828a0 !important;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
  --bs-btn-disabled-color: #5141bd !important;
  --bs-btn-disabled-bg: transparent !important;
  --bs-btn-disabled-border-color: #5141bd !important;
  --bs-gradient: none !important;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-light-gray) !important;
  color: var(--text-dark);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.table-dark-theme th {
  background-color: var(--bg-blue-theme) !important ; 
  color: var(--text-light) !important;
}
body.dark-mode {
  background-color: var(--bg-dark);
  color: var(--text-light);
}
a#userMenu {
  display: block;
  text-decoration: none;
}
a#userMenu img {
  width: 32px;
  border-radius: 6px;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inherit;
  color: inherit;
}
.sidebar-lg .nav-link {
  text-decoration: none;
}
.breadcrumb {
  padding: 0;
  margin-bottom: 0;
  list-style: none;
  border-radius: none;
}

.sidebar-lg {
  width: var(--sidebar-width);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  padding: 1rem 0;
  background: var(--bg-dark-blue);
  color: #fff;
  overflow-y: auto;
  transition: all 0.3s ease;
  z-index: 1050;
}

.sidebar-lg.collapsed {
  margin-left: -260px;
}

.sidebar-lg .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

.sidebar-lg .nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 0.5rem;
}
.sidebar-lg .nav-link.active {
  background: var(--bg-light);
  color: var(--text-dark-blue);
  border-radius: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
}

.brand img {
  width: 120px;
  object-fit: contain;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}
.topbar {
  height: 50px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  transition: background 0.3s ease;
}

body.dark-mode .topbar {
  background: #343a40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb-container {
  background: #fff;
  padding: 0.4rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.breadcrumb-item a {
  text-decoration: none;
  color: #6c757d;
  font-size: 14px;
}

body.dark-mode .breadcrumb-container {
  background: #2c3034;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "→";
  color: #6c757d;
}

.breadcrumb-item i {
  background: var(--bg-dark-blue);
  color: var(--text-light);
  border-radius: 100px;
  padding: 4px 6px;
  font-size: 0.8rem;
}

.hamburger-btn {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: inherit;
}

.user-btn {
  border: none;
  background: transparent;
  padding: 0.25rem 0.5rem;
}
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  display: none;
  transition: opacity 0.3s ease;
}
#overlay.active {
  display: block;
}
.card-colorfull {
  border: 0 none;
}
.card-colorfull.bg-purple {
  background: var(--bg-purple);
  color: var(--text-light);
}
.card-colorfull.bg-green {
  background: var(--bg-green);
  color: var(--text-light);
}
.card-colorfull.bg-sky-blue {
  background: var(--bg-sky-blue);
  color: var(--text-light);
}
.card-colorfull.bg-light-orange {
  background: var(--bg-light-orange);
  color: var(--text-light);
}
.card-colorfull .icon-bg .text-purple path {
  fill: var(--text-purple);
}
.card-colorfull .icon-bg .text-green path {
  fill: var(--text-green);
}
.card-colorfull .icon-bg .text-sky-blue path {
  fill: var(--text-sky-blue);
}
.card-colorfull .icon-bg .text-light-orange path {
  fill: var(--text-light-orange);
}
.card-colorfull .icon-bg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 6px;
  text-align: center;
  display: inline-flex;
  justify-content: center;
}
.card-colorfull .icon-bg i {
  font-size: 30px;
}
.card-main {
  background: var(--bg-light);
  padding: 15px;
  border-radius: 6px;
}
.cust-nav-btn .nav-pills {
  border: 1px solid #5141bd;
  border-radius: 8px;
}
.cust-nav-btn .nav-pills li {
  width: 50%;
  display: inline-flex;
}
.cust-nav-btn .nav-pills li .nav-link {
  width: 100%;
  text-align: center;
  color: #5141bd;
  font-weight: 500;
}
.cust-nav-btn .nav-pills li .nav-link.active,
.cust-nav-btn .nav-pills li .nav-link.active {
  text-align: center;
  background: #5141bd;
  color: #fff;
}
.task-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 365px;
  overflow: auto;
}
.task-list .list-main {
  background: var(--bg-light);
  padding: 16px;
  border-radius: 4px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  margin-bottom: 16px;
}
.task-list .icon span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  color: #fff;
  font-size: 24px;
}
.bg-red {
  background: #ff4747;
}
.bg-yellow {
  background: #f9ce27;
}
.bg-light-blue {
  background: #4b76f7;
}
.bg-light-green {
  background: #39d953;
}
.progress-bar {
  background: var(--bg-dark-blue) !important;
}
.filter-count {
  display: inline-flex;
  background: #5141bd;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  border-radius: 100px;
  width: 20px;
  height: 20px;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-left: 4px;
}
.f-12 {
  font-size: 12px;
}
.f-14 {
  font-size: 14px;
}
.f-18 {
  font-size: 18px;
}
.f-w-medium {
  font-weight: 500;
}
.text-dark-blue {
  color: var(--text-dark-blue);
}
table.table {
  font-size: 0.9rem;
}
.status-badge {
  border: 1px solid;
  width: auto;
  display: inline-flex;
  padding: 2px 4px;
  font-size: 14px;
  border-radius: 4px;
}
.status-badge-success {
  color: #2ea03b;
  border-color: #2ea03b;
}
.status-badge-yellow {
  color: #fab52a;
  border-color: #fab52a;
}
.status-badge-blue {
  color: #5141bd;
  border-color: #5141bd;
}
.status-badge-red {
  color: #ff0004;
  border-color: #ff0004;
}
.cust-table-striped > tbody > tr:nth-of-type(even) > * {
  background-color: #fafaff;
}
.page-link {
  color: var(--text-dark-blue);
}
.active > .page-link,
.page-link.active {
  background-color: var(--bg-dark-blue);
  border-color: #5141bd;
}
.dataTables_filter {
    float: left !important;
}
.dataTables_filter input {
    height: 30px;
    margin-bottom: 12px;
    margin-top: 12px;
    vertical-align: middle;
}
/* strat signin and signup page */

.wrapper-body.signinpage {
  background-position: bottom !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  padding: 30px 20px;
  position: relative;
  min-height: 100vh;
  height: auto;
  display: flex;
  justify-content: center;
  width: 100% !important;
  max-width: 100%;
  background-image: linear-gradient(
    to top,
    rgb(243, 231, 233) 0%,
    rgb(227, 238, 255) 99%,
    rgb(227, 238, 255) 100%
  );
}
.signinpage .container {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.signinpage .page-content {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  margin-top: 0px;
  background: #fff;
  padding: 15px;
  position: relative;
  width: 100%;
  max-width: 500px;
}

.signinpage .left-section {
  display: none;
}

.signinpage label.col-md-4.col-form-label.required.fw-bold {
  width: 100% !important;
  text-align: left !important;
}
.signinpage .col-md-6,
.signinpage .col-md-8,
.signinpage .col-lg-6 {
  width: 100% !important;
}
.signinpage .offset-md-4 {
  margin-left: 0 !important;
}

.signinpage #external-login-heading {
  font-size: 16px;
  line-height: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 0px;
  white-space: nowrap;
  padding-bottom: 0px;
  border-bottom: none;
}
.signinpage
  #ContentContainer_MainContent_MainContent_ExternalLogin
  .login-heading-section {
  font-size: 16px;
  line-height: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 0px;
  white-space: nowrap;
  padding-bottom: 0px;
  border-bottom: none;
}
.signinpage .btn.btn-line {
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/8/8c/Microsoft_Entra_ID_color_icon.svg) !important;
  border: 1px solid #cdcbcb !important;
  border-radius: 100% !important;
  height: 45px !important;
  width: 45px !important;
  min-width: 45px;
  line-height: 42px !important;
  text-align: center !important;
  display: block !important;
  background-repeat: no-repeat !important;
  background-color: #f7f7f7 !important;
  margin: 0px auto;
  background-position: center !important;
  scale: 1;
}
.signinpage .btn.btn-line:hover,
.signinpage .btn.btn-line:active {
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/8/8c/Microsoft_Entra_ID_color_icon.svg) !important;
  border: 1px solid #cdcbcb !important;
  border-radius: 100% !important;
  display: block !important;
  background-repeat: no-repeat !important;
  background-color: #f7f7f7 !important;
  background-position: center !important;
}

.signinpage .btn {
  height: 40px;
  display: block;
  width: 100%;
  border-radius: 10px !important;
  background-color: #5141bd !important;
}
.signinpage .btn:hover {
  background: #2f2092e3 !important;
}
.signinpage a.btn {
  background: transparent !important;
  border: 0 none !important;
  margin-top: 10px;
}
.signinpage a.btn:hover {
  background: transparent !important;
}
.signinpage #external-login-heading::before,
.signinpage #external-login-heading::after {
  display: inline-block;
  content: "";
  border-top: 1px solid #c3c5cf;
  width: 100%;
  margin: 0 1rem;
}

.signinpage #external-login-heading::before,
.signinpage #external-login-heading::after {
  display: inline-block;
  content: "";
  border-top: 1px solid #c3c5cf;
  width: 100%;
  margin: 0 1rem;
}

.signinpage
  #ContentContainer_MainContent_MainContent_ExternalLogin
  .login-heading-section::before,
.signinpage
  #ContentContainer_MainContent_MainContent_ExternalLogin
  .login-heading-section::after {
  display: inline-block;
  content: "";
  border-top: 1px solid #c3c5cf;
  width: 100%;
  margin: 0 1rem;
}

.signinpage
  #ContentContainer_MainContent_MainContent_ExternalLogin
  .login-heading-section::before,
.signinpage
  #ContentContainer_MainContent_MainContent_ExternalLogin
  .login-heading-section::after {
  display: inline-block;
  content: "";
  border-top: 1px solid #c3c5cf;
  width: 100%;
  margin: 0 1rem;
}

.signinpage label.col-form-label.required:after {
  content: "* ";
  color: red !important;
  white-space: nowrap;
  margin-left: 5px;
}

.signinpage .portal-form h6 {
  font-size: 12px;
  line-height: 24px;
  font-weight: 400;
  margin-bottom: 5px;
  text-align: start;
}

.signinpage .login-heading-section {
  border-bottom: inherit;
  line-height: inherit;
  margin-top: 0;
  margin-bottom: 16px;
  padding-bottom: 0px;
  text-align: left;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  color: #405159;
  font-family: inherit;
}

.signinpage input.form-control {
  border-color: #b8bbce;
  color: #000000;
  width: 100%;
  font-weight: 500;
}

.signinpage input.form-control:focus {
  border-color: #afb8c2;
}

.signinpage label.col-form-label {
  color: #000;
}

label.col-form-label.required:before {
  display: none;
}

.signinpage a.forgot-btn {
  font-size: 16px;
  font-family: "Roboto", sans-serif !important;
  color: #405159;
}

.signinpage .col-form-label {
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 6px;
  font-size: 14px !important;
  line-height: 1.2;
  max-width: 100%;
  display: inline-block;
  flex: inherit;
  text-align: left;
  font-weight: 400 !important;
}

.signinpage .checkbox label,
.signinpage .radio label {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #000;
  margin-top: 5px;
  margin-bottom: 5px;
}

.signinpage input[type="checkbox"],
.signinpage input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-top: 0;
}

.signinpage a.nav-link[role="tab"]:not(.active) {
  color: #ffffff !important;
  font-family: "Roboto", sans-serif !important;
  font-weight: 500 !important;
  /* letter-spacing: 0.5px !important; */
  font-size: 14px !important;
  border: none;
  outline: none;
  box-shadow: none;
  margin: 0;
  opacity: 0.7;
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 6px;
}

.signinpage .nav-tabs .nav-link.active,
.signinpage .nav-tabs .nav-link:hover,
.signinpage a.nav-link[role="tab"]:not(.active):hover {
  color: #fff !important;
  background-color: unset !important;
  border: none;
  font-size: 14px;
  text-decoration: none !important;
  outline: none;
  box-shadow: none;
  margin: 0;
  font-weight: 500;
  padding: 10px 6px;
}

.signinpage .nav-account {
  margin-top: 0 !important;
  border: none !important;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #5141bd;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.signinpage .nav-account li.nav-item {
  flex: 1 1 auto;
  text-align: center;
}

.signinpage .brand-login {
  min-height: 62px !important;
  width: 220px !important;
  margin: 0 auto;
  background-repeat: no-repeat;
  display: block !important;
  background-size: contain;
  background-image: url(/metrologo) !important;
  cursor: pointer;
  margin-bottom: 15px;
}

.signinpage .mb-3 {
  margin-bottom: 10px !important;
}

/* sign up page */
.right-section .col-md-6,
.right-section .col-md-8,
.right-section .col-md-4,
.right-section {
  max-width: 100% !important;
  width: 100% !important;
  text-align: left;
  flex: inherit;
}

.signuppage #SubmitButton {
  margin-top: 10px;
}

.right-section .col-md-6,
.right-section .col-md-8,
.right-section .col-md-4,
.right-section {
  display: block;
}

.signuppage
  div#ContentContainer_MainContent_MainContent_CaptchaControlContainer
  label {
  font-weight: 500;
  font-size: 14px;
  color: #768c98;
}

.signuppage
  div#ContentContainer_MainContent_MainContent_CaptchaControlContainer
  .rcCaptchaAudioLink,
.signuppage
  div#ContentContainer_MainContent_MainContent_CaptchaControlContainer
  .rcRefreshImage {
  font-weight: 600;
  text-decoration: underline !important;
}

.RadCaptcha
  #ctl00_ctl00_ContentContainer_MainContent_MainContent_captcha_CaptchaTextBox {
  border: 1px solid #d1dfef;
  background-color: #ffffff !important;
  color: #405159;
  padding: 0.375rem 0.75rem;
  display: block;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  line-height: 1.2;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none;
  outline: none;
  margin-top: 10px;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.RadCaptcha
  #ctl00_ctl00_ContentContainer_MainContent_MainContent_captcha_CaptchaTextBox:focus {
  border-color: #afb8c2;
}

div#ContentContainer_MainContent_MainContent_CaptchaRowPlaceHolder .row.mb-3 {
  margin-bottom: 0 !important;
}

.signinpage .portal-form {
  margin-top: 5px;
}

/* end signin and signup page */

/* start Create New Grant - Steps 1 to 4 */
.stepper {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}
.step {
  text-align: center;
  flex: 1;
  position: relative;
}
.step:after {
  content: "";
  position: absolute;
  top: 20px;
  left: -50%;
  right: 0;
  height: 2px;
  background: #d7d9da;
  transform: translateY(-50%);
  z-index: -1;
  width: 100%;
}
.step.active:after {
  background: #5141bd;
}
.step:first-child:after {
  display: none;
}
/* The gray base line*/
.stepper::before {
  display: none;
}
/* The filled active progress line*/
.stepper::after {
  display: none;
}

.step-circle {
  width: 40px;
  height: 40px;
  background: #d7d9da;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #525252;
}
.active .step-circle {
  background: #5141bd !important;
  color: #fff;
}
.step-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: #525252;
}
.step.active .step-title {
  color: #5141bd;
}
.steps-form .form-section {
  display: none;
}
.steps-form .form-section.active {
  display: block;
}
.border-dashed {
  border-style: dashed !important;
}
.border-color {
  border-color: #5141bd !important;
}
.upload-area {
  transition: background 0.15s ease;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}
.upload-area:hover {
  background: rgba(13, 110, 253, 0.05);
}
.text-or {
  position: relative;
}
.text-or:before {
  content: "";
  position: absolute;
  height: 1px;
  background: #cecece;
  width: 70px;
  left: 0;
  margin-left: -25px;
  top: 9px;
}
.text-or:after {
  content: "";
  position: absolute;
  height: 1px;
  background: #cecece;
  width: 70px;
  top: 9px;
  margin-left: 6px;
}
/* .upload-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: rgba(13,110,253,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0d6efd;
  font-size: 28px;
  margin-bottom: .5rem;
} */
.file-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.file-name {
  font-weight: 600;
  margin-bottom: 0;
}
.remove-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
}
.support-text code {
  background: #f1f3f5;
  padding: 2px 6px;
  border-radius: 4px;
}
.btn-more:after {
  display: none;
  visibility: hidden;
}
.btn-more {
  text-decoration: none;
  color: #606060;
  font-size: 18px;
}

/* start 3-options layout */

.layout-option {
  border: 1px solid #d0d2d4;
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  background: #fff;
  cursor: pointer;
  height: 100%;
  position: relative;
  width: 100%;
  display: block;
}

.layout-option:hover {
  border-color: #0d6efd40;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.08);
}

.layout-option.active {
  border-color: #5141bd;
  box-shadow: 0 0 6px 2px rgb(81 65 189 / 20%);
}

.layout-option input[type="radio"] {
  accent-color: #5141bd;
  position: absolute;
  top: 30px;
  left: 15px;
  transform: scale(1.3);
}

label.layout-option .layout-title,
label.layout-option .layout-subtext {
  margin-left: 20px;
}

.layout-title {
  font-weight: 600;
  color: #000;
}

.layout-subtext {
  color: #000;
  font-size: 0.9rem;
}

.layout-option.active .layout-title,
.layout-option.active .layout-subtext {
  color: #5141bd;
}
/* end 3-options layout */

/* start 4th steps details priview */
.grant-preview-panel {
  background: #f4f5fa;
  border-radius: 12px;
  padding: 1.5rem;
}

.grant-layout-option {
  display: block;
  border: 1px solid #5141bd;
  border-radius: 12px;
  padding: 0.8rem;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.grant-layout-option:hover {
  border-color: #0d6efd40;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.08);
}

.grant-layout-option.is-selected {
  border-color: #5141bd;
  box-shadow: 0 0 6px 2px rgb(81 65 189 / 20%);
  background-color: #f3f2ff;
}

.grant-layout-option input[type="radio"] {
  accent-color: #fff;
  transform: scale(1.2);
  margin-right: .5rem;
  position: absolute;
    top: 20px;
}

.grant-layout-preview {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  padding: 1rem;
}
.grant-layout-option.is-selected {
  border-color: #5141bd;
  box-shadow: 0 0 6px 2px rgb(81 65 189 / 20%);
  background-color: #5141bd;
  color: #fff;
}
.grant-layout-option.is-selected .small {
  color: #fff;
}
.grant-layout-option .btn-sub-text {
  font-size: 14px;
  margin-left: 28px;
}
.grant-layout-option .btn-text-heading {
  margin-left: 26px;
  display: inline-block;
}

/* start 4th steps details priview */

/* end Create New Grant - Steps 1 to 4 */


/* Start Home page */

.header-menu a.nav-link {
  color: #474747;
  font-size: 14px;
  padding: 0 15px;
  text-decoration: none;
}
.header-menu a.nav-link:hover {
  color: #000;
}
.header-menu a.nav-link.active {
  color: #5141bd;
  font-weight: 500;
}
.home-section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.hero-bg {
  background: url("/home_hero_give_lg.jpg") no-repeat center center/cover;
  min-height: 385px;
  border-radius: 0;
  position: relative;
}
.hero-bg .container:after {
    content: "";
    width: 100%;
    background: #000000ba;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
}
.hero-heading {
    position: relative;
    z-index: 1;
}
.updates-highlights {
  border-radius: 12px;
  background: #f6f8fa;
  padding: 20px;
  /* box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08); */
}
.news-badge {
  border-radius: 6px;
  padding: 4px 8px;
  text-align: center;
  font-weight: 500;
}
.news-badge-green {
  background: #00c951;
  color: #fff;
}
.news-badge-light-green {
  background: #dbfce7;
  color: #22832e;
}
.news-badge-red {
  background: #fb2c36;
  color: #fff;
}
.news-badge-purple {
  background: #ad46ff;
  color: #fff;
}
.news-badge-light-purple {
  background: #edeaff;
  color: #5141bd;
}
.news-badge-light-red {
  background: #fff1f1;
  color: #ff0004;
}

.updates-highlights .left-icon-bg {
  width: 48px;
  height: 48px;
  background: #e6e6f4;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* .update-box,
.program-card {
  border-radius: 12px;
  background: white;
  padding: 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
} */

.program-card-main {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px #dee0eb;
  border: 1px solid #e4e6f3;
}
.program-card-main .program-icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.program-card-main .program-icon-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}
.program-card-main .program-icon-list li i {
  position: absolute;
  left: 0;
}
.program-card-main .card-footer {
  background: #f8f9fa;
  padding: 15px 22px;
  border-radius: 0 0 8px 8px;
}
.program-card-main .card-img-main {
  height: 200px;
  overflow: hidden;
}
.program-card-main .card-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.program-card-main .card-head .heading {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.program-card-main .card-head .card-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

footer {
  background: #0f1a30;
  color: #b4b9c2;
}
footer ul.small li {
  margin-bottom: 10px;
}
footer ul.small li a {
  color: #b4b9c2;
  text-decoration: none;
}
footer ul.small li a:hover {
  color: #ffffff;
}
.copy-right {
  border-top: 1px solid #2b354a;
  padding-top: 20px;
  margin-top: 30px;
}

/* End Home page */
/* start application-management */
.hover-tab-wrapper {
  position: relative;
}

/* Scrollable tabs container */
.hover-tab-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 0 0.25rem;
  height: 60px;
  background-color: #fff;
}
.hover-tab-scroll::-webkit-scrollbar {
  display: none;
}

/* start tab buttons */
.hover-tab-btn {
  background: none;
  border: none;
  padding: 0.8rem 1.5rem;
  font-weight: 500;
  color: #595a5c;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  cursor: pointer;
  flex-shrink: 0;
}

.hover-tab-btn.active {
  color: #5141bd;
  border-bottom: 2px solid #5141bd;
}

/* hover arrows */
.hover-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: #fff;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 20;
}

.hover-tab-wrapper:hover .hover-arrow {
  display: flex;
}

.hover-arrow-left {
  left: -12px;
}
.hover-arrow-right {
  right: -12px;
}

.hover-arrow:hover {
  background: #ecebff;
}
/* end tab buttons */

span.user-pic img {
  width: 30px;
  border-radius: 100px;
}
.badge-light {
  background: #e1e3f1;
  color: #000;
  border-radius: 100px;
  padding: 6px 10px;
}
.doc-file-list .file-icon{
  width: 40px;
  height: 40px;
  background: #5141bd;
  border-radius: 4px;
  color: #fff;
}
.doc-file-list .doc-file-list-main{
  padding: 0.9rem;
  border:1px solid #c9cde2;
  border-radius: 6px;
  transition: 0.3s;
}
.doc-file-list .doc-file-list-main:hover{
  background: #eff1fa;
}
.btn-download {
  text-decoration: none;
  color: #5141bd;
  font-weight: 500;
  visibility: hidden;  
}
.doc-file-list .doc-file-list-main:hover .btn-download {
  visibility: visible;
  transition: 0.3s;
}
.overall-score-progress-main {
  background: #f6f5ff;
  margin: 0;
  padding: 20px 10px;
  border-radius: 6px;
  border: 1px solid #e2e0f3;
}
.reviewer-comments-bg {
  background: #fff;
  padding: 1rem;
  border-left: 6px solid #5141bd;
}
.progress, .progress-bar {
  border-radius: 100px;
}
.history-timeline ul{
    padding: 0;
    margin: 0;
    list-style: none;
}
.history-timeline ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 18px;
}
.history-timeline ul li:before {
  content: '\F51C';
  font-family: bootstrap-icons !important;
  font-size: 28px;
  position: absolute;
  left: -5px;
  top: -10px;
  color: #5141bd;
}
.history-timeline ul li:after {
  content: "";
  width: 1px;
  height: 100%;
  position: absolute;
  background: #5141bd;
  left: 8px;
  top: 20px;
}
.history-timeline ul li:last-child:after {
  display: none;
}
.cust-check input[type="checkbox"]{
    width: 20px;
    height: 20px;
    border-color: #5141bd;
}
.cust-check .form-check-label {
  margin-left: 10px;
}
.cust-check .form-check-input:checked {
  background-color: #5141bd;
  border-color: #5141bd;
}
.cust-radio .form-check-input:checked {
  background-color: #5141bd;
  border-color: #5141bd;
}
.cust-radio .form-check-input {
  width: 1.1em;
  height: 1.1em;  
  border-color: #5141bd;
}
.cust-radio .form-check-label{
  margin-left: 5px;
}
/* end application-management */



/* start financial */

.nav-link[aria-expanded="false"] .dropdown-icon {
  float: right;
  transform: rotate(0deg);
}
.nav-link.nav-link[aria-expanded="true"] .dropdown-icon {
  float: right;
  transform: rotate(90deg);
}
.sidebar-lg ul.sub-menu {
  list-style: none;
}
.sidebar-lg .sub-menu .nav-link {
  color: #c3bde6;
}
.sidebar-lg .sub-menu .nav-link.active {
  background: transparent;
  color: #fff;
}
.formItem-status {
  position: absolute;
  right: 15px;
  bottom: 15px;
}
.comment-main {
  border: 1px solid #ddd;
  border-left: 4px solid #5141bd !important;
  border-radius: 6px;
  padding: 15px;
}  
/* end financial */
/* start grant-management page */
.modal-bg-gray {
  background: #f4f5fa;
}
.modal-body .hover-tab-scroll {
  height: 50px;
}
.cust-pills-tab {
  background: #fff;
}
.cust-pills-tab .nav-link {
  color: #595a5c;
  border-bottom: 2px solid transparent;
  font-weight: 500;
  border-radius: 0;
}
.cust-pills-tab .nav-link.active {
  border-bottom: 2px solid #5141bd;
  border-radius: 0;
  background: transparent;
  color: #5141bd;
}

/* end grant-management page */

/* start notificatin */
.msg-main {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
}
.msg-unread {
  background: #f6f5ff;
  border-left: 4px solid #5141bd !important;
  border-color: #f6f5ff;
}
.f-8 {
  font-size: 8px;
}

/* Notification Panel */
.noti-bell-main {
  width: 400px;
}
.noti-bell-main .notify-panel {
  max-height: calc(100vh - 80px);
  overflow: auto;
}
.notify-header {
  padding: 10px 20px;
  border-bottom: 1px solid #eee;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

.notify-item {
    padding: 10px 15px;
    border-bottom: 1px solid #f1f1f1;
    position: relative;
    padding-left: 45px;
    display: inline-block;
}
.notify-header {
    padding: 4px 20px 8px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}
.notify-item span.badge {
    float: left;
}
.notify-title {
  font-weight: 600;
  font-size: 16px;
}

.noti-bell-main .footer-btn {
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  padding: 16px;
  background: #f6f5ff;
  text-align: center;
  border-radius: 0 0 6px 6px;
}

.noti-bell-main .footer-btn a {
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}
.notify-item i {
position: absolute;
left: 15px;
}
/* end notificatin */
.header-home .notification-mob {
    margin-right: 70px;
  }
  .home-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .top-banner-vertical-split {
    height: 300px;
    overflow: hidden;
}
 
.top-banner-vertical-split img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

input.form-control {
 border: 1px solid #dee2e6 !important;
}
label {
font-weight: normal !important;
}
/* start @media for responsive */

@media (min-width: 992px) {
  main.content-area {
    margin-left: var(--sidebar-width);
    transition: margin-left 0.3s ease;
  }

  main.content-area.collapsed {
    margin-left: 0;
  }

  #overlay {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .header-home .navbar-collapse .navbar-nav .nav-item {
    margin-bottom: 19px;
  }
  .header-home .container-fluid {
    position: relative;
  }
  .header-home button.navbar-toggler {
    position: absolute;
    right: 15px;
    top: 10px;
  }
  .header-home .notification-mob {
    margin-right: 70px;
  }
  .home-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* start @media for responsive */

@media (min-width: 992px) {
  main.content-area {
    margin-left: var(--sidebar-width);
    transition: margin-left 0.3s ease;
  }

  main.content-area.collapsed {
    margin-left: 0;
  }

  #overlay {
    display: none !important;
  }
}
