.loading {
  display: table;
  position: absolute;
  z-index: 500;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.7); }
  .loading.fade {
    transition: opacity 0.5s linear;
    -webkit-transition: opacity 0.5s linear; }
  .loading > * {
    display: table-cell;
    vertical-align: middle;
    text-align: center; }
  .loading .text {
    width: 100%;
    height: 24px;
    line-height: 24px;
    font-size: 18px;
    margin-top: 12px;
    color: #CFC; }
  .loading .spinner {
    display: inline-block;
    position: relative;
    width: 100px;
    height: 100px; }
  .loading .circle {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0; }
  .loading .circle:before {
    content: '';
    display: block;
    margin: 0 auto;
    width: 12%;
    height: 16%;
    background-color: #CFC;
    border-radius: 100%;
    -webkit-animation: bouncedelay 1.2s infinite ease-in-out;
    animation: bouncedelay 1.2s infinite ease-in-out;
    /* Prevent first frame from flickering when animation starts */
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both; }
  .loading .circle-2 {
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg); }
  .loading .circle-3 {
    -webkit-transform: rotate(60deg);
    transform: rotate(60deg); }
  .loading .circle-4 {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg); }
  .loading .circle-5 {
    -webkit-transform: rotate(120deg);
    transform: rotate(120deg); }
  .loading .circle-6 {
    -webkit-transform: rotate(150deg);
    transform: rotate(150deg); }
  .loading .circle-7 {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg); }
  .loading .circle-8 {
    -webkit-transform: rotate(210deg);
    transform: rotate(210deg); }
  .loading .circle-9 {
    -webkit-transform: rotate(240deg);
    transform: rotate(240deg); }
  .loading .circle-10 {
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg); }
  .loading .circle-11 {
    -webkit-transform: rotate(300deg);
    transform: rotate(300deg); }
  .loading .circle-12 {
    -webkit-transform: rotate(330deg);
    transform: rotate(330deg); }
  .loading .circle-2:before {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s; }
  .loading .circle-3:before {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1s; }
  .loading .circle-4:before {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s; }
  .loading .circle-5:before {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s; }
  .loading .circle-6:before {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s; }
  .loading .circle-7:before {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s; }
  .loading .circle-8:before {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s; }
  .loading .circle-9:before {
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s; }
  .loading .circle-10:before {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s; }
  .loading .circle-11:before {
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s; }
  .loading .circle-12:before {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s; }

@-webkit-keyframes bouncedelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0); }
  40% {
    -webkit-transform: scale(1); } }
@keyframes bouncedelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
    transform: scale(0); }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1); } }
