.img-content *{
	box-sizing: border-box;
}
.img-content{
	width: 100%;
	border: 0px solid #ddd;
	padding: 0px;
}
.img-content .small-img{
	position: relative;
	width: 100%;
	overflow: hidden;
}
.small-img ul{
	list-style: none;
	position: relative;
	width: 5000px;
	margin: 0;
	padding: 0;
	left: 0;
	/*transition: all 1s;*/
}
.small-img ul:after{
	content: "";
	display: block;
	clear: both;
}
.small-img ul li{
	float: left;
	width: 100px;
	height: 60px;
	margin-right: 5px;
	padding: 2px;
    box-sizing: border-box;
}
.small-img ul li img.moveimg{
	width: 100%;
	height: auto;
	cursor: pointer;
	/*border:2px solid transparent;*/
	/*border: 1px solid #d0d0d0;*/
	border-radius: 2px;
}
.small-img ul li img.moveimg.active{
	/*border: 2px solid #FF0000;*/
	border: 2px solid #909090;
	border-radius: 5px;
}
.small-img ul li img.moveimg:hover{
	border: 2px solid #e0e0e0;
	border-radius: 5px;
}




.img-content .big-img{
	margin-top: 5px;
	margin-bottom: 5px;
	width: 350px;
	height: 350px;
	position: relative;/*底下有子DIV所以父DIV要設定relative*/
	overflow: hidden;
	border: 0px solid #d0d0d0;
	/*border: 1px solid #d0d0d0;*/
    /*image-rendering:-moz-crisp-edges;*/
    image-rendering:-o-crisp-edges;
    image-rendering:-webkit-optimize-contrast;
    /*image-rendering: crisp-edges;*/
    -ms-interpolation-mode: nearest-neighbor;
    -webkit-font-smooting:  antialiased;
}
.img-content .big-img #P1 { /*橫的照片*/
	text-align: center; 
	width: 350px;
	height: 350px;
	display: table;
	overflow: hidden; 
	float: left;
}
.img-content .big-img #P1 span {
	display: table-cell; 
	vertical-align: middle;
}
.img-content .big-img #P1 img {
	display: inline-block; 
	width: 100%; 
	padding-top: 6px;
	cursor:pointer;
}
.img-content .big-img #P2 { /*橫的照片*/
	text-align: center; 
	width: 385px;
	height: 330px;
	display: table;
	overflow: hidden; 
	float: left;
}
.img-content .big-img #P2 span {
	display: table-cell; 
	vertical-align: middle;
}
.img-content .big-img #P2 img {
	display: inline-block; 
	width: 100%; 
	padding-top: 6px;
	cursor:pointer;
}
.img-content .big-img #P2:hover { /*放大照片*/
	z-index: 999;
	transform: scale(1.288);
	-webkit-transform: translateZ(999);
	-moz-transform: translateZ(999);
	-ms-transform: translateZ(999);
	-o-transform: translateZ(999);
	transform: translateZ(999);
	/*transform: rotate(15deg) translate(-20px,0px);*/
	border: 0px #d6d6d6 solid;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
}

.small-img .left{
	right: 0px;
	top: 18px;
}
.small-img .right{
	left: 4px;
	top: 18px;
}
.small-img .right,.small-img .left{
	display: inline-block;
	position: absolute;
	z-index: 10;
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	background: rgba(0,0,0,0.6);
	color: #FFFFFF;
	cursor: pointer;
	font-weight: 900;
}


.big-img .img-parent{
	width:100%;
	height: 100%;
	position: absolute;
}
.img-rotate{
	position: absolute;
	display: inline-block;
	width: 32px;
	height: 32px;
	z-index: 100;
	background-color: rgba(0,0,0,0.1) !important;
	cursor: pointer;
}
.img-rotate.left{
	top: 5px;
	left: 5px;
	background: url(photos/left_rotate.png) no-repeat center;
}
.img-rotate.left:hover{
	background: url(photos/left_rotate_h.png) no-repeat center;
}
.img-rotate.right{
	left: 5px;
	top: 40px;
	background: url(photos/right_rotate.png) no-repeat center;
}
.img-rotate.right:hover{
	background: url(photos/right_rotate_h.png) no-repeat center;
}
