/* ==========================================================================
   Liquid's custom styles
   ========================================================================== */

body {
    /* min-height:2000px;
    min-width:1200px;*/
    margin: 0;
    padding: 0;
}

img {
    display: inline-block;
    height: auto;
    max-width: 100%;
}

img#buttonDownloadTrial {
    max-width: 300px;
}

img#free-trial-header {
    max-width: 240px;
}

h1,
h2,
h3 {
    font-family: 'Alegreya SC', serif;
    letter-spacing: 0.05em;
}

p {
    color: #fff;
    letter-spacing: 0.08em;
    font-weight: 300;
    color: #eee;
}

a:hover {
    text-decoration: none;
}

ul li {
    text-align: left;
}

.parallax-window {
    min-height: 400px;
    background: transparent;
}

.text-box {
    /* opacity:0.6; */
    cursor: pointer;
    padding: 20px;
}

.box,
.cta {
    cursor: pointer;
}

.buy-now:hover {
    background-position: 0 2.2vw;
}

.separator.flipped {
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
    filter: FlipW;
    -ms-filter: "FlipW";
    top: -2px;
}

.separator {
    position: absolute;
    z-index: 3;
    top: -18px;
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 450px;
    max-width: 100%;
}

.title {
    color: #fff;
    margin-bottom: 2em;
    text-shadow: 0 0 12px #ffedb8;
}

.subtitle {
    color: #fff;
    margin: 1.5em 0 1em;
}

.horizontal {
    position: absolute;
    z-index: 2;
    top: -9px;
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 100%;
    background: url("../img/horizontal.png") repeat-x;
    height: 20px;
}

.horizontal.bottom {
    top: auto;
    bottom: -9px;
}

#header-scrolled {
    position: fixed;
    top: 0px;
    left: 0;
    z-index: 9999;
    width: 100%;
    display: none;
    height: 80px;
    background: url('../img/header-scrolled-bg.jpg') repeat-x;
}

#header-scrolled #logo {
    height: 100px;
    padding-top: 10px;
}

#header-scrolled li,
.flags-hero li {
    padding: 2em .4em;
    cursor: pointer;
    display: inline-block;
}

#header-scrolled li a,
.flags-hero li a {
    font-family: 'Alegreya SC', serif;
}

#header-scrolled #free-trial-header {
    padding-top: 15px;
}


/* HERO */

.hero {
    margin-left: auto;
    margin-right: auto;
    margin-top: -5px;
    position: relative;
    overflow: hidden;
    max-height: 100vh;
}

.hero,
.media-hero-bg {
    min-height: 700px;
}

.bg-video {
    width: 100%;
}

.layer-carbon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/subtle_carbon.png') repeat;
    opacity: 0.1;
}

.flags-hero {
    position: absolute;
    left: 2em;
    top: 1em;
}

.media-hero-bg {
    position: absolute;
    top: 0;
    width: 100%;
    display: none;
}

.hero #bg {
    width: 100vw;
    min-width: 1600px;
}

img#hero-arrow {
    position: absolute;
    margin: 0 auto;
    top: -7em;
    color: #fff;
    cursor: pointer;
    left: 0;
    right: 0;
    z-index: 3;
    min-width: 200px;
    width: 12em;
    padding-right: 10px;
}

.hero #free-trial {
    padding-top: 2em;
    font-weight: 500;
    font-size: 1.2em;
    text-shadow: 0px 0px 6px white;
}

.hero #free-trial #buttonDownloadTrial {
    padding-top: 3vw;
}

.hero .awards {
    position: absolute;
    top: 3em;
    left: 0;
    right: 0;
}

.hero #logo {
    width: 100%;
    max-width: 700px;
    padding: 5vh 0 1vw;
}

.text-hero {
    position: absolute;
    width: 100%;
    z-index: 3;
}

.text-hero a #icon {
    width: 1.2em;
    margin-top: -0.3em;
}

.text-hero h1 {
    font-size: 5em;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 0.3em;
    line-height: 1.2;
}

.text-hero p {
    color: #fff;
    font-size: 2em;
    font-weight: 100;
    letter-spacing: 0.1em;
    margin: 0 auto 2em auto;
    line-height: 2;
}


/* PANEL 1 : GETTING STARTED */

#panel1 {
    background: url('../img/panel2-bg.jpg') no-repeat;
    background-size: cover;
    background-position: top center;
    position: relative;
    min-height: 30vw;
    text-align: center;
    padding: 5em 0;
}

#panel1 .onboarding-video {
    border: 1px solid #fff;
    -webkit-box-shadow: 0px 0px 53px 3px rgba(255, 237, 184, .3);
    -moz-box-shadow: 0px 0px 53px 3px rgba(255, 237, 184, .3);
    box-shadow: 0px 0px 53px 3px rgba(255, 237, 184, .3);
}

#panel1 .stepWrapper {
    padding-top: 3em;
}

#panel1 .stepItem h4 {
    letter-spacing: .08em;
    max-width: 70%;
    margin: 0 auto;
    padding-bottom: 1.5em;
}

#panel1 .stepItem {
    color: #fff;
}

#panel1 .stepItem p,
#panel1 .stepItem li {
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.08em;
    padding: 0.3em 0;
}

#panel1 .slick-arrow {
    position: absolute;
    z-index: 1;
    top: 2.3em;
    width: 50%;
    outline: none;
    cursor: pointer;
    color: #b4cefe;
    font-family: 'Alegreya SC', serif;
    letter-spacing: 0.05em;
    padding: 0 1em;
    text-shadow: 0 0 12px #ffedb8;
    font-size: 1.2em;
}

#panel1 .slick-arrow img {
    width: 2.8em;
    margin-top: -.4em;
    cursor: pointer;
    opacity: .9;
}

#panel1 .slick-arrow img:hover {
    opacity: 1;
}

#panel1 .slick-next {
    right: 0;
    text-align: right;
}

#panel1 .slick-prev {
    text-align: left;
    left: 0;
}

#panel1 .slick-slide {
    outline: none;
}

.white-popup {
    position: relative;
    background: #111;
    padding: 20px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
    color: #eee;
}

.white-popup h4 {
    color: #999;
}


/* PANEL 2 : WIKIA CAROUSEL */

#panel2 .wikia-nav {
    position: relative;
    z-index: 1;
}

#panel2 .wikia-nav .text {
    width: 100%;
    background: #fff;
}

#panel2 .wikia-nav .text .wikia-logo {
    width: 100px;
    margin-top: -.5em;
}

#panel2 .wikia-nav .text h2 {
    margin: 0;
    padding: 1.5em 1em 0;
    font-size: 1.4em;
    line-height: 1.5;
    color: #3b5c8f;
}

#panel2 .slick-next {
    position: absolute;
    right: 0.3vw;
    z-index: 1;
    top: 48%;
    background: transparent url('../img/left.png');
    background-size: 4em 3.5em;
    border: 0;
    width: 4em;
    height: 3.5em;
}

#panel2 .slick-slide {
    outline: none;
}

#panel2 .slick-prev {
    position: absolute;
    left: 0.3vw;
    z-index: 1;
    top: 48%;
    background: transparent url('../img/right.png');
    background-size: 4em 3.5em;
    border: 0;
    width: 4em;
    height: 3.5em;
}

#panel2 .carousel {
    margin-top: -2vw;
}

#panel2 .carousel .item-wikia {
    background: #eee;
    height: 40vw;
    min-height: 600px;
    max-height: 800px;
}

#panel2 .carousel .item-wikia .content {
    padding: 6vw 6em 0;
    width: 100%;
    height: 100%;
}

#panel2 .carousel .item-wikia .lightOnDark,
#panel2 .carousel .item-wikia .lightOnDark p {
    color: #fff;
    font-weight: 100;
}

#panel2 .carousel .item-wikia .darkOnLight,
#panel2 .carousel .item-wikia .darkOnLight p {
    color: #000;
}

#panel2 .carousel .item-wikia .content p {
    line-height: 2;
    padding-top: 2em;
    padding-bottom: 1em;
    max-height: 220px;
}

#panel2 .carousel .item-wikia .content a {
    text-transform: uppercase;
    font-size: 1.3em;
    font-family: 'Alegreya SC', serif;
    letter-spacing: 0.05em;
}

#panel2.carousel-wrapper {
    position: relative;
}


/* PANEL 3 : BOXES */

#panel3 {
    margin: 0;
    position: relative;
    z-index: 1;
}

#panel3 .button_buynow {
    padding-top: 1em;
    padding: 1em 9em;
    background: url('../img/button_buynow_top.png') no-repeat;
    background-size: 100%;
}

#panel3 .boxWrapper {
    margin: 0;
    padding: 7em 5vw 8em;
}

#panel3 .box {
    float: left;
    width: 29%;
}

#panel3 .box img {
    width: 330px;
    margin: 0 auto;
}

#panel3 .box h2 {
    color: #fff;
    padding-bottom: 1.2em;
}

#panel3 .button_buynow:hover {
    background-position: 0 -3em;
}


/* PANEL 4 : GAMEPLAY TRAILER */

.gameplay-trailer {
    position: relative;
    min-height: 500px;
    height: 50vw;
    overflow: hidden;
    display: table;
    width: 100%;
}

.gameplay-trailer .bg-video {
    width: 100%;
    position: absolute;
    z-index: -2;
}

.gameplay-trailer .content {
    z-index: 2;
    position: relative;
    display: table-cell;
    vertical-align: middle;
}

.gameplay-trailer .content img {
    margin: 0 auto;
    padding: 0 2em;
}

.gameplay-trailer .content h2 {
    color: #fff;
    text-shadow: 0 0 12px #ffedb8;
    margin: 1em;
    outline: none;
}

.gameplay-trailer .content h2 a {
    outline: none;
}


/**
 * Simple fade transition,
 */

.mfp-fade.mfp-bg {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}

.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}


/* FOOTER */

footer {
    color: #fff;
    position: relative;
    min-height: 50px;
    background: #090F1C;
    padding: 50px 0 15px;
}

footer ul {
    padding: 0;
}

footer ul li {
    display: inline-block;
}

footer .legal-block {
    padding-top: 20px;
    font-size: 12px;
}

@media only screen and (min-width: 1921px) {
    #panel2 .wikia-nav .text h2 {
        padding-top: 2vw;
    }
    #panel2 .carousel .item-wikia .content {
        padding: 6vw;
    }
    #panel3 .boxWrapper {
        width: 80%;
        margin: 0 10%;
    }
}

@media only screen and (max-width: 1400px) {
    #panel3 .box {
        width: 35%;
    }
}

@media only screen and (max-width: 1200px) {
    #panel2 .wikia-nav .text h2 {
        padding: 1.5em 1em .3em;
    }
    #panel2 .wikia-nav .text h2 {
        font-size: 1.2em;
    }
    #panel3 .boxWrapper {
        width: 90%;
        margin: 0 5%;
    }
    #panel3 .box {
        width: 50%;
    }
}

@media only screen and (max-width: 768px) {
    .flags-hero {
        display: none;
    }
    #panel1 .slick-next {
        right: -2.3em;
    }
    #panel1 .slick-prev {
        left: -2.3em;
    }
    #panel2 .wikia-nav .text .wikia-logo {
        width: 100px;
        padding: 0.5em 0;
    }
    #panel3 .boxWrapper {
        width: 80%;
        margin: 0 10%;
        padding-bottom: 3em
    }
    #panel3 .box {
        width: 100%;
        float: none;
        padding-bottom: 6em;
    }
    #panel3 .box h2 {
        padding-bottom: .8em;
    }
}

@media only screen and (max-width: 480px) {
    #panel3 .boxWrapper {
        width: 90%;
        margin: 0 5%;
    }
    .hero .awards {
        max-width: 240px;
        margin: 0 auto;
    }
    img#buttonDownloadTrial {
        max-width: 240px;
    }
}

@media only screen and (max-width: 400px) {
    .separator {
        display: none;
    }
}