﻿/* =============================================================================
   FEEDBACK 360° WIDGET
   ============================================================================= */

.db__feedback__summary {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.db__feedback__summary__item {
  flex: 1 1 auto;
  min-width: 80px;
  padding: 12px 14px;
  background: var(--color-bg-tertiary);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  text-align: center;
}

.db__feedback__summary__count {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-bg-primary);
  margin-bottom: 4px;
}
.db__feedback__summary__count--green  { color: #198754; }
.db__feedback__summary__count--orange { color: #ff8f00; }
.db__feedback__summary__count--grey   { color: #aaa; }

.db__feedback__summary__label {
  font-size: 0.6875rem;
  color: #888;
  line-height: 1.2;
}

/* Tabs */
.db__feedback__tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.db__feedback__tab {
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-bg-tertiary);
  border: 1px solid var(--bs-border-color);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.db__feedback__tab:hover {
  border-color: var(--color-bg-primary);
  color: var(--color-bg-primary);
}
.db__feedback__tab--active {
  background: var(--color-bg-primary);
  border-color: var(--color-bg-primary);
  color: var(--color-text-primary);
}

/* Karten-Grid */
.db__feedback__grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.db__feedback__item {
  display: grid;
  grid-template-columns: 40px 1fr 90px 80px;
  align-items: center;
  gap: 0 14px;
  padding: 14px 16px;
  background: var(--color-bg-tertiary);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  text-decoration: none !important;
  color: var(--color-text) !important;
  transition: border-color 0.15s;
  cursor: pointer;
}
a.db__feedback__item:hover { border-color: var(--color-bg-primary); }

.db__feedback__item--locked { opacity: 0.6; cursor: default; }

.db__feedback__status-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.db__feedback__status-icon img { max-width: 20px; max-height: 20px; }

.db__feedback__status-icon--open    { background: #fff3f3; border: 2px solid #ffcccc; }
.db__feedback__status-icon--done    { background: #f0faf4; border: 2px solid #b8e6ca; }
.db__feedback__status-icon--pending { background: #fff8e1; border: 2px solid #ffd986; }
.db__feedback__status-icon--locked  { background: var(--color-bg-secondary); border: 2px solid #ddd; }

.db__feedback__info { flex: 1 1 auto; min-width: 0; }

.db__feedback__name {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-header-1);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.db__feedback__meta {
  font-size: 0.75rem;
  color: #888;
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
}

.db__feedback__meta__divider { color: #ccc; }

.db__feedback__progress-wrap {
  flex-shrink: 0;
  width: 80px;
  text-align: center;
}

.db__feedback__progress-bar-bg {
  height: 6px;
  background: #e1e1e1;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 3px;
}

.db__feedback__progress-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease;
}
.db__feedback__progress-bar--red    { background: var(--color-bg-primary); }
.db__feedback__progress-bar--green  { background: #198754; }
.db__feedback__progress-bar--orange { background: #ff8f00; }

.db__feedback__progress-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-text);
}

.db__feedback__badge {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-align: center;
}
.db__feedback__badge--open    { background: #fff3f3; color: var(--color-bg-primary); }
.db__feedback__badge--done    { background: #f0faf4; color: #198754; }
.db__feedback__badge--pending { background: #fff8e1; color: #ff8f00; }
.db__feedback__badge--locked  { background: #f0f0f0; color: #aaa; }

/* Empty State */
.db__feedback__empty {
  padding: 28px 0;
  text-align: center;
  color: #aaa;
}

@media (max-width: 767px) {
  .db__feedback__progress-wrap { display: none; }
  .db__feedback__summary { gap: 6px; }
}

/* ############################################################################################## */

/* ################################ Learning Lounges ############################################ */
  .db__lounges { margin-bottom: 28px; }
 
  /* .db__content / .db__content--flush / .db__content__title existieren im
     echten Projekt bereits (siehe widget-styles-reference.css) und werden
     hier nur zur Vorschau nachgebildet - NICHT erneut übernehmen. */
  .db__content { padding: 28px 30px; margin-bottom: 28px; border: 1px solid var(--bs-border-color); border-radius: var(--bs-border-radius); }
  .db__content--flush { padding: 0 !important; border: 0 !important; }
  .db__content__title {
    margin-bottom: 22px;
    font-family: "Sparkasse Web Head", Arial, sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2222222222;
    color: var(--color-header-1);
  }
  .db__content__title h2 { margin: 0; font-size: inherit; line-height: inherit; color: inherit; }
 
  /* --- Zustand A: genau 1 LearningLounge -> vollflächiger Banner --- */
  .db__lounges__banner {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 220px;
    color: inherit !important;
    text-decoration: none !important;
    border: 1px solid var(--bs-border-color);
    border-radius: 5px;
    box-shadow: 0 0 6px rgba(0, 0, 0, .16);
  }
  @media (min-width: 768px) { .db__lounges__banner { min-height: 320px; } }
 
  .db__lounges__banner__image {
    position: absolute; inset: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }
 
  .db__lounges__banner__badge {
    position: absolute;
    top: 24px; left: 24px;
    max-width: calc(100% - 48px);
    padding: 14px 22px;
    background-color: #fff;
    border-radius: var(--bs-border-radius);
    box-shadow: 0 0 6px rgba(0, 0, 0, .16);
  }
  .db__lounges__banner__badge h3 {
    margin: 0;
    font-family: "Sparkasse Web Head", Arial, sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-header-1);
  }
 
  .db__lounges__banner__cta { position: absolute; left: 24px; bottom: 24px; }
 
  /* Hover-Effekt aus dem bestehenden System übernommen (vgl. a.db__progress__item:hover,
     a.ljourney__item__inner:hover): nur die Rahmenfarbe wechselt auf Rot. */
  .db__lounges__banner:hover,
  .db__lounges__card:hover {
    border-color: var(--color-bg-primary);
  }
 
  @media (max-width: 767px) {
    .db__lounges__banner__badge { top: 15px; left: 15px; padding: 10px 16px; }
    .db__lounges__banner__badge h3 { font-size: 1.0625rem; }
    .db__lounges__banner__cta { left: 15px; bottom: 15px; }
  }
 
  /* --- Karte (wiederverwendet in Zustand B und C) --- */
  .db__lounges__card {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 170px;
    color: inherit !important;
    text-decoration: none !important;
    border: 1px solid var(--bs-border-color);
    border-radius: 5px;
    box-shadow: 0 0 6px rgba(0, 0, 0, .16);
  }
  @media (min-width: 768px) { .db__lounges__card { min-height: 230px; } }
 
  .db__lounges__card__image {
    position: absolute; inset: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }
 
  .db__lounges__card__title {
    position: absolute;
    left: 14px; top: 14px;
    max-width: calc(100% - 28px);
    padding: 8px 12px;
    background-color: #fff;
    border-radius: var(--bs-border-radius);
    box-shadow: 0 0 6px rgba(0, 0, 0, .16);
  }
  .db__lounges__card__title span {
    display: block;
    font-family: "Sparkasse Web Head", Arial, sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-header-1);
  }
 
  .db__lounges__card__open {
    position: absolute;
    right: 12px; bottom: 12px;
    width: 32px; height: 32px;
    background-color: var(--color-bg-primary);
    border-radius: 100%;
    box-shadow: 0 0 4px rgba(0, 0, 0, .25);
  }
  .db__lounges__card__open::after {
    content: "";
    position: absolute; top: 50%; left: 50%;
    width: 8px; height: 8px;
    margin-top: -6px; margin-left: -7px;
    border-right: 2px solid var(--color-text-primary);
    border-bottom: 2px solid var(--color-text-primary);
    transform: rotate(-45deg);
  }
 
  /* --- Zustand B: genau 2 LearningLounges -> statische 50/50-Grid ---
     Bewusst KEIN Karussell: einfaches CSS-Grid, keine Pfeile, kein JS. */
  .db__lounges__grid--static {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  @media (max-width: 767px) {
    .db__lounges__grid--static { grid-template-columns: 1fr; }
  }
 
  /* --- Zustand C: 3+ LearningLounges -> 50/50-Fenster mit Pfeil-Navigation
     (Einzelschritt, Endlos-Loop) --- */
  .db__lounges__slider { position: relative; }
  .db__lounges__slider__viewport { overflow: hidden; }
  .db__lounges__slider__track { display: flex; transition: transform .4s ease; }
  .db__lounges__slider__track.is-jumping { transition: none; }
 
  .db__lounges__slider .db__lounges__card { flex: 0 0 calc(50% - 10px); margin-right: 20px; }
  @media (max-width: 767px) {
    .db__lounges__slider .db__lounges__card { flex: 0 0 100%; margin-right: 0; }
  }
 
  /* Navigations-Pfeile: Optik angelehnt an .ljourney__scroll-arrow,
     nur die Positionierung ist für dieses Widget angepasst. */
  .db__lounges__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    box-sizing: border-box;
    width: 30px; height: 30px;
    margin-top: -15px;
    padding: 0;
    cursor: pointer;
    background-color: #fff;
    border: 2px solid rgba(191, 191, 191, .5);
    border-radius: 100%;
    box-shadow: 0 0 6px rgba(0, 0, 0, .16);
  }
  .db__lounges__nav > span {
    position: absolute; top: 50%; left: 50%;
    width: 10px; height: 10px;
    margin-top: -6px; margin-left: -5px;
    border-right: 3px solid var(--color-text);
    border-bottom: 3px solid var(--color-text);
    transform: rotate(135deg);
  }
  .db__lounges__nav--prev { left: -15px; }
  .db__lounges__nav--next { right: -15px; }
  .db__lounges__nav--next > span { margin-left: -7px; transform: rotate(-45deg); }
  .db__lounges__nav:hover > span { border-color: var(--color-bg-primary); }
  @media (max-width: 767px) {
    .db__lounges__nav--prev { left: -10px; }
    .db__lounges__nav--next { right: -10px; }
  }
 
  /* Positions-Punkte unterhalb des Sliders */
  .db__lounges__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
  .db__lounges__dot { width: 8px; height: 8px; border-radius: 100%; background-color: #ddd; transition: background-color .2s ease; }
  .db__lounges__dot--active { background-color: var(--color-bg-primary); }

/* ############################################################################################## */

/*div.eventDetails>div:nth-child(6),div.eventDetails>div:nth-child(7){
	display: none;
}*/

.HTMLPriceInfoValue {
	max-width: 16em; /* damit der Preis-Betrag nicht zu weit rechts steht */
}

/* Beim Aufklappen der Veranstaltungen beim Produkt mit der tabellenartigen Detailanzeige */
.eventDetailGrid {
	display: grid;
	grid-template-columns: max-content auto;
	padding-right: 4px;
	margin-bottom: 12px;
}

.eventDetailGrid div {
	padding-right: 1em;
}

.EventDescriptionModuleTable {
	display: grid;
	grid-template-columns:  auto;
	padding-right: 4px;
}

li.WBTListItemClosed{
	background-image: none;
}

#MobileaccordionHomeworkContainer_AccordionaccordionHomeworkContainer .list-item-text{
	display: none;
}

ul#moduleEnrollsList li.list-group-item div.list-item-block-withIcon div.list-item-text-block div.list-item-text{
	display:none;
}

.deliveryModeText{
	display:none;
}

a#MobilegridHeading_ButtonbuttonRefresh{
	margin-right: 0.5em;
}

input.form-control:focus{
	border-color: var(--color-bg-primary);
	border-radius: .5em;
}

.ecadia-card{
	background-color: var(--color-bg-secondary);

	box-shadow: none;
}

.ecadia-card:hover{
	background-color: var(--color-bg-secondary-hover);
    	transform: none;
  	box-shadow: none;
}

.ecadia-folder-card{
	min-height: 130px;
}

.ecadia-card:hover h2.card-title{
	/* color:var(--color-text-primary-hover); */
  color:var(--color-bg-primary);
}

h2.card-title{
	font-family: Sparkasse Web;
	font-weight: 400;
	font-size: 1rem;
}

p.card-text,div.card-text{
	color:var(--color-text-secondary);
}

.ecadia-card:hover p.card-text{
	/* color:var(--color-text-primary-hover); */
  color: var(--color-bg-primary);
}

.evo-calendar,.evo-calendar .calendar-inner {
	box-shadow: none !important;
}

div.day:hover div.type-bul.event,div.day.calendar-active:hover div.type-bul.event {
	background-color: white !important;
} 

.grey-round {
    max-height: 48px;
    vertical-align: middle;
    padding: 0px 0px 0px 0px;
    background-color: #f0f0f0;
    border-radius: 50%;
    border: 1px solid #fff;
    margin-right: 0.4em;
}

ul#optionalModuleList li.listDivider h5{
	color: var(--color-text-success);
	margin-bottom: 0em;
}

ul#RelatedProductsParents{
	margin-bottom: 1em;
}

ul#mobileBulletListSimilarFolders{
	margin-left: 2em;
}

div#optionalModuleSelectionArea .align-items-start h2.mobileWidget{
 margin-top: .75rem;
	margin-bottom: 0em;
}

.select2-container--default .select2-results>.select2-results__options{
	max-height: 164px;
}

/* Leider Button sonst falsch: */

a#Mobileregister_Buttonregister {
	
    --bs-btn-color: var(--color-text-primary);
    --bs-btn-bg: var(--color-bg-primary);
    --bs-btn-border-color: var(--color-bg-primary);
    --bs-btn-hover-color: var(--color-text-primary-hover);
    --bs-btn-hover-bg: var(--color-bg-primary-hover);
    --bs-btn-hover-border-color: var(--color-bg-primary-hover);
    --bs-btn-active-color: var(--color-text-primary-hover);
    --bs-btn-active-bg: var(--color-bg-primary-hover);
    --bs-btn-active-border-color: var(--color-bg-primary-hover);
    --bs-btn-disabled-color: var(--color-text-primary);
    --bs-btn-disabled-bg: var(--color-bg-primary);
    --bs-btn-disabled-border-color: var(--color-bg-primary);
}

#MobilepopupLogon_ButtonreturnToLogon{
	background-color: var(--color-bg-primary);
	color: white;
}

#MobilepopupLogon_ButtonreturnToLogon:hover{
background-color: var(--color-bg-secondary);
	color: var(--color-text-secondary-hover);
}

/* Extrem wichtig, dass diese zwei Dinge nicht zu sehen sind: */

.contentArea_trainingproduct h1.pageHeader,.contentArea_selfStudyProgram h1.pageHeader{
	display: none;
}

li.trainingProductListItem div.list-item-subtitle-right{
	display: none;
}

/* ####################################################################*/


table#participantSheetTable{
	border-spacing: 0 0 !important;
	border: 1px solid #ddd;
	border-collapse: collapse !important;
}

table#participantSheetTable tbody td.achievedPointsColumn, table#participantSheetTable tbody td.achievablePointsColumn{
	/* text-align: center !important; */
	padding-top: 5px !important;
}

/* Die ganzen Anpassungen für die Feedback-Auswertung */


.EvaluatorQuestionSelectionContainer table tr th, .EvaluatorQuestionScaleContainer table tr th, .EvaluatorQuestionScaleContainer table tr:nth-child(2) td{
	background-color: white;
}

.EvaluatorQuestionSelectionContainer .barChart, .EvaluatorQuestionScaleContainer .barChart {
	width: 3em;
	background-color: var(--color-bg-primary);
	display: block;
	text-align: center;
	margin-left: auto ;
	margin-right: auto ;
}


#allEvalDiv{
	margin: 1em 0 0 0 !important;
	border: 1px solid !important;
	box-shadow: none !important;
}

#allEvalDiv h2{
	font-size: 18px;
}

#allEvalDiv .EvaluatorQuestionSelectionContainer table tr th, 
#allEvalDiv .EvaluatorQuestionSelectionContainer table tr td,
#allEvalDiv .EvaluatorQuestionScaleContainer table tr th,
#allEvalDiv .EvaluatorQuestionScaleContainer table tr td{
    padding: .5em;
    text-align: center;
	border: 1px solid var(--color-bg-secondary);
	min-width: 6em;

}

#allEvalDiv .EvaluatorQuestionSelectionContainer table tr:nth-child(2) td, #allEvalDiv .EvaluatorQuestionScaleContainer table tr:nth-child(3) td {
	height: 4em;
	vertical-align: bottom;
	padding-bottom: 0;
	border-bottom: 2px solid var(--color-bg-secondary);
}


#allEvalDiv .EvaluatorQuestionScaleContainer table tr td{
    color:var(--color-bg-primary);
}

#allEvalDiv .EvaluatorPlainText table h2,#allEvalDiv .EvaluatorQuestionSelectionContainer h2{
	margin-top: 1em;
}



#ExamParticipantSheetMain .examQuestionRadio, #ExamParticipantSheetMain .examQuestionCheckbox{
	color: var(--color-text-secondary);
	background-color: var(--color-bg-secondary);
}

.ExamTemplateDescription ul li, #examFolderQuestions ul:not(.examQuestionRankingList) li{
	/*display: unset;*/
}

#ExamParticipantSheetMain .dot.answering, #ExamParticipantSheetMain .dot.answered.answering{
	color: var(--color-text-primary);
	background-color: var(--color-bg-primary);
}

#ExamParticipantSheetMain .marked {
    background-color: var(--bs-btn-bg);
	color: var(--bs-dark);
}

 #ExamParticipantSheetMain .marked:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover);
}

#ExamParticipantSheetMain .dot.marked.answering, #ExamParticipantSheetMain .dot.answered.marked.answering {
    background-color: #198754;
}

#ExamParticipantSheetMain .lane{
	background-color: var(--color-bg-primary);
}

#ExamParticipantSheetMain #MobileexamFolderOverview_TabSetexamFolderOverview-accordion .buttonDiv{
	text-align: left;
}

.questionText ol,.questionText ul,.participant-answer ol{
	padding-left: 1em;
}
div#examFolderQuestions div.quest table td { 
	border-width: 1px; 
	padding: 0.2em;
}
.progress{
	--bs-progress-bg: var(--bs-body-color);
}

li.list-group-item .list-item-text-block ol,#homeWorkInformationContainer .col-12 ol {
	margin-left: 2em;
}


table#participantSheetTable td{
	border-width: 0px 1px 1px 0px !important;
	border-style: solid !important;
	border-color: #ddd !important;
}

div.forumItemThreadText li{
  margin-left: 1em;
}

.forumThreadAuthorImage{
  border: none !important;
}

.forumThreadAuthorDiv{
  margin: 0 1.5rem 0 0.5rem !important;
}

iframe#scormContentFrame{
	border: none;
}

@media ( max-width :990px) {
/* Anpassungen für mobile Devices, insbesondere beim Thema eFeedback*/

.EvaluatorQuestionSelectionContainer .barChart, .EvaluatorQuestionScaleContainer .barChart {
	width:1.8em;
}

#allEvalDiv .EvaluatorQuestionSelectionContainer table tr th, 
#allEvalDiv .EvaluatorQuestionSelectionContainer table tr td,
#allEvalDiv .EvaluatorQuestionScaleContainer table tr th,
#allEvalDiv .EvaluatorQuestionScaleContainer table tr td{
    padding: .1em;
	min-width: 2em;
	font-size: 10pt;
}

.QuestionScaleContainer label {
	max-width: 5em;
	min-width: 2em;
	min-height: 7em;
	text-align: center !important;
	position: relative;
	font-size: 10pt;
	font-weight: normal;
	 padding: 0 5px;
}


}
@media (max-width: 1599px){
	#homeMenuBtn{
		display: none;
	}
}

@media (min-width: 992px){
	#participantSubmitEditArea form.mobileUploadNewPhoto>.col-lg-4, #MobileforumUploadDiv_FloatContainerforumUploadDiv form.mobileUploadNewPhoto>.col-lg-4{
		width: 50%;
	}
	#participantSubmitEditArea form.mobileUploadNewPhoto>.col-lg-8, #MobileforumUploadDiv_FloatContainerforumUploadDiv form.mobileUploadNewPhoto>.col-lg-8{
		width: 50%;
	}
}
