@charset "utf-8";

/* ================================================================================ */
/*		caution																	*/
/* ================================================================================ */
.js_caution {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FFF;
    padding: 2em;
    width: 80%;
    z-index: 2;
    border: 2px solid #c5243a;
}

.js_caution h2 {
    color: #c5243a;
    font-weight: bold;
    text-align: center;
    margin-bottom: .5em;
}

/* ================================================================================ */
/*		loading																	*/
/* ================================================================================ */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFF;
    z-index: 9999;
    height: 100vh;
}

#loader .ring {
    height: 50px;
    width: 50px;
    vertical-align: middle;
    transform-origin: center;
    animation: loading_rotate 2s linear infinite;
    position: relative;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
}

#loader .ring circle {
    fill: none;
    stroke: #EDB75D;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: loading_stretch calc(2s * 0.75) ease-in-out infinite;
}

@keyframes loading_rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes loading_stretch {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -35px;
    }

    100% {
        stroke-dashoffset: -124px;
    }
}

#loader span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 3em;
    color: #EDB75D;
    font-family: arial, sans-serif;
}