/*.main-livestream */
.main-livestream {
    overflow: hidden;
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-size: 100%;
}
.main-livestream-bg {
}
.main-livestream .video-js {
    width: 100%;
    height: 460px;
}
.main-livestream .livestream-wrapper {
    background-color: #000;
    padding: 0;
    margin-top: 15px;
}

.main-livestream .livestream-wrapper > .row {
    margin: 0;
}
.main-livestream .livestream-wrapper > .row > [class*="col-"] {
    padding: 0;
}

.main-livestream .nav-tabs {
    border: none;
    background-color: #ddd;
}
.main-livestream .nav-tabs > li > a {
    border: 0;
    background: none;
    border-radius: 0;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    padding: 10px 10px 10px 40px;
    display: block;
}
.main-livestream .nav-tabs > li > a:before {
    position: absolute;
    top: 7px;
    left: 10px;
    width: auto;
    height: 100%;
    display: block;
    font-family: FontAwesome;
    content: "\f26c";
    font-size: 20px;
}

.main-livestream .nav-tabs > li.active > a,
.main-livestream .nav-tabs > li.active > a:focus,
.main-livestream .nav-tabs > li.active > a:hover {
    color: #bc0000;
    background-color: inherit;
    border: none;
}
.main-livestream .nav-tabs > li.active > a:before {
}

.main-livestream .tab_schedule {
    display: none;
}
.main-livestream .tab_schedule .nav-tabs > li {
    float: none;
}
.main-livestream .tab_schedule.active {
    display: block;
}
.main-livestream .tab_schedule .nav-tabs > li > a {
    border: none;
    margin: 0;
}
.main-livestream .tab_comment {
    background-color: #ebebeb;
}
.main-livestream .tab_comment .nav-tabs > li {
    display: inline-block;
}
.main-livestream .tab_comment .nav-tabs > li > a {
    padding-left: 10px;
    color: #666;
}
.main-livestream .tab_comment .nav-tabs > li.active > a {
    color: #bc0000;
}
.main-livestream .tab_comment .nav-tabs > li > a:before {
    display: none;
}
.main-livestream .tab_comment .tab-content {
    border-radius: 0;
    height: 100%;
    box-shadow: none;
}
.main-livestream .tab_comment .captcha_img,
.main-livestream .tab_comment .captcha_code {
    float: none;
    width: 100%;
}
.main-livestream .tab-content {
    border: none;
}
.main-livestream .live a {
    position: relative;
}
.main-livestream .live a:after {
    display: block;
    content: "";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background-color: #f26921;
}

.schedule_heading {
    padding: 0;
    background-color: #ececec;
    color: #000;
    line-height: 34px;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 16px;
    display: flex;
    text-align: center;
}

.schedule_heading .item {
    flex: 1 1 auto !important;
    cursor: pointer;
}
.schedule_heading .item.active {
    color: #bc0000;
}
.schedule_item {
    overflow: auto;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 382px;
    color: #000;
    font-size: 14px;
}

.schedule_item a:before {
    display: none;
}
.schedule_item .item {
    /* padding: 10px 0; */
    transition: background-color 0.2s ease;
    cursor: pointer;
    border-bottom: 1px solid #222;
    position: relative;
    color: #fff;
    line-height: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
}
.schedule_item .item:hover {
    background-color: rgba(155, 155, 155, 0.2);
}

.schedule_item .item:after {
    display: block;
    content: "";
    clear: both;
    height: 0;
}
.schedule_item .item .time_code {
    padding: 0 0 0 15px;
}
.schedule_item .item .time_line {
    padding: 0 0 0 15px;
    font-weight: 400;
    font-size: 0.84rem;
    color: #fff;
    display: flex;
    align-items: center;
}
.schedule_item .item .program {
    padding: 0 15px 0 15px;
    font-size: 0.84rem;
    padding: 10px;
}
.schedule_item .item.canplay .program,
.schedule_item .item.live .program {
    padding-right: 80px;
}
.schedule_item .item .program_title {
    display: block;
    color: #fff;
}
.schedule_item .item .program_icon {
    display: inline-block;
    text-align: center;
    line-height: 16px;
    color: #fff;
    transition: opacity 0.2s ease;
    width: 16px;
    height: 16px;
    margin: 0 0 0 2px;
}
.schedule_item .item .program_icon img {
    height: 16px;
    vertical-align: top;
}
.schedule_item .item .replay {
    width: auto;
    padding: 0 10px 0 0;
    text-align: right;
    cursor: pointer;
}

.schedule_item .item .program_playing,
.schedule_item .item .program_note {
    border: solid 1px #fff;
    display: inline-block;
    margin-left: 5px;
    border-radius: 3px;
    /* background: #40a629; */
    color: #fff;
    font-size: 0.7rem;
    padding: 0 5px;
    vertical-align: top;
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -10px;
}
.schedule_item .item .program_note i {
    margin-right: 3px;
}
.schedule_item .item:not(.live) .program_playing {
    display: none;
    background-color: #ff9800;
}
.schedule_item .item.live .program_playing {
    background-color: #bc0000;
}
.schedule_item .item.live .program_playing:before {
    display: inline-block;
    font-family: FontAwesome;
    content: "\f111";
    font-size: 0.5rem;
    vertical-align: top;
    padding-right: 3px;
}
.schedule_item .item.live .replay .program_note {
    background-color: #e21313;
}
.schedule_item .item.active .replay .program_playing {
    display: block;
}
.schedule_item .item.live .replay i {
    margin-right: 3px;
}
.schedule_item .item .program_desc {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: #ccc;
}
.schedule_item .item:hover .program_desc {
    color: #ddd;
}
.schedule_item .item.active {
    background-color: rgba(155, 155, 155, 0.2);
    color: #fff;
    border-top: none;
}

.schedule_item .item.active .time_line,
.schedule_item .item.active .program_name,
.schedule_item .item.active .program_desc {
    color: #fff;
    border-top: none;
}
.schedule_item .item.live .time_line,
.schedule_item .item.live .program_title {
    /* color: #ff2a2a; */
}
.schedule_item .item .time_line {
    padding: 0 0 0 15px;
    padding: 10px;
}
.schedule_item .item.active .time_line,
.schedule_item .item.live .time_line {
    color: #fff;
    /* background-color: #e21313; */
}
.schedule_item .mCSB_inside > .mCSB_container {
    margin-right: 0;
}
.schedule_item .mCSB_scrollTools {
    width: 7px;
}

/*VIDEOJS*/

.video-js {
    font-size: 13px;
    color: #fff;
    width: 100%;
    overflow: hidden;
}
.video-js.vjs-audio {
    overflow: inherit;
}
.video-js .vjs-big-play-button {
    font-size: 2.5em;
    line-height: 2em;
    height: 2em;
    width: 2em;
    border: 0 solid #fff;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    margin-left: -1em;
    margin-top: -1em;
}
.video-js:not(.vjs-audio).vjs-paused .vjs-big-play-button {
    display: block !important;
}
.video-js .vjs-control {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.video-js .vjs-control-bar {
    min-height: 40px;
}
.video-js .vjs-control-bar,
.video-js .vjs-big-play-button,
.video-js .vjs-menu-button .vjs-menu-content {
    background-color: rgba(210, 0, 1, 0.7);
    /* background-color: transparent; */
}
.vjs-audio .vjs-control-bar,
.vjs-audio .vjs-big-play-button,
.vjs-audio .vjs-menu-button .vjs-menu-content {
    background-color: #d20001 !important;
}
.vjs-audio .vjs-picture-in-picture-control {
    display: none !important;
}
.video-js:hover .vjs-big-play-button,
.video-js .vjs-big-play-button:focus {
    background: #ff0000;
    background-color: rgba(210, 0, 1, 0.5);
}
.video-js .vjs-picture-in-picture-control {
    display: none !important;
}
.video-js .vjs-slider {
    background-color: #ffa8a8;
    background-color: rgba(255, 168, 168, 0.5);
}

.video-js .vjs-volume-level,
.video-js .vjs-play-progress,
.video-js .vjs-slider-bar {
    background: #fff;
}

.video-js .vjs-load-progress {
    background: ligthen(#ffa8a8, 25%);
    background: rgba(255, 168, 168, 0.5);
}

.video-js .vjs-load-progress div {
    background: ligthen(#ffa8a8, 50%);
    background: rgba(255, 168, 168, 0.75);
}
/*always show volumn control for vjs live*/
.vjs-live.vjs-layout-small:not(.vjs-fullscreen) .vjs-volume-panel,
.vjs-live.vjs-layout-small:not(.vjs-fullscreen) .vjs-volume-control,
.vjs-live.vjs-layout-small:not(.vjs-fullscreen) .vjs-mute-control {
    display: block !important;
}
/*hide black bar for audio*/
.video-js.vjs-audio {
    height: 40px !important;
    padding-top: 0 !important;
    background: none !important;
}
.video-js.vjs-audio .vjs-fullscreen-control {
    display: none !important;
}
.vjs-show-poster.vjs-has-started .vjs-poster {
    display: block !important;
}
.vjs-paused:not(.vjs-audio) .vjs-big-play-button {
    display: block;
}
.vjs-share-container {
    position: absolute;
    top: 5px;
    right: 5px;
    transition: all 0.3s ease;
    transform: translateX(100px);
}
.vjs-share-container div {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    width: 30px;
    height: 30px;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1b1b1b;
    position: relative;
}
.vjs-share-container div:hover {
    background-color: #e21313;
}
.vjs-share-container div span {
    position: absolute;
    right: 32px;
    top: 0;
    background-color: rgba(55, 55, 55, 0.5);
    color: #eee;
    display: none;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    font-size: 0.9rem;
}
.vjs-share-container div:hover span,
.vjs-share-container div:focus span,
.vjs-share-container div:active span,
.vjs-share-container div span.active {
    right: 32px;
    display: block;
}
.video-js.vjs-user-active .vjs-share-container,
.video-js.vjs-paused .vjs-share-container {
    transform: translateX(0px);
}
.video-js.vjs-user-inactive .vjs-share-container {
    transform: translateX(100px);
}
.vjs-onoffvolume-container {
    position: absolute;
    bottom: 55px;
    right: 0;
    transition: opacity 0.3s ease;
    opacity: 0.3;
}
.vjs-onoffvolume-container button {
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    border: 2px solid #fff;
    border-right: none;
    color: #fff;
    font-size: 1.5rem;
    padding: 0.3rem 0.5rem;
    display: none;
    width: 45px;
}
.vjs-onoffvolume-container button.off {
    position: relative;
}
.vjs-onoffvolume-container button.off::after {
    position: absolute;
    bottom: 16px;
    left: 2px;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transform: rotate(120deg);
    content: "";
}
.vjs-onoffvolume-container button.active {
    display: block;
}
.video-js.vjs-user-active .vjs-onoffvolume-container,
.video-js.vjs-user-active .vjs-onoffvolume-container,
.video-js.vjs-paused .vjs-onoffvolume-container {
    opacity: 1;
}
.video-js.vjs-user-inactive .vjs-onoffvolume-container {
    opacity: 0.3;
}
/*logo*/
.vjs-watermark {
    position: absolute;
    display: inline;
    z-index: 2000;
}
@media (max-width: 768px) {
    .video-js .vjs-volume-menu-button:hover .vjs-menu {
        display: none;
    }
    .main-livestream .video-js {
        height: auto;
    }
    .schedule_item {
        height: 200px;
    }
}
@media (max-width: 425px) {
    .vjs-volume-panel.vjs-volume-panel-horizontal:hover {
        width: 4em !important;
        transition: none !important;
    }
}
