/* {{{ Style for debug purpose. To ignore in production. */
.debug-col {
	border: 1px solid black;
	text-align: center;
}

.debug-ignore-text {
	color: #777777;
}

.debug-block-primary-light {
	background-color: #B583CD;
	color: #000;
	text-align: center;
}
.debug-block-primary-dark {
	background-color: #673ab7;
	color: #fff;
	text-align: center;
}
.debug-block-secondary-1-light {
	background-color: #8bc34a;
	color: #000;
	text-align: center;
}
.debug-block-secondary-1-dark {
	background-color: #067D1A;
	color: #fff;
	text-align: center;
}
.debug-block-secondary-2-light {
	background-color: #FF6F39;
	color: #000;
	text-align: center;
}
.debug-block-secondary-2-dark {
	background-color: #FF4400;
	color: #fff;
	text-align: center;
}
/* }}} */

/* {{{ Colors */
.text-color-primary { color: #490E90; }
.text-color-secondary-1 { color: #067D1A; }
.text-color-secondary-2 { color: #8F5902; }
.background-color-primary-very-light {
	background-color: #DFD5FB;
	color: #000;
}
.background-color-primary-light {
	background-color: #B583CD;
	color: #000;
}
.background-color-primary-dark {
	background-color: #673ab7;
	color: #fff;
}
.background-color-secondary-1-very-light {
	background-color: #DDFFDD;
	color: #000;
}
.background-color-secondary-1-light {
	background-color: #8bc34a;
	color: #000;
}
.background-color-secondary-1-dark {
	background-color: #067D1A;
	color: #fff;
}
.background-color-secondary-2-light {
	background-color: #FF6F39;
	color: #000;
}
.background-color-secondary-2-dark {
	background-color: #FF4400;
	color: #fff;
}
/* }}} */

/* {{{ Default text display */
body {
	font-family: 'Cantarell', sans-serif;
	font-size: 1rem;
}

.main-content {
	max-width: 1200px;
	line-height: 1.4;
	margin-left: auto;
	margin-right: auto;
}
.inline-code {
	padding-top: 0.125em;
	padding-right: 0.25em;
	padding-bottom: 0.125em;
	padding-left: 0.25em;
	background-color: #edeff0;
	font-family: monospace;
}

.link:hover {
	text-decoration: none;
}

.blockquote {
    background-color: #f9f9fb !important;
    line-height: 1.5em;
    border-left: 3px lightgrey solid;
    overflow: hidden;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 8px;
    padding-right: 8px;
}
/* }}} */

/* {{{ Grid system */
.row {
	display: flex;
	width: 100%;
}

.col-1 { width: 8.33%; }
.col-2 { width: 16.66%; }
.col-3 { width: 25.0%; }
.col-4 { width: 33.33%; }
.col-5 { width: 41.65%; }
.col-6 { width: 50%; }
.col-7 { width: 58.31%; }
.col-8 { width: 66.66%; }
.col-9 { width: 75.00%; }
.col-10 { width: 83.3%; }
.col-11 { width: 91.63%; }
.col-12 { width: 100%; }

.col-most-left {
	padding-left: 0px;
	padding-right: 4px;
	padding-top: 0px;
	padding-bottom: 0px;
}
.col-inside {
	padding-left: 4px;
	padding-right: 4px;
	padding-top: 0px;
	padding-bottom: 0px;
}
.col-most-right {
	padding-left: 4px;
	padding-right: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
}
/* }}} */

/* {{{ Section headings */
.page-title {
	text-align: center;
}
.title-section-1 {
}
.title-section-2 {
}
.title-section-3 {
}
/* }}} */

/* {{{ Glossary */
/* }}} */

/* {{{ Rules */
.rules {
	background-color: #DDFFDD;
	padding: 4px;
}

.rules-section-title {
	margin-top: 0px;
}
/* }}} */

/* {{{ Syntax definition */
.syn-definitions {
	background-color: #DFD5FB;
	padding: 4px;
}

.syn-definitions-section-title {
	margin-top: 0px;
}

.syn-def {
	font-family: monospace;
	font-style: normal;
}
.syn-def a {
	text-decoration: none;
}
.syn-ref {
	font-family: monospace;
	font-style: normal;
	border: 1px dotted black;
	text-decoration: none;
}

/* }}} */

/* {{{ Code examples */
.code-block {
	border: 1px solid #B583CD;
}

.code-block-title {
	background-color: #B583CD;
	color: #000;
	text-align: center;
}
.code-block-content {
	background-color: #edeff0;
	font-family: monospace;
	padding: 4px;
	overflow: auto;
	margin-top: 0px;
	margin-bottom: 0px;
}

.code-block-switcher {
	border: 1px solid #B583CD;
}
.code-block-switcher-element-title {
	text-align: center;
}
.code-block-switcher-element-title:hover {
	cursor: pointer;
}
.code-block-switcher-element-content {
	background-color: #edeff0;
	font-family: monospace;
	padding: 4px;
	overflow: auto;
	margin-top: 0px;
	margin-bottom: 0px;
}
.code-block-switcher-element > .code-block-switcher-element-title {
	background-color: #673ab7;
	color: #fff;
}
.code-block-switcher-element > .code-block-switcher-element-title:hover {
	background-color: #B583CD;
	color: #000;
}
.code-block-switcher-element[open] > .code-block-switcher-element-title {
	background-color: #B583CD;
	color: #000;
}
.code-block-switcher-element[open] > .code-block-switcher-element-title:hover {
	background-color: #673ab7;
	color: #fff;
}

.hl-comment { color: #490E90; font-style: italic; }
.hl-sym { color: #673ab7; }
.hl-node-name { color: #8F5902; font-weight: bold; }
.hl-att-name { color: #067D1A; font-weight: bold; }
.hl-att-value { color: #a30008; }
.hl-select { background-color: yellow; }

/* }}} */

/* {{{ Menu */
.menu {
	background-color: #B583CD;
	color: #000;
	padding: 4px;
}

.menu a {
	color: #000000;
	text-decoration: none;
	font-weight: bold;
	font-size: medium;
	padding: 4px;
}

.menu-right {
    float: right;
}
.menu-tab {
	padding-left: 4px;
	padding-right: 4px;
}

.menu-tab:hover {
	cursor: pointer;
	background-color: #DFD5FB;
}
/* }}} */

/* {{{ Hero */
.hero {
	background-color: #DFD5FB;
	padding: 4px;
}

.hero-title {
	text-align: center;
}
/* }}} */

/* {{{ For screens with small width. */
@media only screen and (max-width: 900px) {
	.main-content {
		width: 100%;
	}

	/* {{{ Grid system */
	.row {
		display: block;
	}

	.col-1 { width: 100%; }
	.col-2 { width: 100%; }
	.col-3 { width: 100%; }
	.col-4 { width: 100%; }
	.col-5 { width: 100%; }
	.col-6 { width: 100%; }
	.col-7 { width: 100%; }
	.col-8 { width: 100%; }
	.col-9 { width: 100%; }
	.col-10 { width: 100%; }
	.col-11 { width: 100%; }
	.col-12 { width: 100%; }

	.col-most-left {
		padding-left: 0px;
		padding-right: 0px;
		padding-top: 0px;
		padding-bottom: 4px;
	}
	.col-inside {
		padding-left: 0px;
		padding-right: 0px;
		padding-top: 4px;
		padding-bottom: 4px;
	}
	.col-most-right {
		padding-left: 0px;
		padding-right: 0px;
		padding-top: 4px;
		padding-bottom: 0px;
	}
	/* }}} */
}
/* }}} */
