/* ----- Custom Styles ----- */
/* ---------- Body Style ---------- */
.body {
    background-color: #EDE7E3;
    font-family: 'Noto Sans', sans-serif;
    font-size: 20px;
    color: #1a1a1a;
    height: 100%;
}

.body h1 {
    font-weight: 600;
}

.pagecontainer {
    min-height: calc(100vh - 50px);
    display: flex;
    flex-direction: column;
}

/* ---------- Reusable container ---------- */
/* ELEMENTS of each page (except Login & Registration) must be inside this container */
.container-contents {
    margin: 136px 20% 16px; /* top | right | bottom | left*/
    flex: 1;
}

.content-surface {
    min-height: calc(100vh - 186px);
    position: static;
    display: block;
}

.content-surface-logreg {
    min-height: calc(100vh - 50px);
    position: static;
    display: block;
}

/* ---------- Reusable box for contents ---------- */
/* Box for elements of a page */
.editor-box {
    position: relative !important;
    width: 75vw !important;
    padding: 16px !important;
    margin-bottom: 40px !important;
    background-color: #fdfdfc !important;
    border-radius: 8px !important;
    border: 2px solid #489fb5 !important;
    box-shadow: 0 2px 4px #cccccc !important;
}

.controls {
    display: flex;
    flex-direction: column;

    label {
        display: flex;
        flex-direction: row;
        gap: 16px;
    }
}

.delete-button {
    position: absolute !important;
    top: -12px !important;
    right: -12px !important;
    width: 24px !important;
    height: 24px !important;
    border: none !important;
    border-radius: 50% !important;
    background: #ff4d4d !important;
    color: white !important;
    font-size: 18px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    transition: background 0.2s !important;
}

.delete-button:hover {
    background: #ff0000 !important;
}

.box-content {
    display: flex;
    flex-direction: column;
    width: 75vw;
    padding: 16px;
    margin-bottom: 40px;
    background-color: #fdfdfc;
    border-radius: 8px;
    border: 2px solid #489fb5;
    box-shadow: 0 2px 4px #cccccc;
}

.uas-logo {
    height: 100px;
    width: auto;
    margin: 16px auto;
}

.familienbuero-banner {
    width: 75%;
    height: auto;
    margin: 16px auto;
}

.add-panel {
    width: 75vw;
    padding: 16px;
    margin-bottom: 40px;
    background-color: #82C0CC33;
    border-radius: 8px;
    border: 6px solid #82c0ccff;
    box-shadow: 0 2px 4px #cccccc;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all .1s ease-in-out;
}

.add-panel span {
    font-size: 160px;
    color: #82c0ccff;
    text-shadow: 0 2px 4px #cccccc;
}

.add-panel:hover {
    cursor: pointer;
    transform: scale(1.01);
}

/* ---------- Reusable button ---------- */
.button {
    margin: 12px 16px 12px 0;
    padding: 4px;
    width: fit-content;
    height: fit-content;
    color: #fff;
    border: none;
    border-radius: 4px;
    background-color: #16697a;
    text-align: center;
    font-size: 18px;
}

.button.cancel {
    background-color: #a6a6a6;
}

/* Button for going to another page */
.button.go-to:hover {
    background-color: #ffa62b;
    color: #fff;
}

a.button {
    text-decoration: none;
}

/* Button for staying at the same page */
.button.stay:hover {
    background-color: #489FB5;
}

button:focus {
    background-color: #489FB5;
}

/* ---------- Image Size ---------- */
img {
    width: 100%;
    height: 100%;
}

/* ---------- Fixed Header & Sidebar ---------- */
/* Header Style */
header {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: fixed; /* fixed at the top when scrolling */
    top: 0;
    left: 0;
    height: 100px;
    width: 100%;
    background-color: #82C0CC;
    border: 0;
    border-radius: 0 0 8px 0; /* top-left | top-right | bottom-right | bottom-left */
    box-shadow: 2px 0 2px #999999; /* offset-x | offset-y | blur-radius | color */
    z-index: 1;

    .btn {
        font-size: 1.3rem;
    }

    .btn-secondary {
        background-color: #808080;
        border-color: #808080;
    }

    .show > .btn-secondary.dropdown-toggle {
        background-color: #808080;
        border-color: #808080;
    }

    button:focus:not(:focus-visible) {
        background-color: #808080;
        border-color: #808080;
    }

    .flex-end-box {
        display: flex;
        flex-direction: row;
        position: relative;
        height: 100%;
        align-items: center;
        gap: 64px;
        margin-right: 4%;
        z-index: 3;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    .feedback-info-box {
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        top: 78%;
        right: 51%;
        width: 65ch;
        margin: min(1rem, 20px);
        font-size: .8rem;
        background-color: #FFA62BF0;
        border-radius: 8px;
        padding: 2em;
        z-index: 42;
        transform: scale(0);
        transition: transform 200ms ease;
        transform-origin: 80% -10px;

        &::before {
            content: '';
            position: absolute;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-bottom: 10px solid #FFA62BF0;
            top: -10px;
            left: 78%;
        }

        p {
            font-family: 'Nunito', sans-serif;
            font-size: 20px;
        }
    }

    .feedback-icon-box {
        display: flex;
        position: relative;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #808080;

        &:hover {
            text-decoration: none;
            color: #FFA62B;
        }

        &:visited {
            text-decoration: none;
            color: #808080;
        }

        p {
            font-family: 'Nunito', sans-serif;
            font-size: 16px;
            margin-bottom: 0;
        }
    }

    .feedback-icon-box:hover + .feedback-info-box,
    .feedback-info-box:hover {
        transform: scale(1);
    }

    @media (prefers-reduced-motion: reduce) {
        *,
        ::before,
        ::after {
            animation-delay: -1ms !important;
            animation-duration: -1ms !important;
            animation-iteration-count: 1 !important;
            background-attachment: initial !important;
            scroll-behavior: auto !important;
            transition-duration: 0s !important;
            transition-delay: 0s !important;
        }
    }
}

.footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10rem;
    position: static;
    margin-left: 15%;
    padding: 0 10px;
    height: 50px;
    width: 85%;
    background-color: #cccccc;

    & a {
        text-decoration: none;
        color: #808080;

        &:hover,
        &:active,
        &:visited {
            color: #808080;
            text-decoration: 2px underline solid;
        }
    }
}

.testphase {
    color: #16697a;
    margin-left: 4%;
    transform: rotate(-20deg);
}

header .box-logo-wrapper {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 2;

    .box-logo {
        width: 80px;
        height: 80px;
    }
}

.language {
    background-color: transparent;
    border-color: #16697a;
    border-width: 1px;
    margin: 12px 1px 12px 1px;
    color: #1a1a1a;
}

.checked {
    background-color: #489FB5;
}

/*.change-language {*/
/*    color: #1a1a1a;*/
/*    align-content: space-evenly;*/
/*    margin-right: 4%;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*}*/

.change-language-row {
    display: flex;
    flex-direction: row;
    color: #1a1a1a;
    justify-content: flex-end;
    align-items: center;
    margin-right: 4%;
}

/* Fixed Sidebar with icons & text */
.sidebar {
    position: fixed; /* fixed at the left site when scrolling */
    top: 100px; /* Starts at the end of the header height */
    left: 0;
    bottom: 0;
    width: 15%; /* Takes up only 15% of the total screen width */
    overflow-x: hidden; /* Prevents horizontal scrolling*/
    background-color: #fff;
    border: 0;
    border-radius: 0 8px 0; /* top-left | top-right | bottom-right | bottom-left */
    box-shadow: 0 2px 8px #cccccc; /* offset-x | offset-y | blur-radius | color */
    z-index: 1;
}

.container-icons {
    min-height: 100%;
    max-height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

/* Container with icons */
.box-icon {
    position: static; /* positioned according to the flow of the page */
    text-align: center;
    color: #808080;
    margin-top: 16px;
    margin-bottom: 8px;
    cursor: pointer;
}

.box-icon a {
    text-decoration: none;
    color: #808080;
}

.chat {
    position: relative;
    display: inline-block;
}

.container-icons .chat {
    padding-top: 20px;
    margin-top: -20px;
}

.home-hlp.box-icon {
    display: block;
    margin-right: 20px;
    float: right;
}

/* Size of the icons */
.material-icons {
    font-family: 'Material Icons', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 32px; /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}

.material-icons-small {
    font-size: 16px;
}

/* Font style of the icons text */
.box-icon p {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
}

/* Change color of icons & text on hover */
.box-icon a:hover,
.box-icon a:active {
    color: #ffa62b;
    text-decoration: 2px underline solid;
}

/* ---------- Login & Registration Content ---------- */
/* Fixed Sidebar with welcome text */
.sidebar-login-register {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 15%;
    overflow-x: hidden;
    background-color: #fff;
    box-shadow: 0 2px 8px #cccccc; /* offset-x | offset-y | blur-radius | color */
    z-index: 1;
}

.sidebar-login-register .testphase {
    margin-left: 10%;
    margin-top: 10%;
}

.sidebar-login-register .box-logo {
    margin-top: 116px;
}

.box-welcome {
    display: inline-block;
}

.text-welcome {
    font-family: 'Nunito', sans-serif;
    font-size: 2.3vw;
    text-align: center;
    line-height: 2;
}

/* Login/Registration Form */
.container-login-register {
    width: 75vw;
    margin: 11% 20% 16px;
    flex: 1;
}

.content-column-big-gap {
    padding: 3rem;
    gap: 3rem;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
}

.content-column-small-gap {
    gap: 1rem;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
}

.container-login-register .box-content {
    margin-bottom: 0;
}

.card {
    width: auto;
}

.card-body {
    margin: 4px;
    border: none;
}

.container-login-register .box-logo {
    display: none;
}

/* Title Style */
.card h1 {
    font-weight: 700;
    letter-spacing: 2px;
}

/* Title for each input */
label.form-label {
    margin-top: 14px;
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 500;
}

/* Text inside the input */
input.form-control {
    font-size: 14px;
    border-color: #a6a6a6;
}

/* Style of the input when on focus */
input.form-control:focus {
    border-color: #489fb5;
    box-shadow: 2px 2px 8px 1px #82c0cc; /* offset-x | offset-y | blur-radius | spread-radius | color*/
}

a.forgot-password {
    font-size: 15px;
}

/* Style of the button */
.card button.w-100 {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #fff;
    background-color: #16697a;
    border: none;
    border-radius: 4px;
}

/* Style of the button when on hover/focus */
.card button.w-100:focus,
.card button.w-100:hover {
    background-color: #ffa62b;
    box-shadow: none;
}

.w-100.text-center.mt-2 {
    margin-bottom: 20px;
}

.form-check[type=checkbox] {
    vertical-align: center;
    text-align: center;
}

.form-check-input[type=checkbox] {
    margin-top: 20px;
    margin-bottom: 10px;
}

.form-check-label {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: normal;
    font-size: small;
    text-align: center;
}

.alert {
    margin-top: 1rem;
}

.fade {
    opacity: 1;
}

/* ---------- Home Content ---------- */
.home {
    text-align: center;
}

.home p {
    margin-top: 16px;
    line-height: 1.5;
    text-align: left;
}

.home .uni-logo {
    height: 110px;
    width: 210px;
    display: inline-flex;
}

.banner {
    padding: 0 10% 0 10%;
}

/* ---------- My Profile Content ---------- */
.profile {
    display: inline-flex;
}

.profile-img {
    width: fit-content;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-img .circle-img {
    height: 220px;
    width: 220px;
    border: solid 3px #ede7e3;
    box-shadow: 0 2px 4px #999999; /* offset-x | offset-y | blur-radius | color */
}

.profile-info {
    width: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin-left: 36px;
}

.calendar {
    width: 65% !important;
}

.table-legend {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    text-align: center;
}

.offer-childcare, .need-childcare, .nothing {
    padding: 8px;
    margin: 0 8px 4px 0;
    border-radius: 4px;
}

.yellow, table tr td.yellow {
    background-color: #FAC213;
}

.pink, table tr td.pink {
    background-color: #E5707E;
}

.grey, table tr td.grey {
    background-color: #AAAAAA;
}

/* ---------- Edit Profile Content ---------- */
input[type=file] {
    max-width: 56vw;
    border: 2px solid #16697a;
    border-radius: 4px;
}

input[type=file]::file-selector-button {
    max-width: 28vw;
    border: none;
    border-right: 2px solid #16697a;
    border-radius: 4px;
    text-align: left;
}

.container-spinner {
    margin-top: 12px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.box-spinner {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.spinner-border {
    margin-right: 16px;
    color: #16697a;
}

.edit-profile .card {
    position: unset;
}

.edit-profile .box-buttons {
    margin-top: 16px;
}

.form-check-input[type=radio] {
    margin: 4px;
}

input.form-check-input[type=radio]:checked,
input.form-check-input[type=radio]:active {
    background-color: #489fb5;
    border: 1px solid #489fb5;
    box-shadow: none;
}

/* ---------- Search User Content ---------- */
/* Hide Spinners from Number input */
#zip-code input[type=number]::-webkit-inner-spin-button,
#zip-code input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

#zip-code input[type=number] {
    -moz-appearance: textfield;
}

/* Search Form*/
.container-search-zip {
    width: 75vw;
}

.button.stay.search-zip {
    margin-bottom: 7%;
}

.search-radius,
.zip-input {
    margin-right: 40px;
    margin-bottom: 18px;
    padding: 8px;
    height: 2em;
    background-color: #fdfdfc;
    border: solid 2px #a6a6a6;
    border-radius: 4px;
    resize: none;

}

.search-radius::placeholder,
.zip-input::placeholder {
    font-size: medium;
}

.search-radius:focus,
.zip-input:focus {
    outline: none;
    border-color: #489fb5;
    box-shadow: 2px 2px 8px 1px #82c0cc;
}

/* Search Result */
.no-results {
    margin-top: 20px;
    padding: 16px;
    text-align: center;
}

/* Remove extra left and right margins, due to padding */
.zip-result-row {
    margin: 0 -8px;
}

/* Float four columns side by side */
.column {
    float: left;
    width: 25%;
    padding: 0 10px;
    margin-bottom: 8px;
}

.zip-result-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    margin-top: 20px;
    height: 25em;
    padding: 16px;
    text-align: center;
    background-color: #fdfdfc;
    border-radius: 0.5em;
    border: solid #489FB5 2px;
    box-shadow: 0 4px 8px 0 #cccccc;
}

.zip-result-card h1 {
    font-size: 1.9vw;
}

.zip-result-card p {
    font-size: 1.5vw;
}

.circle-img {
    margin-bottom: 12px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #16697a;
}

.button.go-to {
    margin: 12px 0 12px 0;
}

button.go-to .material-icons {
    text-align: center;
    font-size: 24px;
    padding: 8px;
    color: #fff;
}

.zip-result-card .circle-img:hover {
    border: 4px solid #ffa62b;
}

/* ----------- Help Content ---------- */
.help, .more-help {
    text-align: center;
}

.help .uni-logo {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: inline-flex;
    margin-bottom: 16px;
    padding: 4px;
}

.accordion-flush {
    margin-top: 36px;
    margin-bottom: 18px;
    text-align: left;
    border: 2px solid #cccccc;
    border-radius: 4px;
    padding: 4px;
}

button.accordion-button {
    margin: 4px 16px 4px 0;
    font-size: 1.1em;
    position: unset;
    border-radius: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
}

button:focus:not(:focus-visible),
.accordion-button:focus,
.accordion-button:active,
.accordion-button:hover,
button.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #489fb5;
    border-color: transparent;
    box-shadow: 0 0 0.25em #cccccc;
    outline: 0;
}

.accordion-body {
    font-size: 0.9em;
    overflow: hidden;
}

.accordion-body .card {
    position: unset;
    margin-bottom: 12px;
    border: 2px solid #cccccc;
    border-radius: 4px;
}

.accordion-body .link-btn,
.list-content .link-btn {
    font-size: 1.4rem;
    border: none transparent;
    border-radius: 4px;
    background-color: #16697a;
}

.accordion-body .link-btn:hover,
.accordion-body .link-btn:active,
.accordion-body .link-btn:focus,
.list-content .link-btn:hover,
.list-content .link-btn:active,
.list-content .link-btn:focus {
    background-color: #ffa62b;
    border-color: transparent;
}

.list-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.more-help li {
    margin-bottom: 16px;
}

.list-content .box-logo {
    max-width: 110px;
    height: auto;
    margin: 0 12px 8px 0;
}

.open-URL {
    text-align: left;
    color: #1a1a1a;
}

.open-URL:hover {
    color: #ffa62b;
}

/* ----------- Media query ---------- */
/* Change layout for smaller screen sizes */
@media only screen and (max-width: 769px) {
    .body {
        font-size: 1.3rem;
    }

    .container-contents {
        margin-top: 96px;
    }

    .container-contents.terms {
        margin: 96px 10%;
    }

    .content-surface {
        min-height: calc(100vh - 126px);
    }

    .content-surface-logreg {
        min-height: calc(100vh - 30px);
    }

    .button {
        font-size: 14px;
    }

    body .delina-preis-box {
        left: 0;
        width: 100%;
    }

    /* Fixed Header */
    header {
        height: 70px;
    }

    .footer {
        height: 30px;
        margin-top: 2rem;
        width: 100%;
        margin-left: 0;
    }

    header .box-logo {
        width: 60px;
        height: 60px;
        /*margin-left: 45%; un-comment when removing testphase */
    }

    header .flex-end-box {
        display: flex;
        flex-direction: row;
        position: relative;
        height: 100%;
        align-items: center;
        gap: 16px;
        margin-right: 4%;
        z-index: 3;
    }

    header .feedback-icon-box p {
        display: none;
    }

    @supports (-webkit-touch-callout: none) {
        header .btn {
            padding: 0.5rem 1.0rem;
        }

        header .btn-secondary {
            background-color: #808080;
            border-color: #808080;
        }

        header .show > .btn-secondary.dropdown-toggle {
            background-color: #808080;
            border-color: #808080;
        }

        header button:focus:not(:focus-visible) {
            background-color: #808080;
            border-color: #808080;
        }

        header .feedback-icon-box {
            display: flex;
            position: relative;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: #808080;

            &:active, &:visited {
                text-decoration: none;
                color: #808080;
            }
        }

        header .feedback-icon-box p {
            display: none;
        }

        header .feedback-info-box p {
            display: none;
        }
    }

    .change-language a {
        font-size: 16px;
    }

    /* Fixed Sidebar */
    .sidebar {
        top: 70px;
    }

    .box-icon p {
        display: none;
    }

    /* Login/Register Content */
    .sidebar-login-register {
        display: none;
    }

    .container-login-register {
        margin: 2rem 12%;
    }

    .card {
        width: auto;
        margin: auto;
    }

    .card h1 {
        font-size: 24px;
    }

    .container-login-register .box-logo {
        display: block;
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    /* Home Content */
    .home .uni-logo {
        height: 60px;
        width: 160px;
        margin-bottom: 12px;
    }

    .welcome-p .box-logo.up-logo {
        display: block !important;
        width: 80px;
        height: 80px;
        margin-bottom: 5%;
    }

    /* My Profile Content*/
    .profile {
        display: block;
    }

    .profile-img {
        width: 100%;
        text-align: center;
    }

    .profile-img .circle-img {
        height: 120px;
        width: 120px;
    }

    .profile-info {
        margin-left: 0;
        margin-top: 8px;
        width: 100%;;
    }

    .calendar {
        width: 100% !important;
    }

    /* Search User Content*/
    .column {
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }

    .zip-result-card h1 {
        font-size: 18px;
    }

    .zip-result-card p {
        font-size: 16px;
    }

    .whole-chat {
        min-width: 75vw !important;
    }

    .chat-drawer-btn {
        display: block !important;
    }

    .chatpartner {
        display: flex !important;
        flex-direction: row;
    }

    .chatpartner .user-name {
        padding-right: 10%;
    }

    .chat-drawer {
        height: 550px;
        width: 75%;
        position: fixed;
        z-index: 1;
        overflow-x: hidden;
        padding-top: 30px;
        transition: 0.5s;
        overflow-y: clip;
    }

    .specific-chat-n-input {
        width: 100% !important;
        height: 550px
    }

    .chat-list-box {
        width: 100% !important;
        height: 100% !important;
    }

    .input-wrapper {
        height: 70px;
    }
}


/* ---------- Chat ---------- */

.whole-chat {
    /*position: relative;*/
    width: 75vw;
    min-width: 650px;
    height: fit-content;
    overflow-x: hidden;
}

/* --- Chats Overview --- */

.chat-list-box {
    /*position: relative;*/
    margin-top: 0;
    float: left;
    width: 30%;
    overflow: hidden;
    overflow-y: auto;
    height: 630px;
    background-color: #999999;
    border-radius: 5px;
    border: solid #4d4d4d 1px;
    box-shadow: 0 2px 4px #cccccc;
}

.chat-list-box::-webkit-scrollbar {
    width: 10px;
    border-radius: 5px;
}

.chat-list-box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

.chat-list-box::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 5px;
}

.chat-list-box::-webkit-scrollbar-thumb:hover {
    background: #999999;

}

.emptychatlist {
    height: 100%;
    padding: 2%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    font-weight: bolder;
}

.emptychatlist p a {
    color: #1a1a1a;
}

.emptychatlist p a:hover {
    color: #ffa62b;
}

.chat-drawer-btn {
    background: transparent;
    border: none;
    padding: 5px 0 0 0;
    align-self: center;
    flex: 1;
    display: none
}

.chat-drawer {
}

.chat-overview {
    /*position: relative;*/
    width: 100%;
    height: 100px;
    background-color: #82C0CC;
    border-radius: 6px;
    border: solid #4d4d4d 1px;
    box-shadow: 0 2px 4px #cccccc;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-inline-start: 5px;
}

.chat-overview:hover {
    /*position: relative;*/
    width: 100%;
    height: 100px;
    background-color: #489FB5;
    border-radius: 6px;
    border: solid #4d4d4d 1px;
    box-shadow: 0 2px 4px #cccccc;
}

.chat-overview.checked {
    /*position: relative;*/
    width: 100%;
    height: 100px;
    background-color: #489FB5;
    border-radius: 6px;
    border: solid #4d4d4d 1px;
    box-shadow: 0 2px 4px #cccccc;
}

.round-image {
    /*position: relative;*/
    float: left;
    left: 20px;
    top: 12px;
    height: 76px;
    width: 76px;
    border: solid 2px #16697a;
    border-radius: 50%;
    margin-right: 10%;
    margin-left: 2%;
    margin-top: 2%;
}

.text-wrapper-overview {
    /*position: relative;*/
    left: 35px;
    padding-left: 5px;
    width: 100%;
}

.user-name {
    position: inherit;
    margin: 5px;
    white-space: nowrap;
    overflow: visible;
    text-overflow: ellipsis;
    font-size: large;
    font-weight: bold;
}

.chattitle {
    text-decoration: none;
    color: #1a1a1a;
    height: 100%;
    align-self: center;
    horiz-align: center;
    text-align: center;
    justify-content: center;
    flex: 9;
    display: flex;
    flex-direction: row;
}

.chattitle:hover {
    color: #1a1a1a;
}

.chattitle .user-name {
    margin: 0;
}

.last-message {
    position: inherit;
    height: 20px;
    white-space: nowrap;
    overflow: clip;
    text-overflow: ellipsis;
    margin: 5px;
    font-size: small;
}

.timestamp-overview {
    position: inherit;
    margin: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: x-small;
    font-weight: normal;
}

.notification {
    position: absolute;
    background-color: crimson;
    color: white;
    width: 15px !important;
    height: 15px !important;
    text-align: center;
    border-radius: 50%;
    right: -10px;
    top: 10px;
}

.chat-overview .chat .notification {
    right: 0;
    top: 10px;
}

/* --- Specific Chats --- */

.specific-chat-n-input {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.chatpartner {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 30px;
    min-height: 30px;
    background-color: #82C0CC;
    border-radius: 8px;
    border: solid #489FB5 2px;
    overflow-y: hidden;
    align-content: center;
    display: flex;
    flex-direction: row;
}

.chatpartner .chatrow {
    display: flex;
    flex-direction: row;
    align-content: center;
    width: inherit;
}

.chatrow .block-btn {
    display: flex !important;
    flex: 1;
    justify-content: flex-end;
    height: inherit;
}

.chatrow .block-btn .material-icons {
    font-size: 24px;
}

.to-remove-and-add {
    height: fit-content;
}

.specific-chat {
    /*position: relative;*/
    display: flex;
    flex-direction: column-reverse;
    float: left;
    width: 100%;
    height: 500px;
    /*overflow: hidden;*/
    overflow-y: scroll;
    scroll-behavior: smooth;
    padding: 20px;
    background-color: #fdfdfc;
    border-radius: 8px;
    border: solid #489FB5 2px;
    box-shadow: 0 2px 4px #cccccc;
}

.specific-chat::-webkit-scrollbar {
    width: 10px;
    border-radius: 5px;
}

.specific-chat::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

.specific-chat::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 5px;
}

.specific-chat::-webkit-scrollbar-thumb:hover {
    background: #999999;

}

.round-image-for-chat {
    clear: both;
    position: inherit;
    float: left;
    left: 5%;
    top: 12px;
    height: 32px;
    width: 32px;
}

.receiver-image {
    float: right;
}

.message {
    position: inherit;
    float: left;
    background: #cccccc;
    max-width: 55%;
    height: fit-content;
    padding: 16px;
    white-space: pre-wrap;
    margin-bottom: 20px;
    margin-left: 15px;
    border-radius: 8px 30px 8px 30px;
    border: solid #000000 1px;
    box-shadow: 0 2px 4px #cccccc;
}

.sender {
    display: inline-block;
    margin-left: auto;
    margin-right: 15px;
    border-radius: 30px 8px 30px 8px;
    float: right;
    background: #82C0CC;
}

.message-text {
    width: fit-content;
    height: fit-content;
    font-size: smaller;
}

.timestamp-chat {
    text-align: right;
    margin-bottom: -10px;
    font-size: small;
    opacity: 0.8;
}

.timestamp-chat-floating {
    position: relative;
    font-size: small;
    float: left;
    top: 90px;
    right: 70px;
}

.white-bar {
    clear: both;
    position: relative;
    float: right;
}

.delina-preis-box {
    display: flex;
    position: relative;
    flex-direction: row;
    left: 15%;
    width: 85%;
    align-items: center;
    justify-content: center;
}

.delina-preis {
    height: 15rem;
    width: 15rem;
}

/* --- Input for Chat --- */

.input-wrapper {
    position: relative;
    float: left;
    /*width: 50%;*/
    width: 100%;
    height: 100px;
    padding: 10px;
    background-color: #fdfdfc;
    border-radius: 8px;
    border: solid #489FB5 2px;
    box-shadow: 0 2px 4px #cccccc;
    overflow-y: hidden;
}

.input {
    position: relative;
    float: left;
    resize: none;
    width: 70%;
    height: 90%;
    overflow: hidden;
    overflow-y: scroll;
    padding: 10px 60px 10px 10px;
    background-color: #fdfdfc;
    border-radius: 4px;
    border: solid #cccccc 2px;
    font-size: smaller;
}

.input::-webkit-scrollbar {
    display: none;
}

.send-msg-btn-chat {
    position: relative;
    float: left;
    left: 8%;
    top: 20px;
    border-radius: 12px;
    border: transparent;
    background-color: #489fb5;
    box-shadow: 0 2px 2px #cccccc;
}

.send-msg-btn-chat:disabled {
    background-color: #cccccc;
}

.send-msg-btn-chat .material-icons {
    text-align: center;
    font-size: 24px;
    padding-top: 5px;
    color: #fff;
}

/* ------- Terms and Conditions --------*/

.termsconds h2 {
    font-weight: bold;
}

.termsconds h3 {
    font-size: large;
    margin-top: 5px;
}

.termsconds p {
    font-size: medium;
    text-align: justify;
}

button.text-link {
    color: #1a1a1a;
    text-decoration: 2px underline solid;
    border: none;
    background-color: transparent;
    box-shadow: none;
    margin-bottom: 20px;
}

button.text-link:hover,
button.text-link:active {
    color: #ffa62b;
    background-color: transparent;
    border: none;
    box-shadow: none;

}

.tooltiptext {
    font-size: small;
}

.homefirst-container {
    position: fixed;
    display: flex;
    flex-direction: column;
    margin-left: 15vw;
    justify-content: space-around;
    text-align: center;
    min-height: calc(100vh - 100px);
    max-height: fit-content;
    top: 50px;
    max-width: fit-content;
    z-index: 1;
}

.homefirst-p {
    background-color: #ccccccdd;
    border-radius: 50px;
}

.homefirst p {
    margin-top: 16px;
    line-height: 1.5;
    text-align: justify;
}

.homefirst-container .homefirst-table {
    display: flex;
    flex-direction: row;
    padding: 5% 1% 5% 1%;
    background-color: #ccccccee;
    border-radius: 50px;
    text-align: center;
    justify-content: flex-start;
}

.homefirst-container .homefirst-table .material-icons {
    align-self: center;
}


.homefirst-container .homefirst-table p {
    align-self: center;
    text-align: center;
}

.homefirst-table-p {
    flex: max-content;
    margin-bottom: 0;
}

.box-content.homefirst {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.box-content.homefirst .button {
    flex: 0.5;
}

.help-btn {
    display: block !important;
    cursor: pointer;
    width: fit-content;
}

.block-btn {
    display: block !important;
    cursor: pointer;
    width: fit-content;
    color: #E5707E;
    horiz-align: center;
}

.welcome-p p {
    margin-bottom: 2%;
}

.welcome-p .box-logo.up-logo {
    display: none;
}

.welcome-a {
    font-size: small;
    display: flex;
    justify-content: flex-end;
    cursor: pointer;
}

/* laila-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Laila';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/laila-v13-latin-regular.eot'); /* IE9 Compat Modes */
    src: url('assets/fonts/laila-v13-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('assets/fonts/laila-v13-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('assets/fonts/laila-v13-latin-regular.woff') format('woff'), /* Modern Browsers */ url('assets/fonts/laila-v13-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('assets/fonts/laila-v13-latin-regular.svg#Laila') format('svg'); /* Legacy iOS */
}

/* laila-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Laila';
    font-style: normal;
    font-weight: 500;
    src: url('assets/fonts/laila-v13-latin-500.eot'); /* IE9 Compat Modes */
    src: url('assets/fonts/laila-v13-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('assets/fonts/laila-v13-latin-500.woff2') format('woff2'), /* Super Modern Browsers */ url('assets/fonts/laila-v13-latin-500.woff') format('woff'), /* Modern Browsers */ url('assets/fonts/laila-v13-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */ url('assets/fonts/laila-v13-latin-500.svg#Laila') format('svg'); /* Legacy iOS */
}

/* laila-600 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Laila';
    font-style: normal;
    font-weight: 600;
    src: url('assets/fonts/laila-v13-latin-600.eot'); /* IE9 Compat Modes */
    src: url('assets/fonts/laila-v13-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('assets/fonts/laila-v13-latin-600.woff2') format('woff2'), /* Super Modern Browsers */ url('assets/fonts/laila-v13-latin-600.woff') format('woff'), /* Modern Browsers */ url('assets/fonts/laila-v13-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */ url('assets/fonts/laila-v13-latin-600.svg#Laila') format('svg'); /* Legacy iOS */
}

/* nunito-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/nunito-v25-latin-regular.eot'); /* IE9 Compat Modes */
    src: url('assets/fonts/nunito-v25-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('assets/fonts/nunito-v25-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('assets/fonts/nunito-v25-latin-regular.woff') format('woff'), /* Modern Browsers */ url('assets/fonts/nunito-v25-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('assets/fonts/nunito-v25-latin-regular.svg#Nunito') format('svg'); /* Legacy iOS */
}

/* nunito-italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito';
    font-style: italic;
    font-weight: 400;
    src: url('assets/fonts/nunito-v25-latin-italic.eot'); /* IE9 Compat Modes */
    src: url('assets/fonts/nunito-v25-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('assets/fonts/nunito-v25-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */ url('assets/fonts/nunito-v25-latin-italic.woff') format('woff'), /* Modern Browsers */ url('assets/fonts/nunito-v25-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */ url('assets/fonts/nunito-v25-latin-italic.svg#Nunito') format('svg'); /* Legacy iOS */
}

/* nunito-600 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 600;
    src: url('assets/fonts/nunito-v25-latin-600.eot'); /* IE9 Compat Modes */
    src: url('assets/fonts/nunito-v25-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('assets/fonts/nunito-v25-latin-600.woff2') format('woff2'), /* Super Modern Browsers */ url('assets/fonts/nunito-v25-latin-600.woff') format('woff'), /* Modern Browsers */ url('assets/fonts/nunito-v25-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */ url('assets/fonts/nunito-v25-latin-600.svg#Nunito') format('svg'); /* Legacy iOS */
}

/* nunito-600italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito';
    font-style: italic;
    font-weight: 600;
    src: url('assets/fonts/nunito-v25-latin-600italic.eot'); /* IE9 Compat Modes */
    src: url('assets/fonts/nunito-v25-latin-600italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('assets/fonts/nunito-v25-latin-600italic.woff2') format('woff2'), /* Super Modern Browsers */ url('assets/fonts/nunito-v25-latin-600italic.woff') format('woff'), /* Modern Browsers */ url('assets/fonts/nunito-v25-latin-600italic.ttf') format('truetype'), /* Safari, Android, iOS */ url('assets/fonts/nunito-v25-latin-600italic.svg#Nunito') format('svg'); /* Legacy iOS */
}

/* nunito-900 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 900;
    src: url('assets/fonts/nunito-v25-latin-900.eot'); /* IE9 Compat Modes */
    src: url('assets/fonts/nunito-v25-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('assets/fonts/nunito-v25-latin-900.woff2') format('woff2'), /* Super Modern Browsers */ url('assets/fonts/nunito-v25-latin-900.woff') format('woff'), /* Modern Browsers */ url('assets/fonts/nunito-v25-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */ url('assets/fonts/nunito-v25-latin-900.svg#Nunito') format('svg'); /* Legacy iOS */
}

/* nunito-900italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito';
    font-style: italic;
    font-weight: 900;
    src: url('assets/fonts/nunito-v25-latin-900italic.eot'); /* IE9 Compat Modes */
    src: url('assets/fonts/nunito-v25-latin-900italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('assets/fonts/nunito-v25-latin-900italic.woff2') format('woff2'), /* Super Modern Browsers */ url('assets/fonts/nunito-v25-latin-900italic.woff') format('woff'), /* Modern Browsers */ url('assets/fonts/nunito-v25-latin-900italic.ttf') format('truetype'), /* Safari, Android, iOS */ url('assets/fonts/nunito-v25-latin-900italic.svg#Nunito') format('svg'); /* Legacy iOS */
}

/* noto-sans-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/noto-sans-v28-latin-regular.eot'); /* IE9 Compat Modes */
    src: url('assets/fonts/noto-sans-v28-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('assets/fonts/noto-sans-v28-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('assets/fonts/noto-sans-v28-latin-regular.woff') format('woff'), /* Modern Browsers */ url('assets/fonts/noto-sans-v28-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('assets/fonts/noto-sans-v28-latin-regular.svg#NotoSans') format('svg'); /* Legacy iOS */
}

/* noto-sans-italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Noto Sans';
    font-style: italic;
    font-weight: 400;
    src: url('assets/fonts/noto-sans-v28-latin-italic.eot'); /* IE9 Compat Modes */
    src: url('assets/fonts/noto-sans-v28-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('assets/fonts/noto-sans-v28-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */ url('assets/fonts/noto-sans-v28-latin-italic.woff') format('woff'), /* Modern Browsers */ url('assets/fonts/noto-sans-v28-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */ url('assets/fonts/noto-sans-v28-latin-italic.svg#NotoSans') format('svg'); /* Legacy iOS */
}

/* noto-sans-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/noto-sans-v28-latin-700.eot'); /* IE9 Compat Modes */
    src: url('assets/fonts/noto-sans-v28-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('assets/fonts/noto-sans-v28-latin-700.woff2') format('woff2'), /* Super Modern Browsers */ url('assets/fonts/noto-sans-v28-latin-700.woff') format('woff'), /* Modern Browsers */ url('assets/fonts/noto-sans-v28-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */ url('assets/fonts/noto-sans-v28-latin-700.svg#NotoSans') format('svg'); /* Legacy iOS */
}

/* noto-sans-700italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Noto Sans';
    font-style: italic;
    font-weight: 700;
    src: url('assets/fonts/noto-sans-v28-latin-700italic.eot'); /* IE9 Compat Modes */
    src: url('assets/fonts/noto-sans-v28-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('assets/fonts/noto-sans-v28-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */ url('assets/fonts/noto-sans-v28-latin-700italic.woff') format('woff'), /* Modern Browsers */ url('assets/fonts/noto-sans-v28-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */ url('assets/fonts/noto-sans-v28-latin-700italic.svg#NotoSans') format('svg'); /* Legacy iOS */
}

/*@font-face {*/
/*    font-family: 'Material Icons';*/
/*    font-style: normal;*/
/*    font-weight: 400;*/
/*    src: url(https://example.com/MaterialIcons-Regular.eot); !* For IE6-8 *!*/
/*    src: local('Material Icons'), local('MaterialIcons-Regular'),*/
/*    url(https://example.com/MaterialIcons-Regular.woff2) format('woff2'),*/
/*    url(https://example.com/MaterialIcons-Regular.woff) format('woff'),*/
/*    url(https://example.com/MaterialIcons-Regular.ttf) format('truetype');*/
/*}*/

/* material-icons-outlined-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Material Icons Outlined';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/material-icons-outlined-v109-latin-regular.eot'); /* IE9 Compat Modes */
    src: url('assets/fonts/material-icons-outlined-v109-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('assets/fonts/material-icons-outlined-v109-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('assets/fonts/material-icons-outlined-v109-latin-regular.woff') format('woff') /* Modern Browsers */
}

/* material-icons-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/material-icons-v140-latin-regular.eot'); /* IE9 Compat Modes */
    src: url('assets/fonts/material-icons-v140-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('assets/fonts/material-icons-v140-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('assets/fonts/material-icons-v140-latin-regular.woff') format('woff'), /* Modern Browsers */ url('assets/fonts/material-icons-v140-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('assets/fonts/material-icons-v140-latin-regular.svg#MaterialIcons') format('svg') /* Legacy iOS */
}