.loader-container-wrapper {
  position: absolute;
  top: 38%;
  left: 40%;
}

.loader-container {
  position: relative;
  overflow: hidden;
}

.loader-outer-mask {
  -moz-box-shadow:    inset 0 0 5px rgba(250,195,100,0.3);
  -webkit-box-shadow: inset 0 0 5px rgba(250,195,100,0.3);
  box-shadow:         inset 0 0 5px rgba(250,195,100,0.3);
  position:absolute;
  z-index: 6;
}

.loader-inner-mask {
  background-color: white;
  position:absolute;
  -moz-box-shadow:    0 0 5px rgba(250,195,100,0.3);
  -webkit-box-shadow: 0 0 5px rgba(250,195,100,0.3);
  box-shadow:         0 0 5px rgba(250,195,100,0.3);
  z-index: 6;
}

.loader-gradient {
  position: absolute;
  z-index: 4;
}

.loader-gradient {
  background: #ffffff; /* Old browsers */
  background: -webkit-linear-gradient(#ffffff 15%, #f9c366 96%, #ffaf4f 100%);
  background: -moz-linear-gradient(#ffffff 15%, #f9c366 96%, #ffaf4f 100%);
  background: -o-linear-gradient(#ffffff 15%, #f9c366 96%, #ffaf4f 100%);
  background: linear-gradient(#ffffff 15%, #f9c366 96%, #ffaf4f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffaf4f',GradientType=0 );
}


.loader-gradient {
  -webkit-animation: rotate 950ms cubic-bezier(0.350, 0.150, 0.395, 0.535) 0s infinite;
  -moz-animation:    rotate 950ms cubic-bezier(0.350, 0.150, 0.395, 0.535) 0s infinite;
  -o-animation:      rotate 950ms cubic-bezier(0.350, 0.150, 0.395, 0.535) 0s infinite;
  animation:         rotate 950ms cubic-bezier(0.350, 0.150, 0.395, 0.535) 0s infinite;
}

.loader-gradient-whiteout {
  background-color: white;
}

@-webkit-keyframes rotate {
  from   {
    -webkit-transform: rotate( 0 );
    transform: rotate( 0 );
  }
  to   {
    -webkit-transform: rotate( 360deg );
    transform: rotate( 360deg );
  }
}
@-moz-keyframes rotate {
  from   {
    -moz-transform: rotate( 0 );
    transform: rotate( 0 );
  }
  to   {
    -moz-transform: rotate( 360deg );
    transform: rotate( 360deg );
  }
}
@-o-keyframes rotate {
  from   {
    -o-transform: rotate( 0 );
    transform: rotate( 0 );
  }
  to   {
    -o-transform: rotate( 360deg );
    transform: rotate( 360deg );
  }
}
@keyframes rotate {
  from   {
    -webkit-transform: rotate( 0 );
    -moz-transform: rotate( 0 );
    -o-transform: rotate( 0 );
    -ms-transform: rotate( 0 );
    transform: rotate( 0 );
  }
  to   {
    -webkit-transform: rotate( 360deg );
    -moz-transform: rotate( 360deg );
    -o-transform: rotate( 360deg );
    -ms-transform: rotate( 360deg );
    transform: rotate( 360deg );
  }
}

/* X-Small Loader */
.loader-xsmall {
  width:20px;
  height:20px;
  border-radius:10px;
}

.loader-xsmall .loader-outer-mask {
  width:20px;
  height:20px;
  border-radius:10px;
}

.loader-xsmall .loader-inner-mask {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  top: 4px;
  left: 4px;
}

.loader-xsmall .loader-gradient {
  width: 20px;
  height: 20px;
  border-radius: 10px;
}

.loader-xsmall .loader-gradient-whiteout {
  height: 10px;
  width: 10px;
}


/* Small Loader */
.loader-small {
  width:40px;
  height:40px;
  border-radius:20px;
}

.loader-small .loader-outer-mask {
  width:40px;
  height:40px;
  border-radius:20px;
}

.loader-small .loader-inner-mask {
  width: 26px;
  height: 26px;
  border-radius: 13px;
  top: 7px;
  left: 7px;
}

.loader-small .loader-gradient {
  width: 40px;
  height: 40px;
  border-radius: 20px;
}

.loader-small .loader-gradient-whiteout {
  height: 20px;
  width: 20px;
}

/* Medium Loader */
.loader-medium {
  width:60px;
  height:60px;
  border-radius:30px;
}

.loader-medium .loader-outer-mask {
  width:60px;
  height:60px;
  border-radius:30px;
}

.loader-medium .loader-inner-mask {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  top: 8px;
  left: 8px;
}

.loader-medium .loader-gradient {
  width: 60px;
  height: 60px;
  border-radius: 30px;
}

.loader-medium .loader-gradient-whiteout {
  height: 30px;
  width: 30px;
}

/* Large Loader */
.loader-large {
  width:80px;
  height:80px;
  border-radius:40px;
}

.loader-large .loader-outer-mask {
  width:80px;
  height:80px;
  border-radius:40px;
}

.loader-large .loader-inner-mask {
  width: 60px;
  height: 60px;
  border-radius: 30px;
  top: 10px;
  left: 10px;
}

.loader-large .loader-gradient {
  width: 80px;
  height: 80px;
  border-radius: 40px;
}

.loader-large .loader-gradient-whiteout {
  height: 40px;
  width: 40px;
}