body {
	background: #0B040C;
	color: #ded6cb;
	font-family: system-ui,-apple-system,BlinkMacSystemFont,segoe ui,Ubuntu,Cantarell,Oxygen,Roboto,Helvetica,Arial,sans-serif;
	font-size: 14px;
	font-weight: 400;
}

a {
	color: #c9bda8;
	text-decoration: none;
}

a:hover {
/*	color: #e8dcc8; */
	color: #dbcf4e;
	text-decoration: none;
}

a:active {
	color: #e8dcc8;
	text-decoration: none;
}

a:focus {
	color: #e8dcc8!important;
	text-decoration: none;
}

.expander {
	color: #a89f8f;
}

.trow1 {
	border-bottom: 1px solid #2a2a2a;  
	padding-top: 10px;
	padding-bottom: 10px;
	
	font-size: 16px;
}

#label {
	margin-bottom: 0px;
}

.trow2 {
	
	padding-top: 10px;
	padding-bottom: 10px;
}

.tcat {
}

.expcolimage {
	color: #a89f8f;
	float: right;
	vertical-align: middle;
	margin-top: 0px;
}

.wrapper {
	width: 80%;
}

.container {
	width: 85%;
	padding: 0px;
}

.bg-thead {
	background: #1c1c1c;
	padding: 12px;
	border: none;
}

.bg-primary {
	background: #161616;
	padding: 10px;
}

.bg-primary a {
	color: #a89f8f;
	text-decoration: none;
}

.bg-primary a:hover {
	color: #e8dcc8;
	text-decoration: none;
}

.lastpostbit a {
	color: #8a8378!important;
	text-decoration: none!important;
	font-weight:bold;
}

.lastpostbit a:hover {
	color: #8a8378!important;
	text-decoration: underline;
}

.forum_status {
height: 40px;
width: 40px;
font-size: 25px;
text-align: center;
vertical-align: center;
}

.forum_status i {
display: inline-block;
line-height: 40px;
}

.forum_on {
color: #c9bda8;
}

.forum_off, .forum_offlock, .forum_offlink {
color: #c9bda8;
}

.forum_off i {
opacity: .4;
}

.forum_offlock i:before {
content: "\F268";
}

.forum_offlink i:before {
content: "\F268";
}

.ficons_2 i:before {
content: "\f000";
}

.ficons_3 i:before {
content: "\f1ba";
}

.ficons_4 i:before {
content: "\f0f5";
}

.ficons_6 i:before {
content: "\f0e4";
}

.ficons_7 i:before {
content: "\f03e";
}

.subforumicon {
height: 10px;
width: 10px;
display: inline-block;
margin: 0 5px;
}

.subforum_minion {
color: #c9bda8;
}

.subforum_minioff, .subforum_miniofflock, .subforum_miniofflink {
color: #c9bda8;
}

.subforum_minioff {
opacity: .4;
}

.subforum_miniofflock i:before {
content: "\f023";
}

.subforum_miniofflink i:before {
content: "\f0c1";
}

.thead.thead_collapsed .expander:before{
transform: rotate(-180deg);
	color: #a89f8f;
}

.thead .expander:before{
display:inline-block;
font-size:25px;
	margin-right: 10px;
	color: #a89f8f;
    font-family: 'Font Awesome 5 Free';
    content: "\f106";
    font-weight:900;
    transition: transform .3s ease-in-out,-webkit-transform .3s ease-in-out;
}

.textarea {
	margin: 0;
	display: block;
}

.style {
	background: #3a3530;
}

.forumname {
	background: #a89f8f;
	padding: 10px; 
	border-radius: 5px;
}

.gridh {
	padding: 10px;
}

.gridh:hover {
	padding: 10px;
	border-radius: 5px;
}

.topmod {
	background: #a89f8f;
	color: #a89f8f;
}

.btn-top {
	background: #2a2a2a;
	color: #ded6cb;
	padding: 5px;
	padding-left: 15px;
	padding-right: 15px;
	
	font-size: 16px;
	font-weight: 400;
}

.btn-top:hover {
	background: #3a3a3a;
	color: #ded6cb;
	padding: 5px;
	padding-left: 15px;
	padding-right: 15px;
	
	font-size: 16px;
	font-weight: 400;
}

.btn-top-active {
	background: #3a3a3a;
	color: #ded6cb;
	padding: 5px;
	padding-left: 15px;
	padding-right: 15px;
	font-size: 16px;
	font-weight: 400;
}

.btn-nav {
	background: #a89f8f;
	color: #a89f8f;
	padding: 10px;
    font-size: 14px;
}

.btn-nav:hover {
	padding: 10px;
    background: #2a2a2a;
	color: #a89f8f;
}

.btn-reply {
	background: #e8dcc8;
	color: #ded6cb;
	font-size: 12px;
	font-weight: 500;
}

.btn-reply:hover {
	background: #c9bda8;
	color: #e8dcc8;
	font-size: 12px;
	font-weight: 500;
}

.btn-page {
	background: #1c1c1c;
	color: #a89f8f;
	padding: 5px;
	padding-left: 7px;
	padding-right: 7px;
	margin-right: 3px;
	margin-left: 3px;
	border: 1px solid #2a2a2a;
	
	font-size: 11px;
}

.btn-page:hover {
	background: #2a2a2a;
	color: #a89f8f;
	padding: 5px;
	padding-left: 7px;
	padding-right: 7px;
	margin-right: 3px;
	margin-left: 3px;
	border: 1px solid #3a3a3a;
	
	font-size: 11px;
}

.btn-pagestart {
	background: #ded6cb;
	color: #ded6cb;
	padding: 5px;
	padding-left: 7px;
	padding-right: 7px;
	font-size: 11px;
	margin-right: 3px;
	margin-left: 3px;
}

/*.post_body img {
	width: 50px;
	height: 50px;
}
*/
.post_body img {
	max-width: 800px;
	height: auto;
}


.post_body {
	font-weight: 500;
	font-size: 15px;
}

blockquote {
	background-color: #000 !important;
	border-radius: 5px;
	border: 2px dotted #2a2a2a;
	margin: 0;
	padding: 15px;
}

blockquote cite {
	border-bottom: 1px solid #2a2a2a;
	background-color:#000;
	display: block;
	padding-bottom: 3px;
	margin: 0 0 10px 0;
	
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
}

blockquote cite > span {
	color: #8a8378!important;
	background-color:#000;
	float: right;
	
	font-size: 12px;
	font-weight: 500;
}

blockquote cite span.highlight {
	float: none;
	font-weight: bold;
	padding-bottom: 0;
	background-color:#000;
}

.catmod {
	background: #1c1c1c;
	color: #ded6cb;
	font-weight: 400;
}

.catmod a {
	color: #fff;
	text-decoration: none;
}

.catmod a:hover {
	color: #fff;
	text-decoration: none;
}

.checkbox {
	background: #1c1c1c;
	width: 15px;
	height: 15px;
	border: 0px;
}

.progress-bar[aria-valuenow="0"] {
    display: none;
}

.nav-tabs a {
	color: #c9bda8;
	background: #e8dcc8;
	text-decoration: none;
}

.nav-tabs a:hover {
	color: #e8dcc8;
	text-decoration: none;
}

.btn-multipage {
	color: #c9bda8;
	padding: 3px;
	padding-left: 7px;
	padding-right: 7px;
	margin-right: 3px;
	margin-left: 3px;
	text-transform: capitalize;
	
	font-size: 12px;
	font-weight: 500;
}

.btn-memlist {
	color: #c9bda8;
	padding: 3px;
	padding-left: 3px;
	padding-right: 3px;
	margin-right: 3px;
	margin-left: 3px;
	text-transform: capitalize;
	
	font-size: 12px;
	font-weight: 500;
}

.btn-multipage-inactive {
	background: #1c1c1c;
	color: #c9bda8;
	padding: 3px;
	padding-left: 7px;
	padding-right: 7px;
	margin-right: 3px;
	margin-left: 3px;
	text-transform: capitalize;
	
	font-size: 12px;
	font-weight: 500;
}

.btn-multipage:hover {
	background: #1c1c1c;
	color: #c9bda8;
	padding: 3px;
	padding-left: 7px;
	padding-right: 7px;
	margin-right: 3px;
	margin-left: 3px;
	border: 1px solid #1c1c1c;
	text-transform: capitalize;
	font-weight: 500;
	font-size: 12px;
}

.btn-multipage-active {
	background: #1c1c1c;
	color: #c9bda8;
	padding: 3px;
	padding-left: 7px;
	padding-right: 7px;
	margin-right: 3px;
	margin-left: 3px;
	border: 1px solid #1c1c1c;
	text-transform: capitalize;
	
	font-size: 12px;
	font-weight: 500;
}

.btn-multipage-active:hover {
	background: #1c1c1c;
	color: #c9bda8;
	padding: 3px;
	padding-left: 7px;
	padding-right: 7px;
	margin-right: 3px;
	margin-left: 3px;
	border: 1px solid #1c1c1c;
	text-transform: capitalize;
	
	font-size: 12px;
	font-weight: 500;
}

.btn-forumjump {
	background: #a89f8f;
	color: #a89f8f;
	padding: 3px;
	padding-left: 7px;
	padding-right: 7px;
	margin-right: 3px;
	margin-left: 3px;
	border: 1px solid #a89f8f;
    font-size: 13px;
	font-weight: 700;
	text-transform: capitalize;
}

.btn-forumjump:hover {
	background: #2a2a2a;
	color: #a89f8f;
	padding: 3px;
	padding-left: 7px;
	padding-right: 7px;
	margin-right: 3px;
	margin-left: 3px;
	border: 1px solid #2a2a2a;
	text-transform: capitalize;
	font-weight: 700;
	font-size: 13px;
}

.postbit-u a {
	color: #fff;
	text-decoration: none!important;
}

.postbit-u a:hover {
	color: #c9bda8;
	text-decoration: underline;
}

.btn-toplink {
	background: #2a2a2a;
	color: #ded6cb;
	padding: 5px;
	padding-left: 15px;
	padding-right: 15px;
	
	font-size: 16px;
	font-weight: 400;
}

.btn-toplink:hover {
	background: #3a3a3a;
	color: #ded6cb;
	padding: 5px;
	padding-left: 15px;
	padding-right: 15px;
	
	font-size: 16px;
	font-weight: 400;
}

.btn-toplink:active {
	background: #3a3530;
	color: #ded6cb;
	padding: 5px;
	padding-left: 15px;
	padding-right: 15px;
	
	font-size: 16px;
	font-weight: 400;
}

.btn-user{
	color: #fff;
	padding: 8px;
	padding-left: 15px;
	padding-right: 15px;
	font-size: 14px;
	font-weight: 400;
}

.btn-user:hover {
	background: #2a2a2a;
	color: #ded6cb;
	padding: 8px;
	padding-left: 15px;
	padding-right: 15px;
	
	font-size: 14px;
	font-weight: 400;
}

.navmenu a {
	color: #c9bda8;
	text-decoration: none;
}

.navmenu a:hover, a:active {
	color: #2a2a2a;
	text-decoration: none;
}

.gradient-text {
	color: #2a2a2a;
	font-weight: 700;
}

hr {
	background: #9b9b9b;
}

.btn-profile {
	width: 100%;
	color: #ded6cb;
	padding: 10px;
	padding-left: 15px;
	padding-right: 15px;
	text-align: left;
	
	font-size: 14px;
	font-weight: 400;
}

.btn-profile:hover {
	background: #2a2a2a;
	width: 100%;
	color: #ded6cb;
	padding: 10px;
	padding-left: 15px;
	padding-right: 15px;
	text-align: left;
	border: 1px solid #2a2a2a;
	
	font-size: 14px;
	font-weight: 400;
}

.btn-profile-active {
	background: #2a2a2a;
	width: 100%;
	color: #ded6cb;
	padding: 10px;
	padding-left: 15px;
	padding-right: 15px;
	text-align: left;
	border: 1px solid #2a2a2a;
	
	font-size: 14px;
	font-weight: 400;
}

.





{
	background: #2a2a2a;
	width: 100%;
	color: #ded6cb;
	padding: 10px;
	text-align: left;
	border-radius: 5px;
	
	
	font-size: 13px;
	font-weight: 600;
}

.legend span {
 
    padding:0 10px;
}

.form-control {
	background: #161616!important;
	color: #c9bda8!important;
	border-color: #2a2a2a!important;
	
	font-size: 13px;
}

.form-control-p {
	background: #161616;
	color: #c9bda8!important;
	border: 1px solid #FFFFFF;
	border-radius: 2px;
}

.form-control-p:focus {
	background: #161616;
	color: #c9bda8!important;
	outline: none!important;
	box-shadow: none!important;
	border: 0;
}

.form-control-p:active {
	background: #161616;
	color: #c9bda8!important;
	outline: none!important;
	box-shadow: none!important;
	border: 0;
}

.btn-new {
	background: #2a2a2a!important;
	border-color: #2a2a2a!important;
	font-size: 12px!important;
	font-weight: 500;
	color: #fff;
}

.btn-new:hover {
	background: #3a3a3a!important;
	border-color: #3a3a3a!important;
	color: #fff;
	font-size: 12px!important;
	font-weight: 500;
}

.btn-new:active {
	background: #3a3a3a!important;
	border-color: #3a3a3a!important;
	color: #fff;
	font-size: 12px!important;
	font-weight: 500;
}

.btn-thread:before {
	transform: rotate(-180deg);
}

.btn-thread {
	color: #ded6cb;
	padding: 5px;
    font-size: 16px;
	font-weight: 400;
}

.btn-thread:hover {
	color: #ded6cb;
	padding: 5px;
	font-size: 16px;
	font-weight: 700;
}

.btn-thread-active {
	background: #3a3530;
	color: #ded6cb;
	padding: 5px;
	font-size: 16px;
	font-weight: 400;
}

.btn-icons {
	color: #ded6cb;
	padding: 5px;
		padding-left: 15px;
	padding-right: 15px;
    font-size: 16px;
	font-weight: 400;
}

.btn-icons:hover {
	background: #3a3530;
	color: #ded6cb;
	padding: 5px;
		padding-left: 15px;
	padding-right: 15px;
	font-size: 16px;
	font-weight: 700;
}

.btn-icons-active {
	background: #3a3530;
	color: #ded6cb;
	padding: 5px;
		padding-left: 15px;
	padding-right: 15px;
	font-size: 16px;
	font-weight: 400;
}

.dropdown a {
	color: #ded6cb;
	text-decoration: none;
	font-size: 13px;
}

.dropdown a:hover {
	background: #2a2a2a;
	color: #ded6cb;
	border-radius: 3px;
	
	font-size: 13px;
}

.dropdown a:active {
	background: #2a2a2a;
	color: #ded6cb;
	font-size: 13px;
}

.fa-star{
font-size:14px;
}

.btn-posticon {
	background: none;
	color: #a89f8f;
	padding: 3px;
	padding-left: 7px;
	padding-right: 7px;
	margin-right: 3px;
	margin-left: 3px;
	text-transform: capitalize;
	font-size: 13px;
	font-weight: 700;
	display: none;
}

.btn-posticon:hover {
	background: #a89f8f;
	color: #a89f8f;
	padding: 3px;
	padding-left: 7px;
	padding-right: 7px;
	margin-right: 3px;
	margin-left: 3px;
	border: 1px solid #a89f8f;
	text-transform: capitalize;
	font-weight: 700;
	font-size: 13px;
	display: block;
}

.text-online {
	color: #8fbc8f;
}

.text-offline {
	color: #a07070;
}

.btn-white {
	background: #ded6cb;
	color: #a89f8f;
	padding: 5px;
	padding-left: 15px;
	padding-right: 15px;
	border: 1px solid #2a2a2a;
	font-size: 16px;
	font-weight: 400;
}

.btn-white:hover {
	background: #2a2a2a;
	color: #a89f8f;
	padding: 5px;
	padding-left: 15px;
	padding-right: 15px;
	border: 1px solid #3a3a3a;
    font-size: 16px;
	font-weight: 400;
}

.btn-white-active {
	background: #2a2a2a;
	color: #a89f8f;
	padding: 5px;
	padding-left: 15px;
	padding-right: 15px;
	font-size: 16px;
	font-weight: 400;
}

.btn-up {
	background: none;
	color: #ded6cb;
	padding: 3px;
	padding-left: 7px;
	padding-right: 7px;
	margin-right: 3px;
	margin-left: 3px;
	text-transform: capitalize;
	font-size: 13px;
	font-weight: 700;
}

.btn-up:hover {
	background: #3a3530;
	color: #ded6cb;
	padding: 3px;
	padding-left: 7px;
	padding-right: 7px;
	margin-right: 3px;
	margin-left: 3px;
	text-transform: capitalize;
	font-weight: 700;
	font-size: 13px;
}

/** Modal Start **/

.blocker {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	z-index: 9999;
	padding: 20px;
	box-sizing: border-box;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.25);
	text-align: center;
}

.blocker:before{
	content: "";
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.05em;
}

.blocker.behind {
	background-color: transparent;
}

.modal {
	width: 400px;
	height: auto;
	text-align: left;
	background: #fff;
	display: inline-block;
	vertical-align: middle;
	position: relative;
	z-index: 2;
}

.modal a.close-modal {
	position: absolute;
	top: 0px;
	right: 0px;
	display: block;
	width: 30px;
	height: 30px;
	text-indent: -9999px;
	background: url(../../../images/close.png) no-repeat 0 0;
	display: none;
}

.modal-spinner {
	display: none;
	width: 64px;
	height: 64px;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-right: -32px;
	margin-top: -32px;
	background: url(../../../images/spinner_big.gif) no-repeat center center;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-o-border-radius: 8px;
	-ms-border-radius: 8px;
	border-radius: 8px;
}

/** Modal End **/
		
.btn:focus, .btn:active:focus, .btn.active:focus{
    outline:none;
    box-shadow:none;
}

.img {
	max-width: 100%;
	height: auto;
}

.form-select {
	font-size: 14px;
}

.dropdown-menu {
	background: #2a2a2a;
	color: #ded6cb;
	font-size: 12px!important;
	font-weight: 400;
	z-index: 1050 !important;
	overflow: visible;
}

.dropdown-item {
	font-size: 13px!important;
	font-weight: 400;
	z-index: 1060 !important;
	overflow: visible;
}

.btn-primary {
	background: #2a2a2a!important;
	border-color: #2a2a2a!important;
	font-size: 12px!important;
	font-weight: 500;
}

.btn-primary:hover {
	background: #3a3a3a!important;
	border-color: #3a3a3a!important;
	
	font-size: 12px!important;
	font-weight: 500;
}

.btn-primary:active {
	background: #3a3a3a!important;
	border-color: #3a3a3a!important;
	
	font-size: 12px!important;
	font-weight: 500;
}

.mycode_img {
	max-width: 100%;
	height: auto;
}

.codeblock {
	background: #1c1c1c;
	border-radius: 5px;
	color: #ded6cb!important;
	border: 2px dotted #2a2a2a;
	margin: 0;
	padding: 15px;
}

.btn-light {
	font-size:12px!important;
}

.bg-white {
	background: #161616!important;
}

.card {
	background: #161616!important;
}

.card-body {
	background: #161616!important;
}

.border-bottom {
	border-color: inherit !important; /* #1c1c1c!important */
}

.border-end {
	border-color: #1c1c1c!important;
}

.border-top {
	border-color: #1c1c1c!important;
}

.border-start {
	border-color: #1c1c1c!important;
}

.border {
	border-color: #1c1c1c!important;
}

.form-select {
	background: #161616!important;
	color: #c9bda8!important;
	border-color: #2a2a2a!important;
	
	font-size: 13px;
}

.form-select-p {
	background: #161616;
	color: #c9bda8!important;
	border: 1px solid #2a2a2a;
	border-radius: 2px;
}

.form-select-p:focus {
	background: #161616;
	color: #c9bda8!important;
	outline: none!important;
	border-color: #e8dcc8;
	box-shadow: 0 0 0 0.2rem rgba(255, 250, 205, 0.25);
}

.form-select-p:active {
	background: #161616;
	color: #c9bda8!important;
	outline: none!important;
	box-shadow: none!important;
	border: 0;
}

.bg-light {
	background: #1c1c1c!important;
}

.card-text {
	font-size: 14px;
	font-weight: 400;
}

.text-muted {
	color: #8a8378!important;
}

.text-white {
	color: #ded6cb!important;
}

.text-primary {
	color: #c9bda8!important;
}

.nav-tabs .nav-link.active {
    color: #ded6cb;
    background-color: #1c1c1c;
    border-color: #1c1c1c #1c1c1c #1c1c1c;
}

.nav-tabs .nav-link.hover {
    color: #ded6cb;
    background-color: #1c1c1c;
    border-color: #1c1c1c #1c1c1c #1c1c1c;
}

.nav-tabs {
    border-bottom: 1px solid #1c1c1c;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: #1c1c1c #1c1c1c #1c1c1c!important;
    isolation: isolate;
}

strong {
	font-weight: 500;
}

.alert-warning {
	background: #4a3030;
	border: 1px solid #4a3030;
	font-size: 13px;
	color: #fff;
}

.alert-light {
	background: #700101;
	border: 1px solid #3d0000;
	font-size: 13px;
	color: #ded6cb;
}

#pm_notice *{
	background: #700101 !important;
}

.alert-light a {
	color: #ded6cb;
	text-decoration: underline;
}

/* Dark SCEditor */
.sceditor-container {
    background: #1a1a1a !important;
    border: 1px solid #333 !important;
}

.sceditor-toolbar {
    background: #252525 !important;
    border-bottom: 1px solid #333 !important;
}

/* Buttons */
.sceditor-button {
    background-color: transparent !important;
    border: none !important;
    opacity: 0.85;
}

.sceditor-button:hover,
.sceditor-button.active {
    background-color: #3a3a3a !important;
    opacity: 1;
}

/* Make the icons lighter so they show on dark toolbar */
.sceditor-button div {
    filter: invert(0.85) brightness(1.2);
}

/* Dropdown menus */
.sceditor-dropdown {
    background: #2a2a2a !important;
    border: 1px solid #444 !important;
    color: #ddd !important;
}

.sceditor-dropdown a {
    color: #ddd !important;
}

.sceditor-dropdown a:hover {
    background: #3a3a3a !important;
}

/* Editor writing area */
.sceditor-container iframe {
    background: #1a1a1a !important;
	color:#ffffff;
}

.sceditor-container iframe html,
.sceditor-container iframe body {
    background: #1a1a1a !important;
	color:#ffffff;
}

.sceditor-group {
	background: #1a1a1a !important;
	color:#ffffff;
}

/* Save as Draft button */
#postswitch,
input[name="savedraft"],
input[value="Save as Draft"],
button[name="savedraft"] {
    background: #252525 !important;
    color: #fff !important;
//    border: 1px solid #555 !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
}

#postswitch,
input[name="savedraft"]:hover,
input[value="Save as Draft"]:hover {
    background: #3A3A3A !important;
}

.col {font-weight:bold;}

.post_meta {display:none;}


/* Custom Stuff */
/* Override Bootstrap row behavior on the header only */
.userHeader.row {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: start;
  column-gap: 10px;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  box-sizing: border-box;
  /*overflow: hidden;  keeps children inside the bar */
}

/* Neutralize Bootstrap column flex/float */
.userHeader > .col,
.userHeader > .col-auto,
.userHeader > .userDropdown,
.userHeader > .userStats {
  float: none !important;
  position: relative !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0;
  flex: unset !important;
  padding-left: 0;
  padding-right: 0;
  margin: 0 !important;
}

/* LEFT */
.userHeader .userAvatar {
  grid-column: 1;
  justify-self: start;
}

.userHeader .userName {
  grid-column: 2;
  justify-self: start;
  text-align: left !important;
}

/* RIGHT */
.userHeader .userDropdown {
  grid-column: 3;
  justify-self: end;
  z-index: 9999;
}

.userDropdown .dropdown-menu {
    z-index: 9999 !important;
	height:auto;
}

.userHeader .userStats {
  grid-column: 4;
  justify-self: end;
  text-align: right !important;
  white-space: nowrap;
}

/* Kill leftover inline floats */
.userHeader .userStats[style],
.userHeader .dropdown[style] {
  float: none !important;
}



/* Kill headertabs on process/redirect */
/* Hide tabs by default */
.header-tabs-container {
  display: none !important;
}

/* Only show them when they immediately follow a visible .container-md */
.container-md:not([style*="display: none"]):not(.hidden) + .header-tabs-container {
  display: flex !important; /* or flex */
}





/* Prevent header tabs from wrapping to multiple lines */
.header-tabs-container {
	white-space: nowrap;
	flex-wrap: nowrap !important;
	overflow-x: auto;          /* allows horizontal scroll if needed */
	overflow-y: hidden;
}

.header-tabs-container > * {
	flex-shrink: 0;            /* stops individual tabs from shrinking/wrapping */
	white-space: nowrap;
	z-index:998;
}


[class="d-block d-sm-block d-md-block d-lg-none d-xl-none d-xxl-none"] {
  z-index:999;
}

.accountlinks_toggle, [class="dropdown-item p-2"], .switchlink {
color:	#C9AD75 !important;
}

.accountlinks_toggle:hover, [class="dropdown-item p-2"]:hover, .switchlink:hover {
background-color:#000 !important;
color:	#FFF !important;
}

 .accountlinks_toggle:visited {
background-color:#161616 !important;
color:	#FFF !important;
}

[class="dropdown-item p-2 disabled"] {
background-color: #3f0000 !imporant;
}

[class="dropdown-item p-2 disabled"]::after {
  content: " - selected";
}

.accountlinks_sub {padding-left:15px !important;}



input.form-control {
background-color:#2d2d2d !important;
border: 1px solid #565656;
}

p.sceditor-nlf {color:#ffffff !important;}



.post_body img,
.scaleimages img,
.post_content img {
    max-width: 100%;
    height: auto;
}


/* Avatar fix?  Ugh. */
.author_avatar img,
.post_avatar img,
.avatar img,
img.avatar,
.tavatar img,
.avatarep_img,
.avatarep_bg img {
	max-width: 200px !important;
	max-height: 200px !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain;
}


/* SCEditor -- Fixes? */
/* OLD /* Bigger SCEditor resize grip + resize cursor 
div.sceditor-grip {
    width: 18px !important;
    height: 18px !important;
    right: 2px !important;
    bottom: 2px !important;
    cursor: nwse-resize !important;
    opacity: 0.9;
    z-index: 5;
}

/* If you use monocons / has-icon, the glyph can stay small unless you scale it 
div.sceditor-grip.has-icon,
div.sceditor-grip:before {
    font-size: 16px !important;
    line-height: 18px !important;
    width: 18px !important;
    height: 18px !important;
}

/* Hide grip while maximized (stock behavior, keep it) 
.sceditor-maximize div.sceditor-grip {
    display: none !important;
} */

div.sceditor-grip {
    width: 18px !important;
    height: 18px !important;
    right: 2px !important;
    bottom: 2px !important;
    cursor: nwse-resize !important;
    z-index: 5;
    overflow: visible !important;

    /* kill the dark sprite */
    background: none !important;
    background-image: none !important;
}

div.sceditor-grip.has-icon,
div.sceditor-grip:before,
div.sceditor-grip:after {
    background: none !important;
    content: none !important;
}

/* white L-shaped corner */
div.sceditor-grip:before {
    content: "" !important;
    display: block !important;
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 12px;
    height: 12px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    box-shadow:
        -4px 0 0 -2px #ffffff,
        0 -4px 0 -2px #ffffff;
    opacity: 0.95;
    pointer-events: none;
}

div.sceditor-grip:hover:before {
    border-color: #00f6ff;
    box-shadow:
        -4px 0 0 -2px #00f6ff,
        0 -4px 0 -2px #00f6ff;
}

.sceditor-maximize div.sceditor-grip {
    display: none !important;
}