html,
body {
	margin: 0;
	padding: 0;
	color: #FFF;
	font-family: "MS Gothic", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
	height: 100%;
	background-color: #000;
}

#background1, #background2 {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
	transition: opacity 1s;
}

#background1 {
	opacity: 1;
	background-image: url('/bg.jpg');
}

#background2 {
	opacity: 0;
}

a {
	color: #09F;
}

a:hover {
	color: #FFF;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0;
}

#main {
	/*background: rgba(0, 0, 0, 0.5);*/
	background: #1A1A1A;
	border-left: 1px solid #09F;
	border-right: 1px solid #09F;
	box-shadow: 0px 0px 16px #000;
	width: 980px;
	margin: 0 auto;
	min-height: 100%;
	position: relative;
	padding-bottom: 96px;
	box-sizing: border-box;
	text-shadow: 2px 2px 1px #000;
	transition: border-left 1s, border-right 1s;
}

#footer {
	height: 96px;
	width: 100%;
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 16px;
	box-sizing: border-box;
	border-top: 1px solid #333;
}

#header {
	height: 119px;
	background: #000;
}

#links {
	background: #1A1A1A;
	display: block;
	height: 48px;
}

#links ul {
	list-style-type: none;
	padding-left: 0;
	margin: 0;
	line-height: 48px;
}

#links li {
	display: inline-block;

}

#links li a {
	color: #FFF;
	text-decoration: none !important;
	padding-left: 16px;
	padding-right: 16px;
	height: 48px;
	max-width:72px;
	display: inline-block;
}

#links li a:hover, .active {
	color: #09F;
	background: rgba(255, 255, 255, 0.1);
}



#participants, #participants-special {
	width: 100%;
}

#participants li, #participants-special li {
	display: inline-block;
	width: 25%;
}

#content {
	padding: 16px;
	box-sizing: border-box;
}

#content #quality,
#content ul {
	margin-bottom: 35px;
}

#content h1 {
	margin-top: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid #333;
}

#banner {
	height: 512px;
	background: url('/bg2.jpg');
	background-size: cover;
	background-position: center;
	box-shadow: inset 0px 0px 16px #000;
	text-align: center;
	box-sizing: border-box;
	position: relative;
	margin:0 auto;
}

#banner video {
	position: relative;
	width: 100%;
	display: block;
	z-index: 0;
}

#banner #overlay {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	transform: translate(-50% , -50%);
	font-size: 72px;
	color: #3359ae;
	font-weight: bold;
	opacity: 0;
	transition: opacity 3s;
	-webkit-user-select: none;
	user-select: none;
	pointer-events: none;
}

#banner h1 {
	padding-top: 100px;
}

#banner h2 {
	padding-top: 24px;
}

#clockdiv {
	background: rgba(0, 0, 0, 0.5);
	display: inline-block;
	padding: 8px;
	padding-right: 0;
	margin-top: 42px;
}

#clockdiv h3 {
	margin-bottom: 8px;
}

#clockdiv>div {
	display: inline-block;
	text-align: center;
	margin-right: 8px;
	width: 42px;
	margin-top: -4px;
	background: #FFF;
	color: #000;
	text-shadow: none;
}

.seconds,
.minutes,
.hours,
.days {
	font-weight: 600;
}

#vidlinks {
	margin-top: 42px;
}

#vidlinks a {
	color: #09F;
}

#vidlinks a:hover {
	color: #FFF;
}

#thumb {
	width: 100%;
	height: 100%;
}

#thumb:hover {
	filter: brightness(1.2);
}

#content a[href*="nicovideo.jp"]::before {
	content:url('/nico.ico');
	margin-right:4px;
}

#content a[href*="javascript:v("]::before {
	content:url('/play1.png');
	margin-right:4px;
}

/* #content a[href*="javascript:v("]:hover::before {
	content:url('/play2.png');
	margin-right:4px;
} */

#content a[href*="_Medley."]::before, #content a[href*="_Audio."]::before {
	content:url('/music.png');
	margin-right:4px;
}

#content a[href*="_GiftPack."]::before {
	content:url('/download.png');
	margin-right:4px;
}

#content a[href*="bepis.io"]::before {
	content:url('/bepis.png');
	margin-right:4px;
}

#content #enable-interactive-mode a::before {
	content:url('/video.png');
	margin-right:4px;
}

#content a[href^="http://"]:not([href*="iwf.gay"]):not([href*="www.websiteout.net"])::after,
#content a[href^="https://"]:not([href*="iwf.gay"]):not([href*="www.websiteout.net"])::after {
	margin-left: 3px;
	content: "";
	display:inline-block;
	height:10px;
	width:10px;
	background-image: url("/external-link-ltr-icon.svg");
}

#enable-interactive-mode {
	transition: height 1s, opacity 1s;
	height:32px;
}

.iwf-interactive {
	transition: opacity 0.25s, position 0.25;
	opacity: 0;
}

.iwf-interactive__pea {
	opacity: 1;
	transform: translate3d(128px, -10px, 0);
	transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}

hr {
	border: none;
	width: 100%;
	height: 1px;
	background: #333;
	margin-top: 16px;
	margin-bottom: 16px;
}

#header, #content, #footer, #main {
	transition: filter 0.25s, background 0.25s;
}

#quality {
	padding: 6px 0;
}

#quality button {
	min-width: 40px;
	font-size: 15px;
	background-color: rgba(0,0,0,0);
	border: 1px solid #09F;
	border-radius: 4px;
	color: #09F;
	padding: 4px 8px;
	box-shadow: inset 0px 1px 0px rgba(255,255,255,0.3), inset 0px -1px 0px rgba(0, 0, 0, 0.3);
}

#quality button:hover {
	background-color:#09f3;
	cursor: pointer;
}

#quality button.quality-active {
	background-color: #09F;
	color: white;
}

#quality button#quality-reset {
	border:1px solid #F30;
	color: #F30;
}

#quality button#quality-reset:hover {
	background-color: #F303;
}

/* 8/11/22, a couple minor tweaks */
#links {
	background: #000;
	border-bottom: 1px solid #333;
	border-top: 1px solid #333;
}
#main {
	background: rgba(0, 0, 0, 0.75);
}
body {
	font-family: "MS PGothic", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}
button {
	font-family: "MS PGothic" !important;
}
#van {
	display: inline-block;
}
#van:hover {
	cursor: pointer;
}
