/*

	HTML STUFFS

*/
/* Need to expand html as well to have consistent backgrounds */
html {
	min-height: 100vh;
}

/* Body background of the entire site */
body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	margin: 0;
	font-family: 'Questrial', sans-serif;
	background-repeat: no-repeat;
	background-attachment: fixed;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#08000a+0,561516+100 */
	background: #08000a; /* Old browsers */
	background: -moz-linear-gradient(-45deg, #08000a 0%, #561516 100%); /* FF3.6-15 */
	background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#08000a), color-stop(100%,#561516)); /* Chrome4-9,Safari4-5 */
	background: -webkit-linear-gradient(-45deg, #08000a 0%,#561516 100%); /* Chrome10-25,Safari5.1-6 */
	background: -o-linear-gradient(-45deg, #08000a 0%,#561516 100%); /* Opera 11.10-11.50 */
	background: -ms-linear-gradient(-45deg, #08000a 0%,#561516 100%); /* IE10 preview */
	background: linear-gradient(135deg, #08000a 0%,#561516 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#08000a', endColorstr='#561516',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

/* All default headers */
h1, h2, h3 {
	color: white;
}

/* unvisited link */
a:link, a:visited, a:active {
    color: #ff8c8c;
}

/* mouse over link */
a:hover {
    color: #e4e4e4;
}

/* clearfix */
.clearfix {
	overflow: hidden;
}

/*

	TOP NAV BAR

*/

div.top-bar {
	display: flex;
	justify-content: space-between;
}

div.nav-buttons {
	display: flex;
}

a.nav-button {
	display: flex;
	align-items: center;
	color: black;
	background-color: white;
	padding: 0.4em 1em 0.4em 1em;
	border-left: 1px solid black;
	border-right: 1px solid black;
	text-decoration: none;
}
a.nav-button:hover {
	background-color: lightgrey;
	cursor: pointer;
}
a.nav-button>span.nav-button-icon {
	margin-right: 2px;
}

a.nav-button.resp-nav-button {
	display: none;
	flex-direction: column;
}

/*

	TWITCH LOGIN FORM

*/
div.login-form {

}

div.twitch-login {
	display: flex;
}

div.twitch-login-user {
	display: flex;
	align-items: center;
	padding: 0.4em;
	border-left: 1px solid black;
	border-right: 1px solid black;
	background-color: white;
}

span.twitch-login-user-name {
	margin: 0 4px 0 4px;
	font-size: 1.2em;
}

.ui-button-icon-only.multibutton {
	display: none;
}

img.user-avatar {
	display: inline-block;
	height: 32px;
	float: left;
}

/*
	
	HEADER

*/
div.header {
	overflow: hidden;
}

div.logo {
	margin: auto;
}

div.header-logo {
	display: flex;
	justify-content: center;
	align-items: center;
}

img.logo {
	height: 200px;
}

span.site-header {
	color: white;
	margin: 0;
	font-size: 6em;
}

/*

	FRONTPAGE

*/
div.frontpage {
	color: white;
}

div.frontpage-channels {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin: 2em 1em;
}

div.frontpage-channel {
	font-size: 20px;
	margin: 0.5em 0;
	display: flex;
	flex-direction: column;
	flex: 0 0 25%;
}

a.frontpage-channel-link {
	display: flex;
	margin-left: 2px;
	font-size: 1em;
}

img.twitch-glitch {
	width: 16px;
	height: 16px;
	margin: 2px;
}

/*

	OWNED DLC

*/
div.owneddlc > div.jsgrid-pager-container {
	color: white;
}

tr.ownedsong {
	color: green;
}

tr.notownedsong {
	color: red;
}

/*

	PLAYLIST

*/
div.playlist {

}

div.playlist-placeholder {
	text-align: center;
	color: white;
}

h1.playlist-header {
	display: flex;
    align-items: center;
    justify-content: center;
	text-align: center;
	margin: 0 0 4px 0;
}

div.content {
	width: 75%;
	margin: 2em auto 2em auto;
	padding: 10px;
	background-color: rgba(221, 255, 250, 0.08);
	border-radius: 4px;
	flex: 1 0;
}

/*

	PLAYLIST OPS

*/
div.playlist-ops {
	margin-bottom: 0.5em;
	display: flex;
	justify-content: center;
}

button.playlist-op-button {
	padding: 0.5em;
	font-size: 1.2em;
	margin: 0 2px 0 2px;
}
button.playlist-op-button>span {
	margin-right: 0.3em;
}

/*

	SONG REQUEST LINES

*/
div.request-song-button {
	margin: auto;
	display: table;
}

div.song-request {
	background-color: white;
	padding: 5px 10px 5px 2px;
	margin-top: 2px;
	overflow: hidden;
}

/*
	yellow: #ffe866;
*/
div.song-request.vip {
	background: white; /* Old browsers */
	background: -moz-linear-gradient(left, #ffe866 0%, white 100%); /* FF3.6-15 */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#ffe866), color-stop(100%,white)); /* Chrome4-9,Safari4-5 */
	background: -webkit-linear-gradient(left, #ffe866 0%, white 100%); /* Chrome10-25,Safari5.1-6 */
	background: -o-linear-gradient(left, #ffe866 0%, white 100%); /* Opera 11.10-11.50 */
	background: -ms-linear-gradient(left, #ffe866 0%, white 100%); /* IE10 preview */
	background: linear-gradient(to right, #ffe866 0%, white 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffe866', endColorstr='white',GradientType=1 ); /* IE6-9 */
}

div.song-request.current {
	margin-bottom: 1em;
}

div.song-request.vip.current {
}

/* The expand button */
button.song-request-toggle {
	padding: .3em .4em;
	margin-bottom: 4px;
}

/* The grip to move requests */
div.song-request-grip {
	padding: 7px 7px 7px 0;
	font-size: 3em;
}

/* Container for details */
div.song-request-content {
	margin: 0 0 0 10px;
	overflow: hidden;
}

div.song-request-header-super {
	font-size: 1.1em;
	margin-bottom: 2px;
	display: flex;
	justify-content: space-between;
}

div.song-request-header {
	color: black;
	font-size: 1.5em;
	display: flex;
	padding: 0.3em 0 0.3em 0;
}

div.request-header-columns {
	display: flex;
	align-items: stretch;
	flex-direction: row;
	margin-bottom: 10px;
}

div.request-header-col1 {
	display: flex;
	flex-shrink: 0;
	flex-direction: column;
	justify-content: space-between;
}
div.request-header-col2 {
	display: flex;
	flex-grow: 1;
	flex-direction: column;
	justify-content: space-between;
	/*padding: 0.8em 0 0.8em 0;*/
	padding: 0.1em 0 0.1em 0;
}
div.request-header-col2.nomatches {
	padding-left: 38px;
}
div.request-header-col3 {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
}

div.song-request-header-sub {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

span.song-request-position {
	font-size: 1.2em;
}

span.song-request-timestamp {
	font-size: 1.1em;
}

span.viewer-status {
	color: red;
	font-size: 1em;
	margin-left: 0.4em;
	display: flex;
}

span.viewer-status-text {
	font-family: 'Questrial', sans-serif;
	font-size: 0.8em;
	padding-left: 0.1em;
}

span.viewer-status.inactive {
	color: black;
}

span.viewer-status.present {
	color: green;
}

span.song-request-username {
	font-size: 1.5em;
	padding-left: 2vw;
	display: flex;
	justify-content: center;
	align-items: center;
}

span.song-request-username-badges {
	display: flex;
	justify-content: center;
	align-items: center;
}

span.song-request-username-text {
	max-width: 20vw;
	text-overflow: ellipsis;
	overflow: hidden;
}

span.song-request-request {
	padding-left: 2vw;
	word-break: break-all;
	word-break: break-word;
	/*font-size: 1.4em;*/
	font-size: 1em;
	font-weight: bold;
}

img.twitch-chat-badge {
	margin: 1px 2px 0 2px;
	width: 24px;
}

div.custom-badge {
	font-size: 1.1em;
	padding-top: 1px;
}

/*

	SONG REQUEST TAGS

*/

div.song-request-tags {
	padding-left: 2vw;
}

div.song-request-tag {
	display: inline-block;
	padding: 2px 4px 2px 4px;
	margin: 0 2px 0 2px;
	border: 1px solid black;
}

span.song-request-tag-text {
	font-weight: bold;
	font-size: 1.2em;
	text-transform: uppercase;
}

span.song-request-tag-icon {
	padding: 4px 0 2px 0;
}

/*

	SONG REQUEST MODERATOR BUTTONS

*/

/* Moderator button container */
span.song-request-buttons {
	white-space: nowrap;
}

/* The moderator buttons */
button.song-request-button {
	padding: .3em .4em;
}

.ui-dropdownchecklist-selector-wrapper {
	display: none !important;
}

/*
	
	HTML TABLES

*/
table.dlc-table {
	width: 100%;
	border-collapse: collapse;
}

th.dlc-table-header {
	background-color: black;
	color: white;
}

th.dlc-table-header, td.dlc-table-cell {
	text-align: left;
	border: 1px solid black;
	padding: 8px;
}

td.dlc-table-cell a {
	color: red;
}

td.dlc-table-cell a:hover {
	color: pink;
}

tr.dlc-table-row {
	background-color: lightgray;
	transition: filter 0.5s;
	filter: brightness(1);
}

tr.dlc-table-row:hover {
	filter: brightness(0.75);
}

tr.dlc-table-row:nth-child(even) {
	background-color: white;
}

tr.dlc-table-row.official {
	background-color: rgb(173, 235, 183);
}

tr.dlc-table-row:nth-child(even).official {
	background-color: rgb(126, 204, 139);
}

/*

	FOOTER

*/
div.footer {
	background-color: rgba(221, 255, 250, 0.08);
	margin-top: 2em;
	padding-top: 1em;
	padding-bottom: 1em;
	text-align: center;
	color: white;
}

/*
	
	CUSTOM EDITORS

*/
div.autocomplete_list_label {
	float: left;
	cursor: pointer;
	margin: 3px;
}
div.autocomplete_list_label:after {
	display: inline-block;
	padding-left: 2px;
	margin-right: 4px;
}
div.autocomplete_list_label:not(:last-child):after {
	width: 10px;
	content: ",";
}
div.autocomplete_list_label:hover:after {
	width: 10px;
	color: red;
	content: "\f056";
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/*

	RESPONSIVE RULES

*/
@media only screen and (max-width: 1440px) {
	/* CONTENT */
	div.content {
		width: 90%;
	}
}

@media only screen and (max-width: 1024px) {
	/* FRONTPAGE */
	div.frontpage-channel {
		flex: 0 0 33%;
	}

	/* CONTENT */
	div.content {
		width: 97%;
	}
}

@media only screen and (max-width: 768px) {
	/* FRONTPAGE */
	div.frontpage-channel {
		flex: 0 0 50%;
	}

	/* TOP NAV BAR */
	div.nav-buttons {
		flex-direction: column;
	}

	div.top-bar {
		flex-direction: column;
	}

	div.twitch-login {
		flex-direction: column;
	}

	a.nav-button.resp-nav-button {
		display: flex;
	}

	a.nav-button {
		display: none;
	}

	a.nav-button.expand {
		display: flex;
	}

	div.twitch-login {
		display: none;
	}

	div.twitch-login.expand {
		display: flex;
	}

	/* HEADER */
	img.logo {
		height: auto;
		width: 30vw;
		max-width: 178px;
	}

	span.site-header {
		font-size: 10vw;
	}

	/* REQUESTS */
	div.request-header-columns {
		flex-direction: column;
	}

	span.song-request-request {
		font-size: 5vw;
	}

	img.twitch-chat-badge:nth-child(1) {
		display: block;
	}

	span.song-request-username {
		margin: 1vw 0 1vw 0;
		font-size: 4vw;
	}

	span.song-request-username-text {
		max-width: 50vw;
		text-overflow: ellipsis;
		overflow: hidden;
	}

	img.twitch-chat-badge {
		display: none;
		width: 4vw;
	}

	div.request-header-col1 {
		flex-direction: row;
	}

	div.request-header-col2.nomatches {
		padding-left: 0;
	}

	div.request-header-col3 {
		flex-direction: row-reverse;
	}

	/* REQUEST HEADER */
	button.song-request-toggle {
		display: none;
	}

}

@media only screen and (max-width: 460px) {
	/* FRONTPAGE */
	div.frontpage-channel {
		flex: 0 0 100%;
	}

	button.playlist-op-button {
		font-size: 1em;
	}

	span.song-request-tag-text {
		display: none;
	}

	span.site-header {
		display: none;
	}

	div.request-header-col3 {
		flex-direction: column;
		align-items: flex-start;
	}
}