html, body
	min-height: 100%
	height: 100%
	
body
	font: 400 #{$font-size-base}/#{$line-height-base} $font-family-base
	color: $text-color
	min-width: 450px
	background-color: $body-bg
	-webkit-tap-highlight-color: rgba(0,0,0,0)

#main
	z-index: 10
	float: left
	width: 100%
	padding: 36px 0 60px
	margin: 0 0 -50px 0

#content.bootstrap
	padding: 80px 10px 0
	@include transition-property(margin)
	@include transition-duration(0.4s)
	@include transition-timing-function(ease-out)
	.panel
		position: relative
		padding: 20px
		margin-bottom: 20px
		border: solid 1px darken($bg-content-color,10%)
		background-color: white
		@include border-radius(5px)
		@include box-shadow(rgba(black,0.10) 0 2px 0, white 0 0 0 3px inset)
		&.panel-highlighted
			border-color: $brand-primary!important
			@include box-shadow(rgba($brand-primary,.15) 0 0 0 6px inset !important)
		.panel-heading
			font-family: $headings-font-family
			font-weight: $headings-font-weight
			font-size: 14px
			text-overflow: ellipsis
			white-space: nowrap
			color: #555
			height: 32px
			a.btn
				font-family: $font-family-sans-serif
				text-transform: none
				position: relative
				top: 2px
			i
				font-size: 14px
		.panel
			border: solid 1px #CCC
			@include box-shadow(rgba(black,0.10) 0 2px 0, white 0 0 0 3px inset)
	h3:not(.modal-title), .panel-heading
		border: none
		padding: 0 0 0 5px
		margin: -20px -16px 15px -16px
		font-size: 1.2em
		line-height: 2.2em
		height: 2.2em
		text-transform: uppercase
		border-bottom: solid 1px #EEEEEE
		i, a
			color: contrasted($bg-panel-heading-color)
		.badge
			color: $gray
			font-size: 1.1em
			line-height: 1.2em			
			padding: 0 10px
			font-weight: 700
			margin-left: 0.4em
			border: solid 1px lighten($gray-light,25%)
			background-color: white
			@include border-radius(20px)
			a
				display: block
				font-size: 0.8em
		.panel-heading-action
			line-height: 0
			position: absolute
			top: 2px
			right: 0
			.btn-group
				position: absolute
				top: -2px
				right: 2px
				//width: 100px
				white-space: nowrap
				a.btn
					float: none
			> a.btn
				position: absolute
				top: 0
				right: 2px
			a.list-toolbar-btn
				float: left
				height: 30px
				width: 30px
				color: #CCC
				border-left: solid 1px #eee
				&:hover
					text-decoration: none
					color: $brand-primary
				i
					text-align: center
					font-size: 18px
					line-height: 30px
	.panel-danger .panel-heading
		background-color: $badge-notif-color!important
	form .alert
		clear: both		
	@media (max-width: $screen-phone)
		padding: 80px 5px 0
		margin-left: 0!important
	.help-block
		font-style: italic
	.nav.nav-tabs li.active a
		z-index: 99
	.breadcrumb
		background-color: white
		border: solid 1px darken($bg-content-color,10%)

//data-focus
.data-focus
	&.data-focus-primary
		background-color: $brand-primary
		color: white
		@include border-radius(10px)

//orders
#customer_part
	.customerCard
		&.selected-customer .panel
			color: $brand-success
			border: solid 2px $brand-success

//modal 
body.display-modal
	#content, #main
		margin: 0
		padding: 0
		background: #F8F8F8

//todo: remove temp fix for bootstrap RC1 -> final
.bootstrap
	input[type="text"],input[type="search"],input[type="password"], textarea, select
		@extend .form-control

//panels
.bootstrap
	.panel
		.panel-footer
			margin: 15px -20px -20px
			height: 73px
			border-color: #eee
			background-color: #FCFDFE
			.btn.pull-right:not(:first-child)
				margin-right: 5px
			.btn
				line-height: 1em

#header
	.panel-footer
		margin: 15px 0 0!important
		height: 40px!important

//colors
.attributes-color-container
	width: 40px
	height: 25px
	display: block
	border: solid 1px black

#mColorPickerInput
	color: #000000 
