/* Photo Listing */

.galleryListing .modHead { margin-bottom:1em; }
.galleryListing .itemList { margin-bottom:1em; }
.galleryListing .item { border-top: 1px solid #e4e4e4; }
.galleryListing .item .item,
.galleryListing .item:first-child { border-top: 0; }

.galleryListing .item .aside { padding:1.5em 1em 1em 2%; width:100px; }
.galleryListing .item .content { padding:1.5em 3% 1em; }

.galleryListing .item .title { margin-top:0; }

/* Photo Gallery */

.photoGalleryWrpr { position:relative; z-index:30; }
.photoGalleryWrpr h2 { margin-top: 0; font-size: 2.3em; font-weight: normal; color: #cc0000; }

.photoToolbar a, .photoToolbar a:visited { color:#585858; text-decoration:none; }
.photoToolbar a:hover, .photoToolbar a:focus { color:#c00; }
.photoToolbar .returnLink {
	float:left;
	margin:5px 15px 5px 0;
	padding-left:17px;
	background:url("/cms/images/gallery/icon_go_back.gif") no-repeat scroll 0 0 transparent;
}
.photoToolbar .photoEmail {
	float:right;
	margin:5px 0;
	padding-left:19px;
	background:url("/cms/images/gallery/icon_email_to.gif") no-repeat scroll 0 0 transparent;
}

.photoGalleryRatingWrpr { float:left; }
.photoToolbar .socialMedia { float:right; margin:5px 0; }

.photoCountWrpr { position:relative; z-index:25; }
.photoCount {
	position:absolute;
	z-index:20;
	top:0;
	right:0;
	padding:.5em 1em;
	color:#fff;
	background:#1f1f1f;
}

.photoCycleWrpr { position:relative; z-index:10; width:100% !important; overflow:hidden; background:#070707; }

.photoCycleWrpr, .photoCycleItem, .photoWrpr, .lt-ie9 .photo { height:400px !important }

.photoCycleItem { width:100% !important; }
.photoWrpr { position:relative; display:table; width:100%; }
.photoWrpr .photo { 
	display:table-cell; 
	padding:5%; 
	width:100%; 
	vertical-align:middle; 
	text-align:center; 
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.photo img { width:auto !important; height:auto !important; }

.lt-ie9 .photoWrpr { display:block; }
.lt-ie9 .photoWrpr .photo  { display:block; vertical-align:middle; zoom:1; }
.lt-ie9 .photo img { vertical-align:middle; }
.lt-ie9 .photo span { display:inline-block; height:100%; width:0; vertical-align:middle; }
.lt-ie8 .photo span { display:inline-block; height:100%; zoom:1; }

.photoCycleNav { 
	position:absolute; 
	z-index:20; 
	top:45%; 
	cursor:pointer;
	opacity: .5;
	filter:alpha(opacity = 30);
}
.photoCycleNav img { display:block; max-width:60px; }
.photoCycleNav:hover, .photoCycleNav:focus,
.photoCycleItem:hover .photoCycleNav:hover, 
.photoCycleItem:hover .photoCycleNav:focus { opacity:8; filter:alpha(opacity = 80); }

.photoCycleNav.prev { left:0; }
.photoCycleNav.next { right:0; }

.photoInfo { position:absolute; bottom:0; padding:10px 5%; width:90%; color:#fff; background:#1f1f1f; }
.photoDesc, .photoCredits { margin:0; }

.photoGalleryThumb { border-style:none; width:80px; height:60px; }
.photoList { display:none; margin:15px 0 0; padding:15px 0 5px; list-style:none; }
.photoList li { 
	float:left; 
	display:table; 
	border:1px solid #c4c4c4; 
	margin:0 1em 10px; 
	padding:0; 
	height:125px; 
	-webkit-transition: margin 0.3s ease-out; 
	   -moz-transition: margin 0.3s ease-out;
	     -o-transition: margin 0.3s ease-out;
		    transition: margin 0.3s ease-out;	
}
.photoList li a { 
	display:table-cell;
	padding:8px;
	width:133px; height:100px;
	vertical-align:middle;
	text-align:center;
	background-position:center center;
	background-repeat:no-repeat;
	text-indent:-9999em;
	-webkit-box-shadow:inset 0 0 40px rgba(0,0,0,0);
	        box-shadow:inset 0 0 40px rgba(0,0,0,0);	
	-webkit-transition: all 0.3s ease-out; 
	   -moz-transition: all 0.3s ease-out;
	     -o-transition: all 0.3s ease-out;
		    transition: all 0.3s ease-out;	
}

.photoList li a:hover, .photoList li a:focus {
	-webkit-box-shadow:inset 0 0 40px rgba(0,0,0,.2);
	        box-shadow:inset 0 0 40px rgba(0,0,0,.2);
}
.photoList li a img { border:1px solid #6a6a6a; }

.lt-ie8 .photoList li a { display:block; }
.lt-ie8 .photoList li span { display:inline-block; height:100%; width:0; vertical-align:middle; }
.lt-ie8 .photoList li span { display:inline-block; height:100%; zoom:1; }


@media screen and (min-width:48em){
	.photoList { display:block; }
	.photoList li { width:auto;  }
	.photoCycleNav img { max-width:80px; }
	.photoCycleWrpr, .photoCycleItem, .photoWrpr, .lt-ie9 .photo { height:555px !important }
}

@media screen and (min-width:56.25em){
	.photoList li { margin:0 4px 10px; }
}

@media screen and (min-width:60em){
	.photoList li { margin:0 10px 10px; }
}
