.main-wrap {
    margin-top: 80px;
    width: 100%;
    /*height:100%;*/
    min-height: auto;
    position: relative
}

.page-title {
    padding: 10px;
    font-size: 24px;
    color: #BEBECC;
    letter-spacing: 0
}

.loop {
    width: 70%;
    max-width: 300px;
    min-width: 150px;
    height: auto;
    /*height:460px;*/
    -moz-background-size: 100% 100%;
    background-size: 100% 100%;
    z-index: 2;
    transition: all 1s;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    -o-transition: all 1s
}
.mask {
    width: 70%;
    max-width: 300px;
    min-width: 150px;
    height: 230px;
    position: absolute;
    /*left: 0;*/
    bottom: 0;
    background: url(../images/mask-bg.png) left bottom repeat-x;
    transition: all 1s;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    opacity: 0
}

.loop-bg {
    display: block;
    width: 100%;
    height: 100%
}

.loop-text {
    width: 70%;
    max-width: 300px;
    min-width: 150px;
    height: 35px;
    overflow: hidden;
    font-family: STHeitiSC-Light;
    font-size: 12px;
    color: #FFF;
    letter-spacing: 0;
    line-height: 19px;
    position: absolute;
    bottom: 25px;
    transition: all 1s;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    text-align: justify;
    display: table;
    vertical-align: middle
}

.loop-text span {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    overflow: hidden
}
.code-img {
    width: 70%;
    max-width: 300px;
    min-width: 150px;
    height: 120px;
    position: absolute;
    bottom: 70px;
    opacity: 0;
}

.border-img {
    width: 120px;
    height: 120px;
    transition: all 1s;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    background: #fff;
}

.code-img img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 2px;
}
.loop,
.loop .code-img,
.loop .loop-text,
.loop .mask {
    opacity: 1;
}
/*slides DIV的位置*/
.reveal .slides {
    position: absolute;
    left: 50%;
    top: auto;
    min-height: 0;
    width: 100%;
}
/*div居中*/
section div {
    margin: 0 auto;
}
/*section的位置*/
.reveal .slides>section{
    position: absolute;
    left: -50%;
    top: auto;
}
/*图片边框*/
.reveal .slides>section img {
    margin: 0;
}
.reveal .slides>section .code-img img{
    border: none;
}
