﻿
.program-stages
{
    margin-top: 20px;
}

.stage-block, .item-block, .credit-block
{
    border: solid 2px #bde3fb ; /*NEA Blue  #00c3c2 - NEA Teal#00c3c2;*/
    margin-bottom:20px;
	border-radius: 4px;
}

.credit-block
{
    padding:10px;
}

.stage-block .header, .item-block .header
{
    border-bottom: solid 1px #2e69a5 ; /*NEA Blue  #00c3c2 - NEA Teal*/
    font-weight:bold;
    padding: 15px;
    margin-bottom: 20px;
	border-radius: 4px;
}

.stage-block .header
{
    font-size: 20px;
}

.item-block .header
{
    font-size: 18px;
    margin-bottom:0;
}

.stage-block .contents, .item-block .contents
{
    padding: 10px;
    font-size:16px;
    position:relative;
}

.item-block .contents .item-status
{
    font-size:14px;
}

.item-block .contents
{
    padding-bottom: 0px;
}

.item-block .contents.parent-block
{
    padding-bottom:0;
}

.stage-block:last-of-type, .item-block:last-of-type
{
    margin-bottom: 0;
}

.item-block .item-status
{
    margin-top:30px;
    float:left;
}

.item-block .item-status div
{
    margin-bottom:3px;
}

.item-block .item-status span
{
    font-weight:bold;
}

.item-block .item-status span.rejected
{
    color:red;
    font-weight:normal;
}

.item-block .item-status span.approved
{
    color:green;
}

.item-block .item-status span.in-review
{
    color:blue;
    font-weight:normal;
}

.item-block .item-status .completed
{
    color: Green;
}

.item-block .item-description
{
    clear: right;
}

.item-description
{
    margin-bottom:20px;
}

.item-block .view-item
{
    position: absolute;
    right: 10PX;
    bottom: 10PX;
}

.stage-block .contents,
.item-block .contents {
    padding: 20px;
    font-size: 16px;
    position: relative;
}


.header.completed
{
    background-image: url("../_images/credit-completed.png");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
	color: white;
	background-color: #40b3e3;
}

.header.in-review
{
    background-image: url("../_images/credit-review.png");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
	color: white;
	background-color: #40b3e3;
}

.header.in-progress {
    background-image: url("../_images/credit-submitted.png");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    color: #40b3e3;
    background-color: white;
}

.header.rejected
{
    background-image: url("../_images/credit-rejected.png");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
	color: white;
	background-color: #40b3e3;
}

.header
{
    background-image: url("../_images/credit-notstarted.png");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
	color: white;
	background-color: #40b3e3;
}

.grid-header {
    white-space: nowrap;
    background-color: #00b2ef;
    color: #fff;
    font-weight: bold;
}

.approved-rejected {
    margin-top: 10px;
    font-style: italic;
    color: green;
    font-weight: bold;
}

a:hover:not(.disabled)
{
    color: #fb92ff;
}

a.disabled
{
    cursor: default;
    color:gray;
}

a.btn.disabled
{
    background-color: #2e69a5;
    color:gray;
}

a.btn-secondary {
    color: #fff;
    background-color: #00b2ef;
}

a.btn-secondary:hover:not(.disabled) {
    color: #00b2ef;
    background-color: #fff;
    border: 2px solid #00b2ef; /* Green border */
}
a.btn-primary, .maintenance-details a.tab, .a-dash-tabs a.tab {
    color: white;
    background-color: #00467f;
    border-color: rgba(16, 114, 206, 0.5);
}

.page-header {
    border-bottom: none;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    border-top: 50px solid  #00467F;
    height: 175px;
}
.page-header .container {
    max-width: 1500px;
    margin-right: auto;
    margin-left: auto;
}
.page-content.mnt-details {
    max-width: 1380px;
    margin-right: auto;
    margin-left: auto;
}
.program-card {
    border: solid 1px #dbdbdb;
    padding: 20px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.page-footer {background-color:  #00467F;}

.logo img {
    height: 100px;
    width: 184px;
}
.page-content .container {
    max-width: 1500px;
    margin-right: auto;
    margin-left: auto;
}

.program-details .program-description {
	text-align: left;
}
.header, .header.completed {
background-color: #00467f;
}
@media (min-width: 1600px) {
    .program-card-container {
        width: 33.3%;
    }
}

.item-block.completed .item-block
{
	/*display:none;*/
}

.non-enrolled-programs, .enrolled-programs
{
	display:none;
}

.final-submission iframe, .final-submission .item-description
{
	display: none;
}
/* ===== Ultra-compact review list (one-row style) ===== */
.final-submission .credit-info {
    margin-top: 20px;
    margin-bottom: 10px;
}
.final-submission-group-header span {
  display: inline-block;
  background: #f1f8ff;
  border-left: 4px solid #1976d2;
  color: #00467f;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 5px 10px;
  border-radius: 3px;
}
/* Initialize a counter for submission group headers */
.final-submission-details {
  counter-reset: sectionCounter;
}

/* Increment counter for each header */
.final-submission-group-header {
  counter-increment: sectionCounter;
  margin-top: 8px !important;
  margin-bottom: 6px !important;
}

/* Style for numbered header label */
.final-submission-group-header span::before {
  content: counter(sectionCounter) ". ";
  font-weight: 700;
  margin-right: 4px;
  color: #00467f;
}

/* Style the header itself (bold, blue label) */
.final-submission-group-header span {
  display: inline-block;
  background: #00467f;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  padding: 6px 12px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Optional divider */
.final-submission-group-header {
  border-bottom: 2px solid #00467f;
}

/* Compact .item-info block to one line */
.item-info {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 12px !important;         /* adjust space between items */
  font-size: 0.85rem !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.item-info > div {
  display: inline-flex !important;
  align-items: baseline !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

/* optional bullet separator between each stat */
.item-info > div:not(:last-child)::after {
  content: "•";
  color: #999;
  margin-left: 8px;
}
.item-info > div:nth-of-type(3) {
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.maintenance-details .left-controls input, .maintenance-details .right-controls input, .maintenance-details .full-row input, .maintenance-details .left-controls select, .maintenance-details .right-controls select, .maintenance-details .full-row select, .maintenance-details .left-controls textarea, .maintenance-details .right-controls textarea, .maintenance-details .full-row textarea, .credit-details .left-controls input, .credit-details .right-controls input, .credit-details .full-row input, .credit-details .left-controls select, .credit-details .right-controls select, .credit-details .full-row select, .credit-details .left-controls textarea, .credit-details .right-controls textarea, .credit-details .full-row textarea, .final-submission-details .left-controls textarea, .final-submission-details .right-controls textarea .widget-content input, .widget-content textarea {
    width: 100%;
    height: 50%;
}
/* Compact one-line approval panel */
.update-panel {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 12px !important;
  font-size: 0.9rem !important;
  line-height: 1.2 !important;
  margin: 4px 0 !important;
  padding: 0 !important;
}

/* Buttons – slightly larger, color coded */
.update-panel .btn,
.update-panel .update-button {
  padding: 4px 14px !important;
  font-size: 0.85rem !important;
  line-height: 1.1 !important;
  border-radius: 4px !important;
  border: none !important;
  cursor: pointer;
}

/* Specific button colors */
.update-panel #cmdReject,
.update-panel a[href*="DoReject"] {
  background-color: #c0392b !important;  /* red */
  color: #fff !important;
}

.update-panel #cmdReject:hover,
.update-panel a[href*="DoReject"]:hover {
  background-color: #e74c3c !important;
}

.update-panel #cmdApprove,
.update-panel a[href*="DoApprove"] {
  background-color: #2e7d32 !important;  /* green */
  color: #fff !important;
}

.update-panel #cmdApprove:hover,
.update-panel a[href*="DoApprove"]:hover {
  background-color: #388e3c !important;
}

/* Inline text elements */
.update-panel .review-counters,
.update-panel .approved-rejected {
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Optional divider between text and buttons */
.update-panel .review-counters::after {
  content: "|";
  color: #aaa;
  margin: 0 6px;
}
.sep.small-sep span {
    display: inline-block;
    background: linear-gradient(90deg, #fff);
    color: #00467f;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 5px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
    margin: 6px 0;
}
.details
h5 {
    font-size: 18px;
    font-weight: bolder;
}
.final-submission-details .sep::before, .special-final-submission-details .sep::before {
    content: "";
    width: 100%;
    height: 5px;
    background-color: #e1eaea;
    left: 0;
    top: 50%;
    position: absolute;
}
