/**
 * EasyZoom core styles
*/
.easyzoom {
	position: relative;

	/* 'Shrink-wrap' the element */
	display: inline-block;
	*display: inline;
	*zoom: 1;
}

.easyzoom img {
	vertical-align: bottom;
}

.easyzoom.is-loading img {
	cursor: progress;
}

.easyzoom.is-ready img {
	cursor: crosshair;
}

.easyzoom.is-error  img {
	cursor: not-allowed;
}

.easyzoom-notice {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 150;
	width: 10em;
	margin: -1em 0 0 -5em;
	line-height: 2em;
	text-align: center;
	background: #FFF;
	box-shadow: 0 0 10px #888;
}

.easyzoom-flyout {
	position:absolute;
	z-index: 100;
	overflow: hidden;
	background: #FFF;
}

/**
 * EasyZoom layout variations
 */
.easyzoom--overlay .easyzoom-flyout {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.easyzoom--adjacent .easyzoom-flyout {
	top: 0;
	left: 100%;
	width: 100%;
	height: 100%;
	margin-left: 20px;
}

#p-img-wrapper{
	border:0px solid red; 
	float:left;
	width:48%; 
	margin-right:5px;
}

#p-thumbnails{ 
	width: 100%;
	border: 0px solid blue; 
	margin: 0;
    padding: 0;
    display: flex;
	flex-wrap: wrap;
}

#p-thumbnails li{
    display: inline-block;
    margin:2px;
    padding:0px;
    list-style-type:none;
    list-style-position:outside;
    position:relative;     
    border: 2px solid #ffffff;
	background-color: #ffffff;
    width: 75px;
}

#p-thumbnails img{
	margin:0px; 
	cursor:hand;
	width: 75px;
	height: auto;
}

#p-thumbnails li:hover{
	border:2px solid #216fed;
}

#p-main-photo{
	width:100%; 
	overflow:hidden;
}

#p-main-photo #main-photo{
    border:0px solid black;  
   -webkit-box-shadow:1px 1px 5px 0px #2D2D2D;
    -moz-box-shadow:1px 1px 5px 0px #2D2D2D;
    box-shadow: 1px 1px 5px 0px #2D2D2D; /*box-shadow: h-shadow v-shadow blur spread color inset;*/ 
    width: 100%;
}