/* Version 1.1 */

/* Heading Style for creating a destinct heading */

/*____________________________________________________
  Styles
  ____________________________________________________
*/
.fightImage {
    display: inline-table; border:1px solid grey; width: 50px; height: 50px;
}
.fightPlayer {
    height: 52px;
    width: 100%;
    float: left;
    display: inline-table;
    max-width: 320px;
}
.fightPlayer2 {
    max-width: 320px;
}
.fightPlayer3 {
    max-width: 200px;
}
.fightPlayer4 {
    max-width: 139px;
}
.sliderGallery {
    background: url(/images/pod_bg_alt.jpg);
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    border-bottom: 1px #444 solid;
    border-right: 1px #444 solid;
    overflow: hidden;
    position: relative;
    padding: 10px 5px;
    /*height: 158px;*/
    height: 85px;
}

.sliderGallery.short {
    height: 60px;
}

.sliderGallery.large {
    height: 140px;
}

.sliderGallery ul {
    position: absolute;
    list-style: none;
    overflow: hidden;
    white-space: nowrap;
    padding: 0;
    margin: 0;

}

.sliderGallery ul li {
    display: inline;
    float: left;
    /*margin: 0 5px;*/
}

.sliderGallery .shade {
    background: black;
    width: 100%;
    height: 178px;
    text-align: center;
    line-height: 178px;
    position: absolute;
    top: 0;
    left: 0;
    filter: alpha(opacity=65);
    -moz-opacity: 0.65;
    opacity: 0.65;
}

.slider {
    height: 17px;
    margin: 140px 5px 0 5px;
    padding: 2px 0px;
    position: relative;
    background: #111;
    cursor: pointer;
}

.slider .handle {
    position: absolute;
    cursor: move;
    height: 18px;
    width: 304.65px;
    top: 1;
    padding: 0 1px 0 2px;
}

.slider .handle em {
    display: block;
    float: left;
    height: 17px;
    width: 294.65px;
    background: url(/images/buttons/scroll_handle.gif) right top no-repeat;
}

.slider .handle b {
    display: block;
    height: 17px;
    width: 10px;
    float: left;
    background: url(/images/buttons/scroll_handle.gif) left top no-repeat;
}

.slider a {
    outline: none;
}

label[title]:hover:after {
    content: attr(title);
    position: absolute;
    top: -5px;
    left: 0;
    /*border: 1px solid red;*/
}

.button-capitalize {
    font-size: xx-small;vertical-align: text-bottom;margin-top: 1px; text-transform: uppercase;
}

.heading_Large {
	color: #C6BB96;
	font-size: 25px;
	line-height: 120%;
	margin-top: 0px;
	margin-bottom: -10px;
	font-family:Arial, Helvetica, sans-serif;
}

.heading_Medium ,h1{
	color: #C6BB96;
	font-size: 18px;
	line-height: 120%;
	/*margin-bottom: -10px;*/
}
.packs {
    padding-left: 35px;
    margin-left: -10px;
    margin-bottom: 10px;
    height: 20px;
    background: url(/images/icon_packs.gif) no-repeat left;
}
.newsScroll {
    padding-left: 30px;
    margin-left: 0;
    padding-top: 0;
    margin-top: 0;
    height: 20px;
    background: url(/images/newsScroll.gif) no-repeat left;
}

.comments {
    padding-left: 30px;
    margin-bottom: 10px;
    height: 20px;
    background: url(/images/icon_comment.gif) no-repeat left;
}

.allies {
    padding-left: 30px;
    padding-bottom: 10px;
    margin-right: 20px;
    height: 15px;
    background: url(/images/icon_ally.gif) no-repeat;
}
.rivals {
    padding-left: 30px;
    padding-bottom: 10px;
    margin-right: 20px;
    height: 15px;
    background: url(/images/icon_rival.gif) no-repeat;
}
.heading_Small ,h2 ,h3 {
	font-size: 16px;
	color: #C6BB96;
}
.a {
    text-decoration: none;
}
.subHeading_Small {
	color: #999999;
}

.subHeading_Medium {
	color: #999999;
	font-size: 16px;
	line-height: 140%;
}

.smallText{
	font-size:12px;
}
.tanText{
	color: #C6BB96;
}
.tanText a:link, .tanText a:visited{
	color: #C6BB96;
}
.greyText{
	color: #999999;
}
.greyText a:link, .greyText a:visited{
	color: #999999;
}
.odd TD {
	background: url(/images/pod_bg_alt.jpg);
}
#tabContent .odd TD {
	background: url(/images/pod_bg.jpg);
}
.read TD, .read TD A {
	color: #999;
	font-size: 0.95em;
	font-weight: 0 !important;
}
.unread TD, .unread TD A {
	font-weight: bold !important;
}
.read TD A:hover {
	color: #c00;
}
UL.badges, UL.badges LI {
	list-style: none;
	margin: 0;
	padding: 0;
	line-height: 0;
}
UL.badges LI {
	float: left;
	padding-right: 2px;
	padding-bottom: 2px;
}
UL.badges LI IMG {
	width: 40px;
	height: 10px;
}
/*____________________________________________________
  Borders and Dividers
  ____________________________________________________
*/
.avatarImage{
	border: 1px solid #C6BB96;
}
.dimRets0{
	border: 2px solid #CCCCCC;
}
.dimRets1{
	border: 2px solid #FFFF1A;
}
.dimRets2{
	border: 2px solid #FF6600;
}
.dimRets3{
	border: 2px solid #FF0000;
}
.selectedLevel{
	border-bottom: 3px double #FF0000;
}
.deselectedLevel{
	border-bottom: 3px double #FFFFFF;
}

.bevelBorder{
	display: inline;
	border-top: 1px solid #000;
	border-left: 1px solid #000;
	border-bottom: 1px #444 solid;
	border-right: 1px #444 solid;
	background: url(/images/pod_bg_alt.jpg);
}

.bottomDivider{
	border-top: 1px solid #000;
	border-bottom: 1px #444 solid;
	margin-bottom: 6px;
	margin-top: 5px;
	background: url(/images/pod_bg_alt.jpg);
}

.titleDivider{
	padding: 3px;
	border-top: 1px solid #000;
	border-left: 1px solid #000;
	border-bottom: 1px #444 solid;
	border-right: 1px #444 solid;
	margin-bottom: 6px;
	margin-top: 5px;
	background: url(/images/pod_bg_alt.jpg);
}

.titleDividerLong{
	padding: 3px;
	border-top: 1px solid #000;
	border-left: 1px solid #000;
	border-bottom: 1px #444 solid;
	border-right: 1px #444 solid;
	margin-bottom: 6px;
	margin-top: 5px;
	background: url(/images/pod_bg_long.jpg);
}

.topDivider{
	padding-top: 5px;
	padding-bottom: 10px;
	border-top: 1px #cccccc solid;
}
/*____________________________________________________
  Expandable Text
  ____________________________________________________
*/
.expand{
	font-weight:bold;
	color: #FFFFFF;
	padding-left: 30px;
	padding-bottom: 10px;
	margin-right: 20px;
    margin-bottom: 10px;
	height: 20px;
	text-decoration:none;
	cursor:pointer;
	background: url(/images/button_plus.gif) no-repeat;
}
.collapse{
	font-weight:bold;
	color: #999999;
	padding-left: 30px;
	padding-bottom: 10px;
	margin-right: 20px;
    margin-bottom: 10px;
	height: 20px;
	text-decoration:none;
	cursor:pointer;
	background: url(/images/button_minus.gif) no-repeat;
    display: block !important;
}
.expandContent{
	padding: 20px;
	padding-left: 50px;
	margin-bottom: 15px;
	background: #222;
	border: 1px solid #000;
}
/*____________________________________________________
  Chat
  ____________________________________________________
*/
#chatAvatar{
	width: 50px;
	border-top: 1px solid #000;
	border-left: 1px solid #000;
	border-bottom: 1px #444 solid;
	border-right: 1px #444 solid;
	margin-right: 10px;

}
#chatMessage{
	width: 550px;
	padding: 10px;
	padding-top:5px;
	margin-bottom: 15px;
	border: 1px solid #000;
	background: url(/images/pod_bg_dark.jpg);
}

/*____________________________________________________
  Form Elements
  ____________________________________________________
*/

form { display: inline; margin: 0; }

.req { background: #FFCCCC; border: #CC0000 1px solid; }

.inputField {
	padding: 2px;
	margin-bottom: 5px;
	background: #000;
	border: #444 1px solid;
	border-top: #222 1px solid;
	border-left: #222 1px solid;
	color: #FFF;
}

.attention {color: #E70000;}
/*____________________________________________________
  Items
  ____________________________________________________
*/
/*Grey*/
.q0 {
	color: #9d9d9d;
	text-decoration: none;
}
/*White*/
.q1 {
	color: #fff;
	text-decoration: none;
}
/*Green*/
.q2 {
	color: #1eff00;
	text-decoration: none;
}
/*Blue*/
.q3 {
	color: #0070dd;
	text-decoration: none;
}
/*Purple*/
.q4 {
	color: #a335ee;
	text-decoration: none;
}
/*Orange*/
.q5 {
	color: #ff8000;
	text-decoration: none;
}
/*Gold*/
.q6 {
	color: #e5cc80;
	text-decoration: none;
}
/*Red*/
.q7 {
    color: #ff4040;
    text-decoration: none;
}
/*Yellow*/
.q8 {
    color: #ffff98;
    text-decoration: none;
}
/*Light blue */
.q9 {
    color: #71d5ff;
    text-decoration: none;
}
.info_item, .info_item_live {
	font: 12px;
	/*border: 1px solid #a9a9a9;*/
	padding: 4px;
	background-color: #000000;
	/*-moz-border-radius: 4px;*/
	min-width: 150px;
	max-width: 250px;
}
.info_over {
	position: absolute;
	top : -1000px;
	left: -1000px;
	text-align:left;
}
.info_itemt, .info_itemt TD, .info_item TH  {
	font: 12px arial,sans-serif;
	color: white;
}
.info_rttxt {
	position: absolute;
	text-align: right;
	right: 3px;
	top: inherit;
}
.info_item .plain { font-size:1.2em; }

.idTooltip, .info_over {
	background:transparent url(/images/white10.png);
	margin:0px;
	padding:4px;
	_padding:1px;
	z-index:10;
}

.idTooltip .inner, .info_item, .info_item_live {
	background:transparent url(/images/dark90.png);
	color:snow;
	padding:3px 6px;
	margin:0px;
}

.idTooltip p {
	margin:0;
	padding:0;
}

.duels_quote { color:#4c4; }

/*____________________________________________________
  Pods
  ____________________________________________________
*/
.pod{
	float: left;
	background: URL(/images/pod_bg.jpg) repeat;
	border: 1px solid #000;
}
.podContent{
	padding-top: 15px;
	padding-bottom: 10px;
	padding-left: 15px;
	padding-right: 15px;
}
.podDivider{
	height: 40px;
	padding: 10px;
	/*margin-bottom: -17px;*/
	font-size: 16px;
	background: URL(/images/pod_divider_bg.jpg) repeat-x;
}
.podDivider img{
	margin-top: -7px;
	margin-right: -4px;
}
.podDark{
	background: url(/images/pod_bg_dark.jpg);
}
.podAltRow{
	background: url(/images/pod_bg_alt.jpg);
}
/*____________________________________________________
  Tabs
  ____________________________________________________
*/
#tabHolder{
	border-bottom: #111 1px solid;
	border-left: #333 1px solid;
	margin-bottom: 10px;
}
#tabContent{
	background: url(/images/pod_bg_dark.jpg) repeat;
	padding: 20px;
}
/*#tabTabs{*/
/*	font-size: 14px;*/
/*	width: 100%;*/
/*	min-width: 100%;*/
/*	background: transparent url(/images/shadowup.png) repeat-x right bottom;*/
/*	display: inline-block;*/
/*}*/
#tabTabs:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
html[xmlns] #tabTabs {
	display: block;
}
* html #tabTabs {
	height: 1%;
}
.tabUp{
	color: #C6BB96;
	position: relative;
	float: left;
	background: transparent url(/images/tab_up_bg.gif) repeat-x right top;
	padding-bottom: 9px;
	padding-top: 5px;
	padding-right: 20px;
	padding-left: 20px;
	border-left: #333 1px solid;
	cursor: default;
}
.tabDown{
	cursor: pointer;
	color: #C6BB96;
	position: relative;
	float: left;
	background: transparent url(/images/tab_down_bg.gif) repeat-x right top;
	padding-bottom: 9px;
	padding-top: 5px;
	padding-right: 20px;
	padding-left: 20px;
	border-left: #000 1px solid;
}
.visible{
	display: block;
}
.hidden{
	display: none;
}

/*____________________________________________________
  XP Level Status Bar
  ____________________________________________________
*/
.progressbar {
	width: 145px;
	height: 20px;
}
.progressbar .box {
	position: relative;
	border: 1px solid black;
	background: black url(/images/progressbar_bg.gif) left bottom;
	text-align: left;
	z-index: 1;
}
.progressbar .frozen {
	border: 1px solid #069;
}
.progressbar .box img {
	height: 18px;
	border: 0;
}
.progressbar .text, .progressbar .shadow1, .progressbar .shadow2, .progressbar .shadow3, .progressbar .shadow4 {
	display: block;
	width: 145px;
	height: 20px;
	text-align: center;
	color: white;
	font-size: 12px;
	line-height: 20px;
	font-weight: bold;
	position: relative;
	top: -20px;
	z-index: 3;
}
.progressbar .hover, .progressbar .level {
	text-decoration: none !important;
}
.progressbar .level {
	cursor: pointer;
}
.progressbar .shadow1, .progressbar .shadow2, .progressbar .shadow3, .progressbar .shadow4 {
	z-index: 2;
	top: -40px;
	color: black;
	left: -1px;
}
.progressbar .shadow2 {
	top: -60px;
	left: 1px;
}
.progressbar .shadow3 {
	top: -79px;
}
.progressbar .shadow4 {
	top: -101px;
}
.progressbar .text .xp, .progressbar .shadow1 .xp, .progressbar .shadow2 .xp, .progressbar .shadow3 .xp, .progressbar .shadow4 .xp {
	display: none;
}
.progressbar .hover:hover {
	cursor: default;
}
.progressbar .hover:hover .text .level, .progressbar .hover:hover .shadow1 .level, .progressbar .hover:hover .shadow2 .level, .progressbar .hover:hover .shadow3 .level, .progressbar .hover:hover .shadow4 .level {
	display: none;
}
.progressbar .hover:hover .text .xp, .progressbar .hover:hover .shadow1 .xp, .progressbar .hover:hover .shadow2 .xp, .progressbar .hover:hover .shadow3 .xp, .progressbar .hover:hover .shadow4 .xp {
	display: inline;
}

/*____________________________________________________
  Old Styles
  ____________________________________________________
*/
.skillDesc {
	font-size:12px;
	color:#FFFFFF;
}
.skillTitle {
	font-size:16px;
	color:#3D8BFF;
	margin-bottom:10px
}
.inactiveSkill {
	background-color:#CCCCCC;
	text-align:center;
}
.error_message {
	color: #FF0000;
}
.rival {
	color: #3D8BFF;
}
.friend {
	color: #66FF00;
}
.attribute_text {
	color: #006699;
}
.elven_legends {
	color: #8FFF1F;
}
.victory {
	color: #009900;
	font-weight: bold;
	text-align: center;
}
.defeat {
	color: #FF0000;
	font-weight: bold;
	text-align: center;
}
.pending {
    color: #2b9edd;
    font-weight: bold;
    text-align: center;
}
.midTitle {
	color: #999999;
	font-weight: bold;
}
.marketplace {
	color: #FF8000;
}
.marketplace1 {
	color: #FFCC99;
	font-size: 13px;
	margin-left: 10px;
}
.searchInner{
	background: url(/images/pod_bg_dark.jpg);
	color:#B30000;
}
.searchOuter{

}
.avatarsOuter{
	width:100%;
}
.boxRedHdr{
	color:#300205;
	font-weight:bold;
}
/* -- end of boxes -- */

.headlineBox {
	border: 2px;
	border-color: #000000;
	border-style: solid;
}
.headlineInnerBox {
	color: #000000;
	font-weight:bold;
	border: 2px;
	border-color: #CCCCCC;
	border-style: solid;
	padding: 3px;
	background-color: #FFFFFF;
}
.headlineUnder {
	border-bottom: 1px;
	border-top: 0px;
	border-left: 0px;
	border-right: 0px;
	border-style: solid;
	border-color: #C77826;
	padding: 3px;
}
.resultsBox {
	width:380px;
	color:#000000;
	border: 3px;
	border-color: #000000;
	border-style: solid;
	background-color: #FFFFFF;
	padding:5px;
}
.award {
	margin-left: 10px;
}
.floatRight {
	float: right;
	text-align: right;
}
.floatLeft {
	float: left;
	text-align: left;
}
.floatClear {
	clear: both;
}
.pageleft {
	background-image: url(/images/bkg_pg_left.jpg);
	background-repeat: no-repeat;
	background-position: right top;
}
.pageright {
	background-image: url(/images/bkg_pg_right.jpg);
	background-repeat: no-repeat;
	background-position: left top;
}

.more {
	margin-top:5px;
	margin-right:20px;
	float:right;
}

.text {
	font-size: 14px;
	color: #D3CB78;
}
.intro {
	margin-left: 50px;
	margin-bottom: 20px;
	font-size: 16px;
}
.set_text {
	font-size: 14px;
	color: #D8DBF3;
}
.slot_text {
	font-size: 14px;
	color: #00A3A3;
}
.pwr_text {
	font-size: 14px;
	color: #660066;
}
.flash {
	margin-top: 50px;
}
.formField {
	font-size: 16px;
	color: #00994D;
}
.text:link {
	font-size: 14px;
	color: #F0E9D1;
	text-decoration: underline;
}
.text:visited {
	font-size: 14px;
	color: #F0E9D1;
	text-decoration: underline;
}
.dropcap {
	float: inherit;
	color: #994D00;
	margin-right: 3px;
	font-size: 18pt;
	font-style: normal;
	line-height: 0.8em;
	font-weight: normal;
	font-variant: normal;
}
.stat_white {
	font-size: 14px;
	color: #F0E9D1;
	font-weight: bold;
	line-height: 18px;
}
.stat_gold {
	font-size: 14px;
	color: #D3CB78;
	font-weight: bold;
	line-height: 18px;
}
.stat_green {
	font-size: 14px;
	color: #118E10;
	line-height: 18px;
	font-weight: bold;
}
.stat_blue {
	font-size: 14px;
	color: #474A9A;
	line-height: 18px;
	font-weight: bold;
}
.stat_red {
	font-size: 14px;
	color: #BE3026;
	line-height: 18px;
	font-weight: bold;
}
.message {
	font-size: 12px;
	color: #D3CB78;
	font-weight: bold;
}
.message:link {
	font-size: 14px;
	color: #F0E9D1;
	font-weight: bold;
}
.olive {
	font-size: 10px;
	color: #D3CB78;
}
.olive:link {
	font-size: 10px;
	color: #F0E9D1;
}
.button_gold {
	color: yellow;
	font-size: 13px;
	font-weight: bold;
	text-decoration: none;
	background-image: url(/images/button_gold.gif);
	background-repeat: repeat-x;
	display: block;
	background-position: center;
	height: 20px;
	text-align: center;
	width: 80px;
	vertical-align: middle;
	border: 1px solid yellow;
}
.button_gold:hover {
	color: #FFFFFF;
	text-decoration: none;
	border: 1px solid #FFFFFF;
}
input.button {
	background-color : #EFEFEF;
	color : #000000;
	font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;
}
.button_medium, .button_medium_disabled {
	width: 100px;
	height: 26px;
	background: darkRed url(/images/buttons/bg_button_medium.png) 0px 0px no-repeat;
    display: flex;
    justify-content: center;
    padding-top: 3px;
}
.button_medium:hover {
	background-position: 0px -26px;
}
.button_medium_disabled {
    color: #ccc;
	background-position: 0px -52px;
}
.button_small, .button_small_disabled {
	width: 69px;
	height: 26px;
	background: darkRed url(/images/buttons/bg_button_small.png) 0px 0px no-repeat;
}
.button_small:hover {
	background-position: 0px -26px;
}
.button_small_disabled {
	background-position: 0px -52px;
}
.imageborderfloat {
	border:solid 1px #D3CB78;
	padding:5px;
	margin-right:10px;
}
.headline {
	font-size: 24px;
	color: #D3CB78;
	font-weight: bold;
	padding-top: 8px;
}
.gensmall { font-size : 10px; }
.nest1 {
	margin-left:7px;
}
/* The Armory */
.salesHdr {
	color: #000;
	border:1px solid #385D8A;
	font-weight: bold;
	text-align:center;
	background-color:#CCCCCC;
	margin-top:3px;
	margin-left:5px;
	margin-right:5px;
	margin-bottom:5px;
}
.salesBox {
	border:1px solid #385D8A;
	margin:5px;
	float:left;
	width:200px;
	background-color:#160D13;
}
.salesItems {
	margin-left:5px;
	margin-bottom:5px;
}
.centeredImage {
	float:none;
	clear:both;
	margin-top:1em;
}
.centeredImage img {
	float:left;
	margin-right:1em;
}
.skillBox {
	border:1px solid #385D8A;
	margin:5px;
	float:left;
	background-color:#160D13;
}
.stat_text_mod {
	color: #1A9900;
}

.unselected input, .selected input {
	display: none;
}
.unselected, .selected, .unselectable {
	float: left;
	margin: 0 5px 5px 0;
}
.unselected {
	border: 1px solid #2F2F2F;
	cursor: pointer;
}
.unselectable {
	border: 1px solid #2F2F2F;
	cursor: no-drop
}
.unselected:hover {
	background: url(/images/pod_bg.jpg) #2F2F2F;
	border: 1px solid darkred;
}
.unselected .image, .selected .image, .unselectable .image {
	text-align: center;
	padding: 2px;
	width: 70px;
	height: 70px;
	display: table-cell;
	vertical-align: middle;
}
.unselected img, .selected img, .unselectable img {
	max-width: 64px;
	max-height: 64px;
}
.selected {
	background: darkred;
	border: 1px solid black;
}
.unselected .caption, .selected .caption, .unselectable .caption {
	text-align: center;
	margin: 0 0;
}
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
.clearfix {
	display: inline-block;
}
html[xmlns] .clearfix {
	display: block;
}
* html .clearfix {
	height: 1%;
}
.outfits .unselected, .outfits .selected, .outfits .unselectable {
	float: none;
	padding: 2px;
	line-height: 24px;
}
.outfits .caption {
	text-align: left;
	float: left;
	padding-left: 23px;
}
.outfits .selected .caption {
	background-image: url(/images/icon_sm_challenge.gif);
	background-repeat: no-repeat;
	background-position: 3px center;
	cursor: default;
}
.outfits .images {
	float: right;
	margin-top: -3px;
}
.outfits .images img {
	width: 24px;
	height: 24px;
	margin-right: 3px;
	margin-top: 3px;
}

.action_detail {
	margin-top: 5px;
	border-top: 1px solid #000;
	border-left: 1px solid #000;
	border-bottom: 1px #444 solid;
	border-right: 1px #444 solid;
	background: url(/images/pod_bg_alt.jpg);
	height: 275px;
}
.action_spell {
	/* 213 x 186 - 42 x 42 */
	margin: 44.5px 0 0 18.5px;
	text-align: left;
	width: 173px;
	height: 131px;
	padding: 45px 0 0 40px;
	background: url(/images/skills/spellbook_open.png) no-repeat left top;
}
.action_plan {
	/* 233 x 226 - 42 x 42 */
	margin: 41px 0 0 8px;
	width: 208px;
	height: 181px;
	padding: 45px 0 0 25px;
	background: url(/images/skills/plan_open.png) no-repeat left top;
}
.action_page {
	/* 118 x 165 - 42 x 42 */
	margin: 53.5px 0 0 66px;
	width: 80px;
	height: 115px;
	padding: 50px 0 0 38px;
	background: url(/images/skills/page.png) no-repeat left top;
}

tr.selectedRow td {
	border: 1px solid black; border-left: 0; border-right: 0;
	background: darkRed;
}
tr.selectedRow td.first {
	border-left: 1px solid black;
}
tr.selectedRow td.last {
	border-right: 1px solid black;
}

tr.inactiveRow td, tr.inactiveRow td a:link, tr.inactiveRow td a:visited {
	color: #999999;
}

.shade {
	filter:alpha(opacity=15);
	-moz-opacity:0.15;
	opacity: 0.15;
}
html:first-child wbr:after { content: "\00200B" }

.unselectable .caption {
	background-image: url(/images/cancel.gif);
	background-repeat: no-repeat;
	background-position: 3px center;
}

div.avatarthumb {
	height:50px;
	position:relative;
	width:50px;
}

div.avatarthumb .path {
	height:16px;
	left:42px;
	position:absolute;
	top:42px;
	width:16px;
}

/* TOP BAR */
#top_bar{
	height:20px;
	background:#000 url(/images/top_bar_bg.png) no-repeat center;
	text-align: center;
}
#top_bar_links{
	position:relative;
	/*width:980px;*/
	text-align:right;
	color:#666;
	font-size:10px;
	text-transform:uppercase;
	padding:3px 0 0 0;
	line-height: 1.2em;
	font-family:Verdana,Arial,Tahoma,Sans-Serif,System;
	margin: 0 auto;
}
#top_bar_links a{
	color:#fff;
	text-decoration:none;
}
#top_bar_links a:hover{
	color:#FFBB1B;
	text-decoration:underline;
}
#top_bar_links a:hover em {
	text-decoration: underline; color:#FFBB1B;
}
#top_bar_links a img {
	vertical-align:bottom;
}
#top_bar_links em {
	font-style: normal;
}
#top_bar_links .challenge, #top_bar_links .challenge_over {
	font-weight: normal;
}
#top_bar_links .challenge img, #top_bar_links .challenge_over img {
	margin:0 5px 0 5px;
}
#top_bar_links .challenge a:hover, #top_bar_links .challenge_over a:hover {
	text-decoration: none; color: white;
}
#top_bar_links .challenge, #top_bar_links .challenge_over {
	position: relative;
}
#top_bar_links .challenge ul {
	display: none;
}
#top_bar_links .challenge_over ul {
	display: block;
}
#top_bar_links .challenge ul, #top_bar_links .challenge_over ul {
	position: absolute;
	top: 12px;
	left: 0;
	list-style: none;
	margin: 0;
	padding: 3px 0;
	z-index: 1000;
	width: 100%;
	text-align: left;
	background: #000 url(/images/dropdown_bg.gif) repeat-y 0 0;
}
#top_bar_links .challenge ul li, #top_bar_links .challenge_over ul li {
	top: auto;
	left: auto;
	/* float/border von "#header ul li" zurücksetzen, sonst schweben die
	   Sprach-Eintraege nebeneinander statt untereinander (Bevel-Regel der
	   horizontalen Top-Nav greift sonst auch hier). */
	float: none;
	padding: 5px 5px 5px 0px;
	border-left: none;
	border-right: none;
	list-style-image: none;
}
#top_bar_links .challenge ul li a, #top_bar_links .challenge_over ul li a {
	display: block;
}

#inventory .avatar {
    background: transparent url(../images/pod_bg_alt.jpg) repeat scroll 0 0;
    /*clear: both;*/
    border-color: #000 #444 #444 #000;
}

#inventory .inventory {
    float: left;
    /*background: transparent url(../images/pod_bg_alt.jpg) repeat scroll 0 0;*/
    width: 430px;
    border-color: #000 #444 #444 #000;
    display: inline-table
}

.iSlot {
    background-size: contain;
    display: inline-block;
    background-image: url(/images/tooltip/default.png);
}

.iSlotImg {
    vertical-align: middle;
    height: 40px;
    padding: 4px;
}


.inventory a {
    background-size: contain;
    display: inline-block;
    position: relative;
    background-image: url(/images/tooltip/default.png);
}

.inventory a.q0, a.item-frame.q0 {background-image: url(/images/tooltip/default0.png);}
.inventory a.q1, a.item-frame.q1 {background-image: url(/images/tooltip/default1.png);}
.inventory a.q2, a.item-frame.q2 {background-image: url(/images/tooltip/default2.png);}
.inventory a.q3, a.item-frame.q3 {background-image: url(/images/tooltip/default3.png);}
.inventory a.q4, a.item-frame.q4 {background-image: url(/images/tooltip/default4.png);}
.inventory a.q5, a.item-frame.q5 {background-image: url(/images/tooltip/default5.png);}
.inventory a.q6, a.item-frame.q6 {background-image: url(/images/tooltip/default6.png);}
.inventory a.q7, a.item-frame.q7 {background-image: url(/images/tooltip/default7.png);}
.inventory a.q8, a.item-frame.q8 {background-image: url(/images/tooltip/default8.png);}
.inventory a.q9, a.item-frame.q9 {background-image: url(/images/tooltip/default9.png);}

/* Item-Links mit Bild im Fliesstext (z.B. News): Qualitaetsrahmen wie im
   Inventar, Klassen setzt ItemLinkEnricher server-seitig */
a.item-frame {
    background-size: contain;
    display: inline-block;
    position: relative;
    background-image: url(/images/tooltip/default.png);
}

a.item-frame img {
    vertical-align: middle;
    padding: 4px;
    margin: 0;
}

a.item-frame.floatRight {
    margin-left: 10px;
    margin-bottom: 5px;
}

a.item-frame.floatLeft {
    margin-right: 10px;
    margin-bottom: 5px;
}

/* Ein News-Artikel der Startseite: eigener Block-Formatierungskontext, damit
   die gefloateten Item-Icons eines Artikels nicht in den Folgeartikel ragen */
.newsArticle {
    overflow: hidden;
    margin-bottom: 15px;
}

.newsPagination {
    margin-top: 5px;
    text-align: center;
}

.newsPagination a,
.newsPagination span {
    padding: 0 4px;
}

.newsPagination .current {
    font-weight: bold;
}


.inventory a img {
    vertical-align: middle;
    height: 40px;
    padding: 4px;
}

.inventory a div {
    position: absolute;
    color: white;
    font-size: 0.7em;
    right: calc(100% - 32px);
    top:18px;
}

.avatarAttribute {
    width: 100%;
}

.avatarAttribute td {
    padding: 1px 5px;
    vertical-align: top;
}
.borderRight {
    border-right: 1px solid #000;
}
.borderLeft {
    border-left: 1px solid rgb(68, 68, 68);
}
.right {
    text-align: right;
}
.compressed{
    width:100%; border:0; padding: 0;
}
.underline{
    text-decoration: underline;
}

/* ─────────────────────────────────────────────────────────────────────────
   Inventory screen: scalable slots. Own .slot namespace next to the shared
   .iSlot/.inventory (used by ~12 other views, so left untouched). One
   variable — --slot-size — drives the size, everything else derives from it.
   ───────────────────────────────────────────────────────────────────────── */

.invLayout {
    /* 38px (not 40) so the five-slot paperdoll and the fixed ten-column bag
       grid still fit side by side inside the fixed 735px #mainColumn. */
    --slot-size: 38px;
    --slot-gap: 2px;
    --inv-cols: 10;
    display: flex;
    /* Safety net: should the row ever run out of room, the bag panel drops
       below the paperdoll instead of being pushed off the screen. */
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

/* Panels inherit the pod background via #inventory .avatar; layout only here. */
.invPanel {
    padding: 10px;
    box-sizing: border-box;
}
/* Width the outfit panel to the paperdoll (five slots), NOT to the stat-tab
   strip stacked below it. Left to its content the nine tabs made the panel
   ~560px wide and shoved the bag grid out of #mainColumn; capping the width
   lets the tab strip wrap onto a few rows instead. */
.invPanel--outfit {
    flex: 0 0 auto;
    width: calc(var(--slot-size) * 5 + var(--slot-gap) * 4 + 20px);
    min-width: 0;
}
.invPanel--bags { flex: 1 1 auto; }

/* Paperdoll: head/foot rows span the full width; the mid band frames the
   avatar with a vertical slot column on each side (like the old table's cells,
   without display:contents). */
.invPaperdoll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--slot-gap);
}
.invPaperdoll__row {
    display: flex;
    gap: var(--slot-gap);
    align-items: center;
    justify-content: center;
}
.invPaperdoll__mid {
    display: flex;
    gap: var(--slot-gap);
    align-items: center;
    justify-content: center;
}
.invPaperdoll__side {
    display: flex;
    flex-direction: column;
    gap: var(--slot-gap);
}

/* Belt bags and the inventory list grouped by container. */
.invBelt {
    display: flex;
    gap: var(--slot-gap);
    justify-content: center;
    margin-top: var(--slot-gap);
}
.invContainer {
    display: flex;
    gap: var(--slot-gap);
    align-items: flex-start;
    margin-bottom: var(--slot-gap);
}
.invContainer__label {
    flex: 0 0 auto;
    width: var(--slot-size);
    height: var(--slot-size);
}
.invGrid {
    display: grid;
    grid-template-columns: repeat(var(--inv-cols), var(--slot-size));
    gap: var(--slot-gap);
}

/* The slot: its size comes solely from --slot-size, nothing is hardcoded. */
.slot {
    position: relative;
    width: var(--slot-size);
    height: var(--slot-size);
    box-sizing: border-box;
    background: url(/images/tooltip/default.png) center / contain no-repeat;
}
/* Three slots wide and tall including the two gaps between them, so the head
   and foot rows (5 slots) and the flanking columns line up flush around it. */
.slot--avatar {
    width: calc(var(--slot-size) * 3 + var(--slot-gap) * 2);
    height: calc(var(--slot-size) * 3 + var(--slot-gap) * 2);
    background: none;
}

.slot__placeholder,
.slot__icon {
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: calc(var(--slot-size) * 0.1);
    object-fit: contain;
}

/* The item covers the slot; its quality frame replaces the gray default. */
.slot__item {
    position: absolute;
    inset: 0;
    display: block;
    box-sizing: border-box;
    background: url(/images/tooltip/default.png) center / contain no-repeat;
    touch-action: none;            /* otherwise mobile scrolls away while dragging */
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    cursor: grab;
}
.slot__item.q0 { background-image: url(/images/tooltip/default0.png); }
.slot__item.q1 { background-image: url(/images/tooltip/default1.png); }
.slot__item.q2 { background-image: url(/images/tooltip/default2.png); }
.slot__item.q3 { background-image: url(/images/tooltip/default3.png); }
.slot__item.q4 { background-image: url(/images/tooltip/default4.png); }
.slot__item.q5 { background-image: url(/images/tooltip/default5.png); }
.slot__item.q6 { background-image: url(/images/tooltip/default6.png); }
.slot__item.q7 { background-image: url(/images/tooltip/default7.png); }
.slot__item.q8 { background-image: url(/images/tooltip/default8.png); }
.slot__item.q9 { background-image: url(/images/tooltip/default9.png); }

/* Stack count anchored to the corner, not computed against a fixed image size. */
.slot__stack {
    position: absolute;
    right: 2px;
    bottom: 1px;
    padding: 0 2px;
    color: #fff;
    font-size: calc(var(--slot-size) * 0.3);
    line-height: 1.2;
    text-shadow: 0 0 2px #000, 0 0 2px #000;
    pointer-events: none;
}

/* Drag states: the client highlights possible targets on pickup. */
.slot__item.is-dragging { visibility: hidden; }
.drop-valid      { outline: 2px solid rgba(45, 255, 196, 0.9); outline-offset: -2px; }
.drop-displacing { outline: 2px solid rgba(255, 196, 45, 0.9); outline-offset: -2px; }
.drop-blocked    { opacity: 0.4; }
.drop-hover      { box-shadow: 0 0 12px 2px rgba(45, 255, 196, 0.7); }
.drop-hint       { outline: 1px dashed rgba(45, 255, 196, 0.6); outline-offset: -1px; }

/* The ghost follows the pointer; JS clones the item for this and sets size/position. */
.inv-ghost {
    position: fixed;
    inset: auto;
    top: 0;
    left: 0;
    z-index: 10000;
    pointer-events: none;
    opacity: 0.85;
    margin: 0;
    will-change: transform;
    cursor: grabbing;
}

/* Suppress item tooltips (tooltips2.js/Wowhead) during a drag — the pointer
   is moving over slots, not links. */
body.inv-dragging .wowhead-tooltip,
body.inv-dragging #wowhead-tooltip {
    display: none !important;
}

/* A toast notification is a position: fixed overlay in the top-right corner —
   right on top of the inventory grid. Two notification themes render into two
   different containers: php-flasher's default theme (.fl-wrapper) and its
   toastr theme (#toast-container). Either overlay would otherwise swallow
   pointer input meant for the UI beneath it: a click, a hover, or — worst — a
   drop, where elementFromPoint returns the toast instead of the slot and the
   equip/move silently dies.

   Baseline (every page, always): make the wrapper itself click-through so it
   can never intercept, but keep the visible card interactive so a toast stays
   dismissable and hover-pausable. */
.fl-wrapper,
#toast-container {
    pointer-events: none;
}
.fl-wrapper .fl-container,
#toast-container > div {
    pointer-events: auto;
}

/* During a drag even the visible card must step aside: elementFromPoint would
   return a card overlapping a slot instead of the slot. Generalises the earlier
   .fl-wrapper-only rule from #252/#253 across both containers. */
body.inv-dragging .fl-wrapper,
body.inv-dragging .fl-wrapper .fl-container,
body.inv-dragging #toast-container,
body.inv-dragging #toast-container > div {
    pointer-events: none !important;
}

/* Destroy zone (#214): drag an inventory item here — or shift-click it — to
   delete it after a prompt. Mirrors the sell target (the avatar); the server
   stays authority (isDeletable). */
.invActions {
    display: flex;
    justify-content: center;
    margin-top: var(--slot-gap);
}
.slot--destroy {
    width: auto;
    min-width: calc(var(--slot-size) * 3 + var(--slot-gap) * 2);
    height: var(--slot-size);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(150, 30, 30, 0.14);
    border: 1px dashed rgba(210, 70, 70, 0.7);
    border-radius: 4px;
    color: rgba(230, 130, 130, 0.95);
    font-size: smaller;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: default;
}
.slot--destroy__label { pointer-events: none; }
/* When a drag hovers it, the generic drop-valid outline would read as "ok";
   a destructive target deserves a red cue instead. */
.slot--destroy.drop-valid,
.slot--destroy.drop-hover {
    outline: none;
    background: rgba(190, 40, 40, 0.35);
    box-shadow: 0 0 12px 2px rgba(220, 60, 60, 0.6);
}

/* Buyback panel (#213): the most recently sold items, one clickable slot each.
   A click buys the item back for the gold received on sale. Mirrors the slot
   sizing of the belt/grid so it lines up with the rest of the inventory. */
.invBuyback {
    margin-top: var(--slot-gap);
}
.invBuyback__title {
    text-align: center;
    font-size: smaller;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(210, 190, 130, 0.95);
    margin-bottom: var(--slot-gap);
}
.invBuyback__row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--slot-gap);
    justify-content: center;
}
.slot--buyback {
    cursor: pointer;
}
.slot--buyback:hover {
    box-shadow: 0 0 12px 2px rgba(210, 190, 130, 0.6);
}
.slot--buyback__price {
    position: absolute;
    right: 2px;
    bottom: 1px;
    padding: 0 2px;
    color: #ffe08a;
    font-size: calc(var(--slot-size) * 0.28);
    line-height: 1.2;
    text-shadow: 0 0 2px #000, 0 0 2px #000;
    pointer-events: none;
}

/* Confirm overlay — vanilla, no bootstrap ($.fn.modal is not loaded here). */
.inv-confirm {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
}
.inv-confirm__box {
    width: 320px;
    max-width: 90vw;
    padding: 18px 20px;
    background: #1b1b1f;
    border: 1px solid rgba(210, 70, 70, 0.6);
    border-radius: 6px;
    color: #eee;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
}
.inv-confirm__title { font-weight: bold; margin-bottom: 8px; }
.inv-confirm__text { font-size: smaller; margin-bottom: 16px; }
.inv-confirm__text b { color: #fff; }
.inv-confirm__actions { display: flex; gap: 10px; justify-content: center; }
.inv-confirm__btn {
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    background: #2a2a30;
    color: #eee;
    cursor: pointer;
    font: inherit;
}
.inv-confirm__btn:hover { background: #34343c; }
.inv-confirm__btn--danger {
    background: rgba(180, 40, 40, 0.85);
    border-color: rgba(210, 70, 70, 0.9);
}
.inv-confirm__btn--danger:hover { background: rgba(200, 50, 50, 0.95); }
