/*Anpassungen für Shopsystem, favoriten*/
/*CompuSense Rodeck Berger GbR, info@compusense.de*/

    [name="toggle_favorites"],
    [name="toggle_favorites"]:hover {
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        right: 1rem;
        position: absolute;
        height: 10px;
        top: 243px;
    }

    .css-herz {
        position: absolute;
        top: 5px;
    }

    .css-herz:before, .css-herz:after {
        content: "";

        width: 10px;
        height: 15px;
        position: absolute;
        border-radius:40px 40px 0 0;
        background-image: url("../img/herzoutline.png") ;
    }

    .css-herz:before {
        left: 10px;
        transform-origin: 0 100%;
        transform:rotate(-45deg)
    }

    .css-herz:after {
        transform: rotate(45deg);
        transform-origin: 100% 100%;
        border-left-width: 0;
        border-bottom-width:0
    }

    [name="toggle_favorites"].active .css-herz:after, [name="toggle_favorites"].active .css-herz:before {
        background-color: red;
        visibility: hidden;
        transition:visibility 2s;
    }

    [name="toggle_favorites"].active .css-herz.obenrechts {
        -webkit-animation: obenrechts 3s;
        animation:obenrechts 3s
    }

    [name="toggle_favorites"].active .css-herz.obenlinks {
        -webkit-animation: obenlinks 1s;
        animation:obenlinks 1s
    }

    [name="toggle_favorites"].active .css-herz.herz1 {
        -webkit-animation: kurzlinks 4s;
        animation:kurzlinks 4s
    }

    [name="toggle_favorites"].active .css-herz.herz2 {
        -webkit-animation: kurzrechts 2s;
        animation:kurzrechts 2s
    }

    [name="toggle_favorites"].active .css-herz.herz3 {
        -webkit-animation: untenrechts 3s;
        animation:untenrechts 3s
    }

    [name="toggle_favorites"].active .css-herz.herz4 {
        -webkit-animation: untenlinks 5s;
        animation:untenlinks 5s
    }

    [name="toggle_favorites"].active .css-herz.herz5 {
        -webkit-animation: unten 3s;
        animation:unten 3s
    }

    [name="toggle_favorites"].active .css-herz.herz6 {
        -webkit-animation: rechts 4s;
        animation:rechts 4s
    }

    [name="toggle_favorites"].active .css-herz.herz7 {
        -webkit-animation: links 2s;
        animation:links 2s
    }

    [name="toggle_favorites"].active .css-herz.herz8 {
        -webkit-animation: oben 3s;
        animation:oben 3s
    }

    @keyframes obenrechts {
        0% {
            transform: translate(0px);
        }

        100% {
            transform: translate(45px, -80px);
            animation-timing-function: linear;
        }
    }

    @keyframes obenlinks {
        0% {
            transform: translate(0px);
        }

        100% {
            transform: translate(-10px, -90px);
            animation-timing-function: ease-out;
        }
    }

    @keyframes kurzlinks {
        0% {
            transform: translate(0px);
        }

        100% {
            transform: translate(-50px, -50px);
            animation-timing-function: ease-in;
        }
    }

    @keyframes kurzrechts {
        0% {
            transform: translate(0px);
        }

        100% {
            transform: translate(25px, -60px);
            animation-timing-function: ease;
        }
    }

    @keyframes untenrechts {
        0% {
            transform: translate(0px);
        }

        100% {
            transform: translate(35px, -45px);
            animation-timing-function: ease-in-out;
        }
    }

    @keyframes untenlinks {
        0% {
            transform: translate(0px);
        }

        100% {
            transform: translate(-20px, -50px);
            animation-timing-function: linear;
        }
    }

    @keyframes unten {
        0% {
            transform: translate(0px);
        }

        100% {
            transform: translate(6px, -140px);
            animation-timing-function: ease;
        }
    }

    @keyframes rechts {
        0% {
            transform: translate(0px);
        }

        100% {
            transform: translate(50px, 0px);
            animation-timing-function: ease-out;
        }
    }

    @keyframes links {
        0% {
            transform: translate(0px);
        }

        100% {
            transform: translate(-50px, 0px);
            animation-timing-function: ease-in;
        }
    }

    @keyframes oben {
        0% {
            transform: translate(0px);
        }

        100% {
            transform: translate(0, -50px);
            animation-timing-function: ease-in;
        }
    }

    [name="toggle_favorites"] .entmerken {
        display:none
    }

    [name="toggle_favorites"].active .merken {
        display:none
    }

    [name="toggle_favorites"].active .entmerken {
        display:block
    }
 