/*Buttons*/
button.button {
  font-weight: 400;
  font-size: 12px;
  padding: 0 15px 0 50px;
  border: 1px solid #333;
  color: black;
  height: 35px;
  background-color: white;
  cursor: hand; cursor: pointer;
  position: relative;
  text-align: center;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  text-transform: uppercase;
  transition: all .5s;
}
button.button.no-icon {
  padding-left: 15px;
}
button.button.small {
  font-weight: 400;
  font-size: 10px;
  padding: 0 15px 0 40px;
  height: 30px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

button.button:hover .icon {
  background-color: green;
}
button div.icon {
  z-index: 2;
  position: absolute;
  left:0;
  top: 0;
  background-color: #333;
  color: white;
  width:35px;
  height: 100%;
  transition: all .3s;
}
button.no-icon div.icon {
  display: none;
}
button.green div.icon {
  background-color: darkgreen;
}
button.small div.icon {
  width:25px;
}
button div.icon i {
  font-size: 16px;
  line-height: 35px;
  opacity: 1;
  transition: opacity .3s;
}
button.loading div.icon i {
  opacity: 0;
}
button.small div.icon i {
  font-size: 14px;
  line-height: 28px;
}
button.disabled {
  opacity: .5;
  cursor: default;
}
button.button p {
  font-family: 'Source Sans Pro', sans-serif; 
  font-weight: 400;
  font-size: 12px;
}


/*ANIMATION*/
button.button div.loader {
  opacity: 0;
  width:30px;
  text-align: center;
  position: absolute;
  left: 3px;
  top: 10px;
  z-index: 3;
  transition: all .3s;
}
button.button.loading div.loader {
  opacity: 1;
}

button.button.loading div.loader > div {
  width: 7px;
  height: 7px;
  background-color: white;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

button.button.loading div.loader .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

button.button.loading div.loader .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% { 
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% { 
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}