/*! 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;
}

/*
 * 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;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

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

.clear{
    clear:both;
}

a{
    color:#e18b51;
    text-decoration:none;
    outline: 0;

    -webkit-transition: color 0.2s linear, text-decoration 0.2s linear;
    -moz-transition: color 0.2s linear, text-decoration 0.2s linear;
    -o-transition: color 0.2s linear, text-decoration 0.2s linear;
    transition: color 0.2s linear, text-decoration 0.2s linear;
}

a:hover{
    color:#ffc27a;
    text-decoration:underline;
    outline: 0;
}

h2{
    color:#e18b51;
}

h3{
    font-size:18px;
}

.ArticleGif{
    border:2px solid gray;

    margin:10px 0px 10px 31px;


    border-radius: 15px;

    -webkit-box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.5);
}

html, body {
    margin:0;
    padding:0;
    height:100%;
    color:#FFF4ED;
}

body{
    background-image: url('../img/page_background.jpg');
    background-color: black;
    background-repeat: no-repeat;
    background-position: top center;
    background-attachment: fixed;
}

#page_wrapper {
    min-height:100%;
    position:relative;
}

#page_logo{
    margin:0px auto;
    padding-top:20px;
    width:499px;
    display:block;
}

#main_wrapper{
    width:972px;
    margin:0px auto;
    padding-top:40px;
    padding-bottom:10px;
}

#main_wrapper:after{
    content: "";
    display: block;
}

footer, #main_wrapper:after{
    height:50px;
    clear:both;
}

footer{
    position:absolute;
    bottom:0px;
    left:0px;
    width:100%;
    font-size:14px;

    font-family: Calibri;
}

#content_wrapper{
    width:738px;
    float:left;
    -webkit-box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.3);
}

#content_border_top{
     background-image: url('../img/content_wrapper_border_top.png');
     height:8px;
     z-index: 50;
}

#content_border_bottom{
    background-image: url('../img/content_wrapper_border_top.png');
    height:8px;
    z-index: 50;
}

#content_subwrapper{
    min-height:200px;
    z-index: 70;
    height:100%;
    position:relative;
    overflow:auto;
}

#border_wrapper{

}

#content_border_left, #content_border_right{
    background-image: url('../img/content_border_side.jpg');
    width:8px;
    height:100%;
    position:absolute;
}

#content_border_left{
    float:left;
}

#content_border_right{
    margin-left:730px;
}

#main_content {
    background-image: url('../img/content_background.jpg');
    width: 682px;
    float:left;

    min-height: 800px;

    -webkit-box-shadow: inset 10px 10px 20px 5px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 10px 10px 20px 5px rgba(0, 0, 0, 0.3);
    box-shadow: inset 10px 10px 20px 5px rgba(0, 0, 0, 0.3);

    padding:20px;
    margin-left: 8px;
    margin-bottom: -21px;

    font-family: Candara;
}

#sidebar_wrapper{
    margin-left:738px;
    width:235px;
    margin-top:50px;
    position:absolute;
}

#sidebar_content{
    background-image: url('../img/sidebar_background.jpg');
    width:207px;
    height:400px;
    position:absolute;

    padding:10px;

    -webkit-box-shadow: inset 15px 0px 20px 2px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: inset 15px 0px 20px 2px rgba(0, 0, 0, 0.4);
    box-shadow: inset 15px 0px 20px 2px rgba(0, 0, 0, 0.4);
}

#sidebar_content_inner{
    z-index: 100;
}

#sidebar_border{
    width:8px;
    position:absolute;
    height:420px;
    background-image: url('../img/sidebar_frame_right.png');
    margin-left:227px;
}

#sidebar_border_top{
    height:30px;
    background-image: url('../img/sidebar_frame_top.png');
}

#sidebar_border_bottom{
    height:31px;
    z-index: 15;
    margin-top:398px;
    background-image: url('../img/sidebar_frame_bottom.png');
}

#navi_wrapper{
    margin-left:15px;
}

nav ul{
    list-style: none;
    height:29px;
    margin:0px;
    padding:0px;
}

nav ul li{
    float:left;
}

.NavItem{
    width:90px;
    height:29px;
    display:block;
    -webkit-transition: background 0.2s linear;
    -moz-transition: background 0.2s linear;
    -o-transition: background 0.2s linear;
    transition: background 0.2s linear;
}

#nav_home{
    background: url('../img/navi_home.png');
}
#nav_game{
    background: url('../img/navi_game.png');
}
#nav_media{
    background: url('../img/navi_media.png');
}
#nav_forum{
    background: url('../img/navi_forum.png');
}

#nav_home.NavActive{
    background: url('../img/navi_home_hover.png');
}
#nav_game.NavActive{
    background: url('../img/navi_game_hover.png');
}
#nav_media.NavActive{
    background: url('../img/navi_media_hover.png');
}
#nav_forum.NavActive{
    background: url('../img/navi_forum_hover.png');
}

#nav_home:hover{
    background: url('../img/navi_home_hover.png');
}
#nav_game:hover{
    background: url('../img/navi_game_hover.png');
}
#nav_media:hover{
    background: url('../img/navi_media_hover.png');
}
#nav_forum:hover{
    background: url('../img/navi_forum_hover.png');
}

#nav_deco_left{
    height:37px;
    width:50px;
    background: url('../img/navi_left.png');
    float:left;
}

#nav_deco_right{
    float:left;
    height:37px;
    width:170px;
    background: url('../img/navi_right.png');
}

#nav_center{
    float:left;
    height:37px;
}

#nav_border{
    width:360px;
    height:8px;
    background: url('../img/navi_border_top.png');
}

#footer_wrapper{
    margin:0 auto;
    width:740px;
    padding-right:230px;
    height:20px;
}

#copyright{
    float:left;
    color:white;
}

footer ul{
    margin:0;
    padding:0;
    list-style: none;
    float:right;
}

footer ul li{
    float:left;
    padding:0px 10px;
    border-right:1px solid white;
}

footer ul li:last-of-type{
    border-right:none;
}

#buy_now{
    width:227px;
    height:180px;
    background: url('../img/buy_now.png');
    display: block;
    margin-left:-10px;

    -webkit-transition: background 0.2s linear;
    -moz-transition: background 0.2s linear;
    -o-transition: background 0.2s linear;
    transition: background 0.2s linear;
}

#buy_now:hover{
    background: url('../img/buy_now_hover.png');
}

#ArticlePreviews{
    list-style: none;
    margin:0px;
    padding:0px;

    font-family: Candara;
}

.ArticlePreview h2{
    padding:0px;
    margin:0px;
    font-size:20px;
}

.ArticlePreview{
    display:block;
    border-bottom:1px solid white;
    padding:15px 0px 25px 0px;
    margin-top:10px;
}

.ArticlePreview:first-child{
    margin-top:0px;
}

.ArticlePreview:last-of-type{
    border-bottom:none;
}

.ArticlePreview img{
    float:left;
    height:150px;
    width:200px;

    border:2px solid gray;

    margin-right:20px;

    border-radius: 15px;

    -webkit-box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.5);

    -webkit-transition: border 0.2s linear;
    -moz-transition: border 0.2s linear;
    -o-transition: border 0.2s linear;
    transition: border 0.2s linear;
}

.ArticlePreview img:hover{
    border:2px solid #ffc27a;
}

.HeaderImage{
    margin-top:-20px;
    margin-left:-20px;

    padding-bottom:8px;

    background: url('../img/content_divider.png') bottom;

    -webkit-box-shadow: 10px 0px 15px 5px rgba(0,0,0,0.5);
    -moz-box-shadow: 10px 0px 15px 5px rgba(0,0,0,0.5);
    box-shadow: 10px 0px 15px 5px rgba(0,0,0,0.5);
}

#pager{
    list-style: none;
    margin:0 auto;
    padding:0px;
    width:300px;
}

#pager li{
    float:left;
    padding:0px 5px 0px 5px;
}

#pager li a{
    padding:4px 5px;
}

.ActivePager, .ActivePager:hover{
    color:white;
    background: #e18b51;
    border-radius: 15px;
}

.PagerDisabled{
    color:gray;
}

#social_icons{
    padding:0px;
    margin:20px auto;
    list-style:none;
    width:180px;
    height:180px;
}

#social_icons li{
    height:70px;
    width:70px;
    float:left;
    padding:10px;
}

#social_icons a{
    height:70px;
    width:70px;
    display:block;
    -webkit-transition: background 0.3s linear;
    -moz-transition: background 0.3s linear;
    -o-transition: background 0.3s linear;
    transition: background 0.3s linear;
}

#social_fb a{
    background: url('../img/social_fb.png');
}
#social_tw a{
    background: url('../img/social_twitter.png');
}
#social_yt a{
    background: url('../img/social_yt.png');
}
#social_idb a{
    background: url('../img/social_idb.png');
}

#social_fb a:hover{
    background: url('../img/social_fb_hover.png');
}
#social_tw a:hover{
    background: url('../img/social_twitter_hover.png');
}
#social_yt a:hover{
    background: url('../img/social_yt_hover.png');
}
#social_idb a:hover{
    background: url('../img/social_idb_hover.png');
}

#game_dropdown{
    display:none;
    position:absolute;
    width:90px;
    height:87px;
    padding: 0px 6px 6px 6px;
    margin-left: -6px;
    background: url("../img/game_dropdown_background.png");
    z-index: 400;
    -webkit-transition: display 0.3s linear;
    -moz-transition: display 0.3s linear;
    -o-transition: display 0.3s linear;
    transition: display 0.3s linear;
}

#game_dropdown a{
    width:90px;
    height:29px;
    display:block;
    -webkit-transition: background 0.3s linear;
    -moz-transition: background 0.3s linear;
    -o-transition: background 0.3s linear;
    transition: background 0.3s linear;
    text-indent:-9999px;
}

#dropdown:hover #game_dropdown{
    display:block;
}

#game_dropdown_gameplay{
    background: url('../img/game_dropdown_gameplay.png');
}
#game_dropdown_story{
    background: url('../img/game_dropdown_story.png');
}
#game_dropdown_roadmap{
    background: url('../img/game_dropdown_roadmap.png');
}

#game_dropdown_gameplay:hover{
    background: url('../img/game_dropdown_gameplay_hover.png');
}
#game_dropdown_story:hover{
    background: url('../img/game_dropdown_story_hover.png');
}
#game_dropdown_roadmap:hover{
    background: url('../img/game_dropdown_roadmap_hover.png');
}

#feature_list li{
    padding-bottom:10px;
}

#Steam{
    padding-left: 17px;
}

/* ==========================================================================
   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;
}

/* ==========================================================================
   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 print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   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;
    }
}
