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

@font-face {
      font-family: 'fontello';
      src: url('../font/fontello.eot?52857950');
      src: url('../font/fontello.eot?52857950#iefix') format('embedded-opentype'),
           url('../font/fontello.woff?52857950') format('woff'),
           url('../font/fontello.ttf?52857950') format('truetype'),
           url('../font/fontello.svg?52857950#fontello') format('svg');
      font-weight: normal;
      font-style: normal;
    }
    
.demo-icon
    {
      font-family: "fontello";
      font-style: normal;
      font-weight: normal;
      speak: none;
     
      display: inline-block;
      text-decoration: inherit;
      width: 1em;
      margin-right: .2em;
      text-align: center;
      /* opacity: .8; */
     
      /* For safety - reset parent styles, that can break glyph codes*/
      font-variant: normal;
      text-transform: none;
     
      /* fix buttons height, for twitter bootstrap */
      line-height: 1em;
     
      /* Animation center compensation - margins should be symmetric */
      /* remove if not needed */
      margin-left: .2em;
     
      /* You can be more comfortable with increased icons size */
      /* font-size: 120%; */
     
      /* Font smoothing. That was taken from TWBS */
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
     
      /* Uncomment for 3D effect */
      /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
    }

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

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;
    text-align: center;
}

.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: 1041;
    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;
}

.download-btn, .download-btn:hover, .download-btn:visited, .download-btn:active, .download-btn:focus {
    background-image: url(../img/button_background.png);
    background-repeat: no-repeat;
    background-position: center top;
    width: 484px;
    height: 82px;
    text-align: center;
    font-size: 1.4em;
    line-height: 2.25;
    margin: 3vw auto;
    text-transform: uppercase;
    display: block;
    color: #fff;
    text-shadow: 0 0 6px white;
    font-family: "Alegreya SC",serif;
    opacity: .75;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}
.download-btn:hover
{
      opacity: 1;
      text-decoration: none;
      outline: none;
}
#panel3 .download-btn, #panel3 .download-btn:hover, #panel3 .download-btn:visited, #panel3 .download-btn:active, #panel3 .download-btn:focus 
{
    background-position: center center;
    background-size: contain;
    font-size: 1.4em;
    line-height: 4;
    max-width: 461px;
    width: 80%;
    margin: 0 auto;
    text-shadow: 0 0 6px white;
}
#panel3  .download-btn:hover
{
      opacity: 1;
      text-decoration: none;
      outline: none;
}
#header-scrolled .download-btn, #header-scrolled .download-btn:hover, #header-scrolled .download-btn:visited, #header-scrolled .download-btn:active, #header-scrolled .download-btn:focus  {
    background-size: contain;
    display: inline-block;
    margin-top: 8px;
    width: 55%;
    line-height: 2.5;
    font-size: 1.85em;
    min-width: 370px;
    outline: none;
    max-width: 430px;
}
#header-scrolled  .download-btn:hover
{
      opacity: 1;
      text-decoration: none;
      outline: none;
}
/* HERO */

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

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

.bg-video {
    width: 100%;
}
.video-container {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.video-container  iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 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;
    background-image: url(../img/heavensward_bg.jpg);
    background-size: cover;
    background-position: left top;
    background-repeat: no-repeat;
}

.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.6em;
    text-shadow: 0px 0px 6px white;
    color: #333;
}
.hero #free-trial.white-text
{
    text-shadow: 0px 0px 6px #333;
    color: #fff;  
}
.hero #free-trial #buttonDownloadTrial {
    padding-top: 3vw;
}

#panel1 .awards {
    position: absolute;
    top: 3em;
    left: 0;
    right: 0;
    display: block;
    position: relative;
}
.hero .awards {
    position: absolute;
    top: 3em;
    left: 0;
    right: 0;
    display: none;
    position: relative;
}
.carouselAwards
{
      width: 80%;
      position: relative;
      display: block;
      overflow: hidden;
      margin: 0 auto 25px auto;
}
.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/dragon-bg.jpg') no-repeat;
    background-size: cover;
    background-position: top center;
    position: relative;
    min-height: 30vw;
    text-align: center;
    padding: 5em 0;
    display: block;
    text-shadow: 2px 2px #000;
}

#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;
    width: 80%;
    margin: 0 auto;
}

#panel1 .slick-arrow {
    position: absolute;
    z-index: 1;
    top: 2.3em;
    width: 65px;
    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;
    z-index: 999;
}

#panel1 .slick-arrow img {
    width: 100%;
    margin-top: -1em;
    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, #panel3 .slick-slide {
    outline: none;
    display: inline-block;
    width: 100%;
    font-size: 20px;
}
#panel1 .slick-slide img, #panel3 .slick-slide img
{
      display: inline-block;
}
.white-popup {
    position: relative;
    background: #111;
    padding: 20px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
    color: #eee;
}

.white-popup h4 {
    color: #999;
}
#panel1 a, #panel1 a:hover, #panel1 a:active, #panel1 a:focus
{
      color: #fff;
      font-weight: 700;
      text-decoration: underline;
}
#panel1 a:hover
{
      color: #ababab;
}
/* 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;
    text-align: center;
    text-shadow: 2px 2px #000;
}

#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 {
    display: inline-block;
    width: 29%;
    vertical-align: top;
}

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

#panel3 .box h2 {
    color: #fff;
    padding-bottom: 0;
    text-shadow: 2px 2px 4px #000;
}

#panel3 .button_buynow:hover {
    background-position: 0 -3em;
}
.box.text-center > a:first-child
{
      display: block;
      height: 400px;
      margin: 0 auto;
}
.row.boxWrapper > .box.text-center:nth-child(2) > a:first-child
{
      max-width: 270px;
}
/* PANEL 4 : GAMEPLAY TRAILER */
#panel4
{
      display: none;
}
.gameplay-trailer {
    position: relative;
    min-height: 500px;
    height: 50vw;
    overflow: hidden;
    display: table;
    width: 100%;
    background-image: url(../img/poster-footer.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.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;
    vertical-align: middle;
}

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

/* language selection additions */
.language-selection
{
    position: relative;
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
    line-height: 1;
    overflow: hidden;
}
.language-selection.active
{
    overflow: visible;
}
.language-selection a, .language-selection a:hover, .language-selection a:focus, .language-selection a:visited, .language-option
{
    color: #fff;
    text-decoration: none;
    display: block;
    border-bottom: 2px solid #23527c;
    padding: 5px 0;
    cursor: pointer;
    -webkit-transition: all 0.333s ease-out;
    -moz-transition: all 0.333s ease-out;
    transition: all 0.333s ease-out;
}
.language-selection a:hover, .language-option:hover, .language-option.active
{
    color: #337ab7;
}
.language-selection-house
{
    max-height: 0;
    position: absolute;
    bottom: 40px;
    right: 0;
    height: 335px;
    width: auto;
    overflow: hidden;
    background-color: #090f1c;
    border-radius: 5px;
    min-height: 300px;
    -webkit-transition: all 0.333s ease-out;
    -moz-transition: all 0.333s ease-out;
    transition: all 0.333s ease-out;
    z-index: 9999;
    white-space: nowrap;
    border: 3px solid rgba(0,0,0,0);
}
.language-selection-house.active
{
    max-height: 2000px;
    overflow: visible;
    padding: 10px;
    border: 3px solid #727271;
}
.language-selection-house .horizontal
{
    position: absolute;
    margin: 0 auto;
}
.language-selection-house .horizontal.bottom
{
    position: absolute;
    margin: 0 auto;
}
.language-selection-house .col-md-6
{
    float: none;
    display: inline-block;
    position: relative;
    vertical-align: top;
}
.col-md-6.regions
{
    width: 50%;
    border-right: 2px solid #23527c;
    min-width: 190px;
}
.selected-language
{
    font-weight: 700;
    cursor: pointer;
    -webkit-transition: all 0.333s ease-out;
    -moz-transition: all 0.333s ease-out;
    transition: all 0.333s ease-out;
}
.selected-language:hover
{
    color: #337ab7;
}
.open-caret
{
    font-size: 24px;
    color: #337ab7;
    display: inline-block;
    -ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
    transform: rotate(180deg);
    -webkit-transition: all 0.333s ease-out;
    -moz-transition: all 0.333s ease-out;
    transition: all 0.333s ease-out;
}
.open-caret.active
{
    -ms-transform: rotate(0deg); /* IE 9 */
    -webkit-transform: rotate(0deg); /* Chrome, Safari, Opera */
    transform: rotate(0deg);
}
.col-md-6.countries
{
    max-width: 0;
    width: auto;
    overflow: hidden;
    padding: 0;
    max-width: 1000px;
    padding: 0 10px;
    -webkit-transition: all 0.333s ease-out;
    -moz-transition: all 0.333s ease-out;
    transition: all 0.333s ease-out;
}

.cookies-overlay
{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background-color: rgba(0,0,0,.8);
    color: #fff;
    font-family: Arial, sans-serif;
    z-index: 9999;
    font-size: .8em;
}
.cookies-paragraph
{
    display: inline-block;
    vertical-align: middle;
    width: 75%;
}
.cookies-button-container
{
    display: inline-block;
    vertical-align: middle;
    width: 25%;
    text-align: center;
}
.cookies-button
{
    cursor: pointer;
    margin: 0 auto;
    border: 2px solid #fff;
    font-weight: 700;
    text-align: center;
    padding: 10px 20px;
    text-transform: uppercase;
}
.cookies-button:hover
{
    background-color: #fff;
    color: rgba(0,0,0,.5);
}
#mac-error-modal, #mobile-error-modal
{
      width: 80%;
      margin: 0 auto;
      text-align: center;
}
#mac-error-modal .subtitle, #mobile-error-modal .subtitle
{
      margin: 15px 0;
}
.mac-error-icon
{
      padding: 10px;
}
@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: -0.5em;
    }
    #panel1 .slick-prev {
        left: -0.5em;
    }
    #panel2 .wikia-nav .text .wikia-logo {
        width: 100px;
        padding: 0.5em 0;
    }
    #panel3 .boxWrapper {
        width: 80%;
        margin: 0 10%;
        padding: 0;
    }
    #panel3 .box {
        width: 100%;
        float: none;
        padding-bottom: 50px;
    }
    #panel3 .box h2 {
        padding-bottom: 0;
    }
    .download-btn, .download-btn:hover, .download-btn:visited, .download-btn:active, .download-btn:focus, #panel3 .download-btn, #panel3 .download-btn:hover, #panel3 .download-btn:visited, #panel3 .download-btn:active, #panel3 .download-btn:focus
    {
      background-size: contain;
      font-size: 1.25em;
      height: auto;
      line-height: 2.1;
      text-decoration: none;
      width: 95%;
      text-shadow: 0 0 6px white;
      min-width: 0;
      min-height: 90px;
    }
      #panel3 .download-btn, #panel3 .download-btn:hover, #panel3 .download-btn:visited, #panel3 .download-btn:active, #panel3 .download-btn:focus
      {
            background-size: contain;
            min-height: 0;
            min-width: 0;
      }
      .cookies-button-container
      {
            display: block;
            width: 100%;
      }
}

@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;
    }
}