/* partially derived from:
	normalize.css v3.0.1 | MIT License | git.io/normalize
	Bootstrap v3.2.0 | MIT License | http://getbootstrap.com
*/

/* general reset */
html {
	-ms-text-size-adjust: 100%; /* 2 */
	-webkit-text-size-adjust: 100%; /* 2 */
	-webkit-overflow-scrolling: touch;
}
body, div, span, iframe, img, form, table, tr, td, th, pre, code, kbd, pre, samp, xmp {
	margin: 0;
	padding: 0;
	border: 0;
}

/* body */
body {
	margin: 8px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 87.5%; /* 1em = 0.875*16 = 14 */
	line-height: 1.3;
	color: black;
	background-color: white;
}

@media screen and (max-width: 600px){
  body{
    font-size: 81.25%;
  }
}

.scroll-ios{
    overflow-x: hidden;
    overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}
.page-frame	 /* Only for iOS+Safari, to get the embedded iframe to scroll: */
{			 /* page to be loaded in iframe needs this as a div for scrolling */
			 /* as a consequence, the body becomes fixed, and background doesn't scroll away */
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0; /* needed on iOS, OS X */
    overflow-x: hidden;
    overflow-y: auto;
	padding: 8px 16px 8px 8px;
	-webkit-overflow-scrolling: touch;
	background-image: none;
}
/* links */
a {
	background: transparent;
}
a:active, a:hover {
	outline: 0;
}

/* headers */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: inherit;
	font-weight: 500;
	line-height: 1.1;
	color: inherit;
}

h1 small, h2 small, h3 small, .h1 .small, .h2 .small, .h3 .small {
	font-weight: normal;
	line-height: 1;
	color: #666;
}
h1, h2, h3, h4, h5, h6 {
    margin: 0.6em 0 0.4em;
}
h1 small, h2 small, h3 small, .h1 .small, .h2 .small, .h3 .small {
	font-size: 65%;
}
h1, .h1 {
	font-size: 2.5em;
}
h2, .h2 {
	font-size: 2em;
}
h3, .h3 {
	font-size: 1.5em;
}
h4, .h4 {
	font-size: 1.25em;
}
h5, .h5 {
	font-size: 1em;
	font-weight: bold;
}
h6, .h6 {
	font-size: 1em;
	font-style: italic;
}
hr {
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	height: 0;
}


/* text items */
p {
	margin: 1em 0;
}
.text-left {
	text-align: left;
}
.text-right {
	text-align: right;
}
.text-center {
	text-align: center;
}
.text-centre {
	text-align: center;
}
.text-justify {
	text-align: justify;
}
.indent {
	margin: 0px 0.6em;
}
b, strong {
	font-weight: bold;
}
small {
	font-size: 80%;
}
sub, sup {
	font-size: 80%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sub {
	bottom: -0.25em;
}
sup {
	top: -0.5em;
}
sup > i {
	padding-left: 1px;
}

/* lists */
ul, ol, dl {
	margin: 1em 0;
}
ul ul, ol ul, ul ol, ol ol {
	margin: 0;
}
dt {
	font-weight: normal;
}
.column-list li {
	float: left;
	width: 120px;
}
.column-list {
	list-style-image: none;
	list-style-type: none;
	margin: 0;
	padding: 0;
	padding-left: 1em;
}
.column-list .newline {
	clear: both;
}
.column-list-wide li {
	width: 200px;
}


/* table, table class */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

td, th {
	padding: 0 4px;
}

.table {
	margin: 4px 4px 4px 1.4em;
	border-top: 3px solid #555;
	border-width: 3px 0;
	border-style: solid;
	border-color: #555 #bbb;
}
.table th  {
	padding: 4px 0.7em;
	border-bottom: 2px solid #555;
}
.table td  {
	padding: 1px 0.7em;
}
tr.midrule {
	padding-top: 4px;
	padding-bottom: 4px;
	border-top: 2px solid #555;
}
tr.midspace {
	height: 4px !important;
}


/* tt fonts, pre, xmp etc. */
code, kbd, pre, samp, tt, .pre, .code, .tt, xmp {
  font-family: monospace, monospace;
  font-size: 1em;
}
code, kbd, pre, samp, tt, .pre, .code, xmp {
	font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
	tab-size: 4;
	margin: 0;
/*	font-size: 110%; */ /* for Consolas, etc */
/*	font-size: 90%;  */ /* for Menlo (OS X, iPad), Monaco (older OS X)	*/
}
.code {
	padding: 2px 4px;
	color: #c7254e;
	background-color: #f9f2f4;
	border-radius: 4px;
}
pre, .pre, xmp {
	overflow: auto;
}
.tight {
	margin: -0.8em auto -1.2em;
}
.pre {
	display: block;
	white-space: pre;
}
.pre.box {
	margin: 0 0.7em 0;
	padding: 0 0.7em 0;
	background-color: #f6f6f6;
	border: 1px solid #ccc;
	border-radius: 4px;
	max-height: 340px;
	overflow: auto;
}
.box {
	background-color: #f6f6f6;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 4px;
}
.bottom-box {
	margin-top: -1px;
	border: 1px solid #ccc;
	border-radius: 0px 0px 4px 4px;
	padding: 4px;
}
.top-box {
	border: 1px solid #ccc;
	border-radius: 4px 4px 0px 0px;
	padding: 4px;
}
.light-grey {
	background-color: #f6f6f6;
}

.scaled-img {
	max-width: 100%;
}
.clear {
	clear:both;
}