
/* Load */

@import url('../fonts/fontpackMontserrat.css');
@import url('../fonts/fontpackRoboto.css');

/* Setup */

body, div, main, section, article {
	box-sizing: border-box; 
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

body {
	background-image: url("../img/branding/docdots.png");
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	background-position: center;
	background-position: center;
	background-color: #aaaaaa;
}

.docThings {
	width: 800pt;
	max-width: 98%;
	margin: 0pt auto 0pt;
	padding: 72px;
	background-color: #ffffff;
}

/* Images */

img {
	max-width: 98%;
}

header img {
  width: 500px;
  max-width: 98%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.asideImg {
	width: 150pt;
	display: block;
	margin-top: -8px;
	padding: 8px;
	float: right;
}

.headingImg { /* not to be confused with "header img". */
	width: 624pt;
	display: block;
	margin: 0px 8px 8px;
	text-align: center;
}

.buttonRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0px;
}
.buttonRow img {
  width: 80px;
  max-width: 98%;
  margin: 0px 24px;
}

/* Text Formatting */

p, .subtitle, li, h4, h5, h6, .docMenuList a {
	font-family: "Roboto";
}

.title, h1, h2, h3 {
	font-family: "Montserrat";
}

ol, ul {
	margin: 0;
	padding: 0;

	padding-top: 0pt;
	margin-left: 36pt;
	padding-bottom: 0pt;
	line-height: 1.15;
	text-align: left;
}

ol { /* still nasty */
	list-style-type: decimal;
}
ol > li > ol {list-style-type: lower-alpha;}
ol > li > ol > li > ol {list-style-type: lower-roman;}

ul {
	list-style-type: disc;
}
ul > li > ul {list-style-type: circle;}
ul > li > ul > li > ul {list-style-type: square;}

li {
	color: #000000;
	font-size: 11pt;
	min-width: 18pt;
	line-height: 1.5;
}
table td, table th {padding: 0;}

.title {
	padding-top: 0pt;
	color: #311055;
	font-weight: 700;
	font-size: 26pt;
	padding-bottom: 3pt;

	line-height: 1.15;
	page-break-after: avoid;
	text-align: left;
}
.subtitle {
	padding-top: 0pt;
	color: #000000;
	font-size: 9pt;
	padding-bottom: 0pt;

	line-height: 1.15;
	page-break-after: avoid;
	font-style: italic;
	text-align: left;
}

p {
	margin: 0;
	color: #000000;
	font-size: 11pt;
	padding-top: 0pt;
	padding-bottom: 0pt;

	line-height: 1.5;
	text-align: left;
}
h1 {
	padding-top: 16pt;
	color: #000000;
	font-weight: 600;
	font-size: 20pt;
	padding-bottom: 4pt;

	line-height: 1.15;
	page-break-after: avoid;
	text-align: left;
}
h2 {
	padding-top: 16pt;
	color: #000000;
	font-weight: 500;
	font-size: 16pt;
	padding-bottom: 4pt;

	line-height: 1.15;
	page-break-after: avoid;
	text-align: left;
}
h3 {
	padding-top: 16pt;
	color: #614d77;
	font-weight: 400;
	font-size: 14pt;
	padding-bottom: 4pt;

	line-height: 1.15;
	page-break-after: avoid;
	text-align: left;
	text-decoration: none;
	vertical-align: baseline;
	font-style: normal;
}
h4 {
	padding-top: 14pt;
	color: #666666;
	font-weight: 400;
	font-size: 12pt;
	padding-bottom: 4pt;

	line-height: 1.15;
	page-break-after: avoid;
	text-align:left;
}
h5 {
	padding-top: 12pt;
	color: #666666;
	font-weight: 400;
	font-size: 11pt;
	padding-bottom: 4pt;

	line-height: 1.15;
	page-break-after: avoid;
	text-align: left;
}
h6 {
	padding-top: 12pt;
	color: #614d77;
	font-weight: 400;
	font-size: 11pt;
	padding-bottom: 4pt;
	margin-top: 1.67em;
	margin-bottom: 1.67em;

	line-height: 1.15;
	page-break-after: avoid;
	font-style: italic;
	text-align: left;
}

/* Link Options */

a {
  text-decoration: none;
  color: #614d77;
}
a:hover {
  text-decoration: underline;
  color: #630fbf;
}

/* Menus */

.docMenuMain {
	display: inline-block;
}

.docMenuToggle {
	position: fixed;
	top: 0;
	right: 0;
	height: 96px;
	width: 96px;

	background-color: #5c4f52;
	border: none;
	cursor: pointer;

	transition-duration: 0.2s;
}

.docMenuToggle img {
	height: 80px;
	transition-duration: 0.2s;
}

.docMenuList {
	position: fixed;
	top: 96px;
	right: 0;
	width: 340px;
	max-width: 50%;
	max-height: 50%;
	overflow: auto;

	/* Hides scrollbar for doc menu on Microsoft browsers and Firefox, respectively. */
	-ms-overflow-style: none;
	scrollbar-width: none;

	display: none;
}

.docMenuList a {
	display: block;
	padding: 16px;
	
	text-decoration: none;
	background-color: #5c4f52;

	color: #ffffff;
	font-size: 12pt;

	transition-duration: 0.2s;
}

.docMenuToggle:hover, .docMenuList a:hover {
	background-color: #42383a;
}

.docMenuToggle:hover > img {
	transform: rotate(180deg);
}

/* Hides scrollbar for doc menu on Chrome, Safari, and Opera. */
.docMenuList::-webkit-scrollbar {
	display: none;
}

.show {display: block;}