/*! 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.3;
}

/*
 * 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: #839194;
    text-shadow: none;
}

::selection {
    background: #839194;
    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
   ========================================================================== */

html{
    color: #ffffff;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
    font-weight: 300;
    font-size: 20px;
    overflow-y: scroll;
}

body{
    background: url(http://media.steampowered.com/apps/steamdevdays/images/bg.jpg) #212323 top center no-repeat fixed;
}

p{
    margin: 0;
    opacity: .8;
}

a{
    color: #4db6ef;
}

a:hover{
    color: #ffffff;
    cursor: pointer;
}

h3{
    font-weight: normal;
    font-size: 30px;
    margin-top: 60px;
}

h3:first-child{
    margin-top: 0px !important;
}

#content_container {
    background: url(http://media.steampowered.com/apps/steamdevdays/images/center_bg.jpg) no-repeat fixed center top #31464f;
    margin: 0 auto;
    min-height: 604px;
    padding: 533px 0 40px;
    width: 1032px;
    position: relative;
}

#logo {
    left: 355px;
    position: absolute;
    top: 87px;
    width: 336px;
}

#navigation{
    
    padding: 0 0 4px 0;
    margin: 0 auto;
    width: 780px;
    height: 40px;
}

#navigation a{
    float: left;
    display: block;
    text-decoration: none;
}

#navigation a{
    color: #ffffff;
    font-size: 17px;
    height: 41px;
}

#navigation span{
    display: none;
}

#navigation a:hover{
    color: #4db6ef;
}

#top_border{
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    height: 1px;
    width: 780px;
    margin: 0 auto 2px auto;
}

#event{
    background: url(http://media.steampowered.com/apps/steamdevdays/images/event.png) top center;
    width: 162px;
}

#event:hover{
    background: url(http://media.steampowered.com/apps/steamdevdays/images/event.png) bottom center;
}

#location{
    background: url(http://media.steampowered.com/apps/steamdevdays/images/location.png) top center;
    width: 148px;
}

#location:hover{
    background: url(http://media.steampowered.com/apps/steamdevdays/images/location.png) bottom center;
}


#hotel{
    background: url(http://media.steampowered.com/apps/steamdevdays/images/hotel.png) top center;
    width: 171px;
}

#hotel:hover{
    background: url(http://media.steampowered.com/apps/steamdevdays/images/hotel.png) bottom center;
}

#register{
    background: url(http://media.steampowered.com/apps/steamdevdays/images/register.png) top center;
    width: 194px;
}

#register:hover{
    background: url(http://media.steampowered.com/apps/steamdevdays/images/register.png) bottom center;
}

#faq{
    background: url(http://media.steampowered.com/apps/steamdevdays/images/faq.png) top center;
    width: 105px;
}

#faq:hover{
    background: url(http://media.steampowered.com/apps/steamdevdays/images/faq.png) bottom center;
}


.navigation_current_page{
    background-position: bottom center !important;
}

/*.navigation_current_page:hover{
    cursor: default !important;
}*/
.content{
    
    margin: 0 auto;
    width: 780px;
    max-height: 10000px;
    height:100%;
}

.content_section{
    background-color:rgba(255, 255, 255, 0.15);
    margin: 0 0 2px 0;
    padding: 25px 25px;
}

.bold{
    font-weight: bold;
}

.italics{
    font-style: italic;
}

.sdd{
    font-size: 28px;
    line-height: 1.1em;
}

#content_event p{
    width: 667px
}

.convention_location{
    float: left;
}

.location_name{
    font-size: 18px;
    margin-bottom: 10px
}

.location_address{
    font-size: 37px;
    line-height: 40px;
    margin-bottom: 17px;
}

.right{
    width: 410px;
    float: right;
}

.question{
    margin-bottom: 10px;
    line-height: 25px;
    position: relative;
    padding-left: 35px;
}

.q{
    position: absolute;
    left: 0;
    top: 0;
}

.answer{
    margin-bottom: 40px;
    line-height: 25px;
    position: relative;
    padding-left: 35px;
}

.a{
    position: absolute;
    left: 0;
    top: 0;
}

.registration_details{
    font-size: 18px;
    margin-bottom: 20px;
}

#registration_code{
    border: 2px solid #4db6f0;
    padding: 3px;
    width: 440px;
    margin: 20px auto 10px auto;
    display: block;
    font-size: 36px;
}

#submit_button{
    display: block;
    width: 110px;
    padding: 6px;
    text-align: center;
    color: #fff;
    background: #4db6f0;
    margin: 0 auto 40px auto;
    font-size: 15px;
    text-decoration: none;
    letter-spacing: 1px;
}

#submit_button:hover{
    background: #45a2d6;
}

.registration_intro{
    font-size: 23px;
}

#hotel_intro{
    font-size: 23px;
}

#map_container{
    position: relative;
}

#close_button{
    position: absolute;
    top: 10px;
    right: 10px;
}

#close_button:hover{
    cursor: pointer;
}

#show_map{
    font-size: 16px;
    font-style: italic;
}

#show_map:hover{
    cursor: pointer;
}

.session{
    margin-bottom: 40px;
}

.session p{
    font-size: 18px;
}

.session_title{
    font-size: 21px;
    font-weight: bold;
}

.session_presenter{
    font-size: 18px;
    color: #c7d4d9;
    margin-bottom: 2px;
}

.session_links{
    font-size: 16px;
    margin-bottom: 10px;
    min-height: 17px;
}

.session_links a {
    color: #c7d4d9;
    text-decoration: none;
    font-size: 16px;
}

.session_links a:hover {
    color: #ffffff;
}

.session_links .youtube{
    padding-left: 28px;
    background: transparent url('../img/YouTube-social-icon_red_24px.png') no-repeat left top;
}

.session_links .pdf{
    padding-left: 20px;
    background: transparent url('../img/pdficon_small.png') no-repeat left top;
}

.session_links .slides{
    padding-left: 20px;
    /* slides icon via http://led24.de/ */
    background: transparent url('../img/slides-icon.png') no-repeat left top;
}

.session_description{
    margin-bottom: 10px;
}
footer{
    width: 1032px;
    margin: 4px auto 0 auto;
    font-size: 11px;
    color: #4c4d4d;
    margin-bottom: 10px;
}

footer p{
    width: 655px;
}





/* ==========================================================================
   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;
    }
}
