#gallery-large {
	padding:0;
	border-radius: 0;
}

#gallery-large .gallery-contact {
	-webkit-transition:opacity .3s;
	bottom:0;
	color:#cecece;
	display:inline-block;
	opacity:1;
	position:absolute;
	right:0;
	text-align:right;
	text-align:right;
	transition:opacity 1s;
	vertical-align:bottom;
	width:400px;
}

#gallery-large .gallery-inner {
	margin-left:30px;
	margin-right:30px;
}

#gallery-large .gallery-title {
	display:none;
}

#gallery-large .photo-caption {
	position: absolute;
	bottom: 130px;
	width: 100%;
	left: 0px;
	font-size: 16px;
	clear:both;
	color:#999;
	display:block;
	font-weight: normal;
	font-size:20px;
	height:50px;
	height:20px;
	padding:5px 0 0;
	text-align:center;
}

#gallery-large h2 {
	color:#cecece;
	display:block;
	font-size:14px;
	font-weight:400;
	margin-bottom:0;
	margin-top:5px;
}

#gallery-large.gallery1 {
	background:none;
	background-color:#262525;
}

#gallery-prof-info {
	margin-bottom:18px;
	margin-top:15px;
	position:relative;
}

#gallery-prof-info h1 {
	color:#fff;
	display:block;
	font-size:22px;
	font-weight:400;
	padding-right:10px;
}

#thumbnails #thumbnail_scrolling {
	float:left;
	position:relative;
	width:10000px;
}

#thumbnails #thumbnail_wrapper {
	float:left;
	overflow:hidden;
	width:350px;
}

.ajax-loading {
	-moz-border-radius:5px 5px 0 0;
	-moz-transition:opacity .5s;
	-o-transition:opacity .5s;
	-webkit-border-radius:5px 5px 0 0;
	-webkit-transition:opacity .5s;
	border-radius:5px 5px 0 0;
	display:none;
	height:100%;
	left:0;
	opacity:0;
	position:absolute;
	text-align:center;
	top:0;
	transition:opacity .5s;
	width:100%;
	z-index:2000;
}

.ajax-loading .ajax-spinner {
	background:transparent url(/rms/images/ajax-loader.gif);
	background-position:center center;
	background-repeat:no-repeat;
	height:100%;
	margin:0;
	padding:0;
	position:relative;
	width:100%;
}

.gallery-prof-name {
	display:inline-block;
	vertical-align:top;
	width:380px;
}

.gallery-prof-name .glossary-icon {
	display:none;
}

.gallery-prof-name button {
	background:transparent;
	color:inherit;
	cursor:default;
	margin:0;
	padding:0;
}

.gallery-title {
	display:none;
}

.gallery1 {
	background:#fff;
	background:-moz-linear-gradient(top,#fff 0%,#f7f7f7 100%);
	background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#fff),color-stop(100%,#f7f7f7));
	background:-webkit-linear-gradient(top,#fff 0%,#f7f7f7 100%);
	background:-o-linear-gradient(top,#fff 0%,#f7f7f7 100%);
	background:-ms-linear-gradient(top,#fff 0%,#f7f7f7 100%);
	background:linear-gradient(to bottom,#fff 0%,#f7f7f7 100%);
	border:1px solid #ccc;
	border-radius:3px;
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#f7f7f7',GradientType=0);
	position:relative;
	width:100%;
	padding-bottom: 10px;
	margin-bottom:10px;
}

.photo-caption {
	display:none;
}

.photo-gallery-arrow {
	left:0;
	position:absolute;
	top:0;
}

.photo-large {
	height:320px;
	margin:0 auto;
	overflow:hidden;
	position:relative;
	text-align:center;
	width:100%;
}

.photo-large-link {
	cursor: pointer;
	cursor: -webkit-zoom-in;
	cursor: -moz-zoom-in;
	cursor: zoom-in;
}

.photo-large .photo-large-item {
	left:0;
	position:absolute;
	top:0;
}

.photo-large img {
	opacity:inherit;
}

.photo-large-item {
	display: none;
	-moz-transition:opacity .25s;
	-o-transition:opacity .25s;
	-webkit-transition:opacity .25s;
	opacity:0;
	transition:opacity .5s;
}

.photo-large-item.active {
	opacity:1;
	display: block;

}

.thumbnails {
	clear:both;
	float:left;
	position:relative;
	width:100%;
	opacity: 0;
	padding-top: 4px;
	max-height: 68px;
}

.thumbnails img {
	float:left;
	min-width: 80px;
	min-height: 70px;
}


.thumbnails li {
	display:inline;
	padding-right:2px;
}

.thumbnails li a {
	display:block;
	float:left;
	text-align:center;
	width: 80px;
	height: 66px;
	overflow: hidden;
	border: 1px solid rgba(0,0,0,0);
	-webkit-transition: border .5;
	-moz-transition: border .5;
	transition: border .5;

}

.thumbnails li {
	width: 82px;
	height: 68px;
}
.thumbnails li a.active {
	margin:0;
	border: 1px solid rgba(0,0,0,1);
}

.thumbnails ul {
	-moz-transition:left 1s ease-in-out;
	-o-transition:left 1s ease-in-out;
	-webkit-transition:left 1s ease-in-out;
	left:0;
	position:relative;
	transition:left 1s ease-in-out;
}

.thumbnails-hide {
	display:none;
}

.thumbnails-next {
	background-position:-143px -38px;
	cursor:pointer;
	height:39px;
	margin:13px 12px 0;
	position:absolute;
	right:0;
	top:8px;
	width:20px;
}

.gallery1 .sliderPrevPg,
.gallery1 .sliderNextPg {
	top: 27px;
}
.thumbnails-prev {
	background-position:-122px -38px;
	cursor:pointer;
	height:39px;
	left:0;
	margin:13px 12px 0;
	position:absolute;
	top:8px;
	width:20px;
}

.thumbnails-scroll {
	-moz-transition:opacity 1s;
	-o-transition:opacity 1s;
	-webkit-transition:opacity 1s;
	left:44px;
	overflow:hidden;
	padding-top:10px;
	position:absolute;
	transition:opacity 1s;
	width:350px;
}

@media all and (max-width: 860px) {
	#gallery-large .gallery-contact {
		opacity:0;
	}
	
	.gallery-prof-name {
		width:100%;
	}
}

#gallery-large .gallery-brand {
	color:#fff;
	font-size:14px;
	padding-bottom:10px;
	padding-left:30px;
	padding-top:15px;
}

#gallery-large .gallery-contact a {
	color:#cecece;
}

#gallery-large .gallery-pinterestBtn {
	bottom:15px;
	position:absolute;
	right:20px;
	z-index: 100;
}

#gallery-large .gallery-zoom {
	display:none;
}

#gallery-large .ui-close {
	background-position:-181px -609px;
}

.gallery-pinterestBtn {
	bottom:5px;
	position:absolute;
	right:5px;
	z-index: 100;
}

.gallery-zoom {
	background-position:-181px -575px;
	cursor:pointer;
	height:20px;
	position:absolute;
	right:10px;
	top:10px;
	width:20px;
	z-index:100;
}

.photo-large-next {
	position:absolute;
	right:20px;
	top:48%;
	width:20px;
}

.photo-large-prev {
	height:39px;
	left:10px;
	position:absolute;
	top:48%;
	width:20px;
}

.photo-large-prev .icon:before,
.photo-large-next .icon:before {
	font-size: 34px;
}

#gallery-large .sliderContainer {
	position: absolute;
	bottom: 15px;
	left: 10px;
	box-sizing:	border-box;
}
@media (max-width: 767px) {
	.profile-gallery {
		margin-top:10px;
	}
	#gallery-large .photo-caption {
		padding-top:5px;
		font-size:16px;
		padding-left: 15px;
		padding-right: 15px
	}
}


