/*BACKGROUNDS*/
body, #content_section, #header, table.table_list .windowbg, table.table_list .windowbg2, table.table_grid .windowbg, table.table_grid .windowbg2, #footer_section {
	background: #eee;
}
body, div#forumposts .windowbg, div#forumposts .windowbg2, .windowbg, .windowbg2 {
	background-color: #eee;
}
.dropmenu a, .search_min2 {
	background: #555;
}
.league-sport-table-link:hover, .league-sport-table-link.league-table--is-active {
	background: #555 !important;
}
body {
	max-width: 2048px;
	background: #eee !important;
	background-color: #eee !important;
}

/*MAIN MENU*/
div#main_menu {
	background-color: transparent;
	width: 100%;
	float: unset;
}
ul.dropmenu li a.firstlevel span.firstlevel {
	left: 0px;
	padding-left: 0px;
}
ul.dropmenu li a.firstlevel {
	margin-right: 0px;
}
ul.dropmenu > li {
	margin-right: 1em;
}
ul.dropmenu > li > a.firstlevel, .search_min2 {
	padding: 0.5em;
	border-radius: 15px;
	display: inline-block;
}
ul.dropmenu > li > a.firstlevel, input.input_text.search_min2, input.input_text.search_min2:hover, input.input_text.search_min2:focus {
	border: 2px solid #33BA18;
}
input.input_text.search_min2:focus {
	outline: none;
}
input.input_text.search_min2::placeholder {
	color: #f4f4f4;
	opacity: 0.8;
}
ul.dropmenu > li > a.firstlevel:hover, ul.dropmenu > li > a.firstlevel:focus, ul.dropmenu > li > a.firstlevel:active {
	border-color: #000;
}
ul.dropmenu > li > ul > li:first-child > a, ul.dropmenu > li > ul > li > ul > li:first-child > a {
	border-radius: 15px 15px 0px 0px;
}
ul.dropmenu > li > ul > li:last-child > a, ul.dropmenu > li > ul > li > ul > li:last-child > a {
	border-radius: 0px 0px 15px 15px;
}
.dropmenu li ul {
	width: unset;
}
ul.dropmenu > li > ul > li a {
	padding: 0.5em;
}
.search_min2 {
	box-shadow: unset;
	font-size: inherit;
	line-height: 1em;
	border-radius: 5px;
	margin-bottom: 0px;
	width: 8em;
}
ul#menu_nav.dropmenu {
	padding: 0 1em;
}
input.button_submit.search_min {
  display: inline-block;
  content: "";
  background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23555' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z' clip-rule='evenodd'/></svg>");
  background-repeat: no-repeat;
  background-size: 1rem 1rem;
  vertical-align: middle;
}
input.button_submit.search_min:hover {
  background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%2333BA18' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z' clip-rule='evenodd'/></svg>");
}
input[type=file] {
	border: 2px solid #555;
	border-radius: 15px;
	padding: 2px 0.5em;
}
input.input_text, select, .editor, input.input_password {
	border: 1px solid #33BA18;
	border-radius: 5px;
}
#header {
	padding-left: 1em;
}
.dropmenu a span.responsive_menu {
	display: none;
}
.dropmenu li#button_1 li {
	width: 8em;
}
.dropmenu li li {
	width: 15em;
}
.dropmenu li#button_1 ul ul {
	margin-left: 8em;
}

/*ADMIN*/
#adm_submenus, .bg_tab_boardindex {
	background: transparent;
}
.maintenance_finished, #task_completed, .errorbox {
	border-radius: 5px;
}

/*TOPICS LIST*/
table.table_grid td, .table_grid tr.catbg, .table_grid tr.titlebg, .topic_table table thead {
	border: 0px;
}
table.table_grid thead tr.catbg th:first-child {
	border-radius: 15px 0px 0px 15px;
}
table.table_grid thead tr.catbg th:last-child {
	border-radius: 0px 15px 15px 0px;
}
#topic_icons .description, .information, .league-sport-table-link, ul.quickbuttons li a {
	border-radius: 15px;
}
.roundframe {
	background: #eee !important;
}
.table_list tbody.content td.info a.subject, p.moderators a, td.lastpost a, td.children.windowbg a, td.children.windowbg2 a, td.children.tab_chil a, div.navigate_section li a {
	text-decoration: none;
}
/*p.moderators a:hover, td.lastpost a:hover, td.children.windowbg a:hover, td.children.windowbg2 a:hover, td.children.tab_chil a:hover, div.navigate_section li a:hover {
	text-decoration: underline;
}*/
td.children.tab_chil > a {
	color: #555;
}
div.navigate_section ul li img {
	padding-top: 0px !important;
	padding-bottom: 4px;
}
img.new_posts, td.subject img {
	padding: 0px;
	max-width: 16px;
	height: auto;
	margin-top: -4px;
}
div#messageindex a:link, div#messageindex a:visited:hover, div#messageindex td.lastpost a:visited, div#messageindex td.subject p a:visited, td.children.tab_chil > a:hover {
	color: #1C6F0C;
	text-decoration: none;
}
div#messageindex a:link:hover, div#messageindex a:visited, div#messageindex td.lastpost a:visited:hover, div#messageindex td.subject p a:visited:hover, td.info a.subject:hover, .table_list tbody.content td.info a.subject:hover {
	color: #555;
}
/*Hover colors for Unread Topics and alike*/
h3.catbg a:hover, h4.catbg a:hover, .table_list tbody.header td a:hover {
	color: #555;
}
/*Color for memberslist top buttons and alike*/
tr.catbg th a:link, tr.catbg th a:visited, tr.catbg2 td a:link, tr.catbg2 td a:visited {
	color: #1C6F0C;
}
tr.catbg th a:link:hover, tr.catbg th a:visited:hover, tr.catbg2 td a:link:hover, tr.catbg2 td a:visited:hover {
	color: #555;
}
div#messageindex td.subject p a, div#messageindex td.lastpost a, div#messageindex td.subject.stickybg a, div#messageindex td.subject.stickybg2 a {
	text-shadow: 0px 0px 1px #555;
}
td.icon a img {
	max-width: 32px;
	height: auto;
}

/*LEAGUES AT THE BOTTOM*/
#leagues_in_sport_link_container {
	margin-top: -0.5em;
}
.league-sport-table-link {
	padding: 1em !important;
	margin-right: 0.75em !important;
	margin-top: 0.5em !important;
	border: 2px solid #000;
	box-sizing: border-box;
	flex-grow: 0 !important;
	background-color: #33BA18 !important;
}
/*Previous green 32AC41, then 33BA18*/
.league-sport-table-link:hover {
	border-color: #33BA18;
}
a.league-sport-table-link.league-table--is-active, a.league-sport-table-link.league-table--is-active:hover, a.league-sport-table-link, a.league-sport-table-link:hover {
	color: #eee !important;
}
legend {
	float: unset;
}

/*TOPICS DISPLAY*/
ul.quickbuttons {
	margin: 0 1em 0 0;
}
ul.quickbuttons li, ul.quickbuttons li.inline_mod_check {
	margin-top: 1em;
}
ul.quickbuttons li a {
	padding: 5px 5px 5px 2em;
	height: unset;
	border: 1px solid #555;
	text-decoration: none;
}
ul.quickbuttons li a:hover {
	border: 1px solid #33BA18;
}
ul.quickbuttons li.reply_button, ul.quickbuttons li.reply_all_button {
	background-position-x: 0.55em !important;
}
ul.quickbuttons li.quote_button {
	background-position-x: 0.6em !important;
}
ul.quickbuttons li.modify_button, ul.quickbuttons li.remove_button {
	background-position-x: 0.4em !important;
}
ul.quickbuttons li.notify_button {
	background-position-x: 0.45em !important;
}
ul.quickbuttons li.split_button {
	background-position-x: 0.65em !important;
}
ul.quickbuttons li.reply_button, ul.quickbuttons li.reply_all_button {
	background-position-y: -175px !important;
}
ul.quickbuttons li.quote_button {
	background-position-y: 5px;
}
ul.quickbuttons li.modify_button {
	background-position-y: -55px;
}
ul.quickbuttons li.notify_button {
	background-position-y: -205px;
}
ul.quickbuttons li.remove_button {
	background-position-y: -25px;
}
ul.quickbuttons li.split_button {
	background-position-y: -145px;
}
ul.quickbuttons a:hover {
	color: #555;
	border-color: #555;
}
img.avatar, input.sp_search {
	border-radius: 5px;
}
div.smalltext.reportlinks a, div.postarea h5 a, div.nextlinks a, div.nextlinks_bottom a, div.pagelinks a, .navigate_section ul li a, .bbc_link:link, .bbc_link:visited, div#sp_block_388 div.sp_block a, div.sp_article_content h3 a, div.sp_article_content div.sp_right a {
	color: #1C6F0C;
	text-decoration: none !important;
}
div.smalltext.reportlinks a:hover, div.postarea h5 a:hover, div.nextlinks a:hover, div.nextlinks_bottom a:hover, div.pagelinks a:hover, .navigate_section ul li a:hover, .bbc_link:link:hover, .bbc_link:visited:hover, div#sp_block_388 div.sp_block a:hover, div.sp_article_content div.sp_right a:hover, a:link:hover, a:visited:hover {
	color: #555;
}
.poster h4 a, .navigate_section ul li a {
	text-decoration: none;
	font-weight: bold;
}
.poster h4 a:hover {
	text-decoration: underline;
}
.bbc_link:link, .bbc_link:visited {
	border-bottom: none;
}
/*Border, too long to do
.post_wrapper, div#sp_block_388 div.sp_block, div.sp_article_content div.sp_content_padding {
	border: 1px solid #555;
	border-top: 0px;
	border-bottom: 0px;
}
span.topslice {
	border: 1px solid #555;
	border-bottom: 0px;
	border-radius: 5px 5px 0px 0px;
}
span.botslice {
	border: 1px solid #555;
	border-top: 0px;
	border-radius: 0px 0px 5px 5px;
}
div#personal_messages .poster {
	border-left: 1px solid #555;
}
div#personal_messages .postarea {
	border-right: 1px solid #555;
}
#forumposts .post_separator {
	display: block;
}
div#sp_block_612 span.topslice, div#sp_block_612 span.botslice {
	border: 0px;
}*/
#forumposts hr.post_separator {
	margin: 0.5rem;
	color: transparent;
	background-color: #1C6F0C;
	display: block;
	opacity: 0.5;
}
.inner, .signature, .attachments {
	border-top: 1px solid rgba(28, 111, 12, 0.5); /*This is #1C6F0C but in RGBA to set opacity*/
}
.plainbox {
	border-radius: 5px;
}
.roundframe {
	border: 0px;
}
blockquote.bbc_standard_quote, blockquote.bbc_alternate_quote {
	border: 2px solid #1B6F0A !important;
	border-radius: 5px;
}
textarea, input[type="text"], input[type="password"], input[type="number"], textarea.editor, #preview_body {
	border: 1px solid #33BA18;
	border-radius: 5px;
}
#preview_body {
	padding: 0.5em;
}
/*table.table_grid td {
	padding: 0px;
}*/
.table_grid th.lefttext {
	padding: 0.3em;
}
.table_grid tr.catbg th {
	padding: 0 0.1em;
}
.table_grid th.last_th input {
	display: block;
	margin: 0 auto;
}
table.table_grid thead tr.catbg th {
	text-align: center;
}
table.table_grid thead tr, table.table_grid thead th {
	max-width: 100%;
}
table.table_grid thead tr.catbg th {
	white-space: normal;
}
.lastpost img {
	float: none;
	padding: 1px;
}
.topic_table table {
	table-layout: fixed;
}
select.qaction, input.qaction {
	max-width: 35%;
}
td.icon1, td.icon2 {
	width: 1em;
}
td.icon1 img, td.icon2 img {
	max-width: 100%;
}
.nav {
	display: inherit;
}
li.last .nav {
	display: inline;
}

/*BUTTONS*/
.buttonlist ul, div#adm_submenus ul.dropmenu {
	margin: -1em 0 0 0;
}
.buttonlist ul li, div#adm_submenus ul.dropmenu li {
	margin-top: 1em;
}
.buttonlist ul li a, input.button_submit:not(.search_min), input[type=button], .shd_showtickets {
	background-color: #555;
	border: 2px solid #33BA18;
	border-radius: 15px;
	color: #eee;
}
.buttonlist ul li a:hover, .buttonlist ul li a.active, input.button_submit:hover:not(.search_min), input[type=button]:hover, .shd_showtickets:hover {
	background-color: #33BA18;
	border-color: #555;
}
.buttonlist ul li a.active:hover {
	color: #555;
}
input.button_submit {
	cursor: pointer;
	padding: 3px;
}
input.sp_search {
	margin-bottom: 0.25em;
}
input[type=button] {
	padding: 0.3em;
}
.emojis_wrapper {
	border: 1px solid #33BA18 !important;
	padding-right: 4px !important;
}
.emojis_wrapper:hover {
	border: 1px solid #555 !important;
}

/*FIX SP*/
body, div#wrapper {
	min-width: 1px !important;
}
.shoutbox_list_compact li {
	border-left: 0px !important;
	border-bottom: 0px !important;
	padding: 0px 4px 4px 0px !important;
}
ul.shoutbox_list_compact li a:hover {
	text-decoration: underline;
}
div.shoutwrapper {
	border-radius: 5px;
	border: 1px solid #33BA18;
	padding: 0.2em;
}
div.shoutbox_input {
	padding-top: 0px !important;
}
div.shoutbox_input input {
	margin-top: 6px;
}
div.shoutbox_input.smalltext input[type="text"] {
	line-height: 1em;
}
div.shoutbox_info {
	padding-left: 0.2em;
}
span.shoutbox_delete {
	margin-top: 0.5em;
}
div#sp_block_41 div.sp_block {
	border: 2px solid #33BA18;
	border-radius: 5px;
	padding-bottom: 4px;
}
div#sp_block_41 div.shoutbox_input.smalltext {
	border-top: 2px solid #33BA18;
	margin: 0 -0.5em;
}
div#sp_block_41 div.shoutbox_input.smalltext input.input_text {
	margin-left: 0.5em;
}
div#sp_block_41 div.shoutbox_input.smalltext input.button_submit {
	margin-right: 0.5em;
	margin-top: 3px;
}
#sp_block_388 {
	font-weight: bold;
}
#sp_block_401 div.sp_block a img {
	display: block;
	margin: 0 auto;
}
div.sp_block img {
	max-width: 100%;
	height: auto;
}

/*FIX SD*/
.shd_showtickets {
	height: unset !important;
	padding-left: 2em !important;
	border-radius: 15px;
}
table.shd_ticketlist tr.titlebg td {
	font-size: 0.75em;
}
table.shd_ticketlist .titlebg td, table.shd_ticketlist .windowbg td, table.shd_ticketlist .windowbg2 td, .shd_attachmentbox {
	padding: 0.1em !important;
}
table.shd_ticketlist {
	table-layout: fixed;
}
.shd_ticket_side_column {
	width: 25% !important;
	margin-right: 1em !important;
}
.shd_ticketdetails {
	min-height: 0px !important;
	padding: 0.1em !important;
}
.shd_ticket_description {
	margin-left: 0px !important;
}
.shd_replyarea {
	padding-left: 0px !important;
}
.information li dd {
	padding: 0 0.1em !important;
}
.shd_attachmentcolumn {
	margin-right: 0px !important;
}
.shd_ticket_leftcolumn {
	width: 30% !important;
}
.shd_ticket_rightcolumn {
	width: 70% !important;
}
.shd_ticket_rightcolumn content {
	padding: 0px !important;
}

/*TRANSITIONS*/
*, *:hover {
	transition: 100ms ease-in-out;
	overflow-wrap: break-word;
}

/*TOP LOGO*/
.topforumcolumn {
  float: left;
  width: 50%;
  padding: 1rem;
}
.topforumcolumn a img {
	max-width: 100%;
}
/* Clear floats after the columns */
div#header div.frame:after {
  content: "";
  display: table;
  clear: both;
}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .topforumcolumn {
	 width: 100%;
  }
}

/*Responsive*/
@media screen and (max-width: 960px) {
	.catbg, .catbg2, tr.catbg td, tr.catbg2 td, tr.catbg th, tr.catbg2 th {
		font-size: 1em;
	}
	.topic_table td.lastpost {
		line-height: 1em;
	}
	table.shd_ticketlist tr.titlebg td, table.shd_ticketlist tr.windowbg td, table.shd_ticketlist tr.windowbg2 td {
		font-size: 0.50em;
	}
}
@media screen and (max-width: 780px) {
	table.shd_ticketlist tr.titlebg td, table.shd_ticketlist tr.windowbg td, table.shd_ticketlist tr.windowbg2 td {
		font-size: 0.30em;
	}
}
@media screen and (max-width: 640px) {
	#main_menu .dropmenu span.firstlevel { 
		display: block;
	}
	#header {
	padding-left: 0.5em;
	}
	.search_min2 {
	width: 6em;
	}
	table.shd_ticketlist tr.titlebg td, table.shd_ticketlist tr.windowbg td, table.shd_ticketlist tr.windowbg2 td {
		font-size: 0.15em;
	}
}
@media screen and (max-width: 480px) {
	table.shd_ticketlist tr.titlebg:not(:last-child) td {
		font-size: 0em;
	}
}