/* Basic */
body {
    margin-left: 150px;
    padding: 0px 10px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.notbold{
    font-weight:normal
}

p {
    font-size : 16px;
}
/* Sidebar */

.sidebar {
    height: 100%;
    width: 120px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #585656;
    overflow-x: hidden;
    padding-top: 20px;
}

.sidebar a{
    padding: 5px;
    font-size: 26px;
    display: block;
    color: #c2c2c2;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
}

.sidebar a:hover{
    color: #FFFFFF;
    text-decoration: underline;
}

/* Video Player */
video {
    pointer-events: none;
    border-radius: 8px;
}

.video-loader {
    position: relative;

    top:-150px;
    left:25px;

    width:100px;
    height:20px;

    /*border: 16px solid #ffff;
    border-top: 16px solid #818181;
    border-radius: 50%;

    animation: spin 2s linear infinite;*/
}

@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

button {
    padding: 0;
    border: none;
    background: none;
}

.video-control{
    position:relative;
    top:-53px;
    left:10px;

    opacity: 0;
    transition: .5s ease;

    width: 61%;
    height: 30px;
}

.video-control:hover {
    opacity: 1;
}

#playpauseimg {
    position: relative;
    top:-7px;
    left: 4px;
    width: auto;
    height: 25px;
}

.slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #FFFFFF;
    outline: none;
    border-radius: 8px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #FFFFFF;
    outline: none;
    cursor: pointer;
    border-radius: 20px;
}

.slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #FFFFFF;
    outline: none;
    cursor: pointer;
    border-radius: 20px;
}

.volslider img {
    position:absolute;
    left: 60px;
    top: -5px;
    width: 25px;
    height: auto;
}

#volrange {
    position:absolute;
    left: 100px;
    top: -1px;
    width: 120px;
    height: 8px;
}

.videoTimeSlider {
    position:relative;
    left:-12px;
    top: -100px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(121, 121, 121, 0.5);
    width:100%;
    height:10px;
}

.videoTimeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: rgb(100,100,100);
    outline: none;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 0 5px inset rgb(150, 150, 150);}

.videoTimeSlider::-moz-range-thumb {
    -moz-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: rgb(100,100,100);
    outline: none;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 0 5px inset rgb(150, 150, 150);
}

.settingButtons {
    position: relative;
    right:-85%;
}

#fullscreenimg {
    position: relative;
    width:auto;
    height:30px;
}

.fullscreenButton {
    position: relative;
    top:-106px;

    width:40px;
    height:50px;
}

#optionimg {
    position:relative;
    width: auto;
    height: 30px;
}

.settingbutton{
    position:relative;
    top:-106px;

    width: 50px;
    height: 50px;

    opacity: 1;
    transition: .5s ease;
}

.settingbutton p {
    color:white;
    font-size:17px;
    position:absolute;
    top:-120px;
}

.settingbutton img {
    width: auto;
    height: 17px;
}

.defaultSettingButtons {
    top:20px;
}

.optionButtons{
    position:relative;
    right:-85%;
    top:-106px;

    width: 50px;
    height: 50px;

    opacity: 1;
    transition: .5s ease;
}

.optionButtons p {
    color:white;
    font-size:17px;
    position:absolute;
    top:-150px;
}

.optionButtons img {
    width: auto;
    height: 17px;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }
    
    100% {
        opacity: 1;
    }
}

@keyframes fadeout {
    0% {
        opacity: 1;
    }
    
    100% {
        opacity: 0;
    }
}

#qualitySettingButtons {
    opacity: 0;
}

#qualitybutton {
    position: relative;

    width: 50px;
    height: 50px;
}

#otherSettingsButtons {
    opacity: 0;
}

.otherbutton p{
    position: relative;
    left:-100px;
    
    font-size:16px;
    width:200px;
}

#PlaybackSpeedSetting{
    opacity: 0;
}

#playbackSlider {
    position: absolute;
    left: -87px;
    top: -280px;

    width: 167px;
    height: 50px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    outline: none;
    border-radius: 8px;
}

#playbackSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #FFFFFF;
    outline: none;
    cursor: pointer;
    border-radius: 20px;
}

#playbackSlider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #FFFFFF;
    outline: none;
    cursor: pointer;
    border-radius: 20px;
}

/* About video */

h1 {
    position:relative;
    top: -20px;
    width : 600px;
}

#descriptiontext {
    position:relative;
    
    font-size: 17px;

    width:520px;

    background: none;
}

/* Code for comments in video player : */
#commentActualForm {
    background: #e3e3e3;
    border-radius:20px;
    width: 690px;
    height: 130px;
}

#commentForm{
    position:relative;
    top:8px;
    left:5px;

    font-size: 16px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

    resize: none;
    background:none;
    border:none;
    outline: none;
}

#typeComment{
    position:relative;
    top:-135px;
    left:7px;
    
    pointer-events: none;

    user-select: none; /* for IE text select remover */
    -ms-user-select: none; /* IE */

    color:rgb(60, 60, 60);
}

#characterAmount {
    position:relative;
    left: 600px;
    top: -50px;

    width:50px;
    
    pointer-events: none;

    user-select: none; /* for IE text select remover */
    -ms-user-select: none; /* IE */

    color:rgb(60, 60, 60);
}

.commentTextSubmit button{
    position: relative;
    left:600px;
    top:4px;

    width:96px;
    
    border: 1px solid black;
    border-radius: 9px;
    background: white;
}

.commentTextSubmit button:hover{
    position: relative;
    left:600px;
    top:4px;

    width:96px;
    
    border: 1px solid black;
    border-radius: 9px;
    background: rgb(60, 60, 60);
    color: white;
}

.userComments {
    background: #e3e3e3;
    border-radius: 12px;
    width: 600px;
}

.commentPoster {
    position: relative;
    top: 3px;
    left: 5px;

    font-size: 14px;
}

.commentContent {
    position:relative;
    left: 10px;
    width: 580px;

    font-size: 18px;
}

.commentVotes {
    position: relative;
    left: 10px;

    font-size: 14px;
}

.userReply {
    position:relative;
    left:20px;

    background: #c3c3c3;
    border-radius: 12px;
    width: 600px;
}

.commentPosterReply {
    position: relative;
    top: 3px;
    left: 5px;

    font-size: 14px;
}

.commentContentReply {
    position:relative;
    left: 10px;
    width: 580px;

    font-size: 18px;
}