/* ------------ fonts ------------ */
@font-face {
    font-family: 'material';
    src:  url('../../fonts/material.eot?bpbxtp');
    src:  url('../../fonts/material.eot?bpbxtp#iefix') format('embedded-opentype'),
    url('../../fonts/material.ttf?bpbxtp') format('truetype'),
    url('../../fonts/material.woff?bpbxtp') format('woff'),
    url('../../fonts/material.svg?bpbxtp#material') format('svg');
    font-weight: normal;
    font-style: normal;
}
/* ------------ /fonts ------------ */
/* Outstream - start */
div[class*=mgAdPlayerContainerDiv].showed, div[class*=adPlayerContainerDiv].showed {
    z-index: 9999999;
    opacity: 1;
    visibility: visible;
    background-color: #fff;
    position: absolute;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
}
div[class*=mgAdPlayerDiv].showed, div[class*=adPlayerDiv].showed {
    z-index: 100;
    opacity: 1;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
div[class*=mgAdPlayerContainerDiv], div[class*=adPlayerContainerDiv] {
    z-index: -100;
    opacity: 0;
    visibility: hidden;
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
}
div[class*=mgAdPlayerDiv], div[class*=adPlayerDiv] {
    z-index: -1;
    opacity: 0;
    position: relative;
    height: 100%;
}

div[class*=mgAdPlayerDiv] > div:not([class*=mgCloseButton]):not([class*=mgLinkButton]),
div[class*=adPlayerDiv] > div:not([class*=adCloseButton]):not([class*=adLinkButton]) {
    top: 0;
    left: 0;
}

div[class*=mgAdPlayerContainerDiv].block, div[class*=adPlayerContainerDiv].block {
    position: relative;
    margin-bottom: 10px;
    overflow: hidden;
    transition: height 2000ms;
}

div[class*=mgAdPlayerContainerDiv].block.noanim, div[class*=adPlayerContainerDiv].block.noanim {
    transition: none;
}

html > div {
    display: none !important;
}

div[class*=mgSkipButton], div[class*=adSkipButton] {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 8px;
    height: 25px;
    text-shadow: 2px 1px 2px black;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    font-family: Helvetica, Arial, fallback, sans-serif;
    font-size: 12px;
    text-align: center;
    line-height: 25px;
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    display: none;
    z-index: 101;
    cursor: pointer;
}

div[class*=mgSkipButton].showed, div[class*=adSkipButton].showed {
    display: block;
}

div[class*=mgAdPlayerDiv] #av-container #av-inner #gui #skip-btn,
div[class*=adPlayerDiv] #av-container #av-inner #gui #skip-btn {
    top: 0;
    bottom: auto;
    left: 0;
    right: auto;
    padding: 0 8px;
    height: 25px;
    text-shadow: 2px 1px 2px black;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    font-family: Helvetica, Arial, fallback, sans-serif;
    font-size: 12px;
    text-align: center;
    line-height: 25px;
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    z-index: 2;
    cursor: pointer;
    border: none;
    text-transform: none;
}

div[class*=mgAdPlayerDiv] #av-container #av-inner #gui #timer,
div[class*=adPlayerDiv] #av-container #av-inner #gui #timer {
    height: 25px;
    width: 25px;
    text-shadow: 2px 1px 2px black;
    background-color: rgba(0, 0, 0, 0.4);
    font-size: 12px;
    text-align: center;
    line-height: 25px;
    border: none;
    text-transform: none;
}

div[class*=adLinkButton] {
    position: absolute;
    top: 5px;
    font-weight: bold;
    left: 40px;
    right: 40px;
    z-index: 2;
    cursor: pointer;
    color: white;
    font-size: 14px;
    text-shadow: 2px 1px 2px black;
    padding: 0 12px;
    height: 32px;
    font-family: Helvetica, Arial, fallback, sans-serif;
    text-align: center;
    line-height: 32px;
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    display: none;
}

div[class*=adLinkButton].showed {
    display: block;
}

#av-container #av-inner #gui:before {
    background: none;
}

#av-container.desktop #gui #timeline.av-overlay {
    opacity: 1;
    filter: alpha(opacity=100);
    bottom: -4px !important;
    right: 0 !important;
    left: 0 !important;
}

#av-container.desktop #gui:before, #av-container.desktop #gui #buttons, #av-container.desktop #gui #timeline, #av-container.desktop #av-inner #gui #timeline #timeline-moveto {
    opacity: 1;
    filter: alpha(opacity=100);
}

#aniview-credit {
    display:none !important;
}

/* Close Button Styles begin */

div[class*=mgCloseButton],
div[class*=adCloseButton] {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 9999;
}

div[class*=mgCloseButton].showed,
div[class*=adCloseButton].showed {
    display: block;
}

div[class*=mgCloseButton]:after,
div[class*=adCloseButton]:after {
    content: '\00d7';
    position: absolute;
    top: 0;
    right: 0;
    font-family: Arial;
    font-size: 35px;
    font-weight: 300;
    color: #fff;
    text-shadow: 0 0 3.5px #000000;
    line-height: 20px;
    margin: 5px;
}
div[class*=mgAdPlayerContainerDiv].showed div[class*=mgCloseButton].showed,
div[class*=adPlayerContainerDiv].showed div[class*=adCloseButton].showed {
    display: block;
}

/* Close Button Styles end */

div[class*=mgMuteButton], div[class*=adMuteButton] {
    display: none;
    font-family: 'material' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 20px;
    height: 25px;
    cursor: pointer;
    color: #fff;
    -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 100;
    text-shadow: 0 0 3.5px #000;
}

div[class*=mgMuteButton].showed, div[class*=adMuteButton].showed {
    display: block;
}

div[class*=mgMuteButton]:before,
div[class*=mgMuteButton]:after,
div[class*=adMuteButton]:before,
div[class*=adMuteButton]:after {
    position: absolute;
    font-size: 18px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

div[class*=mgMuteButton]:before, div[class*=adMuteButton]:before {
    content: "\e04d";
}

div[class*=mgMuteButton]:after, div[class*=adMuteButton]:after {
    content: "\e04f";
    display: none;
}

div[class*=mgMuteButton].muted:before, div[class*=adMuteButton].muted:before {
    display: none;
}

div[class*=mgMuteButton].muted:after, div[class*=adMuteButton].muted:after {
    display: block;
}

/* Slider styles */

div[class*=adPlayerContainerDiv].small,
div[class*=adPlayerContainerDiv].medium,
div[class*=adPlayerContainerDiv].large,
div[class*=mgAdPlayerContainerDiv].small,
div[class*=mgAdPlayerContainerDiv].medium,
div[class*=mgAdPlayerContainerDiv].large {
    position: fixed;
    bottom: 0;
    top: auto;
    z-index: 9999999;
    opacity: 1;
    visibility: visible;
    background-color: #000;
    overflow: visible;
}

div[class*=adPlayerContainerDiv].small,
div[class*=adPlayerContainerDiv].medium,
div[class*=adPlayerContainerDiv].large,
div[class*=mgAdPlayerContainerDiv].small,
div[class*=mgAdPlayerContainerDiv].medium,
div[class*=mgAdPlayerContainerDiv].large {
    opacity: 0;
    visibility: hidden;
}

div[class*=adPlayerContainerDiv].small.showed,
div[class*=adPlayerContainerDiv].medium.showed,
div[class*=adPlayerContainerDiv].large.showed,
div[class*=mgAdPlayerContainerDiv].small.showed,
div[class*=mgAdPlayerContainerDiv].medium.showed,
div[class*=mgAdPlayerContainerDiv].large.showed {
    opacity: 1;
    visibility: visible;
}

div[class*=adPlayerContainerDiv].small div[class*=adPlayerDiv],
div[class*=adPlayerContainerDiv].medium div[class*=adPlayerDiv],
div[class*=adPlayerContainerDiv].large div[class*=adPlayerDiv],
div[class*=mgAdPlayerContainerDiv].small div[class*=mgAdPlayerDiv],
div[class*=mgAdPlayerContainerDiv].medium div[class*=mgAdPlayerDiv],
div[class*=mgAdPlayerContainerDiv].large div[class*=mgAdPlayerDiv] {
    z-index: 100;
    opacity: 1;
    position: relative;
}

div[class*=adPlayerContainerDiv].small.top,
div[class*=adPlayerContainerDiv].medium.top,
div[class*=adPlayerContainerDiv].large.top,
div[class*=mgAdPlayerContainerDiv].small.top,
div[class*=mgAdPlayerContainerDiv].medium.top,
div[class*=mgAdPlayerContainerDiv].large.top {
    top: 0;
    bottom: auto;
}

div[class*=adPlayerContainerDiv].small, div[class*=mgAdPlayerContainerDiv].small {
    width: 401px;
}

div[class*=adPlayerContainerDiv].medium, div[class*=mgAdPlayerContainerDiv].medium {
    width: 501px;
}

div[class*=adPlayerContainerDiv].large, div[class*=mgAdPlayerContainerDiv].large {
    width: 601px;
}

div[class*=adPlayerContainerDiv].small.left, div[class*=mgAdPlayerContainerDiv].small.left {
    left: -401px;
    transition: left 1s;
}

div[class*=adPlayerContainerDiv].small.left.showed,
div[class*=adPlayerContainerDiv].medium.left.showed,
div[class*=adPlayerContainerDiv].large.left.showed,
div[class*=mgAdPlayerContainerDiv].small.left.showed,
div[class*=mgAdPlayerContainerDiv].medium.left.showed,
div[class*=mgAdPlayerContainerDiv].large.left.showed {
    left: 0;
    right: auto;
    transition: left 1s;
}

div[class*=adPlayerContainerDiv].small.right, div[class*=mgAdPlayerContainerDiv].small.right {
    right: -401px;
    transition: right 1s;
}

div[class*=adPlayerContainerDiv].small.right.showed,
div[class*=adPlayerContainerDiv].medium.right.showed,
div[class*=adPlayerContainerDiv].large.right.showed,
div[class*=mgAdPlayerContainerDiv].small.right.showed,
div[class*=mgAdPlayerContainerDiv].medium.right.showed,
div[class*=mgAdPlayerContainerDiv].large.right.showed {
    right: 0;
    left: auto;
    transition: right 1s;
}

div[class*=adPlayerContainerDiv].medium.left, div[class*=mgAdPlayerContainerDiv].medium.left {
    left: -501px;
    transition: left 1s;
}

div[class*=adPlayerContainerDiv].medium.right, div[class*=mgAdPlayerContainerDiv].medium.right {
    right: -501px;
    transition: right 1s;
}

div[class*=adPlayerContainerDiv].large.left, div[class*=mgAdPlayerContainerDiv].large.left {
    left: -601px;
    transition: left 1s;
}

div[class*=adPlayerContainerDiv].large.right, div[class*=mgAdPlayerContainerDiv].large.right {
    right: -601px;
    transition: right 1s;
}

/*  Logo Styles - begin */

.topBar {
    display: none;
    width: 100%;
    position: absolute;
    top: -31px;
    padding-bottom: 3px;
    height: 31px;
    left: 0;
    background-color: rgba(255,255,255,0.9);
}

.topBar.showed {
    display: flex;
}

div[class*=adPlayerContainerDiv].mglogo,
div[class*=mgAdPlayerContainerDiv].mglogo {
    margin-top: 31px;
    overflow: visible;
}

div[class*=adPlayerContainerDiv].small.top .topBar.showed,
div[class*=adPlayerContainerDiv].medium.top .topBar.showed,
div[class*=adPlayerContainerDiv].large.top .topBar.showed,
div[class*=mgAdPlayerContainerDiv].small.top .topBar.showed,
div[class*=mgAdPlayerContainerDiv].medium.top .topBar.showed,
div[class*=mgAdPlayerContainerDiv].large.top .topBar.showed {
    display: none;
}

.topBar .other-logo {
    width: 90px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.topBar .other-logo a:before {
    background: none !important;
}
.topBar .other-logo img {
    width: 80px;
    position: relative;
    top: 4px;
    left: 0;
}
.topBar > span {
    color: #000;
    background: none;
    padding: 0;
    font-family: Roboto, sans-serif;
    font-weight: bold;
    font-size: 16px;
    box-sizing: border-box;
    line-height: 1;
    text-transform: uppercase;
    margin: 12px 0 0 0;
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%,0);
    -ms-transform: translate(-50%,0);
    transform: translate(-50%,0);
}

/*  Logo Styles - end */

@media only screen and (max-device-width: 480px) {
    div[class*=adPlayerContainerDiv].small.right,
    div[class*=adPlayerContainerDiv].medium.right,
    div[class*=adPlayerContainerDiv].large.right,
    div[class*=adPlayerContainerDiv].small.left,
    div[class*=adPlayerContainerDiv].medium.left,
    div[class*=adPlayerContainerDiv].large.left,
    div[class*=mgAdPlayerContainerDiv].small.right,
    div[class*=mgAdPlayerContainerDiv].medium.right,
    div[class*=mgAdPlayerContainerDiv].large.right,
    div[class*=mgAdPlayerContainerDiv].small.left,
    div[class*=mgAdPlayerContainerDiv].medium.left,
    div[class*=mgAdPlayerContainerDiv].large.left {
        position: fixed;
        bottom: 0;
        right: -480px;
        transition: right 1s;
        width: 70%;
    }

    div[class*=adPlayerContainerDiv].small.right.showed,
    div[class*=adPlayerContainerDiv].medium.right.showed,
    div[class*=adPlayerContainerDiv].large.right.showed,
    div[class*=adPlayerContainerDiv].small.left.showed,
    div[class*=adPlayerContainerDiv].medium.left.showed,
    div[class*=adPlayerContainerDiv].large.left.showed,
    div[class*=mgAdPlayerContainerDiv].small.right.showed,
    div[class*=mgAdPlayerContainerDiv].medium.right.showed,
    div[class*=mgAdPlayerContainerDiv].large.right.showed,
    div[class*=mgAdPlayerContainerDiv].small.left.showed,
    div[class*=mgAdPlayerContainerDiv].medium.left.showed,
    div[class*=mgAdPlayerContainerDiv].large.left.showed {
        position: fixed;
        left: 50%;
        right: auto;
        transition: right 1s;
    }

    div[class*=adPlayerContainerDiv].small.right.upper,
    div[class*=adPlayerContainerDiv].medium.right.upper,
    div[class*=adPlayerContainerDiv].large.right.upper,
    div[class*=adPlayerContainerDiv].small.left.upper,
    div[class*=adPlayerContainerDiv].medium.left.upper,
    div[class*=adPlayerContainerDiv].large.left.upper,
    div[class*=mgAdPlayerContainerDiv].small.right.upper,
    div[class*=mgAdPlayerContainerDiv].medium.right.upper,
    div[class*=mgAdPlayerContainerDiv].large.right.upper,
    div[class*=mgAdPlayerContainerDiv].small.left.upper,
    div[class*=mgAdPlayerContainerDiv].medium.left.upper,
    div[class*=mgAdPlayerContainerDiv].large.left.upper {
        top: 0;
        right: auto;
        left: 50%;
        transform: translate(-50%, 0);
        opacity: 0;
        visibility: hidden;
    }


    div[class*=adPlayerContainerDiv].small.right.upper.showed,
    div[class*=adPlayerContainerDiv].medium.right.upper.showed,
    div[class*=adPlayerContainerDiv].large.right.upper.showed,
    div[class*=adPlayerContainerDiv].small.left.upper.showed,
    div[class*=adPlayerContainerDiv].medium.left.upper.showed,
    div[class*=adPlayerContainerDiv].large.left.upper.showed,
    div[class*=mgAdPlayerContainerDiv].small.right.upper.showed,
    div[class*=mgAdPlayerContainerDiv].medium.right.upper.showed,
    div[class*=mgAdPlayerContainerDiv].large.right.upper.showed,
    div[class*=mgAdPlayerContainerDiv].small.left.upper.showed,
    div[class*=mgAdPlayerContainerDiv].medium.left.upper.showed,
    div[class*=mgAdPlayerContainerDiv].large.left.upper.showed {
        opacity: 1;
        visibility: visible;
    }

    div[class*=adPlayerContainerDiv].small.top,
    div[class*=adPlayerContainerDiv].medium.top,
    div[class*=adPlayerContainerDiv].large.top,
    div[class*=adPlayerContainerDiv].small.bottom,
    div[class*=adPlayerContainerDiv].medium.bottom,
    div[class*=adPlayerContainerDiv].large.bottom,
    div[class*=mgAdPlayerContainerDiv].small.top,
    div[class*=mgAdPlayerContainerDiv].medium.top,
    div[class*=mgAdPlayerContainerDiv].large.top,
    div[class*=mgAdPlayerContainerDiv].small.bottom,
    div[class*=mgAdPlayerContainerDiv].medium.bottom,
    div[class*=mgAdPlayerContainerDiv].large.bottom {
        opacity: 0;
        visibility: hidden;
        position: fixed;
        right: auto;
        left: 50%;
        transform: translate(-50%, 0);
        width: 70%;
        margin-bottom: 0;
    }

    div[class*=adPlayerContainerDiv].small.top,
    div[class*=adPlayerContainerDiv].medium.top,
    div[class*=adPlayerContainerDiv].large.top,
    div[class*=mgAdPlayerContainerDiv].small.top,
    div[class*=mgAdPlayerContainerDiv].medium.top,
    div[class*=mgAdPlayerContainerDiv].large.top {
        top: 0;
        bottom: auto;
    }

    div[class*=adPlayerContainerDiv].small.bottom,
    div[class*=adPlayerContainerDiv].medium.bottom,
    div[class*=adPlayerContainerDiv].large.bottom,
    div[class*=mgAdPlayerContainerDiv].small.bottom,
    div[class*=mgAdPlayerContainerDiv].medium.bottom,
    div[class*=mgAdPlayerContainerDiv].large.bottom {
        bottom: 0;
        top: auto;
    }

    div[class*=adPlayerContainerDiv].small.top.showed,
    div[class*=adPlayerContainerDiv].medium.top.showed,
    div[class*=adPlayerContainerDiv].large.top.showed,
    div[class*=adPlayerContainerDiv].small.bottom.showed,
    div[class*=adPlayerContainerDiv].medium.bottom.showed,
    div[class*=adPlayerContainerDiv].large.bottom.showed,
    div[class*=mgAdPlayerContainerDiv].small.top.showed,
    div[class*=mgAdPlayerContainerDiv].medium.top.showed,
    div[class*=mgAdPlayerContainerDiv].large.top.showed,
    div[class*=mgAdPlayerContainerDiv].small.bottom.showed,
    div[class*=mgAdPlayerContainerDiv].medium.bottom.showed,
    div[class*=mgAdPlayerContainerDiv].large.bottom.showed {
        opacity: 1;
        visibility: visible;
    }
}

div[class*=adPlayerDiv].adplayer-no-ui div[class*=adSkipButton],
div[class*=adPlayerDiv].adplayer-no-ui div[class*=adLinkButton],
div[class*=adPlayerDiv].adplayer-no-ui .play,
div[class*=adPlayerDiv].adplayer-no-ui .pause,
div[class*=adPlayerDiv].adplayer-no-ui #sound,
div[class*=adPlayerDiv].adplayer-no-ui .adClickCover {
    opacity: 0;
    visibility: hidden;
    z-index: -100;
}

/* some video widget correction only for smart widget */
div[class*=mgAdPlayerContainerDiv].block.smart,
div[class*=adPlayerContainerDiv].block.smart {
    max-width: 680px !important;
    transition: height 1000ms !important;
    margin-left: auto;
    margin-right: auto;
}

.adClickCover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: none;
}

.adClickCover.showed {
    display: block;
}

/* Outstream - end */
