/* BITBIT JAM
   Style CSS
   Author: D_Skywalk - 2014
*****************************************************************/


/* Global reset
   http://meyerweb.com/eric/tools/css/reset/
*****************************************************************/

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 reset for old browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ul, li {
	list-style: none;
}
ol li { margin-left: 4em; list-style: inherit; }
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* base styles
*****************************************************************/

html {
	overflow-y: scroll; /* force a scrollbar */
	}
body {
	background: #000;
	overflow-x: hidden;
	height: 14550px;
	line-height: 1.5;
	color: #e3e5e5;
	font-size: 16px;
	font-family: 'Press Start 2P', Arial,sans-serif;
}
body#contact {	height: 700px;}
body#join {	height: 1800px;}

form { padding: 5em}
h1 {
	color: #21a97e;
}
h1 span.head { text-shadow: 1px 1px #111; color: #21a97e;}
h5 {  padding: 0 1em .5em; color: #f43; }

#branding a,#branding a:link,
#branding a:active,
#branding a:visited {
	-webkit-transition: color 0.25s ease-out;
	-moz-transition: color 0.25s ease-out;
	-o-transition: color 0.25s ease-out;
	transition: color 0.25s ease-out;
	color:#a3a;
	outline: none;
	text-decoration:none;
	text-shadow: 0.1em 0.1em #000;
	}
	#branding a:hover {
		color: #4a9; text-shadow: 1px 1px #333;
		}
img {
	display:block;
	}
p {
	margin:1em 0;
	}

/* shared styles
*****************************************************************/

hr {
	margin: 0;
	border: none;
	border-top: 1px solid #3b3b3b;
	border-bottom: 1px solid #3b3b3b;
	height: 3px;
}

/* Structure
*****************************************************************/

#wrapper {
	position: relative;
}
#branding {
	width: 100%;
	background: #222;
	z-index: 5;
	position: fixed;
	}
	#branding h1 {
		width: 940px;
		padding: 10px 15px;
		margin: 0 auto;
		text-transform: uppercase;
		font-size: 16px;
		font-weight: normal;
		}
#message { background-color: white; border: 1px solid red; display: block; position: fixed; right: 10px; top: 80px; padding: 1em; font-size: 8px; color: blue;}
/* Nav
*****************************************************************/

nav#primary {
	z-index: 5;
	position: fixed;
	top: 50%;
	right: 16px;
	margin-top: -40px;
}
nav#primary li {
	position: relative;
	height: 20px;
}
nav#primary a {
	display: block;
	width: 20px;
	height: 20px;
	text-indent: -9999px;
	background: transparent url('../img/nav-dot.png') 4px 4px no-repeat;
}
nav#primary a:hover, nav#primary a.active {
	background: transparent url('../img/nav-dot.png') 4px -16px no-repeat;
}
nav#primary h1 {
	position: absolute;
	right: 22px;
	top: -7px;
	display: none;
	padding: 4px 20px 4px 7px;;
	color: #fff;
	white-space: nowrap;
	background: transparent url('../img/nav-arrow.png') 100% 50% no-repeat;
	}
nav.next-prev {
	margin: 20px 0 0 0;
	}
	a.prev,
	a.next {
		display: block;
		width: 15px;
		height: 11px;
		text-indent: -9999px;
		}
	a.prev {
		margin: 0 auto 5px auto;
		background: transparent url('../img/scroll-arrow-up.png') 0 0 no-repeat;
		}
		a.prev:hover {
			background: transparent url('../img/scroll-arrow-up.png') 0 -11px no-repeat;
			}
	a.next {
		margin: 5px auto 0 auto;
		background: transparent url('../img/scroll-arrow-down.png') -1px 0 no-repeat;
		}
		a.next:hover {
			background: transparent url('../img/scroll-arrow-down.png') -1px -11px no-repeat;
			}


body#new { 	height: 5400px; }
body#prizes { 	height: 8000px; }
body#oldcompo { height: 10000px; }
/* Teams code
*****************************************************************/

body#teams { 	height: 3000px; }
div.table-teams-info {
        background: transparent url('../img/team-bg.png') repeat;
        width: 740px;
        border: 12px solid white; border-radius: 2px;
        padding: 14px;
        }
#content article#team-jam,
#content article#themes-jam {
		width: 740px;
		margin: auto;
		padding-top: 100px;
		}
#content article#entries-old {
		width: 840px;
		margin: auto;
		padding-top: 80px;
}
#entries-old h1.xtra { padding-left: 64px; background: transparent url('../img/guy-team.png') no-repeat; height: 52px; color: #f6f; }

#team-jam h1 { padding-left: 64px; background: transparent url('../img/guy-team.png') no-repeat; height: 52px; color: #f6f; }
#team-jam dt { font-size: 24px; line-height: 22px; text-shadow: 3px 2px #F00;}
#team-jam dd { padding-left: 10px; text-shadow: 2px 1px #00A; }
    #team-jam dd span {    font-size: 8px; text-transform: uppercase; color: #a0f; text-shadow: 1px 0px 1px #faf; white-space:nowrap; }
    #team-jam dt span {    font-size: 8px; text-transform: uppercase; color: #dd8; text-shadow: 0px 0px 0px #000; }
#team-jam dl {
        background: transparent url('../img/arrow-team2.png') 0px 32px no-repeat;
        padding-left: 64px; border-bottom: 8px dashed white; padding-bottom: 15px; margin-bottom: 20px; }

/* CSS Effects
*****************************************************************/

#content article#entries {
		width: 840px;
		margin: auto;
}

dl.game {border: 1px solid #222; background: #050505; margin-top: 1em;}
.screenshots {  margin-bottom: .5em; margin: auto; }
.screenshots img { display: inline-block; margin: 1em 0 1em 1em; border-bottom: 1px dotted #aaa; border-top: 1px dotted #aaa; }
#prizes .screenshots img { display: inline-block; margin: 1em 0 1em 1em; border: 3px solid #222; background-color: #ffe;}

dl.game dt h3 { margin-top: 1em; margin-left: .2em; font-size: 24px; line-height: 22px; text-shadow: 3px 2px #400;}
dl.game dt h4 {font-size: 16px; color: #f6f; text-shadow: 1px 0px 1px #434; white-space:nowrap; padding-left: 1em; margin-bottom: .5em;}
dl.game dd { padding: 0 2em; }
dl.game div.download { padding: 1em; margin: auto; }
dl.game div.download a { display: block; text-align: center; margin: 0 5em; }


/* Download button */
.animate {	transition: all 0.1s;	-webkit-transition: all 0.1s;}
.action-button {
	position: relative;
	padding: 10px 40px;
    margin: 0px 10px 10px 0px;
	border-radius: 10px;
	color: #FFF !important;
	text-decoration: none;
}
.action-button:active
{
	transform: translate(0px,5px);
    -webkit-transform: translate(0px,5px);
	border-bottom: 1px solid;
}

.blue
{
	background-color: #3498DB;
	border-bottom: 5px solid #2980B9;
	text-shadow: 0px -2px #2980B9;
}


/* content */
#content {
	z-index: 4;
	position: relative;
	max-width: 940px;
	padding: 0 10px;
	margin: 0 auto;
	line-height: 1.7;
	}
	#content header h1 { 	text-shadow: 1px 1px #222; }
	#content article {
		width: 400px;
		}
		#content article div.article-info {
				background-color: #111;
				padding: 8px;
		        }
		#content article span.mini {
		        font-size: 8px;
		        display: block;
		        }
		#content article span.underlined { text-decoration: underline; }
		#content article div.rules-info li { margin-bottom: 16px;}
		#content article a {
		        color:#a1297e;
		        }
		        #content article a#more-info {
		                cursor: help;
		            }
		#intro-jam,
		#team-jam,
		#rules-jam,
		#twitty-jam,
		#entries,
		#about {
			padding-top: 105px;
			}
		#intro-jam{
			position: absolute;
			top: 0px;

			}
		#rules-jam {
			position: absolute;
			top: 1090px;
			}
		#twitty-jam {
			position: absolute;
			top: 2180px;
			}
			#content h1 {
				margin: 0 0 15px 0;
				font-size: 32px;
				font-family: 'Press Start 2P', Georgia, serif;
				font-weight: normal;
				line-height: 36px;
				}
		#about {
			position: absolute;
			top: 3270px;
			}
		#entries {
			position: absolute;
			top: 4470px;
			}

#get-entries {
			position: absolute;
                        margin-left: 400px;
			top: 156px;
           	        z-index: 100;
                        border: 4px solid #111;
                        background-color: #222;
 }
#get-entries a { display: block;
       background: #000 url('../img/cabra_2.png') 5px 35px no-repeat;
       height: 162px;
       width: 168px;
       text-decoration: none;
       margin: 4px;
       padding-left: 8px;
       color: #21A97E;
  }
#get-entries a:hover { display: block;
       background: #000 url('../img/cabra_1.png') 5px 35px no-repeat;
       color: #efe;
  }

/* clasificacion */
h1.results { color: #f60; padding: .5em .4em 0em;}

.game-win { border: 4px solid yellow; background-color: #603; padding: 1em; background: #603 url('../img/guy-team.png') 99% 2% no-repeat; }
.game-fin { border: 1px solid; background-color: #633; padding-left: 0.5em; margin-top: 1em; padding-bottom: 1em; }
dl.game-results dt h3 , dl.game-results dt h3 a { margin-top: 0; margin-left: .2em; font-size: 24px; text-shadow: 3px 2px #400; color: white !important; }
#countdown-content {z-index: 4; position: relative; max-width: 940px; padding: 50px 10px 0; line-height: 1.7; margin: 0px auto; color: yellow;}
#countdown-content p { margin: 0;}

/* sprites (kekos) */
#parallax-bg3 {
	z-index: 3;
	position: fixed;
	left: 50%; /* align left edge with center of viewport */
	top: 0;
	width: 940px;
	margin-left: -470px; /* move left by half element's width */
	}
	/* balloon */
	#bg3-1 {
		position: absolute;
		top: -111px;
		left: 355px;
		}
	#bg3-2 {
		position: absolute;
		top: 856px;
		left: 321px;
		}
	#bg3-3 {
		position: absolute;
		top: 1628px;
		left: 403px;
		}
	#bg3-4 {
		position: absolute;
		top: 2700px;
		left: -85px;
		}
/* ladrillo (bg) */
#parallax-bg2 {
	z-index: 1;
	position: fixed;
	left: 50%; /* align left edge with center of viewport */
	top: 0;
	width: 1200px;
	margin-left: -600px; /* move left by half element's width */
	}
	#bg2-1 {
		position: absolute;
		top: 162px;
		left: 200px;
		}
	#bg2-2 {
		position: absolute;
		top: 300px;
		left: 1150px;
		}
	#bg2-3 {
		position: absolute;
		top: 543px;
		left: -35px;
		}
	#bg2-4 {
		position: absolute;
		top: 1180px;
		left: 250px;
		}
	#bg2-5 {
		position: absolute;
		top: 900px;
		left: 890px;
		}
/* plataforma (mid) */
#parallax-bg1 {
	z-index: 2;
	position: fixed;
	left: 50%; /* align left edge with center of viewport */
	top: 0;
	width: 1200px;
	margin-left: -600px; /* move left by half element's width */
	}
	#bg1-1 {
		position: absolute;
		top: 85px;
		left: -270px;
		}
	#bg1-2 {
		position: absolute;
		top: 440px;
		left: 795px;
		}
	#bg1-3 {
		position: absolute;
		top: 900px;
		left: -220px;
		}
	#bg1-4 {
		position: absolute;
		top: 1020px;
		left: 450px;
		}
