﻿/*!
 * Copyright 2015 Hiro.
 * Email ihong@outlook.com
 */

.dg-container {width: 100%;height: 462px;position: relative;z-index: 1;margin: 0 auto;}
.dg-wrapper {
    width: 1048px;
    height: 462px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    -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 {
    width: 1048px;
    height: 462px;
    display: block;
    background: #000;
    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: 0;
}

.dg-wrapper a div {
    font-style: italic;
    text-align: center;
    line-height: 50px;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
    color: #333;
    font-size: 16px;
    width: 100%;
    bottom: -55px;
    display: none;
    position: absolute;
}

.dg-wrapper a.dg-center div {
    display: block;
}

.dg-container .dg-prev,
.dg-container .dg-next {
    position: absolute;
    z-index: 100;
    top: 0;
    height: 462px;
    width: 30%;
    display: block;
    cursor: pointer;
}

.dg-container .dg-prev {
    left: 0;
}

.dg-container .dg-next {
    right: 0;
}



.banner {
    height: 462px;
    background: #e4e4e4 url('.../images/banner_bg.png') repeat-x;
    /*  overflow-y: hidden; */
    text-align: center;
}

.dg-wrapper a {
    height: 462px;
    display: block;
    overflow: hidden;
    box-shadow: 0 0 30px #333;
}

.dg-wrapper a img {
    display: block;
    padding: 0;
    width: 100%;
    height: 100%;
    visibility: visible;
}

.banner {
    overflow: hidden;
}
@media (min-width: 1250px){
#my-banner{display: block;}
}

@media (max-width: 1000px){
#my-banner{display: block;}
}
@media (max-width: 767px){

#my-banner{display: none;}
}