.mediaplayer {
    position: relative;
}

.recomendation {
    background: rgba(0, 0, 0, .5);
    padding: 0 28px 10px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 32px;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;

    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;

    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;

    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;

    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;

    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.recomendation + .jwplayer .jw-overlays {
    z-index: 2;
}

.tns-ovh {
    position: relative;
}


@media (max-device-width: 864px) {
    .recomendation {
        bottom: 48px;
    }
}

@media (max-device-width: 679px) {
    .recomendation {
        bottom: 32px;
    }
}

.recomendation_active {
    opacity: 1;
    visibility: visible;
}

.recomendation__wrapper {
    min-width: 100%;
    max-width: 100%;
}

.recomendation__head {
    margin-bottom: 5px !important;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.recomendation__close {
    cursor: pointer;
    padding-right: 26px;
    position: relative;
    color: #fff !important;
    font-size: 12px;
    line-height: 1;
    text-decoration: underline;
}

.recomendation__close:after {
    content: '';
    width: 6px;
    height: 6px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    margin: auto;
    position: absolute;
    top: -3px;
    bottom: 0;
    right: 0;
    transform: rotate(45deg);
}

.recomendation__heading {

    padding-left: 26px;
    position: relative;
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

.recomendation__heading:before {
    content: '';
    background: #fff;
    box-shadow: 6px 0 0 #fff, 12px 0 0 #fff, 0 7px 0 #fff, 6px 7px 0 #fff, 12px 7px 0 #fff;
    width: 4px;
    height: 5px;
    position: absolute;
    top: -1px;
    left: 0;
}

.recomendation__carousel {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
}

.recomendation__carousel-item {
    flex: 0 1 auto;
    min-width: 174px;
    max-width: 174px;
    margin-right: 20px;
    position: relative;
}

@media (max-width: 480px) {
    .recomendation__carousel-item {
        min-width: calc(100vw - 166px);
        max-width: calc(100vw - 166px);
        margin-right: 60px;
    }
}

.mediaplayer_fixed .jw-display-icon-container {
    top: 30%;
}

.recomendation__carousel-media {
    background: no-repeat 50%;
    background-size: cover;
    height: 0;
    padding-bottom: 56.25%;
}

.recomendation__carousel-next,
.recomendation__carousel-prev {
    background: none;
    border: 0;
    width: 28px;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -28px;
    cursor: pointer;
}

.recomendation__carousel-next {
    left: auto;
    right: -28px;
}

.recomendation .tns-outer {
    width: 100%;
    max-width: 100%;
    position: relative;
}

.recomendation__carousel-next:before,
.recomendation__carousel-prev:before {
    content: '';
    width: 8px;
    height: 8px;
    margin: auto;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    text-indent: -1000em;
}

.recomendation__carousel-next:before {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.recomendation__carousel-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.recomendation__carousel-link:before {
    content: '';
    background-image: -webkit-linear-gradient(to bottom, rgba(0, 0, 0, 6), rgba(0, 0, 0, 0));
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.recomendation__carousel-link:after {
    content: attr(title);
    overflow: hidden;
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    right: 5px;
    z-index: 2;
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

@media (max-width: 767px) {
    .recomendation__carousel-link:after {
        font-size: 12px;
    }
}

.recomendation__carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.recomendation__carousel-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
}

.recomendation__carousel-list.animate {
    -webkit-transition: all .5s ease;
    transition: all .5s ease;

}
