/* General
========================================================================== */

:root {
	--background-color: #fff;
	--text-color: #1d1d1f;
	--anchor-color: #0088CC;
	
	--accent-color: #db7000;

	--header-anchor-color: #555;
	--header-anchor-color-selected: var(--accent-color);
	--header-anchor-color-hover: var(--anchor-color);
	--header-height: 50px;
	
	--footer-text-color: #999;
	--footer-anchor-color: #555;
	--footer-anchor-color-hover: var(--anchor-color);

	--pro-text-color: royalblue;
	--standard-text-color: #e60000;
	--core-text-color: green;
}

*, *:before, *:after {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
html {
	font: 125%/1.5 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir, "Helvetica Neue", Helvetica, sans-serif;
	font-weight: 400;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	background-color: var(--background-color);
	height: 100%; /* supports footer at bottom */
}
body {
	margin: 0;
	padding: 0;
	font-size: .9rem;
	color: var(--text-color);
	position: relative; min-height: 100%; /* supports footer at bottom */
}
a {
	text-decoration: none;
	color: var(--anchor-color); 
}
a:hover {
	text-decoration: underline; 
}

header {
	position: sticky;
	top: 0px;
	background-color: rgba(255, 255, 255, .9);
	z-index: 99 !important;
}
@supports ((-webkit-backdrop-filter: blur(2em)) or (backdrop-filter: blur(2em))) {
	header { -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); background-color: rgba(255, 255, 255, .7); }
}
.sticky-header {
	border-bottom: 1px solid rgba(0,0,0,.1);
}
header nav {
	margin: 0;
	height: var(--header-height);
}
header nav ul {
	margin: 0 1em 0 1em;
	padding: 0;
}
header nav ul li {
	display: inline-block;
	font-size: 0.8em;
}
header nav > ul > li > a {
	letter-spacing: 1px;
	color: var(--header-anchor-color);
	display: block;
	padding: 0 0.3em;
	margin: 1em 0.1em;
	transition-property: color, background-color;
	transition-duration: 0.4s;
}
@media (min-width: 500px) {
	header nav > ul > li > a { padding: 0 0.8em; }
}
header nav > ul > li > a:visited { color: auto; }
header nav > ul > li > a:hover {
	color: var(--header-anchor-color-hover);
	text-decoration: none;
	transition-property: color;
	transition-duration: 0.1s;
}
header nav .selected, header nav .selected:visited {
	color: var(--header-anchor-color-selected);
	border-bottom: 1px solid var(--header-anchor-color-selected);
}

/* Adjusts any id anchors within sections (but not within the header) so jumps aren't hidden by sticky header */
section [id] { scroll-margin-top: calc(var(--header-height) + 10px); }

footer {
	position: absolute; right: 0; bottom: 0; left: 0; padding: 1em 0; /* supports footer at bottom */
}
footer ul {
	padding: 0 0.3em;
	text-align: center;
}
footer ul li {
	display: inline-block;
	font-size: 0.5em;
	font-weight: normal;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--footer-text-color);
	margin: 0 0.5em;
	padding: 0;
}
@media (min-width: 800px) {
	footer ul { padding: 0; }
	footer ul li { font-size: 0.6em; margin: 0 1em; }
}
footer > ul > li > a {
	color: var(--footer-anchor-color);
	display: block;
	transition-property: color;
	transition-duration: 0.4s;
}
footer > ul > li > a:hover {
	color: var(--footer-text-color-hover);
	text-decoration: none;
	transition-property: color;
	transition-duration: 0.2s;
}

section {
	border-top: 1px solid rgba(0,0,0,.1);
	padding: 2.5rem 0;
	counter-reset: sectionli;
}
section:before, section:after {
	content: ' ';
	display: table;
}
section:before, section:after {
	clear: both;
}
section:first-of-type { border-top: none; }
section.pageContent { padding-top: 0; padding-bottom: 3em; } /* supports footer at bottom */
section .content {
	padding: 3em;
}

.right { float: right; }

.container {
	margin: 0 auto;
	max-width: 55rem;
	width: 90%;
}
.maxcontainer { 
	margin: 0 auto;
	max-width: auto;
	width: 100%; 
}

form { margin: 1rem 0 1rem 0; }

h1, h2 {
	font-weight: normal;
	margin: 1.5rem 0 1rem 0;
	text-align: center;
	color: #222; 
}
h1:first-of-type { margin-top: 0; }
h1 { font-size: 1.6em; font-family: ui-rounded, ui-sans-serif, system-ui, "Avenir-Medium", "Helvetica Neue", Helvetica, sans-serif; font-weight: 500; }
h2 { font-size: 1.3em; font-family: ui-rounded, ui-sans-serif, system-ui, "Avenir-Medium", "Helvetica Neue", Helvetica, sans-serif; font-weight: 500; }
h3 { font-size: 1.2em; font-family: ui-sans-serif, system-ui, "Avenir-Medium", "Helvetica Neue", Helvetica, sans-serif; font-weight: 500; }
h4 { font-size: 1.1em; font-family: ui-sans-serif, system-ui, "Avenir-Medium", "Helvetica Neue", Helvetica, sans-serif; font-weight: 500; }
h5 { font-size: 1.0em; font-family: ui-sans-serif, system-ui, "Avenir-Medium", "Helvetica Neue", Helvetica, sans-serif; font-weight: 500; }
h6 { font-size: 1.0em; font-family: ui-sans-serif, system-ui, "Avenir-Medium", "Helvetica Neue", Helvetica, sans-serif; font-weight: 500; }
@media (min-width: 20rem) {
	h1 { font-size: 2em; }
	h2 { font-size: 1.6em; }
	h3 { font-size: 1.4em; }
	h4 { font-size: 1.2em; }
	h5 { font-size: 1.0em; }
}
@media (min-width: 40rem) {
	h1 { font-size: 2.8em; }
	h2 { font-size: 2em; }
	h3 { font-size: 1.8em; }
	h4 { font-size: 1.4em; }
	h5 { font-size: 1.2em; }
}
h3, h4, h5, h6 {
	text-align: left;
	margin: .5rem 0 .1rem 0;
	color: #222; 
}
h6 { font-size: .9rem; font-style: italic; color: #222; }

ol h1, ol h2, ol h3, ol h4, ol h5, ol h6 { margin-top: 0; } /* heading in lists, no top margin */

p + h1, p + h2, p + h3, ul + h1, p + h2, ul + h3 {
	margin-top: 2rem;
}
p + h4, ul + h4 {
	margin-top: 1.5rem;
}
h1 + p.subheading {
	margin-top: -.5rem;
	margin-bottom: 1.7rem;
}
p {
	margin: 0 auto;
}
p + p, p + table, table + p, p + ul, p + ol, ul + p, ol + p  {
	margin-top: .8rem;
}
p.subheading {
	color: #999;
	font-size: 1rem;
	text-align: center;
	line-height: 1.3em;
}

b {
	font-family: ui-sans-serif, system-ui, "Avenir-Medium", "Helvetica Neue", Helvetica, sans-serif;
	font-weight: 500;
}

dt { margin: .5rem 0; font-weight: 600; color: #333;}

ul {
	margin: 0;
	text-align: left;
}
ol {
	margin: 0;
	text-align: left;
}

img.left { float: left; margin: 2px 20px 6px 0; }
img.right { float: right; margin: 2px 0 6px 20px; }
img.center { display: block; margin: 20px auto; }
img.across { margin: 2px 0 16px 0; }

.emoji {
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "NotoColorEmoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols"
}

.button {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background: none;
	border-radius: 4px;
	border: 1px solid #2980b9;
	color: #2980b9;
	cursor: pointer;
	display: block;
	font-size: .8em;
	font-weight: normal;
	padding: 0.2em 1em;
	margin: 5px 0 10px;
	vertical-align: middle;
	white-space: nowrap;
	text-align: center;
	box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 0px 0px, rgba(0, 0, 0, 0.25) 0px 1px 0px -1px, rgba(0, 0, 0, 0.25) 0px 1px 1px -1px, rgba(0, 0, 0, 0.25) 0px 1px 2px -1px, rgba(0, 0, 0, 0.25) 0px 2px 4px -2px, rgba(0, 0, 0, 0.25) 0px 3px 6px -3px, inset 0 1px 1px 0 rgba(255, 255, 255, .40);
	text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.button:hover { background-color: #2980b9; color: #fff; text-decoration: none; box-shadow: none; }

.button.ok { border-color: #0075b4; color: #0075b4; }
.button.ok:hover { background-color: #0075b4; color: #fff; }

.button.inactive { border-color: #aaa; color: #aaa; }
.button.inactive:hover { cursor: default; background-color: #fff; border-color: #aaa; color: #aaa; box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), inset 0 1px 1px 0 rgba(255, 255, 255, 0.5); }

@media (min-width: 40rem) {
	.button { display: inline-block; font-size: .9rem; }
}

code {
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, Courier, monospace;
	font-size: .7rem;
	background: #f7f7f7;
	border: 1px solid #d8d8d8;
	padding: 2px 4px;
}
.code {
	display: block;
	padding: 5px;
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, Courier, monospace;
	font-size: .7rem;
	margin: .5rem 0;
	background: #f7f7f7;
	border: 1px solid #d8d8d8;
	border-radius: 6px;
	white-space: pre;
	tab-size: 3;
}
.code.wrap {
	white-space: pre-wrap;
}
.inlineHighlight {
	background-color: #f0f6fc;
	padding: 1px 2px 1px 2px;
	border: 1px solid #d2dce6;
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, Courier, monospace;
	line-height: 20px;
}
.importantNotice {
	display: block;
	background-color: #fff3f0;
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #CF9999;
	border-left: 5px solid #800;
	border-radius: 6px;
}
.blueNotice {
	display: block;
	clear: both;
	background-color: #e1edff;
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #000f75;
	border-left:thick solid #008;
	border-radius: 6px;
}
.betaNotice {
	display: block;
	background-color: #f2e1ff;
	color: #000;
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #DEB3FF;
	border-left: 5px solid #DEB3FF;
	border-radius: 6px;
}
.tldrNotice {
	display: block;
	background-color: #fff2e1;
	padding: 10px;
	margin: 10px 0;
	border: 1px solid var(--accent-color);
	border-left: 5px solid var(--accent-color);
	border-radius: 6px;
}
.quote {
	display: block;
	background-color: #e5ffcc;
	padding: 10px;
	line-height: 16px;
	margin: 10px 0;
	border: 1px solid #999999;
	border-radius: 6px;
	font-size: .8rem;
	font-style: italic;
}
.quote a {
	font-style: normal;
}
.inlineMASIcon { height: 1.1em; position: relative; top: 2px; }
.highlighterGreen { background-color: rgba(39, 243, 106, 0.1) }
.highlighterYellow { background-color: rgba(239, 240, 66, 0.3) }
mark { background-color: rgba(255, 255, 0, 0.3); color: unset; }
.filename {
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, Courier, monospace;
	font-size: 110%;
}
.shadow {
	border: 1px rgba(0,0,0,0.3) solid;
	margin: 0 0 15px 0;
	box-shadow: 5px 5px 10px #888;
}
.borderlessShadow {
	-webkit-box-shadow: 5px 5px 10px #888;
	-moz-box-shadow: 5px 5px 10px #888;
	box-shadow: 5px 5px 10px #888;
}
.keyShortcut { display: inline-block; font-family: ui-monospace, "SF Mono", Menlo, Consolas, Courier, monospace; font-size: 0.9em; text-align: center; background-color: #fafafa; border: 1px solid; border-color: #bbb; border-radius: 3px; padding: 1px 5px; vertical-align: 1px; }

ul.custom-bullets, ol.custom-bullets {
	display: inline-block;
	list-style: none;
	margin: 0 0 0 1em;
	padding: 0 0 0 .5em;
}
ul.custom-bullets > li, ol.custom-bullets > li { clear:left; }
ol.custom-bullets { counter-reset: liNum; }
ol.custom-bullets > li { counter-increment:liNum 1; }
ul.custom-bullets > li:before, ol.custom-bullets > li:before {
	content: "";
	height: 1em;
	width: 1em;
	float: left;
	margin: .2em 0 0 -1.5em;
}
ol.custom-bullets > li:before{
	content: counter(liNum);
	text-align: center;
}
ul.custom-bullets li:not(:last-child) { margin-bottom: 0.5em; }


/* Editions
========================================================================== */
.proPill, .standardPill, .corePill, .updatePill, .betaPill { display: inline-block; text-transform: uppercase; font-size: 0.7em; font-weight: 500; text-align: center; border: 1px solid; border-radius: 3px; padding: 2px 5px 2px; line-height: 1; margin: 0 0.1em; vertical-align: 1px; }
.proPill { background-color: #edf3fe; color: royalblue; border-color: royalblue; }
.proPill:before { content: "Pro"; }
.standardPill { background-color: #ffdacd; color: #e60000; border-color: #e60000; }
.standardPill:before { content: "Standard"; }
.corePill { background-color: #c9ddc9; color: green; border-color: green; }
.corePill:before { content: "Core"; }
.noPill { text-decoration: line-through; opacity: 0.25;}
.updatePill { background-color: #fff0ff; color: magenta; border-color: magenta; }
.updatePill a { color: inherit; }
.betaPill { background-color: #ffdfff; color: #df00ff; border-color: #e93be9; }
.betaPill:before { content: "Beta"; }

/* Tables
========================================================================== */
tr.odd { background: #fff; }
tr.even { background: #fcf6e2; }

table.simple {
	background: #fff;
	border-radius: 3px;
	border-collapse: collapse;
	margin: 1rem 0;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
	animation: float 5s infinite;
}
table.simple th {
	color: #fff;
	text-shadow: 0 1px 0 #38678f;
	font-weight: normal;
	background: #4682b4;
	box-shadow: inset 0px 1px 2px #568ebd;
	border: 1px solid #38678f;
	padding: .5rem;
	text-align: left;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
	vertical-align: middle;
}
table.simple tr {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.1);
}
table.simple tr:first-child { border-top:none; }
table.simple tr:last-child { border-bottom:none; }
table.simple.striped tr:nth-child(odd) td { background: #eee; }
table.simple tr:last-child td:first-child { border-bottom-left-radius: 3px; }
table.simple tr:last-child td:last-child { border-bottom-right-radius: 3px; }
table.simple td {
	background: #fff;
	padding: .5rem;
	text-align: left;
	vertical-align: middle;
	border-right: 1px solid #ccc;
}
table.simple td:last-child { border-right: 0px; }
table.simple td.left { text-align: left; }
table.simple td.center { text-align: center; }
table.simple td.right { text-align: right; }

/* Grid - http://www.adamkaplan.me/grid/
========================================================================== */
.column { margin-bottom: .5rem; }
@media (min-width: 40rem) {
	.column {
		float: left;
		margin: 0;
	}
	.column.pad {
		padding-left: 1rem;
		padding-right: 1rem;
	}
	.column.gutter { padding-left: 1rem; }
	.column.full { width: 100%; }
	.column.three-fourths { width: 75%; }
	.column.two-thirds { width: 66.7%; }
	.column.half { width: 50%; }
	.column.third { width: 33.3%; }
	.column.fourth { width: 25%; }
	.column.fifth { width: 20%; }
	.column.flow-opposite { float: right; }
}

.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}
.clearfix:after { clear: both; }
.forceclear { clear: both; }

/* article
========================================================================== */
.article h1 { text-align: left; }

.article .container { max-width: 45rem; }
.article .important { color: #800; }

.article li { margin-bottom: 10px; }
.article li:last-child { margin-bottom: 0; }

.article h2 {
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	padding: 1rem 0;
	margin: 5rem 0 1rem;
	text-transform: uppercase;
	font-weight: normal;
	font-size: 2.4em;
	letter-spacing: 3px;
	text-shadow: 0px 3px 3px rgba(0,0,0,.2);
}
.article h3 {
	font-size: 2.1em;
	margin-top: 3rem;
	color: #376098;
	clear: both;
}
.article h4 { font-size: 1.6em; margin-top: 1rem; }
.article h5 { color: #376098; }
.article h6 { font-style: italic; }

.article .importantNotice > h4 { margin-top: 0; }
.article h2 + h3 { margin-top: 1rem; }

.article .navigator {
	position: absolute;
	top: calc(var(--header-height) + 10px);
	right: 2rem;
}
.article .navigator ul li {
	display: inline-block;
	font-size: 0.7em;
	margin: 0 0.8em;
}

.article strong { color: inherit; }
.article .executiveSummary { border: 3px double var(--accent-color); margin: 2em 0 1em; padding: 1em; }
.article details {
    padding: 1em 0;
    margin: 1em 0;
    border-top: 2px dashed var(--accent-color);
    border-bottom: 2px dashed var(--accent-color);
}
.article details summary::-webkit-details-marker { color: var(--accent-color); }
.article details summary:focus { outline-style: none; }
.article summary {
	color: var(--accent-color);
	font-size: 1.3em;
    font-weight: 500;
    cursor: pointer;
    margin-left: -1em;
}
.article details[open] summary ~ * {
	animation: detailsAnimation .5s ease-in-out;
}
@keyframes detailsAnimation {
	0%		{opacity: 0;}
	100%	{opacity: 1;}
}

