﻿.program-card h1{
	white-space: pre-wrap;
	min-height: 120px;
	max-width: 130px;
	text-align: center;
}

.fixed-table {
    width: 100%;
    table-layout: fixed;
}

.fixed-cell {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word;
    vertical-align: top;
	padding-top: 10px;
}

.cdash-certificates .cpe-item {
    display: block !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word;
    line-height: 1.3;
    margin-bottom: 12px;
}

.cdash-certificates .cpe-item a {
    display: inline-block !important;
    width: 18px;
    min-width: 18px;
    margin-right: 6px;
    vertical-align: top;
}

@media (min-width: 1200px) {
    .program-card-container {
        width: 25%;
    }
}
@media (min-width: 768px) {
    .program-card h1 {
        font-size: 16px;
    }
}

.inactive-program-card .enroll-info {
    font-size: 0;
}

.inactive-program-card .enroll-info:after {
    content: "Awarded by Higher Level Program";
    font-size: 16px;
}

/* logo & legend */
.logo img
{
  height: 80px !important;
  width: auto !important;
  max-height: 90px;
}

.legend {
    margin-top: 10px;
    display: none;
}
.credits-tab .header-row .cell:first-child,
.credits-tab .row .cell:first-child {
    width: 33%;
}

/* =========================================================
   Modern SaaS Admin UI
   Scope: cb login page
   ========================================================= */

@media (min-width: 576px) and (min-height: 518px) {
    .login-box {

        border-radius: 20px;
    }
}
.input-group span {
    color: white;
    background-color: #8330bf;
}
/* =========================================================
   Modern SaaS Admin UI
   Scope: for the program page
   ========================================================= */

#programs .mnt-details .content-controls, .cdt-details .content-controls, .final-review .content-controls
Specificity: (0,2,0)
 {
    background-color: #f2b61b;
    padding: 20px;
    border-radius: 20px;
}
.mnt-summary {
    text-align: center;
    color: #b0b0b0;
    padding: 40px;
}
.program-details-body .item-block > .header.rejected .item-progress span, .program-details-body .item-block > .header.action-required .item-progress span
 {
    background-color: #1d9394;
}
.header.rejected .item-progress span {
    font-size: 0;   /* hides "Change word" */
}

.header.rejected .item-progress span::after {
    content: "Dual Specialization";
    font-size: 16px;
}
.credit-block span.rejected

 {
    color: #1d9394;
}
.credit-block span.rejected {
    font-size: 0;
}

.credit-block span.rejected::after {
    content: "Dual Specialization";
    font-size: 14px;
    color: #1d9394;
}
span.rejected {
    font-size: 0;
}

span.rejected::after {
    content: "Dual Specialization: Means applied to an alternate specialization";
    font-size: 11px;
    color: #1d9394;
}
span.in-review {
    font-size: 0;
}

span.in-review::after {
    content: "In Review - Duel Specialization";
    font-size: 14px;
    color: blue;
}
/* =========================================================
   Modern SaaS Admin UI
   Scope: for the program details page
   ========================================================= */

#stages {
  background:  #f2b61b ;
  padding: 24px;
  border-radius: 18px;
}
#stages .sep .medium-sep {
    background: white;
    border-radius: 6px;
    padding: 15px;
background-color: #1a3d8f;
color: white;
    font-size: 20px;
	    border-radius: 6px;

}

#stages .stage-block {
  background: #ffffff;
  border: 1px solid rgba(13, 44, 132, 0.10);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 22px;
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.04),
    0 8px 24px rgba(13, 44, 132, 0.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#stages .stage-block:hover {
  transform: translateY(-1px);
  border-color: rgba(13, 44, 132, 0.20);
  box-shadow:
    0 2px 6px rgba(16, 24, 40, 0.05),
    0 14px 30px rgba(13, 44, 132, 0.10);
}

#stages .stage-block > .header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 700;
  color: #0f2f7a;
  line-height: 1.3;
  margin-bottom: 14px;
  padding: 0 0 12px 0;
  border-bottom: 1px solid #e9eef7;
}

#stages .stage-block > .header::before {
  content: "Stage";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d2c84 0%, #2854c5 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(13, 44, 132, 0.18);
}

#stages .stage-detail-info {
  margin-bottom: 14px;
  padding: 12px 14px;
  background: #f1f1f1;
  border: 1px solid black;
  border-radius: 12px;
  color: #475467;
  font-size: 13px;
  line-height: 1.7;
  font-style: normal;
}

#stages .item-block {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid #dbe6fb;
  border-radius: 14px;
  padding: 16px 18px;
  margin-top: 14px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#stages .item-block:hover {
  transform: translateY(-1px);
  border-color: black;
  box-shadow:
    0 4px 10px rgba(16, 24, 40, 0.05),
    0 10px 18px rgba(40, 84, 197, 0.08);
}

#stages .item-block > .header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111827;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

#stages .item-block > .header::before {
  content: "Item";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e8efff;
  color: #23408e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

#stages .item-detail-info {
  margin-bottom: 12px;
  padding: 10px 12px;
  background: #f1f1f1;
  border: 1px solid #e1e9fb;
  border-radius: 10px;
  color: #475467 !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
  font-style: normal !important;
}

#stages .item-description {
  margin-top: 12px;
  padding: 16px 16px 16px 18px;
  background: #ffffff;
  border: 1px solid #e6edf8;
  border-left: 6px solid #2854c5;
  border-radius: 12px;
  color: #344054;
  font-size: 14px;
  line-height: 1.72;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

#stages .item-description::before {
  content: "Item Description";
  display: block;
  margin-bottom: 8px;
  color: #23408e;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

 

body {
color: #000 !important;
}
.container {
max-width: 1488px;
}

.page-header {
border-top: 20px solid #082330;
border-bottom: 2px solid #082330;
}
.logo img {
    height: 40px;
    width: 160px;
}

a.btn-primary, .maintenance-details a.tab, .a-dash-tabs a.tab {
background-color: #f2b61b;
border-color: transparent;
border-width: 1px;
color: #082330; 
border-radius: .5rem;
}

a.btn-primary:hover:not(.disabled), .maintenance-details a.tab:hover:not(.disabled), 
.a-dash-tabs a.tab:hover:not(.disabled) {
background-color: #fff;
border: 1px solid #082330;
color: #082330;
}

.empty-grid {
	background-color: #3fb1af !important;
	border-radius: .5rem !important;
	color: #000 !important;
}

.page-footer {
	background-color: #082330;
}

@media(max-width: 767px) {
	.page-header {
border-top: none;
border-bottom: none;
}
}

.non-enrolled-programs
{
	display:none;
}
/* =========================================
   Top admin command buttons only
   Login As / Sync / Recalc
   ========================================= */

#cmdLoginUser,
#cmdSyncUser,
#cmdRecalcUser {
    position: relative;
    padding-left: 42px !important;
    border-radius: 14px !important;
    font-weight: 600;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

/* Shared icon positioning */
#cmdLoginUser::before,
#cmdSyncUser::before,
#cmdRecalcUser::before {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    line-height: 1;
}

/* Login As - admin / impersonation */
#cmdLoginUser {
    background: #5b677d !important;
    border-color: #5b677d !important;
    color: #ffffff !important;
}

#cmdLoginUser::before {
    content: "◉";
}

#cmdLoginUser:hover,
#cmdLoginUser:focus {
    background: #4a5568 !important;
    border-color: #4a5568 !important;
    color: #ffffff !important;
}

/* Sync - system refresh / update */
#cmdSyncUser {
    background: #0f766e !important;
    border-color: #0f766e !important;
    color: #ffffff !important;
}

#cmdSyncUser::before {
    content: "↻";
}

#cmdSyncUser:hover,
#cmdSyncUser:focus {
    background: #0d5f59 !important;
    border-color: #0d5f59 !important;
    color: #ffffff !important;
}

/* Recalc - caution / recalculation */
#cmdRecalcUser {
    background: #b45309 !important;
    border-color: #b45309 !important;
    color: #ffffff !important;
}
/* profile page content edit */
#divPWComment {
    
   font-size: 0;
}

#divPWComment::after {
    content: "iMIS Logged in users NEVER see this profile page. ** Changing this password does not change the user's IMIS password or have any affect on the SSO. ** This would only allow you to enter CertBank from the CertBank backend with this password. ** The profile data is fed from iMIS and changing this data (other than password) will be overwritten by iMIS.  This is for informational purposes only.";
    font-size: 14px;
    color: #666;
}

#cmdRecalcUser::before {
    content: "∑";
}

#cmdRecalcUser:hover,
#cmdRecalcUser:focus {
    background: #92400e !important;
    border-color: #92400e !important;
    color: #ffffff !important;
}
#stage_block .stage-detail-info, .item-detail-info {
    margin-bottom: 20px;
    margin-top: 0px; 
    font-style: italic;

}
/* Enrollments tab layout cleanup */
.enrollments-tab .enrollments-table .row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    align-items: start;
}

/* Reset the fake table-cell behavior */
.enrollments-tab .enrollments-table .cell {
    display: block !important;
    padding: 6px 8px;
    overflow: visible;
}

/* Hide Maintenance column - 5th column */
.enrollments-tab .enrollments-table .cell:nth-child(5) {
    display: none !important;
}

/* After hiding Maintenance, spread remaining columns */
.enrollments-tab .enrollments-table .row {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
}

/* Let Program breathe and wrap nicely */
.enrollments-tab .enrollments-table .cell:nth-child(1) {
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

/* Hide Include in Perc and Status */
.credits-tab .credits-table .row .cell:nth-child(4),
.credits-tab .credits-table .row .cell:nth-child(7) {
    display: none !important;
}

/* Resize remaining columns */
.credits-tab .credits-table .row .cell:nth-child(1) {
    width: 45%;
    white-space: normal;
    overflow-wrap: break-word;
}

.credits-tab .credits-table .row .cell:nth-child(2) {
    width: 15%;
}

.credits-tab .credits-table .row .cell:nth-child(3) {
    width: 15%;
}

.credits-tab .credits-table .row .cell:nth-child(5) {
    width: 12.5%;
}

.credits-tab .credits-table .row .cell:nth-child(6) {
    width: 12.5%;
}

/* Rename headers */
.credits-tab .credits-table .header-row .cell {
    font-size: 0;
}

.credits-tab .credits-table .header-row .cell:nth-child(1)::after {
    content: "Item";
    font-size: 14px;
    font-weight: 600;
}

.credits-tab .credits-table .header-row .cell:nth-child(2)::after {
    content: "Activity Date";
    font-size: 14px;
    font-weight: 600;
}

.credits-tab .credits-table .header-row .cell:nth-child(3)::after {
    content: "Removed/Inactivated";
    font-size: 14px;
    font-weight: 600;
}

.credits-tab .credits-table .header-row .cell:nth-child(5)::after {
    content: "Claimed";
    font-size: 14px;
    font-weight: 600;
}

.credits-tab .credits-table .header-row .cell:nth-child(6)::after {
    content: "Granted";
    font-size: 14px;
    font-weight: 600;
}
/* Hide specific admin tabs */
#lnk_address,
#lnk_submissions {
    display: none !important;
}
/* ==========================================================
   Enrollments - Program & Action Links
   ========================================================== */

/* Program link */
.enrollments-tab .enrollments-table .cell:nth-child(1) a:first-child {
    display: inline-block;
    font-weight: 700;
    color: #002f87 !important;
    text-decoration: underline;
    margin-top: 4px;
    margin-bottom: 10px;
}

/* View Enrollment helper */
.enrollments-tab .enrollments-table .cell:nth-child(1) a:first-child::after {
    content: " 🔍 View Enrollment";
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    vertical-align: middle;
}

/* All action links */
.enrollments-tab .enrollments-table .cell:nth-child(1) a:not(:first-child) {
    display: inline-block;
    margin-top: 8px;
    font-size: 0;              /* Hide original text */
    text-decoration: none;
}

/* Remove Enrollment */
.enrollments-tab .enrollments-table .cell:nth-child(1) a:nth-of-type(2)::before {
    content: "⚠ Remove Enrollment";
    font-size: 12px;
    font-weight: 600;
    color: #b35c00;
    border: 1px solid #b35c00;
    border-radius: 4px;
    padding: 4px 8px;
    display: inline-block;
}

/* Inactivate */
.enrollments-tab .enrollments-table .cell:nth-child(1) a:nth-of-type(3) {
    margin-top: 12px;
}

.enrollments-tab .enrollments-table .cell:nth-child(1) a:nth-of-type(3)::before {
    content: "⛔ Inactivate";
    font-size: 12px;
    font-weight: 600;
    color: #9b1c1c;
    border: 1px solid #9b1c1c;
    border-radius: 4px;
    padding: 4px 8px;
    display: inline-block;
}
/* ==========================================================
   Credits - Enrollment & Delete Links
   ========================================================== */

/* Enrollment link */
.credits-tab .credits-table .cell:nth-child(1) a[href*="enrollment.aspx"] {
    display: inline-block;
    font-weight: 700;
    color: #002f87 !important;
    text-decoration: underline;
    margin-top: 4px;
    margin-bottom: 10px;
}

/* View Details helper */
.credits-tab .credits-table .cell:nth-child(1) a[href*="enrollment.aspx"]::after {
    content: "   🔍 View Enrollment";
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    vertical-align: middle;
}

/* Delete Item link */
.credits-tab .credits-table .cell:nth-child(1) a[href*="deleteCredit"] {
    display: inline-block;
    margin-top: 10px;
    color: transparent !important;
    text-decoration: none;
    position: relative;
}

/* Replace "delete" with a clearer action */
.credits-tab .credits-table .cell:nth-child(1) a[href*="deleteCredit"]::after {
    content: "🗑 Delete Item";
    position: absolute;
    left: 0;
    top: 0;
    color: #9b1c1c;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* =========================================================
   DOCUMENT LIST bfd 7/20/26
   ========================================================= */

#divDocList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    margin: 18px 0 22px;
}

/* Individual document card */
#divDocList .credit-details-doc-row {
    position: relative;
    margin: 0;
    padding: 18px 18px 16px 52px;
    background: #ffffff;
    border: 1px solid #d9dee5;
    border-left: 5px solid #f4b400;
    border-radius: 8px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.08);
    line-height: 1.5;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* Small document icon */
#divDocList .credit-details-doc-row::before {
    content: "\1F4C4";
    position: absolute;
    top: 17px;
    left: 16px;
    font-size: 24px;
    line-height: 1;
}

/* Hover effect */
#divDocList .credit-details-doc-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);
}

/* Remove the extra line break spacing inside each card */
#divDocList .credit-details-doc-row br {
    line-height: 1.8;
}

/* Document filename */
#divDocList .credit-details-doc-row > a:first-of-type {
    display: inline-block;
    margin-bottom: 5px;
    color: #174f78;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

#divDocList .credit-details-doc-row > a:first-of-type:hover {
    color: #0d6ca6;
    text-decoration: underline;
}

/* Delete and Edit links */
#divDocList .credit-details-doc-row a[href*="deleteDocument"],
#divDocList .credit-details-doc-row a[href*="editDocument"] {
    display: inline-block;
    margin-top: 9px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

/* Delete */
#divDocList .credit-details-doc-row a[href*="deleteDocument"] {
    color: #a12622;
    background: #fff1f0;
    border: 1px solid #efc2bf;
}

#divDocList .credit-details-doc-row a[href*="deleteDocument"]:hover {
    color: #ffffff;
    background: #b6322c;
    border-color: #b6322c;
}

/* Edit */
#divDocList .credit-details-doc-row a[href*="editDocument"] {
    color: #174f78;
    background: #edf6fc;
    border: 1px solid #bdd8ea;
}

#divDocList .credit-details-doc-row a[href*="editDocument"]:hover {
    color: #ffffff;
    background: #174f78;
    border-color: #174f78;
}

/* Add document button */
.credit-controls input[type="button"],
.credit-controls input[type="submit"],
.credit-controls button {
    padding: 10px 17px;
    border: 0;
    border-radius: 6px;
    background: #f4b400;
    color: #1f2933;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}

.credit-controls input[type="button"]:hover,
.credit-controls input[type="submit"]:hover,
.credit-controls button:hover {
    filter: brightness(0.95);
}

/* Mobile */
@media (max-width: 650px) {
    #divDocList {
        grid-template-columns: 1fr;
    }

    #divDocList .credit-details-doc-row {
        padding-left: 46px;
    }
}
