/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #ffe;
    background-color: #001;
}

body {
    font-size: 1em;
    line-height: 1.4;
    background-image: url( 'http://files.mode7games.com/fs2/img/bg.jpg' );
    background-repeat: none;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #001;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px "Droid Sans", Helvetica, Helvetica Neue, Arial, sans-serif;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 2em;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.header-container {
	width: 100%;
	height: 97.97%;
	vertical-align: middle;
	margin: 0px auto;
}

.header-container #headerbackground {
	width: 100%;
	display: inline-block;
	vertical-align: middle;
	background-size: 100%;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}
.header-container #headerbackground .inner {
	padding-top: 97.97%; /* height/width of image */
	display: block;
	height: 0;
}

.header-container #headerbackground {
	background-image: url( 'http://files.mode7games.com/fs2/img/header.png' );
	z-index: 1;
}

header > img {
	width: 100%;
}

footer > img {
	width: 100%;
}

#fs2screen {
	margin-top: -40%;
}

#fs2screen > a > img {
	width: 100%;
	height: 56.25%;
}

.glowing {
    box-shadow: 0px 0px 5px 2px #77ddf4;
    -webkit-box-shadow: 0px 0px 5px 2px #77ddf4;
    -moz-box-shadow: 0px 0px 5px 2px #77ddf4;
}

.centred-text {
	text-align: center;
	clear: both;
}

.larger-text {
	font-size: 22px;
}

.stretch {
	width: 100%;
	display: inline-block;
	font-size: 0;
	line-height: 0;
}

.main-container {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}

a:link {
	color: #dddddf;
	font-weight: bold;
}

.orbitron {
	font-family: "Orbitron", sans-serif;
}

.droidSans {
	font-family: "Droid Sans", sans-serif;
}

.text-glow {
	text-shadow: 0px 0px 10px #77ddf4;
}

.centred {
	display:flex;
	justify-content:center;
	align-items:center;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%; /* 16/9 ratio */
    padding-top: 30px; /* IE6 workaround*/
    height: 0;
    overflow: hidden;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#trailervid {
	z-index: 1;
}

#newsletterSignup > input {
	display: block;
	clear: both;
	margin-left: auto;
	margin-right: auto;
	min-width: 200px;
	background-color: transparent;
}

.border {
	border: 1px solid #ffe;
}

.translucent {
	opacity: 80%;
}

#socialInfo {
	padding: 1em;
	margin-left: auto;
	margin-right: auto;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 1280px) {
    
    .header-container, .footer-container {
	    width: 1280px;
	    margin-left: auto;
	    margin-right: auto;
    }
    
    .main-container {
	    width: 1152px;
    }
    
    .header-container {
	    height: 1254px;
    }
    
    .footer-container {
	    height: 1382px;
    }

}

@media screen and (max-width: 1011px) {
/*
	#fs2screen > a > img {
		width: 100%;
		height: 56.25%;
	}
*/
}

@media screen and (max-width: 410px) {
	#socialInfo {
		width: 100%;
		padding: 0em;
		margin: 0em;
	}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
        color: #cce;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}