#connection-dialog {
  padding: 0;
  /* this is what the padding is on the dialog */
  margin: -10px -10px 0 -10px;
  font-size: 12px;
}
#content-type {
  background-color: #F2F2F2;
  border-bottom: 1px solid #c8c8c8;
  padding: 5px 10px;
}
#content-source li,
#content-type li {
  float: left;
}
#content-type {
  padding: 10px 10px;
}
#content-type li {
  color: #509EDC;
  font-weight: bold;
  padding: 2px 7px;
  margin: 0px 5px;
}
#content-type li.selected {
  background-color: #AB3900;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.6);
  -webkit-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.6);
  color: #fff;
  font-weight: bold;
  padding: 2px 15px 5px;
}
#content-type li.selected a {
  color: white;
  cursor: default;
  text-decoration: none;
}
#content-type li.disabled a:hover {
  text-decoration: none;
}
#content-source {
  padding: 5px 10px;
}
#content-source li {
  padding: 2px 6px 3px;
  margin: 0px 2px;
}
#content-source li.selected {
  background-color: #909195;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#4d4d4d), to(#878787), color-stop(70%, #4d4d4d));
  background-image: -moz-linear-gradient(top, #4d4d4d, #878787 70%);
  color: white;
  border-radius: 4px 4px;
  -moz-border-radius: 4px 4px;
  -webkit-border-radius: 4px 4px;
}
#content-source li.selected a {
  color: white;
  text-decoration: none;
}
#content-source li.selected a:hover {
  cursor: default;
}
#content-type,
#content-source,
#content-search,
#content-list {
  clear: both;
}
#content-search {
  padding: 5px 12px;
}
#content-search input.query {
  padding-left: 25px;
  background: #ffffff url(/National_Library/oe_/https://www.fold3.com/i/search-sprites.png) no-repeat -5px -150px;
}
#content-search input {
  margin-right: 10px;
}
#content-search input.text {
  width: 273px;
}
#content-search input.ex {
  width: 250px;
}
#content-search input.text,
#content-search input.ex {
  height: 18px;
  font-size: 14px;
}
#result-summary {
  margin-left: 10px;
}
#content-list {
  padding: 2px 10px;
  height: 250px;
  width: 635px;
}
#list-data,
#list-empty {
  border: 1px solid #c8c8c8;
  height: 250px;
  width: 637px;
}
#list-data div.document {
  background-color: #EFEFEF;
  border: 1px solid #dedede;
  display: table;
  height: 98px;
  padding: 5px;
  margin: 6px;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 98px;
}
#list-data div.document .thumbnail img {
  border: 1px solid #ccc;
  padding: 0;
}
#list-empty {
  padding-top: 30px;
  /* the total height needs to be the same as the list-data, so account for padding */
  height: 220px;
  text-align: center;
  color: #777;
}
.document .thumbnail {
  display: table-cell;
  vertical-align: middle;
}
#list-data div.document.selected {
  background-color: #E4FFD3;
  border-width: 3px;
  border-color: #43ad2d;
  padding: 3px;
}
#content-list {
  position: relative;
}
#list-data {
  position: absolute;
  left: 12px;
  top: 0;
}
#active-image {
  display: block;
  position: absolute;
  left: -15px;
  top: -15px;
  width: 175px;
  height: 175px;
  text-decoration: none;
}
#active-image .enlarged {
  border: 1px solid #005FB5;
  display: none;
  height: 161px;
  -moz-box-shadow: 1px 0px 8px #111;
  -webkit-box-shadow: 1px 0px 8px #111;
  box-shadow: 10px 0px 8px #111;
  background-color: white;
  padding: 6px;
  position: relative;
  width: 161px;
}
#active-image .container {
  height: 161px;
  background-color: #CCC;
  overflow: hidden;
  text-align: center;
}
#active-image .container img {
  vertical-align: middle;
}
#active-image.selected .enlarged {
  border-color: #43ad2d;
  border-width: 6px;
  padding: 1px;
}
#active-image.selected .container {
  background-color: #E4FFD3;
}
#active-image .selected-indicator {
  position: absolute;
  right: 3px;
  bottom: 3px;
  display: none;
  background: url(/National_Library/oe_/https://www.fold3.com/i/confirm_32.png) no-repeat;
  width: 32px;
  height: 32px;
}
#active-image .container .btn-t {
  -moz-box-shadow: 1px 0px 7px #555;
  -webkit-box-shadow: 1px 0px 7px #555;
  box-shadow: 1px 0px 7px #555;
}
#active-image.selected .selected-indicator {
  display: block;
}
#active-image:hover .enlarged {
  display: block;
}
#active-image.disabled {
  cursor: not-allowed;
}
#active-image.disabled:hover .enlarged {
  display: none;
}
.enlarged .container {
  position: relative;
}
.enlarged .titleinfo {
  background-color: #000000;
  filter: alpha(opacity=65);
  -moz-opacity: 0.65;
  opacity: 0.65;
  color: white;
  position: absolute;
  left: 0px;
  text-align: left;
  top: 0px;
  padding: 5px 8px;
  font-size: 10px;
  width: 151px;
}
.enlarged button {
  position: absolute;
  top: 135px;
  width: 75px;
  left: 43px;
}
div.document img {
  vertical-align: middle;
}
a.page {
  display: block;
  text-decoration: none;
  width: 190px;
  height: 52px;
  line-height: 1.2;
  margin: 2px;
  overflow: hidden;
  padding: 5px;
}
a.page:hover {
  /* a little less padding to account for the border */
  -moz-box-shadow: inset 0 0 10px rgba(152, 166, 188, 0.2);
  -webkit-box-shadow: inset 0 1px 3px #98a6b5;
  box-shadow: inset 0 1px 3px #98a6b5;
  padding: 4px;
  background-color: #EEF3F9;
  cursor: pointer;
  border: 1px #C3D2E1 solid;
  border-radius: 4px 4px;
  -moz-border-radius: 4px 4px;
  -webkit-border-radius: 4px 4px;
}
a.private,
a.private:hover {
  background: #efefef url(/National_Library/oe_/https://www.fold3.com/i/public-icon.gif) no-repeat scroll 98% -66px;
  border: 1px #ddd solid;
  border-radius: 4px 4px;
  -moz-border-radius: 4px 4px;
  -webkit-border-radius: 4px 4px;
  cursor: not-allowed;
  padding: 4px;
  opacity: .9!important;
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=90) !important;
}
a.private * {
  opacity: .9!important;
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=90) !important;
}
.page .icon {
  float: left;
  width: 50px;
}
.page .info {
  float: left;
  width: 115px;
  margin-left: 10px;
}
.page .icon .icon-f3 {
  border: 1px solid #b7b0a5;
  background-color: #d9d6d2;
  color: #84796b;
  font-size: 40px;
}
.page .info h4 {
  color: #114488;
  margin: 0;
  line-height: 1.23;
}
.page .info p {
  margin: 0;
  font-size: 10px;
}
#gallery-folder-list {
  height: 20px;
  font-size: 12px;
}
#content-upload {
  padding: 10px;
}
#titlefs,
#descfs {
  width: 528px;
  vertical-align: baseline;
}
#titlefs input,
#descfs textarea {
  width: 100%;
}
#descfs textarea {
  height: 75px;
}
#connection-details-dialog {
  background-color: white;
}
#connection-source,
#connection-details,
#connection-target {
  float: left;
}
#connection-relation {
  font-size: .875em;
}
#connection-details {
  position: relative;
}
#connection-source,
#connection-target {
  z-index: 1001;
  position: relative;
}
#connection-complete,
#connection-start {
  position: absolute;
  left: 0;
  top: 35px;
  width: 184px;
  height: 60px;
  background-color: #84DB4D;
  background-image: -webkit-gradient(radial, center, center, from(#84db4d), to(#74b74a), color-stop(95%, #74b74a));
  background-image: -moz-radial-gradient(center, #84db4d, #74b74a 50%);
  z-index: 980;
  text-align: center;
}
#connection-start {
  background: transparent none;
  z-index: 950;
}
#connection-complete p,
#connection-start p {
  color: white;
  font-size: 50px;
  font-weight: bold;
  line-height: 1;
  margin: 0;
  padding: 0;
  text-align: center;
}
#connection-start p {
  color: #aaa;
}
#connection-source {
  margin: 10px 0 10px 10px;
}
#connection-target {
  margin: 10px 10px 10px 0;
}
.icon-container {
  border: 1px solid #C8C8C8;
  box-shadow: 1px 0px 8px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 1px 0px 8px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 1px 0px 8px rgba(0, 0, 0, 0.5);
  background-color: #FFF;
  width: 215px;
  height: 215px;
}
#connection-details {
  width: 162px;
  padding: 8px 12px;
}
#connection-info {
  margin-top: 100px;
}
#connection-note {
  margin-top: 10px;
}
#connection-note textarea,
#connection-other-relation input {
  width: 143px;
}
#connection-note textarea {
  font-size: 11px;
  height: 70px;
}
#connection-count {
  margin-top: 20px;
  text-align: center;
  font-size: 10px;
  color: #777;
  line-height: 10px;
}
.icon-holder {
  margin: 7px;
  background-color: #959595;
  height: 201px;
  width: 201px;
  position: relative;
  text-align: center;
}
.icon-info {
  background-color: #000;
  filter: alpha(opacity=65);
  -moz-opacity: 0.65;
  opacity: 0.65;
  color: white;
  position: absolute;
  bottom: 0;
  height: 50px;
  left: 0;
  line-height: 12px;
  padding: 5px;
  text-align: left;
  width: 190px;
}
.icon-info strong {
  display: block;
  font-size: .8125em;
}
i.rel-img {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  border: 1px solid #efefef;
  display: block;
  height: 200px;
  overflow: hidden;
  width: 200px;
}
.cover-person {
  background-image: url(/National_Library/oe_/https://www.fold3.com/i/cover-person.png);
}
.cover-event {
  background-image: url(/National_Library/oe_/https://www.fold3.com/i/cover-event.png);
}
.cover-topic {
  background-image: url(/National_Library/oe_/https://www.fold3.com/i/cover-topic.png);
}
.cover-place {
  background-image: url(/National_Library/oe_/https://www.fold3.com/i/cover-place.png);
}
.cover-organization {
  background-image: url(/National_Library/oe_/https://www.fold3.com/i/cover-organization.png);
}
i.icon-img {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  border: 1px solid #efefef;
  display: block;
  width: 50px;
  height: 50px;
  overflow: hidden;
}
.page:hover i.icon-img {
  border-color: #c8c8c8;
}
.icon-person {
  background-image: url(/National_Library/oe_/https://www.fold3.com/i/person-blank-50.gif);
}
.icon-event {
  background-image: url(/National_Library/oe_/https://www.fold3.com/i/event-blank-50.png);
}
.icon-topic {
  background-image: url(/National_Library/oe_/https://www.fold3.com/i/topic-blank-50.png);
}
.icon-place {
  background-image: url(/National_Library/oe_/https://www.fold3.com/i/place-blank-50.png);
}
.icon-organization {
  background-image: url(/National_Library/oe_/https://www.fold3.com/i/organization-blank-50.png);
}
#uploadwhere {
  margin: 10px 20px;
}
