/*
 * 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;
	font-family: Arial, Helvetica, sans-serif;
	overflow-y:scroll;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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
   ========================================================================== */
#container {overflow:hidden; min-width:980px; }
#header {width:100%; z-index:10000; height:230px;}
#header div {margin:auto; width:940px; padding:0 20px; position:relative;}
#header .bg {position:absolute; left:-175px;}
#logo {position:absolute; top:19px; left:20px;}
#header ul {margin:0; padding:0; position:absolute; top:179px; left:175px;}
#header ul li {float:left;}
#header ul li a {height:47px; display:block;}
#header ul li a.home {width:65px; background:url(../img/sprite.png) -0px -0px no-repeat;}
#header ul li a.home:hover, #header ul li.selected a.home {background:url(../img/sprite.png) -0px -47px no-repeat;}
#header ul li a.about {width:73px; background:url(../img/sprite.png) -65px -0px no-repeat;}
#header ul li a.about:hover, #header ul li.selected a.about {background:url(../img/sprite.png) -65px -47px no-repeat;}
#header ul li a.about {width:73px; background:url(../img/sprite.png) -65px -0px no-repeat;}
#header ul li a.about:hover, #header ul li.selected a.about {background:url(../img/sprite.png) -65px -47px no-repeat;}
#header ul li a.films {width:67px; background:url(../img/sprite.png) -138px -0px no-repeat;}
#header ul li a.films:hover, #header ul li.selected a.films {background:url(../img/sprite.png) -138px -47px no-repeat;}
#header ul li a.services {width:94px; background:url(../img/sprite.png) -205px -0px no-repeat;}
#header ul li a.services:hover, #header ul li.selected a.services {background:url(../img/sprite.png) -205px -47px no-repeat;}
#header ul li a.news {width:67px; background:url(../img/sprite.png) -299px -0px no-repeat;}
#header ul li a.news:hover, #header ul li.selected a.news {background:url(../img/sprite.png) -299px -47px no-repeat;}
#header ul li a.applause {width:97px; background:url(../img/sprite.png) -366px -0px no-repeat;}
#header ul li a.applause:hover, #header ul li.selected a.applause {background:url(../img/sprite.png) -366px -47px no-repeat;}
#header ul li a.store {width:73px; background:url(../img/sprite.png) -463px -0px no-repeat;}
#header ul li a.store:hover, #header ul li.selected a.store {background:url(../img/sprite.png) -463px -47px no-repeat;}
#header ul li a.contact {width:81px; background:url(../img/sprite.png) -536px -0px no-repeat;}
#header ul li a.contact:hover, #header ul li.selected a.contact {background:url(../img/sprite.png) -536px -47px no-repeat;}

.quote {position:absolute; top:55px; left:360px;}
header #quotes {position:absolute; top:55px; left:220px; width:500px; height:100px; padding:0}
#quotes p {color:#fff; text-align:center; font-size:.8em; display:none; width:500px;}
#quotes p strong {font-size:2em; font-weight:normal;;;}
p#tagline {height:25px; width:134px; background:url(../img/sprite.png) -625px -0px no-repeat; margin:0; display:block; position:absolute; right:20px; top:11px;}

a.donate {height:36px; width:90px; position:absolute; background:url(../img/sprite.png) -625px -32px no-repeat; display:block; right:20px; top:100px;}
a.subscribe {height:36px; width:90px; position:absolute; background:url(../img/sprite.png) -625px -74px no-repeat; display:block; right:20px; top:140px;}

a.social {height:26px; width:25px; display:block; top:185px; position:absolute;}
a.rss {background:url(../img/sprite.png) -623px -124px no-repeat;right:85px;}
a.facebook {background:url(../img/sprite.png) -656px -124px no-repeat; right:52px;}
a.twitter {background:url(../img/sprite.png) -689px -124px no-repeat; right:20px;}
a.youtube {background:url(../img/sprite.png) -590px -124px no-repeat;}
a.linkedin {background: url(../img/sprite.png) -555px -124px no-repeat;}
#footer a.social {float:left; position:relative; top:10px; margin-right:10px;}

.btn {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    border-radius: 10px;
	display:inline-block;
	white-space:nowrap;
	padding:10px;
	background:#00afe0;
	color:#fff;
	text-decoration:none;
	font-size:1em;
}

.youtube-player {margin:.8em 0;}	

#main {background:#f7fafb; width:900px; padding:0 20px 30px 20px; margin:30px auto; overflow:hidden;}
.inner #main {width:589px; padding:0 32px 30px 32px; position:relative; left:-7px;}
#main h1 {color:#00afe0; border-bottom:1px solid #00afe0; margin:20px 0 30px 0; font-size:1.5em;}
#main h2 {color:#00afe0; font-size:1.2em; margin-bottom:5px;}
#main #text h2 {font-size:1.1em;}
#main h2 a {color:#00afe0; text-decoration:none;}
#main p, #main form {font-size:.8em;}
#main p a {color:#00afe0; text-decoration:none;}
#main table tr td {padding:0 20px 20px 0; vertical-align:top;}
#reel {float:left;}
#text {float:right; padding-left:40px; width:432px;}
#text p {margin-top:0;}
.laurels {overflow:hidden; background:url(../img/sprite.png) 100% -152px no-repeat; display:inline-block; clear:left; padding-right:25px;}
.laurels p {float:left; background:url(../img/sprite.png) 0 -152px no-repeat; margin:0; padding: 5px 0 5px 25px; min-height:35px;}

#text article {width:130px; float:left; padding-right:20px;}
#text article.last {padding-right:0;}
#text article p {font-size:.75em; margin-top:10px; margin-bottom:0;}

#footer {border-top: 1px solid #999; width:940px; margin:auto; position:relative;}
#footer div.l {float:left; width:160px;}
#footer div.r {float:right; width:150px;}
#footer p {font-size:.55em; color:#999;}
#footer p a {color:#999; text-decoration:none;}










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

/*
 * 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.
   Theses 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 only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* 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;
    }
}
