.frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  margin-top: -200px;
  margin-left: -200px;
  border-radius: 2px;
  -webkit-box-shadow: 1px 2px 10px 0px rgba(0, 0, 0, 0.3);
          box-shadow: 1px 2px 10px 0px rgba(0, 0, 0, 0.3);
  color: #fff;
  font-family: 'Open Sans', Helvetica, sans-serif;
  background: #3A92AF;
  background: -webkit-gradient(linear, left bottom, right top, from(#3A92AF), to(#5CA05A));
  background: -webkit-linear-gradient(bottom left, #3A92AF 0%, #5CA05A 100%);
  background: -o-linear-gradient(bottom left, #3A92AF 0%, #5CA05A 100%);
  background: linear-gradient(to top right, #3A92AF 0%, #5CA05A 100%);
}

.center {
  position: absolute;
  width: 300px;
  height: 260px;
  top: 70px;
  left: 50px;
  background: #fff;
  -webkit-box-shadow: 8px 10px 15px 0 rgba(0, 0, 0, 0.2);
          box-shadow: 8px 10px 15px 0 rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.title {
  font-size: 16px;
  color: #676767;
  height: 50px;
  text-align: center;
  line-height: 50px;
  border-bottom: 1px solid #D8D8D8;
}

.dropzone {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: table;
  table-layout: fixed;
  position: absolute;
  top: 86px;
  left: 100px;
  width: 100px;
  height: 80px;
  text-align: center;
  border: 1px dashed #A4A4A4;
  border-radius: 3px;
}

.dropzone.is-dragover {
  border-color: #666;
  background: #eee;
}

.dropzone .content {
  display: table-cell;
  vertical-align: middle;
}

.dropzone img.upload {
  margin: 6px 0 0 2px;
}

.dropzone .filename {
  display: block;
  color: #676767;
  font-size: 14px;
  line-height: 18px;
}

.dropzone .input {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

img.syncing {
  position: absolute;
  top: 109px;
  left: 134px;
  opacity: 0;
}

img.syncing.active {
  -webkit-animation: syncing 3.2s ease-in-out;
          animation: syncing 3.2s ease-in-out;
}

img.done {
  position: absolute;
  top: 112px;
  left: 132px;
  opacity: 0;
}

img.done.active {
  -webkit-animation: done .5s ease-in 3.2s;
          animation: done .5s ease-in 3.2s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}

.upload-btn {
  position: absolute;
  width: 140px;
  height: 40px;
  line-height: 40px;
  left: 80px;
  bottom: 24px;
  border-radius: 3px;
  background: #6ECE3B;
  text-align: center;
  font-size: 14px;
  -webkit-box-shadow: 1px 2px 10px 0px #498C25;
          box-shadow: 1px 2px 10px 0px #498C25;
  cursor: pointer;
}

.upload-btn:hover {
  background: #498C25;
}

.bar {
  position: absolute;
  z-index: 1;
  width: 300px;
  height: 3px;
  top: 49px;
  left: 0;
  background: #6ECE3B;
  -webkit-transition: all 3s ease-out;
  -o-transition: all 3s ease-out;
  transition: all 3s ease-out;
  -webkit-transform: scaleX(0);
          -ms-transform: scaleX(0);
      transform: scaleX(0);
  -webkit-transform-origin: 0 0;
          -ms-transform-origin: 0 0;
      transform-origin: 0 0;
}

.bar.active {
  -webkit-transform: scaleX(1) translate3d(0, 0, 0);
          transform: scaleX(1) translate3d(0, 0, 0);
}

@-webkit-keyframes syncing {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
    opacity: 0;
  }
}

@keyframes syncing {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
    opacity: 0;
  }
}

@-webkit-keyframes done {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes done {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}