/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

html {
  height: 100%;
  box-sizing: border-box;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

* {
  box-sizing: border-box;
}

/* ==========================================================================
   Common
   ========================================================================== */

body {
    background: #000;
    color: #fff;
    font-family: 'Maven Pro', sans-serif;
    font-size: 1em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.home,
body.contact {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

header ul,
header li {
    margin: 0;
    padding: 0;
}

header ul:before,
header li:before {
    display: none;
}

ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 48px;
    text-transform: uppercase;
    margin-bottom: .5em;
    text-shadow: 0 0 20px rgba(0, 0, 0, .8);
}

h2 {
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: -.01em;
    text-shadow: 0 0 14px rgba(0, 0, 0, .5);
}

h3 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: .04em;
    line-height: 40px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 0, 0, .8);
    white-space: nowrap;
}

h4 {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .05em;
    text-shadow: 0 0 14px rgba(0, 0, 0, .8);
}

h5 {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .05em;
    text-shadow: 0 0 14px rgba(0, 0, 0, .8);
}

p {
    font-size: 18px;
    line-height: 28px;
    letter-spacing: -.01em;
}

.button {
    background: rgba(0, 0, 0, .7);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 56px;
    text-align: center;
    text-transform: uppercase;
    width: 330px;
    height: 56px;
    border-radius: 4px;
    box-shadow: 0 0 0 .1em;
    outline: none;
    border: none;
    display: inline-block;
    transition: background .1s ease-out;
}

.button:hover {
    background: rgba(255, 255, 255, .25);
}

/* ==========================================================================
   Rules
   ========================================================================== */

p + ul {
    margin-bottom: 14px;
}

a.apply-now {
    margin: 20px 0 40px;
}


article li {
    list-style: disc;
    margin-left: 24px;
    margin-bottom: 6px;
    line-height: 20px;
}

/* ==========================================================================
   Cryptic
   ========================================================================== */

html.no-scroll,
body.no-scroll {
    overflow: hidden;
}

header {
    background: rgba(0, 0, 0, .75);
    box-shadow: inset 0 -1px 0px 0 rgba(255, 255, 255, .05),
                inset 0 -10px 20px 0 rgba(255, 255, 255, .1),
                0 1px 0px 0 rgba(0, 0, 0, .4),
                0 0 20px 0 rgba(0, 0, 0, .6);
    height: 60px;
    margin: 0 auto;
    padding: 0 8%;
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    z-index: 4;
}

a {
    color: rgba(255, 255, 255, 1);
    transition: color .1s ease-out;
}

a:hover {
    color: rgba(255, 255, 255, 1);
}

header nav ul {
    list-style: none;
    display: inline-flex;
    flex-direction: row;
    line-height: 60px;
}

header nav li {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .03em;
    text-transform: uppercase;
    width: 140px;
    display: flex;
    justify-content: center;
}

header nav li a {
    color: rgba(255, 255, 255, .5);
    padding: 0 24px;
    height: 100%;
    position: relative;
    display: flex;
    align-items: stretch;
    z-index: 2;
}

header nav li.active a {
    color: #fff;
}

header nav li.active .hover-expand {
    transform: scaleX(.5);
}

.cryptic-logo {
    background-image: url(../img/logo_cryptic.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;
    width: 112px;
    height: 20px;
    min-width: 112px;
    margin-right: 50px;
}

.hover-expand {
    content: '';
    box-shadow: inset 0 -1px 0 0 rgba(255, 255, 255, 1);
    width: 140px;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 1;
    transform: scaleX(0);
    transition: transform .15s ease-in-out;
}

header nav li:hover a {
    color: rgba(255, 255, 255, 1);
    transition: color .1s ease-out;
}

footer {
    background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%,rgba(255, 255, 255, .07) 100%);
    font-size: 14px;
    margin-top: 160px;
    padding: 70px 8%;
    display: flex;
    flex-direction: row;
    position: absolute;
    right: 0;
    bottom: 60px;
    left: 0;
    z-index: 2;
}

footer .cryptic-logo {
    margin-right: 12%;
}

footer ul {
    margin-right: 120px;
    margin-top: -12px;
}

footer li a {
    color: #aabeec;
    margin-bottom: 20px;
    line-height: 32px;
}

footer li.section {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 20px;
}

footer li.section a {
    color: #fff;
}

.copyright {
    background: rgba(0, 0, 0, .4);
    color: rgba(255, 255, 255, .5);
    font-size: 10px;
    text-transform: uppercase;
    height: 60px;
    padding: 0 8%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.gearbox-logo {
    background-image: url(../img/logo_gearbox.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 30px;
    width: 147px;
    min-width: 147px;
    margin-right: 50px;
    opacity: .5;
    transition: opacity .1s ease-out;
}

.arc-logo {
    background-image: url(../img/logo_arc_games.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 30px;
    width: 60px;
    min-width: 60px;
    opacity: .5;
    transition: opacity .1s ease-out;
}

.gearbox-logo:hover,
.arc-logo:hover {
    opacity: 1;
}

.corp-links {
    display: flex;
    justify-content: flex-end;
}

/* ==========================================================================
   Layout
   ========================================================================== */

main {
    position: relative;
    z-index: 2;
    margin-top: 140px;
}

.content-wrapper {
    flex: 1;
}

.main-container {
    margin: 0 12% 5% 12%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.main-container article {
    max-width: 540px;
    display: flex;
    flex-direction: column;
}

.main-container aside {
    width: 420px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

.feature-container.f1 {
    background: #070d17;
    position: relative;
    z-index: 2;
}

.feature-container.f2 {
    background: #000;
    margin-bottom: 200px;
    position: relative;
    z-index: 2;
}

.feature-container article {
    max-width: 540px;
    z-index: 2;
}

.feature-container.f1 article {
    max-width: 540px;
    max-width: 60%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 5% 20% 5% 0;
}

.feature-container.f2 article {
    max-width: 620px;
    margin-top: 420px;
}

.f1 .feature-bg:before {
    content: '';
    position: absolute;
    width: 60%;
    height: 480px;
    left: 0;
    z-index: 2;
    background: linear-gradient(40deg, rgba(0,0,0,0.6) 0%,rgba(0,0,0,0) 75%);
}

.feature-bg {
    background-position: right 0;
    background-repeat: no-repeat;
    width: 100%;
    height: 480px;
    padding: 0 0 0 10%;
    display: flex;
    align-items: center;
}

.feature-heroes {
    background-position: right 310px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 480px;
    position: absolute;
    right: 0;
    width: 100%;
    z-index: 1;
}

/* ==========================================================================
   Carousel
   ========================================================================== */

.bg-art-container {
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
	max-height: 800px;
}

.carousel {
    height: 460px;
}

.carousel-banner {
    position: absolute;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    margin: 0 12%;
}

.carousel-cell.bg-video {
    width: 100%;
    background: #000;
    position: fixed;
    top: -20%;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -99;
}

.video-foreground,
.video-background iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.flickity-viewport:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 60px;
    z-index: 2;
    background: rgba(0, 0, 0, .15);
}

.flickity-viewport:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    box-shadow: inset 0 -280px 320px 0 rgba(0, 0, 0, 1);
    background: radial-gradient(ellipse at top, rgba(0,0,0,0) 40%,rgba(0,0,0,0.75) 100%),
                radial-gradient(ellipse at top, rgba(0,0,0,0) 30%,rgba(0,0,0,01) 100%),
                linear-gradient(to bottom, rgba(0,0,0,0) 30%,rgba(0,0,0,0.4) 50%);
}

.carousel.slick {
    width: 100%;
    height: 100%;
}

.carousel.slick:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 60px;
    z-index: 2;
    /*background: rgba(0, 0, 0, .15);*/
}

.carousel.slick:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 1;
    box-shadow: inset 0 -280px 320px 0 rgba(0, 0, 0, 1);
    background: radial-gradient(ellipse at top, rgba(0,0,0,0) 40%,rgba(0,0,0,0.75) 100%),
                radial-gradient(ellipse at top, rgba(0,0,0,0) 30%,rgba(0,0,0,01) 100%),
                linear-gradient(to bottom, rgba(0,0,0,0) 30%,rgba(0,0,0,0.4) 50%);
}

.bg-art-container:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 1;
    box-shadow: inset 0 -280px 320px 0 rgba(0, 0, 0, 1);
    background: radial-gradient(ellipse at top, rgba(0,0,0,0) 40%,rgba(0,0,0,0.75) 100%),
                radial-gradient(ellipse at top, rgba(0,0,0,0) 30%,rgba(0,0,0,01) 100%),
                linear-gradient(to bottom, rgba(0,0,0,0) 30%,rgba(0,0,0,0.4) 50%);
}

.home .bg-art-container:after {
	box-shadow: inset 0 -320px 320px 0 rgba(0, 0, 0, 1);
}

.bg-vid {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background: url() no-repeat;
    background-size: cover;
}

.home .bg-vid {
    top: 300px;
}

.neverwinter .bg-vid {
    top: 310px;
}

.startrek .bg-vid {
    top: 410px;
}

/* ==========================================================================
   Games | Common
   ========================================================================== */

.games main {
    margin-top: 140px;
}

.games p {
    text-shadow: 0 0 8px rgba(0, 0, 0, .8);
}

.games .main-container {
    margin-bottom: 150px;
}

.games .main-container article {
    margin-right: 5%;
    min-width: 540px;
}

.games .main-container aside {
    margin-top: 204px;
}

.games .prev {
    width: 190px;
    height: 160px;
    padding-right: 160px;
    fill: #fff;
    position: absolute;
    left: 0;
    margin-top: -60px;
    display: flex;
    align-items: center;
    transform: scale(1);
}

.games .prev svg {
    width: 24px;
    fill: #fff;
    position: absolute;
    left: 20%;
    transform: scale(1) rotate(180deg);
    transition: all .2s ease-in-out;
}

.games .next {
    width: 190px;
    height: 160px;
    padding-left: 160px;
    fill: #fff;
    position: absolute;
    right: 0;
    margin-top: -60px;
    display: flex;
    align-items: center;
    transform: scale(1);
}

.games .next svg {
    width: 24px;
    fill: #fff;
    position: absolute;
    right: 20%;
    transform: scale(1);
    transition: transform .2s ease-in-out;
}

.games .prev:hover,
.games .next:hover {
    cursor: pointer;
}

.games .prev:hover svg {
    transform: scale(.6) translateX(-30px) rotate(180deg);
    cursor: pointer;
}

.games .next:hover svg {
    transform: scale(.6) translateX(30px);
    cursor: pointer;
}

.next-game {
    position: fixed;
    right: 50px;
    display: flex;
    align-items: center;
    transform: translateX(300px);
    animation: none;
}

.prev-game {
    position: fixed;
    left: 50px;
    display: flex;
    align-items: center;
    transform: translateX(-300px);
}

.next-game.active {
    opacity: 1;
    transform: translateX(0px);
    animation: next-game-active .25s 0s linear both;
}
@keyframes next-game-active {
    0% {
    opacity: 0;
    transform: translateX(300px);
    }
    100% {
    opacity: 1;
    transform: translateX(0);
    }
}

.next-game.inactive {
    opacity: 0;
    transform: translateX(0px);
    animation: next-game-inactive .2s 0s linear both;
}
@keyframes next-game-inactive {
    0% {
    opacity: 1;
    transform: translateX(0px);
    }
    50% {
    opacity: 0;
    transform: translateX(0px);
    }
    100% {
    opacity: 0;
    transform: translateX(300px);
    }
}

.prev-game.active {
    opacity: 1;
    transform: translateX(0px);
    animation: prev-game-active .25s 0s linear both;
}
@keyframes prev-game-active {
    0% {
    opacity: 0;
    transform: translateX(-300px);
    }
    100% {
    opacity: 1;
    transform: translateX(0);
    }
}

.prev-game.inactive {
    opacity: 0;
    transform: translateX(0px);
    animation: prev-game-inactive .2s 0s linear both;
}
@keyframes prev-game-inactive {
    0% {
    opacity: 1;
    transform: translateX(0px);
    }
    50% {
    opacity: 0;
    transform: translateX(0px);
    }
    100% {
    opacity: 0;
    transform: translateX(-300px);
    }
}

aside .button {
    width: 330px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    order: 0;
}

.feature-container .button {
    margin: 50px auto 0 auto;

}

.esrb-rating {
    display: flex;
    flex-direction: row;
}

.game-rating img {
    width: 40px;
    height: 60px;
}

ul.rating-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

ul.rating-description li {
    color: rgba(255, 255, 255, .5);
    font-size: 10px;
    margin: 0 0 0 10px;
}

.game-logo img {
    max-width: 100%;
}

.button-arc {
    padding-left: 30px;
}

.button-arc:before {
    content: '';
    position: absolute;
    background: url(../img/icon_arc.png);
    background-repeat: no-repeat;
    background-size: 20px 22px;
    background-position: center;
    width: 20px;
    height: 22px;
    margin: 17px 0 0 -36px;
}

.platform-logos {
    width: 330px;
    margin: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
}

.platform-logos li {
    margin: 0 auto;
    display: inline;
}

.platform-logos .xbox img {
    width: 88px;
}

.platform-logos .ps img {
    width: 64px;
}

.platform-logos .windows img {
    width: 84px;
}

.game-details {
    background: rgba(0, 0, 0, .7);
    width: 330px;
    height: 250px;
    padding: 26px;
    border-radius: 6px;
    border: solid 1px rgba(255, 255, 255, .15);
    background: rgba(0, 0, 0, .7) radial-gradient(ellipse at top, rgba(255,255,255,.2) 0%,rgba(255,255,255,0) 70%);
    border: solid 1px #312f2d;
    box-shadow: 0 0 18px 0 rgba(0, 0, 0, .6);
    display: flex;
    flex-direction: column;
}

.game-details:before {
    content: '';
    background: radial-gradient(ellipse at top, rgba(255,255,255,.8) 0%,rgba(255,255,255,0) 70%);
    position: absolute;
    width: 300px;
    height: 1px;
    margin: -27px 0 0 -26px;
    border-radius: 6px;
}

.game-details li {
    font-size: 14px;
    margin-bottom: 20px;
}

.game-details li:first-child a:after {
    content: '';
    background-image: url(../img/arrow.svg);
    background-repeat: no-repeat;
    width: 10px;
    height: 10px;
    position: absolute;
    margin: 6px 0 0 6px;
    opacity: 0;
    transition: opacity .1s ease-out;
}

.game-details li:first-child a:hover:after {
    opacity: 1;
}

.game-details span {
    color: rgba(255, 255, 255, .4);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .05em;
    display: inline-block;
    width: 90px;
}

.social-links {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-top: 70px;
    display: inline-flex;
}

.social-links.mobile {
    display: none;
}

.social-links-label {
    width: 140px;
    margin-right: 14px;
}

.social-links ul {
    display: flex;
    flex-direction: row;
}

.social-links li {
    list-style: none;
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0;
    margin-right: 14px;
}

.social-links li a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: solid 2px rgba(255, 255, 255, .2);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-origin: center;
    transition: border .1s ease-out,
                transform .1s ease-out;
}

.social-links li a:hover {
    border: solid 2px rgba(255, 255, 255, .8);
}

.icon-facebook:before {
    font-size: 17px;
}

.icon-twitter:before {
    font-size: 16px;
}

.f2 .feature-bg {
    justify-content: center;
    text-align: center;
    padding: 0;
}

.prev-game img,
.next-game img {
    width: 120px;
    height: auto;
}

.neverwinter .game-logo {
    max-width: 500px;
    margin-left: -20px;
}

.neverwinter .prev-game img,
.neverwinter .next-game img {
    width: 114px;
    height: auto;
}

.startrek .prev-game img {
    width: 160px;
    height: auto;
}

.startrek .game-logo {
    max-width: 426px;
    margin: 30px 0 30px -12px;
}

.champions .game-logo {
    max-width: 440px;
    margin: 30px 0 30px 0;
}

.champions .prev-game img,
.champions .next-game img {
    width: 110px;
    height: auto;
}

/* ==========================================================================
   Games | Neverwinter
   ========================================================================== */

.bg-neverwinter-1 {
    background-image: url(../img/bg_nwo_dragon.jpg);
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    display: none;
}

.neverwinter .f1 .feature-bg {
    background-image: url(../img/bg_f1_nwo.jpg);
}

.neverwinter .f2 .feature-bg {
    background-image: url(../img/bg_f2_nwo.jpg);
    background-position: top center;
    height: 550px;
}

.neverwinter .f1 .feature-heroes {
    background-image: url(../img/f1_nwo.png);
}

.f2 .feature-bg p {
    width: 70%;
    margin: 0 auto;
}

/* ==========================================================================
   Games | Star Trek Online
   ========================================================================== */

.bg-startrek-1 {
    display: none;
}

.startrek .f1 .feature-bg {
    background-image: url(../img/bg_f1_sto.jpg);
    background-position: -680px right;
}

.startrek .f2 .feature-bg {
    background-image: url(../img/bg_f2_sto.jpg);
    background-position: top center;
}

/* ==========================================================================
   Games | Champions Online
   ========================================================================== */

.bg-champions-1 {
    display: none;
}

.champions .f1 .feature-bg {
    background-image: url(../img/bg_f1_co.jpg);
}

.champions .f2 .feature-bg {
    background-image: url(../img/bg_f2_co.jpg);
    background-position: top center;
}

.champions .feature-container.f2 article {
    margin-top: 340px;
}

/* ==========================================================================
   Company
   ========================================================================== */

.bg-contact-1 {
    background-image: url(../img/bg_contact_1.jpg);
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.bg-home-1 {
    background-image: url(../img/bg_home_1.jpg);
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    display: none;
}

.home .main-container {
    margin: 220px 12% 0 20%;
    justify-content: flex-start;
}

.home .carousel.slick:after {
    height: 80%;
}

.home p {
    text-shadow: 0 0 8px rgba(0, 0, 0, .8);
}

/* ==========================================================================
   Careers
   ========================================================================== */

.bg-careers-1 {
    background-image: url(../img/bg_careers_1.jpg);
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.careers .main-container {
    flex-direction: column;
    align-items: center;
}

.careers .main-container article {
    max-width: 620px;
}

.careers-openings {
    display: flex;
    flex-direction: row;
    padding: 0 5%;
}

.careers .careers-openings h3 {
    margin-bottom: 10px;
}

.careers .careers-openings h4 {
    margin-bottom: 0;
}

.careers-openings li {
    list-style: none;
    line-height: 16px;
    margin-left: 0;
    margin-bottom: 10px;
}

.careers-openings li:last-child {
    margin-bottom: 0;
}

.careers-openings li a {
    color: #686867;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 10px 0;
    transition: color .1s ease-out;
    text-shadow: 0 0px 10px #000, 0 0px 4px #000;
    white-space: nowrap;
}

.careers-openings li a:hover {
    color: rgba(255, 255, 255, .7);
}

.careers-openings li a:after {
    content: '';
    background-image: url(../img/arrow.svg);
    background-repeat: no-repeat;
    width: 12px;
    height: 12px;
    position: absolute;
    margin: 4px 0 0 6px;
    opacity: 0;
    transition: opacity .1s ease-out;
}

.careers-openings li:hover a:after {
    opacity: 1;
}

.careers-openings li a.active {
    color: #fff;
}

.careers-openings ul {
    margin-bottom: 20px;
}

.careers-foot a {
    color: #888;
    text-decoration: underline;
}

.careers-foot a:hover {
    color: #fff;
}

.position article strong {
    font-size: 18px;
    color: rgba(255, 255, 255, .4);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: .05em;
}

.benefits-body {
    margin-left: 30px;
}

.benefits-body ul {
    margin: 5px 0 20px;
}

.benefits-body ul li {
    list-style: disc;
    margin-left: 30px;
}

.careers-heading {
    margin: 0 auto;
    text-align: center;
    margin-bottom: 40px;
    padding-right: 40px;
}

.careers-heading.opening {
    text-align: left;
}

.careers form + h5 a {
    margin-left: 170px;
}

.careers h5 a:after {
    content: '';
    background-image: url(../img/arrow.svg);
    background-repeat: no-repeat;
    width: 12px;
    height: 13px;
    position: absolute;
    margin: 5px 0 0 6px;
    opacity: 0;
    transition: opacity .1s ease-out;
}

.careers h5 a:hover:after {
    opacity: 1;
}

.careers h4 {
    margin-bottom: 20px;
}

.careers-c1,
.careers-c2,
.careers-c3 {
    display: flex;
    flex-direction: column;
    margin-right: 7%;
}

.careers-c2 {
    margin-right: 0;
}

.careers-application {
    display: flex;
    justify-content: space-between;
    max-width: 570px;
}

.careers-application p {
    margin: 0;
    line-height: 38px;
}

.careers-application .required {
    color: #ab3100;
    font-size: 36px;
    line-height: 10px;
    position: relative;
    top: 14px;
}

label {
    font-size: 15px;
    height: 32px;
    width: 170px;
    display: inline-block;
    margin-top: 6px;
}

label.resume {
    width: 100%;
}

label .required {
    color: #ab3100;
    font-size: 36px;
    height: 38px;
    margin: -6px 10px 0 0;
    position: relative;
    float: right;
}

.input-field {
    background: #0b0b0b;
    width: 400px;
    height: 38px;
    line-height: 38px;
    border-radius: 4px;
    border: solid 1px rgba(255, 255, 255, .25);
    outline: none;
    padding: 0 12px;
}

.form-field-wrapper {
    display: flex;
    align-items: flex-start;
    margin-top: 16px;
}

.form-field-wrapper .button {
    width: 400px;
    margin: 6px 0 40px 170px;
}

textarea {
    background: #0b0b0b;
    width: 400px;
    height: 160px;
    border-radius: 4px;
    border: solid 1px rgba(255, 255, 255, .25);
    outline: none;
    padding: 8px 12px;
}

input:focus,
textarea:focus {
    border: solid 1px rgba(255, 255, 255, .5);
}

.upload-field {
    width: 290px;
    margin-right: 10px;
}

.upload-button input[type='file'] {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 144px;
    height: 36px;
    line-height: 36px;
    border-radius: 4px;
}

.upload-button {
    background: rgba(0, 0, 0, .7);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 56px;
    text-align: center;
    text-transform: uppercase;
    width: 100px;
    height: 36px;
    line-height: 36px;
    border-radius: 4px;
    box-shadow: 0 0 0 0.1em;
    outline: none;
    border: none;
    display: inline-block;
    cursor: pointer;
    position: relative;
    top: 1px;
    transition: background .1s ease-out;
}

.upload-button:hover {
    background: rgba(255, 255, 255, .25);
    cursor: pointer;
}

/* ==========================================================================
    Contact
    ========================================================================== */

.contact article p {
    margin: 0 0 60px 0;
}

.contact p a {
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 10px 0;
    transition: color .1s ease-out;
}

.contact p a:hover {
    color: rgba(255, 255, 255, 1);
}

.contact p a:hover:after {
    content: '';
    background-image: url(../img/arrow.svg);
    background-repeat: no-repeat;
    width: 12px;
    height: 12px;
    position: absolute;
    margin: 9px 0 0 6px;
    opacity: 1;
    transition: opacity .1s ease-out;
}

.contact p a:hover a:after {
    opacity: 1;
}

.contact .social-links {
    margin-top: 20px;
}

/* ==========================================================================
    Mobile Menu
    ========================================================================== */

.mobile-menu {
    display: none;
}

.mobile-nav {
    background: #000;
    width: 100%;
    height: 100%;
    top: 0;
    position: fixed;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    transform: translateY(-100%);
}

.mobile-nav.active {
    animation: mobile-nav-active .4s 0s cubic-bezier(0.19, 1, 0.22, 1) both;
    animation: mobile-nav-active .3s 0s cubic-bezier(0.645, 0.045, 0.355, 1.000) both;
}
@keyframes mobile-nav-active {
    from {
    transform: scale(0);
    opacity: 0;
    }
    to {
    transform: scale(1);
    opacity: 1;
    }
}

.mobile-nav.close {
    animation: mobile-nav-close .3s 0s cubic-bezier(0.19, 1, 0.22, 1) both;
    animation: mobile-nav-close .2s 0s cubic-bezier(0.645, 0.045, 0.355, 1.000) both;
}
@keyframes mobile-nav-close {
    from {
    transform: scale(1);
    opacity: 1;
    }
    to {
    transform: scale(0);
    opacity: 0;
    }
}

.mobile-nav ul {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-nav li {
    list-style: none;
    width: 100%;
}

.mobile-nav a {
    color: rgba(255, 255, 255, .5);
    font-size: 18px;
    font-weight: 500;
    line-height: 60px;
    height: 60px;
    text-transform: uppercase;
    width: 100%;
    display: flex;
    align-content: stretch;
    justify-content: center;
    transition: background .15s ease-in;
    -webkit-tap-highlight-color: none;
    -webkit-touch-callout: none;
}

.mobile-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .2);
    -webkit-tap-highlight-color: none;
    -webkit-touch-callout: none;
}

::selection {
    text-shadow: none;
    outline: none;
    background: rgba(255, 255, 255, .2);
    -webkit-tap-highlight-color: none;
    -webkit-touch-callout: none;
}

.home .mobile-nav li:nth-child(1) a { color: #fff; }
.neverwinter .mobile-nav li:nth-child(2) a { color: #fff; }
.startrek .mobile-nav li:nth-child(3) a { color: #fff; }
.champions .mobile-nav li:nth-child(4) a { color: #fff; }
.careers .mobile-nav li:nth-child(6) a { color: #fff; }
.contact .mobile-nav li:nth-child(7) a { color: #fff; }

/* ==========================================================================
   Common Animations
   ========================================================================== */

.fade-in { animation: fade-in .25s .5s ease-in-out forwards; }
.fade-in-slow { animation: fade-in .6s .0s ease-in-out forwards; }

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-out { animation: fade-out .25s 0s ease-in-out forwards; }
.fade-out-fast { animation: fade-out .1s 0s ease-in-out forwards; }
.fade-out-slow { animation: fade-out .6s 0s ease-in-out forwards; }

@keyframes fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

.left-offscreen { animation: left-offscreen .25s 0s cubic-bezier(0.19, 1, 0.22, 1) both; }

@keyframes left-offscreen {
    from {
    transform: translateX(0);
    opacity: 1;
    }
    to {
    transform: translateX(-200%);
    opacity: 0;
    }
}

.left-onscreen { animation: left-onscreen .75s .35s cubic-bezier(0.19, 1, 0.22, 1) both; }

@keyframes left-onscreen {
    from {
    transform: translateX(-200%);
    opacity: 0;
    }
    to {
    transform: translateX(0);
    opacity: 1;
    }
}

.right-offscreen { animation: right-offscreen .25s 0s cubic-bezier(0.19, 1, 0.22, 1) both; }

@keyframes right-offscreen {
    from {
    transform: translateX(0);
    opacity: 1;
    }
    to {
    transform: translateX(200%);
    opacity: 0;
    }
}

.right-onscreen { animation: right-onscreen .5s .35s cubic-bezier(0.19, 1, 0.22, 1) both; }

@keyframes right-onscreen {
    from {
    transform: translateX(200%);
    opacity: 0;
    }
    to {
    transform: translateX(0);
    opacity: 1;
    }
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (max-width: 600px) {
    .games h2 {
        font-size: 20px;
        line-height: 26px;
    }
    .games p {
        font-size: 16px;
        line-height: 24px;
    }
    .careers-openings {
        flex-direction: column;
    }
}

@media only screen and (max-width: 320px) {
    .platform-logos,
    .game-details {
        width: 100%;
    }
    .game-details {
        width: 100%;
        padding: 26px 18px;
    }
    .game-details span {
        width: 70px;
    }
}

@media only screen and (max-width: 60em) {
    /* ==========================================================================
       Mobile | Common
       ========================================================================== */
    h1 {
        font-size: 30px;
        line-height: 36px;
    }
    h3 {
        font-size: 26px;
        line-height: 30px;
    }
    h5 {
        font-size: 14px;
    }
    header {
        box-shadow: 0 0 20px 0 rgba(0, 0, 0, .6);
        background: rgba(0, 0, 0, .75);
        box-shadow: inset 0 -1px 0px 0 rgba(255, 255, 255, .05),
                    inset 0 -10px 20px 0 rgba(255, 255, 255, .1),
                    0 1px 0px 0 rgba(0, 0, 0, .4),
                    0 0 20px 0 rgba(0, 0, 0, .6);
        padding: 0 18px;
        box-shadow: none;
        background: none;
    }
    .no-scroll header {
        background: none;
        box-shadow: none;
    }
    header nav {
        display: none;
    }
    main {
        margin-top: 140px;
        margin-top: 60px;
    }
    .main-container {
        margin: 0 30px;
        padding: 40px 0;
    }
    .main-container article {
        max-width: none;
    }
    .copyright {
        flex-direction: column;
        margin-bottom: 30px;
    }
    .button {
        width:100%;
    }
    /* ==========================================================================
       Mobile | Carousel
       ========================================================================== */
    .carousel.slick:after {
        box-shadow: none;
    }
    .carousel-banner {
        height: 340px;
        padding: 0 30px 30px 30px;
    }
    .carousel-banner .button {
        margin-top: 14px;
    }
    .flickity-prev-next-button svg {
        display: none;
    }
    .flickity-viewport:after {
        box-shadow: inset 0 -90px 100px 30px rgba(0, 0, 0, .85);
    }
    .feature-container.f1 article {
        max-width: 100%;
        padding: 10% 0;
    }
    .feature-container.f2 {
        margin-bottom: 130px;
    }
    .feature-container.f2 article {
        margin-left: 0;
        padding: 0 0 80px 0;
    }
    .bg-art-container:after {
        box-shadow: none;
    }
    .startrek .bg-art-container:after {
        box-shadow: none;
    }
    /* ==========================================================================
       Mobile | Layouts
       ========================================================================== */
    .home .main-container {
        margin: 0 5% 10% 5%;
        text-align: center;
    }
    .home .button {
        margin: 50px auto 0 auto;
    }
    .bg-careers-1 {
        background-position: -580px -2px;
    }
    .careers form + h5 a {
        margin-top: 40px;
        margin-left: 0;
        text-align: center;
        align-items: center;
        justify-content: center;
        display: flex;
    }
    .careers .main-container article {
        max-width: 100%;
    }
    .careers-heading {
        width: 100%;
        padding-right: 0;
    }
    label {
        font-size: 14px;
        height: 20px;
        display: block;
        width: 100%;
        margin-bottom: 4px;
    }
    label .required {
        margin: -8px 0 0 0;
    }
    .input-field {
        width: 100%;
    }
    .form-field-wrapper {
        flex-direction: column;
        width: 100%;
    }
    .form-field-wrapper .button {
        margin: 6px auto;
        width: 100%;
    }
    textarea {
        width: 100%;
    }
    .upload-button {
        width: 100%;
        top: 7px;
    }
    .upload-button input[type='file'] {
        width: 100%;
    }
    .careers-application p {
        font-size: 14px;
    }
    .games .carousel-banner {
        height: auto;
        margin: 200px auto 0 auto;
        padding: 0;
        align-items: center;
    }
    .games main {
        margin-top: 80px;
    }
    .games .main-container {
        padding: 0;
        margin: 0 5%;
        flex-direction: column;
    }
    .games .prev,
    .games .next {
        display: none;
    }
    .games .main-container article {
        margin: 0;
        text-align: center;
        min-width: inherit;
        align-items: center;
    }
    .games .main-container aside {
        width: 100%;
        height: auto;
        margin: -20px 0 20px 0;
        align-items: center;
    }
    .game-logo {
        margin: 0 auto;
    }
    aside .button {
        margin-top: 60px;
        width: 100%;
        max-width: 330px;
        display: none;
    }
    .social-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        display: none;
    }
    .social-links.mobile {
        display: flex;
        margin-bottom: 40px;
    }
    .social-links-label {
        width: auto;
        margin-bottom: 14px;
    }
    .f1 .feature-bg {
        padding: 0 10%;
    }
    .f1 .feature-bg:before {
        width: 100%;
        background: linear-gradient(40deg, rgba(0,0,0,0.8) 0%,rgba(0,0,0,0) 75%);
    }
    .f2 .feature-bg p {
         width: 100%;
    }
    .video-background {
        display: none;
    }
    .bg-vid {
        display: none;
    }
    .bg-neverwinter-1 {
        background-position: -600px -22px;
        display: block;
    }
    .neverwinter .f1 .feature-bg {
        background-position: -1510px 0px;
    }
    .neverwinter .f2 .feature-bg {
        background-size: cover;
        background-position: -270px center;
        padding: 0 30px;
    }
    .bg-startrek-1 {
        background-image: url(../img/bg_sto_1.jpg);
        background-position: -460px 0;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 100%;
        display: block;
    }
    .neverwinter .game-logo,
    .startrek .game-logo,
    .champions .game-logo,
    .startrek .f1 .feature-bg {
        background-position: -620px 0;
    }
    .startrek .f2 .feature-bg {
        background-position: -350px -20px;
        padding: 0 30px;
    }
    .bg-champions-1 {
        background-image: url(../img/bg_champions_1.jpg);
        background-position: -250px -30px;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 100%;
        display: block;
    }
    .champions .f1 .feature-bg {
        background-position: -1080px 0;
    }
    .champions .f2 .feature-bg {
        background-position: -230px -20px;
        padding: 0 30px;
    }
    .bg-home-1 {
        display: block;
    }
    .bg-contact-1 {
        background-position: -520px 0;
    }
    /* ==========================================================================
        Mobile | Menu
        ========================================================================== */
    .mobile-menu {
        width: 60px;
        height: 60px;
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 4;
    }
    .mobile-menu:hover {
        cursor: pointer;
    }
    .mobile-menu.close {
        margin-right: -2px;
        position: fixed;
        z-index: 4;
    }
    .mobile-menu ul {
        list-style: none;
        width: 24px;
        flex-direction: column;
    }
    .mobile-menu li {
        list-style: none;
        background: #fff;
        width: 24px;
        height: 3px;
        margin-bottom: 4px;
        border-radius: 10px;
        transition: background .15s ease-in-out;
    }
    .mobile-menu.close li:nth-child(1) {
        transform: rotate(45deg);
        transform-origin: center center;
        margin: 5px 0 0 -2px;
        position: absolute;
    }
    .mobile-menu.close li:nth-child(2) {
        visibility: hidden;
    }
    .mobile-menu.close li:nth-child(3) {
        transform: rotate(-45deg);
        margin: -2px -2px 6px -2px;
    }
    .close-mobile-menu {
        display: none;
    }
    .close-mobile-menu.active {
        width: 60px;
        height: 60px;
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 5;
    }
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* From v1.0 page. */
.all-messages-wrapper {
    position: absolute;
    top: -80px;
}
.error-message {
    background-color: #cc3300;
    padding: 5px;
    color: #cc3300;
    color: #fff;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 24px;
}
.status-message {
	background-color: #afa;
	padding: 5px;
	color: #060;
	font-size: 14px;
}

.thank-you article {
    text-align: center;
    margin: 0 auto;
}

.input-error {
    border-color: #cc3300;
}

.attachment a {
    font-size: 1.25em;
    color: #0ff;
}
.attachment a:hover {
    text-decoration: underline;
}
