﻿/**  THE RESET **/

* {
	margin: 0;
	padding: 0;
   box-sizing: border-box;
}
/**  GLOBALS **/
html {
	padding: 1.74rem 2.4rem 2.4rem;
	scroll-behavior: smooth;
}
BODY {
   max-width: 910px;
   margin: 0 auto;
   font-family: Cambria, 'Times New Roman', serif;
	font-size: 62.5%;
	line-height: 1.5;
	color: #333;
	background-color: rgba(249, 249, 249, .3);
}

html, body, p, ul, li {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}
/** END OF **/

/** LINKS **/
A:link,
A:visited {
   padding: 1px 2px 3px;
	color: #326891;
	text-decoration: none;
	border-bottom: 1px solid #326891;
}
A:hover,
A:active {
	border-bottom: none;
	color: #e23923;
}

/** END OF LINKS **/
/** SECTIONED STYLES **/
body.sectioned {max-width: none;}
.section { /** Use only with body.sectioned. **/
	max-width: 910px;
	margin: 0 auto;
}
.section img {
	max-width: 100%;
	height: auto;
}

/** END OF **/
/** HEADINGS **/

h1, h2, h3, div.notes > p {
	font-family: "Segoe UI Semilight", Cambria, Georgia, Arial, Helvetica, sans-serif;
	line-height: 1.34;
	font-weight: normal;
   font-style: normal;
	color: #000080;
}

h1 {
	font-size: 1.82rem;
	margin-bottom: 1rem;
	padding-bottom: 2px;
}

h2 {
	font-size: 1.44rem;
   margin: 1.15rem 0 .35rem;
}

h3 {
	font-size: 1.53rem;
	font-weight: 600;
	border-bottom: 1px solid #333;
	padding-bottom: 6px;
	margin: 1.15rem 0 .35rem;
	color: #333;
}

/** END OF HEADINGS **/
/** PARAGRAPHS **/
ol, ul, p {
   font-size: 1.24rem;
   letter-spacing: .15px;
}
p {
	margin-bottom: .75rem;
	padding: 0 2px;
	line-height: 1.55;
}

p.do-following {
	font-size: 1.73rem;
	margin: 2.4rem auto 1.7rem 0;
	color: #000080;
	border-bottom: 1px solid #000080;
	padding-bottom: 3px;
	letter-spacing: .33px;
}
p.post-li-note, p.in-step, p.dialog-appears {margin-left: 2.4rem;}

/** END OF PARAGRAPHS **/
/** LISTS **/
ol {
   margin: 1.22rem auto 1.3rem 1.8rem;
   padding-left: .73rem;
}
ol > li {margin-bottom: 1.42rem;}

ol > li > ul {
	margin-left: 2rem;
	padding-left: 0;
}
ol > li > ul > li:first-child {margin-top: 1.42rem;}

ul.intro { /** A stand-alone <ul> in the intro section **/
	margin: 1.3rem auto 1.3rem 4rem;
	padding-left: 0;
}

ul.in-body { /** A stand-alone <ul> within a procedure. **/
	margin: 12px auto 1.42rem 6rem;
   padding-left: 0;
}

ul > li, ul.in-body > li {
	list-style: disc;
	margin: 0 auto 1.2rem 0;
}

td ol, td ul, td p.note {font-size: inherit;}
td ol li, td ul li {list-style-type: none;}

/** END OF LISTS **/
/** IMAGES **/
img {
	max-width: 100%;
	height: auto;
}
img.centered {
	display: block;
	margin: 5px auto;
	border: 1px solid #808080;
	padding: 4px;
}
img.inline {
	display: inline;
	margin: 0;
}
img.image-procedure {
	display: block;
	margin: 0 auto 1.42rem 2.73rem;
}

img.bordered {
	border: 1px solid #c0c0c0;
}

img.desktop {display: none;}

/** END OF IMAGES **/
/** NOTES & TIPS **/

.comment {
	line-height: 1.4;
	padding: .59rem;
	border-radius: 1px;
	margin-bottom: .75rem;
	font-size: 1.44rem;
	letter-spacing: .23px;
	color: #333;
}

p.comment.in-step {
	margin-bottom: 1.42rem;
}
p.comment.in-ul {margin-left: 70px;}
p.comment.in-ol {margin-left: 2.7rem;} /** Add this between the <li>s but use separate <ol>s. **/

p.comment span {letter-spacing: 1.15px;}
.note {
	background-color: #d1ecf1;
	border-color: #ffeeba;
}
.important {
	border-color: #ffeeba;
	background-color: #fff3cd;
}

.tip {
	border-color: #d4edda;
	background-color: #c3e6cb;
}


/** END OF NOTES & TIPS **/

/** TABLES **/
table {
	width: 100%;
	border: 1px solid #ff0000;
	padding: 4px;
	font-size: 1.04rem;
 	font-family: Cambria, Georgia, Verdana, sans-serif;
	border-collapse: separate;
	border-spacing: 5px;
}


table.navigation, th, .desktop, span.desktop {display: none;}

tr {
   display: block;
   margin-bottom: .625em;
  }

.table tr:nth-child(even) {background-color: rgba(233, 226, 219, 0.2);}

td {
   display: block;
   text-align: left;
   border: 1px solid #DEE4F0;
   border-bottom: none;
   padding: 3px;
}
td:last-child {border-bottom: 1px solid #DEE4F0;}

td::before {
   content: attr(data-label)":";
   float: left;
   font-weight: bold;
   text-transform: uppercase;
   letter-spacing: .35px;
   margin-right: .3rem;
}

td:first-child::before {content: attr(data-label)"";}

/** END OF **/

/** RETURN TO TOP **/
a.button {
	display: block;
	width: 109px;
	font-family: Arial, sans-serif;
	font-size: .75rem;
	line-height: 1.71;
	font-weight: bold;
	text-decoration: none;
	text-transform: uppercase;
	margin: 2rem 0 25px auto;
	text-align: right;
	letter-spacing: .5px;
	border-bottom: 1px solid #326891;
	padding: 3px 0 3px 3px;
}
a.button:hover {border-bottom-color: #e23923;}
/** END OF **/

/** NAVIGATION MAP **/

div.home {display: block;}

div.navigation {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	line-height: 1.45;
}

div.navigation > a {
	font-size: 1.2rem;
	margin: 0 0 .5rem; /** Investigate. **/
	padding-right: 5px;
	letter-spacing: 0.3px;
	font-family: Arial, Georgia, monospace, sans-serif;
	line-height: 1.2;
	letter-spacing: .771px;
	color: rgba(25, 34, 25, .8);
	background-color: rgba(172, 192, 207, .45);
	padding: .67rem;
	font-size: 1rem;
	cursor: pointer;
	border-bottom: none;
}
/** END OF **/

/** COLLAPSIBLE **/
.collapsible {
	max-width: 910px; /** Check whether it is the right value. **/
	margin: .85rem auto;
	cursor: pointer;
}
.collapsible.active {background-color: rgba(240, 128, 128, .21);}

.content {
	margin-bottom: 10px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
}

/** END OF **/

/** MEDIA QUERIES **/

@media screen and (min-width: 1024px) {
	div.home, table.mobile, img.mobile {display: none;}
	table.navigation, table.desktop {display: table;}
	span.desktop {display: inline;}
	p, ol, ul {font-size: 1.5rem;}
	div.notes > p {font-size: 1.48rem;}
	p.do-following {font-size: 1.44rem;}
	h2 {font-size: 2.3rem;}
	h1 {font-size: 3rem;}
	h3 {font-size: 1.3rem;}
	div.notes ul {font-size: 1.22rem;}
	table {
		border: 1px solid #326891;
		font-size: 1.26rem;
	  	margin-top: .97rem;
	  	margin-bottom: .97rem;
		letter-spacing: .2px;
		line-height: 1.53;
	}

tr {display: table-row;}
tr:nth-child(even) {background-color: rgba(233, 226, 219, 0.2);}
th, td {
	display: table-cell;
	padding: 4px;
	border: 1px solid #DEE4F0;
}
td::before {content: "";}

th {
	padding-right: 7px;
	width: 50px;
	text-align: left;
}

table.three-columns td:first-child img {
	display: block;
	margin: 1px auto;
}

td ol, td ul {
	font-size: 1.26rem;
	padding-left: 1.56rem;
}
td ol li, td ul li {
	margin-bottom: .33rem;
}

td p {
	margin: 2px;
	line-height: 1.4826;
	font-family: Cambria, Georgia, Verdana, sans-serif;
}
td p.tip {
	background-color: #c3e6cb;
	padding: 3px;
	border-color: #d4edda;
}
td p.note {
	padding: 3px;
	background-color: #d1ecf1;
	border-color: #ffeeba;
	font-size: 1.26rem;
}
img.desktop {display: block;}
}
/** END OF **/
