/*setting RELATED VIDEOS*/
.player-wrap {
    position: relative;
}

#jwplayer-container {
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.related-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: inline-flex;
    flex-direction: row;
    justify-content: space-around;
    flex-shrink: 3;
    flex-wrap: wrap;
    align-content: space-around;
    padding: 10px 0;
    background: -webkit-linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85));
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85));
    width: 100%;
    margin: 0 auto;
}

.related-wrapper a {
    position: relative;
    flex-basis: 30%;
}

.related-wrapper a img {
    width: 100%;
}

.related-container .close--related-container {
    border: 1px solid #ff8400;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 99999;
    cursor: pointer;
    background: rgba(255, 132, 0, 0.95);
}
.related-container .close--related-container:hover {
    background: rgba(255, 132, 0, 1);
}
.related-container .close--related-container:after {
    content: 'X';
    font-family: sans-serif;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scaleX(1.2);
}

.related_item-title {
    font: 700 0.9em/1.2 Arial, sans-serif;
    color: #fff;
    text-decoration: none;
    display: block;
    text-align: start;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    transition: opacity 0.3s ease 0s;
    padding: 10px;
    opacity: 1;
    background: black;
    overflow: hidden;
    background: -webkit-linear-gradient(rgba(0, 0, 0, 35), rgba(0, 0, 0, 0.35));
    background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35));
}

.related_item-title:hover {
    background: -webkit-linear-gradient(rgba(0, 0, 0, 25), rgba(0, 0, 0, 0.25));
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25));
}

.jw-state-complete {
}

.jw-state-complete .jw-controlbar {
    visibility: hidden;
}

.jw-icon-inline.jw-text,
.jw-button-container > div:hover {
    color: #ffffff !important;
}

.jw-controlbar .jw-slider-time .jw-progress {
    background: #ff8400;
}

.jw-flag-audio-player {
    width: 100% !important;
}
