@import url("./chapter_numbers.css");
h1{
	border-bottom:double black 5px;
	font-family:"Copperplate Gothic Light", serif;
	text-align:center;
	line-height:1.3;
}
ol{list-style-type:none;}
li{margin-top:5px;}
li.part{font-weight:bold;}
li:before{display:inline-block;}

/*  Corresponds to h1 */

li.chapter, li.appendix, li.beginning{
	font-weight:normal;
	counter-reset: sec_num;
}

li.chapter:before{
	content: counter(chap_num) ".";
}
li.appendix:before{content:counter(app_num, upper-alpha) ".";}


li.chapter:before, li.appendix:before{
	width:1.5em;
	counter-reset:sec_num;
}

/*  Corresponds to h2  */

li.section{
	counter-increment:sec_num;
	counter-reset:subsec_num;
}
li.section:before{width:2.5em;}
li.chapter li.section:before{content: counter(chap_num) "." counter(sec_num) ".";}
li.appendix li.section:before{content: counter(app_num, upper-alpha) "-" counter(sec_num) ".";}

/*  Corresponds to h3 */

li.subsection{
	counter-increment:subsec_num;
	counter-reset:sub2sec_num;
}

li.subsection:before{width:3.5em;}

li.chapter li.subsection:before{content: 
	counter(chap_num) "." 
	counter(sec_num) "." 
	counter(subsec_num) "."
;}

li.appendix li.subsection:before{content:
	counter(app_num, upper-alpha) "-"
	counter(sec_num) "." 
	counter(subsec_num) "."
;}

/*  Corresponds to h4 */

li.subsec_l2{
	counter-increment:sub2sec_num;
	counter-reset:sub3sec_num;
}

li.subsec_l2:before{width:4.5em;}

li.chapter li.subsec_l2:before{content: 
	counter(chap_num) "." 
	counter(sec_num) "." 
	counter(subsec_num) "."
	counter(sub2sec_num) "."
;}

li.appendix li.subsec_l2:before{content:
	counter(app_num, upper-alpha) "-"
	counter(sec_num) "." 
	counter(subsec_num) "."
	counter(sub2sec_num) "."
;}

/*  Corresponds to h5  */

li.subsec_l3{
	counter-increment:sub3sec_num;
	counter-reset:sub4sec_num;
}

li.subsec_l3:before{width:5.5em;}

li.chapter li.subsec_l3:before{content: 
	counter(chap_num) "." 
	counter(sec_num) "." 
	counter(subsec_num) "."
	counter(sub2sec_num) "."
	counter(sub3sec_num) "."
;}

li.appendix li.subsec_l3:before{content:
	counter(app_num, upper-alpha) "-"
	counter(sec_num) "." 
	counter(subsec_num) "."
	counter(sub2sec_num) "."
	counter(sub3sec_num) "."
;}


/*  Corresponds to h6 */

li.subsec_l4{counter-increment:sub4sec_num;}
li.subsec_l4:before{width:6.5em;}
li.chapter li.subsec_l4:before{content: 
	counter(chap_num) "." 
	counter(sec_num) "." 
	counter(subsec_num) "."
	counter(sub2sec_num) "."
	counter(sub3sec_num) "."
	counter(sub4sec_num) "."
;}

li.appendix li.subsec_l4:before{content:
	counter(app_num, upper-alpha) "-"
	counter(sec_num) "." 
	counter(subsec_num) "."
	counter(sub2sec_num) "."
	counter(sub3sec_num) "."
	counter(sub4sec_num) "."
;}

#Outline_Menu{height:40px;}

#Outline_Menu .container{
	border:3px double black;
	font-variant:small-caps;
	font-size:110%;
	padding:10px;
	margin:10px 40px;
	text-align:center;
	height:40px;
}

#Outline_Menu .all, #Outline_Menu .none{cursor:pointer;}
#Outline_Menu .chap{
	border-width:0 1px;
	border-color:black;
	border-style:solid;
	margin:0 10px;
	padding:10px;
	cursor:pointer;
}

button{
	width:2em;
	margin-right:0.5em;
	background:white;
	border:1px solid black;
	font-family:"Courier New", monospace;
	padding:0;
}
#MainPage{
	font-variant:small-caps;
	margin:20px;
	margin-left:40px;

}
@media print{
	a{
		text-decoration:none;
		color:black;
	}
}
