/*
 * 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 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
   ========================================================================== */

body{
	background: #e8e8e8;
	background-image: url('../img/pg_cast.jpg');
	background-position: top center;
	background-repeat: no-repeat;
	text-align: center; /* IE >:[ */
	height:100%;
}

@media only screen and (device-width: 768px) {
  body{
		background: #e8e8e8;
		background-image: url('../img/pg_cast_mobile.jpg');
		background-position: top center;
		background-repeat: no-repeat;
		text-align: center; /* IE >:[ */
		background-size: 3000px 752px;
	}
}

@media screen and (max-device-width: 480px){
  body{
		background: #e8e8e8;
		background-image: url('../img/pg_cast_mobile.jpg');
		background-position: top center;
		background-repeat: no-repeat;
		text-align: center; /* IE >:[ */
		background-size: 3000px 752px;
	}
}

#stuckTop {
	width: 100% !important;
	background: #fff;
	border-bottom:10px solid #ee3124;
	height:55px;
	position: fixed;
	top:-75px;
	z-index: 1990;
	box-shadow: 0 4px 4px -2px #232323;
    -moz-box-shadow: 0 4px 4px -2px #232323;
    -webkit-box-shadow: 0 4px 4px -2px #232323;
}
#stuckTopInner {
	width: 980px;
	margin:0 auto;
	height:55px;
}
.stuckTopInnerBuy {
    margin-left:10px;
    position:relative;
    top:0px;
}
.stuckTopRight {
	margin-top:18px;
}
.stuckTopRight div {
	margin-left:5px;
}

#overlayContainer {
	width: 100% !important;
	height: 100% !important;
	background: url('../img/pg_blacktrans.png');
	position: fixed;
	z-index: 991;
	display: none;
}
.overlayImage {
	position: fixed;
	top:50%;
	left:50%;
	z-index: 993;
	border:1px solid #9e9a9a;
	background: #FFF;
	
}
.overlayImageBorder {
	border: 10px solid #fff;
}
.overlayClose{
	position: fixed;
	top:50%;
	left:50%;
	z-index: 995;
	width: 14px;
	height: 13px;
	cursor: pointer;
}

.overlayShare {
	position: fixed;
	top:50%;
	left:50%;
	z-index: 995;
}
.overlayLeft {
	position: fixed;
	top:50%;
	left:50%;
	z-index: 996;
}
.overlayRight {
	position: fixed;
	top:50%;
	left:50%;
	z-index: 996;
}
.overlayLoader {
	width: 76px;
	height: 76px;
	position: fixed;
	top:50%;
	left:50%;
	z-index: 996;
	margin:-37px 0 0 -37px;
	background: #fff;
}
.overlayLoader img {
	margin-top:6px;
}


#container{
	position:relative;
	min-width: 980px;
	width:expression(document.body.clientWidth < 980? "980px": "auto" );
	overflow: hidden;
}

.floatleft{float:left;}
.floatright{float:right;}
.clear{clear:both;}

#firstBar{
	height:720px;
	text-align: left;
	margin:0 auto;
	margin-top:45px;
	min-width:980px;
	position: relative;
}
#secondBar{
	text-align: center;
	height:347px;
	background: url('../img/pg_secondbarbg.png');
	min-width:980px;
	border-bottom:14px solid #FFF;
	z-index: 669;
	position: relative;
}
#thirdBar{
	text-align: center;
	height:347px;
	background:url('../img/pg_gray_bars_bg.png') top center no-repeat #e2e2e2;
	min-width:980px;
}
#fourthBar{
	text-align: center;
	height:347px;
	background:url('../img/pg_gray_bars_bg.png') top center no-repeat #e2e2e2;
	min-width:980px;
}
#fifthBar{
	text-align: center;
	height:347px;
	background:url('../img/pg_gray_bars_bg.png') top center no-repeat #e2e2e2;
	min-width:980px;
}

/* partners bar */
#logosBar {
	width:100%;
	background: #fff;
	position: relative;
	z-index: 989;
	height: 255px;
}
.logosBarInner {
	width: 960px;
	height: 250px;
	text-align: center;
	padding-top: 20px;
	position: absolute;
	top: 0;
	left: 50%;
	margin: 0 0 0 -480px;
}
.logosBarInner ul{
	margin-left: 50px;
	list-style-type: none;
}
.logosBarInner ul li{
	float: left;
	position: relative;
}
.logosBarInner ul li a{
	display: block;
	cursor: pointer;
}
.logosBarInner ul li.centerLogo{
	margin-left: 150px;
}

#logosBar .tint {
	background: #fff;
	width: 220px;
	height: 74px;
	position: absolute;
	left: 0;
	top: 0;
	display: none;
}
#logosBar a:hover .tint{
	display: block;
	opacity: 0.5;
	filter:alpha(opacity=50);
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}
#bottomBar{
	height:300px;
	background:#3b3939;
	color:#919090;
	font-size:15px;
	text-align: center;
	line-height: 30px;
	min-width:980px;
	position: relative;
	z-index: 555;
}
#bottomBilling{
	position: absolute;
	top:10000px;
	width:100%;
	background: #3b3939;
	display: none;
	z-index: 980;
}
.bottomBillingInner{
	width:1080px;
	margin: 0 auto;
	padding-top:50px;
	padding-bottom:50px;
	
	
}
.bottomBillingText{
	color:#9d9fa2;
	font-size: 11px;
	margin-top:25px;
}
.bottomBillingText a{
	color:#b3b5b8;
	text-decoration: none;
}
.bottomBillingText u{
	text-decoration: underline;
}
.secondBarInner{
	text-align: left;
	margin:0 auto;
	padding-top:25px;
	width:940px;
	position: relative;
}
.thirdBarInner,.photoBarInner,.storyBarInner{
	text-align: left;
	margin:0 auto;
	padding-top:25px;
	width:940px;
}
.storyBarInner,.photoBarInner {position: relative;}
.bottomBarInner{
	text-align: center;
	margin:0 auto;
	width:1089px;
	position: relative;
	padding-top:25px;
}


#storyBar{
	text-align: center;
	height:475px;
	background:url('../img/pg_story_bg.png') top center;
	min-width:980px;
}

#photoBucketBar,#photoBucketBar2{
	text-align: center;
	height:317px;
	/*background:url('../img/pg_gray_bars_bg.png') top center no-repeat #e2e2e2;*/
	min-width:980px;
	
	/* Safari 4-5, Chrome 1-9 */
	background: url('../img/pg_photobucket_bg.jpg') top center no-repeat;
	
	
	border-top:14px solid #FFF;
	border-bottom:14px solid #FFF;
	z-index: 989;
	position: relative;
	
}

/**
 * Used to stretch a link over the photoBucketBar and awkwardPhotoBar
 */

.barLink {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	/*zoom: 1;*/
}

.thirdBarInner {
	/*z-index: 800;*/
}

#photoBucketBar .thirdBarInner {
	position: relative;
	/*z-index: 0;*/
}

#photoBucketBar .thirdBarInner .floatleft {
	position: relative;
	left: -22px;
}

#awkwardPhotoBar {
	text-align: center;
	height: 320px;
	background: url('../img/pg_awkward_photo_bg.jpg') top center no-repeat;
	min-width: 980px;

	border-top: 14px solid #FFF;
	border-bottom: 14px solid #FFF;
	z-index: 989;
	position: relative;

}

#awkwardPhotoBar .thirdBarInner {
	position: relative;
}

#awkwardPhotoBar .thirdBarInner .floatleft {
	position:absolute;
	top: 35px;
}

#billingBar{
	/* Safari 4-5, Chrome 1-9 
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#131313), to(#383838));
	
	/* Safari 5.1, Chrome 10+ 
	background: -webkit-linear-gradient(top, #383838, #131313);
	
	/* Firefox 3.6+ 
	background: -moz-linear-gradient(top, #383838, #131313);
	
	/* IE 10 
	background: -ms-linear-gradient(top, #383838, #131313);
	
	/* Opera 11.10+ 
	background: -o-linear-gradient(top, #383838, #131313);
	
	filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#383838', endColorstr='#131313'); /* IE6 & IE7 
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#383838', endColorstr='#131313')"; /* IE8 */
	
	color:#919090;
	background: #3b3939;
	font-size:15px;
	text-align: center;
	line-height: 15px;	
	border-top:14px solid #FFF;
	z-index: 664;
	position: relative;
	height: auto !important; /* for modern browsers */
	height: 100%; /* for IE */
	
}

#photosBar{
	text-align: center;
	height:475px;
	background:url('../img/pg_photos_bg.jpg') top center #FFF;
	min-width:980px;
	z-index: 660;
	position: relative;
}
#photo {
	cursor: pointer;
}

.photosBarBilly {
	width:345px;
	height:357px;
	background: url('../img/pg_photos_billy.png') top center no-repeat;
	z-index: 11;
	top:118px;
	left:-175px;
	position: absolute;
}
.photosBarBarker{
	width: 273px;
	height:375px;
	background: url('../img/pg_barker_photossection.png') top center no-repeat;
	z-index: 12;
	top:100px;
	left:950px;
	position: absolute;
	
}

.photosBarJosh{
	width: 274px;
	height:301px;
	background: url('../img/pg_josh_photossection.png') top center no-repeat;
	z-index: 9;
	top:175px;
	left:1030px;
	position: absolute;
	
}

.photosBarText {
	position: absolute;
	top:22px;
	left:0px;
	z-index:14;
}
.photoContainer{
	width:760px;
	height:422px;
	position: absolute;
	top:0;
	left:0;
	z-index: 18;
}

.storyBilly {
	width:403px;
	height:390px;
	background: url('../img/pg_story_billy.png') top center no-repeat;
	z-index: 43;
	position: absolute;
	top:84px;
	left:-133px;
}
.storyBette {
	width:202px;
	height:319px;
	background: url('../img/pg_story_bette.png') top center no-repeat;
	z-index: 41;
	position: absolute;
	top:156px;
	left:57px;
}
.storyBette_r {
	width:260px;
	height:261px;
	background: url('../img/pg_story_bette_r.png') top center no-repeat;
	z-index: 42;
	position: absolute;
	left:115px;
	top:214px;
}
.storyCenterLeft {
	width:172px;
	height:194px;
	background: url('../img/pg_story_center_left.png') top center no-repeat;
	z-index: 43;
	position: absolute;
	left:390px;
	top:280px;

}
.storyCenterRight{
	width:286px;
	height:273px;
	background: url('../img/pg_story_center_right.png') top center no-repeat;
	z-index: 666;
	position: absolute;
	left:482px;
	top:270px;
	display: none;

}
.storyMT {
	width:220px;
	height:338px;
	background: url('../img/pg_story_mt.png') top center no-repeat;
	z-index: 48;
	position: absolute;
	left:790px;
	top:136px;
}
.storyMT_r {
	width:265px;
	height:412px;
	background: url('../img/pg_story_mt_r.png') top center no-repeat;
	z-index: 47;
	position: absolute;
	left:885px;
	top:62px;
}
.storyTop {
	width:171px;
	height:61px;
	position: absolute;
	background: url('../img/pg_story.png') top center no-repeat;
	top:12px;
}
.storyText {
	width:486px;
	height:193px;
	background: url('../img/pg_story_text.png') top center no-repeat;
	position: absolute;
	top:50px;
	left:335px;
}

.contentTitleImg{margin:-20px auto 0;text-align: center;height:208px; width:960px;}
.titleTopBuy {display: block; margin:-40px 0 21px 342px;outline:none;}
.titleTopBuy:hover,.titleTopBuy:active,.titleTopBuy:focus {outline:0}
.videoFrame{margin:0 auto;margin-top:5px;width:674px;height:445px;background: url('../img/pg_videoframe.png') no-repeat top left;}
.dhdlogoframe{margin:0 auto;margin-top:5px;width:441px;height:44px;background: url('../img/dhd_logo.png') no-repeat top left;}
.youtube-player{margin-top:11px;margin-left:13px;}
.afp_btn{margin-top:15px;}
.crap_btn{margin-top:65px;}
.afp_photo{padding:7px;border:1px solid #aeaaab;background: #fff;}
.afp_meme{padding:7px;border:1px solid #aeaaab;background: #fff;position: relative;}
.arrow_left{margin-top:100px;margin-right:17px;cursor: pointer;}
.arrow_right{position: absolute;top:120px;margin-left:17px;cursor: pointer;}
.arrow_left_photo{margin-top:168px;margin-right:17px;cursor: pointer;}
.arrow_right_photo{margin-top:168px;margin-left:17px;cursor: pointer;}
.share_hover{
	position: absolute;
	width: 585px;
	height:154px;
	background: url('../img/pg_shareover_meme.png');
	z-index: 3;
	top:102px;
	display: none;
}
.share_hover_photo{
	position: absolute;
	width: 630px;
	height:25px;
	z-index: 3;
	top:259px;
	border: 1px solid red;
}
.socialtop{position:absolute;top:0;left:0;margin-left:15px;width:250px;}
.twittertop{margin-left:10px;}
.share_items{margin-top:100px;margin-left:235px;}
.arrow_roll,.arrow_roll_photo{display:none;}
.rated{margin-top:7px;}
#facebookPhoto {
	position: absolute;
	bottom:16px;
	right:105px;
}
#twitterPhoto {
	position: absolute;
	bottom:10px;
	right:-20px;
}

#facebookMeme {
	position: absolute;
	bottom:16px;
	right:105px;
}
#twitterMeme {
	position: absolute;
	bottom:10px;
	right:-20px;
}
.buyTicketsTop {position:absolute;top:0;right:0;margin-right:15px;margin-top:-5px;}


/* ==========================================================================
   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 not screen and (min-device-width: 320px) and (max-device-width: 1024px)
	body{
		background: #e8e8e8;
		background-image: url('../img/pg_cast_mobile.jpg');
		background-position: top center;
		background-repeat: no-repeat;
		text-align: center; /* IE >:[ */
		background-size: 3000px 752px;
	}
}

@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;
    }
}
