/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

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


/*======== TYPEFACES ========*/

@font-face {
    font-family: "FuturaStdBold";
    src: url("./type/futurastd-bold-webfont.eot");
    src: url("./type/futurastd-bold-webfont.eot?#iefix") format("embedded-opentype"),
         url("./type/futurastd-bold-webfont.woff") format("woff"),
         url("./type/futurastd-bold-webfont.ttf") format("truetype"),
         url("./type/futurastd-bold-webfont.svg#FuturaStdBold") format("svg");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "FuturaStdHeavy";
    src: url("./type/futurastd-heavy-webfont.eot");
    src: url("./type/futurastd-heavy-webfont.eot?#iefix") format("embedded-opentype"),
         url("./type/futurastd-heavy-webfont.woff") format("woff"),
         url("./type/futurastd-heavy-webfont.ttf") format("truetype"),
         url("./type/futurastd-heavy-webfont.svg#FuturaStdHeavy") format("svg");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "FuturaStdExtraBoldCondensed";
    src: url("./type/futurastd-condensedextrabd-webfont.eot");
    src: url("./type/futurastd-condensedextrabd-webfont.eot?#iefix") format("embedded-opentype"),
         url("./type/futurastd-condensedextrabd-webfont.woff") format("woff"),
         url("./type/futurastd-condensedextrabd-webfont.ttf") format("truetype"),
         url("./type/futurastd-condensedextrabd-webfont.svg#FuturaStdExtraBoldCondensed") format("svg");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "FuturaStdBoldCondensed";
    src: url("./type/futurastd-condensedbold-webfont.eot");
    src: url("./type/futurastd-condensedbold-webfont.eot?#iefix") format("embedded-opentype"),
         url("./type/futurastd-condensedbold-webfont.woff") format("woff"),
         url("./type/futurastd-condensedbold-webfont.ttf") format("truetype"),
         url("./type/futurastd-condensedbold-webfont.svg#FuturaStdBoldCondensed") format("svg");
    font-weight: normal;
    font-style: normal;
}


/* ======== ICON FONTS ======== */

@font-face {
    font-family: 'pvp-social';
    src:url('./type/pvp-social.eot');
    src:url('./type/pvp-social.eot?#iefix') format('embedded-opentype'),
        url('./type/pvp-social.woff') format('woff'),
        url('./type/pvp-social.ttf') format('truetype'),
        url('./type/pvp-social.svg#pvp-social') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    font-family: 'pvp-social';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-facebook:before {
    content: "\e600";
}
.icon-twitter:before {
    content: "\e601";
}
.icon-feed:before {
    content: "\e602";
}


/* ===== SHARED STRUCTURE ===== */

.wrapper {
    width: 100%;
    display: block;
}

.contain {
    width: 940px;
    margin: 0 auto;
}

.glimmer {
    position: relative;
    display: block;
}

.glimmer img {
    display: block;
    margin: 0;
    padding: 0;
}

.glimmer .overlay {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all .3s;
}

.glimmer .overlay,
.glimmer .overlay.yellow {
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, rgba(229, 187, 0, 1)),
        color-stop(0.3, rgba(255, 255, 255, 0))
    );
    background-image: -o-linear-gradient(top, rgba(229, 187, 0, .7) 0%, rgba(255, 255, 255, 0) 30%);
    background-image: -moz-linear-gradient(top, rgba(229, 187, 0, .7) 0%, rgba(255, 255, 255, 0) 30%);
    background-image: -webkit-linear-gradient(top, rgba(229, 187, 0, .7) 0%, rgba(255, 255, 255, 0) 30%);
    background-image: -ms-linear-gradient(top, rgba(229, 187, 0, .7) 0%, rgba(255, 255, 255, 0) 30%);
    background-image: linear-gradient(to top, rgba(229, 187, 0, .7) 0%, rgba(255, 255, 255, 0) 30%);
}

.glimmer .overlay.blue {
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, rgba(107, 141, 191, 1)),
        color-stop(0.3, rgba(255, 255, 255, 0))
    );
    background-image: -o-linear-gradient(top, rgba(107, 141, 191, 1) 0%, rgba(255, 255, 255, 0) 30%);
    background-image: -moz-linear-gradient(top, rgba(107, 141, 191, 1) 0%, rgba(255, 255, 255, 0) 30%);
    background-image: -webkit-linear-gradient(top, rgba(107, 141, 191, 1) 0%, rgba(255, 255, 255, 0) 30%);
    background-image: -ms-linear-gradient(top, rgba(107, 141, 191, 1) 0%, rgba(255, 255, 255, 0) 30%);
    background-image: linear-gradient(to top, rgba(107, 141, 191, 1) 0%, rgba(255, 255, 255, 0) 30%);
}

.glimmer:hover .overlay { opacity: 0; }

.glimmer .text {
    display: block;
    position: absolute;
    bottom: 5px;
    left: 10px;
    font-family: 'FuturaStdBoldCondensed', Helvetica, Arial;
    font-size: 18px;
    line-height: 18px;
    font-weight: normal;
    color: #fff;
    text-shadow: 1px 1px 5px #333;
    text-transform: uppercase;
}

/* ===== COMMON ELEMENTS AND TYPOGRAPHY ===== */

a {
    color: #3b74ca;
    text-decoration: none;
    font-weight: bold;
    transition: color .3s;
}

a:hover {color: #e5ba00;}

p {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 26px;
    margin: 22px 0 0;
}

/* ===== TOP BAR ==== */

.cross-nav {
    height: 34px;
    background: url(./img/cross-nav-bg.jpg) 0 0 repeat-x #000;
    border-bottom: 1px solid #f5c700;
}

.cross-nav .nav-links {
    width: 500px;
    margin: 0 auto;
    padding: 0;
    list-style-type: none;
}

.cross-nav .nav-links li {
    display: inline;
    float: left;
    margin: 5px 0 0;
    padding: 0;
}

.cross-nav .nav-links a {
    font-family: 'FuturaStdBoldCondensed', Helvetica, Arial;
    color: #8e8d8d;
    font-size: 12px;
    font-weight: normal;
    height: 16px;
    float: left;
    margin-right: 50px;
    padding: 5px 0 5px 35px;
    text-transform: uppercase; 
    text-decoration: none;
    transition: none;
}

.cross-nav .nav-links a:hover {
    color: #e5ba00;
}

.cross-nav .nav-links a.pvp { background: url(./img/cross-nav-icons.png) -5px -2px no-repeat; }
.cross-nav .nav-links a.pvp:hover { background-position: -5px -29px; }

/*TEMPORARY; REMOVE AT NEXT UPDATE*/
.cross-nav .nav-links a.pvp { margin-left: 60px; }

.cross-nav .nav-links a.titans { background: url(./img/cross-nav-icons.png) 0 -69px no-repeat; padding-left: 45px; }
.cross-nav .nav-links a.titans:hover { background-position: 0 -99px; }

.cross-nav .nav-links a.merch { background: url(./img/cross-nav-icons.png) -10px -134px no-repeat; padding-left: 25px; }
.cross-nav .nav-links a.merch:hover { background-position: -10px -163px; }

.cross-nav .nav-links a.podcast { background: url(./img/cross-nav-icons.png) -10px -203px no-repeat; padding-left: 25px; margin-right: 0; }
.cross-nav .nav-links a.podcast:hover { background-position: -10px -242px; }

/*======= LEADERBOARD AD =======*/

.header-ad {
    height: 90px;
    padding: 10px 0;
    background: #222222;
}

.header-ad .contain .ad {
    margin-left: 212px;
}


/*======= MAIN NAVIGATION =======*/

body.nav-locked {margin-top:48px;}

.main-nav {
    position: relative;
    z-index: 100;
    background: #000;
    height: 24px;
    padding: 12px 0;
}

.nav-locked .main-nav {
    position: fixed;
    top: 0;
    z-index: 500;
}

.main-nav ul {
    list-style-type: none;
    padding: 0;
    position: relative;
} 

.main-nav li {
    padding: 0;
    margin: 0;
    display: inline;
    font-family: 'FuturaStdBold', Helvetica, Arial; 
    text-transform: uppercase;
}

.main-nav li.logo {
    width: 208px;
    height: 160px;
    position: absolute;
    left: 0;
    top: -105px;
    display: block;
    background: url(./img/pvp-logo.png) 0 0 no-repeat;
    z-index: 10;
    transition: all .3s;
}

.nav-locked li.logo {
    width: 140px;
    height: 107px;
    background-size: 100% 100%;
    left: 10px;
    top: -10px;
}

.main-nav li.logo a {
    display: block;
    width: 208px;
    height: 160px;
}

.main-nav li.link { position: relative }

.main-nav li.link a {
    font-size: 16px;
    text-decoration: none;
    font-weight: normal;
    padding: 0 20px;
    color: #fff;
    transition: all .3s;
}

.main-nav li.link a:hover { color: #f6c700; }

.main-nav li.nav-comic { margin-left: 140px; z-index: 20; }

.main-nav li.text {
    float: right;
    font-size: 12px;
    color: #fff;
    margin-top: 4px;
}

.main-nav li.text em {
    font-style: normal;
    color: #f6c700;
}

/* ========== FOOTER ========= */

footer {
    background: #000;
    padding: 10px 0;
    color: #666;
    margin: 40px 0 0;
}

.footer-nav {
    margin: 0;
    padding: 0;
    list-style-type: none;   
}

.footer-nav li {
    display: inline;
    float: left;
    padding-right: 15px;
    font-size: 12px;
    margin-top: 10px;
}

.footer-nav li.logo,
.footer-nav li.logo a {
    width: 61px;
    height: 35px;
    margin-top: 0;
}

.footer-nav li.logo a {
    float: left;
    background: url(./img/logo_footer.png) 0 0 no-repeat;
}

.footer-nav li.logo a:hover {
    background: url(./img/logo_footer.png) 0 -35px no-repeat;
}

.footer-nav li.link { padding-left: 15px; }

.footer-nav li.divider {
    border-right: 1px dotted #666; 
}

.footer-nav li.text {
    padding-right: 0;
    float: right;
}

.footer-nav li a {
    color: #fff;
    font-weight: normal;
}

.footer-nav li a:hover { color: #e5ba00; }



/* ========== MARQUEE ========= */

.marquee { margin-bottom: 25px; }

.marquee-item {
    float: left;
    height: 310px;
    overflow: hidden;
    margin-right: 10px;
}

.marquee-item.last,
.marquee-item.panels-1 { margin-right: 0; }

.marquee-item img { width: 100%; }

.marquee-item .text {
    font-size: 22px;
    line-height: 22px;
}

.marquee-item.primary .text {
   font-size: 36px;
   line-height: 36px; 
}

.marquee-item.panels-4 {
    width: 24.2%;
}

.marquee-item.panels-3 {
    width: 32.6%;
}

.marquee-item.panels-2 {
    width: 49.4%;
}

.marquee-item.panels-1 {
    width: 100%;
    margin: 0;
}

.marquee-item.last { margin-right: 0; }

.marquee-item.panels img {
    width: auto;
    height: 100%;
}

.marquee-item.first-of-five {
    width: 430px;
}

.marquee-right {
    float: left;
    width: 500px;
}

.marquee-row { display: block; }

.marquee-row.second { margin-top: 10px; }

.marquee-row .marquee-item { width: 245px; height: 150px; }

/* ========== LAYOUT ========= */

.layout {
    margin-top: 35px;
    width: 940px;
}

.layout.home { margin-top: 10px; }

.layout.comic { width: 970px; }

.content {
    width: 620px;
}

.sidebar {
    width: 300px;
}


/* ======== NEWS ARTICLE ====== */

.post header h2 {
    margin: 0;
    font-family: "FuturaStdBold";
    font-size: 42px;
    line-height: 42px;
    font-weight: normal;
    color: #222;
    border-bottom: 1px solid #999;
    text-transform: uppercase;
}

.post header .byline {
    margin: 5px 0 0;
}

.post header .byline .credit {
    color: #444;
    font-size: 14px;
}

.post header .byline .credit a {
    font-style: italic;
}

.post header .byline .share a {
    color: #333;
    font-size: 16px;
    margin-left: 8px;
}

.post header .byline .share a.icon-feed { color: #e5ba00; }

.post header .byline .share a:hover { color: #e5ba00; }

.post header .byline .share a.icon-feed:hover { color: #333; }

.news-nav {
    margin: 10px 0 0;
    border-bottom: 1px solid #999;
    border-top: 1px solid #999;
}

.post h2 {
    font-size: 28px;
    line-height: 28px;
    font-family: "FuturaStdBold";
    font-weight: normal;
}

.post h3 {
    font-size: 22px;
    line-height: 22px;
    font-family: "FuturaStdBold";
    font-weight: normal;
}

/* ======== COMIC ========= */

.comic header {
    position: relative;
    border-bottom: 1px solid #999;
}

.comic header h1 {
    font-family: 'FuturaStdBold';
    font-weight: normal;
    font-size: 42px;
    line-height: 42px;
    color: #000;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.comic-date {
    font-family: 'FuturaStdBold';
    font-size: 16px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.comic-art {
    margin: 10px 0 0;
}

.comic-meta {
    margin: 10px 0 0;
    border-bottom: 1px solid #999;
    border-top: 1px solid #999;
}

.comic-nav a,
.news-nav a {
    font-family: 'FuturaStdBold';
    font-weight: normal;
    color: #222;
    text-transform: uppercase;
    padding: 15px 0 15px 15px;
    font-size: 26px;
    line-height: 26px;
}

.comic-nav a:hover,
.news-nav a:hover { color: #e5ba00; }

.comic-nav a.divider,
.news-nav a.divider {
    padding: 15px 15px 15px 0;
    border-right: 1px solid #999;
}

.comic-share a {
    font-size: 40px;
    line-height: 40px;
    color: #2f2e16;
    margin: 8px 0 0 15px;
}

.comic-share a:hover { color: #e5ba00; }

.comic-after {
    margin: 35px 0 0;
}

.comic-after .box { height: 250px; }

.comic-after .box.divider {
    border-right: 1px solid #999;
    padding-right: 17px;
    margin-right: 17px;
}

/* ======= ARCHIVE ======== */

.archive-search h1 {
    font-family: 'FuturaStdBold';
    font-size: 36px;
    line-height: 36px;
    font-weight: normal;
    text-transform: uppercase;
    margin: 0;
}

.archive-search h2 {
    font-family: 'FuturaStdBold';
    font-size: 28px;
    line-height: 28px;
    font-weight: normal;
    text-transform: uppercase;
    margin: 35px 0 5px;
}

.archive-search h3 {
    font-family: 'FuturaStdBold';
    font-weight: normal;
    text-transform: uppercase;
    margin: 5px 0 0;
    padding: 5px 0;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
}

.archive-search form {
    margin-left: 15px;
    line-height: 20px;
}

.after-archive .box {
    margin-bottom: 20px; 
}

.after-archive .box .glimmer {
    width: 298px;
    height: 224px;
    overflow: hidden;
}

/* ======= SIDEBAR ======== */

.sidebar > div { margin: 0 0 20px; }

.sidebar h3,
.story-spotlight h3 {
    margin: 0 0 3px;
    padding: 0;
    font-family: "FuturaStdBoldCondensed";
    font-size: 22px;
    line-height: 22px;
    text-transform: uppercase;
    font-weight: normal;
    color: #000;
}

.sidebar h3.pipe {
    border-bottom: 1px solid #999;
}

.we-like .glimmer {
    width: 300px;
    height: 85px;
    margin-bottom: 10px;
    overflow: hidden;
}

.story-spotlight .glimmer img,
.we-like .glimmer img { width: 100%; }

.we-like .glimmer .text em {
    font-style: normal;
    text-transform: lowercase;
}

.stay-connected ul {
    list-style-type: none;
    margin: 15px 0 0;
    padding: 0;
}

.stay-connected ul li {
    font-family: "FuturaStdBoldCondensed";
    font-size: 15px;
    line-height: 15px;
    text-transform: uppercase;
    color: #444;
    margin: 0 0 21px;
}

.stay-connected ul li a { color: #444; font-weight: normal; }
.stay-connected ul li a em {color: #3b74ca; font-style: normal; }
.stay-connected ul li a:hover { color: #000; }
.stay-connected ul li a:hover em { color: #e5ba00; }

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

/*
 * Image replacement
 */

.left { float: left; }
.right { float: right; }

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

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

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 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 print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

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

    a,
    a:visited {
        text-decoration: underline;
    }

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

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

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

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

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

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

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

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

    @page {
        margin: 0.5cm;
    }

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

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