.dg-container{
    width: 100%;
    height: 355px;
    position: relative;
}
.dg-wrapper{
    width: 481px;
    height: 316px;
    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{
    width: 482px;
    height: 258px;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    /*background: transparent url(../images/browser.png) no-repeat top left;*/
    box-shadow: 0px 15px 50px rgba(19, 19, 19, 0.15);
}
.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: 0px 0px 0px 1px;
}
.dg-wrapper a div{
       text-align: center;
    line-height: 2;
    color: #333;
    font-size: 14px;
    width: 100%;
    font-family: 'arvo',sans-serif;
    display: none;
    position: absolute;
}
.dg-wrapper a.dg-center div{
    display: block;
}
.dg-container nav{
    width: 58px;
    position: absolute;
    z-index: 1000;
    bottom: 7px;
    left: 50%;
    margin-left: -29px;
}
.dg-container nav span{
    text-indent: -9000px;
    float: left;
    cursor:pointer;
    width: 24px;
    height: 25px;
    opacity: 0.5;
    background: transparent url(../images/arrows.png) no-repeat top left;
}
.dg-container nav span:hover{
    opacity: 1;
}
.dg-container nav span.dg-next{
    background-position: top right;
    margin-left: 10px;
}
@media screen and (max-width: 1024px) {
    .dg-container{
        width: 80%;
        height: 348px;
        position: relative;
        margin: 0 auto;
    }
    .dg-wrapper{
        width: 318px;
        height: 316px;
        margin: 0 auto;
    }
    .dg-wrapper a{       
        width: 350px;
        height: 229px;
        left: 0;
        top: 0;
        background: transparent url(../images/browser-m.png) no-repeat top left;
        box-shadow: 0px 15px 50px rgba(19, 19, 19, 0.15);
    }
    .dg-wrapper a img{
        display: block;
        padding: 27px 0px 0px 1px;
    }
}
@media screen and (max-width: 768px) {
     .dg-container{
        width: 80%;
        height: 348px;
        position: relative;
        margin: 0 auto;
    }
    .dg-wrapper{
        width: 318px;
        height: 316px;
        margin: 0 auto;
    }
    .dg-wrapper a{       
        width: 350px;
        height: 229px;
        left: 0;
        top: 0;
        background: transparent url(../images/browser-m.png) no-repeat top left;
        box-shadow: 0px 15px 50px rgba(19, 19, 19, 0.15);
    }
    .dg-wrapper a img{
        display: block;
        padding: 27px 0px 0px 1px;
    }
}
@media screen and (max-width: 520px) {
    .dg-container{
        width: 80%;
        height: 215px;
        position: relative;
        margin: 0 auto;
    }
    .dg-wrapper{
        width: 250px;
        height: 135px;
        margin: 0 auto;
    }
    .dg-wrapper a{    
         width: 250px;
        height: 135px;
        left: 0;
        top: 0;
        background: transparent;
        box-shadow: 0px 0px 0px rgba(19, 19, 19, 0.15);
    }
    .dg-wrapper a img{
        display: block;
        padding: 0px 0px 0px 1px;
    }    
}
