/*----- RESET -----*/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline;}
body { line-height: 1.5; }
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
a img { border: none; }


/*----- CLEAR FIX -----*/
.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%; }


/*----- COLOURS! -----*/
.primary-1 { background-color: #282B33; color: #D7D4CC; }
.primary-2 { background-color: #262931; }
.primary-3, body, .boss, a.compare { background-color: #212630; }
  body { color: #DED9CF; }
  #issues, #why { border-bottom: 1px dotted #DED9CF; color: #DED9CF; }
.primary-4 { background-color: #383D48; }
.primary-5 { background-color: #393D48; }

.secondary-a-1, .group_tab { background-color: #2A2A36; }
.secondary-a-2 { background-color: #292933; }
.secondary-a-3, .upgrade_list, #groups { background-color: #232332; }
.secondary-a-4, .selected_tab { background-color: #3B3B4A; }
  .upgrade_list, #groups { border: 2px solid #3B3B4A; }
  .group_tab { border: 1px solid #3B3B4A; }
.secondary-a-5 { background-color: #3B3B4A; }

.secondary-b-1 { background-color: #262C31; }
.secondary-b-2 { background-color: #242A2F; }
.secondary-b-3 { background-color: #20282E; }
.secondary-b-4, .boss h3 { background-color: #363F46; }
  .boss { border: 1px solid #363F46; }
.secondary-b-5 { background-color: #373F46; }
  h1, a { color: #78848E; }

.complement-1 { background-color: #4C4639; }
.complement-2 { background-color: #494337; }
.complement-3 { background-color: #473F30; }
.complement-4, #loot .tabs .group_tab .count, #flash { background-color: #5E5748; }
.complement-5 { background-color: #5E5749; }
  h1 span, a.compare, #profile_form legend { color: #756F60; }


/*----- SITE CSS -----*/
html, body { height: 100%; }
body {
  font-size: 14px;
  font-family: Geneva, Verdana, "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif;
}

#site_container {
  width: 1000px;
  margin: 0 auto;
  padding: 10px;
}

#header { margin-bottom: 1em; }

#header h1 {
  display: inline;
  font-family: Palatino, "Palatino Linotype", "Hoefler Text", Times, "Times New Roman", serif;
  font-size: 200%;
  font-weight: bold;
  padding-left: 1em;
}

#header h2 {
  display: inline;
  font-size: 80%;
  font-weight: bold;
  margin-left: 4em;
}

dl { margin-top: 10px; }
dt { margin-top: 5px; font-weight: bold; }
dd { padding-left: 1em; }

#issues, #why, #linkback {
  font-size: 80%;
}

#issues, #why {
  text-decoration: none;
}

#issues {
  float: right;
  margin-top: 4px;
}

#issues_detail {
  color: black;
  width: 700px;
}

#profile_form label {
  display: block;
  padding-right: 10px;
}

#profile_form label span {
  display: block;
  float: left;
  width: 160px;
  text-align: right;
  margin-right: 15px;
}

#profile_form legend {
  font-size: 85%;
  text-align: center;
}
#profile_form #groups {float: right;}
#profile_form #groups label {
  margin: 0 0 0 .75em;
  display: inline-block;
  width: 5.5em;
}

#loot { display: none; }

#profile_form #flash {
  display: none;
  float: none;
  width: auto;
  margin: 0.5em;
  padding: 2px 10px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

#loot {
  margin-top: 1em;
  min-height: 400px;
}

#my_gear {
  margin: 0 5px;
}

/*.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }*/
#my_gear div.my_item {
  float: left;
/*  background: url(http://static.wowhead.com/images/icon_hilite_medium_new.png);*/
/*  width: 38px;
  height: 38px;
*/}

#result_links {
  text-align: right;
  margin-left: 15px;
  margin-right: 30px;
  float: right;
}

#loot .tabs {
  float: left;
  width: 230px;
  margin-top: 5px;
}

#loot .tabs .group_tab {
  margin-top: 5px;
  padding: 0 5px;
  cursor: pointer;
  -moz-border-radius-topleft: 10px;
  -webkit-border-top-left-radius: 10px;
  -moz-border-radius-bottomleft: 10px;
  -webkit-border-bottom-left-radius: 10px;
}

#loot .tabs .group_tab .count {
  float: right;
  font-size: 80%;
  background: #5e5848;
  margin-top: 3px;
  padding: 0 4px;
  width: 25px;
  text-align: center;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

#loot .tabs .selected_tab {
  font-weight: bold;
}

#loot .loot_groups {
  float: left;
  width: 750px;
  margin-bottom: 5em;
}

#realm_eu, #loot .loot_groups .upgrade_list { display: none; }

#loot .loot_groups .upgrade_list li {
  margin: 0 0.5em;
  font-size: 85%;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

a.compare {
  position: absolute;
  right: 0px;
  padding-left: 5px;
}
/*a.compare { float: right; }*/

.boss {
  float: left;
  width: 226px;
  margin: 5px;
  padding: 5px;
}

.clear_left { clear: left;}

.boss h3 {
  font-weight: bold;
  font-size: 90%;
  text-align: center;
  margin-bottom: 4px;
}

#loot .source .upgrade_list .boss a { float: none; }
