﻿
/*code by me*/
.loading {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: #000;
-webkit-animation: fadeIn 6s linear forwards;
-moz-animation: fadeIn 6s linear forwards;
-o-animation: fadeIn 6s linear forwards;
-ms-animation: fadeIn 6s linear forwards;
animation: fadeIn 6s linear forwards;
}
.bar {
font-size: 20px;
width: 10em;
height: 1em;
position: relative;
margin: 200px auto;
border-radius: .5em;
background: rgba(255,255,255,0.6);
box-shadow:
0 0 0 .05em rgba(100,100,100,0.075),
0 0 0 .25em rgb(255, 255, 255),
inset 0 .1em .05em rgba(0,0,0,0.1),
0 .05em rgba(255,255,255,0.7);
}
.bar:after {
content: "Loading....";
position: absolute;
left: 25%;
top: 150%;
font-family: 'Century gothic',Carrois Gothic, sans-serif;
font-size: 1em;
color: #ddd;
}
.bar .sphere {
border-radius: 50%;
width: 1em;
height: 100%;
background: -webkit-linear-gradient(#eee, #ddd);
background: -moz-linear-gradient(#eee, #ddd);
background: -ms-linear-gradient(#eee, #ddd);
background: -o-linear-gradient(#eee, #ddd);
background: linear-gradient(#eee, #ddd);
box-shadow:
inset 0 .15em .1em rgba(255,255,255,0.3),
inset 0 -.1em .15em rgba(0,0,0,0.15),
0 0 .25em rgba(0,0,0,0.3);
display: block;
-webkit-animation: slide 1.75s ease-in-out infinite alternate;
-moz-animation: slide 1.75s ease-in-out infinite alternate;
-ms-animation: slide 1.75s ease-in-out infinite alternate;
-o-animation: slide 1.75s ease-in-out infinite alternate;
animation: slide 1.75s ease-in-out infinite alternate;
}
/*loading*/
@-webkit-keyframes fadeIn { from { opacity:1; z-index:999999999999;} to { opacity:0; z-index:-999999999999;} }
@-moz-keyframes fadeIn { from { opacity:1; z-index:999999999999;} to { opacity:0; z-index:-999999999999} }
@-o-keyframes fadeIn { from { opacity:1; z-index:999999999999;} to { opacity:0;z-index:-999999999999} }
@-ms-keyframes fadeIn { from { opacity:1; z-index:999999999999;} to { opacity:0;z-index:-999999999999} }
@keyframes fadeIn { from { opacity:1; z-index:999999999999;} to { opacity:0;z-index:-999999999999} }
@-webkit-keyframes slide {
to { margin-left: 90%; }
}
@-moz-keyframes slide {
to { margin-left: 90%; }
}
@-ms-keyframes slide {
to { margin-left: 90%; }
}
@-o-keyframes slide {
to { margin-left: 90%; }
}
@keyframes slide {
to { margin-left: 90%; }
}
}
.element {
position: fixed;
bottom: 20px;
right: 10px;
color: rgb(242, 234, 245);
font: normal 15px/20px "Century Gothic", "Apple Gothic", "Trebuchet MS", Geneva, Arial, sans-serif;
}
/* loading animation by tympanus */
.loading3 {
    border-radius: 50%;
    height: 100px;
    line-height: 100px;
    position: relative;
    text-align: center;
    width: 100px;
}
.loading3 > div:nth-child(2), .loading3 > div:nth-child(3) {
    background-color: rgba(0, 0, 0, 0.2);
    border: 5px solid #FFF;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -moz-box-shadow: 0 0 10px 0 white;
    -webkit-box-shadow: 0 0 10px 0 white;
    box-shadow: 0 0 10px 0 white;
    height: 100px;
    position: absolute;
    top: 0;

    /* set top and bottom border widths to 0 */
    border-top-width: 0;
    border-bottom-width: 0;

    /* css3 animation */
    -webkit-animation: anim3 2s linear infinite;
    -moz-animation: anim3 2s linear infinite;
    -ms-animation: anim3 2s linear infinite;
    -o-animation: anim3 2s linear infinite;
    animation: anim3 2s linear infinite;
}
.loading3 > div:nth-child(2) {
    border-color: red;
    left: 0px;
    width: 90px;
}
.loading3 >div:nth-child(3) {
    border-color: red;
    left: -5px;
    width: 100px;

    /* css3 delay */
    -webkit-animation-delay:0.5s;
    -moz-animation-delay:0.5s;
    -ms-animation-delay:0.5s;
    -o-animation-delay:0.5s;
    animation-delay:0.5s;
}

/* css3 keyframes - animation 3 */
@-webkit-keyframes anim3 {
    from { -webkit-transform: rotateY(0deg); }
    50% { -webkit-transform: rotateY(180deg); }
    to { -webkit-transform: rotateY(360deg); }
}
@-moz-keyframes anim3 {
    from { -moz-transform: rotateY(0deg); }
    50% { -moz-transform: rotateY(180deg); }
    to { -moz-transform: rotateY(360deg); }
}
@-ms-keyframes anim3 {
    from { -ms-transform: rotateY(0deg); }
    50% { -ms-transform: rotateY(180deg); }
    to { -ms-transform: rotateY(360deg); }
}
@-o-keyframes anim3 {
    from { -o-transform: rotateY(0deg); }
    50% { -o-transform: rotateY(180deg); }
    to { -o-transform: rotateY(360deg); }
}
@keyframes anim3 {
    from { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
    to { transform: rotateY(360deg); }
}

