﻿.bottom-sheet {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    height: 100%;
    background-color: #fff;
    transition-property: transform;
    transition-delay: 0s;
    /*transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);*/
    transition-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1);
    transition-duration: 250ms;
    z-index: 100;
    margin-bottom: 0;
    transform: translateY(0);
    max-width: 740px;
    margin: auto;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.3);
}

    .bottom-sheet.aktiv {
        /*margin-bottom: 260px;*/
        transform: translateY(-150px);
    }

        .bottom-sheet.aktiv.voll {
            /*margin-bottom: 100%;*/
            transform: translateY(-100%);
        }


    .bottom-sheet > div,
    .edit-sheet > div {
        padding: 20px;
        /*padding-top: 80px;*/
        position: relative;
    }

    .bottom-sheet .titel-1,
    .edit-sheet .titel-1 {
        margin: 0;
        margin-bottom: 5px;
        font-weight: 500;
        font-size: 1.5em;
    }

    .bottom-sheet .titel-2,
    .edit-sheet .titel-2 {
        font-size: 1em;
        font-weight: 400;
        border-bottom: 1px solid rgba(0,0,0,0.2);
        padding-bottom: 20px;
    }

    .bottom-sheet p,
    .edit-sheet p {
        font-size: 1em;
        font-weight: 400;
        border-bottom: 1px solid rgba(0,0,0,0.2);
        padding-bottom: 20px;
        padding-top: 20px;
    }

        .bottom-sheet p span,
        .edit-sheet p span {
            color: #06C;
            margin-left: 10px;
        }

    .bottom-sheet .menu,
    .edit-sheet .menu {
        float: none;
        margin-top: 20px;
        width: 150px;
        margin: 40px auto;
    }

    .bottom-sheet .button,
    .edit-sheet .button
    {
        margin-bottom: 10px;
        background-color: #fff;
        border: 2px solid #06C;
        color: #06C;
        font-weight: 600;
        text-transform: uppercase;
        padding: 10px;
        font-size: 0.8em;
        display: inline-block;
        margin-right: 10px;
        border-radius: 100px;
    }

        .bottom-sheet .button.aktiv,
        .edit-sheet .button.aktiv {
            background-color: #06C;
            color: #fff;
            padding: 15px 28px;
        }

input, textarea, select {
    box-sizing: border-box;
    font-size: 1em;
    border: 0;
    border-top-color: currentcolor;
    border-top-style: none;
    border-top-width: 0px;
    -webkit-appearance: none;
    width: 100%;
    padding: 15px;
    margin: 0;
    margin-bottom: 0px;
    font-family: "Roboto", Arial;
    border-radius: 5px;
}

textarea {
    margin-top: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    padding: 0;
}

.edit-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-color: #fff;
    transition-property: transform, opacity;
    transition-delay: 0s;
    transition-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1);
    transition-duration: 320ms;
    z-index: 100;
    margin-bottom: 0;
    max-width: 740px;
    margin: auto;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.3);
    transform: translateY(101%);
    opacity: 1;
    display: block;
}

    .edit-sheet.aktiv {
        transform: translateY(0);
        opacity: 1;
    }

/*
        .edit-sheet > div,
        .edit-sheet > button {
            opacity: 0;
            transition-property: opacity;
            transition-delay: 0ms;
            transition-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1);
            transition-duration: 320ms;
        }

        .edit-sheet.aktiv > div,
        .edit-sheet.aktiv > button{
            opacity: 1;
        }
        */

.button-fab {
    box-sizing: border-box;
    width: 56px;
    height: 56px;
    padding: 0;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);
}

.oben.rechts {
    top: 25px;
    right: 25px;
}

.bottom-sheet .button-icon,
.edit-sheet .button-icon {
    box-sizing: border-box;
    width: 56px;
    height: 56px;
    padding: 0;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    position: absolute;
    background-color: transparent;
    z-index: 999;
    transition-property: transform, background-color;
    transition-delay: 0s;
    transition-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1);
    transition-duration: 150ms;
    color: #000;
}

    .bottom-sheet .button-icon:hover,
    edit-sheet .button-icon:hover {
        background-color: rgba(0,0,0,0.05);
        transform: rotate(180deg);
    }

.fab--close {
    /* z-index: 300;*/
    bottom: -60px;
    left: auto;
    top: auto;
    right: 50%;
    margin-right: -30px;
    background-color: #0066CC;
    color: #fff;
}

.fab--close.aktiv{
    bottom: 30px;
}

.ebenen_layer {
    position: absolute;
    top: -50px;
    left: 50px;
    right: 50px;
    display: flex;
    justify-content: center;
}

    .ebenen_layer button {
        padding: 10px 20px;
        border-radius: 50px;
        border: none;
        margin-right: 10px;
        background-color: #FFF;
        box-shadow: 0 3px 5px -1px rgb(0 0 0 / 20%), 0 6px 10px 0 rgb(0 0 0 / 14%), 0 1px 18px 0 rgb(0 0 0 / 12%);
        color: #000;
        font-weight: bold;
        font-size: 14px;
    }

.ebenen_layer.aktiv{
    top: 20px;
}

@media all and (min-width: 840px) {
    .fab--close {
        width: 60px;
        height: 60px;
        border-radius: 50%;
    }
}