/*-------------------------------------------------------------------- 
         WHATSOCKC AccDC
         2015-2016
-------------------------------------------------------------------- */


/* CSS index:
 	RESET
	DEFAULT VALUES
	PAGE STRUCTURE
	FORMS
	NAVIGATION
	SPECIFICS
	PRINT STYLES
	MEDIA QUERIES
*/

/* ------------------------------ RESET ---------------------------- */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, main, figure,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
    display: block;
}

body {overflow-y: scroll;}

/* Generated by Font Squirrel (http://www.fontsquirrel.com) on December 10, 2015 */

@font-face {
    font-family: 'open_sansregular';
    src: url('OpenSans-Regular-webfont.eot');
    src: url('OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('OpenSans-Regular-webfont.woff') format('woff'),
         url('OpenSans-Regular-webfont.ttf') format('truetype'),
         url('OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sanslight';
    src: url('OpenSans-Light-webfont.eot');
    src: url('OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
         url('OpenSans-Light-webfont.woff') format('woff'),
         url('OpenSans-Light-webfont.ttf') format('truetype'),
         url('OpenSans-Light-webfont.svg#open_sanslight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansitalic';
    src: url('OpenSans-Italic-webfont.eot');
    src: url('OpenSans-Italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('OpenSans-Italic-webfont.woff') format('woff'),
         url('OpenSans-Italic-webfont.ttf') format('truetype'),
         url('OpenSans-Italic-webfont.svg#open_sansitalic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansbold';
    src: url('OpenSans-Bold-webfont.eot');
    src: url('OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('OpenSans-Bold-webfont.woff') format('woff'),
         url('OpenSans-Bold-webfont.ttf') format('truetype'),
         url('OpenSans-Bold-webfont.svg#open_sansbold') format('svg');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'antonregular';
    src: url('anton-webfont.eot');
    src: url('anton-webfont.eot?#iefix') format('embedded-opentype'),
         url('anton-webfont.woff') format('woff'),
         url('anton-webfont.ttf') format('truetype'),
         url('anton-webfont.svg#antonregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* --------------------------------------------------------------------------- */
/* ----------------------------- DEFAULT VALUES ------------------------------ */
/* --------------------------------------------------------------------------- */

body {
	font: 100%/1 open_sansregular, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	background-color: #2E3135;
}

h1 {
	font: normal 8vw/1.2 antonregular, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-transform: capitalize;
	color: #B8B7AB;
	padding: 80px 5% 0 5%;
}
	h1 strong {
		display: block;
		position: relative;
		top: 0.2em;
		font: normal 250% antonregular, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
		color: #63B7C2;
	}

h2 {
	font: normal 2.5em/1.3 antonregular, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #2E3135;
	margin: 0 0 0.5em 0;
}

	.hd h2 {margin: 1.5em 0 0.5em;}
	article > .hd h2, main > .hd h2 {margin: 0.5em 0;}

h3 {
	font: normal 1.8em/1.3 antonregular, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #2E3135;
	margin: 1.5em 0 0.5em;
}
	aside section h3 {margin: 0 0 0.5em;}
	
h4 {
	font: normal 1.6em/1.3 open_sansbold, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #2E3135;
	margin: 1.5em 0 1em;
}

p, li, dt, dd {font-size: 0.9em; line-height: 1.45;}

li li {font-size: 100%;}

a, a:link, a:visited {
	text-decoration: none;
	color: #000;
	background: #F2D3A1;
}
a:hover {
	text-decoration: underline;
	background: transparent;
}

*:focus {
	color: #000;
	background: #FC0;
}

img {max-width: 100%; border: none;}

em {
	font-family: open_sansitalic, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-style: normal;
}
strong {
	font-family: open_sansbold, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 600;
}

button {cursor: pointer;}

code {
	display: block;
	overflow: scroll;
	color: #000;
	background: #E4E4E4;
	padding: 1rem;
	margin: 1rem 0;
}

	code.inline {display: inline; font-size: 110%; margin: 0; padding: 0;}
	
kbd {
	font-size: 110%;
	text-transform: uppercase;
	padding: 0 0.3em;
	border: 2px solid #2E3135;
	border-radius: 2px;
}
	kbd kbd {padding: 0; border: none;}
	
	kbd[class] {
		border: none;
	}
	kbd[class]::before {
		display: inline-block;
		line-height: 1;
		padding: 0 0.3em 0.2em;
		margin-right: 0.5em;
		border: 2px solid #2E3135;
		border-radius: 2px;
		vertical-align: top;
	}
	kbd.left::before {content: "\2190";}
	kbd.right::before {content: "\2192";}
	kbd.up::before {content: "\2191";}
	kbd.down::before {content: "\2193";}
	kbd.home::before {content: "\21E4";}
	kbd.end::before {content: "\21E5";}
	

/* --------------------------------------------------------------------------- */
/* ----------------------------- PAGE STRUCTURE ------------------------------ */
/* --------------------------------------------------------------------------- */

#container {}

header {
	position: relative;
	text-align: center;
	color: #FFF;
	background: #2E3135;
	background-image: linear-gradient(rgba(0,0,0,.5), transparent);
	padding: 2rem 0 0;
}

main, div.apiDocumentationContentSection {
	background-color: #F7F7F7;
	padding: 2rem 5%;
}

aside {color: #000; background: #E1E1E1; padding: 2rem 5%;}

p.baseline {font-size: 0.75em; margin-top: 1.5em;}
p.logo {position: absolute; top: 2rem; left: 50%; width: 100px; margin-left: -50px;}
	
	p.logo a {background: transparent;}


/* --------------- FOOTER --------------- */

footer {margin: 1rem 0 2rem; text-align: center;}
footer p.copyright {
	font-size: 0.7em;
	text-transform: uppercase;
	color: #FFF;
	background: transparent;
	margin-top: 1rem;
}

ul.policies li {
	display: inline-block;
	position: relative;
	list-style-type: none;
}
	ul.policies li::after {
		position: absolute;
		top: 0.7em;
		right: -0.35em;
		display: block;
		content: "";
		width: 5px;
		height: 5px;
		background: #E2A037;
		border-radius: 5px;
	}
	ul.policies li:last-child::after {content: none;}

footer button {
	color: #FFF;
	background: transparent;
	border: none;
}

footer p:last-child {font-size: 0.7em; margin-top: 0.5em; color: #E0E0E0;}
footer p:last-child a, footer p:last-child a:link {
	text-decoration: underline;
	color: #FFF;
	background: transparent;	
}

/* --------------------------------------------------------------------------- */
/* ---------------------------------- FORMS ---------------------------------- */
/* --------------------------------------------------------------------------- */

form p + p {margin-top: 1em;}

fieldset {margin-bottom: 2rem;}

legend {
	font: normal 1.5em/1 antonregular, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	padding-bottom: 1.5rem;
}

label {
	display: block;
	font-family: open_sansbold, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	padding-bottom: 0.1em;
}

input {
	font-size: 100%;
	padding: 2px 3px;
	border: 1px solid #C0C0C0;
	border-radius: 2px;
}

.mandatory-info {
	text-align: right;
}

.buttons-bar {text-align: center; margin: 2rem 0 0;}
	.buttons-bar input {margin: 0 0.5rem;}

input[type=submit], input[type=reset] {
	font-size: 100%;
	text-transform: uppercase;
	color: #FFF;
	background: #49182E;
	padding: 0.3em 0.5em;
	border: none;
	box-shadow: 0 1px 2px rgba(0,0,0,.7);
	border-radius: 2px;
	cursor: pointer;
}
input[type=reset] {
	color: #FFF;
	background: #555;
}

input[type=submit]:hover, input[type=reset]:hover {
	color: #FFF;
	background: #286278;
	box-shadow: none;
	border-radius: 0;
}

input[type=submit]:focus {background: #F60;}


/* --------------------------------------------------------------------------- */
/* -------------------------------- NAVIGATION ------------------------------- */
/* --------------------------------------------------------------------------- */

nav {text-align: center; margin-top: 2rem;}
nav h2, aside h2 {
	position: absolute;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: polygon(0px 0px, 0px 0px,0px 0px, 0px 0px);
	padding: 0;
	border: 0;
	height: 1px; 
	width: 1px; 
	overflow: hidden;
	z-index: -1000;
}

nav li {list-style-type: none;}
nav button, nav a, nav a:link, nav a:visited  {
	display: block;
	width: 100%;
	font: bold 1.2em Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	color: #FFF;
	background: #444A51;
	padding: 0.5em 0;
	border: none;
	border-top: 1px solid #CCC;
}
nav button:hover, nav a:hover {
	color: #191B1D;
	background: #63B7C2;
	text-decoration: none;
}

nav li.active button, nav li.active a, nav li.active a:link, nav li.active a:visited {
	color: #191B1D;
	background: #63B7C2;
}

/* --- CONTEXTUAL INNER NAVIGATION --- */

ul.contextual-menu {
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	list-style-type: none;
	margin: 2rem 0 2rem -0.5rem;
}
	ul.contextual-menu  li {
		box-sizing: border-box;
		max-width: 220px;
		-webkit-flex: 1 1 43.5%;
		-ms-flex: 1 1 43.5%;
		flex: 1 1 43.5%;
		text-align: center;
		margin: 0.5rem;
	}
	ul.contextual-menu a, ul.contextual-menu a:link {
		display: block;
		text-transform: uppercase;
		color: #2E3135;
		background: #63B7C2 url(../img/sprite.svg) 45% 5px no-repeat;
		padding: 65px 0.5em 0.5em;
	}
	
	ul.contextual-menu a:visited {opacity: .8;}
	ul.contextual-menu a:hover, ul.contextual-menu a:focus, ul.contextual-menu a.active {
		text-decoration: none;
		color: #2E3135;
		background-color: #E2A037;
	}
	
	ul.contextual-menu li:first-child a {border-top-left-radius: 4px;}
	ul.contextual-menu li:last-child a {border-bottom-right-radius: 4px;}
	
	ul.contextual-menu li:nth-child(2) a {background-position: 45% -142px;}
	ul.contextual-menu li:nth-child(3) a {background-position: 48% -270px;}
	ul.contextual-menu li:nth-child(5) a {background-position: 48% -398px;}
	ul.contextual-menu li:nth-child(4) a {background-position: 48% -535px;}
	ul.contextual-menu li:nth-child(6) a {background-position: 48% -673px;}
	ul.contextual-menu li:nth-child(7) a {background-position: 49% -810px;}
	ul.contextual-menu li:nth-child(8) a {background-position: 48% -960px;}
	ul.contextual-menu li:nth-child(9) a {background-position: 49% -1100px;}
	ul.contextual-menu li:nth-child(10) a {background-position: 47% -1256px;}
	ul.contextual-menu li:nth-child(11) a {background-position: 49% -1423px;}
	ul.contextual-menu li:nth-child(12) a {background-position: 49% -1570px;}
	ul.contextual-menu li:nth-child(13) a {background-position: 49% -1705px;}
	ul.contextual-menu li:nth-child(14) a {background-position: 49% -1847px;}


/* --------------------------------------------------------------------------- */
/* ------------------------------------- ASIDE ------------------------------- */
/* --------------------------------------------------------------------------- */

section + section {margin-top: 2rem;}

	section.honors h3 a {
		display: block;
		max-width: 220px;
		background: #FFF;
		padding: 2rem;
		margin: 1rem 0;
	}
	section.honors h3 img {vertical-align: baseline;}

section.at-guide {
	min-height: 90px;
	color: #FFF;
	background: #444A51 url(../img/atree.svg) 1rem 0.8rem no-repeat;
	padding: 1rem 1rem 1rem 120px;
}

section.at-guide h3 {margin-bottom: 0.5em;}
section.at-guide h3, section.at-guide h3 a {
	color: #FFF;
	background: #444A51;
}

section.at-guide p a {display: block; width: 7em;}



/* --------------------------------------------------------------------------- */
/* ---------------------------------- ARTICLES/SECTIONS ---------------------- */
/* --------------------------------------------------------------------------- */

article {max-width: 50em;}

article > .hd:first-of-type h3 {margin-top: 0;}

article p + p {margin-top: 0.8em;}
article ul, section ul, article ol, section ol {margin: 1em;}
article li, section li {margin: 0 0 0.8em 0;}

/* FIGURES */

figcaption {
	font: 0.8em open_sansitalic, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-align: right;
	margin: 0.3em 1rem;
}

div.content figcaption {
	text-align: center;
	margin: 0.5em 0 0;
}

/* Notes */

.note {
	font: 0.9em open_sansitalic, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	padding-top: 2rem;
	margin-top: 2rem;
	border-top: 1px dotted #2E3135;
}


/* --------------------------------------------------------------------------- */
/* ---------------------------------- UTILITIES ------------------------------ */
/* --------------------------------------------------------------------------- */

.links-list a {
	display: block;
	font-family: open_sansbold, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-decoration: underline;
	color: #2E3135;
	background: transparent;
}

p.topLink {text-align: center; margin: 1rem 0;}
	p.topLink a {background: transparent;}


/* --------------------------------------------------------------------------- */
/* ---------------------------------- SPECIFICS ------------------------------ */
/* --------------------------------------------------------------------------- */

.downloads strong {
	display: block;
	font-family: open_sansregular, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Contextual menu */

#ph {margin-bottom: 2rem;}
	
	#ph a {
		display: inline-block;
		padding: 0.2em 0.5em;
		margin-bottom: 0.3em;
	}

.heading {
	text-transform: uppercase;
	font-family: open_sansbold, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	margin-top: 1rem;
}
	code + .heading {margin-top: 2rem;}
	
dl.api {
	background: #FFF;
	padding: 0.5rem 1rem 1rem;
	margin: 2rem 0;
	border: 1px solid #63B7C2;
}

dt.heading {margin-bottom: 1rem;}

dd.detail.hidden {display: none;}

.highlight {
	font: 1.3em/1.4 open_sansbold, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	padding: 1rem;
	margin: 2rem 0;
	border-top: 1px solid #E2A037;
	border-bottom: 1px solid #E2A037;
}

/* DEMOS */

div.demo {
	clear: both;
	padding: 1rem 5%;
	margin: 2rem 0;
	border: 1px solid #63B7C2;
}

div.demo h2, div.demo h3 {
	font-size: 3em;
	text-transform: uppercase;
	color: #1E474C;
	margin: 0 0 0.5em;
}

div.demo .editLink, input[type=button] {
	font-family: open_sansbold, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	color: #FFF;
	background: #286278;
	padding: 0.3em 0.5em;
	border: none;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0,0,0,.7);
	transition: border-radius;
	-webkit-transition: border-radius;
}

	div.demo .editLink:hover, input[type=button]:hover {text-decoration: none; border-radius: 0; box-shadow: none;}
	
	p.morphCtrl {text-align: right; margin: 1rem 0 0.5rem;}

/* DYNAMIC EDITOR */

div.dynContent {
	line-height: 1.5;
	background: #D4EFF5;
	padding: 0.7rem 1rem;
	margin: 0.5rem 0;
}
	div.dynContent + p {text-align: right; margin: 1.5em 0 0.5em;}

div.dynContent {
	font-family: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;
}

div.demoDynamicEditor {
	width: 65%;
	font-family: Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans-serif;
	font-size: 0.9em;
	text-align: center;
	color: #000;
	background-color: #CCC;
	border-radius: 0.23rem;
	z-index: 10;
}

button.close {
	position: absolute;
	top: 0.5em;
	right: 0.5em;
	background: transparent;
	border: none;
}
	button.close {
		position: absolute;
		top: 0.5em;
		right: 0.5em;
		background: transparent;
		border: none;
	}
	
div.dynEditorTop1 {
	font-size: 1.3em;
	text-align: left;
	text-transform: uppercase;
	color: #FFF;
	background: #286278;
	padding: 0.3em 0.5em;
	border-top-left-radius: 0.23rem;
	border-top-right-radius: 0.23rem;
}

div.dynEditorBody1 {
	width: 80%;
	text-align: center;
	margin: 1rem 10%;
}
	div.dynEditorBody1 p {line-height: 1.4;}

	div.dynEditorBody2 textarea {
		width: 88%;
		height: 300px;
		font-family: Arial, Helvetica, sans-serif;
		margin-bottom: 1rem;
		padding: 0.5rem 3%;
	}

div.demoMenuBarDiv {
	background-color: #f5f5f5;
}

div.demoMenuBar {display: table; width: 100%; background: #2E3135;}

div.demoMenuBar a, div.demoMenuBar a:link, div.demoMenuBar a:visited, div.demoMenuBar a:active {
	display: inline-block;
	font-family: open_sansbold, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	color: #FFF;
	background: transparent;
	padding: 0.3em 0.5em;
	margin: 0.5rem;
	border: none;
}
	div.demoMenuBar > div a:hover {text-decoration: none;}
	div.demoMenuBar > div > a::after {content: "\00A0 \25BC";}

div.demoMenuBar > div {
	display: table-cell;
}

	div.demoMenuBar > div a:hover {
		color: #2E3135;
		background: #63B7C2;
	}


div.demoSubMenus {
	position: absolute;
	color: #FFF;
	background-color: #2E3135;
	z-index: 11;
}

div.demoSubMenus div, div.demoSubMenus ul, div.demoSubMenus li {
	margin: 1px auto 2px auto;
}

div.demoMenuBar a:focus, div.demoMenuBar a:hover {
	background-color: #3A5FCD;
	color: #f5f5f5;
}

ul.demoMenu {
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}

textarea.editor {
	width: 70%;
}

div.announceMsg {
	font-size: 0.8em;
	background-color: #f5f5f5;
	color: #4b0000;
	border: solid thin black;
	z-index: 12;
}

/* LISTS */
ol.lsn {
	counter-reset: level;
}
ol.lsn li {
	display: block;
	text-indent: -1em;
}
ol.lsn ol li {
	display: block;
	text-indent: -2em;
	margin-left: 1.3em;
}
ol.lsn li::before {
	content: counters(level, ".")". ";
	counter-increment: level;
}

/* HELP */
p.guidance {
	min-height: 30px;
	font-family: open_sansitalic, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	background: url(../img/guidance.svg) 0 0 no-repeat;
	padding: 0 0 2rem 40px;
	margin: 2rem 0 0;
}

/* DEMO PAGES */

div.demo-block {
	clear: both;
	padding: 1rem;
	margin-bottom: 2rem;
	border-top: 2px dotted #63B7C2;
	border-bottom: 2px dotted #63B7C2;
}
	
	div.demo-block h3 {margin: 0 0 0.5em;}

#demos h2 strong {
	display: block;
	font-size: 60%;
	text-transform: uppercase;
}

#demos nav {text-align: left;}
#demos nav a, #demos nav a:link, #demos nav a:visited {
	width: auto;
	font-size: 90%;
	font-weight: normal;
	text-transform: none;
	background: transparent;
	padding: 1em 5%; 
}
#demos nav a:hover {color: #FFF; text-decoration: underline;}
#demos nav a::before {content: "<  ";}


	
/* CONTACT FORM */

.cuStatus {
	position: static;
	background: #FFF;
	padding: 1rem;
	margin: 2rem 0;
	border-left: 4px solid #C00;
}

.cuStatus ol {margin: 0.5rem 1rem;}

.cuStatus button {
	font-family: open_sansbold, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	color: #FFF;
	background: #286278;
	padding: 0.3em 0.5em;
	border: none;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0,0,0,.7);
	transition: border-radius;
	-webkit-transition: border-radius;
}
.cuStatus button:hover {
	box-shadow: none;
	border-radius: 0;
}
.cuStatus button:focus {background: #F60;}

#cufc1, #cufc5, #cufc6 {width: 60%; max-width: 250px;}
#cufc2, #cufm1 {width: 80%;}

#contactUsFrm div[role=application] {margin-top: 1rem;}

/* Keyboard aacessible */

.keyboard {
	background: url(../img/keyboard.svg) 0 0 no-repeat;
	padding-left: 80px;
}


/* --------------------------------------------------------------------------- */
/* ---------------------------------- QUERIES -------------------------------- */
/* --------------------------------------------------------------------------- */


@media screen and (min-width: 700px) and (max-width: 1600px) {
	section.honors {position: relative; min-height: 220px; padding: 1rem 0 0 320px;}
	section.honors h3 a {position: absolute; top: 0; left: 0;}
}

@media screen and (min-width: 780px) {
	ul.menuList {
		display: -webkit-flex;
		-webkit-justify-content: space-around;
		display: -ms-flex;
		-ms-justify-content: space-around;
		display: flex;
		justify-content: space-around;
		background: #444A51;
	}
	nav button, nav a, nav a:link, nav a:visited {padding: 0.5em; border: none;}
	
	div.demo-block .trigger {
		float: right;
		width: 35%;
		text-align: right;
		margin-top: -3.5rem;
	}
}

@media screen and (min-width: 1000px) {
	#container {
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		flex-flow: row wrap;
	}
	
	header {width: 20%; text-align: left; padding: 2rem 5%;}
	h1 {font-size: 3vw; padding: 120px 0 0;}
	p.logo {width: 150px; left: 15%; margin: 0;}
	
	main, #mcOverview {min-height: 800px;}
	
	h2 {font-size: 4em;}
	h3 {font-size: 2.5em;}
	aside section h3 {font-size: 2em;}
	
	ul.menuList {display: block; background: transparent;}
	ul.menuList li {margin-bottom: 0.5rem;}
	
	#wrapper {width: 70%;}
	
	nav {margin-top: 4rem;}
	nav button, nav a, nav a:link, nav a:visited {padding: 0.5em 0;}
	
	footer {width: 98%; text-align: left; padding: 0 1%;}
	footer ul {width: 60%; margin-top: -4rem;}
	p.topLink {width: 100%; text-align: right; margin: 1rem;}
	
	ul.contextual-menu  li {
		-webkit-flex: 0 1 23%;
		-ms-flex: 0 1 23%;
		flex: 0 1 23%;
	}
	
}

@media screen and (min-width: 1200px) {
	p, li, dt, dd {font-size: 1.1em;}
	aside p, aside li {font-size: 1em;}
}


@media screen and (min-width: 1600px) {
	header {width: 14%; padding: 2rem 3%;}
	h1 {font-size: 2.3vw;}
	#wrapper {width: 80%;}
	#wrapper, #mcOverview, #mcDemo, #mcAbout, #mcContact {
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
	}
	main, div.apiDocumentationContentSection {width: 70%;}
	aside {width: 24%; padding: 2rem 3%;}
	section.honors h3 a {max-width: 150px; padding: 0.5rem;}
}