/* PAPhotobox stack v1.2.3 */



#pbOverlay.hide, #pbOverlay .hide {
	display: block;
} /* needed to make things work with Foundation framework - JR */

#pbOverlay.show {
	opacity: 1;
	pointer-events: auto;
}

#pbOverlay {
	opacity: 0;
	overflow: hidden;
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 100000 !important; /* changed to deal with the overenthusiastic z-indexes of Henk's Stripped theme */
	left: 0;
	top: 0;
	text-align: center;
	pointer-events: none;
	-moz-user-select: none;
	
	
	-webkit-transform: translate3d(0px, 0px, 0px);
	-webkit-transition: opacity 300ms ease;
	    -ms-transition: opacity 300ms ease;
	        transition: opacity 300ms ease;
}

#pbOverlay.msie {
	background-color: rgba(255,255,255,0.6);
}

#pbOverlay.msie.pbLoading .wrapper {
	background: url('../images/loading.gif') no-repeat center center;
}

@keyframes pbLoaderFrames {
	50%{ height: 5px;
}

}
@-webkit-keyframes pbLoaderFrames {
	50%{ height: 5px;
}

}

#pbOverlay .pbLoader {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	-webkit-transform: scale(.2);
	        transform: scale(.2);
	position: absolute;
	z-index: 999;
	top: 50%;
	left: 50%;
	margin: -50px 0 0 -50px;
	text-align: center;
	border-radius: 100%;
	box-shadow: 15px 32px 60px -20px #FFF inset, 1px 1px 3px 1px #FFF inset, 0 0 20px;
	width: 100px;
	height: 100px;
	        transition: 0.3s;
	-webkit-transition: 0.2s;
}

#pbOverlay.thumbs .pbLoader {
	margin-top: -100px;
}

#pbOverlay.pbLoading:not(.msie):not(.error) .pbLoader {
	visibility: visible;
	opacity: 1;
	-webkit-transform: scale(1);
	        transform: scale(1);
}

#pbOverlay .pbLoader b {
	display: inline-block;
	vertical-align: middle;
	margin: 0 2px;
	width: 8px;
	height: 60px;
	border-radius: 5px;
	background: rgba(255,255,255,0.8);
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	-webkit-animation: .9s pbLoaderFrames infinite linear;
	        animation: .9s pbLoaderFrames infinite linear;
}

#pbOverlay .pbLoader b:nth-child(2) {
	-webkit-animation-delay: .3s;
	        animation-delay: .3s;
}

#pbOverlay .pbLoader b:nth-child(3) {
	-webkit-animation-delay: .6s;
	        animation-delay: .6s;
}

#pbOverlay .wrapper:after,
#pbCaption .pbThumbs ul:after,
#pbOverlay .prevNext:after,
#pbOverlay .pbLoader:before {
	content: "";
	display: inline-block;
	height: 100%;
	margin-right: -0.25em;
	vertical-align: middle;
}

/* Animation when image was not loaded */

@keyframes deadImage {
	50%{ text-shadow: 0 0 25px rgba(255,255,255,.5);
	        transform: scale(0.85);
}

}

@-webkit-keyframes deadImage {
	50%{ text-shadow: 0 0 25px rgba(255,255,255,.5);
	-webkit-transform: scale(0.85);
}

}

#pbOverlay .wrapper {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	vertical-align: middle;
	height: 100%;
	perspective: 1200px;
	-webkit-perspective: 1200px;
	position: relative;
}

#pbOverlay.video .wrapper {
	z-index: 11;
	display: inline-block;
}

#pbOverlay.pbLoading .wrapper {
	display: inline-block\9;
	width: 100%;
} /* ie8+9 hack */

#pbOverlay .wrapper:before {
	content: '\2716';
	color: transparent;
	
	font-size: 0;
	vertical-align: middle;
	cursor: default;
	-webkit-transition: text-shadow .7s ease-out;
	        transition: text-shadow .7s ease-out;
}

#pbOverlay.error .wrapper:before {
	font-size: 22em;
	text-shadow: 0 0 0 #FFF;
	-webkit-animation: 2s 1s deadImage infinite linear;
	        animation: 2s 1s deadImage infinite linear;
}

#pbOverlay.thumbs .wrapper {
	margin-top: -50px;
	padding: 50px 0;
}

#pbOverlay.error .wrapper img {
	width: 0;
}

#pbOverlay .wrapper > div {
	display: none;
	width: 624px;
	height: 351px;
	vertical-align: middle;
	border-radius: 5px;
	background: rgba(0,0,0,0.5);
}

#pbOverlay.video .wrapper > div {
	display: inline-block;
}

#pbOverlay iframe, #pbOverlay embed, #pbOverlay object {
	display: block;
	width: 100%;
	height: 100%;
	opacity: 1;
	transition: 0.5s;
}

#pbOverlay .wrapper .hide iframe {
	opacity: 0;
}

#pbOverlay.show .wrapper > * {
	    -ms-transition: .3s .5s ease-out;
	-webkit-transition: .8s .5s cubic-bezier(0.1, 0.8, 0.5, 1.03);
	        transition: .8s .5s cubic-bezier(0.1, 0.87, 0.48, 1);
	-webkit-transform: none;
	    -ms-transform: none;
	        transform: none;
	-webkit-backface-visibility: hidden;
	box-shadow: 0 0 20px #000;
}

#pbOverlay .wrapper > *, #pbOverlay.hide .wrapper > .prepare {
	display: inline-block;
	opacity: 1;
	vertical-align: middle;

	        transform: scale(0) rotateX(80deg);
	-webkit-transform: scale(0) rotateX(80deg);
	    -ms-transform: scale(0) rotateX(80deg);

	border-radius: 6px;
	border: none;
	max-height: 95%;
	max-width: 100%;
}

#pbOverlay.on .wrapper > * {
	        transition-delay: 0s;
	-webkit-transition-delay: 0s;
	    -ms-transition-delay: 0s;
}

#pbOverlay .wrapper .zoomable {
	        transition: .1s;
	-webkit-transition: .1s;
	    -ms-transition: .1ms;
	position: relative;
	z-index: 9;
}

#pbOverlay.hide .wrapper > * {

	        transform: scale(1.2);
	-webkit-transform: scale(1.2);
	        transform: none\9;

	opacity: 0;
	-webkit-transition: .4s ease-in;
	    -ms-transition: .4s ease-in;
	        transition: .4s ease-in;
}

/*-- close button --*/

#pbCloseBtn, #pbAutoplayBtn {
	position: absolute;
	top: -50px;
	right: -50px;
	z-index: 999;
	display: block;
	padding: 0 0 20px 20px;
	text-align: center;
	cursor: pointer;
	color: #000000;
	        transition: .3s .3s ease-out;
	-webkit-transition: .2s .3s ease-out;
}

.hide #pbCloseBtn {
	top: -50px;
	right: -50px;
}

.on #pbCloseBtn {
	top: -2px;
	right: -2px;
}

#pbCloseBtn:before {
	content: '\00D7';
	font-weight: bold;
}

#pbCloseBtn:before, #pbAutoplayBtn:before {
	display: inline-block;
	height: 35px;
	width: 35px;
	padding: 8px 8px 12px 12px;
	font-size: 2em;
	opacity: 0.8;
	line-height: .7;
	vertical-align: middle;
	background: rgba(0,0,0,0.2);
	border-radius: 0 0 0 70px;
	        transition: 0.1s ease-out;
	-webkit-transition: 0.1s ease-out;
}

#pbCloseBtn:hover:before {
	padding: 15px 10px 24px 24px;
	/*background: rgba(255,100,100,.4); disabled by me -JR*/ 
}

/*-- autoplay controller --*/

#pbAutoplayBtn {
	display: none;
	right: auto;
	left: -50px;
	padding: 0;
	width: 50px;
	height: 50px;
	font-size: 13px;
}

.hasAutoplay #pbAutoplayBtn {
	display: block;
}

#pbAutoplayBtn:hover {
	width: 60px;
	height: 60px;
}

.on #pbAutoplayBtn {
	top: 0px;
	left: 0px;
	        transition: .1s ease-out;
	-webkit-transition: .1s ease-out;
}

#pbAutoplayBtn:before {
	content: '\2016';
	width: 100%;
	height: 100%;
	border-radius: 0 0 70px 0;
	font-weight: bold;
	padding: 0;
	text-indent: -6px;
	text-indent: 6px\9; /* addition by me - JR */
	line-height: 1.2;
}

#pbAutoplayBtn:active:before {
	text-shadow: 0 0 3px #FFF, 0 0 6px #FFF;
}

#pbAutoplayBtn.play:before {
	content: '\25BA';
}

#pbAutoplayBtn .pbProgress {
	display: none\9;
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: absolute;
	padding: 6px;
	top: 0;
	left: 0;
	opacity: 0.2;
	        transform: rotateZ(0deg);
	-webkit-transform: rotateZ(0deg);
          	-ms-transform: rotateZ(0deg);
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	-webkit-transition: 0.4s;
	    -ms-transition: 0.4s;
	        transition: 0.4s;
}

#pbAutoplayBtn.playing .pbProgress {
	-webkit-transform: rotateZ(90deg);
     	-ms-transform: rotateZ(90deg);
	        transform: rotateZ(90deg);
}

#pbAutoplayBtn .pbProgress:before {
	content: '';
	position: absolute;
	right: 0;
	bottom: 0;
	width: 200%;
	height: 200%;
	border-radius: 50%;
	box-shadow: 0 0 0 8px #000 inset;
}

#pbCaption, .hide #pbCaption {
	position: absolute;
	z-index: 999;
	bottom: -110px;
	width: 100%;
	-webkit-transition: 0.4s;
	        transition: 0.4s;
}

.show.on #pbCaption {
	/*bottom: 5px;*/
	bottom: 0.5em;
	font-size: 20px; /* addition by me - JR */
	transition-delay: .5s;
	-webkit-transition-delay: .5s;
}

#pbCaption .title, #pbCaption .counter {
	display: inline-block;
	/*color: #333333;*/
	margin: 0 6px;
}

#pbCaption .title {
	/*opacity: .55;*/
	color: #000000;
}

#pbCaption .counter {
	/*opacity: .55;*/
	color: #999999;
}

.pbCaptionText {
	-webkit-transition: .3s;
	        transition: .3s;
	opacity: 0.9;
	font-weight: bold;
	/* font-size: .9em; moved to .show.on #pbCaption - JR */
	
}

.pbCaptionText.change {
	-webkit-transform: translateY(25px);
	        transform: translateY(25px);
	opacity: 0;
}

#pbOverlay .pbThumbs {
	display: none;
	-webkit-transition: 0.35s;
	        transition: 0.35s;
}

#pbOverlay.thumbs .pbThumbs {
	display: block;
	width: 100%;
	padding: 5px 0 2px;
	overflow: hidden;
}

#pbCaption .pbThumbs:hover {
	clear: both;
}

#pbCaption .pbThumbs ul {
	display: inline-block;
	position: relative;
	list-style: none;
	height: 80px;
	padding: 0 5px;
	margin: 0;
	white-space: pre;
	        transition: 0.2s;
	-webkit-transition: 0.2s;
}

#pbCaption .pbThumbs ul:after {
	vertical-align: bottom;
}

#pbCaption .pbThumbs li {
	display: inline-block;
	vertical-align: bottom;
	height: 70%;
	opacity: .6;
	text-align: center;
	position: relative;
	        transition: 0.15s;
	-webkit-transition: 0.15s;
}

#pbCaption .pbThumbs li.active {
	height: 100%;
	opacity: 1;
}

#pbCaption .pbThumbs li:hover {
	height: 100%;
	opacity: 1;
}

#pbCaption .pbThumbs li.video::before {
	content: '\25BA';
	color: #FFF;
	font-size: 20px;
	height: 20px;
	width: 20px;
	line-height: 0.9;
	position: absolute;
	bottom: 4px;
	left: 7px;
	background: rgba(0,0,0,0.4);
	box-shadow: 0 0 0 3px rgba(0,0,0,0.4);
	border-radius: 0 3px 0 0;
	pointer-events: none;
}

#pbCaption .pbThumbs a {
	height: 100%;
	padding: 0 2px;
	display: block;
	-moz-user-select: none;
}

#pbCaption .pbThumbs li:hover a {
	
}

#pbCaption .pbThumbs img {
	height: 96%;
	min-height: 95.9%;
	border: 2px solid #FFFFFF;
	max-width: none;
	border-radius: 0;
	        transition: 0.15s;
	-webkit-transition: 0.15s;
}

#pbCaption .pbThumbs img:hover {
	border-color: #FFFFFF !important; /*addition by me - JR*/
}

#pbCaption .pbThumbs li:hover img {
	min-height: 96%;
}

/* fix a bug in Chrome and Opera */

#pbCaption .pbThumbs li.fast a img {
	        transition: none;
	-webkit-transition: none;
}

#pbCaption .pbThumbs li.active a img {
	border-color: #E6E6E6;
	min-height: 96%;
}

#pbCaption .pbThumbs li.active a img:hover {
	cursor: default; /*addition by me - JR*/
}

#pbOverlay .prevNext {
	display: none;
	background: rgba(0,0,0,0);
	position: absolute;
	z-index: 10;
	height: 100%;
	width: 35%;
	padding: 80px 0;
	opacity: 0;
	filter: alpha(opacity=50); /* IE8? */
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	top: 0;
	        transition: .2s ease-out;
	-webkit-transition: .2s ease-out;
	text-shadow: 0 0 12px #000, 0 0 10px #FFF;
	cursor: pointer;
}

#pbOverlay.hasArrows .prevNext {
	display: block;
}

#pbOverlay.on .prevNext:hover {
	opacity: .5;
	filter: alpha(opacity=60); /* IE8? */
}

#pbOverlay.on .prevNext:active {
	transition: 80ms;
	opacity: 1;
	filter: alpha(opacity=100); /* IE8 ? */
	text-shadow: 0 0 16px #FFF, 0 0 10px #000;
}

.prevNext b {
	display: inline-block;
	vertical-align: middle;
	
}


}

#pbPrevBtn b {
	        transform: scale(.4) translateX(350px);
	-webkit-transform: scale(.4) translateX(350px);
}

#pbNextBtn b {
	        transform: scale(.4) translateX(-350px);
	-webkit-transform: scale(.4) translateX(-350px);
}

/* */

#pbPrevBtn b:before, #pbNextBtn b:after {
	display: inline;
	line-height: .3;
	font-size: 18em;
	font-weight: normal;
	color: #191919;z-index
	font-family: Arial;
}

#pbPrevBtn b:before {
	content: '\2039';
}

#pbNextBtn b:after {
	content: '\203A';
}

#pbOverlay.on #pbPrevBtn:hover b {
	        transform: scale(1) translateX(20px);
	-webkit-transform: scale(1) translateX(20px);
}

#pbOverlay.on #pbNextBtn:hover b {
	        transform: scale(1) translateX(-20px);
	-webkit-transform: scale(1) translateX(-20px);
}

#pbOverlay.show #pbPrevBtn, #pbOverlay.show #pbNextBtn {
	
}

#pbOverlay.show #pbPrevBtn {
	left: 0;
	text-align: left;
}

#pbOverlay.show #pbNextBtn {
	right: 0;
	text-align: right;
}

/*------- media queries (for small screens) -----------*/

@media all and (max-width:700px) {

#pbOverlay .wrapper img, #pbOverlay.hide .wrapper img.prepare {
	max-height: 100%;
}

#pbOverlay.thumbs .wrapper {
	padding: 0;
	margin: 0;
}

#pbOverlay .pbThumbs {
	margin-bottom: -60px;
}

#pbOverlay .pbThumbs.show {
	margin: 0;
}

#pbCaption .pbThumbs ul {
	height: 50px;
}

#pbCaption .pbThumbs li {
	height: 100%;
	opacity: 1;
}

#pbCaption .pbThumbs li img {
	min-height: 96.5%;
}

}

/* fix for Chrome */

@media all and (max-width:710px) {

#pbCaption .pbThumbs li.active a img {
	min-height: 96%;
}

}
/* end of PA/Photobox stack */
#stacks_in_5396 {
	background-color: rgba(204, 204, 204, 1.00);
}

#stacks_in_3145 {
	margin: 20px 0px 10px 0px;
}
#stacks_in_6592>.s3_row {
	margin: 0 -10px;
}

#stacks_in_6592>.s3_row>.s3_column_left {
	width: 25.00%;
}

#stacks_in_6592>.s3_row>.s3_column_right {
	width: 75.000000%;
}




#stacks_in_6592>.s3_row>.s3_column {
	padding: 0 10px;
}










@media only screen and (max-width: 770px) {



}



@media only screen and (max-width: 400px) {


	#stacks_in_6592>.s3_row  {
		margin: -10px 0;
	}
	#stacks_in_6592>.s3_row>.s3_column {
		padding: 10px 0;
		width:100%;
	}


}






#stacks_in_6593 {
	border: solid rgba(230, 230, 230, 1.00);
	border-width:  1px;
	padding:  5px;
}

#stacks_in_6595 {
	margin: 20px 0px 10px 0px;
}

#stacks_in_6596 {
	background-color: rgba(230, 230, 230, 1.00);
	padding:  10px;
}
#stacks_in_5652>.s3_row {
	margin: 0 -2px;
}

#stacks_in_5652>.s3_row>.s3_column_left {
	width: 68.00%;
}

#stacks_in_5652>.s3_row>.s3_column_right {
	width: 32.000000%;
}




#stacks_in_5652>.s3_row>.s3_column {
	padding: 0 2px;
}










@media only screen and (max-width: 770px) {



}



@media only screen and (max-width: 400px) {


	#stacks_in_5652>.s3_row  {
		margin: -2px 0;
	}
	#stacks_in_5652>.s3_row>.s3_column {
		padding: 2px 0;
		width:100%;
	}


}






#stacks_in_832 {
	margin: 20px 0px 0px 0px;
}
#stacks_in_3082_button {
	display:block;
	position: relative;
	text-align: center;
}


#stacks_in_3082 a:link, #stacks_in_3082 a:visited {
	 display:inline-block; 
	
	
	position: relative;
	text-decoration:none;
}
#stacks_in_3082 a:hover, #stacks_in_3082 a:active {
	color:#FFFFFF;
}







#stacks_in_3082 a:link, #stacks_in_3082 a:visited {
	background-color:#FFFFFF;
	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#BFBFBF));
	border:1px solid #BFBFBF;
	padding:3px 20px;
	border-radius:30px;
	color:#FFFFFF;
	box-shadow:rgba(0, 0, 0, 0.5) 0px 1px 2px;
	margin:5px;
	font-weight:bold;
}
#stacks_in_3082 a:hover {
	background-color:#FFFFFF;
	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#A5A5A5));
	box-shadow:rgba(0, 0, 0, 0.25) 0px 2px 4px;
}
#stacks_in_3082 a:active {
	background-color:#FFFFFF;
	box-shadow:rgba(0, 0, 0, 0.75) 0px 0px 4px inset;
}




#stacks_in_3082 {
	-moz-border-radius:  4px;
	-webkit-border-radius:  4px;
	border-radius:  4px;
	margin: 15px 0px 0px 0px;
}
#jCycleStackstacks_in_932 {
	display: block;
}

#jCycleStackstacks_in_932 div.jcycle {
	border-radius: 0px;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	
}

#jCycleStackstacks_in_932 div.jcycle {
	height: auto;
	width: auto;
	background-color: #FFFFFF;
	border-radius: 0px;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
}



#stacks_in_3155 {
	margin: 20px 0px 10px 0px;
}
#toTop{display:none;text-decoration:none;position:fixed;bottom:10px;right:10px;overflow:hidden;width:51px;height:51px;border:none;text-indent:-9999px;background:url(../matchless_files/elevator-images/top.png) no-repeat left top;z-index:9988}#toTop:hover{background:url(../matchless_files/elevator-images/top.png) no-repeat left -51px}#toTop:active,#toTop:focus{outline:none}
