/*
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	vertical-align: baseline;
	background: 0 0
}

body {
	line-height: 1;
	overflow-x: hidden;
}

ol,ul {
	list-style: none
}
*/

blockquote,q {
	quotes: none
}

blockquote:before,blockquote:after,q:before,q:after {
	content: '';
	content: none
}

/*
img {
	max-width: 100%;
	max-height: 100%
}
*/

.main-content {
	width: 100%
}

#pictureViewer .title {
	margin: 20px 30px
}

.image-list {
	width: 80%;
	padding: 20px;
	margin-left: auto;
	margin-right: auto
}

.image-list .cover {
	position: relative;
	width: 170px;
	height: 110px;
	display: inline-block;
	margin-left: 10px;
	margin-bottom: 10px;
	cursor: pointer
}

.image-list .cover img {
	position: absolute;
	margin: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0
}

#pictureViewer {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,.3);
	z-index: 10000
}

#pictureViewer>.content {
	background-color: #fff;
	position: absolute;
	width: 590px;
	height: 420px;
	margin: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	transition: background-color 0.3s ease; /* 添加过渡效果 */
}

#pictureViewer.night-mode > .content {
    background-color: #2d2d2d;
}

/* 适配暗色模式的文字颜色 */
#pictureViewer.night-mode .username,
#pictureViewer.night-mode .counter,
#pictureViewer.night-mode .picTitleBox {
    color: #fff;
}

#pictureViewer .menu-bar {
	width: 100%;
	display: -webkit-flex;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
}

#pictureViewer .menu-bar .userInfoBox {
	display: -webkit-flex;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	margin-left: 10px;
}

#pictureViewer .menu-bar .userInfoBox .username{
	margin-left: 5px;
	font-size: 14px;
    color: #666;
}

#pictureViewer .menu-bar .userInfoBox .userAvater{
	width:20px;
	height:20px;
	border-radius:50%;
}

#pictureViewer .menu-bar .handelBox {
	display: -webkit-flex;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
}

#pictureViewer .menu-bar .handel {
	width: 40px;
	height: 40px;
	float: right;
	background-repeat: no-repeat;
	background-position: 50%;
	cursor: pointer
}

#pictureViewer .menu-bar .handel:hover {
	background-color: #ff2e67;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-ms-transition: all .3s;
	-o-transition: all .3s;
	transition: all .3s
}

#pictureViewer .menu-bar .handel.maximization {
	background-image: url(../images/maximization_black.png);
	background-size: 14px
}

#pictureViewer .menu-bar .handel.maximization:hover {
	background-image: url(../images/maximization_white.png)
}

#pictureViewer .menu-bar .handel.miniaturization {
	background-size: 16px;
	background-image: url(../images/miniaturization_black.png)
}

#pictureViewer .menu-bar .handel.miniaturization:hover {
	background-image: url(../images/miniaturization_white.png)
}

#pictureViewer .menu-bar .handel.close-view {
	background-image: url(../images/close_black.png);
	background-size: 15px
}

#pictureViewer .menu-bar .handel.close-view:hover {
	background-image: url(../images/close_white.png)
}

#pictureViewer .menu-bar .handel.dayOrNightMode {
	background-image: url(../images/dayOrNightMode_black.png);
	background-size: 14px
}

#pictureViewer .menu-bar .handel.dayOrNightMode:hover {
	background-image: url(../images/dayOrNightMode_white.png)
}

#pictureViewer .handel-prev,#pictureViewer .handel-next {
	display: inline-block;
	width: 50px;
	height: 70px;
	position: relative;
	top: calc(50% - 80px);
	background-repeat: no-repeat;
	background-size: 25px;
	background-position: 50%;
	cursor: pointer;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-ms-transition: all .3s;
	-o-transition: all .3s;
	transition: all .3s;
	z-index: 100;
}

#pictureViewer .handel-prev {
	background-image: url(../images/prev_blank.png)
}

#pictureViewer .handel-next {
	background-image: url(../images/next_blank.png)
}

#pictureViewer .handel-prev:hover,#pictureViewer .handel-next:hover {
	background-color: #ff2e67
}

#pictureViewer .handel-prev:hover {
	background-image: url(../images/prev_white.png)
}

#pictureViewer .handel-next:hover {
	background-image: url(../images/next_white.png)
}

#pictureViewer .picture-content {
	display: inline-block;
	width: 80%;
	height: calc(100% - 80px);
	position: absolute;
	margin: 0 auto;
	left: 0;
	right: 0;
	display: -webkit-flex;
	display: flex;
	flex-direction: column;
}

#pictureViewer .picture-content .cover {
	position: absolute;
	margin: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0
}

#pictureViewer .showExifBtn {
	display: -webkit-flex;
	display: flex;
	flex-direction: row;
	position: absolute;
    left: 0px;
    bottom: 0px;
	background-color: #fff;
	border: 1px solid #DDD;
	padding:5px 20px;
	border-radius: 20px;
	align-items: center;
	font-size: 16px;
    line-height: 25px;
}

#pictureViewer .exifBox {
	display: -webkit-flex;
	display: flex;
	flex-direction: row;
	position: absolute;
    left: 0px;
    bottom: 40px;
	background-color: #000;
	color:#ccc;
	padding:10px;
	opacity: 0.5;
	font-size:14px;
}

#pictureViewer .supportBtn {
	display: -webkit-flex;
	display: flex;
	flex-direction: row;
	position: absolute;
    right: 0px;
    bottom: 50px;
	background-color: #fff;
	border: 1px solid #DDD;
	padding:10px;
	border-radius: 20px;
	align-items: center;
	font-size: 16px;
    line-height: 25px;
}

#pictureViewer .showPinglunBtn {
	display: -webkit-flex;
	display: flex;
	flex-direction: row;
	position: absolute;
    right: 0px;
    bottom: 0px;
	background-color: #fff;
	border: 1px solid #DDD;
	padding:5px 20px;
	border-radius: 20px;
	align-items: center;
	font-size: 16px;
    line-height: 25px;
}

#pictureViewer .pinglun {
	display: -webkit-flex;
	display: flex;
	flex-direction: row;
	position: absolute;
    bottom: 0px;
    margin: auto;
	background-color: #fff;
    width: 100%;
	align-items: center;
	padding-top:10px;
}

#pictureViewer .pinglunContent{
	width: 100%;
	overflow: hidden;
	overflow-wrap: break-word;
	resize: horizontal;
	height: 35px;
}

#pictureViewer .counter {
	position: absolute;
	bottom: 0;
	height: 40px;
	line-height: 40px;
	width: 100%;
	text-align: center;
	color: gray;
	font-size: 13px
}

#pictureViewer .hide {
	display: none
}

#pictureViewer .left {
	float: left
}

#pictureViewer .right {
	float: right
}

#pictureViewer .clear-flex {
	clear: both
}

#pictureViewer img {
	max-width: 100%;
	max-height: 100%
}
