/*	daylily.art Style Sheet

	Author: 	Pamela Brooks
	Date: 		2020
	Filename:       daylily-loader.css
*/

/* Loader */

#preload {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0; bottom: 0;
    left: 0; right: 0;
    margin: auto;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    background-color: #ffffff;
    overflow: hidden;
    z-index: 9999999;
}

#preload .kd-bounce {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    margin: 40px auto;
}

#preload .kd-bounce:before,
#preload .kd-bounce:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    background-color: #242424;
    opacity: 0.4;
    animation: kd-bounce 2.4s infinite ease-in-out;
    -webkit-animation: kd-bounce 2.4s infinite ease-in-out;
    -moz-animation: kd-bounce 2.4s infinite ease-in-out;
}

#preload .kd-bounce:after {
    animation-delay: -1.2s;
}

@keyframes kd-bounce {
    0%,
    100% {
        transform: scale(0);
        /*-webkit-transform: scale(0);*/
    }
    50% {
        transform: scale(1);
        /*-webkit-transform: scale(1);*/
    }
}
/* Safari and Chrome: */
@-webkit-keyframes kd-bounce {
    0%,
    100% {
        -webkit-transform: scale(0);
    }
    50% {
        -webkit-transform: scale(1);
    }
}
/* Firefox: */
@-moz-keyframes kd-bounce {
    0%,
    100% {
        -moz-transform: scale(0);
    }
    50% {
        -moz-transform: scale(1);
    }
}

.kd-close {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    cursor: pointer;
    font-size: 24px;
    line-height: 48px;
    color: #000000;
    background-color: #ffffff;
    text-align: center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.kd-close:before {
    content: '';
    width: 30px;
    height: 2px;
    display: block;
    background-color: #000000;
    -webkit-transform: rotate(44deg) translate(26px, 10px);
    -moz-transform: rotate(44deg) translate(26px, 10px);
    transform: rotate(44deg) translate(26px, 10px);
}

.kd-close:after {
    content: '';
    width: 30px;
    height: 2px;
    display: block;
    background-color: #000000;
    -webkit-transform: rotate(-46deg) translate(-10px, 24px);
    -moz-transform: rotate(-46deg) translate(-10px, 24px);
    transform: rotate(-46deg) translate(-10px, 24px);
}


/* Print media */

@media print {

    #preload {
        display: none;
    }
    .kd-bounce {
        display: none;
    }

}
