/**
	* Added tools
	*/
.text-white {
	color: white !important;
}
.text-black {
	color: black !important;
}
.font-thin {
	font-weight: 100;
}

/**
	* Bootstrap 3 renders checkboxes and
	* and radios in ver y specific way,
	* making them all position absolute
	* and adjusting margins around them.
	* Im sure there is a good reason for this,
	* but in on Drupal we render forms with
	* many containers with differnt css
	* position settings. Parent css position
	* settings effect child position css so
	* this layour method BS3 introduced will
	* need to be removed.
	*/
.form-type-radio.radio input[type="radio"],
.form-type-radio.radio-inline input[type="radio"],
.form-type-checkbox.checkbox input[type="checkbox"],
.form-type-checkbox.checkbox-inline input[type="checkbox"] {
	margin-left: 0;
  margin-right: 5px;
  position: inherit;
}
.form-type-radio.radio label,
.form-type-checkbox.checkbox label {
  padding-left: 0;
}
.form-radios,
.form-checkbox {
	margin-bottom: 10px;
}

/**
	* Drupal 7 renders table td elements with
	* the checkbox class. Bootstrap 3's
	* checkbox class renders display:block,
	* which will obviously destroy a table
	*/
td.checkbox,
th.checkbox,
th.radio,
th.radio {
	display: table-cell;
}

/**
	* Ubercart did this on every page...
	* not sure why
	* --> NEEDS WORK
	*/
div.vertical-tabs .vertical-tabs-panes fieldset .panel-body fieldset {
  padding: 0;
}

/**
	* This really has nothin to do withbootstrap,
	* but it prevents us from clipping off our
	* wonderful contextual menus.
	*/
.contextual-links-region.contextual-links-region-active {
    overflow: visible !important;
}

/**
	* Tabs in title popover
	*/
.popover-content .tabs--primary li {
	display: block;
	float: none;
}
.tabs-in-title-primary.nav-pills {
	margin-bottom: 15px;
}
.tabs-in-title-secondary.nav-pills {
	border-top: 1px dashed #ccc;
    margin-bottom: 0;
    padding-top: 15px;
}
.tabs-in-title-primary.nav-pills > li > a,
.tabs-in-title-secondary.nav-pills > li > a {
	background-color: #f7f7f7;
    color: #b4b4b4;
}
.tabs-in-title-secondary.nav-pills > li > a {
	float: left;
  padding: 5px;
}
.tabs-in-title-primary.nav-pills > li.active > a,
.tabs-in-title-primary.nav-pills > li.active > a:hover,
.tabs-in-title-primary.nav-pills > li.active > a:focus {
	background-color: #666;
}
.tabs-in-title-secondary.nav-pills > li.active > a,
.tabs-in-title-secondary.nav-pills > li.active > a:hover,
.tabs-in-title-secondary.nav-pills > li.active > a:focus {
	background-color: #666;
}
#tabs-in-title .btn.tab-btn {
  border: medium none;
  color: #ddd;
  font-size: 0.75em;
  padding-bottom: 0;
}
#tabs-in-title {
	display: block;
}
@media (min-width:768px) {
	#tabs-in-title .btn.tab-btn {
	    margin-top: -3px;
	    position: absolute;
	}
	#tabs-in-title {
			display: inline;
			padding-left: 5px;
	}
}

/**
	* Forms are haywire, lets fix em if desired.
	*/
body.auto-width-inputs .form-type-textfield .form-control.form-text,
body.auto-width-inputs .form-type-password .form-control.form-text {
  width: inherit;
}
body.auto-width-inputs .form-type-textfield.form-autocomplete .form-control.form-text {
	width: 100%;
}

/**
	* Some other form edits
	*/
input.form-control[type="file"] {
    padding-bottom: 39px;
    margin-bottom: 5px;
}

/**
	* If using chosen.
	*/
.chosen-container.form-control {
  padding: 15px;
  width: 914px;
  height: auto !important;
}
.chosen-container-multi .chosen-choices {
	line-height: 27px;
  min-height: 29px;
}
