/*if you just want to adjust the size of the stage and the thumbnails, you can do so by editing the following lines: */
.pika-thumbs { width: 25%; height: 400px;}
.pika-stage { width: 75%; height: 400px !important; }

.pikachoose {width: 100%; margin: 0; overflow:hidden; border: 2px solid #ccc; box-sizing: border-box;}
.pika-stage {
	position: relative;
	border-right: 2px solid #ccc;
	box-sizing:border-box;
	/*display: flex;*/
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

	/*if you change the padding on pika-stage you must adjust the top left of this to match! */
	.pika-stage .main-image {position: absolute; top: 0px; left: 0px;}
	.pika-stage .pika-aniwrap{position: absolute; top: 0px; left: 0px;}
	.pika-stage .pika-ani {position:relative;display: none;z-index:2;margin:0 auto;}
.pika-stage img {
	border: 0;
	width: 100%;
	min-height: 100%;
	min-width: 100%;
	margin: auto;
}

.pika-stage .caption {
	position: absolute; 
	background: rgba(255, 255, 255, 0.8); 
	color: black; 
	padding: 6px 15px 15px 15px;
	text-align: right; 
	bottom: 10px; 
	right: 2em;
	margin: 0 0 0 7em;
}

	.pika-stage .caption p {padding: 0; margin: 0;}

.pika-imgnav a {position: absolute; text-indent: -5000px; display: block;z-index:3;cursor:pointer;}
	.pika-imgnav a.previous {width:20px;height:20px;border-left: 5px solid #FFF;border-top: 5px solid #FFF;opacity:0;-webkit-transition: opacity 300ms linear;
		-webkit-transform: rotate(-45deg);-moz-transform: rotate(-45deg);transform: rotate(-45deg);top:45%;left:10px;}
	.pika-imgnav a.next {width:20px;height:20px;border-right: 5px solid #FFF;border-top: 5px solid #FFF;opacity:0;-webkit-transition: opacity 300ms linear;
		-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);transform: rotate(45deg);top:45%;right:10px;}
	.pika-imgnav a:hover{opacity:.9;-webkit-transition: opacity 300ms linear;}	

	.pika-imgnav a.play  {border-color: transparent transparent rgba(255,255,255,.7);border-style: solid;border-width: 0 0 25px 25px;height: 0;width: 0;position:absolute;
		-webkit-transform: rotate(-45deg);-moz-transform: rotate(-45deg);transform: rotate(-45deg);top:14px;left:47%;display:none;}
	.pika-imgnav a.pause {display:none;border-left:5px solid rgba(255,255,255,.7);border-right:5px solid rgba(255,255,255,.8);height: 30px;width: 14px; position:absolute;top:10px;left:47%;}

.pika-textnav {display:none;}

.pika-thumbs {margin: 10px 0 0 17px; padding: 0;}
	.pika-thumbs li {float: left; list-style-type: none; margin: 0 5px; border-bottom: 2px solid #ccc; cursor: pointer;}

		.pika-thumbs li:last {margin: 0;}
		.pika-thumbs li .clip {position:relative;height:100%;text-align: center; vertical-align: center; overflow: hidden; background: #fff}

/*for the tool tips*/
.pika-tooltip{font-size:12px;position:absolute;color:white;padding:3px; background-color: rgba(0,0,0,0.7);border:3px solid black;}
.pika-counter{position: absolute;bottom: 15px;left:15px;color:white;background:rgba(0,0,0,0.7);font-size:11px;padding:3px;-moz-border-radius: 5px;border-radius:5px;}


/* jCarousel Styles */
/*if you're not using the carousel you can delete everything below this */
.jcarousel-skin-pika .jcarousel-container-horizontal { padding: 15px 20px; overflow:hidden;}
.jcarousel-skin-pika .jcarousel-clip-horizontal {height: 90px; width: 485px;}
.jcarousel-skin-pika .jcarousel-item-horizontal { margin-right: 10px;}

/* aspect ratio of 'pika-stage' goes below 2:1; image is full height */
@media only screen and (max-width: 1190px), only screen and (max-device-width: 1190px) {
	.pika-stage img {
		width: auto;
		height: 100%;
	}
}

@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) {
	.pika-thumbs { height: 160px;}
	.pika-stage { height: 160px !important; }
	.pika-stage .caption {
		right: 0;
		margin-right: 0;
		bottom: 0;
		margin-left: 0;
		font-size: 0.9em;
		line-height: 140%;
		padding-bottom: 6px;
	}
	.pika-stage .caption div,
	.pika-stage .caption p {
		display: none;
	}
	.pika-stage .caption h4 {
		font-size: 14px;
		margin: 6px 0;
	}
}

@media only screen and (max-width: 500px), only screen and (max-device-width: 500px) {
	/*.pika-thumbs { height: 280px;}*/
	/*.pika-stage { height: 280px !important; }*/

}