html {
	font-size: 100%;
	height: 100%;
	overflow-y: scroll;
}
@media screen and (-webkit-min-device-pixel-ratio:0) { 
	html {
		font-size: 125%;      
	}
}

body {
	overflow-x: hidden;
	overflow-y: hidden;
	margin: 0;
	padding: 2px;
	
	font-family: Arial, sans-serif; /* ffont_content - body content */
	line-height: 1.3rem;
	
	background: fixed #e1e4ff;
	background-image: radial-gradient(ellipse farthest-corner at 60% 33%, rgba(225, 228, 255, 0.7) 50%, rgba(44, 68, 204, 0.36) 98%),
		linear-gradient(rgba(225, 228, 255, 0.1) 0, #e1e4ff 95%, #e1e4ff),
		repeating-linear-gradient(109deg, transparent 0, #c7cdff 26%, transparent 26.3%, #c7cdff 43.5%, transparent 43.8%, #c7cdff 73%);
}

#page {
	display: block;
	position: relative;
	visibility: hidden;
	opacity: 0;
	width: 90%; 
	margin: auto;
	margin-top: 20px;
	padding: 0;
	text-align: center;
	transform-style: preserve-3d;
}

/*---------------------------- PAGE HEADER -----------------------------*/
#page > header {
	position: relative;
	text-align: left;
	margin-bottom: 2rem;
	z-index: 10;
	transform: translate3d(0px, 0, 2px);
}
#page > header:after {
	clear: both;
	content: "";
	display: block;
}

#page > header > h1 {
	display: inline-block;
	float: left;
	transform: translateZ(4px);
	margin: 0;
	padding: 0;
}
#page > header .logo {
	display: inline-block;
	box-sizing: border-box;
	padding: 0 1.5rem;
	text-align: center;
	font-family: "Trebuchet MS", sans-serif; font-weight: bold;	font-style: italic; text-decoration: none; /* ffont_behave3d_logo - big logo */
	font-size: 3.9rem; line-height: 6.7rem;
	color: rgba(50, 60, 120, 1);
	text-shadow: 1px 2px 1px #000000, -1px -2px 1px #eeeeee, 0 0 36px #eef0ff;
	border: 1px solid rgba(255, 255, 255, 1); border-bottom: none; border-right: none;
	background: rgba(215, 218, 250, 1);
	box-shadow: 2px 5px 12px rgba(0, 0, 0, 0.2);
}

#page > header .handle {
	position: absolute;
	display: inline-block;
	box-sizing: border-box;
	top: 0; left: 0;
	padding: 0 1.5rem;
	text-align: center;
	font-family: "Trebuchet MS", sans-serif; font-weight: bold;	font-style: italic; text-decoration: none; /* ffont_behave3d_logo - header handle */
	font-size: 1.9rem; line-height: 6.7rem;
	color: rgba(50, 60, 120, 1);
	text-shadow: 1px 2px 1px #000000, -1px -2px 1px #eeeeee, 0 0 36px #eef0ff;
	border: 1px solid rgba(255, 255, 255, 1); border-bottom: none; border-right: none;
	background: rgba(215, 218, 250, 1);
	box-shadow: 2px 5px 12px rgba(0, 0, 0, 0.2);
}

#page > header > nav {
	display: block;
	position: relative;
	top: 5.8rem;
	z-index: 11;
}
#page > header > nav > div {
	font-family: Arial, sans-serif; /* ffont_links - header nav links */
	font-size: 1.2rem; line-height: 1.5rem;
	background: #5E66A2;
	box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.2);
}
#page > header > nav > div > a {
	display: inline-block;
	min-width: 20%;
	margin-left: 1.5rem;
	text-align: center;
	color: white;
	text-decoration: none;
	text-shadow: 0 0 6px #000000;
}
#page > header > nav > div a:hover { background: rgba(0, 0, 100, 0.8); }

#page > header > nav > div > [donate] {
	float: right;
	min-width: 10%;
	font-size: 1rem;
}

#top_search_form {
	position: absolute;
	display: inline-block;
	z-index: 20;
	top: 0; right:0px;
	padding: 5px; padding-left: 10px;
	font-size: 1.2rem;
	font-family: Arial, sans-serif; /* ffont_links - search form */
	background: #D1D4F0;
	box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.3);
}
#top_search {
	width: 25rem;
	font-size: 1.2rem;
}
#top_search_options {
	position: absolute;
	width: 100%;
}
#top_search_options > div {
	position: absolute;
	width: 95%;
	box-sizing: border-box;
	margin-top: 0.5rem;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid #ffff00;
}
#top_search_options > div.selected {
	border: 1px solid #5E66A2;
}
#top_search_options > div.selected > a {
	color: white;
	background: rgba(10, 20, 100, 0.6);
}
#top_search_options a {
	display: block;
	padding: 0.5rem;
	text-decoration: none;
	color: black;
}
#top_search_options a:hover {
	color: rgba(50, 120, 60, 1);
}
#top_search_options .title {
	display: block;
	font-family: Verdana, Tahoma, sans-serif; /* ffont_titles - search items titles */
	font-size: 1.1rem;
}
#top_search_options .description {
	display: block;
	font-family: Georgia, serif; font-style: italic; /* ffont_notes - search items descriptions */
	font-size: 0.8rem;
}
#top_search_option_template {
	display: none;
}

#menu_docs {
	margin-top: 4px;
	width: 300px;
	z-index: 13;
}
#menu_engine a { text-align: left !important; }
#menu_docs_controllers ul a { text-align: left !important; }

.menu_docs_link_active { background: rgba(0, 0, 100, 0.8); }

/*------------------------------ PAGE HEADER MOBILE ------------------------------*/
@media (max-device-width: 1200px) {
	#page > header > nav > div > a {
		min-width: 0% !important;
	}
	
	#page > header > nav > div > [donate] {
		margin-right: 1rem;
	}
	
	#top_search {
		width: 15rem;
	}
}

/*------------------------------ PAGE ASIDE ------------------------------*/
#menu_demos_container {
	position: absolute;
	top: 7.6rem;
	width: 20%;
	font-family: Arial, sans-serif; /* ffont_links - demos links */
	z-index: 10;
	pointer-events: none;
}
#menu_demos_container a { pointer-events: auto; }
#menu_demos_container > a {
	display: block;
	margin-top: 10px;
	text-align: center;
	font-size: 1.2rem; line-height: 1.6rem;
	color: white;
	text-decoration: none;
	text-shadow: 0 0 6px #000000;
	background: #5E66A2;
	box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.2);
}
#menu_demos_container > a:hover { background: rgba(0, 0, 100, 0.8); }

#menu_demos_controllers {
	position: relative !important;
}
#menu_demos_controllers li > a {
	padding-left: 0; padding-right: 0;
	white-space: normal;
}

.menu {
	position: absolute;
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: Arial, sans-serif; /* ffont_links - menu */
}
.menu:focus { outline: none; }

.menu ul {
	position: absolute;
	display: block;
	list-style: none;
	min-width: 20%;
	margin-left: 5px;
	padding: 0;
}
.menu ul:focus { outline: none; }

.menu li {
	margin-top: 5px;
	border: 1px solid rgba(225, 228, 255, 0.9);
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.15);
}
.menu li:last-child { margin-bottom: 0 !important; }
.menu li > a {
	display: block;
	padding-left: 1.6rem; padding-right: 1.6rem;
	text-align: center;
	font-size: 1.2rem; line-height: 2rem;
	white-space: nowrap;
	color: #111111;
	text-decoration: none;
}
.menu li > a:hover {
	color: white !important;
	background: rgba(0, 0, 100, 0.8);
}

.menu_link_active {
	color: white !important;
	background: rgba(0, 0, 100, 0.8);
}

.menu a > .sub {
	position: absolute;
	top: 0; right: 7px;
	display:inline-block;
}

/*------------------------------ PAGE FOOTER ------------------------------*/
#page > footer {
	min-height: 20px;
	width: 70%; margin: auto;
	margin-top: 0.7rem;
	padding: 20px;
	text-align: center;
	font-size: 0.7rem; line-height: 0.6rem;
	color: #999999;
	border-top: 1px solid rgba(0, 0, 0, 0.2);
}
#page > footer a {
	display: inline-block;
	min-width: 15%;
	font-family: Arial, sans-serif; /* ffont_links - footer links*/
	font-size: 0.8rem;
	text-decoration: none;
	color: black;
	margin: 0 1rem 0;
}
#page > footer a:hover { text-decoration: underline; }

#page > footer copyright {
	display: block;
	margin-top: 1rem;
	color: #999999;
}

/*-------------------------- PAGE CONTENT ----------------------------------*/
span[logo] {
	font-family: "Trebuchet MS", sans-serif; font-style: italic; font-weight: bold; /* ffont_behave3d_logo - <span logo> */
	color: rgba(50, 60, 120, 1);
}

#debug_box {
	position: fixed;
	visibility: hidden;
	top: 0; right: 0;
	padding: 4px;
	border: 1px solid black;
	background: rgba(235, 235, 235, 0.8);
	pointer-events: none;
}

/* --------------------------- PAGE LOADING ENGINE STYLES ----------------------------------------------------- */
#loading_message_box {
	position: absolute;
	display: none;
	width: 30%;
	margin-left: -15%;
	padding: 2rem 4rem;
	text-align: center;
	font-size: 1.4rem;
	color: white;
	background: rgba(0, 0, 0, 0.3);
	border: 3px solid white;
	box-sizing: border-box;
	pointer-events: none;
}
.loading_message_box_red {
	background: #aa3333 !important;
}



/*---------------------- FONTS GUIDELINES --------------------------
   ffont_behave3d_logo : "Trebuchet MS", sans-serif; weight = bold; color = rgba(50, 60, 120, 1);
   ffont_content    : Arial, sans-serif;
   ffont_notes      : Georgia, serif; style = italic
   ffont_titles     : Verdana, Tahoma, sans-serif;
   ffont_buttons    : Arial, sans-serif
   ffont_links      : Arial, sans-serif
   ffont_code       : Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace
---------------------- GENERAL PAGE BLOCKS --------------------------*/
