/* = Browser Reset
-----------------------------------------------------------------------------*/
/* http://meyerweb.com/eric/tools/css/reset/ */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* /Browser Reset */


/* = General
-----------------------------------------------------------------------------*/
.panel {
	width:300px;
	height: 250px;
	overflow: hidden;
}
#banner div,
#banner img {
	position: absolute;
}
img, video, svg {
	display: block; /* now it doesn't adhere to line-height anymore */
}

#banner {
	position: absolute;
	top:0;
	left: 0;
	width: 300px;
	height: 250px;
}

.frame {
	box-sizing: border-box;
	border: 1px solid #000;
}

#border {
	position: absolute;
	top: 0;
	left: 0;
	width: 298px;
	height: 248px;
	border: 1px solid #000;
	pointer-events: none;
}


/* ----- General Navigation ----- */

.mainClickTag {
	cursor: pointer;
	background-color: black; opacity: 0; /*IE 10 make clickable fix*/
}

#vid_mainClickTag, #mob_mainClickTag, #end_mainClickTag {
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: all;
	cursor: pointer;
}

.ctaBtn {
	cursor: pointer;
}

/* /General */



/* VIDEO Panel
-----------------------------------------------------------------------------*/

#vid_panel {
	background: #000;
	visibility: hidden; /* Firefox fix: "display:none" not working for svg/tweenmax */
}
#vid_vid {
	display: none;
}

#mob_vid {
	display: none;
	top: 0;
}


/* VIDEO player
-----------------------------*/
#vid_cont {
	top: 0px;
	background-color: #000;
	border-bottom: 1px solid #000;
}
#vid_pauseBtn,
#vid_playBtn,
#vid_audioOffBtn,
#vid_audioOnBtn {
	top: 5px;
	width: 22px;
	height: 22px;
	background: url("vid_buttons.png") no-repeat;
	cursor: pointer;
	opacity: 0;
}
#vid_audioOnBtn {
	left: 5px;
	background-position: 2px 2px;
}
#vid_audioOffBtn {
	left: 5px;
	background-position: 2px -22px;
}
#vid_pauseBtn {
	left: 26px;
	background-position: -19px 1px;
	display: none;
}
#vid_playBtn {
	left: 26px;
	background-position: -19px -22px;
	display: none;
}

#vid_overlayPlayBtn {
	position: absolute;
	width: 70px;
	height: 70px;
	background: rgba(255,255,255,0.75);
	border-radius: 100%;
	top: 50%;
	left: 50%;
	margin: -35px 0 0 -35px;
	display: none;
}

#vid_overlayPlayIcon {
	position: relative;
	top: 17px;
	left: 35%;
	width: 0;
	height: 0;
	border-top: 18px solid transparent;
	border-bottom: 18px solid transparent;
	border-left: 28px solid rgba(111, 111, 111, 0.8);
}
/* /VIDEO Panel */

#mobileDefault {
	display: none;
	pointer-events: all;
	cursor: pointer;
	border-bottom: 1px solid #000;
}

#mobileImg {
	position: absolute;
	top:0;
	left: 0;
}


#vid_tt {
	top: 206px;
	left:14px;
}

#vid_tt2 {
	top: 233px;
	left: 14px;
}

#vid_tag {
	top: 208px;
	left: 181px;
}

#vid_crackleLogo {
	top: 174px;
	left:214px;
}

#vid_watch {
	top: 224px;
	left: 173px;
}



/* END Panel
-----------------------------------------------------------------------------*/
#end_panel {
	background-color: #fffcf2;
	visibility: hidden; /* Firefox fix: "display:none" not working for svg/tweenmax */
}

#end_bg, #vid_bg {
	top: 0px;
	left: 0px;
}

#end_chars {
	bottom: -15px;
	left: 6.5px;
}

#crackleTag {
	top: 13px;
	left: 56px;
}

#end_tt {
	top: 27px;
	left:27px;
}

#end_tt2 {
	top: 92px;
	left: 27px;
}

#end_tag {
	top: 137px;
	left: 64px;
}

#crackleLogo {
	top: 166px;
	left:102px;
}

#ctaBtnDefault, #ctaBtnOver  {
	top: 195px;
	left:71.5px;
	pointer-events: all;
	cursor: pointer;
}

#ctaBtnOver  {
	opacity: 0;
}

#end_replayBtn {
	bottom: 0px;
	right: 3px;
	width: 25px;
	height: 25px;
	background: url("vid_buttons.png") no-repeat;
	cursor: pointer;
	background-position: -42px -0px;
}
/* /END Panel */





/* Media Queries
-------------------------------------------------*/
/* Hide big play icon on iOS devices */
video::-webkit-media-controls {
    opacity: .01;
}

@media

	/* iPad */
	only screen and (min-device-width: 768px) and (max-device-width: 1024px) {

		/* move video cont & pause button to the top */
		#vid_cont, #vid_pauseBtn {
			z-index: 2147483647;
		}
		/* remove stadard video nav button */
		#vid_pauseBtn, #vid_playBtn, #vid_audioOnBtn, #vid_audioOffBtn   {
			display: none;
		}
		/* pause button will be re-added via js, adjust position */
		#vid_pauseBtn {
			left: 5px;
		}
		/* add overlay play button */
		#vid_overlayPlayBtn {
			display: inline;
		}

}
@media

	/* iPhone 5 & 5s */
	only screen and (min-device-width: 320px) and (max-device-width: 568px),

	/* iPhone 6 */
	only screen and (min-device-width: 375px) and (max-device-width: 667px) {

		/* move video cont */
		#vid_cont {
			z-index: 2147483647;
		}
		/* add overlay play button */

}
/* /Media Queries */
