/*! HTML5 Boilerplate v5.0.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 {
    color: #999;
    font-size: 14px;
    line-height: 1.5em;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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


body {
	background: #000 url(../img/glow.png) no-repeat center top;
}

.wrapper {
	max-width: 970px;
	width: 100%;
	margin: 0 auto;
}

.main {
	text-align: center;
	max-width: 670px;
	width: 100%;
	margin: 0 auto 40px;
}
.logo {
	margin: 60px 0 55px 0;
}
.watch {
	max-width: 90%;
}
.watch_mobile {
	display: none;
}
#flashContent {
	position: relative;
    align-content: center;
}

h1 {
	font-family: "OmegaCT", Arial, sans-serif;
	text-transform: uppercase;
	line-height: 1.17em;
	font-size: 28px;
	color: #ffffff;
	font-weight: normal;
}
.legal {
	border-top: 1px solid #1f1f1f;
	text-align: center;
	margin-bottom: 20px;
	padding-top: 20px;
}
.legal a {

	position: relative;
	font-size: 12px;
	color: #6c6c6c;
	padding: 3px 30px;
	text-transform: uppercase;
	text-decoration: none;
	display: inline-block;
	zoom: 1;
	*display: inline;
}
.legal a:hover {
	color: #8c8c8c;	
}

footer {
	color: #6c6c6c;
	font-size: 12px;
	border-top: 1px solid #1f1f1f;
	text-align: center;
	margin-bottom: 40px;
	padding-top: 20px;
}
footer ul {
	margin: 0;
	padding: 0 0 0 20px;
}
footer ul, footer li { 
	display: inline-block;
	zoom: 1;
	*display: inline;
}

.icon-footer {
	cursor: pointer;
	opacity: 0.8;
}
.icon-footer:hover {
	opacity: 1;
}


/* smaller */
@media only screen and (max-width: 670px) {
    /* Style adjustments for viewports that meet the condition */
	.main {
		padding: 10px;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
	}
	.watch_mobile {
		display: inline;
	}
	#flashContent {
		display: none;
	}
	h1 {
		font-size: 22px;
	}
	p {
		font-size: 13px;
	}
	.legal a {
		display: block;
		left: 0px;
	}
	footer span {
		display: block;
		margin-bottom: 7px;
	}
}

/* smaller */
@media only screen and (max-width: 790px) {
    /* Style adjustments for viewports that meet the condition */
	.legal a {
		padding: 3px 7px;
	}
}





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

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

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

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

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


@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 the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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

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