@CHARSET "ISO-8859-1";

:root {
  --notenTableHeadRowHeight: 2.5rem;
}

#notenEinzelEingabe {
    height: 100%;
}

#notenEinzelEingabe .ui-tabs {
    padding: 0;
    overflow: hidden;
}

#notenEinzelEingabe .ui-tabs .ui-tabs-panel {
    padding: 0;
    margin-top: 1rem;
}

.noten_einzel_eingabe_tabs {
    overflow: auto;
}

#settingsTabSelectRow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid var(--atlantis-lightgrey);
    margin-bottom: 0.75rem;
}

#settingsTabSelectRow label {
    font-weight: bold;
    white-space: nowrap;
    color: var(--atlantis-anthracite);
}

#settingsTabSelect {
    flex: 1;
}

.noten_pj_id table{
    border-collapse: collapse;
    table-layout: fixed;
}

#notenEinzelEingabe table{
    border-collapse: separate;
    border-spacing: 0px;
    table-layout: fixed;
}

#notenEinzelEingabe .einzelleistungContainer th {
    position: sticky;
    z-index: 2;
}
#notenEinzelEingabe .einzelleistungContainer thead tr:nth-child(1) th { top: 0; }
#notenEinzelEingabe .einzelleistungContainer thead tr:nth-child(2) th { top: var(--notenTableHeadRowHeight); }
#notenEinzelEingabe .einzelleistungContainer thead tr:nth-child(3) th { top: calc(2 * var(--notenTableHeadRowHeight)); }
#notenEinzelEingabe .einzelleistungContainer thead tr:nth-child(4) th { top: calc(3 * var(--notenTableHeadRowHeight)); }

#notenEinzelEingabe .einzelleistungContainer tfoot td {
    position: sticky;
    z-index: 1;
    bottom: 0;
    background-color: white;
    border-top: var(--atlantis-std-border);
    border-radius: 0;
}

#notenEinzelEingabe .fachgruppe th,
.noten_pj_id td {
    height: var(--notenTableHeadRowHeight);
}

.schnittTable td:last-of-type {
    border-right: var(--atlantis-std-border);
}

.NotenTabelle td:first-of-type {
    border-left: var(--atlantis-std-border);
}

.einzelleistungScroller .NotenTabelle:first-of-type td {
    border-left: 0;
}

.NotenTabelle input, .NotenTabelle td, .gzSpalten td, .gzSpalten input {
    padding: 0px;
    text-align: center;
    border: 0px;
    background-color: transparent;
}

#notenEinzelEingabe th, .NotenTabelle tfoot td {
    text-align: center;
}

#notenEinzelEingabe div:not(.nameTable)>.tableDesign1column td {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#notenEinzelEingabe .einzelleistungScroller .NotenTabelle:last-of-type tbody tr td:last-of-type {
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}
    
#notenEinzelEingabe th.umbruch32 {
    white-space: normal;
}

#notenEinzelEingabe th.umbruch36 {
    white-space: normal;
}

.NotenTabelle th, .noten_einzel_eingabe_setting_table th {
    color: white;
}

.nameTable .tableDesign1column th,
.nameTable .tableDesign1column td:not(:first-of-type) {
    border-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.NotenTabelle tfoot, .nameTable tfoot {
    border-top: 1px solid #C8CACC;
}

.nameTable td:nth-of-type(2) {
    max-width: 15rem;
    padding-left: 0px;
    padding-right: 1.2rem;
    position: relative;
}

.pupilNoteMarker {
    position: absolute;
    top: 0;
    right: 0.3rem;
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--atlantis-blue-opaque);
}
#swhTooltip .pupilNoteMarker {
    position: relative;
    display: inline;
}

.gzSpalten th, .leistungGZ {
    background: rgb(148, 49, 99);
}

.gzSpalten tbody td, .NotenTabelle, .gzSpalte {
    margin: 0px;
    vertical-align: top;
}

.NotenTabelle tbody td, .NotenTabelle tfoot td, .gzSpalte tbody td {
    padding: 0px;
    text-align: center;
}

.NotenTabelle tfoot td {
    padding: 0px;
    text-align: center;
    border-right: 0px;
}

.NotenTabelle thead th {
    border-right: 0px;
}

.NotenTabelle:last-of-type tbody, .NotenTabelle:last-of-type tfoot {
    border-right: 0px;
}

.NotenTabelle .umbruch32{
    font-size: 0.8em;
    line-height: 0.9em;
}

#notenEinzelEingabe .noten_pj_id table thead th,
.noten_pj_id table thead td {
    font-weight: bold;
    text-align: right;
    background-color: white;
}

.noten_pj_id table thead tr:first-child td {
    border-bottom: 0px;
}

.NotenSpalteAktiv {
    background: #EFEFEF;
}

.openTable {
    height: 20px;
    width: 20px;
    background: url('../images/2025/arrow_circle_simple.svg');
    float:left;
    transform: rotate(90deg);
}

.closeTable {
    height: 20px;
    width: 20px;
    background: url('../images/2025/arrow_circle_simple.svg');
    transform: rotate(270deg);
    float:right;
}

.schlossZu {
    display: block;
    height: 2rem;
    width: 100%;
    /*background: url('../images/2025/lock_closed.svg') center center no-repeat;*/
    background: url('../images/2025/lock_closed2.png') center center no-repeat;
    background-size: contain;
}

.schlossAuf {
    display: block;
    height: 2rem;
    width: 100%;
    /*background: url('../images/2025/lock_open.svg') center center no-repeat;*/
    background: url('../images/2025/lock_open2.png') center center no-repeat;
    background-size: contain;
}

.dispTabCell {
    display: table-cell;
}

.kursiv {font-style:italic;}

.noten_einzel_info_tabs{
    overflow: auto;
}

.einzelleistungContainer {
    position: relative;
}
.fixedColumns {
    background-color: white;
    z-index: 3;
    position: sticky;
    left: 0;
}

.noten_einzel_erfassung_pupil_div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.noten_einzel_eingabe_setting_table {
    border-collapse: collapse;
    table-layout: fixed;
}

.noten_einzel_eingabe_setting_table th {
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
    border-right: 0px;
}

.noten_einzel_eingabe_setting_table th:nth-of-type(2) {
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

.noten_einzel_eingabe_setting_table td {
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
}

.noten_einzel_eingabe_setting_table td.leftHead,
.noten_einzel_eingabe_setting_table th.leftHead {
    padding-left: 1rem;
    padding-right: 10px;
    text-align: left;
}

.noten_einzel_eingabe_setting_table .toggleButton {
    margin-top: 1rem;
}

.noten_einzel_eingabe_setting_table select {
    width: 5rem;
    text-align: end;
    margin-top: 1rem;
}

.schnittColumn {
    width: 2.5rem;
    text-align:center;
}

#notenerfassungZeugnissTable {
    border-spacing: 0px;
}

.notenerfassung {
    overflow-x: auto;
}

.notenerfassung table th {
    text-align:center;
    white-space:nowrap;
}

.notenerfassung table td {
    padding: 0 0.5rem;
    line-height: 130%;
    white-space: nowrap;
    font-size: 1.2rem;
}

.notenerkopf table td {
    /*padding: 2px 5px 0px 5px;*/
    line-height: 130%;
    text-align: center;
    white-space: nowrap;
}

.notenerkopf table th {
    text-align: center;
}

.notenerfassung #notenkopf_form table td,
.notenerfassung #schulen_satz table td {
    padding: 1px;
}

#noten-einzel td, #noten-einzel th, #noten-zeugnis td, #noten-zeugnis th,
.notenZeugnisInfoTable td, .notenZeugnisInfoTable th {
    text-align: center;
    min-width: 2.5rem;
}

#noten-einzel td:first-of-type, #noten-einzel th:first-of-type, #noten-zeugnis td:first-of-type, 
#noten-zeugnis th:first-of-type, .notenZeugnisInfoTable td:first-of-type, .notenZeugnisInfoTable th:first-of-type {
    text-align: left;
}

.markCopyButton {
    margin: 0px 20px;
    transform: rotate(180deg);
}

.markCopyButton.noSuggestion {
    cursor: not-allowed;
}

.NEaverageTD {
/*    border-left: 1px solid #80808F;
    border-right: 1px solid #80808F;*/
    border-left: var(--atlantis-std-border);
    border-right: var(--atlantis-std-border);
}

.NBhighlightedRow {
    background: #DDDDDD;
}

#classCourseTuitionNote:focus {
    outline: none;
}

.levelSelectAsReadonly select {
    /* for Firefox */ 
    -moz-appearance: none; 
    /* for Safari, Chrome, Opera */ 
    -webkit-appearance: none;
    color: black;
    opacity: 1;
    text-align: center;
}

#notenSystemSuggestionsDialog {
    max-height: 80vh;
}
#notenSystemSuggestionsTable th,
#notenSystemSuggestionsTable td {
    padding: 5px;
    max-width: 45vw;
    white-space: break-spaces;
}

.note, .note.column_width_after_init {
    width: 4rem;
    text-align: center;
}

.einzelleistungContainer .tableDesign td:first-child,
.einzelleistungContainer .tableDesign th:first-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.einzelleistungContainer .tableDesign td:last-child,
.einzelleistungContainer .tableDesign th:last-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Rounded corners for the composite table header:
   first thead row gets top corners, last thead row gets bottom corners.
   Left side: schnittTable (first colored block). Right side: last NotenTabelle. */
#notenEinzelEingabe .fixedColumns .schnittTable thead tr:first-child th:first-child {
    border-top-left-radius: 1rem;
}
#notenEinzelEingabe .fixedColumns .schnittTable thead tr:last-child th:first-child {
    border-bottom-left-radius: 1rem;
}

#notenEinzelEingabe .einzelleistungScroller .NotenTabelle:last-of-type thead tr:first-child th:last-child {
    border-top-right-radius: 1rem;
}
#notenEinzelEingabe .einzelleistungScroller .NotenTabelle:last-of-type thead tr:last-child th:last-child {
    border-bottom-right-radius: 1rem;
}

#dialogNotiz .dialog_einfach {
    width:100%;
    float:left;
    margin:5px;
    height:20px;
    display:block
}

#dialogNotiz input,
#dialogNotiz select,
#dialogNotiz textarea,
#dialogNotizEinzel input,
#dialogNotizEinzel select,
#dialogNotizEinzel textarea {
    width: 100%;
}

#dialogNotiz tbody tr:not(:nth-of-type(1)):not(:nth-of-type(2)):not(:nth-of-type(3)) td,
#dialogNotizEinzel tbody tr:not(:nth-of-type(1)):not(:nth-of-type(2)):not(:nth-of-type(3)) td {
    padding-top: 1rem;
}

.nameTable,
.NotenTable,
.gzSpalten,
.noten_input:not(.NotenSpalteAktiv),
.schnittColumn:not(.NotenSpalteAktiv) {
    cursor: context-menu;
}
.noten_input.NotenSpalteAktiv:not(.schnittMAN) {
    cursor: pointer;
}

#einzelLeistungsEditMarker {
    width: 1.5rem;
}
#einzelLeistungsEditMarker img {
    position: absolute;
    left: 0.5rem;
    top: 0;
    display: none;
}
#einzelLeistungsEditMarker.locked div {
    opacity: 0.3;
    cursor: not-allowed;
    
}
#einzelLeistungsEditMarker.locked #editMarkerContainer {
    pointer-events: none;
}
#einzelLeistungsEditMarker:not(.locked):not(.empty) #editMarker,
#einzelLeistungsEditMarker.empty:not(.locked) #editMarkerE,
#einzelLeistungsEditMarker.locked:not(.empty) #editMarkerL,
#einzelLeistungsEditMarker.locked.empty #editMarkerEL {
    display: block;
}

#auswahl {
    width: 250px;
    min-width: 250px;
    margin-right: 1vw;
    position: relative;
}

.hasZeroWeight, .noten_input:not(.NotenSpalteAktiv) {
    color: var(--atlantis-darkgrey);
}

#classSelectTableNOEE, #subjectSelectTableNOEE {
    width: 100%;
}

#notenEinzelEingabe #subjectSelectTableNOEE {
    border-collapse: separate;
    border-spacing: 0 2px;
    table-layout: auto;
}

#subjectSelectTableNOEE td.classCourseList {
    border-radius: 1rem;
}

#classSelectTableNOEE th,
#subjectSelectTableNOEE th {
    position: sticky;
    top: 0;
    background-color: white;
    border-radius: 0;
}

#toggleSidebarButtonNOEE {
    width: 2.5rem;
    rotate: -90deg;
    position: absolute;
    top: -2px;
    right: -2.5rem;
    z-index: 5;
    transition: transform 0.2s ease;
    transform-origin: center;
}
#toggleSidebarButtonNOEE.flip-vert {
    transform: scaleY(-1);
}

select.ze_select,
.notenerkopf select {
    width: 20rem;
    height: 2.5rem;
    padding: 0 2rem 0 0.5rem;
    margin: 1px 0;
    border: 0;
}

span.notenerfassung_text{
    float: left;
    width: 93%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 0.5rem;
}

#notenerfassungZeugnissTable_wrapper .DTFC_LeftBodyWrapper tr td:last-of-type {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#notenerfassungZeugnissTable_wrapper .DTFC_LeftBodyWrapper td {
    background-color: white;
}

#notenerfassungZeugnissTable_wrapper .dataTables_scroll {
    margin-top: 0;
}

.column_width_b4_init{
    width: 25px;
}

.column_width_after_init{
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
}

input.note_notenerfassung,
.notenerkopf input {
    text-align: center;
    border: 0;
    height: 2.5rem;
}

.notenerkopf textarea {
    height: 2.4rem;
    line-height: 2.4rem;
    border: 0;
    padding: 0 1rem;
    vertical-align: middle;
}

.notenerkopf .notenkopf_table_scroll{
    overflow: auto;
    margin: 1rem;
    padding: 0;
}

/* Sticky header + sticky first 2 columns */
.notenerkopf .notenkopf_table_scroll thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #DDDDDD;
    border-radius: 0;
}

.notenerkopf .notenkopf_table_scroll thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 3;
    background-color: white;
}

.notenerkopf .notenkopf_table_scroll thead th:first-child .thCorner {
    position: absolute;
    inset: 0;
    background-color: #DDDDDD;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

.notenerkopf .notenkopf_table_scroll thead th:nth-child(2) {
    position: sticky;
    z-index: 3;
    /* left set by JS */
}

.notenerkopf .notenkopf_table_scroll tbody td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background-color: white;
    border-radius: 0;
}

.notenerkopf .notenkopf_table_scroll tbody td:first-child .tdBg {
    position: absolute;
    inset: 0;
    background-color: white;
    z-index: -1;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

.notenerkopf .notenkopf_table_scroll tbody td:nth-child(2) {
    position: sticky;
    z-index: 1;
    background-color: white;
    /* left set by JS */
}

/*body:not(.isMobile) .notenerkopf .notenkopf_table_scroll tbody tr:hover td:first-child,*/
body:not(.isMobile) .notenerkopf .notenkopf_table_scroll tbody tr:hover td:nth-child(2),
body:not(.isMobile) .notenerkopf .notenkopf_table_scroll tbody tr.rowBackgroundHover td:first-child,
body:not(.isMobile) .notenerkopf .notenkopf_table_scroll tbody tr.rowBackgroundHover td:nth-child(2) {
    background-color: #E2E2E2;
}

body:not(.isMobile) .notenerkopf .notenkopf_table_scroll tbody tr:hover td:first-child .tdBg,
body:not(.isMobile) .notenerkopf .notenkopf_table_scroll tbody tr.rowBackgroundHover td:first-child .tdBg {
    background-color: #E2E2E2;
}

#page_notenfelder #outerMain {
    height: calc(100vh - 90px - 1vh);
}

#page_notenfelder #main {
    height: 100%;
}

.notenkopf_datum_td {
    position: relative;
}

.notenkopf_datum_td input {
    width: 12rem;
}

.notenkopf_datum_td img {
    display: none;
}

tr:hover .notenkopf_datum_td img {
    display: unset;
}

.nok_nok_input,
.bemCodeInput,
.notenkopf_fach_note {
    width: 5rem;
    text-align: center;
}

.bemCodeInput {
    width: 6rem;
}

.nok_bem_ta {
    resize: none;
    border: 0px;
    white-space: normal;
}

.nok_bem_td {
    position: relative;
}

.nok_bem_td textarea {
    padding-right: 2.5rem;
}

.nok_bem_td .lupe {
    right: 2rem;
}

.zeugnisFormularTableWNF .lupe {
    right: 0.5rem;
}

.zeugnisFormularTableWNF td:first-child {
    padding-right: 2.5rem;
}

.notenerkopf .column_name {
    text-align: left;
}

/* notenerfassung_zeugnis: fixed page height, table scrolls in both axes */
#page_notenerfassung #outerMain {
    height: calc(100vh - 90px - 1vh);
}

#page_notenerfassung #main {
    height: 100%;
    overflow: hidden;
}

#page_notenerfassung .fachgruppe.notenerfassung {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

#page_notenerfassung .fachgruppe.notenerfassung #formzeugnis {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

#page_notenerfassung #table_scroller {
    flex: 1 1 0;
    min-height: 0;
}

/* Sticky thead for the zeugnis table */
#page_notenerfassung #notenerfassungZeugnissTable thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #DDDDDD;
    border-radius: 0;
}

/* First two th: also sticky left (intersection of top+left needs z-index: 3) */
#page_notenerfassung #notenerfassungZeugnissTable thead th:first-child {
    left: 0;
    z-index: 3;
    background-color: white;
}

#page_notenerfassung #notenerfassungZeugnissTable thead th:nth-child(2) {
    z-index: 3;
    /* left set by JS */
}

/* .thCorner provides the visual #DDDDDD background with border-radius on the first th */
#page_notenerfassung #notenerfassungZeugnissTable thead th:first-child .thCorner {
    position: absolute;
    inset: 0;
    background-color: #DDDDDD;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

/* Sticky first two body columns */
#page_notenerfassung #notenerfassungZeugnissTable tbody td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background-color: white;
    border-radius: 0;
}

#page_notenerfassung #notenerfassungZeugnissTable tbody td:nth-child(2) {
    position: sticky;
    z-index: 1;
    background-color: white;
    /* left set by JS */
}

/* .tdBg: absolut-Div in sticky tbody-Zellen verhindert Bleedthrough (gleiche Technik wie .thCorner im thead) */
#page_notenerfassung #notenerfassungZeugnissTable tbody td:first-child .tdBg {
    position: absolute;
    inset: 0;
    background-color: white;
    z-index: -1; /* hinter dem Text, aber vor durchscheinendem Inhalt */
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

#page_notenerfassung #notenerfassungZeugnissTable tbody td:nth-child(2) .tdBg {
    position: absolute;
    inset: 0;
    background-color: white;
    z-index: -1;
}

/* Keep hover background on sticky cells */
/*body#page_notenerfassung:not(.isMobile) #notenerfassungZeugnissTable tbody tr:hover td:first-child,*/
body#page_notenerfassung:not(.isMobile) #notenerfassungZeugnissTable tbody tr:hover td:nth-child(2),
body#page_notenerfassung:not(.isMobile) #notenerfassungZeugnissTable tbody tr.rowBackgroundHover td:first-child,
body#page_notenerfassung:not(.isMobile) #notenerfassungZeugnissTable tbody tr.rowBackgroundHover td:nth-child(2) {
    background-color: #E2E2E2;
}

/* Hover auch über .tdBg (da z-index:-1 den td-Hintergrund überdeckt) */
body#page_notenerfassung:not(.isMobile) #notenerfassungZeugnissTable tbody tr:hover td:first-child .tdBg,
body#page_notenerfassung:not(.isMobile) #notenerfassungZeugnissTable tbody tr:hover td:nth-child(2) .tdBg,
body#page_notenerfassung:not(.isMobile) #notenerfassungZeugnissTable tbody tr.rowBackgroundHover td:first-child .tdBg,
body#page_notenerfassung:not(.isMobile) #notenerfassungZeugnissTable tbody tr.rowBackgroundHover td:nth-child(2) .tdBg {
    background-color: #E2E2E2;
}

/* DTFC-geklonte Spalten: hover via JS-Klasse rowBackgroundHover */
body#page_notenerfassung:not(.isMobile) #notenerfassungZeugnissTable_wrapper .DTFC_LeftBodyWrapper tr.rowBackgroundHover td {
    background-color: #E2E2E2;
}
