
.centered {
  text-align: center;
}

#pages { display: none; }

ul.thumbnails { list-style: none; padding:0; margin: 0; margin-bottom: 16px; }
ul.thumbnails > li { display: inline-block; margin: 5px; zoom: 1; vertical-align: top; width: 140px; *display:inline; }

div.thumbnail {
  display: block;
  padding: 4px;
  line-height: 1;
  border: 1px solid #DDD;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
}

.thumbnail .wrap-img {
  display: table;
  height: 120px;
  width: 120px;
  margin-top: 8px;
  margin-bottom: 12px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

a.img img {
  max-width: 120px;
}

.movie-label {
    position: absolute;
    bottom: 20px;
    right: 5px;
    background: #fff;
    padding: 2px;
}

a.img {
  height: 120px;
  width: 120px;
  display: block;
  margin-top: 8px;
  margin-bottom: 12px;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.img > img:first-child {
/*border: 4px solid black;*/
vertical-align: middle;
border: 0;
max-width: 120px; /* 100% bleeds on IE/FF? */
  -webkit-box-shadow: 0 1px 10px rgba(102,102,102,0.5);
  -moz-box-shadow: 0 1px 10px rgba(102,102,102,0.5);
  box-shadow: 0 1px 10px rgba(102,102,102,0.5);

}

.caption {
  text-align: left;
}

ul.caption {
    list-style-type: none;
    margin-left: 10%;
}

ul.caption li { line-height: normal; }

.pagination {
  display: inline-block !important;
  margin-left: auto;
  margin-right: auto;
}

dd.caption {
  font-size: 1.5rem;
}

.inner-wrap {
  margin-top: 8px;
}

.inner-wrap h2 {
  font-size: 2.0rem;
}

.taxon-identification p {
  margin-bottom: 4px;
}

.padded-bottom {
  margin-bottom: 18px;
}

.xxinner-wrap p, .xxmetadata p {
/*  font-family: 'Averia Serif Libre', serif; */  
  /*font-family: 'Bitter', serif;*/
  font-family: 'Alegreya', serif;
}

.inner-wrap .features {
  border-left: none;
}

/*.navlist li.active {
  font-weight: bold;
  border-left: 4px solid #a7a4a3;
  padding-left: 4px;
}*/

.ypagination {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.ypagination a.btn {
  padding-bottom: 4px;
}

.xpagination {
  display: inline-block;
  border: 1px solid 
  #CDCDCD;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.xpagination a {
	display: block;
	float: left;
	height: 24px;
	padding-top: 4px;
	width: 20px;
	background-color: rgb(243,243,243); /*rgb(0,50,75);*/
	color: #555555;
	text-align: center;
	text-decoration: none;
	xfont-family: Times, 'Times New Roman', Georgia, Palatino; /* ATTN: need a better font stack */
	font-weight: bold;
	xfont-size: 16px;
	outline: none;
	vertical-align: middle;
  border-bottom: none;
	
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(221,221,221)),
		color-stop(1, rgb(243,243,243))
	);
	background-image: -moz-linear-gradient(
		center bottom,
		rgb(221,221,221) 0%,
		rgb(243,243,243) 100%	
	);
	
}

.xpagination a:hover, .xpagination a:focus, .xpagination a:active {
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, #CECECE),
		color-stop(1, #E4E4E4)
	);
	background-image: -moz-linear-gradient(
		center bottom,
		#CECECE 0%,
		#E4E4E4 100%	
	);
  border-bottom: none;
}

.xpagination a:first-child {
	border-radius: 2px 0 0 2px;
	-moz-border-radius: 2px 0 0 2px;
	-webkit-border-radius: 2px 0 0 2px;
}

.xpagination a:last-child {
	border-radius: 0 2px 2px 0;
	-moz-border-radius: 0 2px 2px 0;
	-webkit-border-radius: 0 2px 2px 0;
}

.xpagination a {
	border-right: 1px solid #CDCDCD; 
	border-left: 1px solid #CDCDCD;   
}

.xpagination a:first-child {
	border: none;
}

.xpagination a:last-child {
	border: none;
}

.xpagination input {
	border: none;
	float: left;
	text-align: center;
	height: 26px; /* 20px */
	outline: none;
	vertical-align: middle;
	width: 120px;
	padding: 0;
	margin: 0;
	/*font-family: 'Cabin Condensed';*/
	font-size: 15px;
}

.xpagination .return {
  background: white;
  width: auto;
  padding-left: 4px;
  padding-right: 4px;
/*  border-top: 1px solid white;
  border-bottom: 1px solid white;*/
  border-left: none;
  border-right: none;
/*  margin-top: -1px;
  margin-bottom: -1px;*/
  color: #2a85e8;
  font-weight: normal;
}

.xpagination .return:hover {
  background: white;
  width: auto;
  font-weight: bold;
}

.resource {
  -webkit-box-shadow: 0 1px 10px rgba(102,102,102,0.5);
  -moz-box-shadow: 0 1px 10px rgba(102,102,102,0.5);
  box-shadow: 0 1px 10px rgba(102,102,102,0.5);
}

.media > div {
    margin-top: 8px;
}