﻿.dg-container {
    width: 100%;
    height: 492px;
    position: relative;
    overflow: hidden;
    padding-top: 30px;
    padding-bottom: 110px;
}

.dg-wrapper {
    width: 880px;
    height: 492px;
    margin: 0 auto;
    position: relative;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    -o-perspective: 1000px;
    -ms-perspective: 1000px;
    perspective: 1000px;
}

.dg-wrapper a {
    position: relative;
    width: 880px;
    height: 492px;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999999;
}

.dg-wrapper a.dg-center {
    box-shadow: 0 0 5px #afabab;
}

.dg-wrapper a p {
    display: none;
}

.dg-wrapper a.dg-center p {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    line-height: 66px;
    padding: 0 15px;
    display: block;
    font-size: 20px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 4;
}

.dg-wrapper a.dg-center:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: url(../images/pic-tcpng.png) no-repeat center bottom;
    background-size: 100% auto;
}

.dg-wrapper a.dg-transition {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.dg-wrapper a img {
    display: block;
    width: 100%;
    height: 100%;
    /* padding: 41px 0px 0px 1px; */
}

.dg-wrapper a div {
    font-style: italic;
    text-align: center;
    line-height: 55px;
    /* text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5); */
    color: #333;
    font-size: 16px;
    width: 100%;
    height: 100%;
    /* bottom: -55px; */
    display: block;
    /* position: absolute; */
}

.dg-wrapper a.dg-center div {
    display: block;
}

.dg-container nav {
    width: 100%;
    position: absolute;
    z-index: 1000;
    bottom: 0;
}

.dg-container nav span {
    text-indent: -9000px;
    float: left;
    cursor: pointer;
    width: 74px;
    height: 74px;
}

.dg-container nav span:hover {
    opacity: 1;
}

.dg-container nav span.dg-prev {
    position: absolute;
    left: 43%;
    bottom: 0;
    background: url(../images/style-l.png) no-repeat center center;
}

.dg-container nav span.dg-next {
    position: absolute;
    right: 43%;
    bottom: 0;
    background: url(../images/style-r.png) no-repeat center center;
}

@media screen and (max-width:1000px) {
    .dg-container {}
    .dg-wrapper {
        width: 100%;
    }
    .dg-wrapper a {
        width: 100%;
    }
}

@media screen and (max-width:700px) {
    .dg-wrapper {
        height: 200px;
    }
    .dg-wrapper a {
        height: 200px;
    }
    .dg-container {
        height: 200px;
    }
    .dg-container {
        padding-top: 0;
    }
    .dg-container {
        padding-bottom: 50px;
    }
}