*, *:before, *:after {
  -webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
  		box-sizing: border-box;
}

body {
	margin: 0 auto;
	/*font-size: 100%;*/
	/*-webkit-font-smoothing: antialiased;*/
}

body.noOverflow
{
	overflow: hidden;
}

main {
	padding-left: 20px;
	padding-right: 20px;
	font-family: 'Oswald', Arial, sans-serif;
	letter-spacing: 1px;
	max-width: 960px;
	margin: 0 auto;
}

p {
	text-align: left;
	font-family: 'Oswald', Arial, sans-serif;
}

a {
	color: #ff5a00;
	font-weight: 400;
	text-decoration: none;
	outline: none;
}

img {
	height:auto;
	max-width: 100%;
	outline:none;
}

h1 {
	font-family: 'Open Sans', Arial, sans-serif;
	text-transform: uppercase;
	font-weight: normal;
	text-align: center;
	line-height: 20px;
	font-size: 30px;
}

h2 {
	font-family: 'Oswald', Arial, sans-serif;
	text-transform: uppercase;
	font-weight: normal;
	text-align: left;
	margin-bottom: 5px;
	margin-top: 0px;
}

h3 {
	font-family: 'Oswald', Arial, sans-serif;
	text-transform: uppercase;
	font-weight: normal;
	text-align: left;
	margin-bottom: -10px;
	margin-top: 0px;
}

h4 {
	font-family: 'Oswald', Arial, sans-serif;
	text-align: left;
	margin-bottom: 0px;
}

footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	height: 25px;
	background: #ddd;
	text-align: center;
	color: #888;
	z-index: 15;
	padding: 0;
	margin: 0;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 12px;
	line-height: 25px;
}

nav {
	position: relative;
	width: 100%;
}

nav ul {
	font-family: 'Open Sans', Arial, sans-serif;
	list-style-type: none;
	padding: 0;
}

nav ul li {
	box-sizing: border-box;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 1px;
	margin-bottom: 10px;
	margin-top: 10px;
	text-align: center;
	text-transform: uppercase;
	line-height: normal;
	display: inline;
}

img.badge {
	float: right;
	width: 135px;
	height: auto;
	padding: 3px 5px 3px 5px;
}

ol.section {
	counter-reset: section;
}

ol.section li {
	display: block;
	margin-top: 15px;
}

ol.section li:before {
	counter-increment: section;
	content: counter(section) ". ";
}

ol.subsection {
	counter-reset: subsection;
}

ol.subsection li {
	text-indent: -25px;
	margin-left: 30px;
	margin-top: 0px;
}

ol.subsection li:before {
	counter-increment: subsection;
	content: counter(section) "." counter(subsection) " ";
}

ol.subsection ul li{
	text-indent: -10px;
	margin-left: -10px;
}

ol.subsection ul li:before {
	content: "-  ";
}

p.sectionDescription {
	margin-left: 20px;
	margin-top: 0px;
}

.sectionTitle {
	font-weight: bold;
}

#subLinks ul {
	border-bottom: 1px solid #ccc;
	border-width: 1px 0;
	margin: 0;
	text-align: center;
	line-height: 40px;
	width: 100%;
	font-family: 'Open Sans', Arial, sans-serif;
	list-style-type: none;
	padding: 0;
}

#subLinks ul li {
	display: inline;
	padding-left: 15px;
	padding-right: 15px;
}

#credits {
  -webkit-column-count: 3;
  -webkit-column-gap: 20px;
  -webkit-column-rule: 1px solid #ccc;

  -moz-column-count: 3;
  -moz-column-gap: 20px;
  -moz-column-rule: 1px solid #ccc;

  column-count: 3;
  column-gap: 20px;
  column-rule: 1px solid #ccc;

  margin-top: 10px;
  margin-bottom: 10px;
}

#credits p {
	margin-top: 0px;
}

.hidden {
	display: none;
}

.creditTitle {
	color: #888;
}

#coverHeader {
	position: relative;
	text-align: center;
	top: 50%;
	margin-top: -230px;
	width: 100%;
}

.contained {
	max-width: 980px;
	margin: 0 auto;
}

#logo {
	width: 450px;
	position: relative;
	border-style: none;
}

#topLogo {
	width: 120px;
	position: relative;
	border-style: none;
	display: inline-block;
	top: 5px;
	left: 5px;
}

#supportTitle {
	position: relative;
	top: 0px;
	right: 5px;
	text-align: right;
	margin: 0;
	top: -30px;
	line-height: 5px;
}

.cover {
	background: #fff;
	width: 100%;
	height: 100%;
	z-index: 10;
	position: absolute;
	overflow: hidden;
	display: block;
	margin: 0 auto;
}

.seperator {
	position: relative;
	background-color: #ddd;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	height: 1px;
}

a.header {
	text-decoration: none;
	color: #ff5a00;
	margin-left: 3px;
	margin-right: 3px;
	padding: 5px;
	border: 1px solid #fff;
	border-bottom-left-radius: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
}

/* since :hover doesn't work properly on iOS, this is a workaround through js*/
a.hoverOver {
	border: 1px solid #fb3;
}

a:hover {
	color: #e00;
}

a.headerClicked {
	border: 1px solid #ccc;
}

section.page
{
	position: absolute;
	top: 100px;
	left: 0;
	background: #fff;
	color: #000;
	width: 100%;
	height: calc(100% - 125px);	
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
	display: block;
}

.frame
{
	padding: 2px;
	background-color: #000;
	width: 100%;
}

.centered {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.activePage {
	overflow-y: auto;
}

.gray {
	color: #ccc;
}

.buttomBorder {
	border-bottom: 1px solid #ccc;
	border-width: 1px 0;
	width: 100%;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px)
{
	h1 {
		font-size: 20px;
		font-weight: bolder;
	}

	h2 {
		font-size: 18px;
		font-weight: bolder;
	}

	a.header {
		font-weight: bolder;
	}

	a.headerClicked {
		padding: 3px;
	}

	li.folded  {
		display: list-item;
		font-size: 12px;
	}

	.dot {
		display: none;
	}

	#games #subLinks ul li {
		display: list-item;
		padding-left: 5px;
		padding-right: 5px;
	}
}

/* Smartphones (landscape) ----------- */
@media only screen 
and (min-width : 321px)
and (orientation : landscape) {
/* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px)
and (orientation : portrait) {
/* Styles */
}

/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
/* Styles */
}

/* iPads (landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
/* Styles */
}

/* iPads (portrait) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
/* Styles */
}

/* Desktops and laptops ----------- */
@media only screen 
and (min-width : 1224px) {
/* Styles */
}

/* Large screens ----------- */
@media only screen 
and (min-width : 1824px) {
/* Styles */
}

/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */
}