table.fields {
	border-collapse: collapse;
	width: auto;
}
table.fields tr {
	border: none;
}
table.fields td {
	vertical-align: top;
	padding: 0;
}
table.fields td:first-child {
	padding-right: 10px;
}

table.values {
	border-collapse: collapse;
  width: auto;
  min-width: 400px;
  background: #fff;
}
table.values tr {
  border: 0;
  border-bottom: 1px solid #000;
}
table.values td {
  padding: 10px 15px;
}
table.values td:nth-child(2n+1) {
  font-weight: 600;
}

table td.depth-1 {
  padding-left: 27px;
}
table td.depth-2 {
  padding-left: 42px;
}
table td.depth-3 {
  padding-left: 57px;
}

table .actions .fa-repeat {
	color: #5CB85C;
}
table .actions .fa-trash {
	color: #D8504D;
}

.invoice-list .fa-lock {
	color: #0a0;
}
.invoice-list .fa-unlock {
	color: #777;
}

table.order-list tr.done {
	background: #afa;
}
table.order-list tr.status-0 {
	background: #fe9;
}

.order-view .body {
	padding-left: 10px;
}
.order-view .place .body {
	padding-left: 20px;
}
.order-view .header {
	background: #fff;
	position: relative;
	padding: 10px 15px;
	min-height: 21px;
	border-bottom: 2px solid #bfbfbf;
}
.order-view .area > .header {
	border-bottom-color: #a00;
}
.order-view .remit > .header {
	border-bottom-color: #08f;
}
.order-view .place > .header {
	border-bottom-color: #000;
}
.order-view .line-item > .header {
	border-bottom-color: #17C2C2;
}
.order-view .image > .header {
	border-bottom-color: #9D79FF;
}
.order-view .image img {
  vertical-align: bottom;
}
.order-view .header > div {
	float: left;
	margin-right: 15px;
}
.order-view .header > div.text {
	min-width: 100%;
}
.order-view .header .fa {
	line-height: 1.5;
}
.order-view .header .icon {
	position: absolute;
	top: 10px;
	margin: 0;
}
.order-view .header .fa-angle-right {
  display: none;
}
.order-view .header .fa-angle-down {
	position: absolute;
	right: 15px;
	top: 10px;
  transition: transform 0.3s ease;
}
.order-view .collapsed > .header > .fa-angle-down {
  transform: rotateZ(-90deg);
}
.order-view .invoiced,
.order-view .checkbox {
	position: absolute;
	top: 10px;
	right: 20px;
}
.order-view .place-done .header {
	background: #e4fedf;
}
.order-view .place .title {
	min-width: 120px;
}
.order-view .place .address {
	min-width: 250px;
}
.order-view .place .postal-code {
	min-width: 70px;
}
.order-view .place .locality {
	min-width: 120px;
}
.order-view .text {
	max-width: 230px;
}
.order-view .image {
	right: 175px;
}
.order-view .done {
	right: 150px;
	color: #63b668;
}
.order-view .map {
	right: 180px;
	color: #a00;
}
.order-view .key {
	right: 210px;
}
.order-view .rooms {
	right: 240px;
}
.order-view .total {
	position: absolute;
	top: 10px;
	right: 50px;
}
.order-view .line-item .title {
	min-width: 120px;
}


/* DASHBOARD */
.dashboard {
	position: relative;
}
.dashboard .main {
	width: 65%;
	float: left;
}
.dashboard h2:nth-child(n+2) {
	margin-top: 20px;
	border-top: 1px solid #bfbfbf;
}
.dashboard .sidebar {
	float: right;
	width: 30%;
	background: #fff;
	padding-bottom: 40px;
}
.dashboard .main > div {
	margin: 0 0 10px;
	background: #fff;
	border: 1px solid #bfbfbf;
}
.dashboard .main .header {
	padding: 14px 25px;
	border-bottom: 1px solid #bfbfbf;
	font-weight: 700;
	line-height: 18px;
}
.dashboard .main .title {
	font-size: 16px;
	float: left;
	color: #000;
}
.dashboard .main .car,
.dashboard .main .total {
	float: right;
}
.dashboard .main .car .fa,
.dashboard .main .total .fa {
	margin-right: 5px;
}
.dashboard .main .body {
	padding: 18px 25px;
}
.dashboard .main .invoice-remit {
  margin-bottom: 10px;
}
.dashboard .main .date-start {
	font-weight: 600;
}
.dashboard .main .collapsible-title {
  margin-top: 5px;
}
.dashboard .main .orders,
.dashboard .main .places {
	float: left;
	width: 50%;
}
.dashboard .main .progress {
	float: right;
	color: rgba(0,0,0,0.7);
}
.dashboard .main .progress-value {
	color: #000;
	font-weight: 700;
}
.dashboard .sidebar .warnings {
	background: linear-gradient(50deg, rgba(100,181,101,1) 0%, rgba(64,198,228,1) 100%);
	color: #fff;
	text-align: center;
	overflow: hidden;
	position: relative;
	height: 250px;
}
.dashboard .sidebar .warnings .pager {
	position: absolute;
	bottom: 10px;
	left: 0;
	right: 0;
	text-align: center;
}
.dashboard .sidebar .warnings .pager > div {
	display: inline-block;
}
.dashboard .sidebar .warnings .pager .pager-arrow {
	cursor: pointer;
	padding: 0 7px;
}
.dashboard .sidebar .warnings > .inner {
	position: absolute;
	top: 30px;
	bottom: 0;
	width: 100%;
	transition: margin 0.3s ease;
	-webkit-transition: margin 0.3s ease;
}
.dashboard .sidebar .warning {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100%;
}
.dashboard .sidebar .warning-1 {
	position: static;
}
.dashboard .sidebar .warning .icon {
	width: 70px;
	line-height: 70px;
	font-size: 62px;
	font-weight: 700;
	margin: 0 auto;
	border-radius: 50%;
	border: 3px solid #fff;
}
.dashboard .sidebar .warning .text {
	font-size: 16px;
	line-height: 1.2;
	margin: 15px;
}
.dashboard .sidebar .warning .btn {
	width: 170px;
}
.dashboard .sidebar .cars .header {
	padding: 20px 0 25px;
	text-align: center;
	border-bottom: 1px solid #eee;
}
.dashboard .sidebar .cars .header .icon {
	font-size: 34px;
	border-radius: 50%;
	border: 3px solid #000;
	width: 75px;
	line-height: 75px;
	margin: 0 auto 5px;
}
.dashboard .sidebar .cars .header .title {
	font-size: 16px;
	font-weight: 700;
}
.dashboard .sidebar .car {
	border-bottom: 1px solid #eee;
	margin: 0 20px;
	padding: 15px 0;
	color: #2d2d2d;
	font-weight: 700;
}
.dashboard .sidebar .car .title {
	float: left;
	width: 20%;
}
.dashboard .sidebar .car .progress-bar {
	float: left;
	width: 55%;
	margin: 5px 5% 0;
	background: #c7c7c7;
	border-radius: 5px;
	overflow: hidden;
}
.dashboard .sidebar .car .progress-bar .inner {
	background: #484848;
	height: 10px;
	width: 0px;
}
.dashboard .sidebar .car .progress-value {
	float: left;
	width: 15%;
}


table.item-info {
	width: auto;
	margin-top: 0;
}
table.item-info tr {
	border-top: none;
}
table.item-info td {
	padding: 3px 0;
	vertical-align: top;
}
table.item-info td:first-child {
	padding-right: 15px;
}
.stat {
	background: #fff;
	padding: 15px 20px;
	margin: 10px 0;
	font-size: 16px;
}
.stat .collapsible-title .fa {
	margin-left: 5px;
}
.stat .collapsible-content {
	font-size: 14px;
}
.stat .collapsible-content > .inner {
	padding: 10px 0 0;
}
.stat table {
  margin: 0;
}

.view-list .form-stats-filter {
  margin-top: 10px;
}


/**
 * Planering / prognoser
 */
.page-plan-edit #page {
  max-width: 95%;
}
.plan-edit .plan-header {
  white-space: nowrap;
  overflow: auto;
  max-width: 100%;
  margin-bottom: 10px;
}
.plan-edit .sheet-btn {
  display: inline-block;
  padding: 10px 15px;
  width: auto;
  border-radius: 0;
  margin: 0 0 5px 3px;
  border: 1px solid #aaa;
  font-weight: 700;
  cursor: pointer;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
.plan-edit .sheet-btn:first-child {
  margin-left: 0;
}
.plan-edit .sheet-btn.active {
  border-color: #fff;
  background: #fff;
  color: #000;
}
.plan-edit .sheet.inactive {
  display: none;
}
.plan-edit .sheet > .header {
  margin-bottom: 15px;
}
.plan-edit .sheet > .header > * {
  float: left;
  margin-right: 20px;
}
.plan-edit .sheet > .header .price-per-week {
  width: 200px;
}
.plan-edit .sheet > .header > .save {
  float: right;
  margin-top: 17px;
}

.plan-edit.is-saving .save .actions,
.plan-edit.is-saved .save .actions,
.plan-edit .on-saving,
.plan-edit .on-saved {
  display: none;
}
.plan-edit.is-saving .on-saving,
.plan-edit.is-saved .on-saved {
  display: block;
  padding: 8px 0;
}
.plan-edit .on-saved {
  color: #4c4;
}
.plan-edit.is-saved .on-saved {
  animation: fade 0.75s ease;
}
.plan-edit .sheet > .header .select-tools > * {
  float: left;
  margin-right: 20px;
}
.plan-edit .select-tools {
  display: none;
}
.plan-edit.has-selection .select-tools {
  display: block;
}
.plan-edit .select-color .color {
  display: block;
  float: left;
  width: 34px;
  height: 34px;
  margin-right: 5px;
  cursor: pointer;
  border-radius: 50%;
  background: #fff;
}
.plan-edit .sheet .table {
  max-width: 100%;
  max-height: 600px;
  overflow-x: auto;
}
.plan-edit .sheet table {
	position: relative;
	width: 100%;
  border-spacing: 1px;
  border-collapse: separate;
  background: #ccc;
  margin: 0;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
.plan-edit .sheet table tr.inactive {
  display: none;
}
.plan-edit .sheet table th,
.plan-edit .sheet table td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
	box-sizing: border-box;
  background: #fff;
  border: 0;
  line-height: 22px;
  padding: 6px 8px;
}
.plan-edit .sheet table th:nth-child(n+6) {
  text-align: center;
}
.plan-edit .sheet table tr.summary th {
  position: relative;
  font-weight: 400;
  background: #f6f6f6;
}
.plan-edit .sheet table tr.summary th.has-value {
  color: #d44;
}
.plan-edit .sheet table tr.summary th.has-value.has-schedule {
  color: inherit;
}
.plan-edit .sheet table tr.summary th .schedules {
  position: absolute;
  top: 2px;
  left: 2px;
}
.plan-edit .sheet table tr.summary th .schedules .dot {
  width: 4px;
  height: 4px;
  background: #2c2c2c;
  float: left;
  margin-right: 2px;
  border-radius: 50%;
}
.plan-edit .sheet table tr.summary th:nth-child(n+6) {
  cursor: pointer;
}
.plan-edit .sheet table th.data,
.plan-edit .sheet table td.data {
  padding: 6px 0;
  text-align: center;
}
.plan-edit .sheet table td.input {
  padding: 0;
}
.plan-edit .sheet table td.selected {
  background: #eee;
}
.plan-edit .sheet table tr.info td {
  background: #e5e4e6;
  vertical-align: top;
}
.plan-edit .sheet table tr.prognosis-history td {
  background: #deeeff;
}
.plan-edit .sheet table tr.order-history td {
  background: #fff5de;
}
.plan-edit .sheet table tr.info .info-title,
.plan-edit .sheet table tr.info .order-total {
  font-weight: 700;
}
.plan-edit .sheet table tr.info .total {
  font-style: italic;
}
.plan-edit .sheet table tr.info.loading .not-loading,
.plan-edit .sheet table tr.info .on-loading {
  display: none;
}
.plan-edit .sheet table tr.info.loading .on-loading {
  display: inline;
}
.plan-edit .sheet table .fa {
  position: absolute;
  top: 10px;
  right: 8px;
}
.plan-edit .sheet table .form-text {
  border: none;
  padding: 6px 0;
  text-align: center;
  background: transparent;
  cursor: default;
}
.plan-edit .sheet table .form-prognosis {
  padding: 6px 8px;
  text-align: left;
}
.plan-edit .sheet table .title {
  position: relative;
  cursor: pointer;
}
.plan-edit .sheet table .form-days {
  position: relative;
  cursor: pointer;
}
.plan-edit .sheet table .warning .form-text {
  color: #d44;
}
/* Colors */
.plan-edit .select-color .color-red,
.plan-edit .sheet table td.color-red {
  background: #ffb7b7;
}
.plan-edit .sheet table td.selected.color-red {
  background: #fb9595;
}
.plan-edit .select-color .color-green,
.plan-edit .sheet table td.color-green {
  background: #b7ffb7;
}
.plan-edit .sheet table td.selected.color-green {
  background: #95fb95;
}
.plan-edit .sheet table thead.sticky-head {
	position: absolute;
  z-index: 2;
	background: #ccc;
	border-bottom: 2px solid #ccc;
	left: 0;
}
.plan-edit .sheet table tbody:before {
  content: '';
  display: block;
  height: 70px;
}

.plan-edit .sheet table .col-big {
	width: 300px;
	min-width: 300px;
	max-width: 300px;
}
.plan-edit .sheet table .col-mid {
	width: 80px;
	min-width: 80px;
	max-width: 80px;
}
.plan-edit .sheet table .col-sml {
	width: 40px;
	min-width: 40px;
	max-width: 40px;
	text-align: center;
}


.popup-name-schedule .form-item {
  width: auto;
}
.popup-name-schedule .schedule-item > .form-items {
  float: left;
  width: 90%;
}
.popup-name-schedule .schedule-item > .form-delete-button {
  float: left;
  margin: 19px 0 0 5px;
}
.popup-name-schedule .form-name-car-id {
  float: left;
  width: 24%;
  margin: 0;
}
.popup-name-schedule .form-name-week-start,
.popup-name-schedule .form-name-week-end {
  float: left;
  width: 15%;
  margin: 0 0 10px 1%;
}
.popup-name-schedule .form-name-shifts {
  clear: both;
}
.popup-name-schedule .shift-item {
  float: left;
  width: 49%;
  margin: 0 0 0 2%;
}
.popup-name-schedule .shift-item .form-item {
  float: left;
  width: 49%;
  margin: 0 0 0 2%;
}
.popup-name-schedule .shift-item:first-child,
.popup-name-schedule .shift-item .form-item:first-child {
  margin-left: 0;
}
.popup-name-schedule .select-custom.empty .select-custom-title {
  color: #999;
}
