/*
 * Copyright 2024 by GLUE Software Engineering AG, Bern, Switzerland
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of GLUE Software Engineering AG. ("Confidential Information").
 * You shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with GLUE Software Engineering AG.
 */

:root {
    --yellow: #FCC917;
    --margin-to-center: 200px;
    font-family: "Roboto Light", sans-serif;
}

/* || general */
.paragraph {
    margin-left: var(--margin-to-center);
    margin-right: var(--margin-to-center);
}

.red {
    color: red;
}

.darkgray {
    color: darkgray
}


img.height16Px {
    height: 16px;
}

.marginRight {
    margin-right: var(--margin-to-center);
}

a.buttonLook {
    background: var(--yellow);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
}

html {
    font-family: "Roboto Light", sans-serif;
}

.fontSize12Px {
    font-size: 12px;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#mainContent {
    margin-left: 46px;
    transition: margin-left .5s;
    height: fit-content;
    flex: 1;
}

span.title {
    font-weight: bold;
    padding-right: 10px;
}

p.title {
    font-weight: bold;
}

title {
    font-weight: bold;
}

h4 {
    margin: 0;
}

span.placeholder {
    visibility: hidden;
}

ul {
    align-content: center;
    padding: 0
}

button {
    background: var(--yellow);
    border-radius: 8px;
    border: 0;
    text-align: center;
    align-content: center;
    font-size: 16px;
    padding: 10px;
    font-family: "Roboto Light", sans-serif;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

input {
    border-radius: 8px;
    font-size: medium;
    padding: 10px;
    border: 1px solid lightgray;
}

#message,
#timestamp,
h3,
h2 {
    margin-left: var(--margin-to-center);
}

textarea {
    white-space: pre-wrap;
    padding: 10px;
    border-radius: 8px;
    max-height: 80px;
    width: calc(100% - 20px);
    border: 1px solid #ccc;
}

/* columns */
.column1 {
    grid-column: 1;
}

.column2 {
    grid-column: 2;
}

.column3 {
    grid-column: 3;
}

.column4 {
    grid-column: 4;
}

.column5 {
    grid-column: 5;
}

.column6 {
    grid-column: 6;
}

.column7 {
    grid-column: 7;
}

/* rows */
.row1 {
    grid-row: 1;
}

.row2 {
    grid-row: 2;
}

.row1to2 {
    grid-row: 1 / 3;
}

.row1to3 {
    grid-row: 1 / 4;
}


/* || pdf styles */

#pdf {
    width: 100%;
    margin: 0;
}

/* || table styles */
table {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
}

th, td {
    border-bottom: black solid 1px;
    text-align: left;
    width: 33%;
    vertical-align: top;
    padding-top: 10px;
}

.noStylingTd {
    border: none;
    text-align: left;
    vertical-align: top;
}

.noPaddingNoMarginTd {
    padding: 0;
    margin: 0;
}

.borderTop {
    border-top: 1px solid black;
}

.borderBottom {
    border-bottom: 2px solid lightgray;
}

#backgroundLightGray {
    background: #f5f5f5;
}

#MarginTopZeroPX {
    margin-top: 0;
}

.marginTwoPx {
    margin: 2px;
}

.reason {
    margin: 0 var(--margin-to-center);
    background: white;
    padding: 10px;
    border-radius: 8px;
}

.gridTemplateColumnsFour {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.gridTemplateColumnsThree {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

label.marginRightTenPx {
    margin-right: 10px;
}

.paddingBottomThreePx {
    padding-bottom: 3px;
}

.fullWidth {
    width: 100%;
}

body.fontSize14 {
    font-size: 14px;
}

#marginTopBottomTenPx {
    margin-top: 10px;
    margin-bottom: 10px;
}

.textWrap {
    word-wrap: anywhere;
}

/* || navbar  */
nav {
    z-index: 2;
    background: var(--yellow);
    position: fixed;
    top: 0;
    width: 100%;
    display: grid;
    height: 48px;
    grid-template-columns: 1fr auto 1fr;
    margin-bottom: 20px;
    align-items: center;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1)
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.rightNav:hover .profileDropdown {
    display: block;
    right: 0;
}

.rightNav {
    align-items: center;
    position: absolute;
    right: 0;
    vertical-align: middle;
}

.spacer {
    top: 0;
    margin-bottom: 106px;
}

#settings {
    position: absolute;
    bottom: 10px;
}

.leftNav {
    margin: 0;
    vertical-align: middle;
}

.profileDropdown {
    display: none;
    min-width: 160px;
    position: absolute;
    z-index: 1;
    border-radius: 8px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    background: white;
    text-align: end;
}

.profileDropdown a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: start;
}

div.sidenav#sidebar {
    top: 48px;
    margin-top: 0;
    width: 48px;
    left: 0;
    background: #f5f5f5;
    z-index: 1;
    height: calc(100% - 48px);
    overflow-x: hidden;
    transition: 0.5s;
    position: fixed;
}

.sidenav span {
    font-size: 30px;
    margin-right: 8px;
}


.sidenav a {
    vertical-align: middle;
    display: block;
    white-space: nowrap;
    margin: 15px 5px;
    padding: 0;
    left: 0;
}

.moreDropdown a {
    margin: 10px;
    vertical-align: middle;
    display: block;
    transition: 0.3s;
    position: relative;
    z-index: 2;
}

.moreDropdown {
    float: left;
    display: block;
    max-height: 0;
    transition: max-height 0.2s ease-out;
    overflow: hidden;
    right: 2px;
    border-radius: 8px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    background: white;
    z-index: 1;
    width: 226px;
    position: absolute;
    top: 212px;
}

/* list styles */


li {
    margin: 10px var(--margin-to-center) 0 var(--margin-to-center);
    list-style-type: none;
    padding: 12px 12px 0 12px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

.listReportDetail {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
}

.borderRoundedDefault {
    border: 1px solid lightgray;
    border-radius: 8px;
    padding: 10px;
}

.cursorPointy {
    cursor: pointer;
}


.cursorPointy:hover {
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border: black 1px solid;
}


/* li styles */
li.listColorDarkGray {
    border-top: none;
    border-bottom: none;
    color: darkgray
}

/* li styles */
.divColorDarkGray {
    color: darkgray
}

li.paddingLeftRightTenPxThreeColumns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 0 var(--margin-to-center);
    padding: 12px;
    align-content: center;
    border-bottom: 1px solid black;
}


li.paddingLeftRightTenPxTwoColumns {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    margin: 0 var(--margin-to-center);
    padding: 12px;
    align-content: center;
}

.TwoColumns {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
}


li.remarkTextStyling {
    display: block;
    margin: 0 var(--margin-to-center);
    padding: 12px;
    align-content: center;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* editInputForm */
.editInputForm form {
    padding: 20px;
    height: calc(100% - 40px);
    width: calc(100% - 40px);
}

.editInputForm textarea {
    width: calc(100% - 20px);
    height: 80px;
    margin: 10px 0;
}

.editInputForm div {
    margin: 10px 0;
}

.editInputForm {
    display: none;
    color: black;
    position: fixed;
    background: white;
    padding: 10px;
    border-radius: 8px;
    width: 500px;
    left: calc(50% - 250px);
    top: calc(50% - 150px);
    z-index: 1000;
}

.closeButton {
    background: none;
    border: none;
    font-size: 20px;
    color: black;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    box-shadow: none;
}

.closeButton:hover {
    box-shadow: none;
    color: red;
    transform: translateY(-2px);
}

button:hover {
    box-shadow: 0px 15px 20px rgba(252, 201, 23, 0.4);
    transform: translateY(-2px);
}

.material-symbols-outlined:hover {
    transform: scale(1.15, 1.15);
    transition: 0.2s;
    cursor:pointer ;
}

.noAnimation:hover {
    transform: none;
    box-shadow: none;
    cursor: default;
}

.buttonLook:hover {
    box-shadow: 0px 15px 20px rgba(252, 201, 23, 0.4);
    transform: translateY(-2px);
}

div.widthCalcFullMinus30Px form {
    display: block;
    margin: 0;
    padding: 0;
    align-content: center;
}

.widthCalcFullMinus30Px {
    width: calc(100% - 30px);
}

form.displayBlock {
    display: block;
}

.displayBlock {
    display: block;
}

.displayFlex {
    display: flex;
}

.inputInComp:not(:last-child) {
    border-bottom: lightgray 2px solid;
    margin-bottom: 8px;
    margin-top: 8px;
    padding-bottom: 4px;
}

.fallback {
    display: none;
}


div.competence {
    display: flex;
    flex-direction: column;
    align-self: start;
    margin-top: 5px;
}

.finalizedInputText {
    margin-left: 10px;
    min-height: calc(100% - 20px);
    width: calc(100% - 30px);
}

div.finalizedInputs form {
    display: grid;
    grid-template-columns: auto 1fr;
    margin: 0;
    padding: 0;
    align-content: center;
}

.alignContentCenter {
    align-content: center;
}

.finalizedInputs {
    display: grid;
    grid-template-columns: 0.75fr 1fr;
    height: 100%;
    width: 100%;
}

.column1to2 {
    grid-column: 1/3;
}

.column2to4 {
    grid-column: 1/5;
}

.borderLeftAndRight {
    border-left: black 1px solid;
    border-right: black 1px solid;
}

.footerContainer {
    background: #f5f5f5;
    text-align: center;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, .1);
}

#footerIMG {
    height: 25px;
    margin-left: 6px;
}

button#submitForms {
    display: block;
    position: absolute;
    right: 200px;
    padding: 10px;
    margin: 15px;
}

a#linkToLogin {
    font-size: 18px;
    font-weight: bold;
    text-decoration: darkmagenta;
    color: darkblue;

}

/*.progress {
    background-color: #f5f5f5;
    margin-left: 200px;
    margin-right: 200px;
    border-radius: 8px;

}*/

.marginTop60Px {
    margin-top: 60px;
}

/*
.progress-bar {
    width: 10%;
    height: 42px;
    background-color: var(--yellow);
    color: black;
    text-align: center;
    line-height: 42px;
    border-radius: 8px;
    transition: width ease-out 0.3s;
}*/

.fontWeightBold {
    font-weight: bold;
}

li.inputInComp {
    display: grid;
    grid-template-columns: auto 1fr auto;
    margin: 0;
    padding: 5px 0;
    align-content: center;
}

.paddingTenPx {
    padding: 10px;
}

.threeColumns {
    display: grid;
    grid-template-columns: auto 1fr auto;
}

.paddingLeftRightTenPxThreeColumns div {
    padding: 0 10px;
}

/* || grid-template-columns styles */

li.remarks {
    grid-template-columns: 1.5fr 0.5fr 2fr auto;
}

li.reportsAdmin {
    grid-template-columns: 1fr 1fr 1fr 1fr auto auto auto;
}

.grid5 {
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
}


li.usersAdmin {
    grid-template-columns: 1fr 1fr 1fr auto auto auto;
}

/* div styles */

div.newRemark {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 0.5fr 0.5fr;
    margin: 10px var(--margin-to-center) 0 var(--margin-to-center);
    align-content: center;
    border-bottom: 1px solid black;
    border-top: 1px solid black;
}

div#grading {
    grid-column: 2;
    grid-row: 1 / 3;
    text-align: center;
    margin: 30px 0;

}


div.grading {
    text-align: center;
    margin: 30px 10px;

}

img#glueLogoPDF {
    height: 60px;
    float: right;
}

div.card {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;

}

div.param {
    grid-column: 2;
    margin-bottom: 20px;
    margin-top: 20px;
}

div#company {
    grid-row: 1;
    margin-bottom: 10px;
}

div#person {
    grid-row: 2;
    margin-bottom: 10px;
}

div#job {
    grid-row: 3;
    margin-bottom: 10px;
}

div#trainer {
    grid-row: 4;
    margin-bottom: 10px;
}

div.adminCategory {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 2fr auto;
    align-items: center;
}

.marginBottomZeroPx {
    margin-bottom: 0;
}

table.reportInfo tr {
    background: #f5f5f5;
}

div.chapter {
    margin-top: 30px;
}

table.borderBottomTwoPx {
    border-bottom: 2px solid black;
}

.gridColumn1To4 {
    grid-column: 1 / 4;
}

.criteria-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid;
    padding: 10px;
    margin-top: 10px;
    font-size: 14px;
    table-layout: fixed;


}

.criteria-table th, .criteria-table td {
    padding: 8px 12px;
    border: 1px solid #000;
    text-align: left;
}

.criteria-table th {
    background-color: #f2f2f2;
    font-weight: bold;
    vertical-align: top;

}

.criteria-table td {
    text-overflow: ellipsis;
    overflow: hidden;
    vertical-align: top;
}


/* Kapitel 1 - Farben */
.chapter-1 th {
    background-color: #76933c;
    color: white;
}

.chapter-1 td {
    background-color: #ebf1de;
}

/* Kapitel 2 - Farben */
.chapter-2 th {
    background-color: #963634;
    color: white;
}

.chapter-2 td {
    background-color: #f2dcdb;
}

/* Kapitel 3 - Farben */
.chapter-3 th {
    background-color: #ffc000;
    color: white;
}

.chapter-3 td {
    background-color: #fff1c5;
}

/* Kapitel 4 - Farben */
.chapter-4 th {
    background-color: #4f81bd;
    color: white;
}

.chapter-4 td {
    background-color: #dce6f1;
}

/* Kapitel 5 - Farben */
.chapter-5 th {
    background-color: #494529;
    color: white;
}

.chapter-5 td {
    background-color: #ddd9c4;
}

/* Kapitel 12 - Farben */
.chapter-12 th {
    background-color: #9C9E84;
    color: white;
}

.chapter-12 td {
    background-color: #E2E5BF;
}


@page {


    @bottom-right-corner {
        font-family: "Roboto Light", sans-serif;
        font-size: 14px;
        content: counter(page);
    }
    @bottom-left {
        font-family: "Roboto Light", sans-serif;
        font-size: 10px;
        content: "Glue Software Engineering AG | Bildungsbericht";
    }

}

a#downloadButton {
    position: absolute;
    right: var(--margin-to-center);
    top: 110px;
}

div.chapterPDF {
    page-break-inside: avoid;
    margin-top: 30px;
    padding-bottom: 10px;
}

.signature {
    background: #f5f5f5;
    border-radius: 8px;
    width: 45%;
    border: black 1px solid;
    height: 60px;
}

div#newUser {
    margin: 0 var(--margin-to-center);
}

/* a styles*/
a {
    margin: 10px;
    text-decoration: none;
    color: black;
    cursor: pointer;
}

a.aNoMargin {
    margin: 0;
}

a.adminCreate {
    right: var(--margin-to-center);
    position: absolute;
    text-align: end;
}

a.threeDots {
    grid-column: 2;
    text-align: end;
    margin-right: var(--margin-to-center);
}


/* input styles */

textarea#remark {
    grid-column: 3;
    grid-row: 1 / 3;
    margin: 10px 0;
}

input#username,
input#password,
input#name,
input#email {
    padding: 10px;
    margin-bottom: 10px;
    font-size: medium;
    border-radius: 8px;
    border: lightgrey 1px solid;
}

.width100 {
    width: calc(100% - 20px);
}


select.dropdown {
    grid-column: 1;
    border: 0;
    font-size: medium;
}


button#submitButton {
    margin: 10px var(--margin-to-center) 0 var(--margin-to-center);

}

img#glueLogo {
    max-height: 30px;
}


h2.h2NoMargin {
    margin: 0 0 10px 0;
}

button.loginButton {
    width: 50%;
    margin-bottom: 10px;
    font-size: medium;
}


.marginTopZeroPx {
    margin-top: 0;
}

form#newReport {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    margin: 0 100px 0 100px;
}


div.defaultVariables {
    margin: 0 var(--margin-to-center);
}

.marginBottomTen {
    margin-bottom: 10px;
}


button.noStyleButton {
    background: none;
    border-radius: 0;
    border: none;
    text-align: center;
    padding: 0;
    box-shadow: none;
}

span.table {
    padding-right: 10px;
}

.archive {
    align-content: center;
    margin: 0;
    align-self: start;
}

.paddingLeftRightTenPx span {
    padding-left: 10px;
    padding-right: 10px;
}

.noPadding {
    padding: 0;
}

.paddingRightTenPx {
    padding-right: 10px;
}

span.small {
    font-size: 16px;
    align-content: center;
    margin: 0;
}


.collapsible {
    cursor: pointer;
    align-content: center;
}

.content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin: 0 20px;
    grid-column: 1 / 4;
}

select#users {
    width: 100%;
}

.multiselect {
    padding: 0;
    width: 100%;
}


.selectBox {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 10px;
}

ul#checkboxes {
    display: none;
    border: 1px #fff solid;
    transition: max-height 0.2s ease-out;
}

#checkboxes li {
    display: block;
    margin-top: 0;
}

#additionalUsers li {
    display: block;
    margin: 0;
}

#trainerNameDisplay {
    margin: 0;
}

span#dropdownIcon {
    font-size: 18px;
    font-weight: bold;
}

span.newLine {
    white-space: pre;
    border-radius: 8px;
    margin-bottom: 4px;
}

.marginZeroPx {
    margin: 0;
}

.InputNoStyle {
    border-radius: 0;
    padding: 0;
    border: none;
}

.addReport {
    display: flex;
    align-content: center;
}

.margin5px {
    margin-right: 5px;
}

.left {
    align-content: left;
}

.secondColumn {
    grid-column: 2;
}

li.firstCriteria:first-child {
    display: block;
}


span.PDFTextBreak {
    max-width: 100%;
    display: inline-block;
    white-space: normal;
}

.paddingTwentyPx {
    padding-left: 20px;
}

.radiobutton-container {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.text-container {
    display: flex;
    flex-direction: row;
    word-wrap: anywhere;
}
