#spinner2 {
  display: none;
}
.loading2 {
  position: fixed;
  z-index: 999;
  height: 300px;
  width:  300px;
  overflow: show;
  margin: auto;
  top: -300px;
  left: 0;
  bottom: 0;
  right: 0;
}
.loading2:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));
  background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
}
.gif-spinner2 {
z-index: 1031;
position: absolute;
display: table-cell;
width: 300px;
height: 250px;
}