@media only screen and (min-width: 1px) and (max-width: 480px) {
    .vidcontainer {
        width: 100%;
        height: 100%;
        float: right;
        position: relative;
        overflow: hidden;
        border-right-color: #000000;
        border-bottom-color: #000000;
        border-left-color: #000000;
        border-style: none;
    }

    .videolist {
        float: right;
        width: 100%;
        background-color: rgb(76, 76, 76);
        height: 100%;
        position: relative;
    }
}

@media only screen and (min-width: 481px) {
    .vidcontainer {
        width: 75%;
        height: 100%;
        float: left;
        position: relative;
        overflow: hidden;
        border-right-color: #000000;
        border-bottom-color: #000000;
        border-left-color: #000000;
        border-style: none;
    }

    .videolist {
        float: right;
        width: 25%;
        background-color: rgb(76, 76, 76);
        height: 100%;
        position: relative;
    }
}

video {
    width: 85%;
    height: 455px;
    color: #fff;
    text-align: center;
    font-size: 20px;
    padding-bottom: 10%;
    margin-left: 8%;
}

@media (max-width:480px) {
    video {
        width: 100%;
        height: 325px;
        color: #fff;
        text-align: center;
        font-size: 20px;
        padding-bottom: 10%;
        margin-left: 8%;
    }
}

.vids {
    margin: 5px;
    background-color: #292626;
    max-height: 450px;
    min-height: 450px;
    border: 1px solid #616060;
    overflow-y: scroll;
    list-style: none;
    direction: rtl;
    font-family: 'Almarai', sans-serif;
}

.vids::-webkit-scrollbar {
    width: 5px;
    background-color: #8A8A8A;
    border: 1px solid #AFACAC;
}

.vids::-webkit-scrollbar-thumb {
    background-color: #FF8D00;
    border-radius: 5px;
}

.vids::-webkit-scrollbar-thumb:hover {
    background-color: #fff;
}

.vids::-webkit-scrollbar-thumb:active {
    background-color: #ccc;
}

.vids a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    display: block;
    border-bottom: 1px solid #616060;
    padding: 8px 5px;
    margin: 2px;
    text-align: right;
}

/* --- controllers --- */
.controllers {
    position: absolute;
    bottom: 0;
    height: 32px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.72);
    display: block;
    text-align: center;
    direction: ltr;
    padding: 0px;
}

@media (max-width:639px) {
    .controllers button {
        border: 1px solid #E7E7E7;
        background-color: #FFFFFF;
        color: #777;
        height: 65%;
        width: 8%;
        border-radius: 50%;
        margin: 7px;
        box-shadow: 1px 1px 3px #4C4C4C;
        outline: none;
        display: block;
        float: left;
        position: relative;
        padding: 0px;
    }
}

@media (min-width:640px) {
    .controllers button {
        border: 1px solid #E7E7E7;
        background-color: #FFFFFF;
        color: #777;
        height: 22px;
        width: 35px;
        border-radius: 50%;
        margin: 5px;
        box-shadow: 1px 1px 3px #4C4C4C;
        outline: none;
        display: inline-block;
        float: left;
        line-height: 0px;
    }
}

.controllers button:focus {
    box-shadow: 1px 0px 7px #4C4C4C;
    border-color: #ff8d00;
    color: #ff8d00;
    background-color: #4C4C4C;
}

.btnPlay:after {
    content: "\f04b";
    font-family: 'FontAwesome';
}

.paused:after {
    content: "\f04c";
}

.sound:after {
    content: "\f027";
    font-family: 'FontAwesome';
}

.sound2:after {
    content: "\f028";
}

.muted:after {
    content: "\f026";
}

.btnFS:after {
    content: "\f065";
    font-family: 'FontAwesome';
}

.playing {
    background-color: #999;
    border: 1px solid #ff8d00!important;
    -webkit-transition: 0s;
    -o-transition: 0s;
    transition: 0s;
}

.playing:after {
    content: "\f01d";
    font-family: 'FontAwesome';
    color: #ff8d00;
    float: left;
}

/* PROGRESS BAR CSS */
.topControl {
    position: absolute;
    display: block;
    width: 100%;
    bottom: 20px;
    background-color: rgba(255, 255, 255, 0);
    z-index: 1;
}

/* Progress bar */
.progress {
    width: 100%;
    height: 5px;
    position: relative;
    float: left;
    cursor: pointer;
    background: #999;
}

.progress span {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
}

.timeBar {
    z-index: 10;
    width: 0;
    background: #ff8d00;
}

.bufferBar {
    z-index: 5;
    width: 0;
    background: #eee;
}

/* time and duration */
.time {
    width: 12%;
    float: right;
    text-align: center;
    font-size: 11px;
    line-height: 12px;
    right: -12%;
    opacity: 0;
    position: absolute;
}

.topControl:hover .time {
    right: 0;
    opacity: 1;
}

.topControl:hover .progress {
    width: 88%;
    height: 12px;
}

/* VOLUME BAR CSS */
/* volume bar */
.volume {
    position: relative;
    cursor: pointer;
    width: 70px;
    height: 10px;
    float: left;
    background-color: #999;
    margin: 10px;
}

.volumeBar {
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ff8d00;
    z-index: 10;
}

.loading {
    width: 100%;
    height: 405px;
    position: absolute;
    top: 0;
    text-align: center;
    justify-content: center;
}

i.fa.fa-spinner.fa-spin {
    height: 60px;
    width: 60px;
    font-size: 60px;
    color: #fff;
    text-shadow: 0px 0px 8px #000;
    position: relative;
    justify-content: center;
    text-align: center;
    margin-top: 15rem;
    padding-bottom: 10rem;
}

.disabled {
    pointer-events: none;
    cursor: not-allowed;
    background-color: #C2C2C2!important;
}

ul.speedcnt {
    display: none;
    position: absolute;
    right: 30px;
    bottom: 60px;
    background-color: #fff;
    border-radius: 5px;
    list-style: none;
    -webkit-transition: 0s;
    -o-transition: 0s;
    transition: 0s;
}

ul.speedcnt li {
    text-align: center;
    font-family: 'verdana', tahoma , serif;
    font-size: 13px;
    padding: 5px 20px;
    cursor: pointer;
    display: block;
    border-bottom: 1px solid #ccc;
}

ul.speedcnt li:last-child {
    border-bottom: none;
}

ul.speedcnt li.selected {
    background-color: rgba(255, 141, 0, 0.6);
}

html {
}

.backimg {
    width: 50px;
    height: 42px;
}
