.left {
    width: 350px;
    float: left;
    height: 100%;
    border-right: 1px solid #545252;
}

.left .header {
    min-height: 30px;
    padding: 10px;
}

.right {
    margin-left: 350px;
    height: 100%;
}

.header {
    background-color: #232323;
    border-bottom: 1px solid #545252;
    line-height: 30px;
}

.right .header {
    height: 50px;
    padding-left: 10px;
}

.header .about {
    float: right;
    width: 60px;
    line-height: 50px;
    border-left: 1px solid #545252;
    padding-left: 15px;
}

.embed a {
    color: #ffffff;
}

.header a {
    text-decoration: underline;
    color: white;
}

.header .post-info {
    float: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: calc(100% - 90px);
    display: block;
}

pre.selftext {
    max-width: 100%;
    white-space: pre-line;
}

.reddit-video {
    width: 100%;
    height: calc(100% - 51px);
}

#ytplayer {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    max-height: calc(100% - 51px);
}

.iframe {
    width: 100%;
    height: 0;
    position: relative;
    padding-bottom: 56.25%;
}

.header a:hover {
    text-decoration: none;
    color: rgb(212, 211, 211);
    text-decoration: underline;
}

.header small {
    line-height: 12px;
    display: block;
}

.scroller {
    height: calc(100% - 51px);
    background-color: #383737;
    border-left: 1px solid #545252;
    overflow: auto;
}

img.thumbnail {
    width: 70px;
    height: 45px;
}

span.comments {
    color: #ff9d93;
}

span.points {
    color: #91eca0;
}

span.link a {
    color: #b2a7ec;
}

.scroller ul {
    margin: 0;
    list-style: none;
    -webkit-margin-before: 0px;
    -webkit-margin-after: 0px;
    -webkit-padding-start: 0px;
    padding: 0px;
}

.scroller ul li {
    padding: 10px;
    border-bottom: 1px solid #545252;
    cursor: pointer;
    height: 75px;
}

div.watched {
    color: #808080;
    text-decoration: line-through;
}

.scroller ul li.active {
    border-left: 6px solid #5757ff;
    padding-left: 4px;
}

.scroller ul li:hover {
    background-color: #424242;
}

.scroller-title {
    font-size: 13px;
}

.scroller-thumbnail {
    float: left;
}

.content {
    height: calc(100% - 51px);
    background-color: #424141;
    overflow-y: auto;
    font-size: 14px;
}

.content p {
    margin: 0px;
}

.content h2 {
    margin: 0px;
}

.embed img {
    max-height: calc(100% - 51px);
    height: calc(100% - 51px);
    max-width: 100%;
}

.embed iframe {
    overflow: hidden;
}

.embed {
    padding: 20px 20px 0px 20px;
}

body {
    color: #ffffff;
    margin: 0px;
    font-family: 'Fira Sans', sans-serif;
}

select {
    font-size: 16px;
    background-color: transparent; 
    background-image: none; 
    -webkit-appearance: none;
    border: none; 
    box-shadow: none; 
    padding: 0px;
    text-decoration: underline;
    cursor: pointer;
    -moz-appearance: none;
}

option {
    color: black;
}

select:focus {
    outline: none;
}

.subreddit select {
    color: #7fc6f9;
}

.order select {
    color: #ffc0cb;
}

.time select {
    color: #77ea40;
}

img.selftext {
    width: 70px;
}

.lds-dual-ring {
    display: inline-block;
    width: 64px;
    height: 64px;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 46px;
    height: 46px;
    margin: 1px;
    border-radius: 50%;
    border: 5px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Modal stuff */
.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.modal a {
    color: white;
}

.modal a:hover {
    color: gray;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #3a3a3a;
    padding: 1rem 1.5rem;
    width: 24rem;
    border-radius: 0.5rem;
}

.close-button {
    float: right;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: #757575;
}

.close-button:hover {
    background-color: darkgray;
}

.show-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

.block-ellipsis {
    display: block;
    display: -webkit-box;
    max-width: 100%;
    height: 76px;
    margin: 0 auto;
    padding-left: 10px;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.loadedTitle {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}