/* Custom */ 


.dropmenu li ul, .top_menu, .dropmenu li li:hover, .button, .dropmenu li li:hover > a, .dropmenu li li a:focus, .dropmenu li li a:hover, #top_section, #search_form .button{
    background: #023570 url(../images/custom/catbg.png) repeat-x;
	border: 0;
}

#inner_section {
    background: #1A1A1A;
}

#inner_wrap {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgb(13,75,142);
    margin-bottom: 12px;
}

div.cat_bar {
    background: #023570 url(../images/custom/catbg.png) repeat-x;
    border-bottom: none;
    border-top: 1px solid #0669d5;
    padding: 0 0 4px 0;
    border-radius: 6px 6px 0 0;
    box-shadow: none;
    text-shadow: none;
}

h3.catbg, h3.catbg a, h3.catbg a:hover {
    color: rgb(252,252,252);
    text-shadow: 2px 2px 2px rgba(0,0,0,.2);
}

.cat_bar .desc {
    color: rgb(252,252,252);
    font-size: 12px;
    line-height: 1.5em;
    font-weight: 400;
    margin: 0px 0px 0px 10px;
    background: rgba(0,0,0,0.4);
    padding: 3px 6px;
    box-shadow: 0 0 1px 1px rgba(0,0,0,0.9);
    border-radius: 16px;
    text-shadow: 1px 2px 2px rgba(0,0,0,.2);
    display: inline;
}

.generic_list_wrapper {
	background: #023570 url(../images/custom/catbg.png) repeat-x;
    border-top: 1px solid #0669d5;
	border-left: none;
	border-right: none;
}

.windowbg, .approvebg, .approvebg2 {
    background: rgb(40,40,40);
	border: 1px solid;
	border-color: #424141 #111111 #111111 #424141;
    margin: 12px 0 0 0;
    padding: 12px 16px;
    border-top: 1px solid rgb(2, 53, 112);
	border-left: none;
    border-right: none;
    border-bottom: none;
    border-radius: 0;
    box-shadow: none;
    overflow: auto;
}

.inner {
    padding: 7px 8px 2px 2px;
    margin: 0;
    border-top: 1px solid rgb(2, 53, 112);
    box-shadow: none;
    min-height: 85px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.signature, .attachments, .custom_fields_above_signature, .custom_fields_below_signature {
    width: 100%;
    overflow: auto;
    clear: right;
    padding: 12px 0 3px 0;
    border-top: 1px solid rgb(2, 53, 112);
    box-shadow: none;
    line-height: 1.4em;
    font-size: .9em;
}

.under_message {
	border-top: 1px solid rgb(2, 53, 112);
	box-shadow: none;
}

.up_contain {
    color: rgb(206, 223, 255);
    background: rgb(40,40,40);
	border: 1px solid;
	border-color: #424141 #111111 #111111 #424141;
	margin: -1px 0 1px 0;
}

.boardindex_table .board_stats p {
    border-left: 1px solid #424141;
    border-right: 1px solid #424141;
}

.roundframe {
    background: #1A1A1A;
    border-top: 1px solid #0669d5;
	border-left: none;
	border-right: none;
	border-bottom: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.navigate_section ul {
	background: #1f1e1e url(../images/custom/titlebg.png) repeat-x;
    margin: 4px 0 0 0;
    padding: 0 10px;
    font-size: .9em;
    overflow: hidden;
    border: none;
    border-radius: 2px;
    box-shadow: none;
	text-shadow: none;
}

.navigate_section ul li {
    line-height: 1.1em;
    color: rgba(252,252,252);
    text-shadow: none;
}

.navigate_section ul a {
	color: rgb(206, 223, 255);;
}

.children {
    border-top: 1px solid rgb(66, 65, 65)!important;
    box-shadow: 0px 0px 1px 1px rgb(24, 24, 24) !important;
    padding: 5px;
    width: 100%;
}

.new_posts {
    color: rgba(252,252,252);
    font-weight: bold;
    line-height: 1.12px;
    border-radius: 2px;
    background: #023570!important;
    display: inline;
    margin: 0 2px;
    padding: 2px 4px;
    font-size: 9px;
    font-family: verdana, sans-serif;
    box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.1), 0 -2px 4px rgba(0, 0, 0, 0.1) inset;
    opacity: 1!important;
    transition: 0.3s all;
}

.new_posts:hover {
    background: #0669d5!important;
    text-decoration: underline;
    color: rgb(252,252,252);
    opacity: 1;
}

#ic_recentposts td {
	border-top: 1px solid rgb(66, 65, 65);
    padding: 0 4px 0 0;
    vertical-align: top;
}

.page_number {
  color: rgb(6, 105, 213);
  font-weight: bold;
  padding: 4px 0 0 4px;
  line-height: 1.5em;
}

/* TitleBar & SubBar */
.title_bar {
	border:  none;
	background: #023570 url(../images/custom/catbg.png) repeat-x;
	color: rgba(252,252,252);
	border-radius: 2px 2px 0 0;
	margin: 0 0 0 0;
}
.table_grid tr.title_bar a {
  color: #fff;
}
h3.titlebg, h4.titlebg, .titlebg, h3.subbg, h4.subbg, .subbg {
  background: none;
  color: rgba(252,252,252);
  font-family: "Tahoma", sans-serif;
  font-weight: bold;
  overflow: hidden;
  padding: 6px 12px 5px 12px;
  text-shadow: none;
}
.sub_bar {
	border-bottom: none;
	text-shadow: none;
	background: none;
	box-shadow: none;
	clear: both;
}
h4.subbg, .subbg {
	background: #1f1e1e url(../images/custom/titlebg.png) repeat-x;
	color: rgba(252,252,252);
	text-shadow: none;
	font-family: "Tahoma", sans-serif;
	font-weight: bold;
	overflow: hidden;
	padding: 6px 12px 5px 12px;
}
.titlebg a, .subbg a {
	background: none;
	color: #555;
	text-decoration: none;
}
.title_bar + .windowbg, .title_bar + .roundframe {
	margin-top: -1px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

#upshrink_stats {
    margin-top: 0px;
}

.subbg a {
    background: none;
    text-decoration: none;
    color: rgb(206, 223, 255);
}

.titlebg a {
    background: none;
    color: rgba(252,252,252);
    text-shadow: none;
    text-decoration: none;
}

.subbg_board {
	width: 61%;
	color: rgb(206, 223, 255);
	float: left;
}
.subbg_stats {
	width: 19%;
	color: rgb(206, 223, 255);
	float: left;	
}
.subbg_lastpost {
	width: 20%;
	color: rgb(206, 223, 255);
	float: left;	
}

.subbg_boardindex {
	width: 100%;
	border-bottom: 1px solid #111;
	margin-bottom: 1px;
}

#info_center .sub_bar {
    border-top: none;
}

#topic_header {
	background: #1f1e1e url(../images/custom/titlebg.png) repeat-x;
    margin: 0;
    border-radius: 0;
    display: flex;
	padding: 4px 0px;
}

#description_board h3::after {
    content: none;
}

#recent_posts_content {
    background: rgb(40, 40, 40);
    border: none;
}

/* Buttons and Such*/

.info .subject {
    font-weight: 700;
    font-size: 110%;
    color: rgba(29, 89, 194);
}

.pagesection .button {
    color: rgba(252,252,252);
    margin: 0 2px;
}

.button {
	background: #023570 url(../images/custom/catbg.png) repeat-x;
	color: rgba(252,252,252);
	border: none;
    box-shadow: none;
}

.button:hover {
    background: rgb(6,105,213);
    background: linear-gradient(180deg, rgba(6,105,213,1) 0%, rgba(3,70,143,1) 100%);
	color: rgba(252,252,252);
    text-decoration: none;
    border: none;
    box-shadow: none;
}

.button:focus {
    background: rgb(6,105,213);
    background: linear-gradient(180deg, rgba(6,105,213,1) 0%, rgba(3,70,143,1) 100%);
	color: rgba(252,252,252);
    text-decoration: none;
    border: none;
    box-shadow: none;
}

.button.link {
    background: #033671;
    color: rgba(252,252,252);
    font-weight: 700;
    border: none;
    box-shadow: none;
}

.button.active {
    background: rgb(6,105,213);
    background: linear-gradient(180deg, rgba(6,105,213,1) 0%, rgba(3,70,143,1) 100%);
    color: rgba(252,252,252);
    font-weight: 700;
    border: none;
    box-shadow: none;
}

.button.active:hover {
    color: rgba(252,252,252);
    background: rgb(6,105,213);
    background: linear-gradient(180deg, rgba(6,105,213,1) 0%, rgba(3,70,143,1) 100%);
}

#search_form .button {
	background: rgb(255,255,255);
    background: linear-gradient(180deg, rgb(255, 255, 255) 0%, rgb(227, 227, 227) 100%);
	color: #1b1b1b;
}

a.button {
  color: rgba(252,252,252);
}
.button.you_sure {
  margin: 0px 2px;
}
#search_form .button:hover{
	background: rgb(6,105,213);
	background: linear-gradient(180deg, rgb(6, 105, 213) 0%, rgb(3, 70, 143) 100%);
	color: rgb(252,252,252);
}

#top_section {
    padding: 0 4px;
    border-bottom: none;
    box-shadow: 0 1px 4px rgba(0,0,0,.16);
    clear: both;
    margin: 0 -11px;
}

.stuffnthings {
	background: #023570 url(../images/custom/catbg.png) repeat-x;
	height: 30px;
    padding: 0 2px;
    margin: 0 12px;
}
.stuffnthings a{
	color: rgb(2250,250,250);
	text-decoration: none;
}
.stuffnthings a:hover{
	color: rgb(64, 86, 133);
	text-decoration: underline;
}

.stuffnthings a.button:hover {
	color: rgb(252,252,252);
	text-decoration: underline;
}

#top_info {
    padding: 0px 2px;
    line-height: 1.3em;
    width: auto;
}

#languages_form, #search_form {
    padding: 3px 14px;
}

.pm_unread, .alerts_unread {
    margin-top: 5px;
    border-top: 1px solid #0669d5;
}

#upshrink_stats p.inline {
    border: none;
    margin: 0;
    padding: 2px 8px;
    line-height: 1.6em;
    font-size: .9em;
    background: rgb(40,40,40);
	border: 1px solid;
	border-color: #424141 #111111 #111111 #424141;
}

/* Those collapse and expand icons are wonderful. */
/* Those collapse and expand icons are wonderful. */
.toggle_up::before, .toggle_down::before {
    width: 28px;
    height: 17px;
    display: inline-block;
    background: transparent url(../images/custom/collapse.png) no-repeat 0 0 / 28px;
    overflow: hidden;
    content: '';
    vertical-align: middle;
    margin: 0px 5px 0 5px;
    border: none;
    border-radius: 3px;
    box-shadow: none;
    transition: background-color 0.25s;
    padding: 0;
}
.toggle_down::before {
    background: transparent url(../images/custom/expand.png) no-repeat 0 0 / 28px;
	box-shadow: none;
}

.toggle_up:hover:before, .toggle_down:hover:before {
	background-color: transparent;
	box-shadow: none;
	transition: background-color 0.25s;
}

.generic_bar .bar, .progress_bar .bar {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    bottom: 0;
    background: #0669d5;
    transition: width .3s;
    border-radius: 1px;
    box-shadow: none;
    display: block;
	border:  none;
}
.display_title {
    font-weight: normal;
    font-size: 26px;
    margin-bottom: 0.25em;
    line-height: 1.05em;
    overflow-wrap: break-word;
    color: rgb(206, 223, 255);
}

.keyinfo .postinfo a, .keyinfo .postinfo a strong {
  color: rgb(6, 105, 213);
}

#footer {
    margin: 4em 0 0 0;
    padding: 10px 5%;
	background: rgb(13, 51, 94) url(../images/custom/footer.png) repeat-x;
    border-top: 1px solid #0669d5;
    box-shadow: 0 -2px 10px rgba(6,105,213,0.4);
    flex: none;
}
#topic_container .windowbg {
    display: flex;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid;
    border-color: rgb(66, 65, 65) rgb(17, 17, 17) rgb(17, 17, 17) rgb(66, 65, 65);
}

.windowbg:nth-of-type(2n+1), .bg.odd {
    background: rgb(40,40,40);
}
.windowbg:nth-of-type(2n), .bg.even {
    background: rgb(40,40,40);
}
.windowbg.sticky.locked {
    background: rgb(40,40,40);
}
.windowbg:target {
	background: rgb(50,50,50);
}
/* Awaiting approval is a bit special, topics first */
.windowbg.approvetopic {
	background: #261515;
}
/* Unapproved posts in approved topics */
.windowbg.approvepost {
	background: #261515;
}
.information {
    background: rgb(40,40,40);
	border: 1px solid;
	border-color: #424141 #111111 #111111 #424141;
}

.themecopyright {
	width: 500px;
	float: left;
	clear: left;
}

/* Post Area Stuff */

.subject_title a {
    font-size: .9em;
    color: rgba(255,255,255,.5);
    font-weight: 700;
}

.poster h4, .poster h4 a, .poster li:hover h4 a, .poster h4 a:hover .poster li h4 a, .poster h4 a:focus {
    margin: 0;
    padding: 0;
    color: #0669d5;
    font-weight: 900;
}

.keyinfo h5 a, .keyinfo h5 a strong {
    color: rgba(252,252,252);
}

#topic_icons .information, #messageindex .information {
    border-top: 1px solid #424141;
}
#description_board h3, #description_board div {
    display: inline-block;
	color: rgba(252,252,252);
}

.current_page {
    padding: 0 4px 0 2px;
    color: rgba(252,252,252);
    font-family: verdana,sans-serif;
    font-weight: 700;
}

.keyinfo .postinfo .modified {
  color: rgb(206, 223, 255);
  font-weight: normal;
  font-style: italic;
}

.editor {
    background: rgb(31, 30, 30) url(../images/custom/titlebg.png) repeat-x;
    color: rgb(206, 223, 255);
    border: 1px solid rgb(6, 105, 213);
}

.editor:hover {
    background: rgb(31, 30, 30) url(../images/custom/titlebg.png) repeat-x;
    color: rgb(206, 223, 255);
    border: 1px solid rgb(6, 105, 213);
}

.editor:focus {
    background: rgb(31, 30, 30) url(../images/custom/titlebg.png) repeat-x;
    color: rgb(206, 223, 255);
    border: 1px solid rgb(6, 105, 213);
}

/* The quick buttons */
.quickbuttons {
	margin: 0 0 5px;
	clear: right;
	float: right;
	text-align: right;
}
#recent .quickbuttons {
	margin: 0;
}

.quickbuttons li {
	background: transparent;
	border: none;
	box-shadow: none;
	border-radius: 0px;
}

.quickbuttons li:hover {
	background: transparent;
	border: none;
	box-shadow: none;
	border-radius: 0px
}

.quickbuttons li ul, .quickbuttons li ul li:hover, .quickbuttons ul li a:focus {
	background: rgb(6,105,213);
    background: linear-gradient(180deg, rgb(6, 105, 213) 0%, rgb(3, 70, 143) 100%);
	border-radius: 0px;
	color: rgb(252,252,252);
}
.quickbuttons li ul li a:hover, .quickbuttons ul li a:focus, .post_options ul, .post_options ul a:hover {
	background: rgb(252,252,252,0.1);
	color: rgb(252,252,252);
	box-shadow: none;
	text-shadow: none;
}
.quickbuttons > li:first-child > a {

    border-radius: 4px 0 0 4px;

}
.quickbuttons > li:first-child > a {

    border-radius: 4px 0 0 4px;

}
.quickbuttons > li:hover > a, .quickbuttons > li > a:focus {
	background: rgb(6,105,213);
    background: linear-gradient(180deg, rgb(6, 105, 213) 0%, rgb(3, 70, 143) 100%);
    color: rgb(252,252,252);
    border-color: rgba(255,255,255,0.1);
    box-shadow: none;
    text-decoration: none;

}
.quickbuttons > li {
	float: left;
}

.quickbuttons > li > a {
	background: rgb(2, 53, 112) url(../images/custom/catbg.png) repeat-x;
}

.quickbuttons > li > a, .inline_mod_check {
	display: block;
	height: auto;
	padding: 0 4px;
	color: #fcfcfc;
	line-height: 1.375rem;
	border-radius: 0;
}
.quickbuttons > li:first-child > a {
	border-radius: 4px 0 0 4px;
}
.quickbuttons > li:last-child > a, .inline_mod_check:last-child {
	border-radius: 0 4px 4px 0;
}
.quickbuttons > li:only-child > a, .inline_mod_check:only-child {
	border-radius: 4px;
	margin: 2px;
	height: 23px;
}

.quickbuttons > li > a, .inline_mod_check {
    display: inline-block;
    padding: 0 8px;
    color: #fcfcfc;
    font-size: 0.7rem;
    line-height: 2em;
    text-transform: uppercase;
    cursor: pointer;
    min-height: calc(2em + 2em * (0.9 - 0.85));
    border: 1px solid rgb(2, 53, 112);
    border-radius: 3px;
    box-shadow: none;
    box-sizing: border-box;
    vertical-align: middle;
}

.post_options ul a {
    display: block;
    width: 12em;
    padding: 0 6px;
      line-height: 2.2em;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 3px;
    color: rgb(252,252,252);
}

/* Admin Area Stuff */

#manage_boards li.windowbg {
	padding: 8px 0;
    padding-left: 0px;
    margin: 0;
    border-radius: 0;
	border: 1px solid !important;
	border-color: #424141 #111111 #111111 #424141 !important;
}

#manage_boards .button {
    color: rgb(252,252,252);
}

#manage_boards li.windowbg:hover {
    background: #1b1b1b !important;
}

#manage_boards li.redirect_board {
	background-color: #282828 !important;
}

#manage_boards li.redirect_board:hover {
	background: #1b1b1b !important;
}

#admin_login .centertext {
    padding: 12px;
    background: rgb(40,40,40);
}
.action_admin .table_grid td {
	border: 1px solid #0669d5 !important;
}

tr.windowbg:hover {
    background: rgb(40,40,40);
}

h3.config_hd {
    padding: 8px 0 8px 45px;
    color: rgb(252,252,252);
	text-shadow: 2px 2px 2px rgba(0,0,0,.2);
}

/*Code Box,Quote Box etc */
.bbc_code {
    display: block;
    font-size: 0.85em;
    background: rgba(0,0,0,.2);
    border: 1px solid rgb(6, 105, 213);
    border-radius: 2px;
    margin: 1px 0 6px 0;
    padding: 3px 12px;
    overflow: auto;
    white-space: nowrap;
    max-height: 25em;
}

.bbc_standard_quote {
    background-color: rgba(0,0,0,.2);
}

.bbc_alternate_quote {
    background-color: rgba(0,0,0,.2);
}

blockquote {
    margin: 0 0 8px 0;
    padding: 6px 10px;
    font-size: small;
    border: 1px solid rgb(6, 105, 213);
}

blockquote cite {
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9em;
    margin-bottom: 3px;
}

/* Resposive Stuff  */ 
@media only screen and (max-width: 550px) {
.cat_bar .desc {
    display: none;
}
}

@media screen and (max-width: 720px) {
#header {

    margin-left: 0;
    margin-right: 0;
    width: 100%;

}
}

@media (max-width: 560px) {
#main_menu {
	background: transparent!important;
	border: none!important;
	margin: 0px!important;
	height: 0px!important;
}

#top_info {
  padding: 0px!important;
}
#top_info > li > a {
	padding: 2px 7px 4px 7px!important;
	margin-top: 0px;
}
}

@media screen and (max-width: 855px) {
.subbg_stats {
    display: none;
}
}
@media screen and (max-width: 1024px) {
.subbg_board {
  width: 70%;
}
.subbg_stats {
 width: 10%;
}
}


@media only screen and (max-width: 720px) {
.subbg_lastpost {
    display: none;
}
}
@media screen and (max-width: 720px) {
	.up_contain .lastpost {
		border-top: 1px solid rgb(66, 65, 65)!important;
		box-shadow: 0px 0px 1px 1px rgb(17, 17, 17)!important;
		min-height: initial;
}
}
@media (min-width: 481px) and (max-width: 720px) {
.up_contain .lastpost {
		border-top: 1px solid rgb(66, 65, 65)!important;
		box-shadow: 0px 0px 1px 1px rgb(17, 17, 17)!important;
		min-height: initial;
}
}

@media (max-width: 480px) {
h1.forumtitle a, h1.forumtitle {
  padding: 0px 0px 5px 0px !important;
  max-width: 374px !important;
  margin: 10px 0;
}
}

#main_menu {
	background: #023570 url(../images/custom/catbg.png) repeat-x;
    margin: 0;
	border-top: 1px solid #0669d5;
	border-bottom: 1px solid #0669d5;
	padding: 0px;
}


/* Styles for the standard dropdown menus.
------------------------------------------------------- */
.dropmenu, #top_info {
	position: relative;
}
/* Level 1 button background. */
ul.dropmenu {
	font-size: 0em;
}

.dropmenu > li {
	display: inline-block;
	margin: 0px;
	font-size: 0.78rem;
	line-height: 1.9em;
}	

#top_info > li {
	display: inline-block;
	margin: 0 2px 0 2px;
	font-size: 0.9em;
	line-height: 1.9em;
}
/* Disable default focus outlines */
.dropmenu a {
	outline: 0;
}
/* For cases where we want to spotlight something specific to an item, e.g. an amount */
.amt {
	margin-left: 3px;
	padding: 0 5px;
	color: rgb(255,255,255);
	background: rgba(0, 0, 0, 0.3);
	border-radius: 7px;
	text-shadow: 0px 1px 1px rgba(0,0,0, 0.3);
	box-shadow: 0px 0px 1px 1px rgb(0,0,0);
}
.dropmenu li .active .amt, #top_info li .active .amt {
	background: rgba(0, 0, 0, 0.3);
	color: inherit;
}
#top_info .top_menu.visible {
	display: block;
	background: rgb(31, 30, 30) url(../images/custom/titlebg.png) repeat-x;
	border: 1px solid transparent;
}
/* Needed for new PM notifications. */
.dropmenu li strong {
	color: #333;
}

.dropmenu li a {
	background: url(../images/custom/sep.png) bottom right repeat-y;
	padding: 4px 10px 5px 10px;
	display: block;
	border: none;
	border-radius: 0px;
	color: rgb(252,252,252);
	font-weight: bold;
}	

#top_info > li > a {
    padding: 3px 7px 4px 7px;
    display: block;
    border: none;
    border-radius: 0px;
}
/* Level 1 active button. */
.dropmenu a.active {
	background: rgb(6,105,213);
    background: linear-gradient(180deg, rgba(6,105,213,1) 0%, rgba(3,70,143,1) 100%);
	color: rgb(252,252,252);
	font-weight: bold;
	text-shadow: 0 0 2px #000;
	border: none;
}

.dropmenu a:hover {
	background: url(../images/custom/sep.png) bottom right repeat-y;
}

#top_info a.active {
	background: rgb(6,105,213);
    background: linear-gradient(180deg, rgba(6,105,213,1) 0%, rgba(3,70,143,1) 100%);
	color: rgb(252,252,252);
	font-weight: bold;
	text-shadow: 0 0 2px #000;
	border: none;
}

/* Level 1 hover effects. */
.dropmenu > li:hover > a, .dropmenu > li > a:focus {
	background: rgb(6,105,213);
    background: linear-gradient(180deg, rgba(6,105,213,1) 0%, rgba(3,70,143,1) 100%);
	border: none;
	color: rgb(252,252,252);
	cursor: pointer;
	text-decoration: none;
	box-shadow: none;
	text-shadow: 0 0 2px #000;
}


#top_info > li:hover > a, #top_info > li > a:focus, #top_info > li > a.open {
	background: rgb(6,105,213);
    background: linear-gradient(180deg, rgba(6,105,213,1) 0%, rgba(3,70,143,1) 100%);
	border: none;
	color: rgb(252,252,252);
	cursor: pointer;
	text-decoration: none;
	box-shadow: none;
	text-shadow: 0 0 2px #000;
}
/* Level 1 active button. */
.dropmenu li a.active:hover, .dropmenu li:hover a.active {
	background: rgb(6,105,213);
    background: linear-gradient(180deg, rgba(6,105,213,1) 0%, rgba(3,70,143,1) 100%);
	border: none;
	color: rgb(252,252,252);
	box-shadow: none;
	text-shadow: 0px 0px 2px #000;
}
/* User information. */
#profile_menu_top::after {
	content: " \25BC";
}
.profile_user_info, .profile_user_avatar {
	display: inline-block;
	margin: 0 9px;
	vertical-align: middle;
}
.profile_user_avatar img.avatar {
	max-width: 100px;
}
.profile_username {
	font-size: 150%;
	display: block;
}
.profile_user_links ol {
	margin-left: 10px;
	clear: both;
	column-count: 2;
}
.profile_user_links li {
	font-size: .8rem;
	line-height: 2em;
	padding-left: 24px;
	text-indent: -24px;
	-webkit-hyphens: auto;
	hyphens: auto;
}
/* Fixes bug with border-box on scrollable js */
.scrollable,
.scrollable *,
#profile_menu {
	box-sizing: content-box;
}
.top_menu.scrollable {
	max-height: 30em;
}
.pm_unread, .alerts_unread {
	margin-top: 5px;
	border-top: 1px solid rgb(6, 105, 213);
}
.unread_notify {
	border-bottom: 1px solid rgb(6, 105, 213);
}
.no_unread {
	margin-top: 5px;
	text-align: center;
}
.unread_notify:hover {
	background: #eee;
	text-decoration: none;
}
.unread_notify:last-child {
	border-bottom: none;
}
.unread_notify {
	display: flex;
	align-items: center;
	padding: 6px 5px;
	line-height: 20px;
}
.unread_notify.alert_read {
	opacity: 0.5;
	outline: none;
	filter: grayscale(1);
}
.unread_notify strong {
	font-weight: 600;
}
.unread_notify .avatar {
	width: 40px;
	height: 40px;
	object-fit: scale-down;
	margin: 4px 4px 4px 0;
	display: inline-block;
	color: transparent; /* For broken images */
	vertical-align: bottom;
}
.unread_notify_image {
	position: relative;
	width: 44px;
	margin-right: 4px;
	text-align: center;
}
.unread_notify_image span.alert_icon {
	display: block;
	line-height: 1em;
}
.unread_notify_image .avatar + .alert_icon {
	width: auto;
	position: absolute;
	right: 0;
	top: 0;
}
.unread_notify .details {
	display: inline-block;
	vertical-align: top;
	max-width: calc(100% - 48px);
}
#pm_menu .subject {
	font-weight: bold;
}

/* Styles used by the auto suggest control.
------------------------------------------------------- */
.auto_suggest_div {
	position: absolute;
	visibility: hidden;
	border-radius: 3px;
	outline: none !important;
	border: 1px solid rgb(2, 53, 112);
	z-index: 100;
}
.auto_suggest_item {
	background: rgb(31, 30, 30) url(../images/custom/titlebg.png) repeat-x;
	color: rgb(206, 223, 255);
	padding: 1px 4px;
}
.auto_suggest_item_hover {
	background: rgb(31, 30, 30) url(../images/custom/titlebg.png) repeat-x;
	color: rgb(255,255,255);
	padding: 1px 4px;
}

/* Levels 2 and 3 submenu wrapper. */
.dropmenu li ul {
	background: rgb(31, 30, 30) url(../images/custom/titlebg.png) repeat-x;
	z-index: 90;
	position: absolute;
	display: none;
	min-width: 18.2em;
	padding: 0.5em;
	font-weight: normal;
	border: solid 1px rgba(0,0,0,0.2);
	border-radius: 4px;
	box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.3);
	margin: 2px 0px 0px 0px;
}

.top_menu {
	z-index: 90;
	position: absolute;
	display: none;
	min-width: 18.2em;
	padding: 0.5em;
	font-weight: normal;
	border: solid 1px #999;
	border-left: solid 1px #bbb;
	border-top: solid 1px #ccc;
	border-radius: 4px;
	box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.3);
	background: #fff;
}
/* Level 2 link background. */
.dropmenu li li {
	margin: 0;
	padding: 0;
	width: 17em;
	font-size: 1em;
	border-radius: 3px;
	border: 1px solid transparent;
}
/* Necessary to allow highlighting of 1st level while hovering over submenu. */
.dropmenu li:hover li a {
	background: none;
	padding: 0 9px;
	color: rgba(252,252,252);
	border: none;
	line-height: 2.2em;	
}

.dropmenu li li a {
	background: none;
	padding: 0 9px;
	color: rgba(252,252,252);
	border: none;
	line-height: 2.2em;
}

.dropmenu li li a > img {
	vertical-align: middle;
}
/* The profile/pm menus are declared off .dropmenu li ul for consistency but have other characteristics. */
.top_menu {
	min-width: 25em;
}
.top_menu .login {
	width: 100%;
}
.top_menu .login dt {
	text-align: left;
	width: 55%;
}
.top_menu .login dd {
	width: 43%;
}
.top_menu .login input {
	width: 90%;
}
/* Note: The next declarations are for keyboard access with js disabled. */
.dropmenu ul a:focus, .dropmenu ul ul a:focus {
	margin-left: 9990px;
	border: none;
	width: 17em;
}
.dropmenu ul ul a:focus {
	margin-left: 19950px;
}
/* Cancel those for hover and/or js access. */
.dropmenu ul li:hover a:focus, .dropmenu ul li a:focus {
	margin-left: 0;
	width: auto;
}
/* Level 3 submenu wrapper positioning. */
.dropmenu li ul ul {
	margin: -2em 0 0 15.3em;
}
/* Level 3 maintains font-size the same as Level 2. */
.dropmenu li li li a {
	font-size: 1em;
}
/* Levels 2 and 3 hover effects. */
.dropmenu li li:hover {
	border: none;
}

.dropmenu li li:hover > a, .dropmenu li li a:focus, .dropmenu li li a:hover {
	color: rgba(252,252,252);
	text-decoration: none;
	border: 1px solid transparent;
}
/* Reposition Level 2 submenu as visible on hover. */
.dropmenu li:hover ul {
	display: block;
}
/* Hiding Level 3 submenu off hover. */
.dropmenu li:hover ul ul, .dropmenu li ul ul, .dropmenu li:hover ul ul ul, .dropmenu li ul ul ul {
	left: -9999px;
}
/* Reposition as visible on hover. */
.dropmenu li li:hover ul, .dropmenu li li ul {
	left: -14px;
}
.dropmenu li li.subsections > a::after {
	position: absolute;
	padding: 5px 0;
	right: 10px;
	font: 83.33%/150% Arial, sans-serif;
	content: "\25ba";
}
/* Highlighting of current section */
.dropmenu li li a.chosen {
	font-weight: bold;
}

/* The extra menu rows for admin sections, etc. */
#adm_submenus {
	margin: 0 0 6px 0;
	overflow: hidden;
}

/* Styles for popup windows */
.popup_container {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(40, 64, 80, 0.5);
	z-index: 6;
}
.popup_window,
#main_menu .popup_window,
#genericmenu .popup_window {
	position: relative;
	width: auto;
	z-index: 99;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
	border: 1px solid rgb(6, 105, 213);
	border-radius: 7px 7px 3px 3px;
	margin: 0 auto;
	padding: 0;
    color: #405685;
}
.popup_window {
	top: 15%;
	width: 480px;
	padding: 0 6px 6px 6px;
	background: rgb(31, 30, 30) url(../images/custom/titlebg.png) repeat-x;
    color: #405685;
}
.popup_heading {
	padding: 10px 8px;
	color: rgb(29, 89, 194);
}
.popup_content {
	color: rgb(29, 89, 194);
	line-height: 1.6em;
	max-height: 30em;
	overflow: auto;
	padding: 10px 8px;
	border: 1px solid transparent;
	background: rgb(31, 30, 30) url(../images/custom/titlebg.png) repeat-x;
	box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.15), 0 1px 1px rgba(255, 255, 255, 0.2);
}
#genericmenu > .popup_container {
	z-index: 5;
}
.main_icons.hide_popup {
	float: right;
}
.popup_heading .icon {
	vertical-align: middle;
	margin: -4px 4px 0 0;
}

.generic_list_wrapper, .windowbg, .approvebg, .approvebg2 {
	background: #f0f4f7;
	margin: 12px 0 0 0;
	padding: 12px 16px;
	border: 1px solid rgb(2, 53, 112);
	border-radius: 6px;
	box-shadow: 0 -2px 2px rgba(0, 0, 0, 0.1);
	overflow: auto;
}

/*SCEditor*/
div.sceditor-toolbar {
	flex-shrink: 0;
	overflow: hidden;
	padding: 3px 5px 2px;
	background: rgb(2, 53, 112) url(../images/custom/catbg.png) repeat-x;
	border-bottom: 1px solid rgb(2, 53, 112);
	line-height: 0;
	text-align: left;
	user-select: none;
	border-radius: 3px 3px 0 0;
	background-clip: padding-box;
	margin: 0 0 5px;
}

.sceditor-container {
	background: rgb(2, 53, 112) url(../images/custom/catbg.png) repeat-x;
	border: 1px solid rgb(2, 53, 112);
}

.sceditor-container iframe, .sceditor-container textarea {
	background: rgb(31, 30, 30) url(../images/custom/titlebg.png) repeat-x;
	border: 1px solid rgb(2, 53, 112);
	color: rgb(206, 223, 255);
}

/* Calendar */

.day_text {
    color: rgb(252,252,252);
}

#month_grid td.calendar_today a {
    text-decoration: none;
    background: rgba(0,0,0);
    color: rgb(2, 53, 112);
    border-left: none;
}

.calendar_today, td.days:hover {
    background: rgb(0,0,0,1);
}

.descbox {
    padding: 7px 10px 7px 10px;
    border: 1px solid rgb(6, 105, 213);
    margin: 6px 0;
}

/* Other */
#pick_theme .selected {
    background: rgba(255, 255, 255, 0.2);
}

#detailedinfo dl, #tracking dl {
    clear: right;
    overflow: auto;
    margin: 0 0 18px 0;
    padding: 0 0 15px 0;
    border-bottom: 1px solid rgb(2, 53, 112);
}


@media (max-width: 560px) {
.menu_icon {
    display: inline-block;
    background: url(../images/icons/menu.svg) no-repeat!important;
    height: 24px;
    width: 24px;
}
}

/* BoardStats Flex Grid Thingy thing thing */
.boardstats_grid_row {
    background: rgb(40, 40, 40);
    border: 1px solid;
    border-color: rgb(66, 65, 65) rgb(17, 17, 17) rgb(17, 17, 17) rgb(66, 65, 65);
    flex-basis: 100%;
    padding: 4px 10px;
    margin: 0px;
    text-align: left;
    font-size: 1em;
}

@media screen and (min-width:800px) {
 .boardstats_grid_column {
    display:flex;
    flex-direction:column;
    flex-wrap:nowrap
 }
 .boardstats_flex {
    flex:1
 }
}

/* Recent Flex Grid Thingy thing thing */
.recent_grid_column {
    background: rgb(40, 40, 40);
    border: 1px solid;
    border-color: rgb(66, 65, 65) rgb(17, 17, 17) rgb(17, 17, 17) rgb(66, 65, 65);
    flex-basis: 100%;
    padding: 2px 10px;
    margin: 0px;
    text-align: left;
    font-size: 1em;
}

@media screen and (min-width:800px) {
 .recent_grid_row {
    display:flex;
    flex-direction:row;
    flex-wrap:nowrap
 }
 .recent_grid_flex {
    flex:1
 }
}

/* Info Box Styles */
.errorbox {
	background-color: #fee;
	border-top: 2px solid #c34;
	border-bottom: 2px solid #c34;
	color: #000;
}
.noticebox {
	color: #000;
	background: #fff6ca;
	border-top: 1px solid #ffd324;
	border-bottom: 1px solid #ffd324;
}
.infobox {
	color: #000;
	background: #cfc;
	border-top: 1px solid green;
	border-bottom: 1px solid green;
}

a.moderation_link, a.moderation_link:visited {
	font-weight: bold;
	padding: 0px 8px;
	background: rgb(139,0,0);
	border-radius: 50%;
}

.attach-ui.roundframe {
    border: 1px solid #0669d5;
}