/*.matchInfoHeader { background-color: magenta;}
.matchInfo { background-color: lightgreen;}
.mapban { background-color: lightsalmon;}
.matchComments { background-color: mediumvioletred;}
#voteAndPostGame {background-color: green;}
.bg-magenta {
    background-color: magenta;
}
.teamPlayer {
    background-color: #6441A5;
}*/

.bg-red {
	background-color: red;
}

.bg-green {
	background-color: green;
}

/* MAIN CSS BEGINS HERE */

.MatchupContent .column.innerColumn {
	padding: 0 60px;
}

/* Paddings */
.padding-off {
	padding: 0 !important;
}

/* Margins */

.mside-5px {
	margin-right: 5px;
	margin-left: 5px;
}

.mtop-50px {
	margin-top: 50px;
}

.mtop-40px {
	margin-top: 40px;
}

.mtop-30px {
	margin-top: 30px;
}

.mtop-20px {
	margin-top: 20px;
}

.mtop-16px {
	margin-top: 16px;
}

.mtop-10px {
	margin-top: 10px;
}

.mtop-5px {
	margin-top: 5px;
}

.mbot-50px {
	margin-bottom: 50px;
}

.mbot-40px {
	margin-bottom: 40px;
}

.mbot-30px {
	margin-bottom: 30px;
}

.mbot-20px {
	margin-bottom: 20px;
}

.mbot-15px {
	margin-bottom: 15px;
}

.mbot-10px {
	margin-bottom: 10px;
}

.mbot-5px {
	margin-bottom: 5px;
}

.mleft-3px {
	margin-left: 3px;
}

.mleft-10px {
	margin-left: 10px;
}

.mleft-20px {
	margin-left: 20px;
}

.mleft-35px {
	margin-left: 35px;
}

.mright-3px {
	margin-right: 3px;
}

.mright-10px {
	margin-right: 10px;
}

.mright-20px {
	margin-right: 20px;
}

.mright-40px {
	margin-right: 40px;
}

.order--1 {
	order: -1;
}
/* General Buttons */

.button {
	width: 85px;
	min-width: 85px;
	height: 20px;
	padding: 0 !important;
	color: white;

	font-weight: lighter;
	font-size: 12px;
	line-height: 20px;
	letter-spacing: 0;
	text-align: center;
	vertical-align: middle;
	border: 0 !important;
	border-radius: 0;
}

.columns.actions .button {
	margin-bottom: 5px;
}

.pointer {
	cursor: pointer !important;
}

.not-allowed {
	cursor: not-allowed !important;
}

.simple-cursor {
	cursor: default !important;
}

/* Images */
.teamLogo {
	width: 190px;
	height: 190px;
}

.TeamInfoLink {
	width: 30px;
	height: 30px;
	background-color: black;
}

.TeamInfoLink img {
	width: 24px;
	height: 24px;
	margin: 3px 3px;
}

.mapimage {
	width: 100%;
	height: 100px;
}

.voteLogo {
	width: 21px;
	height: 21px;
}

.sideimg {
	width: 36px;
	padding: 2px;
}

.mapbanLive img,
img.resultMapImg {
	height: 100px;
}

.mapbanLive img {
	display: block;
}

.mapban img.map {
	width: 162px;
}

.TeamBansMapLogo {
	width: 40px;
}

img.MatchupchatProfileImage {
	width: 85px;
	height: 85px;
}

img.operator {
	width: 36px;
}

.teamimg {
	width: 65px;
}

#castTwitch {
	background-color: #6441a5;
}

#castYoutube {
	background-color: #f00;
}

.castButton {
	width: 138px;
	height: 25px;
	font-weight: bold;
	font-size: 12px;
	line-height: 25px;
	vertical-align: middle;
}

.castButton:only-child {
	margin: auto;
}

.castButton img {
	position: absolute;
	left: 0;
	width: 21px;
	margin: 2px;
}

/* Texts and Headers */
.text,
.header,
tr,
tr td,
thead.header th {
	height: 36px;
	line-height: 36px;
	vertical-align: middle;
	cursor: default;
}

.header {
	color: white !important;
	font-weight: bold;
	letter-spacing: 0;
	background-color: #151a21;
}

.text.header {
	font-size: 20px;
	text-align: center;
}

.text.header-lg {
	height: 43.2px;
	font-size: 24px;
	line-height: 43.2px;
	text-align: center;
}

table .header {
	font-size: 16px;
	text-align: left;
}

table.showMatchTable thead.header th {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

table td * {
	font-size: 16px;
}

/* File Upload */
.adminUploadTeamSelect {
	width: 46%;
	padding: 0 8px;
}

.adminUploadTeamSelect label {
	font-size: 16px;
	line-height: 20px;
}
/* Team Info */
.teamInfo {
	height: 286px;
}

.players-short-1 {
	padding-bottom: 36px;
}

.players-short-2 {
	padding-bottom: 72px;
}

.players-short-3 {
	padding-bottom: 108px;
}

.players-short-4 {
	padding-bottom: 144px;
}

.players-short-5 {
	padding-bottom: 180px;
}

.players-short-6 {
	padding-bottom: 216px;
}

.players-short-7 {
	padding-bottom: 252px;
}

.players-short-8 {
	padding-bottom: 288px;
}

.players-short-9 {
	padding-bottom: 324px;
}

.players-short-10 {
	padding-bottom: 360px;
}

/* Map Ban Live */
.mapbanLive {
	background-color: #f5f5f5;
}

.mapBanText {
	margin-top: -3px;
	margin-bottom: 10px;
	color: #000;
	font-weight: bold;
	font-size: 20px;
	letter-spacing: 0;
}

.mapOppBanText {
	height: 100px;
	color: #f00;
	font-weight: bold;
	font-size: 20px;
	line-height: 100px;
	letter-spacing: 0;
}

/* Vote */
.voteButton {
	position: relative;
	width: 85px;
	height: 25px;
	font-weight: bold;
	font-size: 12px;
	line-height: 25px;
	background-color: #f5f5f5;
}

.voteButton.img.voteLogo,
.voteButton .voteText {
	display: inline;
}

.voteButton.team1 {
	text-align: left;
	border-left: 3px solid #1389e3;
}

.voteButton.draw {
	text-align: left;
	border-right: 3px solid #ffdd1e;
	border-left: 3px solid #ffdd1e;
}

.voteButton.team2 {
	text-align: right;
	border-right: 3px solid #ed7214;
}

.voteButton.team1 img {
	margin-top: 2px;
	margin-left: 10px;
}

.voteButton.team2 img {
	margin-top: 2px;
	margin-right: 10px;
}

.voteButton .voteText {
	position: absolute;
	width: 50px;
}

.voteButton.voted {
	background-color: #d1d1d1;
}

.voteButton.team1 .voteText {
	left: 35px;
	text-align: center;
}

.voteButton.team2 .voteText {
	right: 35px;
	text-align: center;
}

#voteSlider {
	display: table;
	width: 100%;
}

.sliderValue {
	display: table-cell;
	height: 10px;
}

.sliderValue.team1,
.sideimg.team1 {
	background-color: #1389e3;
}

.sliderValue.draw {
	background-color: #ffdd1e;
}

.sliderValue.team2,
.sideimg.team2 {
	background-color: #ed7214;
}
/* PostGame Report */
#voteAndPostGame {
	height: 286px;
}

#postGameOverall {
	background-color: #f5f5f5;
}

#postGameOverall.team1Won {
	border-right: 5px solid #ff3f3f;
	border-left: 5px solid #60c860;
}

#postGameOverall.team2Won {
	border-right: 5px solid #60c860;
	border-left: 5px solid #ff3f3f;
}

#postGameOverall.draw {
	border-right: 5px solid #ffdd1e;
	border-left: 5px solid #ffdd1e;
}

.teamScore {
	width: 36px;
	height: 36px;
	font-weight: bold;
	font-size: 30px;
	line-height: 36px;
}

.singlemap {
	color: white;
	background-color: #151a21;
}

.singlemap.selected {
	color: #5eb6e0;
}

.result,
.banned {
	font-size: 16px;
	line-height: 36px;
}

.result .value {
	width: 36px;
	height: 36px;
	font-size: 30px;
}

.result.total .value {
	width: 33px;
	height: 36px;
	font-weight: bold;
}

.result.total {
	background-color: #f5f5f5;
	border-right: 5px solid black;
	border-left: 5px solid black;
}

.result.atk {
	border-right: 3px solid #1389e3;
	border-left: 3px solid #1389e3;
}

.result.def {
	background-color: #f5f5f5;
	border-right: 3px solid #ed7214;
	border-left: 3px solid #ed7214;
}
/* Mapban */
.roundHeader {
	width: 162px;
	height: 12px;
}

.roundHeader.black {
	background-color: #151a21;
}

.roundHeader.red {
	background-color: #a62424;
}

/* Match Chat / Match Comments*/
.matchComments td {
	margin: 0 !important;
	vertical-align: top;
}

textarea#commentArea {
	width: 400px;
	height: 200px;
	padding: 6px 10px;
	line-height: 22px;
	border: none;
	border: 1px solid grey;
	resize: none;
}

textarea#commentArea:placeholder-shown {
	font-style: italic;
}

.matchComments select {
	width: 250px;
	height: 20px;
	color: white;
	font-size: 12px;
	background-color: #ab7ed0;
}

.commentPrenote option:nth-child(odd) {
	color: black;
	background-color: #f5f5f5;
}

.commentPrenote option:nth-child(even) {
	color: black;
	background-color: white;
}

.matchComments .commentsTime {
	display: block;
	font-size: 12px;
}

.matchComments .message {
	margin-top: 10px;
	margin-bottom: 20px;
}

.MatchupcommentContainer {
	border-bottom: 1px solid #d1d1d1;
}

/*Result Enter*/
.resultEnter:nth-child(even) {
	padding-right: 20px;
}

.resultEnter:nth-child(odd) {
	padding-left: 20px;
}

.resultEnterInfo {
	line-height: 100px;
	background-color: #f5f5f5;
}

.resultEnterInfo img {
	vertical-align: middle;
}

.resultEnterInfo img,
.resultEnterInfo div,
.resultEnterInfo input {
	display: inline;
}

.resultVS {
	margin: 0 10px;
	font-weight: bold;
}

/* Sidepick */
.sidePick.padding-right {
	padding-right: 20px;
}

.sidePick.padding-left {
	padding-left: 20px;
}

.sideimg.grey {
	background-color: #d1d1d1;
}

.sidePickInfo {
	line-height: 100px;
	background-color: #f5f5f5;
}

.sidePickInfo img {
	vertical-align: middle;
}

.sidePickInfo img,
.sidePickInfo div,
.sidePickInfo input {
	display: inline;
}
/* Colors */
button.black,
.button.black {
	background-color: black;
}

button.grey,
.button.grey {
	background-color: #d1d1d1;
}

button.cyan,
.button.cyan {
	background-color: #79bcc9;
}

button.magenta,
.button.magenta {
	background-color: #ab7ed0;
}

button.red,
.button.red {
	background-color: #ff3f3f;
}

button.green,
.button.green {
	background-color: #60c860;
}

.color-red {
	color: #f00 !important;
}

.color-white {
	color: white;
}

.color-open {
	color: #000;
}

.color-mapban {
	color: #60c860;
}

.color-playing {
	color: #ffaa48;
}

.color-closed {
	color: #ff3f3f;
}

.color-protest {
	color: #ab7ed0;
}

/* Utils */
.spaceBetween {
	display: flex;
	justify-content: space-between;
}

.underline {
	text-decoration: underline;
}

/* Mention System */
.MessageHighlight {
	padding: 0 4px;
	color: white;
	background-color: #5eb6e0;
}

.MessageHighlightSimple {
	padding: 0 4px;
	color: white;
	background-color: grey;
}

.MentionUserLogo {
	width: 18px;
	height: 18px;
	margin-right: 10px;
}

.MentionAdminSpan {
	margin-right: 3px;
}

.tribute-container li {
	display: flex;
	line-height: 18px;
}
/* Mention System END */

a:hover,
a:visited,
a:focus,
a:visited {
	text-decoration: none;
}

.modal.modal-lg.box-shadow .modal-container {
	max-width: 960px;
	box-shadow: 0 0.2rem 0.5rem rgba(48, 55, 66, 0.3);
}

.modalheader {
	margin-left: -8px;
}

.link-trick {
	display: none;
}

a + .link-trick {
	display: block;
}

.ProtestBanner {
	position: fixed;
	top: 80px;
	z-index: 10;
	width: 100%;
	padding: 5px 0;
	background-color: #f99 !important;
}

#protestBannerContainer {
	position: sticky;
	top: 100px;
	z-index: 3;
}

.ProtestBannerTop {
	color: white;
	font-weight: bold;
	font-size: 20px;
	line-height: 36px;
	background-color: #ab7ed0;
}

#rightColumn.actions .column {
	display: flex;
	flex-direction: column;
	padding-right: 0;
	padding-left: 0;
}

#mapBanLive > .wrapper {
	margin-right: 0.4rem;
	margin-left: 0.4rem;
}

.mapban--ban-map {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.mapbanLive {
	display: flex;
	flex: 1 1 0;
	padding-right: 20px;
}

.mapban--ban-pic {
	margin-right: 20px;
}

@media (min-width: 601px) and (max-width: 1280px) {
	.showmatch--team:first-child,
	#teamonefiles,
	#voteAndPostGame {
		padding-right: 10px !important;
	}

	.showmatch--team ~ .showmatch--team,
	.postGameMaps,
	#teamtwofiles,
	#rightColumnContainer,
	#leftColumnContainer + .column {
		padding-left: 10px !important;
	}

	#rightColumn {
		position: relative;
	}

	.mapban--ban-map .mleft-20px {
		margin-left: 0;
	}

	.mapbanLive {
		max-width: fit-content;
		margin: 5px !important;
	}

	#mapBanLive > .wrapper {
		margin: -5px !important;
	}

	#mapBanLive > .wrapper .columns {
		margin: 0;
	}

	#mapBanLive > .wrapper .columns::after {
		flex: 1 0 auto;
		margin: 5px;
		content: '';
	}
}

@media only screen and (max-width: 1280px) {
	.MatchupContent {
		padding-right: 0.4rem !important;
		padding-left: 0.4rem !important;
	}

	.matchInfoHeader > div:first-child,
	.matchInfoHeader > div:last-child {
		order: -1;
	}

	.match--until-admin > :first-child {
		text-align: center;
	}

	.innerColumn {
		padding: 0 !important;
	}

	.match--report {
		flex-direction: row;
		order: -2;
		margin-bottom: 50px;
	}

	.match--write-comment {
		width: 100%;
	}

	.match--write-comment textarea {
		width: 100% !important;
	}

	.match--write-comment .commentPrenote {
		width: 100% !important;
		height: 116%;
	}

	.match--write-comment .MatchupchatProfileImage {
		margin-right: -10px;
	}

	.players-short-2 {
		padding-bottom: 0;
	}

	.teamFiles {
		margin-top: 2em;
		margin-bottom: 3em;
	}

	.button {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 42px !important;
		font-size: 1em;
		line-height: 1;
	}

	.modal .button {
		min-width: fit-content;
		padding: 5px;
	}

	.mapban > .header {
		margin-top: 0;
	}

	.mapbanLive img {
		width: 119px;
		height: 100px;
	}

	td.align-left {
		padding-right: 0 !important;
	}

	td.text-right {
		padding-left: 0 !important;
	}

	.player--DE::before {
		content: '🇩🇪';
	}

	.player--AT::before {
		content: '🇦🇹';
	}

	.player--CH::before {
		content: '🇨🇭';
	}

	.player--EU::before {
		content: '🇪🇺';
	}

	.player--countryCol,
	.player--countryTH,
	.player--country {
		display: none;
	}

	.showMatchTable col:first-child {
		width: 70% !important;
	}

	#Matchup-Comments {
		margin-top: 50px;
	}

	#mapBanLive > .wrapper {
		width: 100%;
	}

	.match--until-admin {
		position: absolute;
		top: 7.2em;
		left: 0;
		margin-left: -6px;
	}
}

@media (max-width: 600px) {
	#voteAndPostGame {
		height: auto !important;
		margin-top: 1em;
		margin-bottom: 2.1em;
	}

	.match--until-admin {
		top: unset;
		right: unset;
		bottom: -2.8em;
		left: -1.6em;
	}

	.showmatch--team:first-of-type,
	#teamonefilesContainer {
		order: -1;
	}

	.mapbanLive {
		flex: 1 0 auto;
		align-items: center;
		width: 100%;
		padding-right: 10px;
	}

	.mapbanLive img {
		width: 60px;
		height: 50px;
	}

	.mapban--ban-pic {
		display: flex;
	}

	.mapban--ban-map {
		flex-direction: row;
		align-items: center;
		width: 100%;
	}

	.mapBanText {
		margin: 0;
	}

	.mapban--ban-map > :first-child {
		flex: 1;
	}

	.matchInfoHeader > #rightColumnContainer {
		margin-top: 30px;
	}

	.mapContainer > div {
		display: flex;
		width: 100%;
	}

	.mapContainer .roundHeader {
		width: 12px;
		min-width: 12px;
		height: 84px;
	}

	.mapContainer .map.map {
		flex: 1;
		height: 84px;
		margin-right: 10px;
		margin-left: 10px;
	}

	.mapContainer > div > center {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.mapContainer .TeamBansMapLogo {
		margin-top: 0;
	}

	.mapban .mbot-30px {
		margin-bottom: 20px;
	}
}

#statsToggle:not(:checked) ~ .showmatch--team > .match--stats,
#statsToggle:checked ~ .showmatch--team > .teamPlayer {
	display: none;
}
