/*
 * RadBR forum dark mode.
 * The saved preference is applied by public/radbr_dark_mode.js.
 */

#radbr_dark_mode_item {
	margin: 0 !important;
	vertical-align: top;
}

#radbr_dark_mode_toggle {
	display: block;
	width: 46px;
	height: 35px;
	margin: 0;
	padding: 0 0 2px;
	border: 0;
	border-right: 1px solid rgba(255, 255, 255, 0.06);
	border-left: 1px solid rgba(0, 0, 0, 0.35);
	background: rgba(0, 0, 0, 0.12);
	color: #d7e1e7;
	font: normal 22px/35px Arial, sans-serif;
	text-align: center;
	text-shadow: 0 1px 1px #000;
	cursor: pointer;
}

#radbr_dark_mode_toggle:hover,
#radbr_dark_mode_toggle:focus {
	background: #263d4c;
	color: #fff;
	outline: 0;
}

html.radbr-dark {
	color-scheme: dark;
	background: #08141d !important;
}

html.radbr-dark body#ipboard_body {
	background: #08141d !important;
	color: #d5e0e7 !important;
}

html.radbr-dark #content {
	background: #0f202c !important;
	color: #d5e0e7 !important;
	box-shadow: 0 5px 14px rgba(0, 0, 0, 0.42) !important;
}

html.radbr-dark a {
	color: #80b4d3;
}

html.radbr-dark a:hover {
	color: #b9dcf0;
}

html.radbr-dark #header_bar a,
html.radbr-dark #branding a,
html.radbr-dark .maintitle a {
	color: #fff;
}

html.radbr-dark #primary_nav a {
	color: #9bcae6;
}

html.radbr-dark #primary_nav .active a {
	color: #225985;
}

html.radbr-dark .ipsType_pagetitle,
html.radbr-dark .ipsType_pagetitle a,
html.radbr-dark .ipsType_subtitle,
html.radbr-dark .ipsType_sectiontitle,
html.radbr-dark .ipsType_textblock {
	color: #d5e0e7 !important;
}

html.radbr-dark .ipsType_sectiontitle {
	border-color: #2b4b5e !important;
}

html.radbr-dark .ipsType_pagedesc,
html.radbr-dark .desc,
html.radbr-dark .desc.blend_links a,
html.radbr-dark p.posted_info,
html.radbr-dark .desc.lighter,
html.radbr-dark .desc.lighter.blend_links a,
html.radbr-dark .lighter,
html.radbr-dark .forum_data,
html.radbr-dark .date {
	color: #8ea3b0 !important;
}

html.radbr-dark .ipsBox,
html.radbr-dark .ipsBox_container,
html.radbr-dark .general_box,
html.radbr-dark .bar,
html.radbr-dark .header,
html.radbr-dark .tab_bar,
html.radbr-dark .no_messages {
	background-color: #142a38 !important;
	color: #d5e0e7 !important;
	border-color: #2b4b5e !important;
}

html.radbr-dark .ipsBox_notice,
html.radbr-dark .ipsBox_highlight,
html.radbr-dark .ipsBox_container.moderated {
	background: #183244 !important;
	color: #d5e0e7 !important;
	border-color: #3d6479 !important;
}

html.radbr-dark .block_list > li,
html.radbr-dark table.ipb_table td,
html.radbr-dark table.ipb_table .preview td {
	border-color: #2b4b5e !important;
}

html.radbr-dark table.ipb_table tr,
html.radbr-dark table.ipb_table tr.row1,
html.radbr-dark table.ipb_table tr.row2,
html.radbr-dark table.ipb_table tr.unread,
html.radbr-dark table.ipb_table tr.highlighted {
	background: #132633 !important;
	color: #d5e0e7 !important;
}

html.radbr-dark table.ipb_table tr:nth-child(even),
html.radbr-dark table.ipb_table tr.row2 {
	background: #183244 !important;
}

html.radbr-dark table.ipb_table tr:hover {
	background: #1e3b4d !important;
}

html.radbr-dark table.ipb_table td {
	background: transparent !important;
}

html.radbr-dark table.ipb_table h4,
html.radbr-dark table.ipb_table .topic_title,
html.radbr-dark table.ipb_table strong {
	color: #c9d6df;
}

html.radbr-dark .row1,
html.radbr-dark .post_block.row1 {
	background-color: #132633 !important;
}

html.radbr-dark .row2,
html.radbr-dark .post_block.row2,
html.radbr-dark .altrow {
	background-color: #183244 !important;
}

html.radbr-dark .post_block,
html.radbr-dark .post_block.row1,
html.radbr-dark .post_block.row2 {
	background: #132633 !important;
	color: #d5e0e7 !important;
	border-color: #2b4b5e !important;
}

html.radbr-dark .post_block h3,
html.radbr-dark .post_body,
html.radbr-dark .author_info {
	background: #142a38 !important;
	color: #d5e0e7 !important;
}

html.radbr-dark .post_block h3 {
	border-bottom: 1px solid #2b4b5e;
}

html.radbr-dark .post_body .post,
html.radbr-dark .post_body .post.entry-content {
	color: #d5e0e7 !important;
}

html.radbr-dark .post_body .post.entry-content [style*="color:rgb(40,40,40)"],
html.radbr-dark .post_body .post.entry-content [style*="color: rgb(40, 40, 40)"],
html.radbr-dark .post_body .post.entry-content [style*="color:black"],
html.radbr-dark .post_body .post.entry-content [style*="color: black"] {
	color: #d5e0e7 !important;
}

html.radbr-dark .author_info .group_title,
html.radbr-dark .custom_fields,
html.radbr-dark .custom_fields .ft,
html.radbr-dark .author_info .ft {
	color: #8ea3b0 !important;
}

html.radbr-dark .signature {
	color: #8ea3b0 !important;
	border-color: #2b4b5e !important;
}

html.radbr-dark .post_ignore,
html.radbr-dark p.rep_highlight,
html.radbr-dark .ips_like {
	background: #183244 !important;
	color: #c9d6df !important;
	border-color: #2b4b5e !important;
}

html.radbr-dark .bbc_quote,
html.radbr-dark .bbc_code,
html.radbr-dark .citation,
html.radbr-dark blockquote {
	background: #0b1923 !important;
	color: #c9d6df !important;
	border-color: #3d6479 !important;
}

html.radbr-dark .ipsSideBlock {
	background: #142a38 !important;
	color: #d5e0e7 !important;
	border-color: #2b4b5e !important;
}

html.radbr-dark .ipsSideBlock h3 {
	background: #203d51 !important;
	color: #d5e0e7 !important;
}

html.radbr-dark .status_list li,
html.radbr-dark .status_main_content,
html.radbr-dark .status_mini_wrap,
html.radbr-dark .status_reply {
	background-color: transparent !important;
	color: #d5e0e7 !important;
}

html.radbr-dark #statusHook .radbr_dark_admin_link {
	color: #fff !important;
	opacity: 1 !important;
}

html.radbr-dark #statusHook .mod_links {
	opacity: 1 !important;
}

html.radbr-dark .ipsHeaderMenu,
html.radbr-dark .ipsMenu,
html.radbr-dark .ipsMenu ul,
html.radbr-dark .ipbmenu_content,
html.radbr-dark .popupInner,
html.radbr-dark #user_link_menucontent {
	background: #142a38 !important;
	color: #d5e0e7 !important;
	border-color: #2b4b5e !important;
}

html.radbr-dark .ipsHeaderMenu li,
html.radbr-dark .ipsMenu li,
html.radbr-dark .ipbmenu_content li,
html.radbr-dark #user_link_menucontent li {
	border-color: #2b4b5e !important;
}

html.radbr-dark .ipsHeaderMenu li:hover,
html.radbr-dark .ipsMenu li:hover,
html.radbr-dark .ipbmenu_content li.app:hover,
html.radbr-dark #user_link_menucontent li:hover {
	background: #1e3b4d !important;
}

html.radbr-dark .ipbmenu_content li.title {
	color: #c9d6df !important;
	border-bottom: 1px solid #2b4b5e !important;
}

html.radbr-dark .ipbmenu_content label,
html.radbr-dark .ipbmenu_content a {
	color: #d5e0e7 !important;
}

html.radbr-dark .ipbmenu_content .input_radio {
	accent-color: #80b4d3;
}

html.radbr-dark #search_wrap {
	background: #091722 !important;
	border-color: #2b4b5e !important;
}

html.radbr-dark #search_options {
	background: #203d51 !important;
	color: #d5e0e7 !important;
	box-shadow: inset 0 0 0 1px #3d6479;
	text-shadow: none;
}

html.radbr-dark #search_options:hover,
html.radbr-dark #search_options.menu_active {
	background: #2a5066 !important;
	color: #fff !important;
}

html.radbr-dark #search .submit_input {
	background-color: #2a5c78 !important;
	border-color: #3d6479 !important;
}

html.radbr-dark #search .submit_input:hover {
	background-color: #367496 !important;
}

html.radbr-dark #search_wrap #main_search,
html.radbr-dark input.input_text,
html.radbr-dark textarea.input_text,
html.radbr-dark textarea,
html.radbr-dark select {
	background: #091722 !important;
	color: #d5e0e7 !important;
	border-color: #3d6479 !important;
}

html.radbr-dark input.input_text::placeholder,
html.radbr-dark textarea::placeholder {
	color: #728b9b;
}

html.radbr-dark .ipsButton_secondary:not(.important),
html.radbr-dark .topic_buttons li:not(.important) a {
	background: linear-gradient(to bottom, #263b48 0%, #172732 100%) !important;
	color: #9fd0ec !important;
	border-color: #3d4d57 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 1px 2px rgba(0, 0, 0, 0.5) !important;
	text-shadow: 0 1px 1px #000 !important;
}

html.radbr-dark .ipsButton_secondary:not(.important):hover,
html.radbr-dark .topic_buttons li:not(.important) a:hover {
	background: #29475a !important;
	color: #d7edf9 !important;
}

html.radbr-dark .user_controls li a {
	border-color: #3d6479 !important;
}

html.radbr-dark [style*="color:black"],
html.radbr-dark [style*="color: black"],
html.radbr-dark [style*="color:#000;"],
html.radbr-dark [style*="color: #000;"],
html.radbr-dark [style*="color:rgb(0,0,0)"],
html.radbr-dark [style*="color: rgb(0, 0, 0)"] {
	color: #c9d6df !important;
}

html.radbr-dark [style*="color:rgb(139,69,19)"],
html.radbr-dark [style*="color: rgb(139, 69, 19)"],
html.radbr-dark [style*="color:#8b4513"],
html.radbr-dark [style*="color: #8b4513"] {
	color: #d8a46d !important;
}

html.radbr-dark [style*="color:rgb(138,43,226)"],
html.radbr-dark [style*="color: rgb(138, 43, 226)"],
html.radbr-dark [style*="color:#8a2be2"],
html.radbr-dark [style*="color: #8a2be2"] {
	color: #c996ff !important;
}

html.radbr-dark #radbr_dark_mode_toggle {
	background: #1f3c4e;
	color: #ffe08a;
}

html.radbr-dark #radbr_dark_mode_toggle:hover,
html.radbr-dark #radbr_dark_mode_toggle:focus {
	background: #2a5066;
	color: #fff2b8;
}
