/*
FILENAME: buttons.css
DESCRIPTION: This stylesheet serves unique declarations for Onehub buttons
*/

.buttons {
	font-size: 11px;
	overflow: hidden;
}

.buttons button, .buttons .button {
  background: #fff url("/shared/images/bg_button.png") bottom center repeat-x;
  border: 1px solid #b4b4b4;
  border-top: 1px solid #d4d4d4;
  border-left: 1px solid #d4d4d4;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  color: #828282;
  cursor: pointer;
  display: block;
  float: left;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 100%; /* Normalizing for IE */
  font-weight: bold;
  margin: 0 10px 0 0;
  text-decoration: none;
  text-shadow: 0 1px rgba(255, 255, 255, .75);
  text-transform: uppercase;
}

.buttons button { padding: 6px 10px; }
.buttons .button { padding: 4px 10px; }
.buttons button[type] { line-height: 16px; } /* Safari */
button::-moz-focus-inner { border-color: transparent; } /* Removes dotted border line in Firefox */

.buttons object {
  cursor: pointer;
  display: block;
  float: left;
  margin: 0 10px 0 0;
}

.buttons img {
  margin: -2px 0 0 5px;
  vertical-align: text-top;
  width: 16px;
  height: 16px;
}

.buttons .separator {
  float: left;
  line-height: 28px;
  margin-right: 9px;
}

/* =SUBTLE */

.buttons .subtle {
  background: none;
  border-color: #eee;
  color: #b4b4b4;
}

.buttons .subtle:hover {
  background: #f2f2f2 url("/shared/images/bg_button.png") bottom center repeat-x;
  border-color: #b4b4b4;
  color: #828282;
}

/* =DEFAULTS */

.buttons button:hover, .buttons .button:hover {
  background-color: #f2f2f2;
  border-color: #b4b4b4;
}

.buttons button:active, .buttons .button:active {
  background-color: #6299c5;
  border-color: #5382a8;
  color: #fff;
  text-shadow: 0 -1px rgba(0, 0, 0, .4);
}

/* =INSET */

.buttons .inset { border-color: #999; }
.buttons .inset:hover { border-color: #828282; }
.buttons .inset:active { border-color: inherit; }

/* =POSITIVE */

.buttons .positive { color: #529214; }

.buttons .positive:active {
  background-color: #529214;
  border-color: #467c11;
}

/* =NEGATIVE */

.buttons .negative { color: #d12f19; }

.buttons .negative:active {
  background-color: #d12f19;
  border-color: #b22815;
}

/* =PASSIVE */

.buttons .passive {
  background: none;
  border-color: transparent;
  color: #b4b4b4;
  text-transform: none;
}

.buttons .passive:hover {
  background: none;
  border-color: #d4d4d4;
  color: #828282;
}

.buttons .passive:active {
  background: #b4b4b4;
  border-color: #b4b4b4;
  color: #fff;
}

/* =DISABLED */

.buttons button[disabled], .buttons .disabled, .buttons .disabled:hover, .buttons .disabled:active {
  background: #d4d4d4;
  border-color: #c6c6c6;
  color: #828282;
  cursor: not-allowed !important;
}

.buttons button[disabled] { cursor: wait; }