﻿@import url('https://fonts.googleapis.com/css?family=Open+Sans');

html {
    height: 100%;
}

.opensans {
    font-family: "Open Sans", sans-serif;
}

body {
    margin: 0px;
    font-family: "Open Sans", sans-serif;
}

.mdc-drawer-app-content {
    padding: 0 1rem;
    min-height: 100vh;
}

.mdc-drawer .mdc-list-item.mdc-list-item--selected, .mdc-drawer .mdc-list-item.mdc-list-item--activated {
    color: #6200ee;
    color: var(--mdc-theme-primary, #6200ee);
}

header.mdc-top-app-bar {
    z-index: 7;
    color: #303030;
    top: 0px !important;
}

:root {
    --mdc-theme-primary: #008251 !important;
    --mdc-theme-secondary: #A4DABD !important;
    --mdc-theme-error: #ba1a1a !important;
    --mdc-theme-surface: #f3f7f5 !important;
    --mdc-theme-background: #f3f7f5 !important;
    --mdc-theme-on-primary: #ffffff !important;
    --mdc-theme-on-secondary: #ffffff !important;
    --mdc-theme-on-surface: #303030 !important;
    --mdc-theme-text-primary-on-background: #303030 !important;
    --mdc-theme-text-secondary-on-background: #6f6f6f !important;
    --mdc-theme-text-primary-on-light: #303030 !important;
}

.mat-h1 {
    font-size: 3rem;
    color: #303030;
}

.mat-h2 {
    font-size: 2.6rem;
    color: #303030;
}

.mat-h3 {
    font-size: 2rem;
    color: #303030;
}

.mat-h4 {
    font-size: 1.8rem;
    color: #303030;
}

.mat-h5 {
    font-size: 1.5rem;
    color: #303030;
}

.mat-h6 {
    font-size: 1rem;
    color: #303030;
}

.mat-subtitle1 {
    color: #303030;
}

.mat-subtitle2 {
    color: #303030;
}

.mat-caption {
    color: #303030;
}

.mat-overline {
    color: #303030;
}

.mat-body1 {
    color: #303030;
}

.mat-body2 {
    color: #303030;
}

.secondHead {
    margin-top: 30px;
    margin-bottom: 40px;
}

.mdc-drawer .mdc-list-item {
    color: #303030 !important;
    margin: 0px;
}

/*Buttons*/

.mdc-button {
    margin: 8px;
    border-radius: 4px;
}

secondaryButton {
    color: #ffffff !important;
    width: 150px;
    border-width: 2px !important;
    border-radius: 10px;
}

#bntProfileDownload {
    color: #4169e1;
    border-style: solid !important;
    border-color: #4169e1;
}

#bntProfileDelete {
    color: #ba1a1a;
    border-style: solid !important;
    border-color: #ba1a1a;
}


.iconsProfile {
    position: absolute;
    top: 40px;
    font-size: 27px;
    cursor: pointer;
}

.iconCheck {
    right: 50px;
    color: #60ff6f;
}

.iconCancel {
    right: 14px;
    color: #ba1a1a;
}

.iconEdit {
    right: 14px;
}

.iconToggle {
    right: -42px;
}

/*Text*/

.text-center {
    text-align: center;
}

.subhead {
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

.login-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-75%)
}

.logInBox {
    display: inline-block;
    margin: 90px auto;
    background: #FFFFFF;
    padding: 15px 30px 15px;
    border: 15px solid #ebf4f2;
    border-radius: 15px;
    outline: 1px solid #008251;
}

.logInBox-img {
    height: 3.4rem;
}

#subheadIndex {
    margin-bottom: 40px;
}

.textIndex {
    margin-bottom: 1rem;
}

/* Bei FullWidth wird das Contained-Textfeld zu einem Standard-Textfeld, Workaround: Hintergrund fest setzen */
.mdc-text-field--fullwidth:not(.mdc-text-field--textarea):not(.mdc-text-field--disabled) {
    background-color: #ffffff !important;
}

.mat-drawer-app-content {
    padding-top: 25px;
}

.mat-toast-container {
    margin-top: 50px;
}

.radioBtn {
    left: 15px;
    padding-top: 20px;
}

/*NavMenu*/

.nav-link-item {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    text-decoration: none;
    color: #303030;
    width: 208px;
    height: 48px;
    margin-bottom: 10px;
    padding-left: 10px;
}

    .nav-link-item:hover {
        background-color: #CFEBDC;
        border-radius: 5px;
        box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
        color: #303030;
    }

.custom-selected-class {
    background-color: #CFEBDC;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    font-weight: 600;
}



.mat-drawer {
    background-color: #F3F7F5;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.mdc-nav-menu {
    transition: width 0.5s ease;
    padding-top: 25px;
}

.mdc-top-app-bar__section {
    background-color: white;
}

.mdc-list-divider {
    color: #008251;
    opacity: 1;
}

hr:not([size]) {
    height: 3px !important;
}

/*----- Blazored TextEditor ------*/

.ql-toolbar.ql-snow + .ql-container.ql-snow {
    border-top: 1px !important;
    border-top-style: solid !important;
    border-color: #198754 !important;
    background-color: white !important;
    min-height: 175px;
    height: fit-content;
}

.ql-editor .ql-toolbar.ql-snow {
    font-family: "Open Sans", sans-serif;
}

/*MatChips*/
.mdc-chip-set .mdc-chip {
    background-color: white;
}

.mdc-chip--selected {
    background-color: #A4DABD !important;
}

.bearbeiter-label {
    font-weight: 501;
    margin-right: 8px;
}

/* MeinProfil */
.form-control:disabled {
    background-color: white;
    color: black;
}

.textfeldBorder {
    border: #ebf4f2 solid 8px;
    border-radius: 23px;
    outline: 1px solid white;
}

.profile_infos {
    margin-left: 0.5%;
}

.matChip_profile {
    pointer-events: none;
    user-select: none;
    color: white;
    background-color: #4169E1;
    margin-bottom: 1%;
}

/* Meine Aufgaben */
.matChip_filtered_tasks {    
    background-color: #4169E1;
    color: white;
    left: 290px;
    top: 55px
}

/* iPad Pro 12.9" (Portrait) */
@media only screen  and (min-device-width: 1024px) and (max-device-width: 1366px) 
                    and (orientation: portrait) {
    .matChip_filtered_tasks {
        left: 27dvw;
    }
}

/* iPad Pro 12.9" (Landscape) */
@media only screen  and (min-device-width: 1024px) and (max-device-width: 1366px) 
                    and (orientation: landscape) {
    .matChip_filtered_tasks {
        left: 21dvw;
    }
}

.matChip_filtered_tasks:hover {
    background-color: #4169E1;
    color: white;
}

.matChip_filtered_tasks .mdc-chip__icon.mdc-chip__icon--trailing {
    color: white;
    transition: color 0.3s ease;
}

.matChip_filtered_tasks:hover .mdc-chip__icon.mdc-chip__icon--trailing {
    color: #BA1A1A;
}

/* Modaler Dialog Passwort ändern */
.password-masked {
    -webkit-text-security: disc;
    text-security: disc;
}

.input-with-icon {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.modal-header-profile {
    margin-left: -2%;
}

.newPw_rules_container {
    margin-left: 5%;
}



/*Overlay in MainLayout*/
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: gray;
    opacity: 0.5;
    display: none;
    z-index: 5;
}

/*Header in LoginDisplay*/
.header-profile {
    text-decoration: none !important;
    color: #008251;
}

.header-div {
    display: inline-block;
    margin-left: 10px;
    cursor: pointer;
}

.header-profile button,
.header-profile mat-icon,
.header-logout-icon,
.header-profile-icon {
    display: inline-block;
    vertical-align: middle;
    text-decoration: none !important;
    color: #008251;
}

.header-profile-icon {
    margin-top: -3px;
}

.header-logout-icon {
    margin-left: -15px;
}

/*----- TABELLEN ------*/

.tableAccordion .after.material-icon {
    display: inline-flex !important;
}

.tableAccordion {
    width: 96%;
    margin-top: 10px;
    margin-bottom: 15px;
}
.ExpansionAnswers {
    width: 80% !important;
}

/*.mat-elevation-z5 {
    background: white;
    border-radius: 15px;
} 
*/
.action-cell-content {
    display: flex;
    justify-content: space-around;
}

.mdc-table td:last-child {
    width: 40%;
}

#buttonOpenAnlageModal {
    margin-top: 4px;
}

.frostEffect {
    background: white;
    border-width: 15px;
    border-color: #ebf4f2;
    border-radius: 17px;
    outline: 3px solid white;
}

.mdc-table-filter {
    background: white;
    border-width: 15px;
    border-color: #ebf4f2;
    border-radius: 17px !important;
    outline: 3px solid white;
    margin-bottom: 20px;
}

.adminButtonNeu {
    position: absolute;
    right: 1vw;
    min-width: 170px;
    width: fit-content;
    background-color: #008251 !important;
    color: white !important;
    white-space: nowrap;
}

.adminButtonNeu .mdc-button__label {
    padding: 10px;
}

/*Aktionen-Icons*/
.mdc-icon-button.mdc-ripple-upgraded {
    --mdc-ripple-top: 14px !important;
    /* --mdc-ripple-left: 11px !important;*/
}

/*  Tabellenansicht FD-Leiter */
.leiter.tbl-head-task {
    width: 34%;
}

.leiter.tbl-head-status {
    width: 12%;
}

.leiter.tbl-head-evaluation {
    width: 12%;
}

.leiter.tbl-head-agent {
    width: 14%;
}

.leiter.tbl-head-action {
    width: 6%;
}

/*  Tabellenansicht Berater */

.tbl-head-task {
    width: 45%;
}

.tbl-head-status {
    width: 25%;
}

.tbl-head-evaluation {
    width: 25%;
}

.tbl-head-action {
    width: 5%;
}


/*small devices: VERTICAL tablets*/
/*@media (orientation: portrait)*/
@media only screen and (max-width: 1100px) {
    /*HOMEPAGE*/

    #hdrHome {
        font-size: 20px;
    }

    #subheadIndex {
        font-size: 17px;
    }

    .row {
        margin: 15px 0px 0px 15px !important;
    }

    /* PROFILE*/

    #txtProfilName {
        margin-top: 3vh !important;
    }

    .form-control {
        width: 50vw !important;
        height: 6vh !important
    }

    #txtProfilTelefon {
        margin-top: 5vh !important;
    }

    .iconEdit {
        right: 50px !important;
        font-size: 35px !important;
    }

    .persDatenCont {
        display: flex;
        width: 50vw;
        justify-content: space-between;
    }

    .text {
        width: 50vw !important;
    }


    /*   TABELLEN */
    .mdc-paginator-container {
        display: none;
    }


    .pageShow {
        display: none;
    }
    /* ADMINBEREICH*/

   /* .AdminTabs {
        width: 50vw;
    }*/

    .adminButtonNeu {
        width: 25vw;
        height: 50px;        
        font-size: 15px;
    }
}

/*Modale Upload file---------------------------------------------------*/
#btnFileDelete .material-icons, #btnFileDownload .material-icons {
    font-size: 34px !important;
}

#btnFileDelete, #btnFileDownload {
    cursor: pointer !important;
    --mdc-ripple-fg-size: 28px !important;
    --mdc-ripple-left: 14px !important;
    --mdc-ripple-top: 15px !important;
}

#btnFileDelete {
    margin-right: 30px !important;
    color: #Ba1A1A !important;
}

#buttonOpenAnlageModal {
    --mdc-ripple-top: 10px !important;
}

#btnFileDownload {
    color: #008251 !important;
}

#uploadedFile {
    display: flex;
    flex-direction: row;
    margin: 10px;
    justify-content: space-between;
}

.modalTittle {
    width: 95%;
    display: flex;
    align-items: baseline;
    padding-left: 19px
}

#uploadcontent > div:first-child {
    /* Styles for the first child (file name) */
    color: #303030;
}

#uploadcontent > div:nth-child(2) {
    /* Styles for the second child (file description) */
    max-width: 93%;
}


#modalAnlageDialog .mdc-dialog__surface {
    max-width: 818px !important;
    width: 95% !important;
}

.AdvancedOptionsButton {
    border-radius: 10px;
    cursor: pointer;
    background: #e6e6e6;
    display: flex;
    align-items: flex-start;
    margin-top: 21px;
    padding: 5px 15px 5px 15px;
}

.advancedOptionsContainer {
    border: 6px solid #e6e6e6;
    border-radius: 0 0 20px 20px;
    padding: 15px;
    margin: 0 auto;
    display: flex;
    width: 100%;
    border-top: none;
    flex-direction: column;
    margin-top: -7px;
    margin-bottom: -7px;
}

.delegierenNeueNutzer {
    margin: 10px 0 10px 0;
    font-weight: 600;
}

.delegierenNeueNutzerFelderContainer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 5px 0 5px 0;
}

#modaldelegieren .mdc-dialog__surface {
    width: 530px !important;
}
@media (max-width: 525px) {
    #modaldelegieren .mdc-dialog__surface {
        width: 375px !important;
    }
}

.delegierenAngabe {
    font-weight: 500;
    margin-right: 7px;
}
.erweiterte {
    width: 250px;
}

.buttonNewUser {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 10px;
}

#delegateNewUser{
    width:186px
}
.validChecked {
    color: #1c8f63;
    margin-right:3px;
}
.validRequired {
    color: #b31e1c;
    margin-right: 3px;
}

.lineWithArrow {
    display: flex;
    align-items: center;
    width: 100%;
}

.straightline {
    width: 98%;
    border: 1px solid #c2c5c4;
    margin: 0 auto;
}

#JaNeinModalTittle {
    width: 95%;
}

#txtAnlageComent .modal-textfield {
    width: 94.5% !important
}

/* Dialog FD erstellen --------*/
.txtFDprefix {
    width: 70px;
    font-weight: 500;
    font-size: 18px;
    margin-right:10px
}

.txtFDfield {
    display: flex;
    align-items: baseline;
    margin: 20px 0 20px 0;
    justify-content: flex-start;
}

.mat-text-field {
    background-color: #ffffff;
}

.numericFD {
    width: 188px;
    margin-left:-12px;
}
.modalFD .mdc-dialog__surface {
    width: 440px;
}

.modalFD .modal-header {
    padding-bottom: 0px;
    align-items: flex-end !important;
}

.modalFD .mdc-dialog__title {
    padding-left: 4px;
}

.modalFD .modal-buttons.mdc-dialog__actions {
    margin-right: 15px !important;
    padding-right: 0px !important;
}

.ValidationFD {
    margin-left: 70px;
    color:red;
}
#selectFDleiter .mdc-select__anchor {
    background-color: #ffffff
}

/* Loading full page */
.loadingTag {
    padding: 10px 14px 10px 10px;
    background-color: white;
    width: auto;
    height: auto;
    display: flex;
    border-radius: 30px;
    justify-content: flex-start;
    outline: 1.5px solid white;
    border: 8px solid #ebf4f2;
    align-items: center;
}

.loadingTag .text-center{
    margin-top:0px !important;
}

.loadingWall {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Für alle Tabellen: verkleinert die Schrift- und Icongröße, damit die Tabelle nicht horizontal gescrollt werden muss */
@media only screen and (max-width: 1328px) {
    .mdc-table tbody {
        font-size: smaller;
    }
    .mdc-table th {
        font-size: 1.1rem;
    }
    .material-icons, .mdc-icon-button {
        font-size: 21px;
    }
}

/* Für die Sortierspalte in allen Tabellen */
.mdc-table-header-sort-column {
    display: flex;
    width: max-content;
}