:root {
    --bodyc: white;
    --textc: black;
    --linkc: #27598c;
    --greyc: #eee;
    --lightc: #444;
}

body {
    font-size: 18px;
    font-family:
        segoe ui,
        arial,
        sans-serif;
    margin: 0 auto;
    background: var(--bodyc);
    color: var(--textc);
}
a {
    color: #444;
    color: var(--lightc);
}

.comment {
    background: #f2f2f2;
    background: var(--greyc);
    padding: 10px;
    margin-bottom: 5px;
    word-break: break-word;
    position: relative;
}
h1 {
    margin: 6px 0px;
    padding: 0;
    font-size: 1.3em;
    line-height: normal;
}

h2 {
    margin: 6px 0px;
    padding: 0;
    font-size: 1.3em;
}
blockquote {
    font-size: 16px;
    border-left: 2px solid grey;
    border-left: 2px solid var(--lightc);
    padding-left: 10px;
    margin-left: 10px;
}

p {
    margin: 0;
    margin-bottom: 12px;
}

.comment_author {
    font-size: 14px;
    overflow: hidden;
    margin-bottom: 2px;
}
.comment_text p {
    margin: 0;
    padding: 0;
    margin-bottom: 5px;
}

div#body {
    margin: 0 auto;
    max-width: 500px;
    min-height: 100vh;
}

.comment.ccp0 {
    border-left: 2px solid #0095ff;
}
.comment.ccp1 {
    margin-left: 8px;
    border-left: 2px solid #d82c2b;
}
.comment.ccp2 {
    margin-left: 16px;
    border-left: 2px solid #2fd01d;
}
.comment.ccp3 {
    margin-left: 24px;
    border-left: 2px solid #d0ba17;
}
.comment.ccp4 {
    margin-left: 32px;
    border-left: 2px solid #ea8c42;
}
.comment.ccp5 {
    margin-left: 40px;
    border-left: 2px solid #a662c9;
}
.comment.ccp6 {
    margin-left: 48px;
    border-left: 2px solid #0095ff;
}
.comment.ccp7 {
    margin-left: 56px;
    border-left: 2px solid #d82c2b;
}
.comment.ccp8 {
    margin-left: 64px;
    border-left: 2px solid #2fd01d;
}
.comment.ccp9 {
    margin-left: 72px;
    border-left: 2px solid #d0ba17;
}
.comment.ccp10 {
    margin-left: 80px;
    border-left: 2px solid #ea8c42;
}

a.viewmore {
    clear: both;
    display: block;
    text-align: right;
    color: #333;
    color: var(--lightc);
    font-size: 14px;
    margin-bottom: 3px;
    margin-top: -10px;
}
.rdxt_selftext img {
    max-width: 100%;
}
.rdxt_selftext {
    padding: 10px;
    font-size: 17px;
    word-break: break-word;
}

.post {
    padding: 10px;
    border-bottom: 4px solid #ddd;
    border-bottom: 4px solid var(--greyc);
}

.post_author {
    font-size: 14px;
    color: #555;
    color: var(--lightc);
    overflow: auto;
    white-space: pre;
}

.post_link a {
    text-decoration: none;
    font-size: 18px;
    color: #27598c;
    color: var(--linkc);
    word-break: break-word;
    font-weight: 600;
}
.post_link {
    padding: 6px 0px 8px;
}

.postc.singleimage img {
    max-width: 100%;
}

.postc.selftext.collapsed {
    max-height: 100px;
    overflow: hidden;
    box-shadow: inset 0 -15px 5px -7px #ddd;
    box-shadow: inset 0 -15px 5px -7px #00000033;
}

.postc.gallery {
}

.postc.gallery img {
    max-width: 100%;
}
.gallery_thumbs {
    white-space: pre;
    overflow-x: auto;
    height: 100px;
    overflow-y: hidden;
}
.gtumb {
    vertical-align: top;
}
.gtumb {
    width: 100px;
    margin: 0px 5px;
    object-fit: cover;
    height: 100px;
}
.gtumb.actv {
    border-top: 3px solid var(--linkc);
}
.postc.link a {
    background: #eee;
    background: var(--greyc);
    color: #222;
    color: var(--lightc);
    text-decoration: none;
    padding: 10px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 5px;
    font-size: 14px;
}
.postc.selftext a {
    color: #333;
    color: var(--lightc);
}
div#addsub {
    display: none;
}

div#pagetitle {
    text-align: center;
    background: #eee;
    background: var(--greyc);
    padding: 10px;
}
.navigate {
    padding: 10px 0px;
    margin-bottom: 15px;
}

a.next {
    display: block;
    color: red;
    text-decoration: none;
    background: transparent;
    color: var(--linkc);
    border: 1px solid var(--linkc);
    text-align: center;
    padding: 5px;
    margin: 10px;
    border-radius: 6px;
    background: var(--linkc);
    color: var(--bodyc);
}

div#subssearch {
    position: absolute;
    left: 0;
    right: 0;
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    background: var(--bodyc);
    z-index: 1000;
    padding: 10px;
    border: 1px solid #eee;
    border: 1px solid var(--greyc);
    border-top: 0px;
    box-shadow: 0px 49px 30px #00000033;
    border-radius: 0px 0px 5% 5%;
}

div#subslist a {
    display: block;
    border-bottom: 1px solid #eee;
    border-bottom: 1px solid var(--greyc);
    padding: 10px 0px;
    text-decoration: none;
    color: #444;
    color: var(--textc);
    font-size: 16px;
    padding-left: 2%;
}

input#subssearchi {
    background: white;
    background: var(--bodyc);
    border: 2px solid #ddd;
    border: 2px solid var(--greyc);
    outline: none;
    padding: 10px;
    width: 94%;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    color: var(--textc);
}
.show {
    animation: jump 0.2s;
}
span.polloptiontext {
    white-space: pre;
    width: 80%;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    display: inline-block;
}

span.votecount {
    width: 17%;
    display: inline-block;
    text-align: right;
    font-size: 13px;
}

.polloption {
    padding: 5px 0px;
    border-bottom: 1px solid #ddd;
    border-bottom: 1px solid var(--greyc);
    padding-bottom: 0px;
}

.optionmeter {
    background: #369;
    background: var(--linkc);
    height: 2px;
}

.totalvotes {
    font-size: 16px;
    padding: 5px 0;
}
.hidden {
    display: none;
}

@keyframes jump {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        transform: translateY(0px);
        opacity: 1;
        transform: scale(1);
    }
}

span#menu {
    float: right;
    position: absolute;
    right: 10px;
}

div#rightbar {
    position: absolute;
    right: 0;
    width: 50%;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    background: var(--bodyc);
    z-index: 1000;
    padding: 10px;
    border: 1px solid #eee;
    border: 1px solid var(--greyc);
    border-top: 0px;
    box-shadow: 0px 49px 30px #00000033;
    border-radius: 0px 0px 5% 5%;
    right: 10px;
}

div#rightbar a {
    display: block;
    border-bottom: 1px solid #eee;
    border-bottom: 1px solid var(--greyc);
    padding: 10px 0px;
    text-decoration: none;
    color: #444;
    color: var(--lightc);
    font-size: 16px;
    padding-left: 2%;
}
iframe.gifframe {
    width: 100%;
    height: 200px;
    border: none;
    overflow: hidden;
}
.post_meta {
    font-size: 15px;
    color: #444;
    color: var(--lightc);
    padding: 5px 2px 0px;
}

div#leftbar {
    position: absolute;
    left: 0;
    width: calc(100% - 30px);

    margin: 0 auto;
    background: white;
    background: var(--bodyc);
    z-index: 1000;
    padding: 10px;
    border: 1px solid #eee;
    border: 1px solid var(--greyc);
    border-top: 0px;
    box-shadow: 0px 49px 30px #00000033;
    border-radius: 0px 0px 5% 5%;
}
a.homelinks {
    display: block;
    border-bottom: 1px solid #eee;
    border-bottom: 1px solid var(--greyc);
    padding: 10px 5px;
    text-decoration: none;
    color: #444;
    color: var(--lightc);
    font-size: 16px;
}
a.homelinks.half {
    display: inline-block;
    width: calc(50% - 11px);
    border-bottom: 8px solid var(--greyc);
    border-right: 1px solid var(--greyc);
}
a.homelinks.halfit {
    width: 50%;
    width: calc(50% - 11px);
    display: inline-block;
    padding: 0px;
    padding: 10px 5px;
}

a.homelinks.halfit:nth-child(odd) {
    border-right: 1px solid var(--greyc);
}
div#header {
    user-select: none;
}
span#plus {
    float: left;
    position: absolute;
    left: 0px;
    padding: 5px 11px 5px 14px;
    margin-top: -5px;
}
a.wholethumb {
    color: #222;
    color: var(--lightc);
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 5px;
    font-size: 14px;
}

.postc.thumblink {
    overflow: hidden;
}

.thumb {
    width: 60px;
    height: 60px;
    overflow: hidden;
    display: inline-block;
    float: left;
}

.thumb img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.thumblinklink {
    background: #eee;
    background: var(--greyc);
    display: inline-block;
    height: 52px;
    width: calc(100% - 80px);
    float: left;
    padding: 0px 10px 0px;
    padding-top: 8px;
    word-break: break-all;
}
span.menubars {
    font-size: 0px;
    border-top: 1px solid #000;
    border-top: 1px solid var(--textc);
    width: 25px;
    height: 1px;
    display: inline-block;
}
span.menubars:before {
    content: " ";

    border-top: 1px solid #000;
    border-top: 1px solid var(--textc);
    width: 25px;
    height: 2px;
    display: block;
    margin-top: 5px;
}
.post_link.sticky:before {
    content: "PINNED";
    background: var(--greyc);
    font-size: 13px;
    padding: 5px;
    color: var(--lightc);
    margin-right: 5px;
}
.post_link.sticky:after {
    content: "M";
    background: var(--greyc);
    font-size: 13px;
    padding: 5px;
    color: #47af47;
    margin-left: 5px;
}
span.menubars:after {
    content: " ";

    border-top: 1px solid #000;
    border-top: 1px solid var(--textc);
    width: 25px;
    height: 2px;
    display: block;
    margin-top: 3px;
}
.search input[type="search"] {
    display: block;
    background: var(--greyc);
    width: calc(100% - 76px);
    padding: 4px;
    border: 1px solid var(--lightc);
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    max-width: 600px;
    color: var(--textc);
    float: left;
}

.search label {
    font-size: 13px;
}
.comment_text p {
    word-wrap: break-word;
    line-height: 124%;
}
a:hover,
a:active {
    opacity: 0.8;
}
.comment_text img {
    max-width: 99%;
}
.comment_text pre {
    white-space: pre-wrap;
}

.search input[type="submit"] {
    font-size: 12px;
    background: var(--lightc);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    margin-left: 5px;
    color: var(--bodyc);
    border: 1px solid var(--textc);
}
input#chk1 {
    vertical-align: middle;
    margin-right: 10px;
}

span.horimenu {
    float: right;
    font-size: 23px;
    line-height: 0px;
    letter-spacing: 1px;
    margin-right: 5px;
    padding-left: 5px;
    width: 25px;
    display: inline-block;
    height: 20px;
}
input[type="submit"] {
}
span.md-spoiler-text {
    background: var(--textc);
}

span.md-spoiler-text:hover {
    color: var(--bodyc);
}
.urlpreview.over18:before {
    content: "NSFW";
    height: 100%;
    background: #0000002b;
    display: block;
    z-index: 1111;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(26px);
    padding-left: 10px;
    color: black;
    box-sizing: border-box;
    font-weight: 800;
}

.urlpreview.over18 {
    position: relative;
}
button.sfwtoggle {
    background: var(--greyc);
    color: var(--linkc);
    border: none;
    padding: 5px 10px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid;
    width: 100%;
}

div#popitup {
    background: black;
    background: var(--greyc);
    position: fixed;
    left: 0;
    right: 0;
    top: 45px;
    border-top: 5px solid var(--bodyc);
    z-index: 1000;
    box-shadow: 0px -16px 32px #0000004d;
    height: 92vh;
}

textarea#commentText {
    background: grey;
    background: var(--bodyc);
    width: 88%;
    margin: 15px auto 15px;
    padding: 10px;
    border: 1px solid var(--bodyc);
    display: block;
    color: var(--textc);
    font-family: sans-serif;
    max-width: 400px;
    height: 75px;
    clear: both;
    outline: none;
    font-size: 17px;
}

button#cmntbtn {
    display: block;
    color: red;
    text-decoration: none;
    background: transparent;
    color: var(--linkc);
    border: 1px solid var(--linkc);
    text-align: center;
    padding: 5px;
    margin: 10px;
    border-radius: 6px;
    width: 90%;
    margin: 0 auto 25px;
    max-width: 400px;
    font-size: 17px;
}
#helptext {
    clear: both;
    margin: 10px 15px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: var(--bodyc);
    padding: 5px;
}

div#popitup span {
    float: right;
    padding: 10px 20px;
    display: block;
    color: var(--linkc);
}
div#cthemew a {
    color: var(--linkc);
    padding: 10px;
    display: inline-block;
    font-size: 17px;
}
span.comment_meta {
    color: grey;
    color: var(--lightc);
    margin-left: 7px;
}
form.search {
    padding: 5px 5px;
    clear: both;
    line-height: 27px;
}
.isop {
    color: var(--linkc);
}
span.authorttext.isop {
}

span#menu {
    padding: 8px 5px 3px 10px;
    margin-top: -10px;
}
div#subscribed {
    border-top: 3px solid var(--greyc);
}

.md {
}

div#subscribed a {
    display: inline-block !important;
    margin: 7px 9px 1px 0px !important;
    border: 1px solid var(--greyc);
    background: var(--greyc);
    border-radius: 10px;
    padding: 8px;
}

div#subscribed a:before {
    content: "r/";
    opacity: 0.65;
}
div#paginate {
    text-align: center;
}
div#pagetitle span svg {
    fill: var(--textc) !important;
}
button#loadmore1 {
    background: var(--greyc);
    color: var(--textc);
    border: none;
    padding: 8px 10px;
    cursor: pointer;
    width: 123px;
    margin-bottom: 10px;
    font-size: 17px;
}
.comment-reply span {
    color: var(--lightc);
    font-size: 14px;
    text-transform: lowedrcase;
    padding: 3px 7px;
    margin-bottom: -5px;
    display: inline-block;
    background: var(--bodyc);
    border-radius: 4px;
    margin-right: 10px;
    margin-left: -5px;
}

.comment-reply {
    margin-bottom: -3px;
}
.collapsed .comment_text {
    animation: collapseit 0.1s linear forwards;
}

svg#icon-target {
    width: 7px;
    color: var(--textc);
    margin-left: -1px;
    vertical-align: middle;
}
.footer {
    text-align: center;
    padding: 0px 5px 5px;
}

a.bmac {
    background: #fede02;
    padding: 8px 16px 5px;
    display: inline-block;
    border-radius: 9px;
    box-shadow: 1px 1px 5px #00000082;
    margin-bottom: 10px;
}
@keyframes collapseit {
    0% {
        transform: scaleY(0.9);
    }
    95% {
        transform: scaleY(0);
    }
    100% {
        transform: scaleY(1);
        height: 0;
        overflow: hidden;
    }
}
span#taptoopenmenu {
    padding: 10px;
}
.infotext {
    margin: 0 auto;
    max-width: 500px;
    padding: 15px;
}

.infotext h1,
.infotext h2 {
    font-size: 15px;
}

.infotext p {
    font-size: 14px;
}
div#newgallery {
    background: black;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow-y: scroll;
    animation: popsup 0.1s linear;
    z-index: 10000;
}
.gallery_main img {
    cursor: pointer;
}
@keyframes popsup {
    from {
        transform: translateY(30%);
    }
    to {
        transform: translateY(0%);
    }
}
.displayimg img {
    max-width: 95%;
    max-height: 100vh;
    margin: 5px auto;
    display: block;
}

.displayimg:first-of-type {
    margin-top: 50px;
}
span#closegal {
    background: var(--greyc);
    color: var(--textc);
    padding: 5px 10px;
    position: fixed;
    top: 5px;
    right: 0;
    border-radius: 10px;
    opacity: 0.95;
    font-size: 14px;
    cursor: pointer;
    left: 0;
    width: 50px;
    text-align: center;
    opacity: 0.6;
    margin: 0 auto;
    backdrop-filter: blur(47px);
}
.post.comp {
    overflow: hidden;
    clear: both;
}

.compthumb,
.comptext {
    width: 80px;
    overflow: hidden;
    margin-right: 10px;
    display: inline-table;
    text-align: center;
}
span.authorttext.isop:after {
    content: "OP";
    margin-left: 5px;
    background: var(--lightc);
    color: var(--greyc);
    border-radius: 5px;
    padding: 1px 5px;
    font-size: 11px;
}
.rop {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 90px);
}

.compthumb img {
    max-width: 80px;
    max-height: 80px;
}

.rop .post_author {
    white-space: normal;
}

.rop .post_link a {
    font-size: 16px;
}

.rop .post_link {
    padding: 2px 0px 0px;
}
.comptext {
    height: 20px;
    text-align: center;
    color: var(--greyc);
    margin-top: 20px;
}
@media all and (display-mode: standalone) {
    header#header {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        z-index: 1000;
    }

    div#body {
        margin-top: 43px;
    }
}
div#rdxapp {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid var(--greyc);
    align-items: center;
}

div#rdxapp {
}

a.dlbtnapp {
    border: 1px solid var(--linkc);
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
}

span.axeit {
    font-family: monospace;
    padding: 0px 5px;
    color: var(--linkc);
}

.video-js .vjs-big-play-button {
    transform: translate(-50%, -50%);
    top: 50% !important;
    left: 50% !important;
}
