﻿/*这里隐藏webkit的video的默认控制栏*/
video::-webkit-media-controls {
    display: none !important;
}

.rowAlign {
    display: flex;
    justify-content: space-between;
}

.controlArea {
    z-index: 2174836;
    width: 100%;
    position: absolute;
    bottom: 0;
    height: 76px;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}

.controlBtn {
    height: 38px;
    width: 38px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    line-height: 14px;
}

.controlBtn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.controlBtn img {
    width: 16px;
    height: 16px;
}

.operate {
    height: 48px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.operateSpacing {
    margin-left: 12px;
}

.operateSpacing img {
    width: 18px;
    height: 18px;
}

.progress {
    height: 5px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 16px;
    position: relative;
    cursor: pointer;
}

.progress:hover span {
    display: block;
}

.progress span {
    display: none;
    width: 11px;
    height: 11px;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    position: absolute;
    left: 0px;
    top: -3px;
}

.cacheProgress {
    width: 0%;
    height: 5px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    position: absolute;
}

.playProgress {
    width: 0%;
    height: 5px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.8);
    position: absolute;
}

.controlTime {
    margin-left: 8px;
    font-size: 14px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clarity {
    position: relative;
    margin-right: 8px;
}

.clarity:hover {
    background-color: none !important;
}

.clarity:hover .clarityElem {
    display: block;
}

.clarityElem {
    display: none;
    position: absolute;
    bottom: 0px;
    left: -25px;
    width: 85px;
    height: 140px;
    border-radius: 7px;
    background-color: rgba(255, 255, 255, 0.1);
}

.clarityElem span {
    margin-top: 16px;
}

.clarityElem span:hover {
    color: #35A285;
}

.clarityElem div {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}

.volume {
    height: 38px;
    width: 38px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    line-height: 14px;
    position: relative;
    z-index: 9999;
}

/*.volume:hover .volumeElem {
    display: block;
}*/

.volumeElem {
    display: none;
    position: absolute;
    bottom: 0px;
    left: -1px;
    width: 40px;
    height: 140px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: 2s;
    animation: graduallymove 1.5s ease-out 0.2s;
    z-index: -1;
}

.volumeElem div {
    width: 5px;
    height: 50%;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    margin: 0 auto;
    margin-top: 20px;
    position: relative;
}

.volumeElem span {
    width: 11px;
    height: 11px;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    position: absolute;
    left: -3px;
    top: 0px;
}

.volumeElem p {
    width: 5px;
    height: 70px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    position: absolute;
    top: 0px;
}

@keyframes volumeElem {
    0% {
        height: 0px;
    }

    100% {
        height: 140px;
    }
}
