.flash {
    padding: 10px;
    margin-bottom: 5px;
}

.flash-info {
    background-color: gray;
    color: white;
}

.flash-fullscreen {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.viewoutput {
    border: solid 1px gray;
    border-radius: 28px;
    padding: 10px 24px;
    min-height: 48px;
}

input.form-checkbox {
    width: auto;
    margin-right: 10px;
}

.db-pagination {
    text-align: center;
}

.db-user-profile-image {
    border: solid 2px gray;
    border-radius: 50%;
    display: inline-block;
    width: 50px;
    height: 50px;
    margin-right: 15px;
    vertical-align: middle;
}

.db-username {

}

.db-topmenu-links a {
    margin-left: 15px;
}

.db-tinymce {
    /*height: 500px;*/
}

.form-group {
    padding-top: 20px;
}


.developInfo {
    z-index: 9999;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px;
    background-color: rgba(200, 200, 200, 0.9);
    font-size: 0.8em;
}

:root {
    --primaerfarbe: #7B0A31;
    --sekundarfarbe: #202B4E;
    --tertiaerfarbe: #F7F6F5;
    --font: "Roboto";
    /*responsive soll der Container nach unten geschoben werden*/
    --hoehe-mobil-im-zuhause: 195px;
}

/*Lifta CSS*/
body {
    font-family: var(--font), sans-serif;
    overflow: hidden;
    @media screen and (max-width: 970px) {
        overflow: auto !important;
    }
}

#side-part {
    .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
        color: #202B4E;
        font-weight: bold;
        margin-bottom: 10px;
    }
}

header {
    .top {
        background: var(--sekundarfarbe);
        color: #fff;
    }

    .top p {
        padding: 0;
        margin-bottom: 0;
    }

    .partner {
        background-color: var(--tertiaerfarbe);
    }
}

.btn.btn-primary {
    background: var(--primaerfarbe);
    border-color: var(--primaerfarbe);
}

.rounded {
    border-radius: 8px !important;
}

#faq {
    button {
        font-size: 28px;
        padding: 30px 0;
    }

    .accordion-item {
        h2 button {
            @media screen and (max-width: 800px) {
                font-size: 20px;
            }
        }
        border-bottom: 2px solid;

        &:first-child {
            border-top: 2px solid;
        }

        &:last-child {
            border-bottom: 2px solid;
        }

        .accordion-button {
            background-color: transparent !important;
            gap: 5px;
            &:not(.collapsed) {
                color: unset;
                background-color: #fff;
                box-shadow: unset;

                &::after {
                    filter: contrast(0) invert(1);
                }
            }

            &:focus {


            }
        }

        .accordion-body {
            padding: 0 0 30px 0;
            > .d-flex {
                align-items: flex-start;
                @media screen and (max-width: 800px) {
                    flex-wrap: wrap;
                    img {
                        width: 50% !important;
                    }
                }
                @media screen and (max-width: 395px) {
                    flex-wrap: wrap;
                    img {
                        width: 80% !important;
                    }
                }
            }
            img {
                height: auto;
            }
        }
    }
}

#treppenlift-experte {
    background-color: var(--tertiaerfarbe);
    @media screen and (max-width: 990px) {
        > .d-flex {
            flex-wrap: wrap;
        }
    }
}

#landing-page {
    font-family: var(--font), sans-serif;;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    > * {
        @media screen and (min-width: 1400px) {
            max-width: 1400px;
            margin: auto;
        }
    }
}

/*.lp-part {*/
/*    height: 100vh;*/
/*    overflow-y: auto;*/
/*    overflow-x: hidden;*/
/*}*/
#side-part {
    border-left: 2px solid #202B4E;
    min-width: 450px;
    padding: 0 15px;

    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;

    .sp-corporate-design {
        > div.d-flex {
            > *:first-child {
                width: 40% !important;

                > input {
                    border: none;
                    padding: 0;
                }
            }

            > *:last-child {
                width: 60% !important;
            }
        }
    }

    #treppenliftexperte, #sanitaetshausInformationen {
        > div.d-flex {
            > *:first-child {
                width: 15% !important;

                > input {
                    border: none;
                    padding: 0;
                }
            }

            > *:last-child {
                width: 85% !important;
            }
        }
    }

    #link-area {
        margin-bottom: 50px;

        > div.d-flex {
            align-items: start !important;

            > *:first-child {
                width: 30% !important;
                margin-top: 5px;

                > input {
                    border: none;
                    padding: 0;
                }
            }

            > *:last-child {
                width: 70% !important;
            }
        }
    }

    .db-selectbox.form-select {
        border-color: #dee2e6;
        min-height: 38px;
    }

    .form-control-color {
        border: none;
    }

    a:not(.btn) {
        color: #202B4E;
    }

    hr {
        margin-top: 60px;
    }

    #link-area {
        margin-bottom: 50px;
    }

}

#side-part-backend {
    border-left: 2px solid #202B4E;
    min-width: 400px;

    label {
        width: 60%;
    }
}

.border-primary {
    border-color: #202B4E !important;
}


.bg-secondary {
    background-color: #e2e2e2 !important;
}

.bild-akkordion {
    margin-left: -15px;
    margin-right: -15px;
}

.accordion-button {
    color: #202b4e;

    &:not(.collapsed) {
        color: #202b4e;
        background-color: #202b4e2e;

        &::after {
            filter: contrast(0) invert(1);
        }
    }

    &:focus {
        border-color: #000000;
        box-shadow: 0 0 0 .25rem rgb(0 0 0 / 25%);

    }
}

.logo-container, .partner {
    @media screen  and (max-width: 422px) {
        flex-wrap: wrap;
        .d-flex {
            float: right;
            width: 100%;
        }
    }
    img {
        width: auto;
        max-width: 190px;
        height: auto;
        max-height: 64px;
    }
}

@media screen and (max-width: 987px) {
    .stage {
        background-position: -62px 0;
        padding: 20px !important;
    }
}
@media screen and (max-width: 845px) {
    .stage {
        height: 450px !important;
    }
}
@media screen and (max-width: 808px) {
    .stage {
        height: 346px !important;
        background-position: unset;
        .mobil-im-zuHause {
            width: 373px !important;
        }
    }
}
@media screen and (max-width: 768px) {
    .stage {
        .mobil-im-zuHause {
            width: 320px !important;
            h4 {
                font-size: 18px !important;
                font-weight: bold !important;
                margin-bottom: 10px !important;
            }
        }
    }
}
@media screen and (max-width: 684px) {
    .stage {
        background-position: right 0 !important;
    }
}
@media screen and (max-width: 556px) {
    .stage {
        background-position: center 0 !important;
        height: 268px !important;
        margin-bottom: var(--hoehe-mobil-im-zuhause) !important;
        .mobil-im-zuHause {
            width: 100% !important;
            top: 215px !important;
            position: relative !important;
        }
    }
}

.hidden {
    display: none;
}

.logo-partner {
    gap: 20px;
}

.db-file-types {
    margin-top: 5px;
}

.sp-logo-upload i {
    margin-bottom: 0;
}

.tox.tox-tinymce {
    width: 100%;
}

.db-fileattachments .db-data-upload-selection {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    width: 100%;
    gap: 30px;

    img {
        max-width: 120px;
    }
}

.bild-akkordion .form-group {
    justify-content: space-between;
}

a.db-delete-file {
    color: #bb5555 !important;
    font-weight: normal;

    &:hover {
        color: #a62c2c !important;
    }
}

.db-data-upload-infotext {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 250px;
    white-space: nowrap;
    @media screen and (max-width: 2300px) {
        width: 180px;
    }
    @media screen and (max-width: 1700px) {
        width: 150px;
    }
}

.db-data-upload {
    white-space: nowrap;
}

.upload-section-inner {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: baseline;
    margin-bottom: 10px;
}

.rounded-circle {
    border-radius: 50% !important;
    width: 200px !important;
    height: 200px !important;
    flex-shrink: 0;
    object-fit: cover;
    object-position: top;
}

.db-inputfield {
    width: 100%;
}

.hide-sp-logo {
    .fas.fa-image {
        display: none;
    }

    .bg-secondary {
        background: transparent !important;
        padding-left: 0 !important;
        padding-bottom: 0 !important;
    }

    .db-inputfield {
        width: 100%;
    }

    .upload-section-inner {
        width: 100%;

        .db-data-upload-infotext {
            width: 230px;
        }
    }

    .form-group {
        padding-top: 0;

        &.mt-3 {
            margin-top: 0;
        }
    }
}

.db-crudform-no-file-selected {
    padding-top: 10px;
}

.form-check-input:checked {
    background-color: #202B4E;
    border-color: #202B4E;
}

.sp-seitenstruktur {
    > .form-check {
        margin-left: 10px;
    }
}

div#landing-page > * {
    margin-bottom: 90px !important;
}

#dbi-copy-link {
    cursor: pointer;
}

@media screen and (max-width: 970px) {
    .TPL_CONTENT {
        > .d-flex.flex-row.gap-2 {
            gap: 0 !important;
            flex-wrap: wrap-reverse;

            #side-part {
                width: 100% !important;
                min-width: unset;
                max-width: unset;
                overflow: clip;
                height: unset;
                position: relative;
                top: unset;
                border-left: none;
                margin-bottom: 20px;
            }
        }
    }
}

#rueckruf_formular {
    .form-floating > label {
        left: 10px;
    }
}

#produktinformationen {
    .d-flex.flex-row.gap-3 {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media screen and (max-width: 900px) {
    #produktinformationen {
        .d-flex.flex-row.gap-3 {
            flex-wrap: wrap;
            width: 75% !important;
            margin: auto;
        }
    }

    #rueckruf_formular {
        .w-50.mt-4 {
            width: 75% !important;
        }
    }
}
.phone {
    a {
        white-space: nowrap;
        &:hover {
            color: var(--primaerfarbe) !important;
        }
    }
}

#landing-page  {
    a, button {
        transition: all 0.5s ease-out;
        &:hover {
            transform: scale(1.02);
            transition: all 0.5s ease-out;
        }
    }
}

.lp-part.container {
    @media screen and (max-width: 576px) {
        max-width: unset !important;
    }
}

#landing-page::-webkit-scrollbar,
#side-part::-webkit-scrollbar {
    width: 5px;
}

#landing-page::-webkit-scrollbar-track,
    #side-part::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 5px;
}

#landing-page::-webkit-scrollbar-thumb,
#side-part::-webkit-scrollbar-thumb {
    background: #bdb4b4;
    border-radius: 5px;

}

@supports not selector(::-webkit-scrollbar) {
    #landing-page {
        scrollbar-color: #f8f9fa #bdb4b4;
    }
}