﻿* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    position: relative;
}

.redirect-block {
    margin: 10rem auto 0 auto;
    overflow: hidden;
    width: 45rem;
    height: 20rem;
    text-align: center;
    position: relative;
}

/* blue bar */
.loading-block {
    margin: 0 auto 2rem auto;
    width: 80%;
    height: 75%;
    z-index: 0;
    position: relative;
}

    /* text */
    .loading-block img {
        width: 100%;
        /* height: 100%; */
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        position: absolute;
        display: inline-block;
        outline: none;
    }

    /* Shine */
    .loading-block:after {
        width: 100%;
        height: 100%;
        content: '';
        top: 0;
        transform: translateX(100%);
        position: absolute;
        z-index: 1;
        animation: slide 2s infinite;
        /*   CSS Gradient - complete browser support from http://www.colorzilla.com/gradient-editor/   */
        background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(128,186,232,0) 99%, rgba(125,185,232,0) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(50%,rgba(255,255,255,0.8)), color-stop(99%,rgba(128,186,232,0)), color-stop(100%,rgba(125,185,232,0))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 50%,rgba(128,186,232,0) 99%,rgba(125,185,232,0) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 50%,rgba(128,186,232,0) 99%,rgba(125,185,232,0) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 50%,rgba(128,186,232,0) 99%,rgba(125,185,232,0) 100%); /* IE10+ */
        background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 50%,rgba(128,186,232,0) 99%,rgba(125,185,232,0) 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#007db9e8',GradientType=1 ); /* IE6-9 */
    }

.redirect-block .btn {
    display: block;
    width: 30rem;
    height: 3rem;
    background-color: #f37020;
    line-height: 3rem;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    /* margin: auto; */
    font-weight: bold;
    /* text-transform: uppercase; */
    font-family: 'Roboto-Regular', sans-serif;
    cursor: pointer;
    position: absolute;
    left: 50%;
    right: 0;
    transform: translate(-50%, 0px);
    border: none;
}

/* animation */

@keyframes slide {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.error-block {
    width: 35%;
    padding: 1rem;
    min-height: 5%;
    position: absolute;
    display: block;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
    border-radius: 1rem;
}

    .error-block .error-title {
        text-align: center;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid;
        padding: 0.5rem 0;
    }

    .error-block .error-content {
        line-height: 1.5;
    }
