/*-------------------------- ARTICLE CONTAINERS ----------------------------------*/
#articles_container {
	position: relative;
	display: block;
	transform-style: preserve-3d;
	width: 100%;
	font-size: 1.06rem;
	z-index: 0;
}
#articles_container > article {
	position: absolute;
	display: block;
	transform-style: preserve-3d;
	width: 94%;
	min-height: 400px;
	margin-left: 3%;
	margin-right: 3%;
	padding-bottom: 2rem;
	top: 0px; left: 0px;
	text-align: center;
	background: rgba(255, 255, 255, 0.20);
}
#articles_container > article > article  {
	margin-left: 5%;
	margin-right: 5%;
}



/*-------------------------- GENERAL PAGE CONTENT ----------------------------------*/
article h1, h2, h3, h4 {
	display: block;
	font-family: Verdana, Tahoma, sans-serif; font-weight: normal; text-decoration: none; /* ffont_titles - all h1, .., h4 headers */
	color: rgba(50, 60, 120, 1);
}
article h1 {
	width: 60%;
	margin-left: auto; margin-right: auto;
	margin-top: 0px; margin-bottom: 2rem;
	font-size: 2.5rem; line-height: 5rem;
	text-shadow: 0px 0px 6px #f0f5ff;
}
h2, h3, h4 {
	margin: 0px;
	text-align: left;
	text-shadow: 0px 0px 6px #f0f5ff;
}
article h2:not(:first-child), article h3:not(:first-child), article h4:not(:first-child) {
	margin-top: 2rem;
}
h2 { font-size: 1.8rem; line-height: 2.2rem; }
h3 { font-size: 1.4rem; line-height: 1.6rem; }
h4 { font-size: 1.2rem; line-height: 1.2rem; }

#articles_container p, dd{
	display: block;
	text-align: justify;
	text-indent: 0.4rem;
}
#articles_container p.highlighted{
	font-weight: bold;
}
#articles_container ol, #articles_container ul {
	display: block;
	text-align: left;
	margin: 0.7rem;
}
#articles_container li {
	margin-bottom: 0.3rem;
}
.attention_block {
	margin: 2rem 7% !important;
	padding: 1rem !important;
	text-align: center !important;
	font-size: 1.1rem !important;
	background: rgba(255, 255, 255, 0.15) !important;
	border: 1px solid #ffff66 !important;
	box-shadow: 0px 0px 6px #f0f5ff !important;
}
.notes {
	font-family: Georgia, serif !important; font-size: 0.9rem !important; font-style: italic !important; /* ffont_notes - notes in article */
}

article a {
	padding-left: 0.2rem; padding-right: 0.2rem;
	font-family: Arial, sans-serif; /* ffont_links - a in docs */
	font-weight: normal; font-style: normal; text-decoration: underline;
	color: rgba(50, 60, 120, 1);
	text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.1);
}
article a:hover {
	color: rgba(50, 120, 60, 1);
}
article a.controller {
	padding-left: 0.1rem; padding-right: 0.1rem;
	font-family: 'Ubuntu Mono', monospace; /* ffont_code - a.controller in docs */
	font-weight: bold; text-decoration: none;
	color: #000;
	background: none;
	border: none; border-bottom: 1px solid #999;
}
article a.controller:hover {
	color: rgba(50, 120, 60, 1);
}
article a.indented {
	margin-left: 3rem;
}



/*-------------------------- CODE SNIPPETS STYLING ----------------------------------*/
code {
	text-indent: 0px;
	font-family: 'Ubuntu Mono', monospace; /* ffont_code - any code blocks and spans in article*/
	text-align: left;
}
p > code,
li > code,
dd > code {
	display: inline;
	padding: 0rem 0.2rem;
	white-space: pre-wrap;
	color: black;
	background: #eaeaea;
}

code.tag, code.controller, code.param, code.value, code.transform, code.property, code.id {
	padding: 0rem 0rem !important;
	background: none !important;
}
code.tag        { color: #005; font-weight: bold; }
code.controller { color: #000; font-weight: bold; }
code.param      { color: #050; }
code.value      { color: #000; font-weight: bold;}
code.transform  { color: #030; font-style: italic; }
code.property   { color: #004; font-style: italic; }
code.id         { color: #004; font-weight: bold; font-style: italic; }
code.file       { color: #000; font-style: italic; }
code.inlined {
	display: inline;
	padding: 0rem 0rem;
	background: #eaeaea;
}
code.indented {
	margin-left: 3rem;
	line-height: 1.4rem;
}
code.big_inlined {
	display: inline;
	font-size: 1.3rem;
}
code.example {
	display: block;
	overflow-x: auto;
	margin-bottom: 1rem;
	padding: 0.25rem; padding-left: 0.5rem;
	text-align: left;
	font-size: 0.9rem; line-height: 1.2rem;
	text-shadow: none;
	white-space: pre;
	tab-size: 4;
	-moz-tab-size: 4;
	-o-tab-size: 4;
	background: #f0f0f0;
}
code.example span[highlighted] {
	font-weight: normal; font-size: 1rem;
	background: #ffffcc;
}
code.example a {
	padding-left: 0px; padding-right: 0px;
	color: #050; text-decoration: none;
	border-bottom: 1px solid #aaa;
}
code.example a:hover {
	color: #020;
}
dl.code > dt {
	padding: 0.2rem;
	font-family: 'Ubuntu Mono', monospace; /* ffont_code - dt in definition list of class 'code' */
	font-size: 1.2rem;
	color: #050;
	text-shadow: 0px 0px 0.4rem #f0f0ff;
}
dl.code > dd .param_feature b {
	font-family: 'Ubuntu Mono', monospace; /* ffont_code - default parameter value in controller doc */
	font-weight: bold; font-style: italic;
	color: #000;
}
code.controller_def {
	display: block;
	padding: 2rem; padding-top: 0rem; padding-bottom: 0rem;
	text-align: left;
	white-space: pre-wrap;
	font-size: 1.25rem; line-height: 1.7rem;
}
code.controller_def .controller_name { color: #000; font-weight: bold; }
code.controller_def .param_name { color: #050; }
code.controller_def a {
	text-decoration: none;
}
code.controller_def a:hover {
	text-decoration: underline;
}



/*-------------------------- INFO PAGES ----------------------------------*/
article.info > section {
	display: block;
	margin: 0rem; margin-bottom: 2rem;
	padding: 1rem;
	text-align: center;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid white;
}
article.info > section:after {
  content: "";
  clear: both;
  display: table;
}
section.compact {
	margin-bottom: 1rem !important;
	padding: 0.5rem !important;
}

.external_link {
	padding: 0rem 0.2rem;
	font-family: Arial, sans-serif; text-decoration: underline; /* ffont_links - external links */
	color: rgba(50, 60, 120, 1);
	text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.2);
}
.external_link:hover {
	color: rgba(50, 120, 60, 1);
}
.download_button {
	padding-left: 1rem; padding-right: 1rem;
	font-family: Arial, sans-serif; font-size: 4rem; font-style: normal; font-weight: bold; text-decoration: none;/* ffont_buttons - download button */
	line-height: 5rem;
	color: white;
	background: rgba(50, 100, 120, 0.8);
	border-radius: 0.5rem;
	box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.4);
}
.download_button:hover {
	color: #ffffdd;
	background: rgba(50, 120, 60, 0.9);
}
.thank_you {
	margin-top: 5rem !important;
	font-family: Verdana, Tahoma, sans-serif; font-weight: normal; text-decoration: none; /* ffont_titles - Thank you on donations page */
	font-size: 2.8rem !important; line-height: 4rem !important;
	color: rgba(50, 60, 120, 0.7);
}



/*-------------------------- DOCS PAGES ----------------------------------*/
article.doc > section {
	display: block;
	margin: 1.5rem 0rem;
	padding: 1rem;
	text-align: justify;
	background: rgba(255, 255, 255, 0.1);
	border: none;
}
article.doc > section:after {
  content: "";
  clear: both;
  display: table;
}
article.doc > section > section {
	margin-top: 2rem;
}
article.doc figure {
	float: right;
	margin: 0px;
	margin-left: 1rem;
	text-align: center;
	box-sizing: border-box;
}
#controller_definition > nav {
	margin-top: 2rem;
	text-align: right;
}
#controller_definition > nav > a {
	text-decoration: none;
	font-size: 1rem;
}

nav.page_toc {
	display: inline-block;
	padding: 0rem 5rem;
	font-size: 1.1rem;
	background: rgba(255, 255, 255, 0.4);
	border: 1px solid white;
}
nav.page_toc a {
	display: inline-block;
	vertical-align: top;
	text-decoration: none;
}
nav.page_toc ul ul { font-size: 0.9rem; line-height: 1.1rem; margin: 0px !important;}
nav.page_toc ul ul > li { margin: 0px !important; }

dl {
	margin-left: 1rem;
}
dl.code .param_feature {
	display: block;
	font-style: italic;
}
dl.code dd {
	margin-top: 0.2rem;
	margin-bottom: 0.8rem;
}
dl.code dd ol , dl.code dd ul {
	margin: 0.2rem !important;
}
dl.code dd li {
	margin-bottom: 0.1rem !important;
}



/*-------------------------- DEMO PAGES ----------------------------------*/
.definition_block {
	display: block;
	margin: 2rem; margin-left: 5%; margin-right: 5%;
	padding: 1rem;
	text-align: justify;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid white;
}
.example_block {
	display: block;
	margin: 1rem 1.5rem  !important;
	padding: 0.5rem !important;
	text-align: justify !important;
	background: rgba(255, 255, 255, 0.1) !important;
	border: 1px solid white !important;
}
.demo_container {
	display: block;
	margin: 1rem; margin-bottom: 1.6rem;
	padding: 0.5rem; padding-bottom: 2rem;
	vertical-align: top;
	text-align: center;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(0, 0, 0, 0.1);
	transform: translate3d(0px, 0px, 1px);
}
.demo_container.half_width {
	display: inline-block !important;
	width: 42%;
	min-width: 20rem;
}
.demo_container button, figure button {
	margin: 0.4rem;
	font-size: 1.4rem; font-weight: bold; text-decoration: none;
}

.next_demo_link {
	margin-top: 2.5rem;
	text-align: center;
	font-size: 1.1rem; font-style: italic;
}
.next_demo_link a {
	display: inline-block;
	padding-left: 1rem; padding-right: 1rem;
	font-family: Arial, sans-serif; font-style: normal; font-weight: normal; /* ffont_links - next demo links, article links */
	font-size: 1.2rem; line-height: 2rem;
	white-space: nowrap;
	color: white;
	text-decoration: none;
	text-shadow: 0px 0px 9px #000000;	
	border: 1px solid rgba(225, 228, 255, 0.9);
	background: rgba(140, 150, 200, 0.8);
	box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.15);
}
.next_demo_link a:hover {
	color: white;
	background: rgba(0, 0, 100, 0.5);
}

.demo_peon {
	position: absolute;
	display: inline-block;
	width: 3rem; height: 2.2rem;
	margin: 0.1rem;
	padding-top: 0.8rem;
	text-align: center;
	font-size: 1.4rem;
	color: white;
	text-shadow: none;
	background: rgba(50, 120, 50, 0.6);
	border: 2px solid rgb(50, 120, 60);
	box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.6);
}
.demo_big_peon {
	display: inline-block;
	margin: 0.5rem;
	padding: 2rem;
	font-size: 2rem;
	color: white;
	background: rgba(50, 120, 50, 0.6);
	border: 2px solid rgb(50, 120, 60);
	box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.6);
}

