/*!
 * Bootstrap v2.0.4
 *
 * Copyright 2012 Twitter, Inc
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Designed and built with all the love in the world @twitter by @mdo and @fat.
 */

// CSS Reset
@import "reset.less";

// Core variables and mixins
@import "variables.less"; // Modify this for custom colors, font-sizes, etc
@import "mixins.less";

// Grid system and page structure
@import "scaffolding.less";
@import "grid.less";
@import "layouts.less";

// Base CSS
@import "type.less";
@import "code.less";
@import "forms.less";
@import "tables.less";

// Components: common
@import "sprites.less";
@import "dropdowns.less";
@import "wells.less";
@import "component-animations.less";
@import "close.less";

// Components: Buttons & Alerts
@import "buttons.less";
@import "button-groups.less";
@import "alerts.less"; // Note: alerts share common CSS with buttons and thus have styles in buttons.less

// Components: Nav
@import "navs.less";
@import "navbar.less";
@import "breadcrumbs.less";
@import "pagination.less";
@import "pager.less";

// Components: Popovers
@import "modals.less";
@import "tooltip.less";
@import "popovers.less";

// Components: Misc
@import "thumbnails.less";
@import "labels-badges.less";
@import "progress-bars.less";
@import "accordion.less";
@import "carousel.less";
@import "hero-unit.less";

// Utility classes
@import "utilities.less"; // Has to be last to override when necessary

@import "combobox.less"; // Has to be last to override when necessary

.tab-page {
  .border-radius(0 0 4px 4px);
  border-left: 1px solid @tableBorder;
  border-right: 1px solid @tableBorder;
  border-bottom: 1px solid @tableBorder;
  padding: 4px 4px 0px 4px;
}

.cgroup {
  .border-radius(4px);
  border: 1px solid @tableBorder;
  margin-bottom: 4px;
  .title{
	background-color: whiteSmoke;
    border-right: 1px solid @tableBorder;
    border-bottom: 1px solid @tableBorder;
	
	.border-radius(4px 0 4px 0);
	#font > .shorthand(@baseFontSize,bold,@baseLineHeight); // Set size, weight, line-height here
	padding: 2px 4px;
	display: inline-block;
	//left: -1px;
	//position: relative;
	//top: 1px;
	margin-bottom:4px;
  }
}

.cwell {
  .border-radius(4px);
  border: 1px solid @tableBorder;
  margin-bottom: 4px;
  padding: 4px 10px;
}

.cform{
  input,
  textarea,
  select,
  .help-inline,
  .uneditable-input,
  .input-prepend,
  .input-append {
    display: inline-block;
    .ie7-inline-block();
    margin-bottom: 0;
  }
  // Re-hide hidden elements due to specifity
  .hide {
    display: none;
  }

}

.cform {
  // Increase spacing between groups
  .control-group {
    margin-bottom: 2px;
    .clearfix();
  }
  // Float the labels left
  .control-label {
    float: left;
    width: 120px;
    padding-top: 5px;
	padding-right: 8px;
    text-align: left;
  }
  // Move over all input controls and content
  .controls {
    // Super jank IE7 fix to ensure the inputs in .input-append and input-prepend
    // don't inherit the margin of the parent, in this case .controls
    *display: inline-block;
    *padding-left: 20px;
    margin-left: 0px;
    *margin-left: 0;
    &:first-child {
      *padding-left: 0px;
    }
  }
  // Remove bottom margin on block level help text since that's accounted for on .control-group
  .help-block {
    margin-top: @baseLineHeight / 2;
    margin-bottom: 0;
  }
  // Move over buttons in .form-actions to align with .controls
  .form-actions {
    padding-left: 160px;
  }
}
