/* Progress Summary Table styling */
.progress-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  text-align: left;
}

/* Category Column Styling */
.ProgressRow_Category {
  font-weight: bold;
  color: #333;
}

/* Progress Column Styling */
.ProgressRow_Progress {
  color: #007bff;
}

/* Percent Completed Column Styling */
.ProgressRow_PercentCompleted {
  color: #28a745;
  font-weight: bold;
}

/* Full width block of text for SubTask Description */
.memun_SubTask_Description {
  width: 100%;
  font-size: 1.1em;
  margin-bottom: 1em;
  color: #333;
}

/* SubTask Status label & status */

.memun_SubTask_Status .memun_SubTask_Label {
  font-weight: bold;
}

/* SubTask Date Completed */

.memun_SubTask_DateCompleted .memun_SubTask_Label {
  font-weight: bold;
}

/* SubTask Justification Notes */

.memun_SubTask_Justification .memun_SubTask_Label {
  font-weight: bold;
}

/* Update Status Link styled as a button */
.memun_SubTask_Link a {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 0.5em 1em;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
 width: fit-content;
}

.memun_SubTask_Link a:hover {
  background-color: #0056b3;
}

/* Links to Resources title */
.memun_SubTask_ResourceLinkTitle {
  font-weight: bold;
}

/* Resource links */
.memun_resourcelinks {
  list-style: none;
  margin-bottom: 0.5em;
}

.memun_resourcelinks a {
  /*color: #d9534f;*/
  text-decoration: none;
}

.memun_resourcelinks a:hover {
  text-decoration: underline;
}

/*Progress Table*/

.memun_report > .ProgressRow {
  font-size: 1.1em;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

.memun_report .ProgressRow_Category {
  color: #333;
  display: flex !important;
  grid-column: 1;
  margin: 0;
}

.memun_report .ProgressRow_Progress {
  grid-column: 2;
  justify-self: end;
  margin: 0;
}

.memun_report .ProgressRow_PercentCompleted {
  grid-column: 3;
  justify-self: end;
  margin: 0;
}

/*  Report  Styles */
.memun_report .memun_SubTask_Description {
  width: 100%;
  color: #333;
  display: flex !important;
}
.memun_report > div[class*="memun_SubTask"] .memun_SubTask_Label {
  grid-column: 1;
  justify-self: end;
}
.memun_report > div[class*="memun_SubTask"] .memun_SubTask_Value {
  grid-column: 2;
}
.memun_report .memun_SubTask_Link {
  grid-column: 2 !important;
  display: block !important;
}
.memun_report h4.memun_SubTask_ResourceLinkTitle {
  grid-column: 2;
}
.memun_report ul.memun_resourcelinks {
  margin: 0;
  padding: 0;
  grid-column: 2;
}

.dnnUserDetails h2:nth-child(3) {
  display: none !important;
}

/*Remove bullets from Cyber Training Progress Summery*/

.memun_reports ul {
  list-style-type: none;
 
}
li.memun_ReportList {
    list-style: none;
}

/*----- Accordion Styles -----*/
.accordion-button:not(.collapsed) {
  color: #000000;
}
a li.memun_resourcelinks {
  list-style: none;
}

.accordion-header.memun_subTaskCompleted button.accordion-button {
  background-color: #28a745;
  color: #fff;
  position: relative;
  padding-left: 3rem;
}

.accordion-header.memun_subTaskCompleted button.accordion-button:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 1.2em;
}

.accordion-header.memun_subTaskCompleted button.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  padding: 1rem;
}

.accordion-body .memun_SubTask_Description {
  width: 100%;
  color: #333;
  display: block;
}

.accordion-header.memun_subTaskCompleted button.accordion-button:after {
  background: white;
  mask-image: var(--bs-accordion-btn-active-icon);
}

.accordion-body ul.memun_resourcelinks {
  margin: 0;
  padding: 0;
}

/*Added Checkbox for Completed Resource Links*/
.memun_resourceLinkCompleted {
  display: flex;
  align-items: center;
}

.memun_resourceLinkCompleted a {
  margin-left: 0.5rem;
  text-decoration: none;
  word-break: break-word;
  display: inline-block;
}

.memun_resourceLinkCompleted::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: green;
  font-size: 1.2em;
  display: inline-block;
}

./*memun_resourceLinkCompleted a:visited {
  color: #d9534f;
}*/

@media (max-width: 768px) {
  .memun_resourceLinkCompleted {
    align-items: flex-start;
  }

  .memun_resourceLinkCompleted a {
    font-size: 1em;
    margin-left: 0.4rem;
  }

  .memun_resourceLinkCompleted::before {
    font-size: 1em;
  }
}

/*Alignment fix for Resouce Links*/

.field-container.af-slide.form-check.form-offset-3 {
  margin-left: 0;
}



/*Put space between Resource User and make text italic*/

.memun_resourcelinksUser:before {
  content: "";
  margin-right: 0.1em; /* Adjust this value as needed */
}
.memun_resourcelinksUser {
  font-style: italic;
}

.memun_SubTask_ResourceLinks li.memun_resourcelinks a {
  display: flex;
  grid-column: 2;
}

/*----- Updated SubTask Accordion Styles 11.07.24 -----*/
.memun_SubTask_Info ul,
.memun_SubTask_ResourceLinks ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/*-- Task Complete Info --*/
	.memun_SubTask_Info ul li {
	  margin-bottom: 0.5rem;
	}
		.memun_SubTask_Label {
		  font-weight: bold;
		  width: 10rem;
		  margin-right: 2rem;
		  display: inline-block;
		  flex: 1 0 auto;
		  text-align: right;
		}
		.memun_SubTask_Value {
		  display: inline-block;
		  flex: 1 0 auto;
		}
		
/*-- Resource Links --*/
.memun_SubTask_ResourceLinks {
  display: flex;
}
  .memun_SubTask_ResourceLinkTitle {
  	width: 10rem;
  	text-align: right;
    margin-right: 2rem;
  }

/*-- Update Status Button --*/
.memun_SubTask_Status_Action a {
	display: inline-block;
	background-color: #007bff;
	color: #fff;
	padding: 0.5em 1em;
	text-decoration: none;
	border-radius: 5px;
	font-size: 1em;
 	width: fit-content;
}
.memun_SubTask_Status_Action a:hover {
	background-color: #0056b3;
}

/*--Custom for superFAQ--*/
@media only screen and (min-width: 768px) {
.cd-faq  .cd-faq-categories {

    width: 250px;

  }
  
   .cd-faq .cd-faq-items {
        padding-left: 270px;
    }
}

/*--hide account password change--*/
.dnnUserDetails h2:nth-child(3) {
  display: none !important;
}


/*---Report Styling----*/

#PrintSection {
    margin: 2rem;
}

.memun_report {
    /*border: 0.1rem solid #ccc;
    border-radius: 0.5rem;*/
    padding: 1.5rem;
    background-color: #fff; 
    overflow-x: auto; 
}

/* Title Styles */
.memun_report_Title {
    margin-bottom: 1.5rem;
    text-align: center; 
}

.memun_SummaryReport_Header_CategoryName {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.memun_SummaryReport_Header_TaskName {
    margin-top: 1.5rem; 
    margin-bottom: 0.75rem;
}

/* Table Header Row */
.memun_SummaryReport_Row:first-child {
    background-color: #f0f0f0;
    font-weight: bold;
    text-align: left;
    padding: 0.5rem 0;
    border-bottom: 0.2rem solid #ccc;
}

.memun_SummaryReport_Row:first-child div {
    font-size: 1rem;
    padding: 0.5rem;
    font-weight: bold; 
}

/* Table Data Rows */
.memun_SummaryReport_Row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 0.1rem solid #eee;
}

.memun_SummaryReport_Row:last-child {
    border-bottom: none;
}

/* Column Styles */
.memun_SummaryReport_Header_SubTaskName,
.memun_SummaryReport_Header_EventDate,
.memun_SummaryReport_Header_Status,
.memun_SummaryReport_SubTaskName,
.memun_SummaryReport_Header_EventDate,
.memun_SummaryReport_Status {
    flex: 1;
    text-align: left;
    padding: 0.5rem;
    word-wrap: break-word;
}

/* Adjustments for Column Widths */
.memun_SummaryReport_Header_SubTaskName,
.memun_SummaryReport_SubTaskName {
    flex: 2; 
}

.memun_SummaryReport_Header_EventDate,
.memun_SummaryReport_Header_Status {
    flex: 1;
    text-align: center;
}

/* Alternate Row Background */
.memun_SummaryReport_Row:nth-child(odd) {
    background-color: #fff; 
}

.memun_SummaryReport_Row:nth-child(even) {
    background-color: #f7f7f7; 
}

hr.memun_CategorySeparator {
    height: 5px;
    background-color: black;
}


/* Status Styles */
.memun_SummaryReport_Status {
    text-align: center;
    font-weight: bold;
    color: #000000;
}

.memun_SummaryReport_Status:contains("Yes") {
    color: #5cb85c;
}

.memun_CriticalityRed {
    color: #ff514b;
    font-weight: bold;
}

.memun_CriticalityYellow {
    color: #ffc107;
    font-weight: bold;
}

.memun_CriticalityBlack {
    color: #000000;
}

.memun_CriticalityGreen {
    color:  green;
    font-weight: bold;
}

.memun_SummaryReport_Section {
    padding-top: 1rem;
}
.print-button {
    padding-left: 3.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .memun_SummaryReport_Row {
        flex-direction: column; 
        align-items: flex-start;
    }
    .memun_SummaryReport_Header_SubTaskName,
    .memun_SummaryReport_Header_EventDate,
    .memun_SummaryReport_Header_Status {
        flex: 1;
        text-align: left;
    }
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: -5px;
  right: 105%;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

@media print {
  .progress-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 10px 0;
    text-align: left;
  }

  .ProgressRow_Category {
    font-weight: bold;
    color: #000;
  }

  .ProgressRow_Progress {
    color: #000;
  }

  .ProgressRow_PercentCompleted {
    color: #000;
    font-weight: bold;
  }

  .memun_SubTask_Description {
    font-size: 1em;
    color: #000;
  }

  .memun_SubTask_Status .memun_SubTask_Label,
  .memun_SubTask_DateCompleted .memun_SubTask_Label,
  .memun_SubTask_Justification .memun_SubTask_Label {
    font-weight: bold;
  }

  .memun_SubTask_Link a {
    display: inline-block;
    padding: 0.5em;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.9em;
    color: #000;
    background: transparent;
  }

  .memun_resourcelinks {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .memun_resourcelinks a {
    text-decoration: underline;
    color: #000;
  }

  .accordion-button:not(.collapsed) {
    color: #000;
    background-color: #e9ecef;
    box-shadow: none;
  }

  .accordion-body {
    padding: 0.5rem;
  }

  .memun_SubTask_Info ul,
  .memun_SubTask_ResourceLinks ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .memun_SubTask_Label {
    font-weight: bold;
    text-align: left;
    display: inline-block;
    margin-right: 1rem;
  }

  .memun_SubTask_Value {
    display: inline-block;
  }

  .memun_SummaryReport_Row {
    border-bottom: 1px solid #ddd;
    padding: 0.5rem 0;
    font-size: 0.9em;
  }

  .memun_SummaryReport_Header_SubTaskName,
  .memun_SummaryReport_Header_EventDate,
  .memun_SummaryReport_Header_Status {
    font-weight: bold;
    text-align: left;
    padding: 0.5rem;
  }

  .memun_SummaryReport_Status {
    color: #000;
    font-weight: bold;
    text-align: center;
  }

  .memun_CriticalityRed {
    color: red;
  }

  .memun_CriticalityGreen {
    color: green;
  }

  hr.memun_CategorySeparator {
    border: 0;
    border-top: 1px solid #000;
  }

  .tooltip .tooltiptext {
    display: none; /* Hide tooltips in print view */
  }

  /* Responsive adjustments for print */
  .memun_SummaryReport_Row {
    flex-direction: column;
    align-items: flex-start;
  }

  .memun_SummaryReport_Header_SubTaskName,
  .memun_SummaryReport_Header_EventDate,
  .memun_SummaryReport_Header_Status {
    text-align: left;
  }
}



















