.photoGalleryWrpr {position:relative;margin-bottom: 15px;}
.photoGalleryWrpr h2 {color:#585858;font-size:18px;font-weight:normal;margin:0 0 10px;}
.photoGalleryWrpr .photoGalleryName {}
.photoGalleryWrpr .photoGalleryRatingWrpr {}
.photoGalleryWrpr .photo_toolbar {height:20px;}
.photoGalleryWrpr .photo_toolbar a.photo_goback, #mod_photo_viewer .photo_toolbar a.photo_goback:link, #mod_photo_viewer .photo_toolbar a.photo_goback:visited {background:url("/cms/images/gallery/icon_go_back.gif") no-repeat scroll 0 0 transparent;color:#585858;display:block;float:left;padding-left:17px;text-decoration:none;}
.photoGalleryWrpr .photo_toolbar a.photo_email, #mod_photo_viewer .photo_toolbar a.photo_email:link, #mod_photo_viewer .photo_toolbar a.photo_email:visited {background:url("/cms/images/gallery/icon_email_to.gif") no-repeat scroll 0 0 transparent;color:#585858;display:block;float:right;padding-left:19px;text-decoration:none;}
.photoGalleryCycleWrpr {background: #F6F6F6;border:1px solid #A7A7A7;padding:0;position:relative;width:100% !important;z-index:10;}
.photoGalleryCycleWrpr div{text-align:center;}
.photoGalleryPhotoCountWrpr {position:relative;}
.photoGalleryPhotoCount {color:#6E6E6E;position:absolute;right:30px;top:10px;}
.photoGalleryCounter {}
.photoGalleryBorder {border:1px solid #E0E0E2;padding:2px;position:relative;}
.photoGalleryCycleItem {width:100%;}
.photoGalleryCyclePhotoWrpr {margin:30px auto 10px;padding:0;position:relative;}
.photoGalleryNavLeft {cursor:pointer;left:0;position:absolute;top:45%;z-index:20;}
.photoGalleryNavRight {cursor:pointer;position:absolute;right:0;top:45%;z-index:20;}
.photoGalleryPhoto {}
.photoGalleryCaption {color:#666666;font-size:10px;margin:3px auto;}
.photoGalleryDesc {}
.photoGalleryThumb {border-style:none;height:62px;width:80px;}
.photoGalleryPhotoNavHoriz {height:1%;margin:15px 0 15px 1px;overflow:hidden;position:relative;width:564px;}
.photoGalleryPhotoNavHoriz li {float:left;list-style:none outside none;margin:0 6px 0 0;padding:0;}
.photoGalleryPhotoNavHoriz a.prevPage {background:url("/cms/images/gallery/thumbs_arrow_back.gif") no-repeat scroll 0 0 transparent;cursor:pointer;display:block;float:left;height:62px;text-decoration:none;width:15px;margin-top:1px;}
.photoGalleryPhotoNavHoriz a.nextPage {background:url("/cms/images/gallery/thumbs_arrow_next.gif") no-repeat scroll 0 0 transparent;cursor:pointer;display:block;float:right;height:62px;text-decoration:none;width:15px;margin-top:1px;}
.photoGalleryPhotoNavHoriz a.disabled {background-position:0 -62px;}
.photoGalleryPhotoNavHoriz li a {border:1px solid #fff;display:block;text-align:center;width:80px;height:62px;background-position: center center;background-repeat:no-repeat;}
.photoGalleryPhotoNavHoriz li.activeSlide a{border:1px solid red;}
.photoGalleryPhotoNavHoriz a.activeSlide {border:1px solid #999999;}
.photoGalleryPhotoNavHoriz a.activeSlide img {cursor:default;opacity:0.4;}
.photoGalleryPhotoNavHoriz a:focus {outline:medium none;}
.photoGalleryPhotoNavHoriz img {}
.photoGalleryPhotoNavHoriz .scrollable ul {margin:0;padding:0;}
.photoGalleryPhotoNavHoriz .scrollable .items {cursor:pointer;float:left;height:82px;margin:0;padding:0;vertical-align:middle;width:82px;}
.photoGalleryCycleCredits {font-size:11px;font-style:italic;margin:0 0 8px 30px;width:500px;}
.photoGalleryCycleDesc {margin: 0px auto;width:500px;}
.photoGalleryPhotoNavHoriz .scrollable {float:left;height:64px;margin:0 0 10px 6px;overflow:hidden;position:relative;width:528px;}
.photoGalleryPhotoNavHoriz .scrollable .items {position:absolute;width:20000em;}
.photoGalleryPhotoNavHoriz .scrollable .items div {float:left;}
.photoGalleryPhotoNavHoriz .navi {height:20px;margin-left:268px;width:280px;}
.photoGalleryPhotoNavHoriz .navi a {background:url("/cms/images/gallery/navigator.gif") no-repeat scroll 0 0 transparent;cursor:pointer;display:block;float:left;font-size:1px;height:8px;margin:3px;width:8px;}
.photoGalleryPhotoNavHoriz .navi a:hover {background-position:0 -8px;}
.photoGalleryPhotoNavHoriz .navi a.active {background-position:0 -16px;cursor:default;}

.galleryListingWrpr {margin-bottom:15px;}
.galleryListingItemImageWrpr {text-align:center;}


.gallery-filter {
	margin:0 0 1rem 0;
	background:#fff;
	padding-left:0;
	padding-right:0;
}

@media only screen and (min-width:48em){
	.gallery-filter .formee {
		display:table;
		width:100%;
	}

	.gallery-filter-col {
		display:table-cell;
	}

	.gallery-filter-col:nth-child(1){
		width:245px;
	}
	
	.gallery-filter-col:nth-child(2){
		width:140px;
	}
}

.gallery-filter-label {
	text-transform: uppercase;
	font-size: 1rem;
	font-weight: bold;
	color: #234174;
	letter-spacing: 1px;
	display:inline-block;
	margin-right:5px;
}

.gallery-filter select {
	min-width:220px;
	max-widtH:300px;
	border-style:none;
	margin:0;
	background-color:#ebebeb;
}

.gallery-filter label {
	display:inline-block;
}

.gallery-filter a, 
.gallery-filter label, 
.gallery-filter .formee label {}

.gallery-landing-filter {
	margin:0 0 1rem 0;
}

.gallery-landing-filter select {
	margin-top:4px;
}

.galleryListingMargin {
		display: -webkit-box;
	display: -moz-box;   
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
	-ms-flex-wrap:wrap;
	width: 100%;
}

.galleryListingItemWrpr {
	background:#eeeeee;
	padding:1rem;
	margin-bottom:1rem;
	text-align:center;
	width:100%;
}

.galleryListingItemWrpr img {
	padding:4px;
	background:#fff;
	border:1px solid #ccc;
	width:100%;
}

.galleryListingItemImageTextLink h3 {
	margin:0;
}

.galleryListingItemImageTextLink a {
	text-decoration:none;
}

@media only screen and (min-width:48em){
	.galleryListingMargin > div {
		width:48%;
		margin-left:1%;
		margin-right:1%;
	}
}

@media only screen and (min-width:64em){
	.galleryListingMargin > div {
		width:31%;
	}
}


/* Slider */

.gallery-slider {
	margin:0 1rem;
}

.gallery-slider .slick-slide {
	padding:1rem;
}

.gallery-slider .image {
	position: relative;
	padding-bottom: 90%; 
	padding-top: 25px;
	height: 0;
    margin-bottom: 1rem;
	overflow:hidden;
	text-align:center;
}

.gallery-slider .image img {
	position: absolute;
	top:0;
	right:0;
	left:0;
	margin:0 auto;
	/*left:-35%;*/
	/*min-width:100%;*/
    max-width: 9999rem !important;
	height:100% !important;
}

.gallery-slider .slick-prev, 
.gallery-slider .slick-next,
.photo-slider .slick-prev, 
.photo-slider .slick-next {
	background:transparent;
	top:20%;
}

@media only screen and (min-width:48em){
	.photo-slider .slick-arrow {
		display:none !important;
	}
}

.gallery-slider .slick-prev {
	left:-35px;
}

.gallery-slider .slick-next {
	right:-35px;
}

.gallery-slider .slick-prev:hover,
.gallery-slider .slick-prev:focus,
.gallery-slider .slick-next:hover,
.gallery-slider .slick-next:focus,
.photo-slider .slick-prev:hover,
.photo-slider .slick-prev:focus,
.photo-slider .slick-next:hover,
.photo-slider .slick-next:focus {
	background:transparent;
}

.gallery-slider .slick-prev:before,
.gallery-slider .slick-next:before,
.photo-slider .slick-prev:before,
.photo-slider .slick-next:before {
	color:#e94d22;
}

.gallery-slider h3 {
	color:#000;
	text-transform:uppercase;
	font-weight:600;
}

.view-link {
	text-transform:uppercase;
	font-size:14px;
}

@media only screen and (min-width:48em){
	.gallery-slider .slick-prev, 
	.gallery-slider .slick-next {
		top:30%;
	}	
}

@media only screen and (min-width:80em){
	.gallery-slider .slick-prev, 
	.gallery-slider .slick-next {
		top:40%;
	}
	
	.gallery-slider {
		margin:0 -1rem;
	}
	
	.gallery-slider .slick-prev {
		left:-50px;
	}

	.gallery-slider .slick-next {
		right:-50px;
	}	
	
}

/* gallery listing */

.gallery-list a {
	display:block;
	position:relative;
	text-decoration:none;
}

.gallery-list .image {
    position: relative;
    padding-bottom: 90%;
    padding-top: 25px;
    height: 0;
    overflow: hidden;
    text-align: center;
}

.gallery-list .image img {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    max-width: 9999rem !important;
    height: 100% !important;
}

.gallery-list .text {
	color:#fff;
	background:rgba(78,108,175,0.9) url(/cms/images/icon-more.gif) no-repeat 100% 100%;
	padding:10px 20px;
	text-decoration:none;
	position:absolute;
	bottom:0;
	left:0;
	width:100%;
}

.gallery-list .text h3 {
	color:#fff;
	text-transform:uppercase;
}

.gallery-list .text p {display:none;}

@media only screen and (min-width:48em){
	
	.gallery-list a:hover .text,
	.gallery-list a:focus .text {
		display:block;
		height:100%;
		top:0;
	}
	
	.gallery-list a:hover .text p,
	.gallery-list a:focus .text p	{
		display:block;
	}	
	
}

@media only screen and (min-width:60em){
	 
}

/* Gallery Details */

.photo-slider .date {
	color: #797979;
	text-transform:uppercase;
	font-size: 1rem;
	font-weight: bold;
	letter-spacing:1px;		
}

.photo-slider .image {
	text-align:center;
}

.photo-slider img {
	margin:0 auto 1rem auto;
} 

.photo-slider h3 {
	color:#000;
	text-transform:uppercase;
	font-weight:600;
}

.photo-slider .description {
	margin-bottom:2rem;
}

.photo-slider .photo-copyright {
	color:#797979;
	margin-bottom:2rem;
}

.photo-slider .photo-copyright:before {
	content:"";
	height:3px;
	width:200px;
	display:block;
	margin-bottom:2rem;
	background:#e94d22;
}

.photo-slick-nav {
  margin: 0 0 1rem 0;
}
.photo-slick-nav .photo-slick-nav__title {
  margin: 0 5px;
}
.photo-slick-nav .slick-dots {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  bottom: auto;
  padding: 10px 0;
}
.photo-slick-nav .slick-dots li {
  overflow: hidden;
  width: auto;
  height: auto;
  margin: 5px;
}
.photo-slick-nav .custom-thumb {
  position: relative;
  width: 100px;
  height: 100px;
  transition: all 0.3s ease-in-out;
  display:block;
}
.photo-slick-nav .custom-thumb:before {
  display: none;
}
.photo-slick-nav .custom-thumb:after {
  content: "";
  position: absolute;
  top: -30px;
  bottom: -30px;
  left: -30px;
  right: -30px;
  box-shadow: inset 0 0 0 0 #fff;
  transition: all 0.3s ease-in-out;
}
.photo-slick-nav .custom-thumb:hover, 
.photo-slick-nav .custom-thumb:focus {
  background: #244175;
}
.photo-slick-nav .custom-thumb:hover .custom-thumb__bg,
.photo-slick-nav .custom-thumb:focus .custom-thumb__bg {
  opacity: .6;
}
.photo-slick-nav .custom-thumb__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  transition: all 0.2s ease-in-out;
}

.photo-slick-nav .slick-active .custom-thumb:after {
  top: -30px;
  bottom: -30px;
  left: -30px;
  right: -30px;
  box-shadow: inset 0 0 0 40px #244175;
  
}
.photo-slick-nav .slick-active .custom-thumb__bg {
  transition: 0.3s ease-in-out 0.1s;
}

.gallery-details-main .image {
	margin:0 0 1rem 0;
}

@media only screen and (max-width:47.9em){
	.gallery-details .gallery-details-main,
	.gallery-details .gallery-details-rail,
	.gallery-details [class*="grid_"] {
		width:100%;
	}
	.gallery-details-rail {
		display:none;
	}
}

.btn-go {
	background:#446bbd;
	border:3px solid #cccccc;
	border-radius:50%;
	text-transform:uppercase;
	color:#fff;
	font-weight:800;
	font-size:16px;
	padding:5px;
	margin-left:5px;
}

.gallery-details-tools .filter a.back-link {
	text-transform: uppercase;
	font-size: 1rem;
	font-weight: bold;
	color: #234174 !important;
	letter-spacing: 1px;
	text-decoration:none;
}

.gallery-details-tools .filter a.back-link:hover,
.gallery-details-tools .filter a.back-link:focus {
	text-decoration:underline;
}

.gallery-details-tools .back-link:before {
	color: #234174;
	content:"\25c2";
	display:inline-block;
	top:0px;	
	-ms-transform: scale(0.6,1); /* IE 9 */
    -webkit-transform: scale(0.6,1); /* Safari */
    transform: scale(0.6,1);
}

/*
.gallery-details-tools .back-link:after {
	color: #234174;
	content:"|";
	display:inline-block;
	top:-1px;	
	position:relative;
	margin-left:22px;
}
*/