/*
 Steam guide BBCode rendering rules.
 Values pulled directly from steamcommunity.com's own stylesheets
 (shared_global.css, sharedfiles_guide.css) so guide content previews
 pixel-for-pixel the same as the live site. Anything not covered by
 Steam's public CSS (hr, previewimg) is a best-effort addition, marked below.
*/

.bb_wysiwyg {
	color: #8F98A0;
	font-size: 14px;
	line-height: 19px;
}

.bb_wysiwyg a.bb_link {
	color: #67c1f5;
	text-decoration: none;
}

.bb_wysiwyg a.bb_link:hover {
	text-decoration: underline;
}

span.bb_spoiler {
	color: #000000;
	background-color: #000000;
	padding: 0px 8px;
}

span.bb_spoiler:hover {
	color: #ffffff;
}

span.bb_spoiler > span {
	visibility: hidden;
}

span.bb_spoiler:hover > span {
	visibility: visible;
}

blockquote.bb_blockquote {
	border: 1px solid #56707f;
	border-radius: 3px;
	padding: 12px;
	margin: 8px;
	font-size: 92%;
	display: table;
	word-break: break-word;
}

div.bb_quoteauthor {
	font-size: 92%;
	font-style: italic;
}

div.bb_h1 {
	font-size: 20px;
	line-height: 23px;
	color: #5aa9d6;
	font-weight: normal;
	margin-bottom: 10px;
	clear: both;
}

div.bb_h2 {
	color: #5aa9d6;
	margin-bottom: 6px;
	margin-top: 8px;
	font-size: 18px;
	line-height: 21px;
	font-weight: 400;
	clear: both;
}

div.bb_h3 {
	color: #5aa9d6;
	margin-bottom: 6px;
	margin-top: 8px;
	font-size: 16px;
	line-height: 19px;
	font-weight: 300;
	clear: both;
}

span.bb_strike {
	text-decoration: line-through;
}

div.bb_pullquote {
	font-size: 18px;
	font-weight: 600;
}

div.bb_code {
	border: 1px solid #535354;
	border-radius: 3px;
	padding: 12px;
	margin: 8px;
	font-size: 11px;
	font-family: Consolas, monospace;
	white-space: pre-wrap;
	overflow-x: auto;
}

div.bb_table {
	display: table;
	font-size: 12px;
	border-collapse: collapse;
	margin: 8px 0;
}

div.bb_table .bb_table_th {
	display: table-cell;
	font-weight: bold;
	border: 1px solid #4d4d4d;
	padding: 4px;
}

div.bb_table .bb_table_tr {
	display: table-row;
}

div.bb_table .bb_table_td {
	display: table-cell;
	vertical-align: middle;
	border: 1px solid #4d4d4d;
	padding: 4px;
}

.bb_ul, .bb_ol {
	padding-left: 0px;
	margin-left: 1em;
	display: flow-root;
}

.bb_ul > li, .bb_ol > li {
	position: relative;
	left: 1em;
	padding-right: 1em;
	list-style-position: outside;
}

.bb_ul > li {
	list-style-type: disc;
}

.bb_ol > li {
	list-style-type: decimal;
}

.bb_img {
	max-width: 100%;
}

/* Not part of Steam's public CSS (no dedicated class ships for [hr]/[previewimg]);
   styled to match the surrounding guide look. */
hr.bb_hr {
	border: none;
	border-top: 1px solid #3d4450;
	margin: 12px 0;
}

.bb_previewimg {
	max-width: 100%;
	margin: 8px 0;
}

.bb_previewimg.align-left {
	float: left;
	margin-right: 12px;
}

.bb_previewimg.align-right {
	float: right;
	margin-left: 12px;
}

.bb_previewimg.align-center {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

div.bb_clear {
	clear: both;
}
