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

#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-heading
			font-family: $headings-font-family
			font-weight: $headings-font-weight
			font-size: 14px
			text-overflow: ellipsis
			white-space: nowrap
			padding-right: 60px
			color: #555
			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 5px
		margin: -16px -16px 15px -16px
		font-size: 1.2em
		line-height: 30px
		text-transform: uppercase
		border-bottom: solid 1px #EEEEEE
		i, a
			color: contrasted($bg-panel-heading-color)
		.badge
			background: white
			border: solid 2px lighten($brand-primary,35%)
			@include border-radius(20px)
			color: $brand-primary
			line-height: 1.2em
			font-size: 1em
			padding: 0 10px
			font-weight: 700
			margin-left: 10px
		.panel-heading-action
			position: absolute
			top: 2px
			right: 0
			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

//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
#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