.dg-container {
    width: 600px;
    height: 450px;
    margin-top: -50px;
    position: relative;
    -webkit-transform: scale(0.7);
    -moz-transform: scale(0.7);
    -o-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7)
}
.dg-wrapper {
    width: 335px;
    height: 335px;
    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: 500px;
    -moz-perspective: 500px;
    -o-perspective: 500px;
    -ms-perspective: 500px;
    perspective: 500px
}
.dg-wrapper a {
    width: 335px;
    height: 365px;
    display: block;
    position: absolute;
    left: 0;
    top: 0
}
.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;
    padding: 41px 0px 0px 1px;
    width: 335px
}
.dg-wrapper a div {
    text-align: center;
    line-height: 50px;
    color: #fff;
    font-size: 20px;
    width: 100%;
    bottom: -55px;
    display: none;
    position: absolute
}
.dg-wrapper a.dg-center {
    z-index: 12
}
.dg-wrapper a.dg-center div {
    display: block
}
.dg-container nav {
    width: 58px;
    position: absolute;
    z-index: 1000;
    bottom: 0px;
    left: 50%;
    margin-left: -29px;
    color: #fff
}
.dg-container nav span {
    float: left;
    cursor: pointer;
    width: 24px;
    height: 25px;
    font-size: 22px;
    opacity: 0.5
}
.dg-container nav span:hover {
    opacity: 1
}
.dg-container nav span.dg-next {
    background-position: top right;
    margin-left: 10px
}