/* ============================
   Splash Screen
============================ */


#dap-splash{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:#fff;

    z-index:999999;

    display:none;

    justify-content:center;
    align-items:center;

    flex-direction:column;

    transition:opacity .5s ease;

}



#dap-splash.hide{

    opacity:0;

    visibility:hidden;

}

#dap-splash img{

    width:120px;

    animation:logoZoom 1.2s ease;

}

@keyframes logoZoom{

    0%{

        transform:scale(.4);
        opacity:0;

    }

    100%{

        transform:scale(1);
        opacity:1;

    }

}

#dap-title{

    margin-top:20px;

    font-size:22px;

    font-weight:bold;

    color:#0B3D91;

    text-align:center;

}

#dap-subtitle{

    margin-top:8px;

    color:#666;

    font-size:15px;

}

.dap-loader{

    width:220px;

    height:5px;

    background:#ddd;

    margin-top:35px;

    border-radius:50px;

    overflow:hidden;

}

.dap-loader span{

    display:block;

    width:0;

    height:100%;

    background:#0B3D91;

    animation:loading 2s linear forwards;

}

@keyframes loading{

    from{

        width:0;

    }

    to{

        width:100%;

    }

}








/* ============================
   Smooth Page Reveal
============================ */

html.loading body{

    overflow:hidden;

}

html.loading #page{

    opacity:0;

}

html.loaded #page{

    opacity:1;

    transition:opacity .6s ease;

}
