/*Scrollbutton für Jimdo-Rome (c) redesign-berlin.de 2022
-------------------------------------------------------------*/


/*Scroll-Button
---------------------------------------*/

.button-dn {
    background: url(https://redesign-berlin.lima-city.de/__project/kloster-stiepel/dn-button.png) center center no-repeat rgba(255, 255, 255, 0);
    background-size: 50px 50px;
    width: 50px;
    height: 50px;
    position: absolute;
    z-index: 999999;
    margin-top: -5px;
    right: 0;
    margin-right: calc(50% - 40px);
    outline: 0;
    cursor: pointer;
    opacity: 1;
    filter: brightness(0.85);
    -webkit-filter: brightness(0.85);
    -moz-filter: brightness(0.85);
}

@media(max-width:767px) {
    .button-dn {
        margin-top: -180px;
        visibility: hidden !important;
    }
}


.touch .button-dn {
    visibility: hidden !important;
}


.button-dn:hover {
    filter: drop-shadow(1px 1px 5px #000000) brightness(1);
    -webkit-filter: drop-shadow(1px 1px 5px #000000) brightness(1);
    -moz-filter: drop-shadow(1px 1px 5px #000000) brightness(1);

}

.no-button .button-dn {
    display: none !important;
}


/*
.button-dn:hover:after {
    content: 'Start';
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    font-weight: bold;
    width: 100%;
    margin: 0 auto;
    font-size: 14px;
}
*/


bouncing arrow .button-dn:hover {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 5;
    -webkit-animation-iteration-count: 5;
    animation-play-state: running;
}

.bounce {
    -moz-animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
    -moz-animation-iteration-count: 3;
    -webkit-animation-iteration-count: 3;
    animation-iteration-count: 3;
}



/*Anker
-------------------------------*/

.anker {
    position: absolute;
    margin-top: -65px;
    color: #ccc;
    text-indent: -9999px;
}

.ui-widget .anker {
    display: block;
    text-indent: 0;
}



/* Start 
----------------------------------*/
#start {
    position: absolute;
    left: 0;
    margin-top: -150px;
}

@media (max-width:767px) {

    #start {
        margin-top: -60px;

    }
}



/* keyframes
-------------------------------*/

@-moz-keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        -moz-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -moz-transform: translateY(-30px);
        transform: translateY(-30px);
    }

    60% {
        -moz-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

@-webkit-keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }

    60% {
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -moz-transform: translateY(-30px);
        -ms-transform: translateY(-30px);
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }

    60% {
        -moz-transform: translateY(-15px);
        -ms-transform: translateY(-15px);
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}
