﻿
/**
	Document Map

	-- The reset (22)
	-- Globals (29)
	-- Links (49)
	-- Counters (64)
	-- Sectioned styles (88)
	-- Headings ()
	-- Paragraphs ()
	-- Lists ()
	-- Images ()
	-- Notes & tips ()
	-- Tables ()
	-- Return to top ()
	-- Navigation map ()
	-- Media queries ()
	-- Use the 'name' attribute for CSH assign-anchors; place it into an individual <a>. Use the 'id' attribute for navigation purposes; place it into a regular tag.

**/


/**  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);
}

BODY[lang="ja-JP"] {font-family: Verdana;}
body[lang="ja-JP"] ol,
body[lang="ja-JP"] ul,
body[lang="ja-JP"] p {
	line-height: 2;
	font-size: 1.561rem;
	letter-spacing: 2.53px;
}
body[lang="ja-JP"] ol > li {
	margin-bottom: 1.12rem;
}



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;
}

a.button[lang="en-US"] {width: 95px;}
a.button[lang="de-DE"] {width: 144px;}
a.button[lang="ja-JP"] {width: 85px;}

/** END OF LINKS **/

/** COUNTERS:
/** END OF **/

/** SECTIONED STYLES **/
body.sectioned {max-width: none;}
.section { /** Use only with body.sectioned. **/
	max-width: 910px;
	margin: 0 auto;
	counter-reset: list;
}
.container,
.container div {
	display: flex;
	justify-content: center;
}
.container {
	margin: 1.3em 0;
	flex-wrap: wrap;
	align-items: flex-end;
	column-gap: 1em;
}
.container div {
	flex-direction: column;
	align-items: center;
}
.container p,
.caption-image {
	font-size: 1.2rem;
	font-style: italic;
	text-align: center;
}
.container img {
	flex: none;
}
.container img,
.section img {
	max-width: 100%;
	height: auto;
}
.section img { /** This rule is perhaps unnecessary. **/
	display: block;
	margin: 7px 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: 3rem;
	margin-bottom: 1rem;
	padding-bottom: 2px;
}

h2 {
	font-size: 2.03rem;
   margin: 1.15rem 0 .35rem;
}
h2.lower { /** Currently not in use **/
	font-size: 2.4rem;
   margin-bottom: .55rem;
}
h3 {
	font-size: 1.53rem;
	font-weight: 600;
	border-bottom: 1px solid #333;
	padding-bottom: 6px;
	margin: 1.15rem 0 .35rem;
	color: #333;
}
h3.lower { /** Currently not in use **/
	font-size: 1.87rem;
   margin-bottom: .35rem;
}
/** END OF HEADINGS **/

/** PARAGRAPHS **/
ol, ul, p {
   font-size: 1.44rem;
   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.in-body.single-line { /** A single-line stand-alone <ul> **/
	margin-left: 2.4rem;}

ul > li, ul.in-body > li {
	list-style: disc;
	margin: 0 auto 1.2rem 0;
}

/** END OF LISTS **/

/** IMAGES **/
img {
   max-width: 100%;
		height: auto;
}
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.centered {
	display: block;
	margin: 5px auto;
}

	img.post-bullet {margin-left: 6.12rem;} /** An image that follows a bullet in an in-body <ul> **/

/** 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;
}
.caution {
	border-color: #f5c6cb;
	background-color: #f8d7da;
}
.tip {
	border-color: #d4edda;
	background-color: #c3e6cb;
}

div.notes { /** Notes at the bottom of a page **/
	padding: 4px;
}

div.notes > p {
	font-size: 1.6rem;
	font-weight: 200;
	margin: .24rem 0 .61rem;
	color: #000080;
	border-bottom: 1px solid;
	padding-bottom: 3px;
	letter-spacing: .4px;
}

div.notes > ul {
	font-size: 1.32rem;
	padding-left: 1.22rem;
}
div.notes ul li, p.example {margin-bottom: .36rem;}
div.notes p.example  { /** Paragraph between the <li> items in the Notes section. It is within the <ul>. **/
	font-size: 1.162rem;
	margin-left: 3.4rem;
}

/** END OF NOTES & TIPS **/

/** TABLES **/

/**

NOTE: In each particilar case, the first and second child <td>s may
require their own sizings as in-page style rules. Use a class or
a selector to target these elements. Or create two table
classes: .'two-columns' and 'three-columns'. Then create
rules for th:first-child and td:first-child.

**/
table {
	border: 1px solid #326891;
	padding: 4px;
	font-size: 1.2rem;
  	line-height: 1.4826;
  	font-family: Cambria, Georgia, Verdana, sans-serif;
  	border-collapse: separate;
  	border-spacing: 5px;
  	margin-top: .97rem;
  	margin-bottom: .97rem;
	letter-spacing: .2px;
}

table.in-step {margin-left: 2.82rem;}

table.three-columns th:first-child {width: 14%;} /** Table's first column holds icons. Their sizings are almost invariably identical. **/
table.three-columns td:first-child img {
	display: block;
	margin: 1px auto;
}

/** For tables with two columns, td:first-child width to be set in-page. **/

th:first-child, td:first-child {text-align: right;}

tr.group-heading {color: rgba(0, 0, 128, .9);} /** Text that refers to a group's title in the UI.
The color applies to both the <th> and the <td>. **/

th, td {
  padding: 4px;
  border: 1px solid #DEE4F0;
}
th {padding-right: 7px;}
tr:nth-child(even) {
  background-color: rgba(233, 226, 219, 0.2);
}

td ol, td ul {
	font-size: 1.2rem;
	padding-left: 1.56rem;
}
td ol li, td ul li {margin-bottom: .33rem;}

td p {
	margin: 2px;
	font-size: 1.2rem;
	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;
}
/** 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 **/
.navigation {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.45;
}

.map { /** Use only as a supplement to the 'navigation' class. **/
	font-size: .8531rem;
	padding: 6px;
	margin: 1.87rem auto;
	width: 88%;
	background-color: rgba(212, 237, 218, .4);
	border: 1px solid rgba(212, 237, 218, .4); /** Maybe use another color. **/
}

div.navigation.map.home-page {width: 100%;}

.map > p {
	margin: 0; /** Is this necessary? **/
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 500;
	font-size: 1.22rem;
}

.navigation > a {
	font-size: 1.2rem;
	border-bottom: 1px solid #326891;
	margin: .5rem 0; /** Investigate. **/
	padding-right: 5px;
	letter-spacing: 0.3px;
	}
.map > a:hover,
.map > a:active {border-bottom-color: transparent;}

/** END OF **/

/** COLLAPSIBLE **/
.content {
	margin-bottom: 10px;
   max-height: 0;
   overflow: hidden;
   transition: max-height 0.2s ease-out;
}

.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);}

/** END OF **/

/** MEDIA QUERIES **/
@media screen and (max-width: 895px) {
	h2 {font-size: 2.16rem;}
	h1 {font-size: 2.25rem;}
}
@media screen and (max-width: 874px) {
	p, ol, ul, .comment {font-size: 1.3rem;}
	div.notes > p {font-size: 1.48rem;}
	.notes ul p.example {font-size: 1.092rem;}
	p.do-following {font-size: 1.44rem;}
	h2 {font-size: 1.9rem;}
	h1 {font-size: 2.13rem;}
	h3 {font-size: 1.3rem;}
	div.notes ul {font-size: 1.22rem;}
	table, td p, table ol, table ul  {
		font-size: 1.09rem;
		line-height: 1.53;
	}
	th:first-child {width: 21%;}
	th {
		padding-right: 5px;
		font-size: 1.09rem;
	}
	.map {width: 95%;}
	div.map a {font-size: 1.138rem;}
}
/** END OF **/