.wait  {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index:9999;
    width: 100%;
    height: 100%;
    min-height: 900px;
    vertical-align: middle;
    display: none;
}

.wait .wait_txt {
    position: absolute;
	top: 31%;
	left: 20%;
	font-weight: bold;
	font-size: 40px;
	background: #f6f6f6;
	padding: 10px;
	border: 1px solid #252525;
	color: #252525;
	display: none;
}

#spinner.wait_info {
    display: block;
}

#spinner {
    display: none;
    position: absolute;
    height: 60px;
    width: 60px;
    top: 40%;
    left: 48%;
    z-index: 1;
}

.spinner_ball {
    position: absolute;
    display: block;
    background-color: #0086C0;
    left: 24px;
    width: 12px;
    height: 12px;
    border-radius: 6px;
}
#ball_1 {
    animation-timing-function: cubic-bezier(0.5, 0.3, 0.9, 0.9);
    animation-name: rotate;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    transform-origin: 6px 30px;

    -webkit-animation-timing-function: cubic-bezier(0.5, 0.3, 0.9, 0.9);
    -webkit-animation-name: rotate;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-transform-origin: 6px 30px;

    -moz-animation-timing-function: cubic-bezier(0.5, 0.3, 0.9, 0.9);
    -moz-animation-name: rotate;
    -moz-animation-duration: 2s;
    -moz-animation-iteration-count: infinite;
    -moz-transform-origin: 6px 30px;

    -o-animation-timing-function: cubic-bezier(0.5, 0.3, 0.9, 0.9);
    -o-animation-name: rotate;
    -o-animation-duration: 2s;
    -o-animation-iteration-count: infinite;
    -o-transform-origin: 6px 30px;

    -ms-animation-timing-function: cubic-bezier(0.5, 0.3, 0.9, 0.9);
    -ms-animation-name: rotate;
    -ms-animation-duration: 2s;
    -ms-animation-iteration-count: infinite;
    -ms-transform-origin: 6px 30px;
}

#ball_2 {
    animation-timing-function: cubic-bezier(0.5, 0.5, 0.9, 0.9);
    animation-name: rotate;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    transform-origin: 6px 30px;

    -webkit-animation-timing-function: cubic-bezier(0.5, 0.5, 0.9, 0.9);
    -webkit-animation-name: rotate;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-transform-origin: 6px 30px;

    -moz-animation-timing-function: cubic-bezier(0.5, 0.5, 0.9, 0.9);
    -moz-animation-name: rotate;
    -moz-animation-duration: 2s;
    -moz-animation-iteration-count: infinite;
    -moz-transform-origin: 6px 30px;

    -o-animation-timing-function: cubic-bezier(0.5, 0.5, 0.9, 0.9);
    -o-animation-name: rotate;
    -o-animation-duration: 2s;
    -o-animation-iteration-count: infinite;
    -o-transform-origin: 6px 30px;

    -ms-animation-timing-function: cubic-bezier(0.5, 0.5, 0.9, 0.9);
    -ms-animation-name: rotate;
    -ms-animation-duration: 2s;
    -ms-animation-iteration-count: infinite;
    -ms-transform-origin: 6px 30px;
}

#ball_3 {
    animation-timing-function: cubic-bezier(0.5, 0.7, 0.9, 0.9);
    animation-name: rotate;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    transform-origin: 6px 30px;

    -webkit-animation-timing-function: cubic-bezier(0.5, 0.7, 0.9, 0.9);
    -webkit-animation-name: rotate;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-transform-origin: 6px 30px;

    -moz-animation-timing-function: cubic-bezier(0.5, 0.7, 0.9, 0.9);
    -moz-animation-name: rotate;
    -moz-animation-duration: 2s;
    -moz-animation-iteration-count: infinite;
    -moz-transform-origin: 6px 30px;

    -o-animation-timing-function: cubic-bezier(0.5, 0.7, 0.9, 0.9);
    -o-animation-name: rotate;
    -o-animation-duration: 2s;
    -o-animation-iteration-count: infinite;
    -o-transform-origin: 6px 30px;

    -ms-animation-timing-function: cubic-bezier(0.5, 0.7, 0.9, 0.9);
    -ms-animation-name: rotate;
    -ms-animation-duration: 2s;
    -ms-animation-iteration-count: infinite;
    -ms-transform-origin: 6px 30px;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg) scale(1);

  }
  100% {
    transform: rotate(1440deg) scale(1);

  }
}

@-webkit-keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg) scale(1);

  }
  100% {
    -webkit-transform: rotate(1440deg) scale(1);

  }
}

@-moz-keyframes rotate {
  0% {

    -moz-transform: rotate(0deg) scale(1);

  }
  100% {

    -moz-transform: rotate(1440deg) scale(1);

  }
}

@-o-keyframes rotate {
  0% {

    -o-transform: rotate(0deg) scale(1);
  }
  100% {

    -o-transform: rotate(1440deg) scale(1);
  }
}

@-ms-keyframes rotate {
  0% {

    -ms-transform: rotate(0deg) scale(1);
  }
  100% {

    -ms-transform: rotate(1440deg) scale(1);
  }
}