/* INTRODUCTION
 * This variant is the standard, light, Elkarte default theme.
 * This is eye candy only. All the layout code is in index.css.
 *
 * All theme variants depend on the layout code for stability.
 * It is better to copy code to a variant CSS file for testing.
 * -------------------------------------------------------
 * $CONTENTS - still a bit WIP. @todo
 *
 *		$GENERAL.............Global resets, clearfixes, etc.
 *		$COMMON..............Common classes to drive you bonkers.
 *		$BBC.................Quotes, code blocks, BBC styles.
 *		$AJAX................The "loading" bar (quick edit, etc).
 *
 *		$MAIN................Forum header, wrapper, and footer.
 *		$MENUS...............Main and secondary menus.
 *		$LINKTREE............The breadcrumbs.
 *		$BUTTONS.............Most button strips.
 *		$PAGELINKS...........Page navigation links.
 *
 *		$TABLES..............Generic tables (memberlist, error log, etc).
 *		$SETTINGS............Generic lists for settings pages.
 *		$BOARDS..............Board index, sub-boards, and message index.
 *
 *		$TOPICS..............The display template (topic view), including send.
 *		$EDITOR..............Main editor (posts, events, polls) and topic summary.
 *		$MODERATE............Move topic, split topic, merge topic.
 *
 *		$PROFILE.............The profile areas.
 *		$PERSONAL............The personal messages (PM) areas.
 *		$CALENDAR............The calendar
 *		$STATISTICS..........The statistics centre.
 *
 *		$HELP................Help pages, help icons and pop-ups, tooltips.
 *		$SEARCH..............Search pages, including memberlist search.
 *		$MEMBERLIST..........The memberlist table.
 *		$LOGIN...............Login and registration, maintenance mode.
 *
 *		$BOXES...............Message boxes (error, warning, info, etc).
 *		$PROGRESS............Nifty progress bars.
 *		$MEDIA...............Experimental media queries.
 */

/* -------------------------------------------------------
 *	$GENERAL
 * -------------------------------------------------------
 */

/* Normal, standard links. */
a, a:link, a:visited,
	/* Links that open in a new window. */
a.new_win:link, a.new_win:visited {
	text-decoration: none;

	color: #333333;
}

/* Cursor declared here.Should not be required anywhere else. */
a:hover, a.new_win:hover {
	text-decoration: underline;
}

/* Stop white band under footer on short pages. */
/* This color should match $FOOTER background. */
html {
	background: #F6F8F9;;
}

body {
	color: #444444;
	background: #F6F8F9;
}

.wf-loading {
	overflow: hidden;

	height: 100%;

	background: #F6F8F9;
}

fieldset {
	margin: 5px 0;
	padding: 6px;

	border: 1px solid #CCCCCC;
	border-radius: 0;
	background: transparent;
	box-shadow: inset -1px -1px 3px #FFFFFF;
}

legend {
	font-size: 1.071em;

	margin-left: 15px;
	padding: 0 0 2px 20px;

	cursor: pointer;

	color: #333333;
	background: url(../../images/selected_open.png) no-repeat scroll left center transparent;
}

.collapsed legend {
	background: url(../../images/selected.png) no-repeat scroll left center transparent;
}

input, button, select, textarea, .editor {
	color: #333333;
	border: 1px solid #CCCCCC;
	border-radius: 0;
	background: #FFFFFF;
}

input:hover, textarea:hover, button:hover, select:hover {
	border: 1px solid #999999;
}

textarea:hover, .editor:hover {
	color: #444444;
	background: #FBFBFB;
}

input:focus, textarea:focus, button:focus, select:focus, .editor:focus {
	border: 1px solid #999999;
}

/* Give disabled text input elements a different background color. */
input[disabled].input_text, input[disabled].input_password {
	background: #EEEEEE;
}

/* The OpenID login form */
.openid_login {
	padding-left: 20px;

	background: white url(../../images/openid.png) no-repeat 2% 50%;
}

/* Common button styling. */
input[type="submit"], .drop_area_fileselect_text, button[type="submit"], input[type="button"],
.button_submit, .right_submit, .left_submit, .button_reset, .drop_area_fileselect_text,
/* Anchors styled to look like buttons. */
/* These have standard body text size. Can be chained with smalltext class. */
.linkbutton:link, .linkbutton_right:link, .linkbutton_left:link,
.linkbutton:visited, .linkbutton_right:visited, .linkbutton_left:visited {
	color: #555555;
	border: 1px solid #AFAFAF;
	border-top: 1px solid #CFCFCF;
	border-left: 1px solid #BFBFBF;
	border-radius: 0;
	background: #F4F4F4 linear-gradient(to bottom, #FFFFFF, #E4E4E4);
	box-shadow: 1px 1px 2px #E5E5E5, 0 -1px 0 #E4E4E4 inset;
}

/* Hover effects. */
input[type="submit"]:hover, button[type="submit"]:hover, input[type="button"]:hover,
.button_submit:hover, .right_submit:hover, .left_submit:hover,
.button_reset:hover,
.linkbutton:hover, .linkbutton_right:hover, .linkbutton_left:hover {
	text-decoration: none;

	color: #555555;
	border: 1px solid #CCCCCC;
	border-top: 1px solid #AFAFAF;
	border-left: 1px solid #AFAFAF;
	background: #F0F0F0;
	box-shadow: 2px 1px 1px rgba(0, 0, 0, 0.07) inset;
}

/* the new "button" */
.new_posts, .new_posts:visited, .new_posts:link {
	padding: 2px 6px;

	color: #FFFFFF;
	border-radius: 2px;
	background: rgb(107, 166, 94);
}

/* approval indicator */
.require_approval {
	color: #FFFFFF;
	border-radius: 0;
	background: #F3B200;
}

/* Standard horizontal rule.. ([hr], etc.) */
hr {
	border-top: 1px solid #BBBBBB;
	border-left: 0;
	background: #EEEEEE;
}

strong {
	font-weight: bold;
}

/* Use demi bold font weight for some key areas */
.codeheader, .quoteheader,
.expand_pages,
.table_head > th,
.topic_sorting_row > h3, .topic_name h4 a,
.poster .name,
.keyinfo h5 a, .keyinfo h5 a strong,
.ui-tabs .ui-tabs-nav .ui-state-active a, .ui-tabs .ui-tabs-nav .ui-state-active,
.ui-dialog .ui-dialog-titlebar,
.popup_heading {
	font-weight: 600;

	-webkit-font-smoothing: antialiased;
}

/* @todo - Test this everywhere. */
.standard_category {
	border-radius: 0;
	background: #E4E4E4;
	box-shadow: 1px 2px 4px #EEEEEE;
}

/* @todo - Test this everywhere. */
.standard_category > .content {
	border: 1px solid #DDDDDD;
	background: #FFFFFF;
}

/* Styles for main headers. */
.category_header, .forum_category .category_header, .forumposts .category_header, .content_category .category_header {
	color: #FFFFFF;
	border: 1px solid #DDE5EA;
	border-top: none;
	border-bottom: none;
	border-radius: 4px;
	background: #4A4E51;
}

/* Single ones with a touch of radius. */
.forumposts .category_header, .content_category .category_header {
	border-radius: 5px;
}

/* Styles for subsection headers. @todo */
.secondary_header {
	color: #F0F0F0;
	border: 1px solid #CCCCCC;
	border-top: 0 solid #DFDFDF;
	background: #313131;
}

#advanced_panel_link {
	color: #FFFFFF;
}

.category_header a:link, .category_header a:visited,
.category_header a.new_win:link, .category_header a.new_win:visited,
h3.category_header, h2.category_header {
	font-weight: 600;

	text-transform: uppercase;

	color: #FFFFFF;;
}

/* Upshrink image in the general category headers */
#category_toggle, #category_toggle_more, #upshrink_header {
	border-radius: 0;
}

/* Upshrink image in the page top for the header collapse */
#collapse_button .linklevel1 {
	border-radius: 0;
}

/* Custom highlighted text style for modern browsers.
 * Nicer than default. Needs two separate rules.
 */
::-moz-selection {
	color: #444444;
	background: #D8FFDF;
}

::selection {
	color: #444444;
	background: #D8FFDF;
}

/* Other highlighted text, such as search results. */
.highlight {
	color: #FF7200;
}

/* Used for sections that need somewhat larger corners */
.roundframe, .well {
	border: 1px solid #C5C5C5;
	border-radius: 0;
	background: #F5F5F5;
}

/* The generic wrapper thingy. */
.generic_list_wrapper {
	border: 1px solid #CCCCCC;
	border-radius: 0;
	box-shadow: 0 -2px 2px rgba(0, 0, 0, 0.1);
}

.generic_list_wrapper .additional_row {
	border-radius: 0;
}

.generic_list_wrapper .title_bar {
	border-bottom: 1px solid #FFFFFF;
	border-radius: 0;
	background: none;
}

.generic_list_wrapper .information {
	border-bottom: 1px solid #FFFFFF;
	background: none;
}

/* Styles used by the auto suggest control. */
.auto_suggest_div {
	border: 1px solid #BBBBBB;
	border-radius: 0;
}

.auto_suggest_div:focus {
	border: 1px solid #BBBBBB;
}

.auto_suggest_item {
	background: #DDDDDD;
}

.auto_suggest_item_hover {
	color: #EEEEEE;
	background: #888888;
}

/* -------------------------------------------------------
 * $BBC
 * -------------------------------------------------------
 */

/* The "Quote:" and "Code:" header parts... */
.codeheader, .quoteheader {
	color: #555555;
	border: 1px solid #CCCCCC;
	border-bottom: none;
	background: #FFFFFF;
}

.codeheader {
	border-top: 3px solid #AAAAAA;
}

/* [Select] link to copy code. */
.codeoperation {
	font-weight: normal;
}

/* A quote, perhaps from another post. */
.bbc_quote,
.bbc_standard_quote, .bbc_alternate_quote,
/* A code block - maybe PHP ;) - shared styles. */
.bbc_code {
	border: 1px solid #CCCCCC;
	border-top: none;
	background: #FFFFFF;
}

/* Extra quote styling */
.bbc_quote, .bbc_standard_quote, .bbc_alternate_quote, .quoteheader {
	box-shadow: 2px 2px 2px #DDDDDD;
}

/* Extra code block styling. */
.bbc_code {
	border-top: 3px solid #AAAAAA;
	border-bottom: 3px solid #AAAAAA;
	background: #F8F8F8;
}

/* Styling for BBC tags */
.bbc_link:link, .bbc_link:visited {
	color: #377828;
	box-shadow: 0 -1px 0 #CEDCCB inset;
}

.bbc_link:hover {
	text-decoration: none;

	color: #377828;
	box-shadow: 0 -1px 0 #66AA55 inset;
}

/* Styling for tables inside posts */
.inner > .bbc_table_container > .bbc_table td,
.messageContent > .bbc_table_container > .bbc_table td {
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
}
.inner > .bbc_table_container > .bbc_table th,
.messageContent > .bbc_table_container > .bbc_table th {
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #BBBBBB;
}
.inner > .bbc_table_container > .bbc_table td:last-child,
.inner > .bbc_table_container > .bbc_table th:last-child,
.messageContent > .bbc_table_container > .bbc_table td:last-child,
.messageContent > .bbc_table_container > .bbc_table th:last-child {
	border-right: none;
}

/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction {
	color: #222222;
}

.meaction:before {
	font-family: Arial, sans-serif;
	font-size: 1.714em;
	line-height: 1em;

	content: "\270c";
}

.spoilerheader {
	font-size: 0.857em;
	font-weight: bold;

	cursor: pointer;
}

.spoiler {
	padding: 0.3em;

	border: 1px solid #CCCCCC;
	background-color: #EEEEEE;
}

div.bbc_footnotes {
	border-top: 1px solid #BFBFBF;
}

.bbc_footnotes .target:target {
	background-color: #D8FFDF;
}

sup.bbc_footnotes, sup.bbc_footnotes a {
	font-weight: 700;

	color: #222222;
}

div.bbc_footnotes .meaction {
	display: inline-block;
}

/* -------------------------------------------------------
 *	$AJAX
 * -------------------------------------------------------
 */

/* The "Loading" bar for quick edit, etc. */
#ajax_in_progress, .ajax_infobar {
	color: #306430;
	border-bottom: 4px solid #EBECEF;
	background: #FFFFFF;
}

#ajax_in_progress a {
	text-decoration: underline;
}

/* -------------------------------------------------------
 *	$MAIN.
 * -------------------------------------------------------
 */

/* The top bar. */

#top_section {
	padding: 5px;
}

#header {
	height: 60px;
}

#menu_nav {
	height: 3em;
	padding: 4px;

	border-radius: 3px 3px 0 0;
	background: #4A4E51;
}

#main_menu {
	height: 3em;
}

#siteslogan {
	color: #CCCCCC;
}

/* Maintenance mode warning. */
#top_section_notice, .notice {
	font-weight: 700;

	color: #A80000;
}

#search_form {
	border-radius: 0;
}

#search_form .controls {
	margin: 5px 0;
	padding: 5px;

	border-radius: 0;
	background: #FAFAFA;
}

#search_form.active {
	z-index: 100;

	padding: 5px;

	background-color: rgb(255, 255, 255);
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

#search_form .input_text {
	width: 100%;

	border-radius: 0;
}

#search_form .input_text.search_nd {
	font-size: 16px;

	width: 70%;
	min-height: 2em;

	border-radius: 4px;
	background: #FFFFFF;
}

#search_form button {
	font-size: 16px;

	min-height: 2em;

	color: #FFFFFF;
	border-radius: 4px;
	background-color: #4993C5;
}

#search_form .button_submit.with_select {
	box-shadow: 1px 1px 2px #E5E5E5, 0 -1px 0 #E4E4E4 inset;
}

#search_form select {
	width: 130px;

	opacity: 0.8;
	border: 1px solid #AFAFAF;
	border-right: none;
}

#search_form select:focus {
	opacity: 1;
	border: 1px solid #999999;
	border-right: none;
}

#forumtitle > a {
	color: #848F9D;
	text-shadow: 1px 1px 0 #000000;
}

/* News section. */
#news {
	font-size: 0.929em;

	clear: both;

	border-radius: 4px;
}

#news > h2 {
	float: left;

	margin: 0.5em 1em 0 0;
}

#news > h2:before {
	font-family: "FontAwesome";
	font-size: 3em;

	content: "\f05a";

	color: #BBBBBB;
}

#news_line, #news {
	overflow: auto;

	height: 65px;
	min-height: 65px;
	padding: 6px 12px;

	resize: vertical;

	color: #666666;
	/* Longhand style due to JS bug in IE! */
	border: 1px solid #CCCCCC;
	background: #FAFAFA;
	box-shadow: 1px 2px 3px #EEEEEE;
}

#elkFadeScroller {
	margin-left: 4em;
}

/* Main forum area. */
/* Box-shadow only on this one. */
#wrapper {
	margin-top: 10px;
	padding: 0;

	border: 1px solid #E5E5E5;
	border-radius: 4px;
	background: #FFFFFF;
}

#menu_wrapper {
	padding: 0 0 4px;
}

/* The footer with copyright links etc. */
#footer_section {
	color: #BBBBBB;
	border-top: 6px solid #EBECEF;
	background: #222222;
	box-shadow: 0 -1px 0 #777777, 0 1px 0 #0E0E0E inset;
}

#footer_section p, #footer_section a {
	color: #BBBBBB;
}

#footer_section .rssfeeds {
	color: orange;
	border-radius: 0;
	background-color: white;
	text-shadow: 1px 1px 0 #000000;
}

.action_viewquery a, .action_viewquery strong,
#debug_logging a, #debug_logging strong {
	color: yellow;
}

#debug_logging {
	width: 90%;
	max-width: 90em;
	margin: 0 auto;

	color: #BBBBBB;
	background: #222222;
}

#debug_logging_wrapper {
	background: #222222;
}

/* -------------------------------------------------------
 *	$MENUS
 * -------------------------------------------------------
 */
/* Top Menu */
/* Level 1 Menu bar: link or button. General styling. */
#main_menu .linklevel1, #main_menu .linklevel1:link, #main_menu .linklevel1:visited {
	color: #FFFFFF;
	border: none;
	box-shadow: none;
}

#main_menu .listlevel1 {
	background: #4A4E51;
}

/* Level 1 button hover and focus effects. */
#main_menu .linklevel1:hover, #main_menu .listlevel1:hover .linklevel1,
#main_menu .linklevel3:hover, #main_menu .listlevel3:hover .linklevel3,
#menu_sidebar .linklevel1:hover, #menu_sidebar .listlevel1:hover .linklevel1,
#menu_current_area > strong > .linklevel1 {
	text-decoration: none;

	color: #FFFFFF;
	background: #9FBFDF;
	background: none repeat scroll 0 0 rgba(255, 255, 255, 0.1);
}

/* Level 1 button hover and focus effects. */
#main_menu .linklevel2:hover, #main_menu .listlevel2:hover .linklevel2,
#main_menu .linklevel3:hover, #main_menu .listlevel3:hover .linklevel3 {
	text-decoration: none;

	color: #000000;
	border-radius: 3px;
	background: #7E8A99 linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Level 1 active buttons. */
#main_menu .linklevel1.active, #main_menu .listlevel1:hover .active,
#main_menu .linklevel1:hover .pm_indicator {
	color: #7E8A99;
	border-radius: 3px;
	background: #FFFFFF;
}

#main_menu .linklevel1.active {
	color: #FFFFFF;
	background: #4993C5;
}

/* Hover effects for those buttons. */
#main_menu .linklevel1.active:hover, #main_menu .listlevel1:hover .linklevel1.active {
	background: #FFFFFF;
}

#main_menu .linklevel1:hover .pm_indicator, #main_menu .linklevel2:hover .pm_indicator {
	color: #555555;
	border: none;
	background: #919BA9;
	box-shadow: none;
}

#menu_button_avatar > span {
	padding: 4px;

	vertical-align: middle;
}

/* Top level subsection indicators. */
#main_menu .listlevel1.subsections .linklevel1:after {
	font-family: "FontAwesome", Arial, sans-serif;

	position: relative;
	left: 0.25em;

	margin: 0;
	padding: 0;

	content: "\f0d7";
}

/* Level 2 and 3: drop menu wrapper. */
#main_menu .menulevel2 {
	font-size: 0.85em;
	line-height: 2em;

	background: #EBECEF linear-gradient(to bottom, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%);
}

#main_menu .menulevel3 {
	border: 1px solid #AFAFAF;
	border-top: 1px solid #CFCFCF;
	border-left: 1px solid #BFBFBF;
	border-radius: 0;
	background: #FFFFFF;
	box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

/* Tricky count indicators. Define them carefully */
#main_menu .pm_indicator:before {
	content: "[";
}

#main_menu .pm_indicator:after {
	content: "]";
}

#main_menu .pm_indicator {
	font-weight: 600;
	line-height: 1em;

	position: absolute;
	z-index: 100;
	bottom: 2em;

	padding: 5px;

	border-radius: 25%;
	background: #4993C5;
}

.poster_online .pm_indicator {
	font-size: 0.929em;
	font-weight: 700;
	line-height: 1.4em;

	position: relative;
	z-index: 2;
	top: -0.5em;
	right: -2.5em;

	float: left;

	padding: 0 0.4em;

	color: #FFFFFF;
	border-radius: 8px;
	background: #EBECEF;
}

.poster_online .infotext {
	color: #555555;
}

#dropdown_menu_1 .pm_indicator {
	margin-top: 5px;
	margin-right: 2px;
}

.likes_indicator {
	font-size: 0.857em;
	font-weight: bold;
	line-height: 1.5em;

	position: absolute;
	z-index: 2;
	top: -1em;
	right: -0.4em;

	float: left;

	padding: 0 0.6em;

	color: #FFFFFF;
	border: 1px solid #555555;
	border-radius: 25%;
	background: #4A4E51;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
}

/* Levels 2 and 3 drop menus: link or button. */
#main_menu .linklevel2:link, #main_menu .linklevel2:visited, #main_menu .linklevel3:link, #main_menu .linklevel3:visited {
	color: #666666;
	border: 1px solid transparent;
}

/* Admin menu icons. */
.linklevel2 > img {
	margin: 0 0 0 -4px;

	vertical-align: middle;
}

/* Level 2: subsection indicators. */
#main_menu .listlevel2.subsections .linklevel2:after {
	font-family: "FontAwesome";
	font-size: 1.286em;

	position: relative;
	top: 2px;
	left: 0.25em;

	float: right;

	content: "\f0a9";
}

/* Level 2: subsection indicators. */
.admin_menu .listlevel2.subsections .linklevel2:after {
	font-family: "FontAwesome";
	font-size: 1.286em;

	position: relative;
	top: 2px;
	left: 0.25em;

	float: right;

	content: "\f0a9";
}

/* Proper color for indicators */
#main_menu .listlevel2.subsections .linklevel2:after:hover,
#main_menu .listlevel2.subsections:hover .linklevel2 strong,
#main_menu .listlevel3:hover .linklevel3 strong,
#main_menu .listlevel3.subsections:hover .linklevel3 strong {
	color: #FFFFFF;
}

#menu_sidebar .subsections .linklevel1:after,
#menu_sidebar .subsections:hover .linklevel1:after {
	font-size: 1.286em;

	position: absolute;
	top: 0;
	right: 16px;

	content: "\2192";

	color: #777777;
}

/* Levels 2 and 3: highlighting of current section */
#main_menu .linklevel2.chosen, #main_menu .linklevel3.chosen,
#menu_current_area .linklevel1 {
	font-weight: 700;
}

/* Styles for sidebar menus.
------------------------------------------------------- */
/* Cancel default backgrounds for sidebar. */
#menu_sidebar .linklevel1 {
	color: #555555;
	border: 1px solid transparent;
	background: none;
	box-shadow: none;
}

/* End sidebar flyout coding. */

/*	$MENUS		*/
/* ------------------------------------------------------- */
/* General styling, basically any menu thats not the top menu. */
.linklevel1, .linklevel1:link, .linklevel1:visited {
	color: #555555;
	border: 1px solid transparent;
}

/* Level 1 button hover and focus effects. */
.linklevel1:hover, .listlevel1:hover .linklevel1,
.linklevel2:hover, .listlevel2:hover .linklevel2,
.linklevel3:hover, .listlevel3:hover .linklevel3 {
	text-decoration: none;

	color: #555555;
	border: 1px solid transparent;
	border-top: 1px solid #AFAFAF;
	border-left: 1px solid #AFAFAF;
	background: #F0F0F0;
	box-shadow: 2px 1px 1px rgba(0, 0, 0, 0.07) inset;
}

.poster .linklevel1:hover, .poster .listlevel1:hover .linklevel1 {
	border: none;
	background: inherit;
	box-shadow: none;
}

.poster li.poster_online:hover .linklevel1 {
	color: #555555;
	border: 1px solid #CCCCCC;
	border-top: 1px solid #AFAFAF;
	border-left: 1px solid #AFAFAF;
	background: #F0F0F0;
	box-shadow: 2px 1px 1px rgba(0, 0, 0, 0.07) inset;
}

.poster li.poster_online .nolink {
	line-height: 2em;

	position: relative;

	display: block;

	margin: 3px 1.5em;

	color: #566E4B;
	border: 1px solid #AFAFAF;
	border-top: 1px solid #CFCFCF;
	border-left: 1px solid #BFBFBF;
	background: #F4F4F4 linear-gradient(to bottom, #FFFFFF, #E4E4E4);
	box-shadow: 1px 1px 2px #E5E5E5;
}

.poster li.poster_online .nolink img {
	vertical-align: middle;
}

.poster li.subsections.listlevel1:hover .linklevel1 {
	border: none;
	background: transparent;
	box-shadow: none;
}

/* Level 1 active buttons. */
.linklevel1.active, .listlevel1:hover .active {
	color: #FFFFFF;
	background: #808C9B;
	box-shadow: 1px 1px 2px #BBBBBB;
}

/* Hover effects for those buttons. */
.linklevel1.active:hover, .listlevel1:hover .linklevel1.active,
.linklevel1:hover .pm_indicator {
	color: #555555;
	background: #DDE0E3 linear-gradient(to bottom, #DDE0E3, #EFF0F3);
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3) inset;
}

/* Corrections for other menus. */
.quickbuttons .subsections:hover .linklevel1:after {
	font-size: 1em;

	top: 1.9em;
}

.subsections:hover .name.linklevel1:after {
	font-size: 1em;

	top: 1.6em;

	color: #111111;
}

.poster2 .subsections:hover .name.linklevel1:after {
	top: 1em;
}

/* Do one override here for .poster. Still saves code all round. */
.poster_avatar .linklevel1, .poster_avatar:hover .linklevel1,
.poster_avatar .linklevel1:focus,
.name.linklevel1, .name.linklevel1:hover, .name.linklevel1:focus {
	color: #DDE0E3;
	border: none;
	background: transparent;
	box-shadow: none;
}

.poster {
	position: relative;

	width: 100%;
}

.poster_noavatar {
	font-size: 1em;

	display: block;
	float: left;

	min-width: 0;
	margin: 0;

	border-bottom: 1px solid #CCCCCC;
}

.poster_noavatar > a {
	text-decoration: none;
}

.poster_avatar {
	margin-bottom: 5px;
}

.poster_area_avatar,
.poster_avatar img,
.poster_area_avatar > .avatar.avatarresize {
	display: inline-block;

	max-width: 120px;
	max-height: 120px;
}

.poster .membergroup {
	margin: 0 -12px;
	padding: 3px 0;
}

.poster .name,
.poster .membergroup,
.poster .icons {
	font-size: 1em;

	margin: 0;
}
.postcount {
	cursor: pointer;
}

.billboard {
	float: left;
	overflow: auto;

	box-sizing: border-box;
	width: 33%;
	padding-top: 2px;

	text-align: center;
}

.name.linklevel1:hover {
	text-decoration: underline;

	background-color: #F0F0F0;
}

/* Levels 2 and 3: drop menu wrapper. */
.menulevel2, .menulevel3 {
	border: 1px solid #AFAFAF;
	border-top: 1px solid #CFCFCF;
	border-left: 1px solid #BFBFBF;
	border-radius: 0;
	background: #FFFFFF;
	box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

.poster .pm_indicator {
	font-size: 1em;
}

#dropdown_menu_1 .pm_indicator {
	margin-top: 5px;
	margin-right: 2px;
}

/* Levels 2 and 3 drop menus: link or button. */
.linklevel2:link, .linklevel2:visited, .linklevel3:link, .linklevel3:visited {
	color: #666666;
	border: 1px solid transparent;
}

/* Admin menu icons. */
.linklevel2 > img {
	margin: 0 0 0 -4px;

	vertical-align: middle;
}

/* Levels 2 and 3: highlighting of current section */
.linklevel2.chosen, .linklevel3.chosen, #menu_current_area .linklevel1 {
	font-weight: 700;
}

/*	$BOARDICONS	*/
/* ------------------------------------------------------- */
.board_icon {
	font-family: "FontAwesome";

	display: block;
	float: left;

	width: 48px;
	height: 48px;
}

.board_icon:before {
	font-size: 2.7em;

	position: relative;
	top: 0;
}

.on_board:before {
	content: "\f086";

	color: #4993C5;
}

.off_board:before {
	content: "\f0e6";

	color: #AAAAAA;
}

.redirect_board:before {
	content: "\f0c1";

	color: #6BA65E;
}

.on2_board:before {
	content: "\f27b";

	color: #4993C5;
}

.board_key:before {
	font-family: "FontAwesome";

	display: block;
	float: left;

	width: 24px;
	height: 24px;

	content: "";
}

.new_some_board:before {
	content: "\f086";

	color: #4993C5;
}

.new_none_board:before {
	content: "\f0e6";

	color: #AAAAAA;
}

.new_redirect_board:before {
	content: "\f0c1";

	color: #6BA65E;
}

/*	$LINKTREE	*/
/* ------------------------------------------------------- */
/* The navigation list (i.e. linktree) */
/* Wrapper/background. */
.navigate_section {
	border: 1px solid #CCCCCC;
	border-radius: 4px;
	background: #FCFCFC;
	box-shadow: 1px 2px 3px #EEEEEE;
}

/* Color for linktree items. */
.linktree a {
	color: #555555;
}

.linktree:hover a, .linktree > a:hover,
.linktree:last-child, .linktree:last-child > a,
.linktree:last-child > a:hover, .linktree:last-child strong {
	text-decoration: none;
}

.linktree:hover, .linktree:last-child {
	background: #DDE0E3;
}

.linktree:last-child {
	font-weight: bold;
}

.linktree:hover,
.linktree a:hover,
.linktree:hover span a {
	color: #F0F0F0;
	background: #838E9D;
}

.linktree:hover:after, .linktree:nth-last-of-type(2):hover:after {
	border-color: transparent transparent transparent #838E9D;
}

.linktree:after {
	border-color: transparent transparent transparent #DDE0E3;
}

.linktree:nth-last-of-type(2):after {
	border-color: transparent transparent transparent #FCFCFC;
}

/* $BUTTONS	*/
/* This section contains code for the quick buttons (quote, quick edit, etc)
/* and for the button list class (reply, add poll, notify, etc).
/* These classes share some styling.
/* Declarations are amalgamated where styling is shared.
/* ------------------------------------------------------- */
/* Styles for the standard button lists.
/* ------------------------------------------------------- */
/* @todo - Save code by amalgamating common button background declarations. */
.buttonlist li {
	text-transform: uppercase;

	color: #555555;
	border: 1px solid #AFAFAF;
	border-top: 1px solid #CFCFCF;
	border-left: 1px solid #BFBFBF;
	border-radius: 0;
	background: #F4F4F4 linear-gradient(to bottom, #FFFFFF, #E4E4E4);
	box-shadow: 1px 1px 2px #E5E5E5, 0 -1px 0 #E4E4E4 inset;
}

/* The active one */
.buttonlist li a.active {
	color: #FFFFFF;
	background: #838E9D;
	box-shadow: 1px 1px 2px #DDE0E3, 0 -1px 0 #838E9D inset;
}

/* The quick buttons. */
/* ------------------------------------------------------- */
.quickbuttons .modified {
	color: #666666;
}

/* Cancel generic border-radius. */
.quickbuttons .linklevel1 {
	margin: 0;

	color: #555555;
	border: 1px solid #AFAFAF;
	border-top: 1px solid #CFCFCF;
	border-left: 1px solid #BFBFBF;
	border-radius: 0;
	background: #F4F4F4 linear-gradient(to bottom, #FFFFFF, #E4E4E4);
	box-shadow: 1px 1px 2px #E5E5E5, 0 -1px 0 #E4E4E4 inset;
}

.quickbuttons .linklevel1:hover {
	border: 1px solid #AFAFAF;
	box-shadow: 2px 1px 1px rgba(0, 0, 0, 0.07) inset;
}

/* Radius left end of the first (Quote) button. */
.linklevel1.quote_button {
	border-radius: 0;
}

/* Radius right end of the last button. */
.linklevel1.post_options, .linklevel1.remove_button {
	border-radius: 0;
}

/* Single buttons get all corners rounded. */
.follow_ups .linklevel1, #topic_summary .linklevel1 {
	border-radius: 0;
}

/*	$PAGELINKS	*/
/* ------------------------------------------------------- */
.selectbox, .pagelinks {
	color: #555555;
}

.pagelinks .navPages {
	color: #555555;
	border: 1px solid #AFAFAF;
	border-top: 1px solid #BBBBBB;
	background-image: linear-gradient(to bottom, #FCFCFC 0%, #E5E5E5 100%);
}

.pagelinks .navPages:hover, .pagelinks .current_page {
	text-decoration: none;
	/* @todo - Simplify. */

	color: #555555;
	border: 1px solid #CCCCCC;
	border-top: 1px solid #AFAFAF;
	border-left: 1px solid #AFAFAF;
	background: #F0F0F0;
	box-shadow: 2px 1px 1px rgba(0, 0, 0, 0.07) inset;
}

.pagelinks :first-child {
	border-radius: 0;
}

.pagelinks :last-child {
	border-radius: 0;
}

/* our buddies &laquo; &raquo; */
.small_pagelinks {
	margin-left: 1em;
}

.small_pagelinks li a.navPages {
	line-height: 1.5em;

	margin: 2px 2px 0;
	padding: 0 4px;

	border: 1px solid rgb(204, 204, 204);
}

/* Skip navigation link. */
#top {
	border: 4px solid #313131;
	border-radius: 0;
	background: #FFFFFF;
}

/*	$TABLES		*/
/* ------------------------------------------------------- */

/* @todo */
/* A general table class. */
.table_grid {
	border: 1px solid #DDDDDD;
	border-top: none;
}

.table_head > th {
	color: #555555;
	border-top: 2px solid #DDDDDD;
	border-bottom: 2px solid #DDDDDD;
	background: #FFFFFF;
}

/* Basic cells. */
.table_grid td, .letterspacing {
	border-bottom: 1px solid #CCCCCC;
}

/* Subtle zebra striping for rows. */
.table_grid .standard_row:nth-child(even) {
	background: #FAFAFA;
}

.table_grid .standard_row {
	background: #FFFFFF;
}

/* Legacy highlight color, for selected membergroups etc. */
/* Used by JS to show a selected item. Still used in manage languages */
.table_grid .standard_row.highlight2 {
	color: #555555;
	background: #D1E1EF;
}

/* For Errors.template.php. */
/* ------------------------------------------------------- */
#errorfile_table .current {
	border: 1px solid #444444;
	background: #FFF5CD;
}

/*	$BOARDS		*/
/* ------------------------------------------------------- */
/* Set up some general framing classes. @todo */
/*    .forum_category for board index/sub-boards. */
/*    .forumposts for thread pages and recent posts, etc. */
/*    .content_category for general divisions around the place. */
/* All styled the same in default variant, but available for fun and games. */

/* The board categories and newsfader - some shared styling. */
.forum_category, .forumposts, .content_category {
	border-radius: 0;
	background: #DEEDDA;
	box-shadow: 1px 2px 3px #EEEEEE;
}

.topic_icons .fred {
	position: relative;
	top: -8px;
	left: -4px;

	padding: 0;
}

/* @todo - Clean this up, once new classes are assigned to old windowbg stuffz. */
.board_row, .childboard_row, .forumposts > div, .forumposts > li,
.content_category > div, .content_category > li {
	border: 1px solid #CFCFCF;
	background: #FFFFFF;
}

.forumposts .content, .forumposts .windowbg, .forumposts .windowbg2 {
	margin-top: 2px;
}

.board_row.parent_board {
	border-bottom: none;
}

.childboard_row {
	border-top: none;
}

.board_latest {
	border-left: 1px solid #CCCCCC;
}

.board_name > a {
	color: #4993C5;
}

.board_stats {
	color: #555555;
}

.lastpost_link > a {
	color: #377828;
}

.board_latest strong {
	color: #555555;
}

.childboards {
	border-top: 1px solid #CCCCCC;
}

.childboard_row h4, .board_new_posts {
	font-weight: 700;

	color: #555555;
}

/* Styles for the info center on the board index. */
.ic_section_header {
	border-bottom: 1px solid #DDDDDD;
}

.ic_section_header > a {
	color: #333333;
}

#ic_recentposts li, #ps_recentposts li, #ps_recenttopics li {
	border-top: 1px solid #DDDDDD;
}

#ic_recentposts li:first-child {
	border-top: none;
}

.ic_recent .ic_recent_avatar {
	margin: 4px 0;
}

.ic_recent_avatar, .ic_recent_avatar > img {
	float: left;

	width: 30px;
	height: 30px;
}

.ic_recent > div {
	margin: auto 0 auto 34px;
}

.recentpost > strong > a, .inline > strong > a {
	color: #46823C;
}

#expanded_pages_container a {
	background: #FFFFFF;
}

/* The board description and who-is-viewing stuff. */
#description_board {
	border: none;
	background: #E4E4E4;
	box-shadow: none;
}

#description_board h2:before {
	font-family: "FontAwesome";
	font-size: 1.1em;

	padding-right: 0.5em;

	content: "\f07b";
}


#description_board .generalinfo, #forumposts .generalinfo {
	border: 1px solid #DDDDDD;
	border-bottom: 1px solid #CCCCCC;
	background: #FFFFFF;
}

#description_board .generalinfo {
	border: none;
}

.topic_listing {
	background: #E4E4E4;
	box-shadow: 1px 2px 4px #EEEEEE;
}

.topic_listing > li {
	border: 1px solid #DDDDDD;
	border-bottom: 1px solid #CCCCCC;
}

.basic_row:nth-child(odd) {
	background: #FAFAFA;
}

.basic_row:nth-child(even) {
	background: #FFFFFF;
}

.topic_sorting_row {
	background: transparent;
}

#sort_by {
	border: 2px solid #D1D1D1;
	border-bottom: none;
	border-radius: 8px 8px 0 0;
}

#sort_by.topic_sorting_recent {
	border: 1px solid #D1D1D1;
	border-bottom: none;
}

.sort_by_container {
	border: 1px solid #CCCCCC;
	border-radius: 0;
}

.topic_name h4 a {
	color: #555555;
}

.sticky_row .topic_name h4 a, .locked_row.sticky_row .topic_name h4 a {
	color: #555555;
}

.locked_row .topic_name h4 a {
	color: #555555;
}

.sticky_row .topic_name h4 a.new_posts, .locked_row.sticky_row .topic_name h4 a.new_posts, .locked_row .topic_name h4 a.new_posts {
	color: #FFFFFF;
}

.topic_stats {
	color: #666666;
}

.qaction_row {
	background: #FFFFFF;
}

.approvetopic_row, .approve_row {
	background: #FFF5CD;
}

.sticky_row, .locked_row.sticky_row {
	background: #FFFFE0;
}

.locked_row, .locked_row.core_posts {
	background: #F7F7F7;
}

#topic_icons {
	border: 1px solid #DDDDDD;
	border-radius: 0;
}

.jump_to_header {
	color: #566450;
	background: #EBEBEB linear-gradient(to bottom, #FAFAFA, #EAEAEA);
	box-shadow: 2px 1px rgba(1, 1, 1, 0.07) inset;
}

.jump_to_header:hover {
	color: #555555;
	background: #F0F0F0;
}

/*	$TOPICS		*/
/* ------------------------------------------------------- */

/* The display template (topic view).
/* Poll vote options */
#poll_options .options {
	border-top: 1px solid #9999AA;
}

/* Poll results */
#poll_options .options .percentage {
	background: #FFFFFF;
}

/* On to the posts */
.forumposts {
	border-radius: 0;
	background: #E2E2E2;
	box-shadow: 1px 2px 4px #EEEEEE;
}

/* Poster and postarea + moderation area underneath */
.forumposts, .forumposts .windowbg, .forumposts .windowbg2,
.forumposts .approvebg, .forumposts .approvebg2, .core_posts {
	border: 1px solid #DDDDDD;
	border-bottom: 1px solid #CCCCCC;
	background: #FFFFFF;
}

.poster_container {
	padding: 0.25em;

	border: 1px solid #F0F0F0;
	box-shadow: 0 1px 4px #EEEEEE;
}

/* Stripping for the posts */
.post_wrapper:nth-of-type(odd) {
	background: #FAFAFA;
}

.post_wrapper:nth-of-type(even) {
	background: #FFFFFF;
}

/* Colors for background of posts requiring approval */
.forumposts .approvebg, .forumposts .approvebg2 {
	background: #FFF5CD;
}

.poster .name {
	font-size: 1.143em;

	color: #46823C;
	border-bottom: 1px solid #CCCCCC;
}

/* Drop menu for the poster info. */
.poster .listlevel1.sfhover .menulevel2, .poster .listlevel1:hover .menulevel2 {
	width: 100%;

	background: #FFFFFF;
}



.poster .listlevel2 {
	width: 100%;

	background: #FFFFFF;
}

.poster.billboard {
	margin-top: 5px;
}

.report_seperator {
	max-width: 14em;

	border-bottom: 1px solid #EEEEEE;
	background: #BBBBBB;
}

/* @todo - Save code by amalgamating common button background declarations. */
.poster_online .linklevel1 {
	border: 1px solid #AFAFAF;
	border-top: 1px solid #CFCFCF;
	border-left: 1px solid #BFBFBF;
	border-radius: 0;
	background: #F4F4F4 linear-gradient(to bottom, #FCFCFC 0%, #E5E5E5 100%);
	box-shadow: 1px 1px 2px #EEEEEE;
}

.poster_online .linklevel1:hover {
	text-decoration: none;

	border: 1px solid #CCCCCC;
	border-top: 1px solid #AAAAAA;
	border-left: 1px solid #BBBBBB;
	background: #F0F0F0;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.07) inset;
}

.post_subject {
	color: #555555;
}

/* @todo - Move strong tag outside anchor. Will save css. */
.keyinfo h5 a, .keyinfo h5 a strong {
	color: #46823C;
}

.inner {
	border-top: 1px solid #BFBFBF;
}

/* All the signatures used in the forum. */
.signature, .attachments, .custom_fields_above_signature {
	border-top: 1px solid #BFBFBF;
}

/* Used by video embed JS when autolinking video links */
.elk_video {
	border: #27A348 1px solid;
	border-top: 0;
}

.elk_videoheader {
	border: #27A348 1px solid;
}

.requiredfield:before {
	content: " ";

	border: 10px solid transparent;
	border-bottom-color: #437837;
}

.requiredfield {
	color: #FFFFFF;
	border: 1px solid #2D5024;
	border-right-color: #5AA049;
	border-bottom-color: #5AA049;
	background: #437837;
}

/*	$EDITOR		*/
/* ------------------------------------------------------- */

/* The main post editor section. */
#preview_body {
	border: 1px solid #DDDDDD;
	border-bottom: 1px solid #CCCCCC;
	background: #FFFFFF;
}

#postAdditionalOptionsHeader, #postDraftOptionsHeader {
	border-radius: 5px 5px 0 0;
}

#postAdditionalOptions, #postDraftOptions {
	border: 1px solid #CCCCCC;
	border-top: none;
	border-radius: 0;
	background: #FDFDFD;
}

#postAdditionalOptionsNC {
	border: 1px solid #CCCCCC;
	border-radius: 0;
	background: #FDFDFD;
}

.drop_area {
	color: #444444;
	border: solid 1px #CCCCCC;
	background-color: rgb(230, 230, 230);
}

.statusbar {
	border-top: 1px solid #A9CCD1;
	border-bottom: 1px solid #A9CCD1;
	background: rgb(241, 241, 241);
}

.progressBar {
	border: 1px solid #DDDDDD;
}

.progressBar div {
	color: #FFFFFF;
	background-color: green;
}

.drop_attachments_error {
	color: #FF0000;
}

#postMoreOptions, #postAttachment, #postAttachment2 {
	border-top: 1px solid #CCCCCC;
}

#postDraftOptions .settings dd, #postDraftOptions .settings dt {
	border-top: 1px solid #E4E4E4;
}

/*	$MODERATE	*/
/* ------------------------------------------------------- */

.split_messages .post {
	border-top: 1px solid #FFFFFF;
}

/* -------------------------------------------------------
 * $TABS
 * -------------------------------------------------------
 */

.ui-tabs .ui-tabs-panel {
	border-color: #DDDDDD;
	border-top-color: #CCCCCC;
	background: #FFFFFF none repeat scroll 0 0;
}

.ui-tabs .ui-tabs-nav li {
	color: #FFFFFF;
	border: 1px #CCCCCC solid;
	border-radius: 0;
}

.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
	border-bottom-color: #CCCCCC;
	border-radius: 0;
	outline: none;
	background: #F0F0F0;
}

.ui-tabs .ui-tabs-nav .ui-state-default .ui-tabs-anchor {
	background: linear-gradient(to bottom, #FFFFFF, #E4E4E4) repeat scroll 0 0 #F4F4F4;
}

.ui-tabs .ui-tabs-nav .ui-state-active .ui-tabs-anchor,
.ui-tabs .ui-tabs-nav .ui-state-active {
	font-weight: bold;

	color: #FFFFFF;
	border-radius: 0;
	background: #808C9B;
	box-shadow: 1px 1px 2px #BBBBBB;
}

.ui-tabs .ui-tabs-nav li.ui-state-hover .ui-tabs-anchor {
	background: linear-gradient(to bottom, #E4E4E4, #FFFFFF) repeat scroll 0 0 #F4F4F4;
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.3) inset;
}

li.ui-tab.ui-tabs-active.ui-state-active.ui-state-hover,
li.ui-tab.ui-tabs-active.ui-state-active.ui-state-hover .ui-tabs-anchor {
	background: #9FBFDF;
	background: linear-gradient(to bottom, #9FBFDF, #EBECEF);
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3) inset;
}

/* -------------------------------------------------------
 * $PROFILE
 * -------------------------------------------------------
 */

/* Profile colors */

.ui-tabs .ui-tabs-panel {
	border: 1px solid #DDDDDD;
	border-top: 1px #CCCCCC solid;
	background: none repeat scroll 0 0 #FFFFFF;
}

#profilecenter, #profile_attachments, #unwatched_topics {
	border: 1px solid #CCCCCC;
	border-radius: 0;
	background: #EFEFEF;
	box-shadow: 0 -2px 2px rgba(0, 0, 0, 0.1);
}

#profilecenter .content, #profilecenter .windowbg, #profilecenter .windowbg2,
#profile_attachments .windowbg, #profile_attachments .windowbg2,
#unwatched_topics .windowbg, #unwatched_topics .windowbg2 {
	border: none;
	background: #FFFFFF;
}

.profileblock {
	background: none repeat scroll 0 0 #FFFFFF;
}

.profileblock ul li:not(:first-child):before {
	content: "\20\7C\20";
}

#detailedinfo dt, #tracking dt, .profileblock dt {
	color: #555555;
}

.activity_stats li span {
	border: 1px solid #555555;
	border-right-style: none;
	border-left-style: none;
	background: #EEEEEE;
}

.activity_stats li .bar {
	border: 1px solid #CCCCCC;
	border-bottom: none;
	background: #FFFFFF;
}

.activity_stats li .bar div {
	background: #808C9B linear-gradient(to bottom, #363D47 0%, #808C9B 100%);
}

.topic_details {
	border-bottom: 1px solid #999999;
}

.ignoreboards a {
	border-bottom: 1px solid #C4C4C4;
}

.ignoreboards a:hover {
	text-decoration: none;

	border-bottom: 1px solid #555555;
}

.vcard, .profile_attachment {
	border: 1px solid #CCCCCC;
	border-radius: 0;
}

.attachment_title {
	border-bottom: 1px solid #CCCCCC;
}

#warndiv .ui-widget-header {
	background: transparent;
}

#warndiv .watched .ui-widget-header {
	background: green;
}

#warndiv .moderated .ui-widget-header {
	background: orange;
}

#warndiv .muted .ui-widget-header {
	background: red;
}

#creator dt strong {
	color: #585858;
}

/* -------------------------------------------------------
 * $PERSONAL
 * -------------------------------------------------------
 */

#personal_messages .capacity_bar {
	border: 1px solid #ADADAD;
}

#personal_messages .capacity_bar span {
	border-right: 1px solid #ADADAD;
}

#personal_messages .capacity_bar .empty {
	background: #A6D69D;
}

#personal_messages .capacity_bar .filled {
	background: #EEA800;
}

#personal_messages .capacity_bar .full {
	background: #F10909;
}

.addrules dt.floatleft {
	color: #555555;
}

/* -------------------------------------------------------
 * $CALENDAR
 * -------------------------------------------------------
 */

/* Calendar colors for birthdays, events and holidays */
.birthday {
	color: #920AC4;
}

.event {
	color: #078907;
}

.holiday {
	color: #555080;
}

.calendar_table {
	border-top: 1px solid #DDDDDD;
	background: #DDDDDD;
}

.calendar_table th, .calendar_table td {
	background: #FFFFFF;
}

/* Used to indicate the current day. */
#main_grid .calendar_today, #month_grid .calendar_today {
	border: 1px solid #AAAAAA;
	background: #EBFFD8;
}

#main_grid .weeks {
	font-size: 1em;
	font-weight: normal;
}

#main_grid .weeks a:hover {
	text-decoration: none;
}

#main_grid .days {
	vertical-align: top;
}

.weeklist {
	background: #E4E4E4;
}

.weeklist > li {
	border: 1px solid #DDDDDD;
	background: #FFFFFF;
}

.weekdays {
	border-left: 2px solid #DDDDDD;
}

.weeklist h4 a:hover {
	text-decoration: none;
}

.modify_event {
	color: red;
}

.hidelink {
	font-style: italic;
}

/* Add a background that fits with the calendar. */
#calendar_navigation {
	border: 1px solid #DDDDDD;
	border-top: none;
}

/* -------------------------------------------------------
 *	$HELP
 * -------------------------------------------------------
 */

#helpmain {
	border: 1px solid #CCCCCC;
	border-radius: 0;
	box-shadow: 0 -2px 2px rgba(0, 0, 0, 0.1);
}

/* Styles for the tooltips. */
.tooltip {
	border: 1px solid #AAAAAA;
	border-radius: 0;
	background: #FFFFFF;
	box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
}

/* The darkened background for help pop-ups. */
.popup_container {
	/* Flat colour fallback will be bad (visually), ie8 only though. */
	background: rgb(0, 0, 0);
	background: rgba(0, 0, 0, 0.4);
}

/* The actual pop-up wrapper. */
.popup_window {
	border: 1px solid #777777;
	border-radius: 0;
	background-color: #FAFAFA;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.6);
}

/* The text content, hopefully helpful. */
.popup_content {
	border: 1px solid #BBBBBB;
	border-bottom: 1px solid #CCCCCC;
	border-radius: 0;
	background: #F5F5F5;
	box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.15);
}

/* -------------------------------------------------------
 *	$SEARCH
 * -------------------------------------------------------
 */

#mlsearch_options {
	border: 1px solid #DDDDDD;
	border-radius: 0;
	background: #FAFAFA;
}

.search_results_posts {
	background: #FFFFFF;
}

.search_results_posts .topic_body {
	border-top: 1px solid #CCCCCC;
	box-shadow: 0 1px 0 #FFFFFF inset;
}

.search_results_posts > li {
	border-bottom: 4px solid #DDDDDD;
}

/* -------------------------------------------------------
 *	$MEMBERLIST
 * -------------------------------------------------------
 */

.mlist .mlist_header div {
	border-top: none;
}

.mlist li div, .whos_online dt div, .whos_online dd:nth-child(odd) div {
	border-top: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	background-color: #FFFFFF;
}

.mlist li.alternate_row div, .whos_online dd:nth-child(even) div {
	border-top: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	background-color: #FAFAFA;
}

.mlist li div:first-child {
	border-left: 1px solid #CCCCCC;
}

/* this is the avatar */
.mlist li div:first-child > a {
	display: inline-block;

	width: 3.4em;
	height: 3.4em;
}

.mlist li div:last-child {
	border-right: 1px solid #CCCCCC;
}

.letter_row > h3 {
	border: 1px solid #CCCCCC;
	border-radius: 0;
}

/* -------------------------------------------------------
 *	$LOGIN
 * -------------------------------------------------------
 */

.coppa_contact {
	color: #555555;
	border: 1px solid #555555;
	background: #FFFFFF;
}

.valid_input {
	background: #F5FFF0;
}

.invalid_input {
	background: #FFF0F0;
}

/* -------------------------------------------------------
 *	$BOXES
 * -------------------------------------------------------
 */

/* Lotsa boxes. */
.description, .information, .warningbox, .successbox, .infobox, .errorbox {
	border: 1px solid #CCCCCC;
	background: #FFFFFF;
}

/* Information boxes. */
.information {
	background: #F0F6F0;
}

.warningbox {
	border-top: 1px solid #FFD324;
	border-bottom: 1px solid #FFD324;
	background: #FFF6CA url(../../images/profile/warning_moderate.png) 10px 50% no-repeat;
}

.successbox {
	border-top: 1px solid green;
	border-bottom: 1px solid green;
	background: #EEFFEE url(../../images/icons/field_valid.png) 10px 50% no-repeat;
}

.infobox {
	border-top: 1px solid #3A87AD;
	border-bottom: 1px solid #3A87AD;
	background: #D9EDF7 url(../../images/icons/quick_sticky.png) 10px 50% no-repeat;
}

.errorbox {
	border-top: 2px solid #CC3344;
	border-bottom: 2px solid #CC3344;
	background: #FFEEEE url(../../images/profile/warning_mute.png) 10px 50% no-repeat;
}

.warningtext {
	color: #FFF6CA;
}

.successtext {
	color: green;
}

.infotext {
	color: #D9EDF7;
}

.errortext {
	color: #FFEEEE;
}

.stdtext {
	color: #555555;
}

/* -------------------------------------------------------
 *	$PROGRESS
 * -------------------------------------------------------
 */
/* Styles for the progress bar */
.progress_bar {
	border: 1px solid black;
	border-radius: 0;
	background: white;
	box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

.progress_bar .full_bar {
	color: black;
	border-radius: 0;
}

.progress_bar .green_percent {
	background-color: green;
}

.progress_bar .blue_percent {
	background-color: blue;
}

/* -------------------------------------------------------
 * $STATISTICS
 * -------------------------------------------------------
 */
.statistics .category_header {
	border: none;
	border-bottom: 2px solid #CCCCCC;
	background: none;
	text-shadow: none;
}

.statistics .flow_hidden, #forum_history .flow_hidden {
	border: 1px solid #DDDDDD;
	background: #FEFEFE;
}

.stats.floatleft {
	border-right: 1px solid #CCCCCC;
}

#top_row .stats dd, .statsbar {
	border: 1px solid #AAAAAA;
	background: #FFFFFF;
}

/* Methinks topic links, etc need a little more oomph next to the orange bars. */
#top_row .stats dd {
	border: 1px solid transparent;
	background: none;
}

.statsbar .bar {
	background: #47B263 linear-gradient(to bottom, #6F8CA5 0%, #9FBFDF 100%);
}

/* Absolute positioning stops these breaking the bars on narrow screens. */
.statsbar .righttext {
	background: #FFFFFF;
}

#stats {
	border: none;
}

#recentposts .inner blockquote {
	overflow: hidden;

	height: 5em;
}

/* floating error box currently used by like functionality */
.floating_error {
	font-size: 15px;

	color: #404040;
	border: solid 1px #E4E4E4;
	border-radius: 0;
	background: #FFFFFF;
	background: rgba(255, 255, 255, 1);
}

.floating_error .error_heading {
	font-weight: bold;
}

.floating_error .error_msg {
	color: #3D3C3C;
}

.floating_error .error_btn {
	font-size: 16px;
	font-weight: bold;

	color: #157DFB;
	border-top: solid 1px #D6D6D6;
}

.floating_error .error_btn:hover {
	cursor: pointer;
}

/* Panel Tab/button */
.paneltab {
	position: absolute;
	z-index: 1;
	right: 120px;

	padding: 0 10px;

	text-align: center;
	white-space: nowrap;

	border: 2px solid #CCCCCC;
	border-top: none;
	border-radius: 0;
	background: #4A4E51;
}

.paneltab a:hover {
	color: #222222;;
}

.paneltab a.open, .paneltab a.close {
	display: block;

	width: 100px;

	cursor: pointer;

	color: #F0F0F0;
}

/* sliding panel */
#toppanel {
	position: absolute;
	z-index: 999;
	top: 0;

	width: 100%;
	margin-right: auto;
	margin-left: auto;

	text-align: center;
}

#panel {
	position: relative;
	z-index: 3;

	display: none;
	overflow: hidden;

	width: 100%;
	height: 130px;

	border: 2px solid #CCCCCC;
	background: #FAFAFA;
}

/* -------------------------------------------------------
 * $ICONS
 * -------------------------------------------------------
 */
.i-comments::before {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='%23555555' fill='%23FFFFFF' viewBox='0 0 36 32'%3E%3Cpath d='M15 0c8.284 0 15 5.435 15 12.14s-6.716 12.138-15 12.138c-.796 0-1.576-.05-2.34-.147C9.44 27.34 5.72 27.918 2 28v-.785c2.008-.98 3.625-2.765 3.625-4.804 0-.283-.022-.562-.063-.835C2.17 19.35 0 15.95 0 12.14 0 5.436 6.716 0 15 0zm16.125 27.21c0 1.747 1.135 3.277 2.875 4.117V32c-3.223-.072-6.18-.566-8.973-3.316-.66.083-1.337.126-2.027.126-2.983 0-5.732-.805-7.925-2.157 4.52-.016 8.79-1.464 12.026-4.084 1.633-1.32 2.92-2.87 3.827-4.607.96-1.84 1.45-3.8 1.45-5.825 0-.327-.015-.652-.04-.975C34.604 13.038 36 15.59 36 18.405c0 3.265-1.88 6.18-4.82 8.086-.036.236-.055.476-.055.72z'/%3E%3C/svg%3E");
}

.i-comments-blank::before {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='%23555555' fill='%23FFFFFF' viewBox='0 0 36 32'%3E%3Cpath d='M15 4c-1.583 0-3.112.248-4.543.738-1.34.46-2.535 1.107-3.547 1.926C5.034 8.182 4 10.127 4 12.138c0 1.125.315 2.217.935 3.247.646 1.073 1.622 2.056 2.82 2.842.952.624 1.593 1.623 1.762 2.748.028.187.05.375.068.564.085-.08.17-.16.254-.25.75-.75 1.77-1.17 2.82-1.17.16 0 .33.01.5.03.6.08 1.22.112 1.83.112 1.58 0 3.11-.248 4.54-.738 1.34-.46 2.535-1.11 3.547-1.928 1.88-1.516 2.91-3.46 2.91-5.47s-1.03-3.958-2.91-5.476c-1.01-.82-2.205-1.464-3.546-1.923C18.115 4.25 16.585 4 15 4zm0-4c8.284 0 15 5.435 15 12.14s-6.716 12.138-15 12.138c-.796 0-1.576-.05-2.34-.147C9.44 27.34 5.72 27.92 2 28v-.785c2.008-.98 3.625-2.765 3.625-4.804 0-.28-.022-.56-.063-.83C2.17 19.35 0 15.95 0 12.14 0 5.436 6.716 0 15 0zm16.125 27.21c0 1.747 1.135 3.277 2.875 4.117V32c-3.223-.072-6.18-.566-8.973-3.316-.66.083-1.337.126-2.027.126-2.983 0-5.732-.805-7.925-2.157 4.52-.016 8.79-1.464 12.026-4.084 1.64-1.32 2.92-2.87 3.83-4.61.96-1.84 1.45-3.8 1.45-5.83 0-.33-.01-.65-.04-.98 2.27 1.88 3.66 4.43 3.66 7.246 0 3.265-1.88 6.18-4.82 8.086-.03.24-.05.48-.05.72z'/%3E%3C/svg%3E");
}

.i-share::before {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='%23EEEEEE' stroke-width='.07em' fill='green' viewBox='0 0 32 32'%3E%3Cpath d='M27 22c-1.4 0-2.7.6-3.6 1.53L9.95 16.8c.04-.27.06-.53.06-.8s0-.53-.02-.8L23.4 8.5c.92.94 2.2 1.52 3.6 1.52 2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5c0 .27.02.54.06.8L8.6 12.52C7.67 11.6 6.4 11 5 11c-2.76 0-5 2.24-5 5s2.24 5 5 5c1.4 0 2.7-.58 3.6-1.52l13.46 6.73c-.04.3-.06.57-.06.8 0 2.8 2.24 5 5 5s5-2.2 5-5-2.24-5-5-5z'/%3E%3C/svg%3E");
}

.i-bell::before {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='%23555555' stroke-width='.07em' fill='%23FFFFFF' viewBox='0 0 32 32'%3E%3Cpath d='M32.047 25c0-9-8-7-8-14 0-.58-.056-1.076-.158-1.498-.53-3.532-2.88-6.366-5.93-7.23.023-.123.04-.25.04-.382C18 .85 17.1 0 16 0s-2 .85-2 1.89c0 .13.014.258.04.382-3.42.97-5.965 4.416-6.038 8.545L8 11c0 7-8 5-8 14 0 2.382 5.33 4.375 12.468 4.878C13.14 31.14 14.47 32 16 32s2.86-.86 3.532-2.122C26.67 29.375 32 27.383 32 25v-.02l.047.02zm-6.227 1.69c-1.695.453-3.692.778-5.837.96C19.805 25.604 18.09 24 16 24s-3.806 1.605-3.985 3.65c-2.144-.18-4.142-.507-5.837-.96-2.332-.62-3.447-1.317-3.855-1.69.408-.372 1.523-1.068 3.855-1.69 2.712-.725 6.2-1.123 9.82-1.123s7.11.398 9.82 1.122c2.332.62 3.447 1.314 3.855 1.69-.408.37-1.523 1.065-3.855 1.69z'/%3E%3C/svg%3E");
}

.i-envelope::before {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23CCCCCC' viewBox='0 0 32 32'%3E%3Cpath d='M32 12.68v14.178q0 1.18-.84 2.018t-2.017.84H2.857q-1.18 0-2.018-.84T0 26.858v-14.18q.786.876 1.804 1.555 6.464 4.393 8.875 6.16 1.013.75 1.65 1.17t1.69.858 1.96.44h.035q.91 0 1.963-.44t1.69-.852 1.65-1.17q3.037-2.196 8.894-6.16 1.02-.697 1.786-1.557zm0-5.25q0 1.41-.875 2.695t-2.18 2.196l-8.355 5.81q-.18.125-.76.545t-.967.68-.93.58-1.026.48-.894.163h-.036q-.41 0-.892-.16t-1.027-.483-.928-.58-.964-.68-.76-.545q-1.625-1.143-4.68-3.26T3.07 12.32q-1.11-.75-2.09-2.06t-.982-2.44q0-1.393.74-2.32t2.117-.93H29.14q1.162 0 2.01.84t.848 2.017z'/%3E%3C/svg%3E");
}

/*	$MEDIA		*/
/* Experimental media queries.
/* ------------------------------------------------------- */
/* NOTE:
/* When setting break points for media queries, don't set them in pixels.
/* Use em instead.
/* Why? Because the point of re-stacking/dropping content is to fit it all
/* in the available space. This is dependent not just on width in pixels,
/* but also on the user-selected text size that is set in the browser.
/*
/* If, for whatever reason (eyesight, pixel pitch, workstation arrangement, etc)
/* a user requires text 50% larger than theme default, then their screen is
/* effectively a lot smaller than its nominal resolution would indicate.
/* If the break points are set in em, suddenly the media queries become equally
/* responsive for all users, without any extra code being required.
/*
/* Testing em break points is just as easy as testing pixels,
/* and it will make more people happier. This is cool. :)
/*
/* Of course, having comments to map em to px for each query is a good idea too.

/* Smartphones (portrait & landscape) drop the stats (views/replys) and last post from the screen */

@media screen and (max-width: 64em) {
	#menu_nav {
		height: 45px;
	}

	#main_menu .menulevel2 {
		top: 43px;
	}

	#main_menu {
		line-height: 3.077em;
	}

	#main_menu .listlevel1 {
		line-height: 3.077em;
	}

	.listlevel1#button_profile .linklevel1 {
		min-width: 0.5em;
	}
}
/* This one does 800 screens at default font size. */
@media screen and (max-width: 50em) {
	#menu_sidebar {
		border: 1px solid #AAAAAA;
		border-radius: 0;
		background: #FFFFFF;
		box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
	}

	.indicator[data-icon]:before {
		color: #4993C5;
	}

	#main_menu .linklevel1 {
		margin-right: 2px;
	}

	#main_menu .linklevel1.active, #main_menu .linklevel1.active:hover {
		height: 40px;

		border: 1px solid transparent;
		background: transparent;
	}

	.mlist li div.posts {
		border-right: 1px solid #CCCCCC;
	}

	#news {
		overflow: unset;
	}
}

/* This one does up to 540 screens. */
@media screen and (max-width: 33.750em) {
	#gotop, #gobottom {
		border: 1px solid #222222;
	}

	#gobottom {
		border-radius: 0;
	}

	#gotop {
		border-radius: 0;
	}

	#gotop:hover, #gobottom:hover {
		text-decoration: none;

		opacity: 1;
		color: #444444;
	}

	.board_latest {
		border-left: 0;
	}

	.frame {
		border-radius: 0;
	}

	.board_lastpost {
		border-top: 1px solid #CCCCCC;
	}

	.topic_listing > li {
		border: 1px solid #AAAAAA;
		box-shadow: 3px 3px 6px #E5E5E5;
	}

	.poster:after, .posterarea:before {
		border-bottom: 1px solid #BFBFBF;
	}

	.poster_area_avatar, .poster_avatar img {
		height: 40px;
	}

	.poster_container {
		margin: 1.9em 0.5em 0 0;
		padding: 0.1em 0.1em 0 0;
	}

	.board_icon {
		height: auto;
		margin-top: -8px;
	}

	.forumposts .windowbg2 {
		background-color: #FAFAFA;
	}

	.forumposts, .forumposts .windowbg, .forumposts .windowbg2 {
		margin-top: 8px;

		border: 1px solid #BFBFBF;
		border-radius: 0;
		box-shadow: 3px 3px 6px #E5E5E5;
	}

	.forum_category, .forumposts, .content_category {
		border: none;
		background: #FFFFFF;
	}

	.listlevel2.subsections .linklevel2::after {
		content: "";
	}

	.stats.floatleft {
		border: none;
	}

	.subsections:hover .linklevel1:after {
		content: "";
	}

	.whos_online dd div {
		border-top: none !important;
		border-bottom: none !important;
	}

	.whos_online dd:nth-child(even), .whos_online dd:nth-child(odd) {
		margin-top: 1px;

		border-top: 1px solid #CCCCCC;
	}

	.online_member {
		font-size: 1.6em;
	}

	.track_ip {
		font-size: 0.7em;

		float: right;
	}

	.track_ip:before {
		content: "";
	}

	.track_ip:after {
		content: "";
	}
}

/* This one does up to 480 screens. */
@media screen and (max-width: 30em) {
	.mlist li .group {
		border-right: 1px solid #CCCCCC;
	}
}

/* This one does up to 320 screens. */
@media screen and (max-width: 20em) {
	#button_media {
		display: none;
	}
}
