/* ===============================
   Base Styles (Desktop First)
   =============================== */

/* bootstrap5 12 column grid system */
.container {
    width: 99%;
    padding-right: 0.3rem;
    padding-left: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;

}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * 0.75rem);
    margin-right: -0.50rem;
    margin-left: -0.50rem;
}
.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 950%;
    padding-right: 0.50rem;
    padding-left: 0.50rem;
    margin-top: 0.50rem;
}

.col {
    flex: 1 0 0;
}

.col-1  { flex: 0 0 auto; width: 8.333333%; }
.col-2  { flex: 0 0 auto; width: 16.666667%; }
.col-3  { flex: 0 0 auto; width: 25%; }
.col-4  { flex: 0 0 auto; width: 33.333333%; }
.col-5  { flex: 0 0 auto; width: 41.666667%; }
.col-6  { flex: 0 0 auto; width: 50%; }
.col-7  { flex: 0 0 auto; width: 58.333333%; }
.col-8  { flex: 0 0 auto; width: 66.666667%; }
.col-9  { flex: 0 0 auto; width: 75%; }
.col-10 { flex: 0 0 auto; width: 83.333333%; }
.col-11 { flex: 0 0 auto; width: 91.666667%; }
.col-12 { flex: 0 0 auto; width: 100%; }

/* Display */
.block         { display: block !important; }
.inline        { display: inline !important; }
.inline-block  { display: inline-block !important; }
.flex          { display: flex !important; }
.grid          { display: grid !important; }

.flex-row      { flex-direction: row !important; }
.flex-col      { flex-direction: column !important; }
.justify-center   { justify-content: center !important; }
.justify-between  { justify-content: space-between !important; }
.items-center     { align-items: center !important; }

.grid-cols-2   { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3   { grid-template-columns: repeat(3, 1fr); }
.gap-2         { gap: 0.5rem !important; }
.gap-4         { gap: 1rem !important; }

/* Spacing */
.p-1  { padding: 0.25rem !important; }
.p-2  { padding: 0.5rem !important; }
.p-3  { padding: 1rem !important; }

.m-1  { margin: 0.25rem !important; }
.m-2  { margin: 0.5rem !important; }
.m-3  { margin: 1rem !important; }

.mt-1 { margin-top: 0.25rem !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.ml-1 { margin-left: 0.25rem !important; }
.mr-1 { margin-right: 0.25rem !important; }

/* Text */
.text-left     { text-align: left !important; }
.text-center   { text-align: center !important; }
.text-right    { text-align: right !important; }

.text-sm       { font-size: 0.875rem !important; }
.text-md       { font-size: 1rem !important; }
.text-lg       { font-size: 1.25rem !important; }
.text-bold     { font-weight: bold !important; }
.text-light    { font-weight: 300 !important; }

.w-full        { width: 100% !important; }
.w-half        { width: 50% !important; }

.bg-light      { background-color: #f5f5f5 !important; }
.bg-dark       { background-color: #111 !important; }
.text-dark     { color: #111 !important; }
.text-light    { color: #eee !important; }

/* Visibility */
.hidden        { display: none !important; }


/* RYLEE */

/* For Rylee, again! :-) */
/* --- V 2015.12.31.0337 --- */

/* --- --- --- DEFAULTS --- --- --- */
body {
    background: #fff;
    margin: 0;
    padding: 0;
    font-family: verdana, arial, sans-serif;
    font-size: 11px;
    background-image: url(https://slorm.net/common/images/right.gif);
    background-repeat: repeat-x;
    background-position: top right;
}

/*tool drawer*/

#toolDrawer {
    max-height: 0;
    overflow: hidden;
    margin-top: 4px;
    margin-bottom: 5px;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;

}

#toolDrawer.open {
    display: block;
    max-height: 500px; /* big enough to fit the content */
    padding: 8px, 8px, 8px, 0px;
}


.forumBottom {
    display: block;
    background-color: #DDDDDD;
    min-height: 18px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

form { display: inline; }

.big, .medium, .small {
    background: #eee;
    color: #0063dc;
    border: 1px #999 solid;
    padding: 2px;
    font-family: verdana, arial, sans-serif;
}
.big { font-size: 14px; font-weight: bold; }
.medium { font-size: 12px; font-weight: bold; }
.small { font-size: 11px; }

.formnote { font-size: 10px; color: #666; margin-left: 2px; }

.button, .bbcode { border: 1px #ccc solid; background: #eee; cursor: pointer; }
.bbcode { margin: 0 0 2px 0;}

select {
    font-size: 11px;
}

/* default links */
a:link, a:visited { color: #009; text-decoration: none; }
a:hover { color: #7373b6; text-decoration: none; }

.error { color: #f00; }

#logo { font-size: 16px; font-weight: bold; padding-left: 7px;}

#slogan { font-size: 16px; font-weight: bold; padding-left: 7px;}

.topimg {
    display: inline;
    margin-right: 3px;
}

#topnav {
    border-top: 1px #335577 solid;
    border-bottom: 1px #335577 solid;
    font-size: 12px;
    margin: 0;
    padding: 3px 5px 3px 5px;
    background: #7d93b5;
}

#topnav ul {
    padding: 0;
    margin: 0;
    white-space: nowrap;
}

#topnav ul li { display: inline; margin-right: 15px; }

/* #topnav li.right { float:right; color:e3f2f0;} */

#topnav a:link, #topnav a:visited { color: #e3e9f2; text-decoration: none; font-weight: bold; }
#topnav a:hover { color: #fff; text-decoration: none; font-weight: bold; }


#header {
    background: #f5f5f5;
    padding: 5px 10px 5px 5px;
}

/*
#header {
	border-bottom: 1px #ddd solid;
	text-align: right;
	font-size: 11px;
	height: 18px;
	margin-left: 70px;
}

#header img {
	display: inline;
	float: left;
	margin-right: 3px;
	max-width: none;
}

#header div { float: right; }

#logo { font-size: 15px; font-weight: bold; }
#slogan { font-size: 15px; font-weight: bold; }
#logo img { display: inline; float: left; margin-right: 5px; }

#title {
	font-size: 18px;
	font-weight: bold;
	margin-left: 80px;
	padding: 2px 0;
}
*/

#content { /* content container */

    padding: 10px 5px 5px 8px;
    overflow: hidden;
}

#content2 { /* alternate content container (forum, webcams) */
    padding: 5px;
}

#left {
    position: absolute;
    left: 0;
    top: 68px;
    width: 130px;
    padding: 7px 5px;
}

#content h1 a:link, #content h1 a:visited, #content h1 a:hover { display: block; text-decoration: none; color: #111; }

#content h1 { /* post tags */
    float: left;
    margin: 0 5px 0 0;
    border: 1px solid #444;
    width: 80px;
    padding: 0;
    text-align: center;
    font-weight: bold;
    font-size: 11px;
}

#content h2 { /* post titles */
    font-size: 12px;
    margin: 0;
    padding: 0;
    font-weight: bold;
}

#content h3 { /* post info */
    color: #555;
    font-size: 10px;
    margin: 0 0 0 1px;
    font-weight: normal;
    float: left;
}

#content h4 { /* comments */
    color: #555;
    font-size: 11px;
    font-weight: normal;
    margin: 0 0 2px 0;
    text-align: right;
}

p.post { /* post body */
    margin: 4px 2px 5px 2px;
    font-size: 11px;
}

div.post, div.ad {
    border-bottom: 1px #ccc solid;
    font-size: 11px;
    margin-bottom: 5px;
    padding-bottom: 0;
}

div.ad {margin-bottom: 4px; padding-bottom: 2px; }

/* post title links */
a.title:link, a.title:visited {
    color: #006;
    text-decoration: none;
}

a.title:visited {
    color: #999;
    text-decoration: none;
}

a.title:hover {
    color: #006;
    text-decoration: underline;
}

/* front page author links */
a.author:link, a.author:visited { color: #555; text-decoration: none; }
a.author:hover { color: #7373b6; text-decoration: none; }

/* post body links */
#content p a:link { color: #009; text-decoration: underline; }
#content p a:visited { color: #999; text-decoration: none; }
#content p a:hover { color: #7373b6; text-decoration: underline; }

/* ---- profile ---- */
#profile {
    font-size: 12px;
}

#avatar {
    display: inline;
    float: left;
    margin: 0 10px 10px 0;
}

#username {
    font-size: 21px;
    font-weight: bold;
}

#tagline {
    font-size: 11px;
    color: #666;
    margin: 0 0 10px 0;
}

.profiledata {
    font-size: 12px;
}

#community {
    width: 215px;
}

#talktome {
    margin-top: 10px;
    width: 215px;
}

#talktome img {
    display: inline;
    float: left;
    margin: 0 5px 0 0;
}

#talktome div {
    clear: left;
    margin-bottom: 5px;
}

.changelog {
    color: #0063dc;
    font-weight: bold;
    font-size: 14px;
}

/* grey box, rounded corners */
.greyboxtl { background: url(https://slorm.net/common/images/ltl.gif) 0 0 no-repeat #ddd; }
.greyboxtr {
    background: url(https://slorm.net/common/images/ltr.gif) 100% 0 no-repeat;
    margin: 0;
    padding: 5px;
}
.greyboxbl { background: url(https://slorm.net/common/images/lbl.gif) 0 100% no-repeat #ddd; }
.greyboxbr {
    background: url(https://slorm.net/common/images/lbr.gif) 100% 100% no-repeat;
    margin: 0;
    padding: 0 5px 5px 5px;
    font-size: 11px;
}

.greyboxtitle {
    font-size: 12px;
    color: #132a6c;
    font-weight: bold;
}

/* red box, rounded corners */
.redboxtl { background: url(https://slorm.net/common/images/rbtl.gif) 0 0 no-repeat #f6e8e8; }
.redboxtr {
    background: url(https://slorm.net/common/images/rbtr.gif) 100% 0 no-repeat;
    margin: 0;
    padding: 5px;
}
.redboxbl { background: url(https://slorm.net/common/images/rbbl.gif) 0 100% no-repeat #f6e8e8; }
.redboxbr {
    background: url(https://slorm.net/common/images/rbbr.gif) 100% 100% no-repeat;
    margin: 0;
    padding: 0 5px 5px 5px;
    font-size: 11px;
}

.redboxtitle {
    font-size: 12px;
    color: #f33;
    font-weight: bold;
}

/* generic table style */
.stdtable { }

.stdtable th {
    background: #ddd;
    border-bottom: 1px #94a6d8 solid;
    padding: 2px 2px 2px 6px;
    text-align: left;
    color: #132a6c;
    font-weight: bold;
    font-size: 12px;
}
.stdtable th.left { background: url(https://slorm.net/common/images/ltl.gif) 0 0 no-repeat #ddd; }
.stdtable th.right { background: url(https://slorm.net/common/images/ltr.gif) 100% 0 no-repeat #ddd; }

.stdtable td {
    border-bottom: 1px #ccc solid;
    border-right: 1px #ccc solid;
    padding: 2px;
    font-size: 11px;
}
.stdtable td.right { border-right: 0; }

tfoot.bottom{
    background-color:#e5e5e5;
}

/* ------- right menu ------- */
.menutl {background: url(https://slorm.net/common/images/tl.gif) 0 0 no-repeat #ddd; }

.menutr {
    background: url(https://slorm.net/common/images/tr.gif) 100% 0 no-repeat;
    font-size: 12px;
    margin: 0;
    padding: 1px 0 1px 6px;
    border-bottom: 1px #94a6d8 solid;
    color: #132a6c;
    font-weight: bold;
}


#right { /* right menu container */
    position: absolute;
    right: 0;
    top: 68px;
    width: 180px;
    padding: 7px 5px;
}

#right h2 { /* menu body */
    font-weight: normal;
    font-size: 11px;
    margin: 0 0 10px 0;
    padding: 0;
}

#right h2 a:link, #right h2 a:visited {
    color: #009;
    text-decoration: none;
    display: block;
    padding: 2px 2px 2px 5px;
    border-bottom: 1px #ddd solid;
}

#right h2 a:hover {
    background:  #eee;
    color: #000;
    display: block;
    padding: 2px 2px 2px 5px;
    border-bottom: 1px #94a6d8 solid;
}

/* linked menu head colors */
a.external:link, a.external:visited { color: #132a6c; text-decoration: none; }
a.external:hover { color: #132a6c; text-decoration: none; }

h2#externals { /* sites we like */
    height: 200px;
    overflow: auto;
}

h2#discussions, h2#backwash { /* active discussions */
    font-size: 11px;
}

#extlinks { font-size: 10px; } /* rss links from externals */

#accordion {height: 300px; overflow: auto; }

#accordion h3 {
    font-weight: normal;
    font-size: 11px;
    padding: 0;
    margin: 0;
}

#accordion div {
    font-size: 10px;
    padding: 0;
    margin: 0;
}


.boxhead {
    font-size: 11px;
    font-weight: bold;
    background: #dce1e5;
    border: 1px #666 solid;
    border-bottom: 0;
    padding: 1px;
    width: 30%;
    text-align: center;
}

h1.boxheader {
    margin: 0 0 2px 0;
    font-size: 11px;
}

.boxcontent {
    background: #f5f5f5;
    font-size: 11px;
    border: 1px #666 solid;
    padding: 2px;
    overflow: hidden;
}

#extra {
    margin: 25px 0 0 0;
    padding: 0 0 0 10px;
    font-size: 10px;
    color: #999;
}

#extra a:link, #extra a:visited { color: #999; text-decoration: none; }
#extra a:hover { color: #000; text-decoration: none; }

.eplus { color: #c92027; }

/* --- --- --- WEBCAMS --- --- --- */

.camcell {
    padding: 10px 5px;
    margin: 10px;
    border: 0;
    text-align: center;
    width: 330px;
    height: 265px;
    position: relative;
    background: #ffffff;
    display: inline-block;

}

.camcell-container {
    height: 240px;
    width: 320px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.caminfo {
    padding: 2px 0;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    border-bottom: 1px #ccc solid;
}

/* --- --- --- IMAGES --- --- --- */
.imgcell img { }

.imginfo {
    padding: 2px;
    text-align: center;
    font-size: 10px;
}

/* --- --- --- PAGINATION --- --- --- */
.pagination ul {
    padding: 0;
    margin: 0;
    _margin: 1px 1px 2px 1px;
    white-space: nowrap;
    font-size: 11px;
}

.pagination ul li {
    display: inline;
    margin: 0 1px;
    _margin: 1px;
}

.pagination-info {
    background: #eee;
    border: 1px #999 solid;
    padding: 0 4px 1px 4px;
    /* padding: 1px 5px; */
}

.pagination-cellsel {
    background: #dee3ee;
    border: 1px #000 solid;
    padding: 0 4px 1px 4px;
    /* padding: 1px 5px; */
}

.pagination ul li a {
    background: #eee;
    color: #333;
    text-decoration: none;
    padding: 0 4px 1px 4px;
    /* padding: 1px 5px; */
    border: 1px #999 solid;
}

.pagination ul li a:hover {
    background:  #dee3ee;
    border: 1px #000 solid;
}

/* --- --- --- SLORUM --- --- --- */
a.read:link, a.read:visited { color: #999; text-decoration: none; }
a.read:hover { color: #7373b6; text-decoration: none; }
a.nsfw:link, a.nsfw:visited { color: #cc3333; text-decoration: none; }
a.nsfw:hover { color: #7373b6; text-decoration: none; }
a.img:link, a.img:visited { color: #0a6232; text-decoration: none; }
a.img:hover { color: #2fa348; text-decoration: none; }

.forum { margin-bottom: 0; }

.forum th {
    background: #ddd;
    border-bottom: 1px #94a6d8 solid;
    padding: 2px 2px 2px 6px;
    color: #132a6c;
    font-weight: bold;
    font-size: 11px;
}
.forum th.left { background: url(https://slorm.net/common/images/ltl.gif) 0 0 no-repeat #ddd; }
.forum th.right { background: url(https://slorm.net/common/images/ltr.gif) 100% 0 no-repeat #ddd; }

.forum td {

    border-right: 1px #ccc solid;
    padding: 1px;
    font-size: 11px;
}

.forum td.right { text-align: center; padding: 0 2px; border-right: 0; }
.forum td.left { text-align: center; padding: 0 2px; }

.post_header {
    font-size: 11px;
    margin: 0;
    padding: 1px;
    border: 1px #999 solid;
    background: #edefef;
    overflow: hidden;
    line-height: 1.25;
}

.post_header.sticky {
    background: #ffff99;
}

.post_body {
    font-size: 11px;

    padding: 2px;
    border: 1px #999 solid;
    border-top: 0;
    background: #f7f7f7;
    /* overflow: hidden; */
}

.post_body.sticky {
    background: #ffffcc;
}


.cquote, .oquote, .quote {
    border-left: 3px #aaa solid;
    color: #333;
    padding: 5px;
    background: #fff;
    width: 75%;
    text-align: left;
    margin: 0;
}

.spoiler {
    border-left: 3px #aaa solid;
    color: #ddd;
    padding: 5px;
    background: #ddd;
    width: 75%;
    text-align: left;
    margin: 0;
    overflow: hidden;
}

.spoiler img {
    opacity: 0;
}

.spoiler a {
    color: #ddd;
}


.spoiler::selection {
    background-color: white;
    color: black;
}

.spoiler span {
    color: #000;
    font-weight: bold;
}

.spoiler:hover {
    opacity: 100;
    color: #000;
    -webkit-tap-highlight-color: #000;
}

.spoiler:hover img {
    opacity: 1000;
}

.spoiler:hover a {
    color: #009;
}


.spoiler:active { color: #000; }

.spoiled {
    color: #000;
    -webkit-tap-highlight-color: #000;
}

.spoiled img {
    opacity: 1000;
}

.spoiled a {
    color: #009;
}


.oquote { background: #eee; }
.quote { border: 1px #999 solid; padding: 2px; color: #000; }

h1.postheader {
    margin: 20px 0 0 0;
    font-size: 12px;
}

.pmalert {
    font-weight: bold;
    background: #9bff65;
    color: #000;
}


.textarea {

}

/* --- --- --- COMMENTS --- --- --- */

/* defaults */
.ctl { background: url(https://slorm.net/common/images/ctl.gif) 0 0 no-repeat #dce1e5; }
.ctr, .cdtr, .chtr, .cmtr {
    background: url(https://slorm.net/common/images/ctr.gif) 100% 0 no-repeat;
    font-size: 11px;
    margin: 0;
    padding: 2px 4px;
}

.cbl { background: url(https://slorm.net/common/images/cbl.gif) 0 100% no-repeat #edefef; }
.cbr, .cdbr {
    background: url(https://slorm.net/common/images/cbr.gif) 100% 100% no-repeat;
    font-size: 11px;
    margin: 0 0 7px 0;
    padding: 4px;}

.cbr img {
    max-width: 100%;
    .post_body img {
        max-width: 100%;
        -moz-transform: scaleX(-1);
        -o-transform: scaleX(-1);
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
        filter: FlipH;
        -ms-filter: "FlipH";}
}

/* hidden posts */
.cdtl { background: url(https://slorm.net/common/images/cdtl.gif) 0 0 no-repeat #ccc; }
.cdtr { background: url(https://slorm.net/common/images/cdtr.gif) 100% 0 no-repeat; }
.cdbl { background: url(https://slorm.net/common/images/cdbl.gif) 0 100% no-repeat #ccc; }
.cdbr { background: url(https://slorm.net/common/images/cdbr.gif) 100% 100% no-repeat; }

/* highlighted posts */
.chtl { background: url(https://slorm.net/common/images/chtl.gif) 0 0 no-repeat #d0ebce; }
.chtr { background: url(https://slorm.net/common/images/chtr.gif) 100% 0 no-repeat; }

/* more posts */
.cmtl { background: url(https://slorm.net/common/images/cmtl.gif) 0 0 no-repeat #e2e1d6; }
.cmtr { background: url(https://slorm.net/common/images/cmtr.gif) 100% 0 no-repeat; }

#content h5, #content h6 {
    font-size: 11px;
    margin: 0;
    font-weight: normal;
    white-space: nowrap;
}

#content h5 { float: left; }
#content h6 { text-align: right; }

/* --- --- --- VIDEO VIEWER --- --- --- */

.video_index {
    margin-bottom: 10px;
    border-bottom: 1px #ccc solid;
    padding-bottom: 2px;
}

.video_thumb {
    display: inline;
    float: left;
    border: 1px #333 solid;
    margin: 0 8px 8px 0;
}

.video_index_title {
    font-weight: bold;
    font-size: 15px;
    color: #333;
    margin-bottom: 3px;
}

.video_index_desc {
    color: #333;
    font-size: 12px;
    margin-bottom: 5px;
}

.video_index_info {
    clear: left;
    font-size: 10px;
    color: #333;
}

.video_viewer_title {
    font-weight: bold;
    font-size: 20px;
    margin: 0 0 3px 0;
    color: #333;
}

.video_viewer_container {
    padding-bottom: 0;
    margin-bottom: 3px;
    float: left;
}

.video_viewer_desc {
    border: 1px #ddd solid;
    border-top: 0;
    padding: 5px 5px 2px 5px;
    color: #333;
    font-size: 12px;
}

.video_viewer_info {
    font-size: 10px;
    color: #333;
    margin-top: 5px;
}

.video_viewer_ads {
    margin: 15px 0;
    border: 1px #ddd solid;
    padding: 2px;
}

.video_list_container {
    margin-bottom: 10px;
    padding-bottom: 2px;
    border-bottom: 1px #ccc solid;
}

.video_list_title {
    font-weight: bold;
    font-size: 12px;
    color: #333;
    margin-bottom: 3px;
}

.video_list_desc {
    color: #333;
    font-size: 11px;
    margin-bottom: 5px;
}

#video_viewer {
    width: 480px;
    float: left;
    padding: 5px 10px 0 0;
    margin-left: 5px;
    overflow: hidden;
}

#video_viewer_right { /* right menu container */
    float: right;
    width: 300px;
    padding: 5px 0 0 0;
}

#video_viewer_menu {
    float: right;
    margin-top: 130px;
    font-size: 10px;
}

/* --- --- --- IMAGE VIEWER --- --- --- */
.imgview {
    width: 500px;
    margin-top: 12px;
}

.imgview_title {
    font-size: 15px;
    font-weight: bold;
    color: #132a6c;
    margin: 0 0 2px 0;
}

.imgview_owner {
    color: #132a6c;
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 2px 0;
}

.imgview_comment {
    font-size: 12px;
    margin-top: 3px;
}

.imgview_owner span { color: #777; }
.imgview_title span { font-size: 12px; }
.thumbnail { margin: 0 3px 3px 0; }

/* --- --- --- CONTENET --- --- --- */
.content_title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.content_body {
    font-size: 12px;
    color: #333;
}

/* --- --- --- AJAX --- --- --- */
#overDiv { font-size: 11px; background: #e7ecf1; border: 2px solid #666; padding: 7px; }

/*
#overDiv p, #overDiv div { font-size: 11px; padding: 0; margin: 0; }
#overDiv h1, #overDiv h2, #overDiv h3 {
	padding: 5px;
	background: #f5f5f5;
	margin: 0;
	font-size: 11px;
	border-bottom: 1px #999 solid;
	color: #000;
}
#overDiv h2 { background: #dce1e5; border: 0; font-weight: normal; }
*/
#overDiv h3 { background: #e7ecf1; border: 0; color: #000; padding: 10px; font-weight: bold; font-size: 13px; }


.scroll {
    background: #dce1e5;
    border: 0;
    margin: 0;
    overflow: auto;
    padding: 5px;
    font-size: 11px;
    height: 200px;
    width: 180px;
}

.taglineinfo {
    margin-bottom:20px;
}

#reply-content {
    width:50%;
    max-width:50%;
}

.bb-redact{
    color: transparent;
    background: #000;              /* conceal text on light bg */
    border-radius: 2px;
    padding: 0 .25em;
    transition: color .15s ease, filter .15s ease, background .15s ease;
    cursor: help;
}
.bb-redact:hover,
.bb-redact:focus{
    color: inherit;                /* reveal text */
    background: transparent;
    outline: none;
}
/* Ensure links inside reveal correctly */
.bb-redact a { color: inherit; }

/* If redacts contain images, blur them until hover/focus */
.bb-redact img{
    filter: blur(8px);
}
.bb-redact:hover img,
.bb-redact:focus img{
    filter: none;
}

/* Optional: softer default on dark themes */
@media (prefers-color-scheme: dark){
    .bb-redact{ background:#222; }
}

.bb-redact{
    color: transparent;
    background: #000;
    border-radius: 2px;
    padding: 0 .25em;
    cursor: help;
}
.bb-redact:hover,
.bb-redact:focus{
    color: inherit;
    background: transparent;
    outline: none;
}

/* --- SPOILER: hidden until hover/focus --- */
.bb-redact{
    color: transparent;
    background: #000;
    border-radius: 2px;
    padding: 0 .25em;
    cursor: help;
}
.bb-redact:hover,
.bb-redact:focus{
    color: inherit;
    background: transparent;
    outline: none;
}

/* SPOILER: indicator only until hover/focus */

.bb-spoiler{ display:inline-block; cursor:help; }

/* show only the indicator by default */
.bb-spoiler-indicator{ display:inline; }
.bb-spoiler-content{
    display:none;

    /* ---- HARD RESET to prevent “blacking out” ---- */
    color: inherit !important;
    background: transparent !important;
    filter: none !important;
    text-shadow: none !important;
}

/* reveal text on hover/focus */
.bb-spoiler:hover .bb-spoiler-indicator,
.bb-spoiler:focus .bb-spoiler-indicator,
.bb-spoiler:focus-within .bb-spoiler-indicator{ display:none; }

.bb-spoiler:hover .bb-spoiler-content,
.bb-spoiler:focus .bb-spoiler-content,
.bb-spoiler:focus-within .bb-spoiler-content{ display:inline; }

/* optional: block version for multi-paragraph spoilers */
.bb-spoiler.block .bb-spoiler-content{ display:none; }
.bb-spoiler.block:hover .bb-spoiler-content,
.bb-spoiler.block:focus-within .bb-spoiler-content{ display:block; }

/* indicator chip styling */
.bb-spoiler-indicator{
    font-size:.8em;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:#666;
    background:#f3f3f3;
    border:1px solid #ddd;
    border-radius:3px;
    padding:0 .4em;
    user-select:none;
    width: 100%;
}

tbody tr:nth-child(even){ background:#f6f6f6; } /* stripe rows */
.topic-title { color:#111; text-decoration:none; }
.topic-title.read { color:#6b6b6b; font-weight:normal; }
.topic-title.unread { font-weight:700; } /* bold */
.forum { border-collapse: collapse; }
.forum th, .forum td {  border-bottom:1px solid #e9e9e9; vertical-align:middle; }
.forum thead th { background:#fafafa; text-align:left; }
.topic-controls { text-align:right; white-space:nowrap; color:#444; }
.topic-controls label { margin-left:12px; cursor:pointer; }
.watched-flag { color: #7d92b4; font-weight:600; } /* "Watched -" badge */

@media (prefers-color-scheme: dark){
    .bb-spoiler-indicator{ background:#fff; border-color:#333; color:#333; width:100%;}
}

.pagination { display:inline-flex; gap:.2rem; align-items:center; }
.pg { padding:.25rem .5rem; border:1px solid #ccc;  text-decoration:none; }
.pg.active { background:#eee; font-weight:700; pointer-events:none; }
.pg.disabled { opacity:.5; pointer-events:none; }
.pg.ellipsis { border:none; padding:0 .25rem; }

/* unread vs. read look */
a.topic-title.unread { font-weight: 700; }
a.topic-title.read   { font-weight: 500; opacity: .75; transition: opacity .25s ease; }


.first-unread-badge {
    float:right;
}
.post.first-unread-highlight { animation: unreadPulse 1.2s ease-out 1; box-shadow: 0 0 0 3px rgba(211,51,51,.15) inset; }
@keyframes unreadPulse { 0% { background: rgba(211,51,51,.08); } 100% { background: transparent; } }


/* button groups */

.btn-group {
    display:inline-flex;
}

.btn-group button {
    border: 1px solid #000 ; /* Green border */
    color: black; /* White text */
    padding: 2px 2px; /* Some padding */
    cursor: pointer; /* Pointer/hand icon */
    float: left; /* Float the buttons side by side */
}

.btn-group button:not(:last-child) {
    border-right: none; /* Prevent double borders */
}

/* Clear floats (clearfix hack) */
.btn-group:after {
    content: "";
    clear: both;
    display: table;
}

/* Add a background color on hover */
.btn-group button:hover {
    background-color: #e0e0e0;
}

/*vidyja*/

.bb-video-wrap {
    display: block;
    max-width: 30%;
    width: 100%;
    margin: 1em;
    position: relative;
    overflow: hidden;
    /* Use modern aspect-ratio if supported */
    aspect-ratio: 16 / 9;
    /* Fallback for older Android/iOS browsers */
    padding-top: 23.25%;
    height: 0;
}

.bb-video-wrap iframe,
.bb-video-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
    display: block;
}

.bb-video {

}

/*nsfw*/
.bb-nsfw { display:inline-block; position:relative; cursor:pointer; }
.bb-nsfw[data-hidden="1"] .bb-nsfw-content { filter: blur(10px); pointer-events:none; }
.bb-nsfw-cover {
    position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
    background: rgba(255,255,255.65);  color:#000; padding:6px 10px; font-weight:600;
}
.bb-nsfw[data-hidden="0"] .bb-nsfw-cover { display:none; }

/*quote this post */
blockquote {

    border-left: 3px solid #5fbafb;
    padding: 10px 14px;
    margin: 10px 0;
    font-style: italic;
}
blockquote strong {

    font-style: normal;
    display: block;
    margin-bottom: 6px;
}

/* --- quote levels ---*/
blockquote[class^="quote-level-"] {
    margin: 0 0 8px 0;
    padding: 8px 12px;
    border-left: 3px solid #999;
}

.quote-level-2  { border-left: 3px solid #A9CAFE !important; }
.quote-level-3  { border-left: 3px solid #91B2E2 !important; }
.quote-level-4  { border-left: 3px solid #799AC6 !important; }
.quote-level-5  { border-left: 3px solid #6283AA !important; }
.quote-level-6  { border-left: 3px solid #4A6B8E !important; }
.quote-level-7  { border-left: 3px solid #325472 !important; }
.quote-level-8  { border-left: 3px solid #1B3D56 !important; }
.quote-level-9  { border-left: 3px solid #132F44 !important; }
.quote-level-10 { border-left: 3px solid #0B2233 !important; }
.quote-level-11 { border-left: 3px solid #051621 !important; }

#floater {
    position: sticky;
    top: 0;
    z-index: 9999; /* Ensure it's above everything else */
    background-color: #222; /* Ensure background covers behind it */
    box-shadow: 0 2px 5px rgba(0,0,0,0.6); /* Optional: subtle drop shadow */
}

/* Slider switch container */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

/* Hide default checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Slider track */
.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 34px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.3s;
}

/* Slider knob */
.slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

/* Checked state */
.switch input:checked + .slider {
    background-color: #7d92b4;
}

.switch input:checked + .slider::before {
    transform: translateX(24px);
}

.slormImg {
    max-width: 100%;
    height: auto;
    display: block;
}

.marginTopTenPx{
    margin-top:10px;
}

.marginRightTwelvePx {
    margin-right:12px;
}

.saveStatusWhite {
    margin-left:8px;
    color:#666;
}

.lockStatusLeft {
    margin-left:8px;
    color:#666;
}

/* Core .btn class */
.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    user-select: none;
}

/* Default button */
.btn-default {
    color: #ffffff;
    background-color: #7d92b4;
    border-color: #485569;
    border-radius:7px;
}

/* Primary button */
.btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

/* Success button */
.btn-success {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

/* Info button */
.btn-info {
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
}

/* Warning button */
.btn-warning {
    color: #fff;
    background-color: #f0ad4e;
    border-color: #eea236;
}

/* Danger button */
.btn-danger {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

/* Button Sizes */
.btn-lg {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

/* Block level */
.btn-block {
    display: block;
    width: 100%;
}

/* Disabled */
.btn[disabled],
fieldset[disabled] .btn {
    cursor: not-allowed;
    opacity: 0.65;
    filter: alpha(opacity=65);
    box-shadow: none;
}

.rename-thread-btn {
    margin-top: 10px;
}
/* last div.post on the page (or last in a sequence of .post elements) */
.post:not(:has(+ .post)) {
margin-bottom: 0;
}

/* optional ribbon */
.post:not(:has(+ .post))::after {
    margin-bottom: 0;
}

/* small spacing tweak so it breathes */
.post:not(:has(+ .post)) .post_header {
    margin-bottom: 0;
}

/* sticky footer */
:root {
    --sf-height: 56px;
    --sf-bg: rgba(255, 255, 255, 0.9);
    --sf-blur: 8px;
    --sf-border: #e5e7eb;
    --sf-shadow: 0 -6px 16px rgba(0,0,0,.06);
    --sf-z: 9999;
}

.sticky-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--sf-height);
    background: var(--sf-bg);
    backdrop-filter: blur(var(--sf-blur));
    -webkit-backdrop-filter: blur(var(--sf-blur));
    border-top: 1px solid var(--sf-border);
    box-shadow: var(--sf-shadow);
    z-index: var(--sf-z);
    padding: 8px 16px;
    /* Respect iOS safe area */
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
}

.sticky-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
}

.sf-brand { font-weight: 700; text-decoration: none; color: inherit; }
.sf-nav a { margin: 0 8px; text-decoration: none; color: inherit; opacity: .9; }
.sf-nav a:hover, .sf-cta:hover { opacity: 1; text-decoration: underline; }
.sf-cta {
    padding: 6px 10px;
    border: 1px solid var(--sf-border);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    background: rgba(0,0,0,.03);
}

/* Reserve space so content isn't covered */
body.has-sticky-footer {
    padding-bottom: calc(var(--sf-height) + env(safe-area-inset-bottom));
}

/* Toast (top) */
.mini-toast-wrap{
    position:fixed;left:50%;top:calc(16px + env(safe-area-inset-top));
    transform:translateX(-50%);z-index:2147483647;pointer-events:none
}
.mini-toast{
    display:inline-flex;align-items:center;gap:8px;
    background: #7d92b4;color:#fff;border:1px solid #1f2937;
    border-radius:10px;padding:10px 14px;box-shadow:0 8px 24px rgba(0,0,0,.18);
    font-size:14px;line-height:1.2;pointer-events:auto;
    transform:translateY(-18px) scale(.96) rotate(.5deg);opacity:0;
    transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .28s ease
}
.mini-toast.show{ transform:translateY(0) scale(1) rotate(0);opacity:1 }
.mini-toast__icon{ font-weight:700 }
.mini-toast--error{ background:#7f1d1d;border-color:#991b1b }

.disabledText {
    color:#a5a5a5;
}



/* ===========================================
   Mobile Collapse: @media (max-width: 1023px)
   =========================================== */
@media (max-width: 1023.98px) {

    * Core .btn class */
.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    user-select: none;
}

    /* Default button */
    .btn-default {
        color: #ffffff;
        background-color: #7d92b4;
        border-color: #485569;
        border-radius:7px;
    }

    /* Primary button */
    .btn-primary {
        color: #fff;
        background-color: #337ab7;
        border-color: #2e6da4;
    }

    /* Success button */
    .btn-success {
        color: #fff;
        background-color: #5cb85c;
        border-color: #4cae4c;
    }

    /* Info button */
    .btn-info {
        color: #fff;
        background-color: #5bc0de;
        border-color: #46b8da;
    }

    /* Warning button */
    .btn-warning {
        color: #fff;
        background-color: #f0ad4e;
        border-color: #eea236;
    }

    /* Danger button */
    .btn-danger {
        color: #fff;
        background-color: #d9534f;
        border-color: #d43f3a;
    }

    /* Button Sizes */
    .btn-lg {
        padding: 10px 16px;
        font-size: 18px;
        line-height: 1.3333333;
        border-radius: 6px;
    }

    .btn-sm {
        padding: 5px 10px;
        font-size: 12px;
        line-height: 1.5;
        border-radius: 3px;
    }

    .btn-xs {
        padding: 1px 5px;
        font-size: 12px;
        line-height: 1.5;
        border-radius: 3px;
    }

    /* Block level */
    .btn-block {
        display: block;
        width: 100%;
    }

    /* Disabled */
    .btn[disabled],
    fieldset[disabled] .btn {
        cursor: not-allowed;
        opacity: 0.65;
        filter: alpha(opacity=65);
        box-shadow: none;
    }

    .rename-thread-btn {
        margin-top: 10px;
    }

    /* Slider switch container */
    .switch {
        position: relative;
        display: inline-block;
        width: 50px;
        height: 26px;
    }

    /* Hide default checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    /* Slider track */
    .slider {
        position: absolute;
        cursor: pointer;
        background-color: #ccc;
        border-radius: 34px;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transition: 0.3s;
    }

    /* Slider knob */
    .slider::before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        border-radius: 50%;
        transition: 0.3s;
    }

    /* Checked state */
    .switch input:checked + .slider {
        background-color: #7d92b4;
    }

    .switch input:checked + .slider::before {
        transform: translateX(24px);
    }

    .slormImg {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* collapse tables into lists*/

    .table-responsive-stack thead {
        display: none;
    }

    .table-responsive-stack tr {
        display: block;
        border: 1px solid #ccc;
        margin-bottom: 10px;
    }

    .table-responsive-stack td {
        display: block;
        width: 100%;
        text-align: right;
        position: relative;
        padding-left: 50%;
    }

    .table-responsive-stack td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 15px;
        font-weight: bold;
        text-align: left;
    }


    /*vidyja*/

    .bb-video-wrap {
        display: block;
        max-width: 95%;
        width: 100%;
        margin: 1em;
        position: relative;
        overflow: hidden;
        /* Use modern aspect-ratio if supported */
        aspect-ratio: 4 / 3;
        /* Fallback for older Android/iOS browsers */
        padding-top: 55.25%;
        height: 0;
    }

    .bb-video-wrap iframe,
    .bb-video-wrap video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        border: none;
        display: block;
    }

    #reply-content {
        width:95% !important;
        max-width:95% !important;
    }

    /* panels */
    .panel {
        margin-bottom: 20px;
        background-color: #fff;
        border: 1px solid transparent;
        border-radius: 4px;
        -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
        box-shadow: 0 1px 1px rgba(0,0,0,.05);
    }

    .panel-body {
        padding: 15px;
    }

    .panel-heading {
        padding: 10px 15px;
        border-bottom: 1px solid transparent;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
    }

    .panel-heading > .dropdown .dropdown-toggle {
        color: inherit;
    }

    .panel-title {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 16px;
        color: inherit;
    }

    .panel-footer {
        padding: 10px 15px;
        background-color: #f5f5f5;
        border-top: 1px solid #ddd;
        border-bottom-right-radius: 3px;
        border-bottom-left-radius: 3px;
    }

    /* Panel Colors */
    .panel-default {
        border-color: #7d93b5;
    }
    .panel-default > .panel-heading {
        color: #333;
        background-color: #7d93b5;
        border-color: #a5c1f9;
    }

    .panel-slorm {
        border-color: #7d93b5;
    }
    .panel-slorm > .panel-heading {
        color: #133294;
        background-color: #DDDDDD;
        border-color: #DDDDDD;
    }

    .panel-primary {
        border: 1px solid #7d93b5;
        border-radius:5px;
    }
    .panel-primary > .panel-heading {
        color: #fff;
        background-color: #7d93b5;
        border-color: #c0daf7;
    }

    .panel-success {
        border-color: #d6e9c6;
    }
    .panel-success > .panel-heading {
        color: #3c763d;
        background-color: #dff0d8;
        border-color: #d6e9c6;
    }

    .panel-info {
        border-color: #bce8f1;
    }
    .panel-info > .panel-heading {
        color: #31708f;
        background-color: #d9edf7;
        border-color: #bce8f1;
    }

    .panel-warning {
        border-color: #faebcc;
    }
    .panel-warning > .panel-heading {
        color: #8a6d3b;
        background-color: #fcf8e3;
        border-color: #faebcc;
    }

    .panel-danger {
        border-color: #ebccd1;
    }
    .panel-danger > .panel-heading {
        color: #a94442;
        background-color: #f2dede;
        border-color: #ebccd1;
    }



}


/* ===============================
   Dark Mode Support
   =============================== */

/* Auto dark mode */
@media (prefers-color-scheme: dark) {
    .auto-dark\:bg-dark    { background-color: #111 !important; }
    .auto-dark\:text-light { color: #eee !important; }
}

/* Manual dark mode trigger */
[data-theme="dark"] .dark\:bg-darkest {
    background-color: #222 !important;
}
[data-theme="dark"] .dark\:bg-darker {
    background-color: #2a2a2a !important;
}
[data-theme="dark"] .dark\:bg-dark {
    background-color: #333 !important;
}
[data-theme="dark"] .dark\:bg-medium {
    background-color: #444 !important;
}
[data-theme="dark"] .dark\:bg-light {
    background-color: #555 !important;
}

[data-theme="dark"] .dark\:text-lightest {
    color: #fff !important;
}
[data-theme="dark"] .dark\:text-light {
    color: #eee !important;
}
[data-theme="dark"] .dark\:text {
    color: #ccc !important;
}
[data-theme="dark"] .dark\:text-muted {
    color: #999 !important;
}
[data-theme="dark"] .dark\:text-dark {
    color: #666 !important;
}
[data-theme="dark"] .dark\:text-darker {
    color: #444 !important;
}
[data-theme="dark"] .dark\:text-darkest {
    color: #222 !important;
}


