.photogallery{
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.5);
	z-index: 1001;
	display: none;
}
.photogallery .layer_loading{
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.5);
	z-index: 1002;
	display: flex;
	align-items: center;
	justify-content: center;
	display: none;
}
.photogallery .gallerycontent{
	position: absolute;
	width: 1000px;
	height: 680px;
	left: 50%;
	margin-left: -500px;
	top: 50%;
	margin-top: -340px;
	display: flex;
}
.photogallery .gallerycontent .left{
	background-color: #333333;
	width: 216px;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.photogallery .gallerycontent .left .title{
	font-size: 18px;
	color: #fff;
	font-weight: bold;
	height: 68px;
	line-height: 68px;
	padding-left: 28px;
}
.photogallery .gallerycontent .left .tabs{
	flex:1;
	overflow-y: auto;
    background: none;
}
.photogallery .gallerycontent .left .tabs a{
	display: block;
	font-size: 13px;
	color: #fff;
	height: 48px;
	line-height: 48px;
	padding-left: 28px;
	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.photogallery .gallerycontent .left .tabs a.checked{
	background-color: #12add3;
}
.photogallery .gallerycontent .right{
	flex:1;
	background-color: #fff;
	position: relative;
	padding-top: 30px;
	padding-bottom: 80px;
	box-sizing: border-box;
}
.photogallery .gallerycontent .right .operations{
	height: 85px;
	line-height: 85px;
	text-align: left;
	padding: 0 30px;
	position: absolute;
	bottom: 0;
	width: 50%;
	left: 0;
	box-sizing: border-box;
}
.photogallery .gallerycontent .right .operations .delete{
	color: #444;
	font-size: 18px;
	background:url(../img/usercenter/editAlbums.png) no-repeat left center; 
	height: 20px;
	line-height: 20px;
	background-position: 0 1px;
	padding-left: 27px;
}
.photogallery .gallerycontent .right .operations .uploadImage {
	display: inline-block;
	position: relative;
	margin-left: 30px;
}
.photogallery .gallerycontent .right .operations .uploadImage input[type="file"]{
	position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0;
    z-index: 99;
    width: 100px;
    cursor: pointer;
}
.photogallery .gallerycontent .right .operations .uploadImage .upload{
	color: #12add3;
	font-size: 18px;
	background:url(../img/usercenter/editAlbums.png) no-repeat left center; 
	height: 20px;
	line-height: 20px;
	background-position: 0 -27px;
	padding-left: 30px;
}
.photogallery .gallerycontent .right .operations .head{
	display: none;
}
.photogallery .gallerycontent .right .submit{
	height: 80px;
	line-height: 80px;
	text-align: right;
	padding: 0 30px;
	position: absolute;
	bottom: 0;
	right: 0;
	width: 50%;
	box-sizing: border-box;
}
.photogallery .gallerycontent .right .submit a{
	display: inline-block;
	font-size: 16px;
	color: #fff;
	width: 106px;
	height: 32px;
	line-height: 32px;
	text-align: center;
}
.photogallery .gallerycontent .right .submit a.cancel{
	background-color: #b3b3b3;
	margin-right: 10px;
}
.photogallery .gallerycontent .right .submit a.confirm{
	background-color: #d5164f;
}
.photogallery .gallerycontent .right .myuploads{
	height: 100%;
}

.photogallery .gallerycontent .right .myuploads .photolists{
	flex:1;
	overflow-y: auto;
	height: 560px;
	padding: 0 24px;
}
.photogallery .gallerycontent .right .myuploads .photolists .loading{
	height: 100%;
	display: flex;
    -webkit-align-items: center;
    align-items: center;
    justify-content: center;
}
.photogallery .gallerycontent .right .myuploads .photolists .list{
	width: 131px;
	height: 131px;
	padding: 6px;
	float: left;
	box-sizing: content-box;
}
.photogallery .gallerycontent .right .myuploads .photolists .list .images{
	position: relative;
	overflow: hidden;
	background-color: #000;
	text-align: center;
	line-height: 131px;
	font-size: 0;
	height: 131px;
}
.photogallery .gallerycontent .right .myuploads .photolists .list .images img{
	max-width: 131px;
	display: inline-block;
	vertical-align: middle;
}
.photogallery .gallerycontent .right .myuploads .photolists .list .select{
	position: absolute;
	display: block;
	top: 5px;
	right: 6px;
	width: 20px;
	height: 20px;
}
.photogallery .gallerycontent .right .myuploads .photolists .list.selected .select{
	background:url(../img/usercenter/editAlbums.png) no-repeat; 
	background-position:  0 -55px;
}
.photogallery .gallerycontent .right .imageContent>div{
	display: none;
}
.photogallery .gallerycontent .right .imageContent .myuploads{
	display: block;
}
.photolayer {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 90;
    display: none;
}
#image_preview{
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.5);
	z-index: 1002;
	display: none;
}
#image_preview .innerContainer{
	width: 1000px;
	height: 800px;
	margin: 0 auto;
	background-color: #fff;
}
#image_preview .innerContainer .image_preview_title{
	padding: 15px;
	font-size: 16px;
	color: #000;
	border-bottom: 1px solid #b3b3b3;
	position: relative;
}
#image_preview .innerContainer .image_preview_title .close{
	position: absolute;
	background: url('../img/layerclose.png') no-repeat;
	background-size: 20px auto;
	width: 20px;
	height: 20px;
	top: 15px;
	right: 15px;
}
#image_preview .innerContainer .image_preview_content{
	display: flex;
}
#image_preview .innerContainer .image_preview_content .left{
	margin: 15px;
	width: 70%;
}
#image_preview .innerContainer .image_preview_content .left #imgEdit{
	width: 100%;
	height: 500px;
	box-shadow: 0 0 5px
}
#image_preview .innerContainer .image_preview_content .left #imgEdit img{
	max-width: 100%;
	max-height: 100%;
}
#image_preview .innerContainer .image_preview_content .left .edit_image{
	margin-top: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}
#image_preview .innerContainer .image_preview_content .left .edit_image .roatateLeft{
	display: inline-block;
	background: url(../photos/common/img_rotate.png) no-repeat;
	background-size: 35px 35px;
	transform: rotate(180deg);
	width: 35px;
	height: 35px;
	margin-right: 15px;
}
#image_preview .innerContainer .image_preview_content .left .edit_image .roatateRight{
	display: inline-block;
	background: url(../photos/common/img_rotate.png) no-repeat;
	background-size: 35px 35px;
	width: 35px;
	height: 35px;
	margin-right: 15px;
}


#image_preview .innerContainer .image_preview_content .right{
	margin: 15px;
	width: 30%;
	display: flex;
	flex-direction: column;
	align-items: center;
}
#image_preview .innerContainer .image_preview_content .right .previewText{
	margin-bottom: 20px;
}
#image_preview .innerContainer .image_preview_content .right .previewBox{
	box-shadow: 0 0 5px #adadad;
    width: 100px;
    height: 100px;
    margin-top: 30px;
    overflow: hidden;
}
#image_preview .innerContainer .image_preview_operation{
	margin-top: 20px;
	padding: 15px;
	padding-bottom: 20px;
	border-top: 1px solid #b3b3b3;
	text-align: right;
}
#image_preview .innerContainer .image_preview_operation .noClipUpload{
	display: inline-block;
    margin-right: 10px;
	font-size: 16px;
}
#image_preview .innerContainer .image_preview_operation .submit{
	display: inline-block;
	background-color: #d5164f;
	font-size: 16px;
    color: #fff;
    width: 100px;
    height: 32px;
    line-height: 32px;
    text-align: center;
	border-radius: 6px;
}

@media (max-width: 640px){
    .photogallery .gallerycontent{
		width: 100%;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		margin-left: 0;
		margin-top:0; 
		height: 100%;
	}
	.photogallery .gallerycontent .left{
		display: none;
	}
	.photogallery .gallerycontent .right .operations{
		padding: 0;
		background-color: #0e3b48;
		color: #fff;
		height: 40px;
		line-height: 40px;
		text-align: center;
		display: flex;
		flex-direction: row;
		top:0;
		bottom: auto;
		width:100%;
	}
	.photogallery .gallerycontent .right .operations .delete{
		background: none;
		color: #fff;
		height: 40px;
		line-height: 40px;
		font-size: 12px;
		padding-left: 10px;
	}
	.photogallery .gallerycontent .right .operations .uploadImage .upload{
		background: none;
		color: #fff;
		height: 40px;
		line-height: 40px;
		font-size: 12px;
		padding-right: 10px;
	}
	.photogallery .gallerycontent .right .operations .head{
		flex:1;
		display: block;
	}
	.photogallery .gallerycontent .right .operations .head .select{
		display: none;
		position: fixed;
		z-index: 99;
		width: 80%;
		left: 50%;
		top: 50%;
		right: auto;
		bottom: auto;
		-webkit-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
		max-height: 210px;
		background-color: #fff;
		overflow-y: auto;
	}
	.photogallery .gallerycontent .right .operations .head .select a{
		height: 40px;
    	line-height: 40px;
	    display: block;
	    color: #444;
	    font-size: 12px;
	    border-top: 1px solid #ccc;
	}
	.photogallery .gallerycontent .right .operations .head .select a:first-child{
		border-top: none;
	}
	.photogallery .gallerycontent .right .operations .head .title{
		position: relative;
		display: inline-block;
		padding-left: 20px;
    	padding-right: 20px;
		font-size: 12px;
		margin: 0;
        color: #fff;
	}
	.photogallery .gallerycontent .right .operations .head .title::before{
		position: absolute;
		display: block;
		content: "";
		width:0;
	    height:0;
	    border-right:5px solid transparent;
	    border-left:5px solid transparent;
		border-top:5px solid #fff;
		top: 50%;
		margin-top: -3px;
		right: 6px;
	}
	.photogallery .gallerycontent .right .submit{
		background-color: #0e3b48;
		height: 40px;
		line-height: 40px;
		overflow: hidden;
		padding: 0;
		width: 100%;
	}
	.photogallery .gallerycontent .right .submit a{
		color: #fff;
		font-size: 12px;
		height: 40px;
		line-height: 40px;
		width: auto;
	}
	.photogallery .gallerycontent .right .submit a.cancel{
		float: left;
		padding-left: 10px;
		background-color: transparent;
	}
	.photogallery .gallerycontent .right .submit a.confirm{
		float: right;
		padding-right: 10px;
		background-color: transparent;
	}
	.photogallery .gallerycontent .right .myuploads .photolists{
		height: calc( 100vh - 88px );
		padding: 5px;
	}
	.photogallery .gallerycontent .right{
		padding-top: 40px;
    	padding-bottom: 40px;
	}
	.photogallery .gallerycontent .right .myuploads .photolists .list{
		width: 50%;
		height: 160px;
		box-sizing: border-box;
	}
	.photogallery .gallerycontent .right .myuploads .photolists .list .images{
		line-height: 148px;
		height: 148px;
	}
	.photogallery .gallerycontent .right .myuploads .photolists .list .images img{
		max-width: 100%;
	}
	.photogallery .gallerycontent .right .operations .uploadImage{
		margin-left: 0;
	}
	.photogallery .gallerycontent .right .operations .uploadImage .upload{
		padding-left: 0;
	}
	#image_preview .innerContainer{
		width: 100%;
		height: 100%;
	}
	#image_preview .innerContainer .image_preview_content .left{
		width: 100%;
	}
	#image_preview .innerContainer .image_preview_content .right{
		display: none;
	}
	#image_preview .innerContainer .image_preview_content .left #imgEdit{
		height: calc( 100vh - 250px );
	}
	#image_preview .innerContainer .image_preview_content .left .edit_image{
		position: fixed;
		bottom: 68px;
		width: 100%;
		padding-bottom: 10px;
		left: 0;
	}
	#image_preview .innerContainer .image_preview_operation{
		position: fixed;
		bottom: 0;
		width: 100%;
		box-sizing: border-box;
	}
}


