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

body {
    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 and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

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

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

}

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

}

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

}

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

}

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

}

h1, h2, h3, h4, h5, p, ul{
    margin-bottom: 15px;
    margin-top: 0;
    padding-bottom: 0;
    padding-top: 0;
}

body{ 
    background: #333;
    -webkit-text-shadow: 2px 2px 1px rgba(0,0,0,.7);
    -moz-text-shadow: 2px 2px 1px rgba(0,0,0,.7);
    -o-text-shadow: 2px 2px 1px rgba(0,0,0,.7);
    text-shadow: 2px 2px 1px rgba(0,0,0,.7); 
}

/* global */

p{ margin: 0 0 1em; padding: 0;}

html, body{ margin: 0; padding: 0; }

html, body, #pages-container, #site-chrome, #pages-container .page, #main-nav{
    /*min-width: 960px;*/
}

body{
    color: #fff;
    font-family: 'agentcondbnormal';
    font-size: 18px;
    line-height: 1.2;
}

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

a{
    color: #fff;
    text-decoration: none;
}

ul.link-list > li{
    margin-bottom: 5px;
}

ul.link-list > li > a{
    text-decoration: underline;
}

/* Site UI */

#bg_loop_1_test{
    display: block;
    position: fixed;
    bottom: 0;
    right: 0;

    z-index: 0;
}

#site-logo{
    background: url(../img/ui/logo/logo-full.png) 0 0 no-repeat;
    bottom: 80px;
    height: 207px;
    position: fixed;
    right: 0;
    width: 364px;
    z-index: 10000;
    background-size: 364px 207px;
}

#site-nav{
    background: #222;
    background: rgba(0,0,0,.95);
    bottom: 0;
    height: 50px;
    left: 0;
    margin: 0;
    padding: 0;
    position: fixed;
    right: 0;
    z-index: 10000;
}

#main-nav{
    float: left;
}

#main-nav > ul > li{
    float: left;
}

#main-nav > ul > li > a{
    color: #fff;
    border-bottom: 5px solid #fff;
    display: block;
    font-family: 'agentcondbnormal';
    font-size: 14px;
    height: 25px; /* 60px - padding + border */
    line-height: 1;
    margin-right: 10px;
    opacity: .9;
    padding: 20px 10px 0 10px;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    width: 80px;

    transition: opacity 300ms;
}

/*
#main-nav > ul > li > a:hover{
    opacity: 1;
}
*/

#site-social-links{
    list-style: none;
    margin: 0;
    padding: 16px 15px 0 0;
    position: absolute;
    right: 0;
    top: 0;
}

#site-social-links > li{
    float: left;
    margin: 0;
    padding: 0;
}

#site-social-links > li > a{
    background: url(../img/ui/main-social-sprite.png) 0 0 no-repeat;
    display: block;
    height: 20px;
    margin-left: 8px;
    width: 21px;
}

#site-social-links > li > a#soc-fb{ background-position: 0 0; }
#site-social-links > li > a#soc-tw{ background-position: -21px 0; }
#site-social-links > li > a#soc-sc{ background-position: -42px 0; }
#site-social-links > li > a#soc-tm{ background-position: -63px 0; }
#site-social-links > li > a#soc-ra{ background-position: -84px 0; }
#site-social-links > li > a#soc-ig{ background-position: -105px 0; }

.home-promo{
    background-color: #000;
    background: rgba(0,0,0,.55);
    display: block;
    float: left;
    padding: 20px;
    margin-left: -15px;
    border-left: 3px solid #fff;
}

.home-promo h1, 
.home-promo > div{
    font-size: 24px;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
}

html, body,
#pages-container{ overflow-x: hidden !important; }

#pages-container .page{
    left: 0;
    position: absolute;
    top: 0;

    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    z-index: 50;
}

.link-ico{ font-family: "Times New Roman", Times, serif; }

/* ==========================================================================
   Pages
   ========================================================================== */

.page.closed{ display: none; }

.page .page-content{
    padding: 15px 45px 15px 15px; /* avoid logo */
    position: relative;
    margin-right: 335px;    
}

.page.page-std.has-back .page-content{
    padding-left: 50px;
}

.page .page-back{
    background: rgba(255,255,255,.35);
    color: #fff;
    display: block;
    font-family: "Times New Roman", Times, serif;
    font-size: 24px;
    left: 0;
    line-height: 1;
    padding: 8px 0 12px;
    position: absolute;
    text-align: center;
    text-decoration: none;
    top: 20px;
    width: 30px;
}

.page .page-title{
    font-family: 'agentconmeddbnormal';
    font-size: 58px;
    font-weight: normal !important;
    line-height: 1;
    margin: 0 0 15px;
    padding: 0;
    text-transform: uppercase;
}

.event-page .date{
    font-size: 50px;
    line-height: 1;
    text-transform: uppercase;
    opacity: .8;
}

.event-page .event-acts{
    font-size: 60px;
    letter-spacing: -1px;
    line-height: .8;
    list-style: none;
    padding: 0;
    text-transform: uppercase;
}

.event-page .event-acts .act{
    margin: 0;
    padding: 0;
    line-height: .9;
    opacity: .8;
}

.event-page .event-acts .act .artist-label{
    font-family: 'agentclightnormal';
}

.event-page .event-acts .act.act-headline{
    font-family: 'agentconmeddbnormal';
    font-size: 70px;
    margin-bottom: 15px;
}

.event-page .event-acts .act .act-suffix{
    font-size: 36px;
}

.event-page .event-acts .act.has-info{
    opacity: 1;
}

.event-page .event-acts .has-info a{
    color: #eeee00;
}

.event-page .event-acts .act.has-info > a > div{
    
}

.event-page .event-acts .act.has-info .more-link{
    font-family: "Times New Roman", Times, serif;
    margin-left: 12px;
}

.event-page .event-addr{
    display: block;
    font-size: 36px;
    margin-top: 60px;
    text-transform: uppercase;
    line-height: .9;
}

.event-page .event-addr .name{
    font-size: 56px;
}

.event-page .event-addr .addr-stop{
    font-size: 28px;
    padding-top: 6px;
}

.event-page .event-addr .stop-ltr{
    background: #fff;
    border-radius: 40px;
    color: #000;
    display: block;
    float: left;
    font-family: 'agentcondbbold';
    font-size: 24px;
    line-height: 1;
    margin: -4px 5px 0 0;
    padding: 5px 10px 3px;
    text-shadow: none;
}

.event-page .event-tickets{
    margin-top: 20px;
}

.event-page .event-tickets > a{
    background: rgba(0,0,0,.6);
    padding: 3px 6px;
}

#page-home{
    background: #666;
}

#page-home{
    background-image: url(../img/home/bg/2.jpg); 
    
}

#page-about{
    background-image: url(../img/home/bg/1.jpg); 
}

#page-about .page-content{
    max-width: 850px;
}

#page-event-apr-12-2014{
    background-image: url(../img/events/201404121/bg/bg-full.jpg);
}

#page-artist-mchammer{
    background-image: url(../img/artists/mchammer/layout/bg-full.jpg);
}

#page-artist-voigtmann{
    background-image: url(../img/artists/claus/layout/bg-full.jpg);
}


#page-artist-bevin{
    background-image: url(../img/artists/bevin/layout/bg-full.jpg);
}


#page-artist-voigtmann .page-content{
    background: rgba(0,0,0,.4);
    max-width: 650px;
    padding-bottom: 160px;
}

#page-artist-bevin .page-content{
    background: rgba(0,0,0,.4);
    max-width: 650px;
    padding-bottom: 160px;
}

#page-artist-mchammer .page-content{
    background: rgba(0,0,0,.4);
    max-width: 650px;
    padding-bottom: 160px;
}

.artist-page .page-title{ margin-bottom: 0px; }
.artist-page .artist-subtitle{ line-height: .9; }

/* ==========================================================================
   Responsive overrides
   ========================================================================== */

/* 13" laptop */
@media all and (max-width: 1276px){
    .event-page .date{
        font-size: 40px;
    }

    .event-page .event-acts{
        font-size: 50px;
    }

    .event-page .event-acts .act.act-headline{
        font-size: 60px;
    }

    .event-page .event-addr{
        margin-top: 20px;
    }
}

/* ipad landscape */
@media all and (max-width: 1024px){
    #site-logo{
        width: 300px;
        height: 171px;
        background-size: 300px 171px;
    }
}

/* ipad portrait */
@media all and (max-width: 768px){
    #site-logo{
        width: 200px;
        height: 114px;
        background-size: 200px 114px;
    }

    .page .page-content{
        margin-right: 164px;
    }

    .event-page .event-acts .act .artist-label{
        font-size: 40px;
    }

    .event-page .event-acts .act.act-headline{
        font-size: 60px;
        letter-spacing: -3px;
    }
}

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

/*
 * Image replacement
 */

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