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


/* = General
-----------------------------------------------------------------------------*/
#ad,#banner, #border{
	width: 970px;
	display: block;
}

#banner div, #banner img {
	position: absolute;
}

img, video, svg {
	display: block; /* now it doesn't adhere to line-height anymore */
}

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

#ad {
	-moz-user-select: -moz-none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#ad.collapsed {
    width: 970px;
    height: 250px;
}

#ad.expanded {
    width: 970px;
    height: 418px;
}

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

:focus {outline:none;}
::-moz-focus-inner {border:0;}
::-moz-focus-inner {border:0;}

.fadeIn {
	opacity: 1 !important;
}

/* COLLAPSED Panel
-----------------------------------------------------------------------------*/
#col_panel {
	width: 970px;
	height: 250px;
}

#col_canvas{
	pointer-events: all;
	cursor: pointer;
	z-index: 9999;
}



/* EXPANDED PANEL
-----------------------------*/
#exp_panel {
	top: 0;
	left: 0;
	width: 970px;
	height: 418px;
	display: none;
	opacity: 0;
	transition: all .5s cubic-bezier(0,.8,.33,1);
}

#exp_canvas {
	top: 0;
	left: 0;
	pointer-events: all;
  cursor: pointer;
	z-index: 9999;
}

#rainCanvas{
	position: absolute;
	top: 0;
	left: 0;
	width: 970px;
	height: 418px;
	pointer-events:none;
	cursor:default;
	z-index: 9999;
	display: none;
}
#rainCanvas.masked {
	mask: url(arthurMask.svg);
	-webkit-mask: url(arthurMask.svg) top left / cover;
	-o-mask: url(arthurMask.svg) top left / cover;
	-ms-mask: url(arthurMask.svg) top left / cover;
}
#rainCanvas.masked2 {
	mask: url(arthurMask2.svg);
	-webkit-mask: url(arthurMask2.svg) top left / cover;
	-o-mask: url(arthurMask2.svg) top left / cover;
	-ms-mask: url(arthurMask2.svg) top left / cover;
}

#border{
    position: absolute;
    top: 0;
    left: 0;
		width: 970px;
		height: 418px;
    box-sizing: border-box;
    border: 1px solid #000;
    pointer-events: none;
}


/* ---------------------------------
  AUDIO
/* -------------------------------*/
#stats{
	position: absolute;
	top: 300px;
	left:300px;
	width: 200px;
	height: 100px;
	text-shadow: 2px 2px 3px #000;
	display: none;
	pointer-events:none;
  cursor:default;
}

#stats p {
	font-size: 22px;
	color: #FFF;
}

#stats1 p, #stats2 p {

}


/* -------------------------------
  VIDEO
/* -------------------------------*/
#vidContainer, #youtubeVideo{
  width:320px;
  height: 180px;
	z-index: -5;
}


#vidContainer{
  position:absolute;
  left:-15px;
  top:142px;
  pointer-events:none;
  cursor:default;
  opacity:1;
	display: none;
}

#vidContainer.videoIn {
  opacity: 1 !important;
}

#youtubeVideo {
  position: absolute;
  top: 0px;
  left: 0px;
  display: block;
  background: #000;
  cursor: pointer;
  pointer-events: all;
}

.ytp-chrome-bottom{
	display: none !important;
}

.ytp-hide-controls.ytp-watermark{
	bottom: 50px !important;
	display: none !important;
	z-index: -999;
}


.fadeIn{
  opacity: 1 !important;
}

.fadeOut{
  opacity: 0 !important;
}
