/* MAIN COLOR of the UI, used for all progress bars */
/* .sqp-ui-main-bgcolor {
    background: #FFFFFF;
} */

/* disable selection on elements */
.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Chrome/Safari/Opera */
    -khtml-user-select: none;
    /* Konqueror */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                  not supported by any browser */
}
.sqp-play-btn .icon-hx_play2,
.sqp-pause-btn .icon-playcontro_pause_white,
.sqp-next-btn .icon-playcontro_next,
.sqp-opt-quality-text,
.sqp-auto-jump .icon-playcontro_set,
.sqp-fullscreen-btn .icon-playcontro-full1,
.sqp-minimize-btn .icon-playcontro_exitfullscreen,
.sqp-player-controls-times-zone .sqp-time-separator,
.sqp-player-controls-times-zone .sqp-media-duration{
    color:#B3B3B3;
}
.controls button span:hover{
    color:#fff;
}

.sqp-customer-overlay {
    position: absolute;
    left: 15px;
    top: 15px;
    right: 15px;
    bottom: 50px;
}

/* generic 'centering' class on X/Y axes */
.sqp-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/*  video surface filling the entirity of its parent surface */
.sqp-video {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* overlay area on top of the video element, covering its whole surface */
.sqp-video-overlay {
    width: 100%;
    height: 100%;
    color: #FFFFFF;
}

/* area of the player overlay in which the notifiation of a buffering event is displayed */
.sqp-buffering {
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    z-index: 1;
}
.sqp-buffering-img{
    width:100%;
    height: 100%;
}

.sqp-buffering-value {
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 60px;
}

/* Animation keyframes for the buffering image */

/*
* Animation class for the buffering image
* This class is automatically added to the buffering image, if any, when a buffering event occurs
*/
.sqp-buffering-img-anim {
    animation: sqp-buffering-img-anim 2s infinite;
    animation-timing-function: linear;
}


/* area containing video playback controls (by default at the bottom of the video) */
/* sh:19-08-13 */
.sqp-video-controls {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height:120px;
    background-image: linear-gradient(-180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.40) 100%);
}

.pointer-cursor {
    cursor: pointer;
}

/* progress bar zone */
/* sh:19-08-13 */
.sqp-progressbar {
    position: relative;
    background: rgba(0, 0, 0, 0.00);
    margin-top:-4px;
}

.sqp-progressbar[forLive="true"] {
    margin-right: 50px;
}

/* progress bar zone */
/* sh:19-08-13 */
.sqp-progressbar-background {
    position: relative;
    height: 4px;
    opacity: 1;
}

/*
* Progress bar 'progress' zone
* its width will be controlled by the javascript code and given in '%'
*/
.sqp-progressbar-progress {
    position: absolute;
    top: 0px;
    height: 4px;
    width: 0;
    /* default width at openning, will be overriden with values in % by javascript code */
    background-color: #B22020;
    opacity: 1;
}

.sqp-progressbar-progress-2nd {
    background-color: yellow;
}

/*
* playback progress bar endpoint
* hidden by default (display: node), this element is showed only on mouse hovering,
* using the animation classes below
sh:19-08-13
*/

.sqp-progressbar-progress-endpoint {
    position: absolute;
    display: block;
    top: -2px;
    right: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #B22020;
    box-shadow: 0px 0px 0px 5px rgba(178, 32, 32, 0.35);
}

/* sh: 19-08-13 进度条圆点效果 */
@keyframes endpoint-anim {
    from {
        top: -2px;
        right: -4px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        box-shadow: 0px 0px 0px 4px #A74B4F;
    }

    to {
        top: -2px;
        right: -4px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        box-shadow: 0px 0px 0px 4px #A74B4F,
            0px 0px 0px 10px rgba(167, 75, 79, 0.20);
    }
}

.sqp-chapters {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .5)
}

.sqp-chapter {
    display: inline-block;
    position: absolute;
    background: red;
    height: 14px;
    width: 14px;
    margin-left: -8px;
    margin-top: -8px;
    -webkit-transform: scaleX(0.7) rotate(45deg);
}

.sqp-controls-toolbar {
    width: 100%;
    margin-top:52px;
}
.sqp-controls-toolbar .controls{
    margin-top:18px;
    justify-content: space-between;
}
.sqp-controls-toolbar .controls .control-right{
    justify-content: space-between;
}

/* Live Button that appears when playing a Live+TS or (Event+KnowDuration) media */
.sqp-chapter-live-button {
    background-color: #CCCCCC;
    color: #000000;
    position: absolute;
    border-radius: 1px;
    margin-top: -7px;
    margin-left: 10px;
    font-size: 13px;
    padding-right: 2px;
    padding-left: 3px;
    z-index: 7;
    left: 100%;
}

.sqp-chapter-live-button:hover {
    color: #FFFFFF;
    -webkit-transform: scale(1.1);
}

/* generic class for all buttons in video controller UI */
.sqp-button {
    display: inline-block;
    background-color: transparent;
    border: 0;
    color: #FFFFFF;
    cursor: pointer;
}

/* remove dotted outline on buttons */
button.sqp-button {
    outline: none;
    padding:0;
}

/* remove dotted outline on buttons (Firefox) */
button.sqp-button::-moz-focus-inner {
    border: 0;
}

.sqp-opt-quality-text {
    font-size: 16px;
    font-weight: 500;
    font-family: PingFangSC-Medium, PingFang SC;
}

/* sh: */
.sqp-play-btn,
.sqp-pause-btn,
.sqp-next-btn {
    width: 32px;
    height: 32px;
    position:relative;
}
.sqp-play-btn,
.sqp-pause-btn{
    margin-left: 30px;
}
.sqp-play-btn .icon-hx_play2{
    font-size:22px;
}
.sqp-tips{
    position: absolute;
    padding:0 12px;
    height:32px;
    line-height:32px;
    top:-62px;
    white-space:nowrap;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    left:-10px;
}
.sqp-pause-btn .icon-playcontro_pause_white{
    font-size:28px;
}
.sqp-next-btn {
    margin-left: 20px;
    margin-top:-1px;
}
.sqp-next-btn .icon-playcontro_next{
    font-size:32px;
}

.sqp-right {
    float: right;
}

.sqp-left {
    float: left;
}

.sqp-player-controls-text {
    display: inline-block;
    font-family: PingFangSC-Regular, PingFang SC, Microsoft YaHei;
    font-size: 14px;
    letter-spacing: 0;
    color: #FFFFFF;
}

/* sh: */
.sqp-player-controls-times-zone {
    margin-left: 23px;
    height: 25px;
    line-height: 26px;
}

.sqp-player-controls-times-zone div {
    display: table-cell;
    padding-left: 1px;
    padding-right: 1px;
}

/* class applied to time indications in the UI */
.sqp-time {
    display: inline-block;
    text-align: center;
    position: relative;
    vertical-align: top;
}

.sqp-volume-btn {
    width: 32px;
    height: 32px;
}


/* volume bar */
/* sh: 19-08-14 */
.volumes{
    width:32px;
    height:32px;
    margin-left:27px;
}
.volume-box{
    width: 36px;
    height: 166px;;
    position: absolute;
    right: 0;
    bottom: 28px;
}
.sqp-volume-box {
    width: 36px;
    height: 132px;
    position: absolute;
    top:0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    z-index: 3;
}

.sqp-volume-bar {
    width: 100px;
    height: 22px;
    display: inline-block;
    cursor: pointer;
    overflow-x: hidden;
    left: 50%;
    top: 57px;
    margin-left: -51px;
}

/* background of the volume bar */
.sqp-volume-bar-bg {
    position: relative;
    height: 4px;
    width: inherit;
    left: 0px;
    top: 10px;
    background-color: #FFFFFF;
    border-radius: 10px;
}

/* volume 'progress' on top the background (width is controlled by javascript and given in %) */
.sqp-volume-bar-level {
    position: relative;
    height: inherit;
    top: 0px;
    left: 0px;
    width: 50%;
    background-color: white;
    border-radius: 10px;
    min-width: 10px;
    background: linear-gradient(135deg, #E50606 0%, #FF6F6C 100%);
}

.sqp-volume-bar-level-endpoint {
    position: absolute;
    display: inherit;
    top: -3px;
    right: 0;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 10px;
}

/* sh: fullscreen button and minimize button*/
.sqp-fullscreen-btn,
.sqp-minimize-btn {
    width: 32px;
    height: 32px;
    margin-left:20px;
    margin-right:30px;
    position: relative;
}
.sqp-fullscreen-btn .sqp-tips,
.sqp-minimize-btn .sqp-tips{
    left:-11px;
}
.sqp-fullscreen-btn .icon-playcontro-full1{
    font-size:28px;
}
.sqp-minimize-btn .icon-playcontro_exitfullscreen{
    font-size: 36px;
}

/*option button*/
.sqp-options-btn {
    width: 39px;
    height: 27px;
}

/*
-- Classes related to the 'Option' menu (Qualities, Audio and subtitles tracks) --
*/
.sqp-optmenu {
    position: absolute;
    width: 122px;
    overflow: hidden;
    right: -38px;
    bottom: 15px;
    padding-bottom: 42px;
    z-index: 3;
}

.sqp-optmenu-1st {
    max-width: 260px;
    border-collapse: collapse;
}

/* sh: 19-08-15 清晰度 */
.sqp-optmenu-quality {
    width: 100%;
    height:auto;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
}

/* sh: 19-08-15 清晰度 over*/
.selectedcolor {
    color: #D0021B;
    font-weight: bold;
    font-family: PingFangSC-Medium, PingFang SC;
}

.sqp-opt-title {
    display: block;
    cursor: pointer;
    padding-bottom: 4px;
    width: 100px;
}

.sqp-opt-border {
    border-bottom: 1px solid #8a8a8a;
}

.sqp-opt-title-2nd {
    position: absolute;
    top: 2px;
    right: 0px;
}

.sqp-opt-title-back {
    width: 40px;
    height: 18px;
    padding-top: 4px;
}

.sqp-opt-item div {
    display: block;
}

.sqp-opt-name {
    display: table-cell;
    vertical-align: middle;
    width: 60px;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.sqp-opt-value {
    display: table-cell;
    text-align: right;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.sqp-optmenu-2nd .sqp-opt-list-container {
    height: 190px;
}

.sqp-opt-items-list {
    display: table;
    overflow-y: auto;
    width: 100%;
}

.sqp-opt-value-pick:hover {
    background-color: rgba(70, 70, 70, 0.9);
    cursor: pointer;
}

.sqp-opt-value-pick .pick-arrow {
    display: table-cell;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    padding-top: 2px;
    padding-bottom: 4px;
    padding-right: 4px;
}

.sqp-opt-value-2nd {
    display: table-cell;
    line-height: 14px;
    text-align: center;
    padding-top:20px;
}

.opt-item-select {
    display: table-cell;
    width: 14px;
    height: 20px;
    vertical-align: middle;
    padding-left: 6px;
    padding-top: 4px;
}

.sqp-opt-select:hover {
    /* background-color: rgba(70, 70, 70, 0.9); */
    color:#D0021B;
    cursor: pointer;
}

/*
 -- Classes related to the 'Tooltip' (hover UI above the playback progress bar) --
*/

/* tooltip area (its position and content is driven by javascript) */
.sqp-tooltip {
    background-color: rgba(0, 0, 0, 0.6);
    font-size: 10px;
    position: absolute;
    text-align: center;
    bottom: 87px;
    padding: 9px 12px;
    overflow: hidden;
    border-radius: 4px;
}

.sqp-subtitle-rendering {
    overflow: hidden;
}

/* class related to subtitle rendering */
.sqp-subtitle-rendering>div {
    display: flex;
    position: absolute;
    justify-content: center;
    text-align: center;
    bottom: 0px;
    color: white;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

.sqp-subtitle-element {
    background-color: black;
    padding: 2px;
}

/* sh: */
#textarea1 {
    position: absolute;
    bottom: 20px;
    left: 38px;
    color: #FFFFFF;
    z-index: 3;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    min-width:100px;
    max-width: 1155px;
    height: 14px;
    line-height: 14px;
    padding:9px 12px 9px 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: none;
}
#textarea1 a{
    margin:0 5px;
}

#textarea1 .jump-button {
    color: #AA0E15;
    cursor: pointer;
    padding: 5px;
}

.watermark {
    position: absolute;
    top: calc(16%);
    left: calc(100% - 20px);
}

#endscreen {
    position: absolute;
    width: inherit;
    height: inherit;
    background-color: #1A1A1A;
    color: #FFFFFF;
    text-align: center;
    z-index: 9;
    display: none;
}

/* sh:29-08-13 */
.replay-box {
    height: 147px;
    line-height: normal;
    position: relative;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    margin-left:1px;
}
.replay-box-2, .replay-box-3{
    width:305px;
}
.replay-box-no{
    top: 50%;
    height:106px;
}

.replay {
    width:84px;
    height: 22px;
    line-height: 22px;
    cursor: pointer;
    z-index: 10;
    position: absolute;
    bottom:-11px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #999999;
    left: 8px;
}
.replay img {
    display: block;
    cursor: pointer;
    width: 22px;
    height:22px;
    float:left;
    margin-top:1px;
}
.replay div{
    float:left;
    margin-left:5px;
}
.replay-odd{
    left: 50%;
    transform: translate(-50%);
    -webkit-transform: translate(-50%);
    -moz-transform: translate(-50%);
    -ms-transform: translate(-50%);
    -o-transform: translate(-50%);
    margin-left:3px;
}
.replay-odd div{
    margin-left:6px;
}
.replay-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}
.replay-box-3 .replay{
    bottom:-29px;
}



.replayicon {
    display: table-cell;
}

#replaytxt {
    font-size: 18px;
    color: #FFFFFF;
    letter-spacing: 1.16px;
}

#watermarkLogoLeftTop {
    display: none;
    position: absolute;
    top: 20px;
    left: 30px;
}

#watermarkLogoLeftTopImage {
    position: relative;
    width: 101px;
    height: 25px;

}

#watermarkLogoCenter {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
}

#watermarkLogoCenterImage {
    max-height: 100%;
    max-width: 100%;
    width: 419px;
    height: 279px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.sqp-pre-btn {
    width: 60px;
    height: 28px;
    float: right;
    margin-right: 10px;
    font-family: 'Microsoft YaHei', PingFangSC-Medium, sans-serif;
    font-size: 16px;
    letter-spacing: 0;
    background-color: #666666;
}

/* sh: 19-08-14*/
.vertical {
    transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
}


.sqp-auto-jump-box,
.sqp-auto-jump {
    width: 32px;
    height: 32px;
}
.sqp-auto-jump {
    margin-top:-1px;
}
.sqp-auto-jump-box{
    margin-left:20px;
}
.sqp-auto-jump .icon-playcontro_set{
    font-size:34px;
}

.sqp-auto-jump-bg {
    width: 136px;
    height: 137px;
    right: -52px;
    top: -131px;
    z-index: 3;
}

.sqp-auto-jump-window {
    width: 100%;
    height: 101px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size:14px;
    line-height: 14px;
    background:rgba(0, 0, 0, 0.6);
    border-radius: 8px;
}

.sqp-auto-jump-window .tag-bar {
    width: 38px;
    height: 23px;
    border-radius: 11px;
    background: #ccc;
    cursor: pointer;
    margin-top: 16px;
}

.sqp-auto-jump-window .tag-bar .tag-bar-btn {
    width: 19px;
    height: 19px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 2px 0px 6px 0px rgba(77, 77, 77, 0.15);
    top: 2px;
    left: 2px;
}

.sqp-auto-jump-window .tag-bar-active {
    background: #B22020;
}

/* sh: 19-08-15 跳过片头片尾 over*/