/**
 *
 * Elite Extension. An extension for the phpBB Forum Software package.
 *
 * @copyright (c) 2019, Dark❶ [dark1], https://release-apk.com
 * @license CopyRight (C) 2019 - ForEver by Dark❶ [dark1]
 *
 */

.eliteType {
	font-family: "Helvetica", sans-serif;
	position: absolute;
	top: 50%;
	left: 50%;
	overflow: hidden;
	display: contents;
	text-transform: none;
}

.eliteBar {
	display: inline-block;
	position: absolute;
	z-index: 1;
	background: #fff;
	width: 24px;
	height: 10px;
	border-radius: 3px;
	top: 2px;
	left: 2px;
	border-color: #fff;
}

.elite {
	display: inline-block;
	position: relative;
	width: 26px;
	height: 14px;
	background: #8000FF;
	border-radius: 3px;
	padding: 0 2px 0 0;
	vertical-align: text-bottom;
}
.elite:before,
.elite:after {
	position: absolute;
	line-height: 15px;
	font-size: 7px;
	z-index: 2;
	font-weight: bold;
}
.elite:before {
	content: "Elite";
	left: 6px;
	color: #8000FF;
}
.elite:after {
	content: "";
	right: 0px;
	color: #fff;
}



.dark .elite {
	background: #00000080;
}
.dark .elite:before {
	color: #000;
}
.dark .elite:after {
	color: #fff;
}



.x2 .eliteBar {
	width: 48px;
	height: 20px;
	border-radius: 6px;
	top: 4px;
	left: 4px;
}
.x2 .elite {
	width: 52px;
	height: 28px;
	border-radius: 6px;
	padding: 0 4px 0 0;
}
.x2 .elite:before,
.x2 .elite:after {
	line-height: 30px;
	font-size: 14px;
}
.x2 .elite:before {
	left: 12px;
}
.x2 .elite:after {
	right: 0px;
}



.topic .elite {
	width: 49px;
}
.topic .elite:after {
	content: "Topic";
	right: 4px;
}
.topic.x2 .elite {
	width: 98px;
}
.topic.x2 .elite:after {
	right: 8px;
}



/* Ban */
.e-u-ban .elite {
	width: 44px;
}
.e-u-ban .elite:after {
	content: "Ban";
	right: 4px;
}

/* User */
.e-u-user .elite {
	width: 46px;
}
.e-u-user .elite:after {
	content: "User";
	right: 4px;
}

/* Pro */
.e-u-pro .elite {
	width: 43px;
}
.e-u-pro .elite:after {
	content: "Pro";
	right: 4px;
}

/* Noble */
.e-u-noble .elite {
	width: 51px;
}
.e-u-noble .elite:after {
	content: "Noble";
	right: 4px;
}

/* Prime */
.e-u-prime .elite {
	width: 51px;
}
.e-u-prime .elite:after {
	content: "Prime";
	right: 4px;
}



/* Adept */
.e-u-adept .elite {
	width: 52px;
}
.e-u-adept .elite:after {
	content: "Adept";
	right: 4px;
}

/* Magus */
.e-u-magus .elite {
	width: 54px;
}
.e-u-magus .elite:after {
	content: "Magus";
	right: 4px;
}

/* Arch */
.e-u-arch .elite {
	width: 48px;
}
.e-u-arch .elite:after {
	content: "Arch";
	right: 4px;
}

/* More Info Links */
.elite_rule {
	color: #FF0000;
}
.elite_info {
	color: #00FF00;
}
.elite_topic {
	color: #8000FF;
}


/* [hidden] hide BBCode */
.hidebox.hidebox_elite {
	background-color: #ddbbff;
	border: 1px solid #8040FF;
	padding: 39px 19px 75px;
}
.hidebox_title.hidebox_elite {
	border: 1px solid #8040FF;
	color: #5500AA;
}
.hidebox_title.hidebox_elite.hidebox_elite_info {
	border-radius: 0 4px;
	bottom: -1px;
	top: unset;
}
.hidebox_title.hidebox_elite.hidebox_elite_info > b.elite_rule {
	color: #AA0000;
}
.hidebox_title.hidebox_elite.hidebox_elite_info > b.elite_info {
	color: #00AA00;
}
.hidebox_title.hidebox_elite.hidebox_elite_info > b.elite_topic {
	color: #0000AA;
}
.hidebox_visible.hidebox_elite {
	color: #5500AA;
}



/* Adjustments */

.section-posting .elite {
	vertical-align: middle;
}

/* Topic Chart */
.elite-chart-container {
	position: relative;
	height:auto;
	width:99%
}
.elite-chart-container canvas {
	max-height: 500px;
	min-height: 300px;
	min-width: 600px;
}

/* Reward */
span.elite-reward-flex {
	display:flex;
	position: relative;
}
span.elite-reward-flex > svg {
	display:inline-flex;
}
span.elite-reward-flex > span.elite-reward-text {
	display:inline-flex;
	/*margin: 4% 0px;*/
	position: absolute;
	left: 70px;
	top: 20px;
}
span.elite-reward-flex > span.elite-reward-rem {
	/*margin: 8% 0px;*/
	top: 68px;
}
span.elite-reward-3dots {
	margin: 2px 0px;
}

/* Elite Credit */
span.elite-credit {
	float: right !important;
}
