
.bb-bookstack-content .align-left {
	text-align: left;
}

.bb-bookstack-content .align-right {
	text-align: right;
}

.bb-bookstack-content .align-center {
	text-align: center;
}

.bb-bookstack-content img.align-left {
	float: left;
	padding-right: 15px;
}

.bb-bookstack-content img.align-right {
	float: right;
	padding-left: 15px;
}

.bb-bookstack-content details {
	border: 1px solid;
	border-color: #ddd;
	margin-bottom: 1em;
	padding: 12px;
	box-sizing: border-box;
	outline-color: var(--color-primary);
	outline-width: 1px;
}

.bb-bookstack-content details > summary {
	margin-top: -12px;
	margin-left: -12px;
	margin-right: -12px;
	margin-bottom: -12px;
	font-weight: bold;
	background-color: #eee;
	padding: 6px 12px;
}

.bb-bookstack-content details > summary::before {
	 content: '▸ ';
}

.bb-bookstack-content details > summary + * {
	padding-top: 20px;
}

.bb-bookstack-content .info, .bb-bookstack-content .success, .bb-bookstack-content .warning, .bb-bookstack-content .danger {
    margin: 5px 0 15px 0;
    padding: 0 0 0 14px;
}

.bb-bookstack-content .info {
    border-color: #0288d1;
    background-color: #d3efff;
    color: #01466c;
}

.bb-bookstack-content .success {
    border-color: #0f7d15;
    background-color: #eafdeb;
    color: #063409;
}

.bb-bookstack-content .warning {
    border-color: #cf4d03;
    background-color: #fee3d3;
    color: #6a2802;
}

.bb-bookstack-content .danger {
    border-color: #ab0f0e;
    background-color: #fcdbdb;
    color: #4d0706;
}

.bb-bookstack-content blockquote, .bb-bookstack-content .callout {
    margin: 5px 0 15px 0;
    padding: 0 0 0 14px;
    border-top: 0 none;
    border-left: 4px solid #eee;
}

.bb-bookstack-content ul, .bb-bookstack-content ol {
    display: flow-root;
    padding-left: 20px;
}

.bb-bookstack-content p.bb-min-width {
    min-width: 200px;
    display: flow-root;
}

.bb-bookstack-book .bb-bookstack-book-label, .bb-bookstack-chapter .bb-bookstack-chapter-label {
    font-weight: bold;
    font-size: 1.2em;
}

.bb-bookstack-chapter .bb-bookstack-page {
    margin-left: 20px;
    font-weight: normal;
}

.bb-bookstack-book .bb-bookstack-chapter {
    font-weight: bold;
}

.bb-bookstack-book .bb-bookstack-chapter, .bb-bookstack-book .bb-bookstack-page {
    margin-left: 20px;
}

.bb-bookstack-book .bb-bookstack-chapter .bb-bookstack-page {
    margin-left: 40px;
    font-weight: normal;
}

.bb-bookstack-book .bb-bookstack-page {
    margin-left: 20px;
    font-weight: normal;
}

.bb-bookstack-page.bb-active {
    background-color: #ccc;
}
