/* TODO: Clean this nonsense up. Also fix the remote cdn links to Featherlight and roll it into my own stylesheet. */

/**
 * Base
 */

* {
	margin: 0;
	padding: 0;
}
body, html {
	height: 100%;
}
body {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	color: #333;
	font-size: 16px;
}
a {
	cursor: pointer;
	border: 0;
	color: #fa7a5c;
	font-weight: 600;
	text-decoration: none;
	-webkit-transition: all .2s linear;
	transition: all .2s linear;
}
a:hover {
	border: 0;
	color: #f2a577;
}
img, iframe, embed {
	max-width: 100%;
}
ul {
	list-style-type: none;
	text-align: center;
}
ol {
	padding: 0 2em 0 3em;
}
ol li {
	margin: 10px 0;
}

/**
 * Body
 */

.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 7%;
}
section {
	padding: 20px 0 40px;
}
section h1 {
	font-size: 40px;
	font-weight: 800;
	line-height: 45px;
	text-transform: uppercase;
	margin: 15px 0 0;
	margin-bottom: -10px;
}
section p {
	margin: 15px 0;
	line-height: 150%;
}
section.dark {
	background: #333;
	color: #fff;
}

/**
 * Header/nav
 */

nav {
	z-index: 99;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: #fff;
	box-shadow: 0 0 20px 0 rgba(0,0,0,0.5);
	overflow: hidden;
}
nav li {
	display: inline-block;
}
nav li a {
	display: inline-block;
	height: 60px;
    padding: 0 20px;
	color: #333;
	font-size: 15px;
	font-weight: bold;
	line-height: 59px;
	text-transform: uppercase;
	text-align: center;
}
nav a:hover {
	cursor: pointer;
	background: #333;
	color: #fff;
}
nav li.home {
	width: 70px;
	background: url(logo.png) no-repeat center center;
	background-size: contain;
	-webkit-transition: opacity .2s linear;
	transition: opacity .2s linear;
}
nav li.home a:hover {
	background: none;
}
nav li.home:hover {
	opacity: .75;
}
nav li.home span {
	visibility: hidden;
}
nav li.socialmedia a {
	position: relative;
	top: 2px;
    padding: 0 8px;
}
nav li.socialmedia a:hover {
	background: none;
	color: #fa7a5c;
}
nav li .fa  {
	font-size: 24px;
	width: auto;
}
header {
	z-index: 2;
	position: relative;
	width: 100%;
	height: 450px;
	margin-top: 60px;
	background: #f4a675 url('header.jpg') 10% 25% no-repeat;
	background-size: cover;
	overflow: hidden;
}
header:before {
	z-index: -1;
	content: "";
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: -webkit-linear-gradient(rgba(250,92,107,.3) 0%, rgba(250,92,107,0) 70%, rgba(250,92,107,0) 100%);
	background: linear-gradient(rgba(250,92,107,.3) 0%, rgba(250,92,107,0) 70%, rgba(250,92,107,0) 100%);
}
header .container {
	position: relative;
	margin: 20px auto 35px;
	z-index: 3;
}
header h1, h2 {
	color: #fff;
	font-weight: 900;
	text-shadow: 0 0 3px rgba(135,22,38,1), 0 0 8px rgba(135,22,38,.8), 0 0 25px rgba(135,22,38,.5);
}
header h2 {
	font-size: 33px;
	line-height: 40px;
}
header h1 {
	margin: 35px 0 12px;
	font-size: 48px;
	line-height: 1;
	text-transform: uppercase;
}
header h6, header h6 i {
	color: #fff;
	margin-top: 5px;
	font-size: 15px;
	font-weight: 500;
	line-height: 30px;
	text-shadow: 0 0 4px rgba(135,22,38,1), 0 0 14px rgba(135,22,38,1);
}
header h6 i {
	font-size: 17px;
	font-weight: 700;
}
header .btn {
	margin: 40px 0 0;
	background: #333;
	color: #fff;
	font-size: 18px;
	font-weight: 800;
}
header .btn:hover {
	background: #333;
	color: #fa7a5c;
}
header .btn .fa {
	font-size: 20px;
	position: relative;
	left: -5px;
}

/**
 * Footer
 */

footer {
	width: 100%;
	min-height: 20px;
	font-size: 14px;
	text-align: center;
	padding: 15px 0;
}
footer ul {
	list-style-type: none;
}
footer li {
	display: inline-block;
	margin: 0 5px;
}
footer li:after {
	content: "\2022";
	margin-left: 12px;
}
footer li:last-child:after {
	display: none;
}

/**
 * Map
 */

#map {
	position: relative;
	float: right;
	margin: 20px 0 0 25px;
}
#mapresponsive {
	display: none;
}
#map img, #mapresponsive img, #previous img {
	-webkit-transition: all .2s linear;
	transition: all .2s linear;
}
#map img:hover, #mapresponsive img:hover {
	box-shadow: 0 0 10px 0 rgba(0,0,0,.15);
}
#previous img:hover {
	box-shadow: 0 0 10px 0 rgba(0,0,0,.4);
}

/**
 * Game gallery
 */

#gallerywrapper {
	margin-top: 30px;
	text-align: center;
	overflow: auto;
}
.gallery {
	display: block;
	float: left;
	position: relative;
	margin: 15px 1%;
	width: 18%;
	height: auto;
	line-height: 0;
	overflow: hidden;
}
.gallery img {
	width: 100%;
	height: auto;
}
.gallery img.animate {
	position: absolute;
	top: 0; left: 0;
}
.gallery:hover .animate {
	opacity: 0;
}
.overlay {
	display: block;
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	font-size: 12px;
	font-weight: 600;
	text-shadow: 0 0 3px #333;
	background: rgba(10,10,10,.7);
    color: #fff;
	opacity: 0;
}
.gallery:hover .overlay {
    color: #fff;
	opacity: 1;
}
.gallery:hover {
	box-shadow: 0 0 8px #222;
}
.overlay p {
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	padding: 10px;
	margin: 0;
	line-height: 1.5;
}
.overlay b {
	font-size: 22px;
	line-height: 1;
}


/**
 * Game Modals
 */

.featherlight {
	overflow: auto;
}
.featherlight .featherlight-content {
	min-width: 0;
	max-width: 900px;
    max-height: none !important;
	padding: 25px !important;
    margin: 25px;
	background: #333;
	box-shadow: 0 0 50px #000;
	color: #fff;
	overflow: visible;
}
.featherlight .featherlight-close-icon {
	color: #fff;
}
.featherlight-previous {
	left: -40px;
	right: auto;
	width: 52px;
}
.featherlight-next {
	right: -40px;
	left: auto;
	width: 50px;
}
.featherlight-next span, .featherlight-previous span {
	display: block;
	width: 42px;
	height: 90px;
	margin-top: -45px;
	font-size: 0;
	text-shadow: none;
	background-color: #555;
	-webkit-transition: -webkit-transform .2s;
	transition: transform .2s;
}
.featherlight-previous span {
	left: 8px;
	box-shadow: -5px 0 25px #111;
	text-indent: -2px;
}
.featherlight-next span {
	left: 0;
	box-shadow: 5px 0 25px #111;
	text-indent: 2px;
}
.featherlight-previous span:before, .featherlight-next span:before {
	font-family: 'FontAwesome';
	font-size: 38px;
    line-height: 90px;
}
.featherlight-previous span:before {
	content: "\f104";
}
.featherlight-next span:before {
	content: "\f105";
}
.featherlight-next:hover, .featherlight-previous:hover {
	background: none;
}
.featherlight-previous:hover span {
	-webkit-transform: translateX(-9px);
	transform: translateX(-9px);
}
.featherlight-next:hover span {
	-webkit-transform: translateX(9px);
	transform: translateX(9px);
}

.game-modal-media {
	float: left;
	width: 50%;
	font-size: 0;
    text-align: center;
}
.game-modal-media-select {
	padding-top: 10px;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
}
.game-small-image {
	height: 75px;
	width: auto;
	cursor: pointer;
	opacity: .7;
	-webkit-transition: opacity .4s;
	transition: opacity .4s;
	-webkit-backface-visibility: hidden;
}
.game-small-image + .game-small-image {
	margin-left: 10px;
}
.game-small-image:hover {
	opacity: 1;
}
#game-featured-image.is-trailer {
	cursor: pointer;
}
#game-featured-video {
	display: none; 
	background: #fff;
}
.game-modal-text {
	box-sizing: border-box;
	float: left;
	width: 50%;
	padding: 0 25px;
}
.game-modal-details {
	margin: 15px 0;
	line-height: 1.5;
	text-align: left;
	font-weight: 300;
}
.game-modal-details strong {
	color: #888;
	font-weight: 400;
}
.game-modal-text h1 {
	font-size: 36px;
	font-weight: 900;
	line-height: 1
}
.game-modal-text p {
	margin: 15px 0;
}

/**
 * Sponsors
 */

#sponsorswrapper {
	margin: 15px 0 0 0;
	text-align: center;
	font-size: 0;
}
.sponsor {
	vertical-align: middle;
	position: relative;
	display: inline-block;
	width: 18%;
	height: auto;
	margin: 0 1%;
}
.sponsor--large {
	width: 25%;
}
.sponsor--largest {
	width: 30%;
}
.sponsor img {
	width: 100%;
	height: 100%;
}

/**
 * Past Years
 */

#quotewrapper {
	margin: 30px 0 20px;
}
.quote {
	display: inline-block;
	vertical-align: top;
	width: 40%;
	margin: 0 3%;
}

/**
 * Buttons
 */
 
.btn, .dark .btn {
	display: block;
	margin: 40px auto;
	width: 250px;
	height: 60px;
	background: #555;
	color: #fff;
	font-weight: 300;
	line-height: 57px;
	text-align: center;
	text-transform: uppercase;
	-webkit-transition: all .2s linear;
	transition: all .2s linear;

	margin-top: 40px;
}
.btn:hover, .dark .btn:hover {
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.4);
	color: #ccc;
}
.btn.inline {
	display: inline-block;
	margin: 25px 10px 0;
}
.btn.small {
	width: 200px;
	height: 50px;
	margin: 30px auto 0;
	line-height: 49px;
}

/**
 * Forms
 */

form {
	width: 100%;
	max-width: 700px;
	margin: 30px auto 0;
	text-align: left;
}
form ul {
	text-align: left;
	margin-top: 7px;
}
label {
	color: #fff;
	font-weight: bold;
}
input[type=text], input[type=url], input[type=email], input[type=submit], textarea {
	display: block;
	border: 0;
	outline: none;
	background: #555;
	padding: 5px 10px;
	margin: 5px 0 20px;
	color: #fff;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 15px;
	-webkit-transition: all .2s linear;
	transition: all .2s linear;
	box-sizing: border-box;
}
input[type=text], input[type=url], input[type=email] {
	width: 100%;
	height: 35px;
}
input[type=checkbox], input[type=radio] {
	position: relative;
	top: 2px;
	display: inline-block;
	margin: 5px 0 10px;
	height: 15px;
	width: 25px;
	line-height: 20px;
}
textarea {
	width: 100%;
	height: 120px;
	padding-top: 9px;
	resize: vertical;
}
input:focus, textarea:focus {
	box-shadow: inset 0 0 7px 0 rgba(0, 0, 0, 0.3);
}
form .col {
	width: 45%;
	display: inline-block;
	vertical-align: top;
	margin: 0 auto;
}
form .col:nth-of-type(odd) {
	margin-right: 9.2%;
}
form .centered-notice {
	margin: 20px 0 30px;
	text-align: center;
}
input.inline {
	display: inline-block;
	margin: 0 0 0 8px;
	width: 50%;
}
input.wide {
	width: 100%;
}
form .subtitle, form .subtitle a {
	font-size: 14px;
	font-style: italic;
	font-weight: normal;
	color: #bbb;
}
form .subtitle a {
	color: #f2a577;
}
form .subtitle a:hover {
	color: #fff;
}
form ul {
	margin-bottom: 20px;
}
form ul li label {
	font-weight: normal;
}
form table {
	width: 100%;
	margin: 15px 0 20px;
	text-align: center;
}
form table label {
	font-weight: normal;
	font-size: 14px;
}
input[type=submit], .dark input[type=submit] {
	cursor: pointer;
	line-height: 50px;
	margin: 40px auto 0;
}
/* Contact form honeypot for spam robots */
#formcheese {
	position: absolute;
	left: -999em;
}

/**
 * Single one-off pages
 */

.single {
	display: table;
	width: 100%;
	height: 100%;
	background: #333;
	color: #fff;
	text-align: center;
}
.singlewrapper {
	display: table-cell;
	vertical-align: middle;
	padding: 30px;
}
.singlewrapper h1 {
	margin-bottom: .5em;
}
.singlewrapper h6 {
	color: #fff;
	font-size: 24px;
	font-weight: 300;
}
.singlewrapper iframe {
	max-width: 600px;
	width: 100%;
}

/**
 * Responsive CSS
 */

.responsive {
	display: inline;
}

@media screen and (max-width : 1000px) {
	nav li a {
		padding: 0 10px;
		font-size: 12px;
	}
}

@media screen and (max-width : 769px) {
	nav {
		padding: 0 2%;
	}
	nav li {
		display: none;
	}
	nav li.home {
		display: block;
		float: left;
	}
	nav li.socialmedia {
		display: block;
		float: right;
	}
	nav li.socialmedia a {
		padding: 0 10px;
	}
	header .container {
		margin: 20px 0 30px;
	}
	#map {
		display: none;
	}
	#mapresponsive {
		display: block;
	}
	#mapresponsive img {
		width: 100%;
		margin-bottom: -5px;
	}
	.gallery {
		width: 31.33%;
		font-size: 14px;
	}
	.gallery img {
		height: 100%;
		width: 100%;
	}
	.overlay p {
		padding: 0 4%;
		font-weight: 400;
	}
	.overlay b {
		font-size: 16px;
	}
	.game-modal-media {
		width: 100%;
		margin-bottom: 20px;
	}
	.game-modal-text {
		width: 100%;
		padding: 0;
	}
	.quote {
		width: 85%;
	}
	.singlewrapper {
		padding: 7%;
	}
	form .col {
		display: block;
		width: 100%;
	}
	form .col:nth-of-type(odd) {
		margin-right: 0
	}
	input.inline {
		width: 100%;
		display: block;
		margin: 0 0 20px 0;
	}
	input[type=checkbox], input[type=radio] {
		top: 0;
		width: 20px;
	}
	form .calendar {
		display: inline-block;
		width: auto;
		position: relative;
	}
	form .calendar .date {
		position: relative;
		left: 0;
	}
	form .calendar .time {
		position: relative;
		left: 0;
	}
	form .calendar .desc {
		position: relative;
		left: 0;
	}
	form .calendar .date:before, form .calendar .time:before, form .calendar .desc:before {
		content: ", ";
		position: relative;
		left: -3px;
	}
	footer li {
		display: block;
		font-size: 12px;
	}
	footer li:after {
		content: "";
	}
	.btn.inline {
		display: block;
		margin: 30px auto 0;
	}
}

@media screen and (max-width : 481px) {
	.responsive {
		display: none;
	}
	.btn, .dark .btn {
		width: 100%;
		font-size: 14.5px;
	}
	h1, header h1, section h1, .dark h1 {
		font-size: 28px;
		line-height: 32px;
		margin-top: 5px;
	}
	header h2 {
		font-size: 22px;
		line-height: 30px;
		margin-top: 10px;
	}
	header h6, header h6 i {
		font-size: 19px;
		line-height: 26px;
		margin-top: 15px;
	}
	.singlewrapper h6 {
		font-size: 18px;
	}
	.gallery {
		width: 44%;
		margin: 3%;
		font-size: 11px;
	}
	.overlay p {
		font-size: 10px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.overlay b {
		font-size: 12px;
	}
	.sponsor {
		width: 48%;
		margin: 0 1%;
	}
	.sponsor:hover .sponsordesc {
		display: none;
	}
}