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;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

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;
}


/*demo CSS*/

img {
    max-width: 100%;
    max-height: 100%;
}

.main-content {
    width: 100%;
}

.title {
    margin: 20px 30px;
}

.image-list {
    width: 100%;
}

.image-list .cover {
    position: relative;
    width: 100%;
    display: inline-block;
    cursor: pointer;
}


/*main CSS*/

#pictureViewer {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(255,255,255,0.7);
    z-index: 10000;
}

#pictureViewer>.content {
    background-color: rgba(255,255,255,0.7);
    position: absolute;
    width: 100%;
    height: 100%;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#pictureViewer .menu-bar {
    width: 100%;
}

#pictureViewer .menu-bar .handel {
    width: 130px;
    height: 70px;
    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(../img/icons/maximization_black.png);
    background-size: 14px;
    display: none!important;
}

#pictureViewer .menu-bar .handel.maximization:hover {
    background-image: url(../img/icons/maximization_white.png);

}

#pictureViewer .menu-bar .handel.miniaturization {
    background-size: 16px;
    background-image: url(../img/icons/miniaturization_black.png);

}

#pictureViewer .menu-bar .handel.miniaturization:hover {
    background-image: url(../img/icons/miniaturization_white.png);
}

#pictureViewer .menu-bar .handel.close-view {
    background-image: url(../img/icons/close_white.png);
    background-size: 18px;
    background-color: #bd1320;
}

#pictureViewer .menu-bar .handel.close-view:hover {
    background-image: url(../img/icons/close_white.png);
}

#pictureViewer .handel-prev,
#pictureViewer .handel-next {
    display: inline-block;
    width: 50px;
    height: 50px;
    position: absolute;
    right: 25%;
    top: calc(50% - 40px);
    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: 3;
}

#pictureViewer .handel-prev {
    background-image: url(../img/icons/prev_blank.png);
    background-size: 31px auto;
    top: calc(50% - 40px);
    right: 80%;
    left: auto;
}

#pictureViewer .handel-next {
    background-image: url(../img/icons/next_blank.png);
    background-size: 33px auto;
    left: 80%;
    top: calc(50% - 40px);
    right: auto;
}

#pictureViewer .handel-prev:hover {
    background-image: url(../img/icons/prev_white.png);
    background-size: 33px auto;
}

#pictureViewer .handel-next:hover {
    background-image: url(../img/icons/next_white.png);
    background-size: 33px auto;
}

#pictureViewer .picture-content {
    display: inline-block;
    width: 80%;
    height: calc(100% - 140px);
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
}

#pictureViewer .picture-content .cover {
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 65%;
    
}

#pictureViewer .counter {
    position: absolute;
    bottom: 20px;
    height: 40px;
    line-height: 40px;
    width: 100%;
    text-align: center;
    color: #808080;
    font-size: 13px;
}

#pictureViewer .hide {
    display: none;
}

#pictureViewer .left {
    float: left;
}

#pictureViewer .right {
    float: right;
}

#pictureViewer .clear-flex {
    clear: both;
}

#pictureViewer img {
    width: 500px;
    max-width: 90%;
}
#pictureViewer .picture-content .txt {
    display: inline-block;
    width: 500px;
    position: absolute;
    bottom: 1%;
    left: 50%;
    text-align: center;
    transform: translate(-50%,-50%);
    background: url(../img/bg.png);
    color: #ffffff;
    height: 60px;
    line-height: 60px;
    font-size: 18px;
}

@media only screen and (max-width: 1200px) {
    #pictureViewer img {width: 400px;}
    #pictureViewer .picture-content .txt {width: 400px;}
}
@media only screen and (max-width: 750px) {
    #pictureViewer .handel-next{ background-size: 23px auto; }
    #pictureViewer .handel-next:hover { background-size: 23px auto; }
    #pictureViewer .handel-prev { background-size: 23px auto;}
    #pictureViewer .handel-prev:hover  { background-size: 23px auto;}
}
@media only screen and (max-width: 500px) {
    #pictureViewer img {width: 280px;}

}