.media-container {
    position: relative;
    margin: 10px;
}
.iframe .media-container {
    margin: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    width: 100%;
    overflow: hidden;
}
.fullscreen .media-container {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: fixed;
    width: 100% !important;
    height: 100% !important;
    z-index: 50;
    background: #000;
    margin: 0;
}
.fullscreen .footer {
    display: none;
}
.media-main {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    overflow: auto;
    right: auto;
    width: 100%;
}

.media-top-bar {
    top: 0;
    right: 0;
    position: absolute;
    max-height: 100%;
    max-height: calc(100% - 60px);
    overflow: hidden;
    color: #fff;
}

.media-title-bar {
    top: 0;
    left: 0;
    right: 0;
    position: absolute;
    height: 0;
    text-align: left;
}

.media-publishing-bar {
    top: auto;
    left: 0;
    right: 0;
    bottom: 80px;
    position: absolute;
    overflow: visible;
    color: #fff;
    text-align: center;
}
#photos_displayer .media-publishing-bar {
    top: 0;
    bottom: auto;
    height: 0;
}
.media-publishing-bar > * {
    vertical-align: middle;
}
.media-publishing-bar .messages {
    margin: 0;
}

.media-title-bar a {
    color: #fff;
}
.media-title-bar .media-title-content {
    padding: 10px 60px 20px 10px;
    display: block;
    background: rgba(0, 0, 0, 0.7);
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.7)), to(rgba(0, 0, 0, 0)));
}
#player_block.player-state-buffering .media-publishing-bar,
#player_block.player-state-playing .media-publishing-bar,
#player_block.player-state-buffering .media-title-content,
#player_block.player-state-playing .media-title-content {
    display: none;
}
.media-title-bar .media-title-text {
    font-weight: bold;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 150%;
}
.player-low-width .media-title-bar .media-title-text {
    font-size: 100%;
}
.player-low-width .media-publishing-bar,
.player-low-width .media-publishing-bar .progress-label {
    font-size: 90%;
}

#status_dropdown {
    width: auto;
    margin-top: 12px;
}


/***** Keep player in 16/9 for all resolutions ***/
.media-container-16-9 {
    width: 640px;
    height: 406px; /* +46 bottom px */
    margin: 0 auto;
}
@media (max-width: 10000px) {
    .media-container-16-9 {
        width: 1920px;
        height: 1126px;
        margin: 0 auto;
    }
}
@media (max-width: 1920px) {
    .media-container-16-9 {
        width: 1280px;
        height: 766px;
        margin: 0 auto;
    }
}
@media (max-width: 1344px) {
    .media-container-16-9 {
        width: 900px;
        height: 552.25px;
        margin: 0 auto;
    }
}
@media (max-width: 964px) {
    .media-container-16-9 {
        width: 600px;
        height: 383.5px;
        margin: 0 auto;
    }
}
@media (max-width: 664px) {
    .media-container-16-9 {
        width: 426px;
        height: 285.625px;
        margin: 0 auto;
    }
}
@media (max-width: 433px) {
    .media-container-16-9 {
        width: 300px;
        height: 214.75px;
        margin: 0 auto;
    }
}