* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	height: 100%!important;
}
body {
	height: 100%!important;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.2rem;
	display: block;
	min-height: 100%;
	background-color: #000000;
}

div {
	display: block;
}
img {
	max-width: 100%;
	border: 0;
}
a,
a:visited {
	text-decoration: none;
	color: #6441a4;
}
a:hover {
	text-decoration: underline;
}

ul {
	list-style-type: none;
}
li {
	list-style-type: none;
	list-style-position: unset;
}

.fa {
	color: #ffffff;
	font-size: 2em;
}

.tse-scrollable {
	width: 100%;
	height: 100%;
}
.tse-scrollbar {
	width: 5px;
}
.tse-scrollbar .drag-handle {
	width: 5px;
	background-color: #666676;
}

#main-container {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

#left-container {
	z-index: 2;
	position: absolute;
	left: 0px;
	top: 0;
	bottom: 0;
	width: 250px;
	
	transition: all 0.1s ease-out;
	background-color: #1A1A1F;
}
#main-container.menu-closed #left-container {
	width: 50px;
}
#main-container.theater-mode #left-container {
	width: 0;
}

/* menu control */
#menu-control {
	position: absolute;
	top: 10px;
	left: 254px;
	width: 6px;
	height: 6px;
	
	transition: all 0.1s ease-out;
	border: 6px solid transparent;
	border-right-color: rgba(0, 0, 0, 0.25);
}
#menu-control:hover {
	border-right-color: rgba(0, 0, 0, 0.50);
}
#main-container.menu-closed #menu-control {
	left: 60px;
	border-right-color: rgba(0, 0, 0, 0);
	border-left-color: rgba(0, 0, 0, 0.25);
}
#main-container.menu-closed #menu-control:hover {
	border-left-color: rgba(0, 0, 0, 0.50);
}
#main-container.theater-mode #menu-control {
	display: none;
}
/* menu control */

/* left content */
#left-content {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	
	color: #8F8F9D;
}
/* left content */

/* menu generic */
.menu-link:hover {
	background-color: #121216;
}
/* menu generic */

/* menu open */
#menu-open {
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 250px;
	overflow: hidden;
	
	transition: all 0.1s ease-out;
}
#main-container.menu-closed #menu-open {
	right: 50px;
}

#menu-open .menu-logo {
	width: 100%;
	padding: 16px 0;
	
	text-align: center;
}

#menu-search-bar-container {
	margin: 0 10px;
}
#menu-search-bar {
	width: 100%;
	height: 30px;
	padding-left: 30px;
	
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: url(../images/search_icon.svg) no-repeat 5px center rgba(255, 255, 255, 0.05);
	background-clip: padding-box;
	outline: none;
	font: inherit;
	font-size: 0.8em;
	letter-spacing: inherit;
	color: #ffffff;
}

#menu-search-results-container {
	position: absolute;
	top: 162px;
	bottom: 39px;
	width: 250px;
	padding-top: 10px;
	overflow: hidden;
}
#menu-search-results-container .search-result {
	display: block;
	width: 100%;
	padding: 4px 10px;
	overflow: hidden;
	
	transition: all 0.2s ease-out;
	font-size: 0.7em;
	color: #8F8F9D;
}
#menu-search-results-container .search-result.hide {
	height: 0;
	padding: 0 10px;
}
#menu-search-results-container .search-result .timestamp {
	float: right;
	color: #676777;
}

#menu-open .menu-divider {
	height: 1px;
	margin: 5px 10px;
	
	background: rgba(255, 255, 255, 0.15);
}

#menu-credit {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 39px;
	padding-bottom: 4px;
}
#menu-credit a {
	display: block;
	padding: 4px 0;
	
	font-size: 0.7em;
	color: #676777;
	text-align: center;
}
/* menu open */

/* menu closed */
#menu-closed {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 250px;
	width: 50px;
	overflow: hidden;
	
	transition: all 0.1s ease-out;
}
#main-container.menu-closed #menu-closed {
	display: block;
	right: 0;
}
#menu-search-icon i {
	padding: 8px 18px;
	
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.8em;
}

#menu-closed .menu-logo {
	padding: 8px 0;
	
	text-align: center;
}

#menu-closed .menu-divider {
	height: 1px;
	margin: 5px;
	background: rgba(255, 255, 255, 0.15);
}

#menu-spoop {
	opacity: 0;
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 39px;
	padding: 4px 0;
	
	transition: all 0.3s ease-out;
	text-align: center;
}
#menu-spoop:hover {
	opacity: 1;
}
/* menu closed */

#center-container {
	z-index: 1;
	position: absolute;
	right: 350px;
	left: 250px;
	top: 0;
	bottom: 0;
	
	transition: all 0.1s ease-out;
	background-color: #ffffff;
}
#main-container.menu-closed #center-container {
	left: 50px;
}
#main-container.chat-closed #center-container {
	right: 0;
}
#main-container.theater-mode #center-container {
	left: 0;
	
	background-color: #000000;
}

/* no-javascript */
#no-javascript {
	width: 100%;
	
	padding: 50px;
	text-align: center;
}
/* no-javascript */

/* center-content */
#center-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	
	background-color: #000000;
}
/* center-content */

#right-container {
	z-index: 2;
	position: absolute;
	right: 0px;
	top: 0;
	bottom: 0;
	width: 350px;
	
	transition: all 0.1s ease-out;
	background-color: #f2f2f2;
}
#main-container.chat-closed #right-container {
	width: 0;
}
#main-container.theater-mode #right-container {
	background-color: #19191f;
}

/* menu control */
#chat-control {
	position: absolute;
	top: 10px;
	left: -16px;
	width: 6px;
	height: 6px;
	
	transition: all 0.1s ease-out;
	border: 6px solid transparent;
	border-left-color: rgba(0, 0, 0, 0.25);
}
#chat-control:hover {
	border-left-color: rgba(0, 0, 0, 0.50);
}
#main-container.chat-closed #chat-control {
	left: -22px;
	border-left-color: rgba(0, 0, 0, 0);
	border-right-color: rgba(0, 0, 0, 0.25);
}
#main-container.chat-closed #chat-control:hover {
	border-right-color: rgba(0, 0, 0, 0.50);
}
#main-container.theater-mode #chat-control {
	border-left-color: rgba(255, 255, 255, 0.75);
}
#main-container.theater-mode #chat-control:hover {
	border-left-color: rgba(255, 255, 255, 1);
}
#main-container.theater-mode.chat-closed #chat-control {
	border-left-color: rgba(0, 0, 0, 0);
	border-right-color: rgba(255, 255, 255, 0.75);
}
#main-container.theater-mode.chat-closed #chat-control:hover {
	border-right-color: rgba(255, 255, 255, 1);
}
#main-container.theater-mode.hide-controls #chat-control {
	opacity: 0;
}
/* menu control */

/* right content */
#right-content {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
/* right content */

/* chat */
#chat {
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 350px;
	overflow: hidden;
	
	transition: all 0.1s ease-out;
}

#chat .chat-line {
	width: 100%;
	padding: 5px 20px;
	word-wrap: break-word;
	overflow: hidden;
	
	color: #000000;
	font-size: 0.7em;
}
#chat .chat-line .text a,
#chat .chat-line .text a:visited {
	color: #6441a4;
}
#chat .chat-line .text a:hover {
	text-decoration: underline;
}
#main-container.theater-mode .chat-line {
	color: #8c8c9c;
}
#main-container.theater-mode .chat-line .text a,
#main-container.theater-mode .chat-line .text a:visited {
	color: #b19dd8;
}

#chat .badge {
	float: left;
}
#chat .badge {
	min-width: 18px;
	height: 18px;
	display: inline-block;
	vertical-align: middle;
	float: left;
	margin: 1px 3px 1px 0;
}
#chat .badge.broadcaster {
    background: #e71818 url(../images/badges/badge_broadcaster.svg);
    background-size: 100%
}
#chat .badge.turbo {
    background: #6441a5 url(../images/badges/badge_turbo.svg);
    background-size: 100%
}
#chat .badge.staff {
    background: #200f33 url(../images/badges/badge_staff.svg);
    background-size: 100%
}
#chat .badge.global-moderator {
    background: #0c6f20 url(../images/badges/badge_globalmod.svg);
    background-size: 100%
}
#chat .badge.moderator {
	background: #34ae0a url(../images/badges/badge_mod.svg);
	background-size: 100%;
}
#chat .badge.admin {
    background: #faaf19 url(../images/badges/badge_admin.svg);
    background-size: 100%
}

#chat .from {
	font-weight: 700;
}

#chat .colon {
	margin-right: 2px;
}

#chat .emoticon {
	background-position: center center;
	background-repeat: no-repeat;
	display: inline-block;
	vertical-align: middle;
	margin: -5px 0;
}
/* chat */

#player {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	
	font-size: 0.5em;
}
#player canvas {
	z-index: 1;
	position: absolute;
	width: 100%;
	height: 100%;
}
#main-container.hide-controls #player {
	cursor: none;
}
.player-button {
	cursor: pointer;
	outline: 0;
	border: none;
	background: 0 0;
	font-size: 1em;
}
.player-button:hover .fa {
	color: #ef7f18;
}
.player-button-tooltip {
	display: none;
	position: absolute;
	top: -1.5em;
	left: 0;
	padding: 0 .5em;
	background: rgba(0,0,0,.75);
	color: white;
	font-size: 1em;
	white-space: nowrap;
}
.player-button:hover .player-button-tooltip {
	display: block;
}

#player-overlay {
	z-index: 2;
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.overlay {
	position: absolute;
	color: #ffffff;
	text-align: center;
	text-shadow: 0px 0px 4px #000000;
	padding: 5px 15px;
	background-color: rgba(0, 0, 0, 0.5);
	white-space: pre;
}
.overlay .overlay-line {
	display: block;
	width: 100%;
}

#player-error {
	z-index: 999;
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	padding: 5px 15px;
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.5);
}
#player-error span {
	width: 100%;
	display: block;
	text-align: center;
	color: #ffffff;
	font-size: 30px;
	text-shadow: 0px 0px 4px #000000;
	white-space: pre;
}
.error #player-error {
	display: block;
}

#player-pause-shadow {
	z-index: 3;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.5);
	display: none;
}
#player.ready #player-pause-shadow,
#player.loading #player-pause-shadow,
#player.paused #player-pause-shadow {
	display: block;
}
#player-controls-shadow {
	z-index: 3;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 8em;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
}

#player-controls {
	z-index: 4;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	opacity: 1;
	transition: all 0.2s ease-out;
}
#main-container.hide-controls #player-controls {
	opacity: 0;
}
#player-play-center,
#player-loading-icon {
	display: none;
	z-index: 4;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12em;
	height: 12em;
	margin-top: -6em;
	margin-left: -6em;
	padding: 0;
	font-size: 3em;
}
#player-play,
#player-pause {
	z-index: 6;
	position: absolute;
	left: 1em;
	bottom: 1em;
	width: 3em;
	height: 3em;
}
#player-jump-container {
	z-index: 5;
	position: absolute;
	left: 4em;
	bottom: 1em;
	width: 3em;
	height: 3.5em;
	
	transition: all 0.2s ease-out;
}
#player-jump-button {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 3em;
	height: 3em;
}
#player-jump-selector-cover {
	position: absolute;
	bottom: 3.5em;
	left: -3em;
	width: 0;
	overflow: hidden;
	
	transition: all 0.2s ease-out;
	padding-top: 1em;
	padding-bottom: 0.5em;
	background-color: rgba(0, 0, 0, 0.75);
	color: #ffffff;
}
#player-jump-container:hover #player-jump-selector-cover {
	width: 25em;
	padding-left: 1.5em;
	padding-right: 1.5em;
}
#player-jump-container:hover #player-jump-button .fa {
	color: #ef7f18;
}
#player-jump-selector-text {
	width: 15em;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	
	text-align: center;
	font-size: 1.5em;
}
#player-jump-selector-container {
	position: relative;
	width: 22em;
	padding: 1em 0;
}
#player-jump-selector-background {
	width: 100%;
	height: 0.4em;
	
	background: rgba(255, 255, 255, 0.35);
}
#player-jump-selector-thumb {
	position: absolute;
	left: 50%;
	top: 0.6em;
	width: 0.4em;
	height: 1.2em;
	
	background: #ffffff;
	cursor: pointer;
	margin-left: -0.2em;
}

#player-volume-container {
	z-index: 5;
	position: absolute;
	left: 7em;
	bottom: 1em;
	width: 17em;
	height: 3em;
}
#player-volume-button {
	width: 3em;
	height: 3em;
}
#player-volume-bar-cover {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 3em;
	width: 0;
	transition: all 0.2s ease-out;
	overflow: hidden;
	padding-left: 0.3em;
}
#player-volume-container:hover #player-volume-bar-cover {
	width: 13em;
}
#player-volume-bar-container {
	position: relative;
	width: 10em;
	height: 3em;
	margin-left: 0.2em;
}
#player-volume-bar-background {
	position: absolute;
	top: 50%;
	width: 100%;
	height: 0.4em;
	margin-top: -0.2em;
	background: rgba(255, 255, 255, .35);
}
#player-volume-bar {
	position: absolute;
	top: 50%;
	height: 0.4em;
	margin-top: -0.2em;
	background: #ef7f18;
}
#player-volume-thumb {
	position: absolute;
	top: 50%;
	width: 0.4em;
	height: 1.2em;
	margin-top: -0.6em;
	margin-left: -0.2em;
	background: #ffffff;
	cursor: pointer;
}
#player-theater-mode {
	z-index: 5;
	position: absolute;
	right: 4em;
	bottom: 1em;
	width: 3em;
	height: 3em;
}
#main-container.theater-mode #player-theater-mode .fa {
	color: #ef7f18;
}

#player-enter-fullscreen,
#player-exit-fullscreen {
	z-index: 5;
	position: absolute;
	right: 1em;
	bottom: 1em;
	width: 3em;
	height: 3em;
}
#player-pause,
#player-exit-fullscreen {
	display: none;
}
#player.playing #player-pause,
#player.ready #player-play-center,
#player.paused #player-play-center,
#player.loading #player-loading-icon,
#main-container.fullscreen #player-exit-fullscreen {
	display: block;
}
#player.playing #player-play,
#player.playing #player-shadow,
#main-container.fullscreen #player-theater-mode,
#main-container.fullscreen #player-enter-fullscreen {
	display: none;
}
