﻿.spinwait {
    position: fixed;
    z-index: 100;
    width: 100px;
    height: 100px;
    left: 50%;
    top: 50%;
    margin-left: -50px;
    margin-top: -50px;
    vertical-align: middle;
    color: #fff;
    text-align: center;
    background: linear-gradient(top, #3ba3ff, #0088ff);
    background: -moz-linear-gradient(top, #3ba3ff, #0088ff);
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#3ba3ff), to(#0088ff));
    background: -ms-linear-gradient(top, #3ba3ff, #0088ff);
    background: -o-linear-gradient(top, #3ba3ff, #0088ff);
    border: 3px solid #0271d1;
    border-radius: 50%;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    box-shadow: inset 0 1px #8fcbff, inset 0 -2px 5px #5cb3ff, 0 0 0 4px rgba(250,250,250,0.65);
    -moz-box-shadow: inset 0 1px #8fcbff, inset 0 -2px 5px #5cb3ff, 0 0 0 4px rgba(250,250,250,0.65);
    -webkit-box-shadow: inset 0 1px #8fcbff, inset 0 -2px 5px #5cb3ff, 0 0 0 4px rgba(250,250,250,0.65);
    -ms-box-shadow: inset 0 1px #8fcbff, inset 0 -2px 5px #5cb3ff, 0 0 0 4px rgba(250,250,250,0.65);
    -o-box-shadow: inset 0 1px #8fcbff, inset 0 -2px 5px #5cb3ff, 0 0 0 4px rgba(250,250,250,0.65);
    display: normal;
}

    .spinwait .wait {
        margin-top: 15px;
        margin-bottom: 10px;
        padding: 0 20px;
    }

.spinner {
    margin: 0 auto;
    width: 50px;
    height: 25px;
    text-align: center;
    font-size: 10px;
}

    .spinner > div {
        background-color: #fff;
        height: 100%;
        width: 6px;
        display: inline-block;
        -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
        animation: sk-stretchdelay 1.2s infinite ease-in-out;
    }

    .spinner .rect2 {
        -webkit-animation-delay: -1.1s;
        animation-delay: -1.1s;
    }

    .spinner .rect3 {
        -webkit-animation-delay: -1.0s;
        animation-delay: -1.0s;
    }

    .spinner .rect4 {
        -webkit-animation-delay: -0.9s;
        animation-delay: -0.9s;
    }

    .spinner .rect5 {
        -webkit-animation-delay: -0.8s;
        animation-delay: -0.8s;
    }

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4);
    }

    20% {
        -webkit-transform: scaleY(1.0);
    }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}

.warn {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #000;
    z-index: 100;
}

    .warn .warning {
        z-index: 100;
        border-radius: 7px;
        border-width: 4px;
        border-style: solid;
        padding: 15px;
        position: fixed;
        -webkit-box-shadow: 0 2px 2px #ccc;
        -moz-box-shadow: 0 2px 2px #ccc;
        box-shadow: 0 2px 2px #ccc;
        top: 150px;
        max-width: 700px;
        background-color: #f5d532;
        border-color: #fec419;
    }

    .warn .title {
        font-size: 1.5em;
        padding: 5px 0;
    }

    .warn .message {
        font-size: 1.1em;
        line-height: 1.4em;
        padding: 15px 0;
    }

.lock {
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-color: Gray;
    z-index: 99;
    filter: alpha(opacity=70);
    opacity: 0.70;
}

.warn .lock {
    filter: alpha(opacity=10);
    opacity: 0.1;
}

.spinwait .lock {
    filter: alpha(opacity=5);
    opacity: 0.05;
}

.lockwait {
    position: fixed;
    top: 20px;
    background-color: #fff;
    width: 250px;
    z-index: 100;
    background-image: url(image/loading.gif);
    background-repeat: no-repeat;
    background-position: 5px center;
    padding: 12px 0 12px 45px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 2px solid #808080;
}

    .lockwait:lang(tr) {
        left: 20px;
    }

    .lockwait:lang(ar) {
        right: 20px;
    }
