/* buttons.css
 * ================ */

/* base button class */
.btn, input.edit-submit {
  display: inline-block;
  *display: inline;
  padding: 5px 12px;
  margin-bottom: 0;
  *margin-left: .3em;
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
  color: #222;
  text-align: center;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  vertical-align: middle;
  cursor: pointer;
  background-color: #f5f5f5;
  *background-color: #e6e6e6;
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  border: 1px solid #ccc;
  *border: 0;
  border-color: #aaa #aaa #999;
  border-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.5);
  border-bottom-color: #ababab;
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          border-radius: 5px;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  *zoom: 1;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* we need to define :link state b/c of poor decisions elsewhere (;_;) */
.btn:link,
.btn:visited {
  color: #222;
}

.btn:hover,
.btn:focus,
.btn:active {
  color: #222;
  background-color: #e6e6e6;
  *background-color: #d9d9d9;
  text-decoration: none;
}

.btn:active,
.btn.active {
  background-color: #ccc \9;
}

.btn:first-child {
  *margin-left: 0;
}

.btn:hover,
.btn:focus {
  color: #333333;
  text-decoration: none;
  background-position: 0 -15px;
  -webkit-transition: background-position 0.1s linear;
     -moz-transition: background-position 0.1s linear;
       -o-transition: background-position 0.1s linear;
          transition: background-position 0.1s linear;
}

.btn:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.btn.disabled {
  cursor: default;
  background-color: #f5f5f5;
  background-image: none;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
}


/* Other button styles */

.btn-compare {
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
  background-color: #802141;
  background-image: -moz-linear-gradient(top, #802141, #5a172e);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#802141), to(#5a172e));
  background-image: -webkit-linear-gradient(top, #802141, #5a172e);
  background-image: -o-linear-gradient(top, #802141, #5a172e);
  background-image: linear-gradient(to bottom, #802141, #5a172e); 
}

.btn-compare:link {
  color: #fff;
}

.btn-compare:visited {
  color: #fff;
}

.btn-compare:hover,
.btn-compare:focus,
.btn-compare:active {
  color: #fff;
  background-color: #5a172e;
  *background-color: #5a172e;
}

.btn-compare:active {
  background-color: #5a172e \9;
}

/* Button sizes */
.btn-small {
  padding: 4px 8px;
  font-size: 12px;
  line-height: 16px;
}

/* Some button utility classes  */

.btn-block {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  -webkit-box-sizing: border-box;
     -mox-box-sizing: border-box;
          box-sizing: border-box;
}

.btn-rounded {
  -webkit-border-radius: 20px;
     -moz-border-radius: 20px;
          border-radius: 20px;
}

.btn + .btn {
  margin-left: 5px;
}

/* align sprite icons inside buttons */
.btn .sprite {
  position: relative;
  top: -2px;
}

