﻿/* --- Page Loader --- */
#page_load_overlay {
    position: fixed;
    background: rgba(0,0,0,.85);
    top: 0;
    left: 0;
    width: 100%;
    bottom: 0;
    text-align: center;
    z-index: 100999;
}

#page_load_graphic {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    margin: -30px 0 0 -30px;
    /*border: 10px solid #f3f3f3;*/
    border-radius: 50%;
    /*border-top: 10px solid #666666;*/
    border-left: 3px solid #fff;
    border-bottom: 1px solid #fff;
    width: 60px;
    height: 60px;
    /*-webkit-animation: spin 1s linear infinite; /* Safari */
    /*animation: spin 1s linear infinite;*/
    -webkit-animation: spin 2s cubic-bezier(0.75, 0.65, 0.45, 0.15) infinite; /* Safari */
    animation: spin 2s cubic-bezier(0.75, 0.65, 0.45, 0.15) infinite;
}

.eh-inpage-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.35);
    z-index: 1000;
}

.eh-inpage-graphic {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1001;
    margin: -15px 0 0 -15px;
    border-radius: 50%;
    border-left: 3px solid #fff;
    border-bottom: 1px solid #fff;
    width: 30px;
    height: 30px;

    -webkit-animation: spin 2s cubic-bezier(0.75, 0.65, 0.45, 0.15) infinite; /* Safari */
    animation: spin 2s cubic-bezier(0.75, 0.65, 0.45, 0.15) infinite;
}

.eh-inpage-text {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1002;
    color: #fff;
    transform: translate(-50%, 0);
    text-align: center;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.page_load_counter {
    position: fixed;
    top: calc(50vh + 60px);
    left: 50%;

    color: #fff;
    transform: translate(-50%, 0);
}