/***********************
** Tooltip engine CSS **
***********************/

/************
** General **
************/

.mmotooltip { /* Tooltip styling, outer div */
	background-color: #111122;
/*	background: rgba(17, 17, 31, 0.9); */
	border-top: 1px solid #ccc;
	border-right: 1px solid #777;
	border-bottom: 1px solid #777;
	border-left: 1px solid #ccc;
	color: #fff;
	float: left;
	font-family: Verdana,sans-serif;
	font-size: 13px;
	line-height: 17px;
	padding: 7px;
	text-align: left;
	z-index: 65000;
	-moz-border-radius: 0.55ex;
	-moz-box-shadow: black 1px 1px 5px;
	-webkit-box-shadow: black 1px 1px 5px;
	-webkit-border-radius: 0.55ex;
}

.mmotooltip>div>* {
	max-width: 23em;
	min-width: 10px;
}

.mmotooltip a, .mmotooltip a:link, .mmotooltip a:visited {
	color: inherit;
	text-decoration: none;
}
.mmotooltip a:hover {
	color: inherit;
	text-decoration: underline;
}

.tt-hover { /* Hover tooltip */
	background: rgba(17, 17, 34, 0.9);
	border: 1px solid rgba(187, 187, 187, 0.9);
	position: absolute;
/*	visibility: hidden; */
}
.tt-retrieving { /* Styling for the loading hover tooltip */
/*	pass; */
}

.tt-name {
	font-size: 110%;
	white-space: nowrap;
	max-width: none !important;
}
.tt-name a:hover {
	text-decoration: none;
}
.tt-nested .tt-name {
	font-size: 100%;
	padding-top: 1em;
}
.tt-nested .tt-name a:hover {
	text-decoration: underline;
}


/*************************
** Achievement tooltips **
*************************/

.tta-name {
	padding-bottom: 1em;
}
.tta-progress {
	color: #00ff00;
	padding-bottom: 1em;
}
.tta-objective {
	max-width: 31em;
	padding-bottom: 1em;
}
.tooltip .tta-criteria { /* gecko: .tta-criteria doesn't take prio */
	border-collapse: collapse;
	width: 100%;
	max-width: none;
}
.tta-criteria td {
	text-align: right;
	color: #808080;
}
.tta-criteria td:first-child {
	padding-right: 20px;
	text-align: left;
}


/*********************
** Enchant tooltips **
*********************/

.tte-name {
	color: #00ff00;
}
.tte-effects .tte-effect-use {
	color: #00ff00;
}


/**********************
** Creature tooltips **
**********************/

.ttc-name {
	color: #ffd200;
}

.ttc-type-1:after {
	content: " (Elite)";
}
.ttc-type-2:after {
	content: " (Rare-Elite)";
}
.ttc-type-3:after {
	content: " (Boss)";
}
.ttc-type-4:after {
	content: " (Rare)";
}

/******************
** Item tooltips **
******************/

.tt-nested .tt-item-extra,
.tt-hover .tt-item-extra {
	display: none !important;
}
.tt-nested .tti-sell_price {
	display: none;
}

.tti-heroic {
	color: #0f0;
}
.tti-quality {
	display: none;
}
.colorblind .tti-quality {
	display: block;
}
.tti-dmgmax1 {
	max-width: none !important;
}
.tti-speed {
	display: inline;
	float: right;
	margin-left: 2.8em;
}
.tti-subclass {
	display: none;
	float: right;
}
.cl2 .tti-subclass,
.cl4 .tti-subclass,
.cl6 .tti-subclass {
	display: inline;
}
.cl2.sc14 .tti-subclass,
.cl4.sc0 .tti-subclass {
	display: none;
}
.cl10 .tti-unique {
	display: none; /* Hide Unique amounts from currency */
}
.tti-lockpicking {
	color:#ff8040; /* TODO lock tooltips */
}

.cl6 .tti-speed,
.cl6 .tti-damage,
.cl6 .tti-dps { /* Projectiles don't show damage/speed/dps */
	display: none;
}
.tti-bonus_armor {
	color: #00ff00;
}
.tti-enchant {
	color: #00ff00;
}
.tti-chart {
	color: #00ff00;
}
.tti-socket_bonus {
	color: #9d9d9d;
}

.tti-race_class_requirements {
	max-width: none !important;
}

.tti-note {
	color: #ffd100;
}
.tt-item-teaches > .tti-note { /* The item teaches a spell. The note is used in the Learning field. */
	display: none;
}
.tti-spells > div:not(.tt-nested) {
	color: #00ff00;
}
.tti-spells a {
	white-space: pre-wrap;
}
.tti-spell-t0:before {
	content: "Use: ";
}
.tti-spell-t1:before {
	content: "Equip: ";
}
.tti-spell-t2:before {
	content: "Chance on Hit: ";
}
.tti-spell-t5:before {
/*	content: "Inventory: "; */ /* Not displayed ingame */
}
.tti-spell-t6:before {
	content: "Use: ";
}
.tt-item-teaches-creates .tti-spell-t6 {
	color: white !important; /* Learning "Use" lines are white in wow. Most likely a bug. */
}
.tti-spell-hidden {
	display: none;
	font-style: italic;
}
.tti-spell-hidden a:before {
	content: "<";
}
.tti-spell-hidden a:after {
	content: ">";
}

.tti-stat {
	max-width: none;
}

.tti-stat-special {
	color: #00ff00;
	max-width: none !important;
}

.tti-stat.inactive { /* +0 Stat (scalable items) */
	display: none;
}

.tti-random_enchantment {
	color: #00ff00;
}
.tti-open {
	color: #00ff00;
}
.tti-disenchantable {
	color: #88aaff;
}
.tti-notdisenchantable {
	color: #ff2020;
}

.tti-level {
	display: none;
}

.cl2 .tti-level, .cl4 .tti-level { /* Item Level is only displayed on armor/weapons */
	display: block;
}

.sl0 .tti-notdisenchantable, /* Not wearable */
.sl18 .tti-notdisenchantable, /* Bag */
.sl24 .tti-notdisenchantable /* Projectile */ {
	display: none;
}
.tt-item-q0 .tti-notdisenchantable,
.tt-item-q1 .tti-notdisenchantable {
	display: none;
}

.tt-item-spell-reagents {
	color: white !important;
	padding-top: 1em;
}


/**********************
** Item set tooltips **
**********************/

.ttis-name {
	color: #ffd200 !important;
}
.ttis-items {
	padding: 0px 0px 12px 10px;
	color: #808080;
	list-style-type: none;
	margin: 0px;
}
.ttis-items .active {
	color: #ffff97;
}
.ttis-bonuses {
	color: #808080;
	list-style-type: none;
	margin: 0px;
	padding-left: 0px;
}
.ttis-bonuses .active {
	color: #00ff00;
}
.ttis-item-inactive {
}


/*******************
** Quest tooltips **
*******************/

.ttq-name {
	padding-bottom: 1em;
	color: #ffd200;
}

.ttq-objective {
	padding-bottom: 1em;
}

.ttq-requirements:before { /* Requirements: */
	content: "Requirements:";
	color: #ffd200;
}
.ttq-requirements {
	list-style: none;
	padding: 0px;
	margin: 0px;
}
.ttq-requirements li:before {
	content: "- ";
}


/*******************
** Spell tooltips **
*******************/

.tts-name {
/*	pass; */
}
.tts-rank {
	color: #9d9d9d;
	float: right;
}
.tts-spell_text {
	color: #ffd200;
	white-space: pre-wrap;
}
.tts-range, .tts-cooldown {
	float: right;
	padding-left: 2.8em;
}
.tt-spell-cooldown .tts-range {
	float: none; /* Don't float if cast and cooldowns are shown */
	padding: 0;
}

/* Spelltext parser */

.macro {
	color: #0f0 !important;
}

.learned-s {
	color: #0f0 !important;
	font-size: xx-small;
}
.learned-s1 {
	color: #aaa;
}
.learned-s2 {
	color: #f33;
}

/************************
** Spell buff tooltips **
************************/

.ttb-name {
	color: #ffd200; /* TODO doublecheck */
}
.ttb-dispeltype {
	float: right;
	padding-left: 3em;
}
.ttb-descr {
	white-space: pre-wrap;
}
.ttb-duration {
	color: #ffd200;
}


/*********
** Misc **
*********/

.ttf-description,
.tth-description,
.ttskill-description {
	color: #ffd100;
}

/************
** wow.css **
*************/

/* Item quality levels */
.q0 { /* Poor */
	color:#9d9d9d;
}
.q1 {  /* Common */
	color:#ffffff;
}
.q2 { /* Uncommon */
	color:#1eff00;
}
.q3 { /* Rare */
	color:#0080ff;
}
.q4 { /* Epic */
	color:#b048f8;
}
.q5 { /* Legendary */
	color:#ff8000;
}
.q6 { /* Artifact */
	color:#e5cc80;
}
.q7 { /* Heirloom */
	color:#e5cc80;
}

.d0 {
	color:#808080;
}
.d1 {
	color:#40bf40;
}
.d2 {
	color:#ffff00;
}
.d3 { /* Orange: Very hard */
	color:#ff8040;
}
.d4 { /* Red: Impossible */
	color:#ff0000;
}

.c0 {
	color:#ffd100;
}
.c1 {
	color:#ff0000;
}

.g {
	background-image: url(http://db.mmo-champion.com/static/img/g.png);
}
.s {
	background-image: url(http://db.mmo-champion.com/static/img/s.png);
}
.c {
	background-image: url(http://db.mmo-champion.com/static/img/c.png);
}

.socket {
	background-repeat: no-repeat;
	color: #9d9d9d;
	padding-left: 20px;
}
.socket-meta {
	background-image: url(http://db.mmo-champion.com/static/img/s-meta.png);
}
.socket-red {
	background-image: url(http://db.mmo-champion.com/static/img/s-red.png);
}
.socket-yellow {
	background-image: url(http://db.mmo-champion.com/static/img/s-yellow.png);
}
.socket-blue {
	background-image: url(http://db.mmo-champion.com/static/img/s-blue.png);
}
.socket-prismatic {
	background-image: url(http://db.mmo-champion.com/static/img/s-prismatic.png);
}

.price span {
	background-position: right bottom;
	background-repeat: no-repeat;
}

.price .hidden {
	visibility: hidden;
	padding-right: 10px;
}

.iconinline {
	margin-right: 4px;
}


