body.action-list, body.action-index table {
  border-spacing: 9px;
}

/* Item lists */

#list-table table {
    border-collapse: separate;
    border-spacing: 0.5em;
}

.prev_page {
	float: left;
}

.next_page {
	float: right;
}

.page_nav {
	overflow: auto;
}

/* default 'show' action */

body.action-show th {
	text-align: left;
	padding-right: 2em;
}

/* Item editor */

.item-edit #item_name_container,
.item-edit #item_title_container,
.item-edit #item_password_container {
	clear: none;
	float: left;
	margin-right: 10px;
	width: 40%;
}

.item-edit p {
  clear: left;
}

.item-edit textarea {
  width: 100%;
  height: 100px;
}

.item-edit #item_body {
  height: 400px;
}

.color-select {
	height: 80px;
}

.color-select-controls, .color-select-preview {
	float: left;
}

.color-select label {
	clear: left;
}

.color-slider {
	height: 1.3em;
	width: 255px;
	background: #aaa;
	
	float: left;
}

.color-handle {
	height: 1.3em;
	width: 1.3em;
	background: #000;
	cursor: move;
}

.color-select-preview {
	width: 75px;
	height: 75px;
	
	margin: 2px;
	margin-right: 15px;
	
	border: 1px solid black;
}

/* Bookings */

select#pending_bookings, select#confirmed_bookings {
	width: 200px;
	height: 200px;
}

#visits-edit-names td {
	text-align: center;
}

/* Misc */

#progress {
	font-weight: bold;
}

.msg-success {
	color: green;
}

.msg-error {
	color: red;
}

.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: table;
}

#errorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
  color: #000;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
}

div.uploadStatus {
  margin: 5px;
}

div.progressBar {
  margin: 5px;
}

div.progressBar div.border {
  background-color: #fff;
  border: 1px solid grey;
  width: 100%;
}

div.progressBar div.background {
  background-color: #333;
  height: 18px;
  width: 0%;
}

