/* DO NOT CHANGE FROM HERE ( unless u know what u are doing) */
.cropImgWrapper {
  cursor: -webkit-grab;
  cursor: grab;
}

.cropImgWrapper:active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.cropImgUpload {
  z-index: 2;
  position: absolute;
  height: 28px;
  display: block;
  top: -30px;
  right: -2px;
  font-family: sans-serif;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  color: #FFF;
}

.cropControls {
  z-index: 2;
  position: relative;
  height: 30px;
  display: block;
  /* top: -31px; */
  top: -1px;
  right: -1px;
  font-family: sans-serif;
  background-color: rgba(0,0,0,0.35);
}

.cropControls i {
  display: block;
  float: left;
  margin: 0;
  cursor: pointer;
/*  background-image: url('../images/cropperIcons.png');*/
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 20px;
  color: #FFF;
  font-size: 13px;
  font-weight: bold;
  font-style: normal;
}

.cropControls i:hover { background-color: rgba(0,0,0,0.7); }
/*.cropControls i.cropControlZoomMuchIn { background-position: 0px 0px; }
.cropControls i.cropControlZoomIn { background-position: -30px 0px; }
.cropControls i.cropControlZoomOut { background-position: -60px 0px; }
.cropControls i.cropControlZoomMuchOut { background-position: -90px 0px; }
.cropControls i.cropControlRotateLeft { background-position: -210px 0px; }
.cropControls i.cropControlRotateRight { background-position: -240px 0px; }
.cropControls i.cropControlCrop { background-position: -120px 0px; }
.cropControls i.cropControlUpload { background-position: -150px 0px; }
.cropControls i.cropControlReset { background-position:-180px 0px; }
.cropControls i.cropControlRemoveCroppedImage { background-position: -180px 0px; }*/
.cropControls i:last-child { margin-right: none; }

#croppicModal {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: block;
  background: rgba(0,0,0,0.8);
  z-index: 10000;
}

/*
*  PRELOADER
*  With courtesy of : http://cssload.net/
*/

.bubblingG {
  text-align: center;
  width: 80px;
  height: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -18px auto auto -40px;
  z-index: 2;
}

.bubblingG span {
  display: inline-block;
  vertical-align: middle;
  width: 10px;
  height: 10px;
  margin: 25px auto;
  background: #FFF;
  box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
  -moz-border-radius: 50px;
  -moz-animation: bubblingG 1s infinite alternate;
  -webkit-border-radius: 50px;
  -webkit-animation: bubblingG 1s infinite alternate;
  -ms-border-radius: 50px;
  -ms-animation: bubblingG 1s infinite alternate;
  -o-border-radius: 50px;
  -o-animation: bubblingG 1s infinite alternate;
  border-radius: 50px;
  animation: bubblingG 1s infinite alternate;
}

#bubblingG_1 {
  -moz-animation-delay: 0s;
  -webkit-animation-delay: 0s;
  -ms-animation-delay: 0s;
  -o-animation-delay: 0s;
  animation-delay: 0s;
}

#bubblingG_2 {
  -moz-animation-delay: 0.3s;
  -webkit-animation-delay: 0.3s;
  -ms-animation-delay: 0.3s;
  -o-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

#bubblingG_3 {
  -moz-animation-delay: 0.6s;
  -webkit-animation-delay: 0.6s;
  -ms-animation-delay: 0.6s;
  -o-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

@-moz-keyframes bubblingG {
  0% {
    width: 10px;
    height: 10px;
    background-color: #FFF;
    -moz-transform: translateY(0);
  }

  100% {
    width: 24px;
    height: 24px;
    background-color: #FFF;
    -moz-transform: translateY(-21px);
  }
}

@-webkit-keyframes bubblingG {
  0% {
    width: 10px;
    height: 10px;
    background-color: #FFF;
    -webkit-transform: translateY(0);
  }

  100% {
    width: 24px;
    height: 24px;
    background-color: #FFF;
    -webkit-transform: translateY(-21px);
  }
}

@-ms-keyframes bubblingG {
  0% {
    width: 10px;
    height: 10px;
    background-color: #FFF;
    -ms-transform: translateY(0);
  }

  100% {
    width: 24px;
    height: 24px;
    background-color: #FFF;
    -ms-transform: translateY(-21px);
  }
}

@-o-keyframes bubblingG {
  0% {
    width: 10px;
    height: 10px;
    background-color: #FFF;
    -o-transform: translateY(0);
  }

  100% {
    width: 24px;
    height: 24px;
    background-color: #FFF;
    -o-transform: translateY(-21px);
  }
}

@keyframes bubblingG {
  0% {
    width: 10px;
    height: 10px;
    background-color: #FFF;
    transform: translateY(0);
  }

  100% {
    width: 24px;
    height: 24px;
    background-color: #FFF;
    transform: translateY(-21px);
  }
}

/* some reset stlyes */

.cropImgWrapper {
  z-index: 1 !important;
  position: absolute !important;
  top: -3px !important;
  right: -2px !important;
}

.cropControls {
  width: 90px !important;
  height: 18px;
  top: 0px;
  right: 0px;
  background-color: rgba(0,0,0,0.075);
}

.cropControls i {
  width: 18px;
  height: 18px;
  line-height: 18px;
  font-size: 14px;
  font-weight: normal;
}

.cropControls i.cropControlZoomMuchIn:before { content:"\e081"; font-family:"Glyphicons Halflings"; }
.cropControls i.cropControlZoomIn:before { content:"\e015"; font-family:"Glyphicons Halflings"; }
.cropControls i.cropControlZoomOut:before { content:"\e016"; font-family:"Glyphicons Halflings"; }
.cropControls i.cropControlZoomMuchOut:before { content:"\e082"; font-family:"Glyphicons Halflings"; }
.cropControls i.cropControlRotateLeft:before { content:"\e030"; font-family:"Glyphicons Halflings"; display: inline-block; transform: scale(1, -1) rotate(105deg); }
.cropControls i.cropControlRotateRight:before { content:"\e030"; font-family:"Glyphicons Halflings"; display: inline-block; transform: rotate(-75deg); }
.cropControls i.cropControlCrop:before { content:"\e226"; font-family:"Glyphicons Halflings"; color: #5cb85c; }
.cropControls i.cropControlUpload:before { content:"\e027"; font-family:"Glyphicons Halflings"; color: #5cb85c; }
.cropControls i.cropControlReset:before { content:"\e014"; font-family:"Glyphicons Halflings"; color: #d9534f; }
.cropControls i.cropControlRemoveCroppedImage:before { content:"\e014"; font-family:"Glyphicons Halflings"; color: #d9534f; }

.cropControlsUpload { text-align: right !important; z-index: 3 !important; position: absolute; top: -3px; right: -2px; }
.cropControlsCrop { z-index: 3 !important; position: absolute; top: -3px; right: -2px; }
.cropControlsUpload i, .cropControlsCrop i { float: none !important; display: inline-block !important; }
