/* import some new fonts */
/* Pigiarniq
 * http://www.gov.nu.ca/english/font/
 */
@font-face {
	font-family: pigiarniq_bold;
	src: url('pigiarniq/pigiarniq_bold.ttf');
}
@font-face {
	font-family: pigiarniq_heavy;
	src: url('pigiarniq/pigiarniq_heavy.ttf');
}
@font-face {
	font-family: pigiarniq_italic;
	src: url('pigiarniq/pigiarniq_italic.ttf');
}
@font-face {
	font-family: pigiarniq_light;
	src: url('pigiarniq/pigiarniq_light.ttf');
}
@font-face {
	font-family: pigiarniq_regular;
	src: url('pigiarniq/pigiarniq_regular.ttf');
}

body {
	font-family: pigiarniq_regular;
	font-size: 10pt;
	
	/* counter-* is a CSS2 feature */
	counter-reset:section;
	counter-increment:section;

    max-width: 800px; margin-left: auto; margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
}

em {
	font-family: pigiarniq_italic;
}

strong {
	font-family: pigiarniq_bold;
}

p {
	text-align: justify;
}

object {
    display:block; max-width: 100%; margin-left: auto; margin-right: auto;
}

img {
    display:block; max-width: 100%; margin-left: auto; margin-right: auto;
}

.source {
	margin: 0px;
	text-align: right;
	font-size: 80%;
}

h1 {
	border: 2px solid #990000;
	margin-top: 5px;
	padding-left: 5px;
	#background-image: url(game.png);
	background-color: #990000;
	color: white;
  
	/* counter-* is a CSS2 feature */
	counter-reset: subsection;
}

h1:before {
	counter-increment:section;
	/* content: "Section " counter(section) ". "; */
}

h1.no_numbering:before {
	content: normal;
}

h2 {
	padding-left: 5px;
	border-bottom: 2px solid #990000;
  
	/* counter-* is a CSS2 feature */
	counter-reset: subsubsection;
}

h2:before {
	counter-increment: subsection;
	content: counter(section) "." counter(subsection) " ";
}

h2.no_numbering:before {
	content: normal;
}
h3 {
	padding-left: 5px;
	background-color: #ffefef;
}

h3:before {
	counter-increment:subsubsection;
	content:counter(subsubsection, upper-latin) ". ";
}

h3.no_numbering:before {
	content: normal;
}

th {
	padding-left: 2px;
	padding-right: 2px;
	background-color: #ffaaaa;
}

td {
	padding-left: 2px;
	padding-right: 2px;
	background-color: #ffcccc;
}

td.number {
	text-align: right;
}

math {
	font-family: sherif;
}

a.ref {
	font-family: pigiarniq_light;
	font-size: 10pt;
}

.anc {
    font-size: 75%;
    text-decoration: none; 
}

/* image caption support
 * - comparison of caption possibilities: http://www.cs.tut.fi/~jkorpela/www/captions.html
 * - using 'inline-block' CSS2.1: http://www.scaracco.net/en/article/25/css-gallery
 */
.image {
	display: table;
	background-color: white;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 10px;
}

.highlight {
	font-size: 80%;
	font-family: pigiarniq_light;
}
 
.image .caption {
	font-size: 80%;
	font-family: pigiarniq_light;
}

.terminal {
  border: 1px solid #ff6666;
  background-color: #ffcccc;
  font-family: "Courier New",Courier,monospace;
}

.foot {
	text-align: right;
	font-size: small;
	padding-right: 5px;
	padding-left: 5px;
	background-color: #ffecec;
	clear: both;
    visibility: hidden;
}

.help_bullet {
	list-style-image: url('help_icon.png');
}

.paper_box {
	background-image: url('research_paper_icon.png');
	background-repeat: no-repeat;
	padding-left: 100px;
	margin-bottom: 5px;
}

.thesis_box {
	background-image: url('phd_thesis_icon.png');
	background-repeat: no-repeat;
	padding-left: 100px;
	margin-bottom: 5px;
}

.algo_box {
	border: thin solid #cccccc;
	padding-right: 5px;
	margin-left: 0px;
	margin-bottom: 0px;
	background-color: #ffcccc;
	color: #ff9999;
}
.algo_box li {
	list-style-type: decimal-leading-zero;
	font-family: "Courier New",Courier,monospace;
	font-size: small;
	background-color: #ffffff;
	color: black;
}

.level1 {
	
}
.level2 {
	padding-left: 10px;
}
.level3 {
	padding-left: 20px;
}
.level4 {
	padding-left: 30px;
}
.level5 {
	padding-left: 40px;
}
.level6 {
	padding-left: 50px;
}
.level7 {
	padding-left: 60px;
}
