/* @group Buttons */
/* Abstracted from the OneHub who abstracted it from Wufoo */
/* http://particletree.com/features/rediscovering-the-button-element/ */

.buttons {
  overflow: hidden; /* Float clearing for good browsers */
  font-size: 1em;
}
.buttons a.button, .buttons button {
  display: block;
  float: left;
  background: #d4d4d4;
  margin: 0 9px 0 0;
  border: 1px solid #b4b4b4;
  border-top: 1px solid #d4d4d4;
  border-left: 1px solid #d4d4d4;
  font-family: 'Lucida Grande', Lucida, Verdana, sans-serif;
  font-size: 100%;
  font-weight: bold;
  text-decoration: none;
  color: #646464;
  cursor: pointer;
  padding: 5px 10px 6px 7px; /* Links */
  white-space: nowrap;
}
.buttons object { /* Force inline Flash objects to act like a button */
  display: block;
  float: left;
  margin: 0 9px 0 0;
  cursor: pointer;
}
.buttons button {
  width: auto;
  overflow: visible;
  padding: 4px 10px 3px 7px; /* IE6 */
}
.buttons button[type] {
  padding: 5px 10px 5px 7px; /* Firefox */
  line-height: 18px; /* Safari */
}
*:first-child+html button[type] {
  padding: 4px 10px 3px 7px; /* IE7 */
}
.buttons button img, .buttons a img {
  margin: 0 3px -3px 0 !important;
  padding: 0;
  border: none;
  width: 16px;
  height: 16px;
}

/* Tweaks */

/* Safari */
.buttons button, .buttons a.button {
  -webkit-border-radius: 6px;
}

/* Firefox 3 */
.buttons a.button, .buttons button, x:-moz-any-link, x:default {
  -moz-border-radius: 6px;
}

/* Prevent buttons from being blown out when placed inside of block elements other than forms */
p .buttons, ul .buttons, ol .buttons {
  font-size: 100%;
}

/* Standard */

.buttons button:hover, .buttons a.button:hover, .buttons a.button:active {
  background: #454545;
  border: 1px solid #2D2D2D;
  color: #DDDDDD;
}

/* Reverse */

button.reverse, .buttons a.reverse {
  background: #507526;
  border: 1px solid #507526;
  color: #fff;
}
.buttons a.reverse:hover, button.reverse:hover, .buttons a.reverse:active {
  background: #304812;
  border: 1px solid #304812;
  color: #fff;
}

/* Flat */

.buttons button.flat, .buttons a.flat {
  background: #e2e2e2;
  border: 1px solid #e2e2e2;
}
.buttons button.flat:hover, .buttons a.flat:hover {
  background: #6b8d94;
  border: 1px solid #6b8d94;
  color: #fff;
}

/* Positive */

button.positive, .buttons a.positive {
  background: #ddd;
  color: #529214;
}
.buttons a.positive:hover, button.positive:hover, .buttons a.positive:active {
  background: #529214;
  border: 1px solid #529214;
  color: #fff;
}

/* Negative */

.buttons a.negative, button.negative {
  color: #d12f19;
}
.buttons a.negative:hover, button.negative:hover, .buttons a.negative:active {
  background: #d12f19;
  border: 1px solid #d12f19;
  color: #fff;
}

/* Disabled */

.buttons a.disabled, button.disabled {
  background: #fff;
  border: 1px solid #b4b4b4;
  color: #b4b4b4;
}
.buttons a.disabled:hover, button.disabled:hover {
  background: #fff;
  border: 1px solid #b4b4b4;
  color: #b4b4b4;
  cursor: not-allowed;
}

/* Passive */

.buttons a.passive {
  background: none;
  border: 1px solid transparent;
  text-decoration: underline;
}
.buttons a.passive:hover {
  background: #eee;
  border: 1px solid #eee;
  color: #646464;
}

/* @end */