/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

/*
RESOURCES:
Styles' priorities:
http://monc.se/kitchen/38/cascading-order-and-inheritance-in-css

*/

/* 
   Inactive scrollbar will appear even on pages with little content,
   so position of common elements on related pages will be constant 
*/

html { overflow-y: scroll; }

/* 
   Declaring default font in the body saves hassle with setting it 
   for all the elements 
*/

body {
	line-height: 1em;   /* we want to use ems, not px, for responsive design */
	font-size:100%;
	text-align:center;  /* IE hack for centering content */
	background:#ffffff;
	color:#333333;      /* we decrease contrast somewhat */
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue, Helvetica, Arial, "Lucida Grande",
	sans-serif;
}

/* pseudoclass for outputting text in several columns */
.columns {
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2;    /* Firefox */
    column-count: 2;
    -webkit-column-gap: 2em;
    -moz-column-gap: 2em;
    column-gap: 2em;
    padding:1em;	
}  

/* we don't need columns on a narrow display */
@media all and (max-width: 900px){
   .columns {
       -webkit-column-count: 1; /* Chrome, Safari, Opera */
       -moz-column-count: 1;    /* Firefox */
       column-count: 1;
   }
}

b, dfn, strong {
	font-weight:bold;   /* restore bolds */
}

em, i, dfn {
	font-style: italic; /* restore italics */
}

img {
   max-width: 100%;                 /* maximum width relative to the parent */
   width: auto\9;                   /* IE hack */
   height: auto;                    /* prevent stretching */
   -ms-interpolation-mode: bicubic; /* another IE hack */
   border: 0;                       /* for older IE browsers that draw borders around images */
}

a:active, a:focus { outline:none; }  /* remove active link borders */

/* ensure good proportions between lines of the text */

h1 {
    font-size: 3.2em;
    line-height: 1em; 
    margin-bottom: .5em; 
}
h2 {
    font-size: 2.4em; 
    line-height: 1.333333333333333em;
    margin-bottom: .6666666666666667em;
}
h3 {
    font-size: 1.6em; 
    line-height: 1em; 
    margin-bottom: 1em; 
}
h4 {
    font-size: 1.4em; 
    line-height: 1.142857142857143em; 
    margin-bottom: 1.142857142857143em; 
}
h5 {
    font-size: 1.125em; 
    line-height: 1.333333333333333em;
    margin-bottom: 1.333333333333333em;
}

p, ul, ol, code{
    text-align:justify;
    font-size: 1em;
    line-height: 1.6em;
    margin-bottom: 1.6em;
}

hr {
	width:61.8%;
	margin-bottom: 1.4em;
	height:0.1em;
}

/* 
	Does not work on all browsers, but might be useful 
	with column layout or when printing a page 
*/

p, ul, ol {
	widows:2;
	orphans:2;
}

/* text within a table should conform to the same 
rules as plain text */

td {
    text-align:left;
    font-size: 1em;
	line-height: 1.6em;
}

/* lists */

ul { 
   list-style-type: disc; 
   list-style-position: inside; 
}
ol { 
   list-style-type: decimal; 
   list-style-position: inside; 
}
ul ul, ol ul { 
   list-style-type: circle; 
   list-style-position: inside; 
   margin-left: 1.6em; 
}
ol ol, ul ol { 
   list-style-type: lower-latin; 
   list-style-position: inside; 
   margin-left: 1.6em; 
}

table {
	border-collapse:collapse;
}

table, th, td {
	border: 0px;
	padding:0px;
	margin:0px;
}

th, caption {
	font-size: 1em;
    line-height: 1.6em;
	margin-bottom: 0em;
}

td {
	font-size: 1em;
	line-height: 1.6em;
	margin-bottom:0em;
}

/* code will be displayed in a monotype font */

code {
font-family: Lucida Console, Courier New, Courier, monospace;
color:#444444;      /* we decrease contrast somewhat */
}

.oldbook { font-family:"Warnock Pro", "Goudy Old Style","Book Antiqua","Palatino",Georgia,serif; }

.small {
    font-size: 0.75em;
    line-height: 1em;
    margin-bottom: 1em;
}