/* CSS Document */

.popup_photos {
	background-color: rgba(0,0,0,1);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	color: #fff;
	box-sizing: border-box;
	transition: all 0.3s;
	overflow: hidden;
	opacity:0;
	
	
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	
}
.popup_photos.show {
	opacity:1;
}
.popup_photos .title {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 3;
}
.button_close {
	position: absolute;
	right: 10px;
	top: 10px;
	cursor: pointer;
	height: 20px;
	width: 20px;
	z-index: 3;
}
.button_close .item {
	transform: rotate(45deg);
	width: 20px;
	height: 1px;
	background-color: #fff;
	position: relative;
	transform-origin: center;
	top: 10px;
}
.button_close .item:last-child {
	transform: rotate(135deg);
	top: 9px;
}

.photos_cell.show{
	opacity: 1;
}

.photos_cell, .photos_cell_flow {
	overflow-y: auto;
	width: 100%;
	height: 100%;
	z-index: 0;
	position: relative;
	 transition: opacity 0.5s;
	
	
}

.photos_cell_flow.show {

	top:0;
	opacity: 1;
	/*
	transition-delay: 1s;
	*/
}
.photos_cell{
	opacity: 0;
}


.photos_cell_padding, .photos_cell_flow_padding {
	padding: 5vh 10vw;
}
.photos_cell_item {
	width: 33.33333%;
		
	padding: 20px;
	box-sizing: border-box;
	float: left;
	transition: all 0.5;
}
.photos_cell_item_img {
	width: 100%;
	padding-top: 100%;
	box-sizing: border-box;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	float: left;
	cursor: pointer;
	transition: all 0.5;
}
.popup_photos_footer {
	position: absolute;
	z-index: 100;
	left: 10px;
	bottom: 10px;
	display: flex;
	align-items: center;
	line-height: 1;
	font-size: 12px;
	width: 200px;
	
}
.ico_popup_list {
	display: inline-block;
	width: 15px;
	height: 13px;
	margin-left: 30px;
	overflow: hidden;
	cursor: pointer;
}
.ico_popup_list.active span {
	background-color: #fff;
}
.ico_popup_list span {
	width: 3px;
	margin-right: 2px;
	margin-bottom: 2px;
	height: 3px;
	float: left;
	border: 1px #fff solid;
	display: inline-block;
}
.popup_page_num_cell {
	padding-top: 3px;
	min-width: 46px;
	text-align: right;
}
.popup_page_num {
}
.popup_page_num::after {
	content: '/';
	margin-left: 2px;
	margin-right: 2px;
}
.ico_popup_photo {
	width: 10px;
	height: 13px;
	border: 1px #fff solid;
	margin-left: 20px;
}
.ico_popup_photo.active {
	background-color: #fff;
}
.photos_cell_flow {
	display: block;
	overflow: hidden;
	position: absolute;
	top: 100vh;
	left: 0;
	z-index: 2;
	opacity: 0;
	
	background-repeat: no-repeat;
	background-position: center;
	background-size: 10px;
	
	/*
	background-image: url(http://commemoi.cn/img/ajax-loader.gif)
	*/
}
.photos_cell_flow_item {
	width: 100%;
	height: 80vh;
	box-sizing: border-box;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	
	position: absolute;
	opacity: 0;
	
	top: 5vh;
	left: 0;
	overflow: hidden;
	text-align: center;
}

.photos_cell_flow_item img{
	max-width: 100%;
	max-height: 100%;
	
}

.photos_cell_flow_item.show {
	
	opacity: 1;
	
	transition: opacity 0.5s;

}
.photos_cell_flow_padding {
	position: relative;
	width: 100%;
	height: 90vh;
	padding: 0;
	top:50%;
	transform: translateY(-50%);
	
	padding-bottom: 0;
	padding-bottom: env( safe-area-inset-bottom );
	
}
.collection_images {
	cursor: pointer;
}

.owl-next > span , .owl-prev > span{
	display: none;
}


.button_arrow_left, .button_arrow_right , .owl-next , .owl-prev {
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: contain !important;
	background-image: url(http://commemoi.cn/img/arrow_left_w.svg) !important;
	position: fixed;
	z-index: 3;
	left: 20px;
	top: 50%;
	transform: translateY(-50%) translateX( -200px );
	height: 50px;
	width: 80px;
	cursor: pointer;
	transition: all 1s;
	
}
.button_arrow_right , .owl-next{
	left: auto;
	right: 20px;
	background-image: url(http://commemoi.cn/img/arrow_right_w.svg) !important;
	transform: translateY(-50%) translateX( 200px );

}

.button_arrow_left.show , .owl-prev.show{
	transform: translateY(-50%) translateX( 0px );
}


.button_arrow_right.show , .owl-next.show{
	transform: translateY(-50%) translateX( 0px );
}

.owl-theme .owl-nav [class*=owl-]:hover{
	background-color: transparent !important;
}



/********************************************************************************/

@media (max-width:768px) {
.photos_cell_item {
	width: 33.33%
}
}

@media (max-width:600px) {
.photos_cell_item {
	padding: 10px;
}
	
.button_arrow_left.show , .owl-prev.show , .owl-prev{
	left: -200px;
}


.button_arrow_right.show , .owl-next.show , .owl-next{
	right: -200px;
}
	
	.photos_cell_flow_padding{
		padding-left: 0;
		padding-right: 0;
	}
	
	.photos_cell_padding{
		padding-top: 10vh;
			
		padding-bottom: 10vh;
	}
	
}
