@font-face {
    font-family: 'VideoJS';
    src: url('font/vjs.eot');
    src: url('font/vjs.eot?#iefix') format('embedded-opentype'), url('font/vjs.woff') format('woff'), url('font/vjs.ttf') format('truetype'), url('font/vjs.svg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

.videoplayer {
    position: relative;
    background-color: #000;
    border-radius: 5px;
    box-shadow: 0px 0px 20px rgba(50, 50, 50, 0.95);
    border: 2px #ccc solid;
    width: 100%;
    height: 250px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    text-align: left;
}

.videoplayer img {
    margin: 0 !important;
    padding: 0 !important;
    max-height: 100%;
}

.videoplayer video {
    
}

.videoplayer video, .videoplayer .adcontainer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: left;
    padding-left: 0;
}

.videoplayer .adcontainer {
    cursor: pointer;
    width: 90%;
    padding: 0 !important;
}

.videoplayer .adcontainer iframe {
    padding: 0 !important;
    margin: 0 !important;
    text-align: left;
}

.videoplayer .adcontainer iframe .controls {
    text-align: left;
}

.videoplayer button {
    position: absolute;
    height: 100%;
    width: 100%;
    border-style: none;
    font-weight: bold;
    font-size: 20em;
    opacity: 0.5;
    background-color: #fff;
    cursor: pointer;
    line-height: 1;
}

.videoplayer .play-button {
    left: 1em;
    top: 30%;
    font-size: 3em;
    display: block;
    z-index: 2;
    position: absolute;
    width: 4em;
    height: 2.6em;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    opacity: 1;
    color: #FFFFFF;
    background-color: #505050;
    background-color: rgba(50, 50, 50, 0.75);
    border: 0.1em solid #3b4249;
    /* border-radius */
    -webkit-border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    border-radius: 0.8em;

    outline: 0;
    border-color: #fff;
    /* box-shadow */
    -webkit-box-shadow: 0 0 3em #ffffff;
    -moz-box-shadow: 0 0 3em #ffffff;
    box-shadow: 0 0 3em #ffffff;
    /* transition */
    -webkit-transition: all 0s;
    -moz-transition: all 0s;
    -o-transition: all 0s;
    transition: all 0s;
}

.videoplayer .play-button:hover {
    color: #3b4249;
    background-color: #FFFFFF;
    border-color: #3b4249;
}

.videoplayer .play-button:before {
    content: "\e001";
    font-family: VideoJS;
    line-height: 2.6em;
    text-shadow: 0.05em 0.05em 0.1em #000;
    text-align: center /* Needed for IE8 */;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
}

.videoplayer .loading-spinner {
    /* Should be hidden by default */
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 4em;
    margin-left: -0.5em;
    margin-top: -0.5em;
    opacity: 0.75;
    color: #FFFFFF;
    border: none;
    display: block;
    -webkit-animation-name: spin;
    -webkit-animation-duration: 4000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: spin;
    -moz-animation-duration: 4000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: spin;
    -ms-animation-duration: 4000ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;

    animation-name: spin;
    animation-duration: 4000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
@-ms-keyframes spin {
    from { -ms-transform: rotate(0deg); }
    to { -ms-transform: rotate(360deg); }
}
@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}
.videoplayer .loading-spinner:before {
    content: "\e01e";
    font-family: VideoJS;
    position: absolute;
    top: 0;
    left: 0;
    width: 1em;
    height: 1em;
    text-align: center;
    text-shadow: 0em 0em 0.1em #000;
}
.videoplayer .hide {
    display: none !important;
}