.loading-principal {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 999;
    background-color: #3a3939;
    display: none;
    flex-direction: column;
    justify-content: center;
}

.loading-principal .container-mensagem-loading {
    max-width: 300px;
    margin: 0 auto;
    user-select: none;
    padding: 15px;
    font-size: 16px;
    text-align: center;
}

.loading-principal .mensagem-loading {
    padding-top: 30px;
    color: rgb(255, 255, 255);
    font-family: "Roboto";
    font-weight: bold;
    display: none;
}

.loading-principal .zoomIn {
    animation-name: zoomIn;
    animation-duration: 0.5s;
}

.loading-principal .fa-spinner {
    color: #ffffff;
    font-size: 50px;
}

.loading-principal .cancelar-loading {
    height: 35px;
    color: white;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    background: #e13838;
    font-family: "Roboto", "Helvetica Neue", sans-serif;
    display: none;
    width: 100%;
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}

.loading-principal .cancelar-loading:hover {
    background: #f53d3d;
}

#circularG {
    position: relative;
    width: 58px;
    height: 58px;
    margin: auto;
}

.circularG {
    position: absolute;
    background-color: rgb(235, 235, 235);
    width: 14px;
    height: 14px;
    border-radius: 9px;
    -o-border-radius: 9px;
    -ms-border-radius: 9px;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    animation-name: bounce_circularG;
    -o-animation-name: bounce_circularG;
    -ms-animation-name: bounce_circularG;
    -webkit-animation-name: bounce_circularG;
    -moz-animation-name: bounce_circularG;
    animation-duration: 0.908s;
    -o-animation-duration: 0.908s;
    -ms-animation-duration: 0.908s;
    -webkit-animation-duration: 0.908s;
    -moz-animation-duration: 0.908s;
    animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
    -ms-animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-direction: normal;
    -o-animation-direction: normal;
    -ms-animation-direction: normal;
    -webkit-animation-direction: normal;
    -moz-animation-direction: normal;
}

#circularG_1 {
    left: 0;
    top: 23px;
    animation-delay: 0.338s;
    -o-animation-delay: 0.338s;
    -ms-animation-delay: 0.338s;
    -webkit-animation-delay: 0.338s;
    -moz-animation-delay: 0.338s;
}

#circularG_2 {
    left: 6px;
    top: 6px;
    animation-delay: 0.454s;
    -o-animation-delay: 0.454s;
    -ms-animation-delay: 0.454s;
    -webkit-animation-delay: 0.454s;
    -moz-animation-delay: 0.454s;
}

#circularG_3 {
    top: 0;
    left: 23px;
    animation-delay: 0.57s;
    -o-animation-delay: 0.57s;
    -ms-animation-delay: 0.57s;
    -webkit-animation-delay: 0.57s;
    -moz-animation-delay: 0.57s;
}

#circularG_4 {
    right: 6px;
    top: 6px;
    animation-delay: 0.686s;
    -o-animation-delay: 0.686s;
    -ms-animation-delay: 0.686s;
    -webkit-animation-delay: 0.686s;
    -moz-animation-delay: 0.686s;
}

#circularG_5 {
    right: 0;
    top: 23px;
    animation-delay: 0.802s;
    -o-animation-delay: 0.802s;
    -ms-animation-delay: 0.802s;
    -webkit-animation-delay: 0.802s;
    -moz-animation-delay: 0.802s;
}

#circularG_6 {
    right: 6px;
    bottom: 6px;
    animation-delay: 0.908s;
    -o-animation-delay: 0.908s;
    -ms-animation-delay: 0.908s;
    -webkit-animation-delay: 0.908s;
    -moz-animation-delay: 0.908s;
}

#circularG_7 {
    left: 23px;
    bottom: 0;
    animation-delay: 1.024s;
    -o-animation-delay: 1.024s;
    -ms-animation-delay: 1.024s;
    -webkit-animation-delay: 1.024s;
    -moz-animation-delay: 1.024s;
}

#circularG_8 {
    left: 6px;
    bottom: 6px;
    animation-delay: 1.14s;
    -o-animation-delay: 1.14s;
    -ms-animation-delay: 1.14s;
    -webkit-animation-delay: 1.14s;
    -moz-animation-delay: 1.14s;
}

@keyframes bounce_circularG {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(.3);
    }
}

@-o-keyframes bounce_circularG {
    0% {
        -o-transform: scale(1);
    }

    100% {
        -o-transform: scale(.3);
    }
}

@-ms-keyframes bounce_circularG {
    0% {
        -ms-transform: scale(1);
    }

    100% {
        -ms-transform: scale(.3);
    }
}

@-webkit-keyframes bounce_circularG {
    0% {
        -webkit-transform: scale(1);
    }

    100% {
        -webkit-transform: scale(.3);
    }
}

@-moz-keyframes bounce_circularG {
    0% {
        -moz-transform: scale(1);
    }

    100% {
        -moz-transform: scale(.3);
    }
}


  .container-loader {
    width: 60px;
    margin: 0 auto;
  }

  .loader {
    width: 48px;
    height: 48px;
    display: inline-block;
    position: relative;
    transform: rotate(45deg);
  }

  .loader::before {
    content: '';
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 0;
    top: -24px;
    animation: primeira-animacao 4s ease infinite;
  }

  .loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    animation: segunda-animacao 2s ease infinite;
  }
  
  @keyframes primeira-animacao {
    0% {
      box-shadow: 0 24px rgba(255, 255, 255, 0), 24px 24px rgba(255, 255, 255, 0), 24px 48px rgba(255, 255, 255, 0), 0px 48px rgba(255, 255, 255, 0);
    }
  
    12% {
      box-shadow: 0 24px white, 24px 24px rgba(255, 255, 255, 0), 24px 48px rgba(255, 255, 255, 0), 0px 48px rgba(255, 255, 255, 0);
    }
  
    25% {
      box-shadow: 0 24px white, 24px 24px white, 24px 48px rgba(255, 255, 255, 0), 0px 48px rgba(255, 255, 255, 0);
    }
  
    37% {
      box-shadow: 0 24px white, 24px 24px white, 24px 48px white, 0px 48px rgba(255, 255, 255, 0);
    }
  
    50% {
      box-shadow: 0 24px white, 24px 24px white, 24px 48px white, 0px 48px white;
    }
  
    62% {
      box-shadow: 0 24px rgba(255, 255, 255, 0), 24px 24px white, 24px 48px white, 0px 48px white;
    }
  
    75% {
      box-shadow: 0 24px rgba(255, 255, 255, 0), 24px 24px rgba(255, 255, 255, 0), 24px 48px white, 0px 48px white;
    }
  
    87% {
      box-shadow: 0 24px rgba(255, 255, 255, 0), 24px 24px rgba(255, 255, 255, 0), 24px 48px rgba(255, 255, 255, 0), 0px 48px white;
    }
  
    100% {
      box-shadow: 0 24px rgba(255, 255, 255, 0), 24px 24px rgba(255, 255, 255, 0), 24px 48px rgba(255, 255, 255, 0), 0px 48px rgba(255, 255, 255, 0);
    }
  }
  
  @keyframes segunda-animacao {
    0% {
      transform: translate(0, 0) rotateX(0) rotateY(0);
    }
  
    25% {
      transform: translate(100%, 0) rotateX(0) rotateY(180deg);
    }
  
    50% {
      transform: translate(100%, 100%) rotateX(-180deg) rotateY(180deg);
    }
  
    75% {
      transform: translate(0, 100%) rotateX(-180deg) rotateY(360deg);
    }
  
    100% {
      transform: translate(0, 0) rotateX(0) rotateY(360deg);
    }
  }