/*
Theme Name: wbxpress
Theme URI: https://github.com/wbxpress
Author: WBXPress Team
Author URI: https://wbxpress.com
Description: A lightweight, minimalist WordPress theme
Tags: blog, one-column, custom-menu,
Version: 5.8
Requires at least: 5.4
Tested up to: 5.4
Requires PHP: 7.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wbxpress
*/

:root {
	--font-family: 'Fira Sans', sans-serif;
	--black: #1A202C;
	--white: #FFF;
	--blue: #3182CE;
	--grey-light: #EDF2F7;
	--grey-dark: #F5F5F5;
	--yellow: #FFFFE0;
	--yellow-dark: #E6DB55;
}

* {
	/* Reset margins and padding */
	margin: 0;
	padding: 0;
}

address,
area,
aside,
audio,
blockquote,
datalist,
details,
dl,
fieldset,
figure,
form,
input,
iframe,
img,
meter,
ol,
optgroup,
option,
output,
p,
pre,
progress,
ruby,
table,
textarea,
ul,
video {
	/* Margins for most elements */
	margin-bottom: 1rem;
}

html,input,select,button {
	/* Set body font family and some finicky elements */
	font-family: var(--font-family);
}

body {
	/* Center body in page */
	margin: 0 auto;
	max-width: 640px;
	padding: 0 1rem;
	overflow-x: hidden;
	word-break: break-word;
	overflow-wrap: break-word;
	font-size: 0.875rem;
	line-height: 1.75;
}

h1,h2,h3,h4,h5,h6 {
	line-height: 1.25;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

h1 {
	font-size: 1.375rem;
}

h2 {
	font-size: 1.25rem;
}

h3 {
	font-size: 1.125rem;
}

h4 {
	font-size: 1rem;
}

h5 {
	font-size: 0.875rem;
}

h6 {
	font-size: 0.75rem;
}

a {
	color: var(--blue);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

abbr:hover {
	/* Set the '?' cursor while hovering an abbreviation */
	cursor: help;
}

blockquote {
	padding: 0.5rem 1rem;
	margin: 1rem 0;
	background: var(--yellow);
	border: 1px solid var(--yellow-dark);
	border-left: 5px solid var(--blue);
}

abbr {
	cursor: help;
}

blockquote *:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
}

header {
	background: var(--black);
	text-align: center;
	margin: 0rem calc(0px - (50vw - 50%));
	padding: 1.5rem 1rem;
	padding-left: calc(50vw - 50%);
	padding-right: calc(50vw - 50%);
}

header h2 {
	margin-top: 0;
	margin-bottom: 0.5rem;
}

header h2 a {
    color: var(--white);
	text-decoration: none;
}

navigation a {
    color: var(--white);
	text-decoration: none;
}

main {
	padding: 2rem 0;
}

content-hero {
	display: table;
	width: 100%;
	text-align: center;
	background: var(--grey-light);
	padding: 1.5rem 1rem;
	margin: 0 calc(0px - (50vw - 50%));
	padding-left: calc(50vw - 50%);
	padding-right: calc(50vw - 50%);
}

login-prompt {
	display: table;
	width: 100%;
	text-align: center;
	background: var(--grey-dark);
	padding: 0.5rem;
	margin: 0 calc(0px - (50vw - 50%));
	padding-left: calc(50vw - 50%);
	padding-right: calc(50vw - 50%);
}

sidebar {
	display: table;
	width: 100%;
	background: var(--grey-light);
	padding: 1.5rem 1rem;
	margin: 0 calc(0px - (50vw - 50%));
	padding-left: calc(50vw - 50%);
	padding-right: calc(50vw - 50%);
}

sidebar ul {
	padding-left: 0;
	list-style-type: none;
}

sidebar a {
	color: var(--black)
}

.widget_nav_menu {
	width: 33.33%;
	float: left;
}

.crp_related {
	display: table;
	width: 100%;
	background: var(--grey-dark);
	padding: 1.5rem 1rem;
	margin: 0 calc(0px - (50vw - 50%));
	padding-left: calc(50vw - 50%);
	padding-right: calc(50vw - 50%);
}

footer {
	text-align: center;
	display: table;
	width: 100%;
	background: var(--black);
	color: var(--white);
	padding: 1rem;
	margin: 0 calc(0px - (50vw - 50%));
	padding-left: calc(50vw - 50%);
	padding-right: calc(50vw - 50%);
}

footer a {
    color: var(--white);
	text-decoration: none;
}

a button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
	font-size: 0.75rem;
	display: inline-block;
	padding: 6px 12px;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	background: var(--black);
	color: var(--white);
	border: 0;
	border-radius: 4px;
	box-sizing: border-box;
	cursor: pointer;
	color: var(--white);
}

a button[disabled],
button[disabled],
input[type="submit"][disabled],
input[type="reset"][disabled],
input[type="button"][disabled] {
	cursor: default;
	opacity: .5;

	/* Set the [X] cursor while hovering a disabled link */
	cursor: not-allowed;
}

.button:focus,
.button:hover,
button:focus,
button:hover,
input[type="submit"]:focus,
input[type="submit"]:hover,
input[type="reset"]:focus,
input[type="reset"]:hover,
input[type="button"]:focus,
input[type="button"]:hover {
	background: var(--blue);
}

code,
samp,
kbd,
pre {
	/* The main preformatted style. This is changed slightly across different cases. */
	background: var(--grey-light);
	padding: 3px 6px;
	font-size: 0.75rem;
}

pre {
	padding: 1rem 1.4rem;
	max-width: 100%;
	overflow: auto;
}

pre code {
	/* When <code> is in a <pre>, reset it's formatting to blend in */
	background: inherit;
	font-size: inherit;
	color: inherit;
	border: 0;
	padding: 0;
	margin: 0;
}

code pre {
	/* When <pre> is in a <code>, reset it's formatting to blend in */
	display: inline;
	background: inherit;
	font-size: inherit;
	color: inherit;
	border: 0;
	padding: 0;
	margin: 0;
}

details {
	/* Make the <details> look more "clickable" */
	padding: .6rem 1rem;
	background: var(--grey-light);
}

summary {
	/* Makes the <summary> look more like a "clickable" link with the pointer cursor */
	cursor: pointer;
	font-weight: bold;
}

details[open] {
	/* Adjust the <details> padding while open */
	padding-bottom: .75rem;
}

details[open] summary {
	/* Adjust the <details> padding while open */
	margin-bottom: 6px;
}

details[open]>*:last-child {
	/* Resets the bottom margin of the last element in the <details> while <details> is opened. This prevents double margins/paddings. */
	margin-bottom: 0;
}

dt {
	font-weight: bold;
}

dd::before {
	/* Add an arrow to data table definitions */
	content: '→ ';
}

hr {
	/* Reset the border of the <hr> separator, then set a better line */
	border: 0;
	border-bottom: 1px solid var(--grey-dark);
	margin: 1rem auto;
}

fieldset {
	margin-top: 1rem;
	padding: 2rem;
	border: 1px solid var(--grey-dark);
	border-radius: 4px;
}

legend {
	padding: auto .5rem;
}

table {
	/* border-collapse sets the table's elements to share borders, rather than floating as separate "boxes". */
	border-collapse: collapse;
	width: 100%
}

td,
th {
	border: 1px solid var(--grey-dark);
	text-align: left;
	padding: .5rem;
}

th {
	background: var(--grey-dark);
}

tr:nth-child(even) {
	/* Set every other cell slightly darker. Improves readability. */
	background: var(--grey-dark);
}

table caption {
	font-weight: bold;
	margin-bottom: .5rem;
}

textarea {
	/* Don't let the <textarea> extend off the screen naturally or when dragged by the user */
	max-width: 100%;
}

ol,
ul {
	/* Replace the browser default padding */
	padding-left: 2rem;
}

li {
	margin-top: .4rem;
}

ul ul,
ol ul,
ul ol,
ol ol {
	margin-bottom: 0;
}

mark {
	padding: 3px 6px;
	background: var(--blue);
	color: var(--white);
}

textarea,
select,
input {
	padding: 6px 12px;
	margin-bottom: .5rem;
	background: var(--grey-light);
	color: var(--black);
	border: 1px solid var(--grey-dark);
	border-radius: 4px;
	box-shadow: none;
	box-sizing: border-box;
}

img {
	max-width: 100%;
}

navigation a {
    padding-right: 0.5em;
}

figcaption {
    font-size: small;
}
img {
    max-width: 100%;
    height: auto;
}
iframe {
    max-width: 100%;
}

/* 
Content Width Config
https://codex.wordpress.org/Content_Width
*/
.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
	max-width: 100%;
	height: auto;
}

/* 
WordPress Core
https://codex.wordpress.org/CSS 
*/
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.gallery-caption
.bypostauthor
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 10px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* 
Text meant only for screen readers.
https://make.wordpress.org/accessibility/handbook/markup/the-css-class-screen-reader-text/ 
*/
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 0.875em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}


/* bbpress specific styling */

#bbpress-forums,
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results,
#bbpress-forums ul.bbp-topics,
div.bbp-template-notice li,
div.bbp-template-notice p,
div.bbp-breadcrumb,
div.bbp-topic-tags {
font-size: 0.875rem;
line-height: 1.5;
}

#bbpress-forums .bbp-forum-info .bbp-forum-content,
#bbpress-forums p.bbp-topic-meta,
span.bbp-admin-links a {
font-size: 0.875rem;
}

#bbpress-forums .bbp-author-avatar {
display: none;
}

.form-allowed-tags {
display: none !important
}
