html, body {
    width: 100%;
    height: 100%;
}
body {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.smooth {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.ad img,
.banner img,
.banner svg {
    position: absolute;
    border: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

.ad div,
.banner div {
    position: absolute;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.ad,
.banner {
    position: relative;
    width: 300px;
    height: 600px;
    overflow: hidden;
    z-index: 0;
}

.ad {
    border-width: 0;
    border-style: solid;
    border-color: #d2d9db;
    background-color: rgba(255, 255, 255, 1);
    background-image: url('../images/loading.gif');
    background-position: center;
    background-repeat: no-repeat;
}

.banner {
    opacity: 0;
    background-color: rgba(255, 255, 255, 1);
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-size: auto;
    background-size: auto;
}

.full {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0);
}

.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.hide {
    visibility: hidden;
}

.border {
    border-width: 1px;
    border-style: solid;
    border-color: #82807c;
}

.clickTag {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
}

.video-controls {
    position: absolute;
    width: 18px;
    height: 18px;
    bottom: 1px;
    cursor: pointer;
    opacity: 1;
    z-index: 500;
}

.progress-bar {
    position: absolute;
    background-color: #ffffff;
    top: 1px;
    height: 4px;
    display: none !important;
}

.play-btn,
.pause-btn {
    left: 1px;
}

.mute-btn {
    right: 1px;
}

.unmute-btn {
    right: 1px;
}

.play-btn {
    background-image: url(../images/play.svg);
    visibility: hidden;
}

.pause-btn {
    background-image: url(../images/pause.svg);
    visibility: hidden;
}

.unmute-btn {
    background-image: url(../images/unmute.svg);
    visibility: hidden;
}

.mute-btn {
    background-image: url(../images/mute.svg);
    visibility: hidden;
    background-position: -3px 0;
}

.replay-btn {
    top: 2px;
    right: 2px;
    background-image: url(../images/replay.svg);
    visibility: hidden;
}

#clicktoplay-btn {
    position: absolute;
    width: 60px;
    height: 60px;
    left: 50%;
    top: 50%;
    margin-top: -30px;
    margin-left: -30px;
    background-image: url(../images/play.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    z-index: 500;
    visibility: hidden;
    cursor: pointer;
}

#endframe {
    opacity: 0;
}
#endframe,
.border,
.js-exit {
    z-index: 1;
}

#border_safari {
    visibility: hidden;
}

.fadeIn {
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-name: endframe;
    animation-name: endframe;
    -webkit-animation-duration: 0.25s;
    animation-duration: 0.25s;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

/* Chrome, Safari, Opera */

@-webkit-keyframes endframe {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@-moz-keyframes endframe {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}


/* Standard syntax */

@keyframes endframe {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}