#photos img {
  border: none;
}

#photos p {
  margin: 0px;
}

#photos ul {
  list-style: none;
  margin: 10px 0px;
  padding: 0px;
  border-bottom: solid 1px #ccc;
}

#photos li {
  float: left;
  position: relative;
  top: 1px;
  margin-right: 5px;
  background: #f2f2f2;
  border: solid 1px #ccc;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
}

#photos li.selected {
  border-bottom-color: #fff;
  background: #fff;
}

#photos li a {
  display: block;
  padding: 5px 14px;
  color: #666;
}

#photos li.selected a {
  font-weight: bold;
  color: #000;
}

#photos li.selected a:hover {
  text-decoration: none;
}

#available {
  float: left;
  width: 403px;
  margin-right: 10px;
}

#available .content {
  overflow-y: scroll;
  height: 416px;
}

#available p.description {
  margin-bottom: 10px;
}

#available table {
  border-collapse: collapse;
  width: 100%;
  margin: 0px;
  border-right: solid 5px #fff;
}

#available td {
  cursor: pointer;
}

#available td.hover {
  background: #fff9cf;
}

#available td.thumbnail {
  width: 50px;
  padding: 5px 0px 5px 5px;
  font-size: 0px;
}

#available td.title {
  padding: 0px 10px;
}

#available td.add {
  width: 100px;
  padding-right: 5px;
  text-align: right;
}

#available td.add form {
  margin: 0px;
}

#available td.add a {
  padding-left: 20px;
  font-weight: bold;
  background: url('/images/add.png') left center no-repeat;
}

#available td.add a.added {
  background-image: url('/images/accept.png');
}

#available table a {
  color: inherit;
}

#available .set {
  cursor: pointer;
  margin-right: 5px;
  padding: 5px;
}

#available .set:first-of-type {
  margin-top: 5px;
}

#available .set:last-of-type {
  margin-bottom: 5px;
}

#available .photos form {
  display: block;
  float: left;
  margin: 0px 10px 10px 0px;
}

#available .photos a {
  display: inline-block;
  position: relative;
  padding: 5px;
  background: #f2f2f2;
  border: solid 1px #ddd;
}

#available .photos a .added {
  z-index: 500;
  position: absolute;
  top: 1px;
  left: 1px;
  width: 16px;
  height: 16px;
  background: url('/images/accept.png');
}

#available .back {
  margin-bottom: 10px;
}

#available .back a {
  padding-left: 20px;
  color: inherit;
  text-decoration: underline;
  background: url('/images/trips/arrow_left.png') left center no-repeat;
}

#available object {
  margin-top: 20px;
}

#available .account {
  margin-bottom: 10px;
  font-size: 10px;
}

#available .account p {
  line-height: 16px;
  font-weight: bold;
}

#available .account a {
  display: inline-block;
  padding-right: 20px;
  line-height: 16px;
  color: #637fb1;
  background: url('/images/user_edit.png') right center no-repeat;
}

#available .account form {
  display: none;
  margin: 0px;
  padding: 0px;
}

#available .account fieldset {
  margin: 0px;
  padding: 5px 0px 0px 0px;
  border: none;
}

#added {
  position: relative;
  float: right;
  width: 423px;
}

#added p.title {
  margin: 12px 0px 0px 0px;
  padding: 5px;
  font-weight: bold;
  border-bottom: solid 1px #ccc;
}

#added .wrapper {
  padding: 12px 10px 10px 10px;
  background: #eee;
}

#added .photos {
  overflow-y: scroll;
  height: 349px;
  margin-top: 10px;
  font-size: 0px;
}

#added .photo {
  display: block;
  float: left;
  position: relative;
  margin: 0px 10px 10px 0px;
  background: #f2f2f2;
  border: solid 1px #ddd;
}

#added .edit-photo {
  display: inline-block;
  padding: 5px;
}

#added .delete-photo {
	z-index: 500;
	display: none;
  position: absolute;
	top: 5px;
	right: 5px;
  padding: 5px;
  color: #fff;
	background: #333;
	background: rgba(0, 0, 0, 0.8);
}

#added form {
  display: none;
}

#caption-bg {
  z-index: 2000;
  position: absolute;
  top: 0px;
  left: 0px;
}

#caption {
  z-index: 3000;
  display: inline-block;
  position: absolute;
  width: 180px;
  margin: 0px;
  padding: 10px;
  text-align: center;
  color: #fff;
  background: #222;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.8);
	-webkit-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.7);
	-moz-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.7);
}

#caption .pointer {
  position: absolute;
  width: 20px;
  height: 10px;
  margin: 10px 0px 0px 152px;
  background: url('/images/hover-pointer.png');
}

#caption .teaser {
  display: block;
  max-width: 180px;
  max-height: 180px;
  margin: 0px auto;
}

#caption form {
  margin: 0px;
  padding: 0px;
  background: #0c0;
}

#caption span {
  display: inline-block;
  position: relative;
  margin: 0px;
  padding: 0px;
  font-size: 0px;
  background: #c00;
}

#caption .rotate {
  display: inline-block;
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 4px 5px 5px 5px;
  background: #222;
  background: rgba(0, 0, 0, 0.6);
}

#caption label {
  display: block;
}

#caption p {
  margin: 4px 0px 5px 0px;
  font-size: 11px;
  color: #666;
}

#caption p.overlimit {
  color: #962323;
}

#caption textarea {
  width: 168px;
  height: 40px;
  padding: 5px;
  color: #fff;
  outline: none;
  background: #292929;
  border: solid 1px #111;
  border-bottom-color: #333;
  border-right-color: #333;
  -webkit-transition: -webkit-box-shadow linear 0.2s;
}

#caption textarea.overlimit {
  -webkit-box-shadow: 0px 0px 5px #c00;
  -moz-box-shadow: 0px 0px 5px #c00;
}

#available .loading,
#added .loading {
  z-index: 600;
  position: absolute;
  top: 150px;
  left: 115px;
  padding: 5px 0px 5px 20px;
  width: 130px;
  text-align: center;
  color: #fff;
  background-color: #333;
  background-color: rgba(0, 0, 0, 0.8);
  background-image: url('/images/spinner-dark.gif');
  background-position: 35px center;
  background-repeat: no-repeat;
  border: none;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
}