﻿#wait-loading {
    z-index: 99999999;
    display: block;
}

.wait-body {
    top: 50%;
    left: 50%;
    margin-left: -125px;
    margin-top: -115px;
    position: fixed;
    width: 250px;
    z-index: 99999999;
    display: block;
}

.wait-back {
    z-index: 99999999;
    display: block;
    top: 0;
    left: 0;
    position: fixed;
    background-color: #FFF;
    opacity: 0.8;
    width: 100%;
    height: 100%;
}

.wait-loading-ajax {
    z-index: 99999999;
    display: block;
}

.wait-loading-ajax .wait-body {
    top: 25%;
    left: 50%;
    /*margin-left: 0!important;*/
    margin-top: 0!important;
    position: absolute;
    width: 250px;
    z-index: 99999999;
    display: block;
}

.wait-loading-ajax .wait-back {
    z-index: 99999999;
    display: block;
    top: 0;
    left: 0;
    position: absolute;
    background-color: #fafafa;
    opacity: 0.9;
    width: 100%;
    height: 100%;
}

/* outro */
.spinner {
    margin: 10px auto;
    width: 40px;
    height: 40px;
    position: relative;
    text-align: center;
    -webkit-animation: sk-rotate 2.0s infinite linear;
    animation: sk-rotate 2.0s infinite linear;
}

.dot1, .dot2 {
    width: 60%;
    height: 60%;
    display: inline-block;
    position: absolute;
    top: 0;
    background-color: #ec8515;
    border-radius: 100%;
    -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

.dot2 {
    top: auto;
    bottom: 0;
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

@-webkit-keyframes sk-rotate {
    100% {
        -webkit-transform: rotate(360deg)
    }
}

@keyframes sk-rotate {
    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg)
    }
}

@-webkit-keyframes sk-bounce {
    0%, 100% {
        -webkit-transform: scale(0.0)
    }

    50% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bounce {
    0%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }

    50% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}


/** novo **/

.lds-ripple {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}

.lds-ripple div {
  position: absolute;
  border: 4px solid #4C2582;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}

@keyframes lds-ripple {
  0% {
    top: 28px;
    left: 28px;
    width: 0;
    height: 0;
    opacity: 1;
  }

  100% {
    top: -1px;
    left: -1px;
    width: 58px;
    height: 58px;
    opacity: 0;
  }
}

.wait-div {
    background-color: #FFF;
    opacity: 0.8;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 20%;
    z-index: 999;    
    border-radius: inherit;
}