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

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
   ========================================================================== */
  
body {background:#000 url('../img/bodyBg.png') center top repeat-y;margin:0;}

#main {width:1000px;margin:0px auto;padding-top:10px;position:relative}

#socialMedia {width:120px;height:31px;margin:0 auto 10px;}
#socialMedia a {display: block;float:left;margin-right:10px;height:31px;width:31px;background-image:url('../img/socialMedia.png');text-indent:-999em}
#socialMedia #facebook {background-position:0 0}
#socialMedia #twitter {background-position:-42px 0}
#socialMedia #youtube {background-position:-84px 0;margin-right:0}

#slider, #header {width:1000px;height:562px;position:relative}
#logo {position:absolute;top:15px;left:393px}
#slider li {width:1000px;height:562px;list-style:none;margin:0;padding:0;overflow:hidden}
#slider ul {list-style:none;padding:0;margin:0}
#prevBtn, #nextBtn {display:block;position:absolute;height:571px;width:30px;background:#000;opacity:.5}
#prevBtn {top:42px;left:0}
#nextBtn {top:42px;left:970px}
#prevBtn a,#nextBtn a{display:block;position:absolute;top:281px;width:27px;height:55px;background-image:url('../img/sliderArrows.png');text-indent:-999em;}
#prevBtn a {left:3px}
#nextBtn a {right:3px;background-position:-25px 0}

#nav {width:1000px;padding:20px 0 30px 55px;margin:0 auto;background-color:#000}
#nav a {display:block;float:left;margin-right:32px;height:18px;background-image:url('../img/nav.png');font-size:0;margin-bottom:13px}
#nav .selected span {position:absolute;background-image:url('../img/navArrow.png');height:27px;width:173px;bottom:-40px}
#nav #home {background-position:0 0;width:50px;position:relative}
#nav #home.selected,#nav #home:hover {background-position:0 -22px}
#home.selected span {left:-60px}
#nav #synopsis {background-position:-82px 0;width:86px;position:relative}
#nav #synopsis.selected,#nav #synopsis:hover {background-position:-82px -22px} 
#synopsis.selected span {left:-44px}
#nav #media {background-position:-198px 0;width:162px;position:relative}
#nav #media.selected,#nav #media:hover {background-position:-198px -22px} 
#media.selected span {left:-1px}
#nav #friends {background-position:-390px 0;width:115px;position:relative}
#nav #friends.selected,#nav #friends:hover {background-position:-390px -22px} 
#friends.selected span {left:-25px}
#nav #faqs {background-position:-537px 0;width:43px;position:relative}
#nav #faqs.selected,#nav #faqs:hover {background-position:-537px -22px} 
#faqs.selected span {left:-64px}
#nav #prodTeam {background-position:-612px 0;width:168px;position:relative}
#nav #prodTeam.selected,#nav #prodTeam:hover {background-position:-612px -22px} 
#prodTeam.selected span {left:-2px}
#nav #contact {background-position:-811px 0;width:79px;margin-right:0;position:relative}
#nav #contact.selected,#nav #contact:hover {background-position:-811px -22px}
#contact.selected span {left:-44px}

.content {padding-top:45px}
#homeContent {margin:45px 0 100px 0;text-align:center;font:normal 14px "Lucida Grande",arial;color:#545454}
#homeContent a {color:#545454}

#synopsisContent {line-height:24px;font:normal 16px "Lucida Grande",arial;margin:0 auto 100px;color:#fff;width:773px;}
#synopsisContent img {margin:0 0 50px 190px}

#mediaContent {text-align:center}
#youtubeMedia {list-style:none;margin:0 0 75px 0;padding:0;width:1040px;margin-left:-25px}
#youtubeMedia li {float:left;}

#friendsContent {background:#000;text-align:center;margin-bottom:45px;padding-top:0}

#faqsContent {text-align:center;padding-left:20px;padding-right:20px;margin-bottom:80px}
#faqsContent img {margin-bottom:55px}
p.question {color:#fff;font:normal 14px "Lucida Grande", arial;line-height:18px;margin:0;padding:0;text-align:left}
p.answer {color:#777;font:normal 14px "Lucida Grande", arial;line-height:18px;margin:0 0 25px 0;padding:0;text-align:left;}
p.answer a {color:#777}

.burntOrange {color:#4f3803}
.yellow {color:#fdb913}

#prodTeamContent {width:700px;margin:0 auto 45px;font:normal 12px "Lucidia Grande", arial}
#prodTeamContent h1 {color:#fdb913;margin:0;padding:0;font-size:12px;display:inline}
#prodTeamContent h2 {color:#fdb913;margin:0;padding:0;font-size:12px;display:inline}
#prodTeamContent .experience {line-height:16px;margin-top:2px}
#prodTeamContent a {color:#fff}
#prodTeamContent img {margin-left:50px}

#contactContent {width:532px;margin:0 auto 65px;text-align:center;font:normal 12px "Lucidia Grande", arial}
#contactContent a {color:#fff}
.contactForm {padding-bottom:10px;}
.contactForm p{text-align:right;text-transform:uppercase;font-weight:700;line-height:30px;}
.contactForm .textbox{width:200px;height:18px;font-size:12px;color:#999;border:1px solid #8d000e;}
.contactForm .boxdecheck{font-size:10px;line-height:15px;margin:0;padding:0}
.contactForm .terms{text-align:center;font-size:10px;font-weight:400;text-transform:none;line-height:12px}
.contactForm textarea{width:200px;font-size:12px;color:#999;border:1px solid #8d000e;}
#contactContent .button{border:1px solid #fff;background-color:#fdb913;color:#7f5a05;text-transform:uppercase;font-size:24px;font-weight:bold;padding:5px 20px;}

#termsContent {font:normal 11px "Lucida Grande", arial;line-height:13px}
#termsContent h1 {color:#fdb913;font:normal 11px "Lucida Grande", arial;margin:0}
#termsContent a {color:#fff}

#footer {width:100%;text-align:center;font:normal 10px arial;color:#545454;padding-bottom:30px}
#footer a {color:#545454}

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

.clearfix {
	line-height:0;font-size:0
}

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

    @page {
        margin: 0.5cm;
    }

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

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