body
{
  background: linear-gradient(silver, rgb(240,240,240) 148px, #90B8D8 148px, #90B8D8 170px, rgb(240,240,240) 170px);
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 10pt;
  color: black;
  text-align: justify;
  padding: 0;
  margin: 0;
}

html, body
{
  min-height: 100%;
}

p, form, h1
{
  text-align: center;
}

p
{
  margin-left: 10px;
  margin-right: 10px;
}

table
{
  /*border: 1px solid silver;*/
  margin: 10pt auto 0;
  border-spacing: 0;
  /*border-radius: 8px;*/
  /*background: rgb(244, 244, 244);*/
}

.footer
{
  font-size: 8pt;
  color: gray;
}

tr
{

}

td, th
{
  padding: 3px 6px;
  background-color: rgb(248, 248, 248);
}

.dec, .inc
{
  font-size: 8pt;
  font-weight: normal;
}

.dec:before, .inc:before
{
  content: '&#127942;(';
}

.dec:after, .inc:after
{
  content: ')';
}

.dec, .losses .inc
{
  color: #cc2222;
}

.inc
{
  color: #55aa00;
}

.active
{
  color: #001155;
  font-weight: bold;
}

th, th a
{
  background: #3080C0;
  color: white;
}

tr:first-child th
{
  text-align: center;
}

a
{
  color: #36b;
  text-decoration: none;
}

a:hover
{
  color: #48f;
  text-decoration: underline;
}

.name, .rank
{
  font-weight: bold;
}

.guild
{
  padding-left: 24px;
  background-position: 1px center;
  background-repeat: no-repeat;
}

.territoryE
{
  background-image: url('eu.png');
}

.territoryA
{
  background-image: url('us.png');
}

.territoryJ
{
  background-image: url('jp.png');
}

.territoryK
{
  background-image: url('kr.png');
}

.territoryT
{
  background-image: url('tw.png');
}

/*tr:first-child th:first-child
{
  border-top-left-radius: 5px;
}

tr:first-child th:last-child
{
  border-top-right-radius: 5px;
}

tr:last-child td:first-child
{
  border-bottom-left-radius: 5px;
}

tr:last-child td:last-child
{
  border-bottom-right-radius: 5px;
}*/

tr:nth-child(odd) td
{
  background-color: rgb(240, 240, 240);
}

tr.invisible td
{
  background-color: #fd8 !important;
}

.professions img
{
  float:left;
}

.trophy
{
  color: #f90;
  padding-left: 3px;
  cursor: default;
}

th .trophy
{
  color: #f90;
  padding-left: 3px;
  cursor: default;
  text-shadow: 0 0 1px white;
}

table.match th
{
  text-align: left;
}

.playerdata
{
  text-align: center;
  font-size: 8pt;
  line-height: normal;
}

.playerdata
{
  line-height: normal;
  text-align: right;
}

.playerdata *
{
  padding: 0;
  margin: 0;
  text-align: center;
}

.playerdata img
{
  padding: 0 2px;
}

.skill
{
  height: 40px;
  margin: 0 1px;
  width: 40px;
  float: left;
}

.skilldata
{
  position: absolute;
  z-index: -1337;
  margin-left: -80px;
  opacity: 0;
  background: white;
  width: 400px;
  margin-top: 40px;
  transition-property: margin, opacity;
  padding: 7px 10px 9px;
  border: 1px solid silver;
}

a.skilllink:hover + .skilldata
{
  display: block;
  z-index: 1;
  margin-left: -40px;
  opacity: 1;
  transition-duration: 0.5s;
}

.data span
{
  display: block;
  position: absolute;
  background-position: left center;
  background-repeat: no-repeat;
  padding: 1px 0 1px 23px;
  width: 22px;
  height: 18px;
  top: 7px;
}

.exhaustion
{
  right: 145px;
  background-image: url('exhaustion.png');
}

/* better than Keeping Up With the Kardashians */

.upkeep
{
  right: 145px;
  background-image: url('upkeep.png');
}

.sacrifice
{
  right: 145px;
  background-image: url('sacrifice.png');
}

.energy
{
  right: 100px;
  background-image: url('energy.png');
}

.adrenaline
{
  right: 100px;
  background-image: url('adrenaline.png');
}

.activation
{
  right: 55px;
  background-image: url('activation.png');
}

.recharge
{
  right: 10px;
  background-image: url('recast.png');
}

.skillname
{
  font-size: 12pt;
  font-weight: bold;
  padding-bottom: 4px;
  display: block;
}

.skilltype
{
  font-weight: bold;
}

.skilltype:after
{
  content: '. ';
}

.attribute
{
  color: #667; /* omg the beast has a neighbor */
}

.attribute:before
{
  content: ' (Attribute: ';
}

.attribute:after
{
  content: ')';
}

/*.skillname+div
{
  position: absolute;
  left: -40px;
  top: 70px;
  height: 20px;
  width: 20px;
}*/

.skillicon
{
  left: -67px;
  top: 3px;
  border: 3px solid white;
  /*border-bottom-width: 25px;*/
  outline: 1px solid silver;
  position: absolute;
  display: block;
}

/*
.profession1
{
  background-image: url('prof1.png');
}
*/

.profession0+div+div b
{
  color: #5F7B5B;
}

.profession1+div+div b
{
  color: #EEAA00;
}

.profession2+div+div b
{
  color: #55AA00;
}

.profession3+div+div b
{
  color: #4466BB;
}

.profession4+div+div b
{
  color: #00AA55;
}

.profession5+div+div b
{
  color: #8800AA;
}

.profession6+div+div b
{
  color: #CC2222;
}

.profession7+div+div b
{
  color: #AA0088;
}

.profession8+div+div b
{
  color: #00AAAA;
}

.profession9+div+div b
{
  color: #AA5500;
}

.profession10+div+div b
{
  color: #7777CC;
}

table.description td
{
  white-space: pre-line;
}

table input, table select
{
  width: 200px;
}

textarea
{
  width: 100%;
  height: 200px;
}

img
{
  border: 0;
}

td.playerdata + td
{
  width: 336px;
}

td.professions
{
  min-width: 160px;
}

table.index
{
  white-space: nowrap;
}

#box, #menubar
{
  width: 1180px;
  border: 2px solid rgba(0, 0, 0, 0.4);
}

#box {
  background: white no-repeat scroll center -2px;
  border-radius: 32px;
  box-shadow: 0 0 20px black;
  margin: 36px auto;
  padding: 136px 8px 0;
  position: relative;
}

#logo
{
  position: absolute;
  left: 10px;
  top: 10px;
}

#menubar
{
  position: absolute;
  border-top: none;
  border-bottom: none;
  left: -2px;
  padding: 0 8px;
  top: 110px;
  background: #3080C0;
  font-weight: bold;
}

#menubar a
{
  padding: 2px 10px;
  margin: 0 5px;
  display: inline-block;
  text-decoration: none;
  color: white;
}

#menubar a:hover
{
  background-color: #2060a0;
}

#menubar a#sel
{
  color: black;
  background-color: #50B0F0;
}

th a:hover
{
  color: white;
  text-decoration: underline;
}

th .trophy
{
  text-shadow: none;
  color: white;
}

.buildcode
{
  display: none;
  background: white;
  padding: 8px;
  position: absolute;
  border: 2px solid #3080C0;
  z-index: 9001;
  margin-top: 15px;
  margin-left: -16px;
}

label.download
{
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('download.png');
  opacity: 0.6;
  position: absolute;
  margin-left: -12px;
}

div.downloadhover
{
  float:right;
}

div.downloadhover:hover label.download
{
  opacity: 1;
}

div.downloadhover:hover label.download + div.buildcode
{
  display: block;
}

div.buildcode input
{
  
}

.tv
{
  padding: 2px;
  float: left;
}

.left p
{
  text-align: left;
}