/* ==========================================================
   Passwortabfrage
========================================================== */

.ebz-password-protected-section {
	padding: 0 clamp(16px, 2vw, 20px);
	background-color: #f2c79b;
}

.ebz-password-protected {
	width: 100% !important;
	max-width: 1800px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box;	
	padding: clamp(52px, 4.75vw, 80px) 0;
}

.ebz-password-eyebrow {
	font-size: clamp(0.8125rem, 0.78125rem + 0.1389vw, 0.9375rem);
	font-weight: 600 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #932828;
}

h1.ebz-password-title {
	font-size: clamp(2.625rem, 1.9375rem + 3.0556vw, 5.375rem);
	line-height: 1.1;
	letter-spacing: -0.03em;
	font-weight: 600;
	margin-bottom: 20px;
}

.ebz-password-text {
	font-size: clamp(1.0625rem, 0.9375rem + 0.5556vw, 1.5625rem);
	font-weight: 300;
	line-height: 1.3em;
}

.ebz-password-form {
	
}

.ebz-password-field p {
	padding-bottom: 6px;
}

input#pwbox-48014 {
	border: none;
	background: #eddcca;
	padding: 8px;
	font-size: clamp(1.078125rem, 0.9883rem + 0.3993vw, 1.4375rem);
	margin-bottom: 20px;
}

.ebz-password-field label {
	font-size: clamp(1.078125rem, 0.9883rem + 0.3993vw, 1.4375rem);
}

button.ebz-password-submit {
	cursor: pointer;
	background-color: #993c37;
	font-style: normal;
	text-decoration-line: none;
	text-transform: uppercase;
	font-size: 13px !important;
	font-weight: bold;
	letter-spacing: 0.6px !important;
	border: none;
	color: #ffffff;

	background-image: linear-gradient(
		90deg,
		rgba(214, 214, 214, 0.28) 0%,
		rgba(214, 214, 214, 0.28) 100%
	) !important;

	background-size: 0% 100% !important;
	background-repeat: no-repeat !important;
	background-position: left center !important;

	transition:
		background-size 0.6s ease,
		color 0.4s ease,
		border-color 0.4s ease !important;

	padding: 20px !important;
	margin-right: 10px;
	margin-bottom: 10px;

	white-space: normal;
	overflow-wrap: break-word;
	word-break: normal;

	hyphens: auto;
	-webkit-hyphens: auto;

	max-width: 100%;
}

button.ebz-password-submit:hover {
	background-size: 100% 100% !important;
}


/* ==================================================
   BUTTONS UND DOZENTENHEADER
================================================== */

#ebz-plan-teacher {
	margin-bottom: 20px;
}

.ebz-plan-teacher-list button,
.ebz-plan-week-list button,
button.ebz-plan-reset-button {
	cursor: pointer;
	background-color: #f3cea7;
	font-style: normal;
	text-decoration-line: none;
	text-transform: uppercase;
	font-size: 13px !important;
	font-weight: bold;
	letter-spacing: 0.6px !important;
	border: none;

	background-image: linear-gradient(
		90deg,
		rgba(214, 214, 214, 0.28) 0%,
		rgba(214, 214, 214, 0.28) 100%
	) !important;

	background-size: 0% 100% !important;
	background-repeat: no-repeat !important;
	background-position: left center !important;

	transition:
		background-size 0.6s ease,
		color 0.4s ease,
		border-color 0.4s ease !important;

	padding: 20px !important;
	margin-right: 10px;
	margin-bottom: 10px;

	white-space: normal;
	overflow-wrap: break-word;
	word-break: normal;

	hyphens: auto;
	-webkit-hyphens: auto;

	max-width: 100%;
	min-width: 107px;
}

.ebz-plan-teacher-list button {
	min-width: 222px !important;
}

button.ebz-plan-reset-button {
	background-color: #6bcd6b;
	margin-top: 20px;
}

.ebz-plan-week-list button:hover,
.ebz-plan-teacher-list button:hover,
button.ebz-plan-reset-button:hover {
	background-size: 100% 100% !important;
}

.ebz-plan-teacher-list button.is-active,
.ebz-plan-week-list button.is-active {
	background-color: #e14b1a;
	color: #fff;
}


/* ==========================================================
   EBZ DOZENTENPLAN
========================================================== */


/* ==========================================================
   BASIS
========================================================== */

#ebz-plan-app {
	width: 100%;
}

#ebz-plan-status {
	margin-bottom: 1rem;
	color: #121B35;
}


/* ==========================================================
   DOZENTENPLAN HEADER
========================================================== */

.ebz-plan-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;

	margin-top: 2rem;
	margin-bottom: 1.5rem;
}

.ebz-plan-header-main {
	min-width: 0;
}

.ebz-plan-week-title {
	margin: 0 0 1.5rem 0;

	color: #e14b1a;

	font-size: 1.45rem;
	font-weight: 500;
	line-height: 1.3;

	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ebz-plan-teacher-title {
	margin: 0;

	color: #121B35;

	font-size: clamp(
		1.625rem,
		1.5625rem + 0.277778vw,
		1.875rem
	);

	font-weight: 500;
	padding: 0;
}

.ebz-plan-header-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.4rem;

	flex-shrink: 0;
}

.ebz-plan-created {
	margin: 0;

	color: #444d59;

	font-size: 0.9rem;
	line-height: 1.4;
}

.ebz-plan-pdf {
	color: #e14b1a;

	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.4;

	text-decoration: none;
}

.ebz-plan-pdf:hover,
.ebz-plan-pdf:focus-visible {
	text-decoration: underline;
}


/* ==========================================================
   DESKTOP-TABELLE
========================================================== */

.ebz-plan-table-wrap {
	display: block;

	width: 100%;
	margin-top: 2rem;

	overflow: visible;
}

.ebz-plan-table {
	width: 100%;

	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;

	color: #121B35;

	border: 1px solid rgba(18, 27, 53, 0.10);
}


/* ==========================================================
   TABELLENKOPF
========================================================== */

.ebz-plan-table thead th {
	padding: 1rem 1.1rem;

	background: #f3cea7;
	color: #121B35;

	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.3;

	text-align: left;
	vertical-align: middle;

	border-right: 1px solid rgba(18, 27, 53, 0.08);
	border-bottom: 2px solid #e14b1a;
}

.ebz-plan-table thead th:last-child {
	border-right: 0;
}


/* ==========================================================
   STUNDENSPALTE
========================================================== */

.ebz-plan-time-head,
.ebz-plan-table tbody th.ebz-plan-time {
	width: 116px;
}

.ebz-plan-time-head {
	background: #e14b1a !important;
	color: #FFFFFF !important;
}

.ebz-plan-table tbody th.ebz-plan-time {
	padding: 0.85rem 0.8rem;

	background: #f9f1e8;
	color: #121B35;

	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1.3;

	text-align: left;
	vertical-align: top;

	white-space: nowrap;

	border-right: 1px solid rgba(18, 27, 53, 0.06);
	border-bottom: 1px solid rgba(18, 27, 53, 0.06);
}


/* ==========================================================
   NORMALE TABELLENZELLEN
========================================================== */

.ebz-plan-cell {
	padding: 0.28rem;

	background: #FFFFFF;

	vertical-align: top;

	border-right: 1px solid rgba(18, 27, 53, 0.06);
	border-bottom: 1px solid rgba(18, 27, 53, 0.06);
}

.ebz-plan-cell:last-child {
	border-right: 0;
}

.ebz-plan-cell:empty {
	background: #fbf8f4;
}


/* ==========================================================
   UNTERRICHTSBLOCK DESKTOP
========================================================== */

.ebz-plan-lesson {
	min-height: 64px;
	padding: 0.65rem 0.75rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Mehrere parallele Zuordnungen in derselben Stunde */
.ebz-plan-lesson + .ebz-plan-lesson {
	margin-top: 0.35rem;
	padding-top: 0.65rem;
	border-top: 1px solid rgba(18, 27, 53, 0.08);
}

.ebz-plan-lesson p {
	margin: 0;
	padding: 0;
}


/* Fach */

.ebz-plan-subject {
	margin-bottom: 0.2rem !important;

	color: #121B35;

	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.25;
}


/* Lehrgang */

.ebz-plan-course-name {
	color: #28364F;

	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1.35;
}


/* Unterrichtseinheit */

.ebz-plan-unit {
	margin-top: 0.1rem !important;

	color: #344e5d;

	font-size: 0.76rem;
	font-weight: 500;
	line-height: 1.35;
}


/* Raum */

.ebz-plan-room {
	margin-top: 0.12rem !important;

	color: #344e5d;

	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.35;
}


/* ==========================================================
   LETZTE TABELLENZEILE
========================================================== */

.ebz-plan-table tbody tr:last-child th,
.ebz-plan-table tbody tr:last-child td {
	border-bottom: 0;
}


/* ==========================================================
   MOBILE ANSICHT
   STANDARDMAESSIG AUSBLENDEN
========================================================== */

.ebz-plan-mobile {
	display: none;
}


/* ==========================================================
   MOBILE TAGESANSICHT
========================================================== */

.ebz-plan-mobile-day {
	margin: 0 0 2rem 0;
}

.ebz-plan-mobile-day:last-child {
	margin-bottom: 0;
}

.ebz-plan-mobile-day-title {
	padding: 0.85rem 1rem;

	background: #e14b1a;
	color: #fff;

	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
}

.ebz-plan-mobile-items {
	border-right: 1px solid rgba(18, 27, 53, 0.08);
	border-bottom: 1px solid rgba(18, 27, 53, 0.08);
	border-left: 1px solid rgba(18, 27, 53, 0.08);
}

.ebz-plan-mobile-entry {
	display: grid;

	grid-template-columns: 125px minmax(0, 1fr);

	border-bottom: 1px solid rgba(18, 27, 53, 0.06);
}

.ebz-plan-mobile-entry:last-child {
	border-bottom: 0;
}


/* Stunde */

.ebz-plan-mobile-time {
	margin: 0;

	padding: 1rem;

	background: #f9f1e8;
	color: #121B35;

	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.35;

	white-space: nowrap;
}


/* Unterricht */

.ebz-plan-mobile-lesson-group {
	min-width: 0;
}

.ebz-plan-mobile-lesson {
	min-width: 0;

	padding: 0.85rem 1rem;

	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ebz-plan-mobile-lesson + .ebz-plan-mobile-lesson {
	border-top: 1px solid rgba(18, 27, 53, 0.08);
}

.ebz-plan-mobile-lesson p {
	margin: 0;
	padding: 0;
}

.ebz-plan-mobile-lesson .ebz-plan-subject {
	margin-bottom: 0.2rem !important;

	font-size: 0.96rem;
	font-weight: 700;
	line-height: 1.25;
}

.ebz-plan-mobile-lesson .ebz-plan-course-name {
	font-size: 0.86rem;
	font-weight: 600;
	line-height: 1.35;
}

.ebz-plan-mobile-lesson .ebz-plan-unit {
	font-size: 0.78rem;
}

.ebz-plan-mobile-lesson .ebz-plan-room {
	font-size: 0.77rem;
	font-weight: 400;
	line-height: 1.35;
}


/* ==========================================================
   KEINE TERMINE
========================================================== */

.ebz-plan-empty {
	margin: 2rem 0 0 0;

	padding: 1.25rem 1.4rem;

	background: #f9f1e8;
	color: #121B35;

	font-size: 0.95rem;
	line-height: 1.5;
}


/* ==========================================================
   UMSCHALTUNG DESKTOP -> MOBILE
========================================================== */

@media (max-width: 980px) {

	.ebz-plan-table-wrap {
		display: none;
	}

	.ebz-plan-mobile {
		display: block;
	}

	.ebz-plan-header {
		align-items: flex-start;
	}

	.ebz-plan-mobile-day {
		margin-bottom: 1.25rem;
	}

	.ebz-plan-mobile-entry {
		grid-template-columns: 95px minmax(0, 1fr);
	}

	.ebz-plan-mobile-time {
		padding: 0.85rem 0.7rem;

		font-size: 0.8rem;
		line-height: 1.3;
	}

	.ebz-plan-mobile-lesson {
		padding: 0.8rem 0.9rem;
	}

	.ebz-plan-mobile-lesson .ebz-plan-subject {
		font-size: 0.96rem;
	}

	.ebz-plan-mobile-lesson .ebz-plan-course-name {
		font-size: 0.86rem;
		font-weight: 600;
	}

	.ebz-plan-mobile-lesson .ebz-plan-unit,
	.ebz-plan-mobile-lesson .ebz-plan-room {
		font-size: 0.78rem;
	}
}


/* ==========================================================
   KLEINERE SMARTPHONES
========================================================== */

@media (max-width: 600px) {

	.ebz-plan-header {
		flex-direction: column;
		align-items: flex-start;

		gap: 0.8rem;
	}

	.ebz-plan-header-meta {
		align-items: flex-start;
	}

	.ebz-plan-mobile-entry {
		grid-template-columns: 105px minmax(0, 1fr);
	}

	.ebz-plan-mobile-time {
		padding: 0.85rem 0.75rem;

		font-size: 0.78rem;
	}

	.ebz-plan-mobile-lesson {
		padding: 0.8rem;
	}

	.ebz-plan-mobile-lesson .ebz-plan-subject {
		font-size: 0.92rem;
	}

	.ebz-plan-mobile-lesson .ebz-plan-course-name {
		font-size: 0.82rem;
		font-weight: 600;
	}

	.ebz-plan-mobile-lesson .ebz-plan-unit,
	.ebz-plan-mobile-lesson .ebz-plan-room {
		font-size: 0.76rem;
	}
}


/* ==========================================================
   SEHR KLEINE SMARTPHONES
========================================================== */

@media (max-width: 420px) {

	.ebz-plan-mobile-entry {
		grid-template-columns: 92px minmax(0, 1fr);
	}

	.ebz-plan-mobile-time {
		padding: 0.75rem 0.55rem;

		font-size: 0.74rem;
	}

	.ebz-plan-mobile-lesson {
		padding: 0.75rem;
	}

	.ebz-plan-mobile-day-title {
		padding: 0.8rem;

		font-size: 0.92rem;
	}

	.ebz-plan-mobile-lesson .ebz-plan-subject {
		font-size: 0.9rem;
	}

	.ebz-plan-mobile-lesson .ebz-plan-course-name {
		font-size: 0.8rem;
		font-weight: 600;
	}

	.ebz-plan-mobile-lesson .ebz-plan-unit,
	.ebz-plan-mobile-lesson .ebz-plan-room {
		font-size: 0.74rem;
	}
}