#pokerep table { 
  width: 95%; 
  margin: 20px auto;
}

#pokerep table table { 
  border: 0px; 
}

#pokerep td { 
  text-align: center;
  vertical-align: middle;
}

#pokerep table table td {
  padding: 2px;
}

/* makes inner tables look nice */
#pokerep td {
  padding: 0px;
}

#pokerep td table { 
  margin: 0px;
  width: 100%;
}

/* general formatting */
td.topic {
  text-align: center;
  width: 25%;
}

b.name {
  display: inline;
  font-size: 1.2em;
  color: #fff;
  font-variant: small-caps;
}

td.label {
  background: #3BB1FF;
  color: #fff;
  font-size: 0.9em;
  font-weight: bold;
  width: 100px;
  padding: 5px;
}

colgroup.label {
  width: 15%;
}

.current {
  font-weight: bold;
}

#pokerep .description {
  text-align: left;
}

.triggers { cursor: pointer; }

#picture { 
  width: 30%; 
}

#pokerep th.category {
  text-align: left;
}

#pokerep .category img { 
  margin: 0px 10px 0px 10px; 
}

#pokerep #general th img {
  position: relative;
  top: -4px;
}

#pokerep .sub_category {
  font-size: 120%;
  text-align: left;
  padding-left: 15px;
}

#pokerep .intro, #pokerep .small {
  text-align: left;
}

/* genders */
td.male       { font-weight: bold; color: #39c; }
td.female     { font-weight: bold; color: #f9c; }
td.genderless { background: #fff; }

/* types */
.bug      { background: #ab2; }
.dark     { background: #555;}
.dragon   { background: #f90; } 
.electric { background: #ff0; }
.fighting { background: #960; }
.fire     { background: #d00; }
.flying   { background: #ccc; }
.ghost    { background: #60c;}
.grass    { background: #0d0; }
.ground   { background: #c96; }
.ice      { background: #cff; }
.normal, 
.unknown  { background: #aaa; }
.poison   { background: #909;}
.psychic  { background: #c0c;}
.rock     { background: #ba3; }
.steel    { background: #ddd; }
.water    { background: #39f; }

/* games */
.red { background: #f00; color: #fff; }
.blu { background: #00f; color: #fff; }
.yel { background: #ff0; color: #000; }
.gol { background: #fd0; color: #fff; }
.sil { background: #ccc; color: #000; }
.cry { background: #f0c; color: #000; }
.rub { background: #a00; color: #fff; }
.sap { background: #00a; color: #fff; }
.eme { background: #0a0; color: #fff; }
.fir { background: #c00; color: #fff; }
.lea { background: #0c0; color: #fff; }
.dia { background: #9ff; color: #000; }
.pea { background: #fcc; color: #000; }

/* images */
#images td table { margin: 0px; width: 100%; }
#images a { font-size: 120%; font-weight: bold; }

/* evolutions */
.evoimages .method { margin-bottom: 30px; }

/* flavortext */
#flavortext td { padding: 2px; }

/* moves */
#moves a { 
  color: #000; 
  border-bottom: 
  1px dashed #0DF; 
}

#moves a:hover { 
  color: #9dd9ff; 
  font-weight: bold; 
}

#abilities a { 
  color: #0DF; 
  border: none; 
}

/* stats */
.statbar { 
  background: #ccc; 
  width: 127px; 
  height: 5px; 
  text-align: left; 
  margin: 2px 5px; 
}

/* repsearch */
#repsearch { margin: 20px 15%; text-align: center; }
#repsearch table { margin: 0px; }
#repsearch table td { padding: 5px; }
#repsearch th.category { width: 100px; font-size: 90%; } 
#repsearch div.description { font-size: 80% }
#repsearch td.good { width: 100%; }

/* main page */
#main_menu {
  margin-bottom: 20px;
}

#main_menu th {
  font-size: 0.8em;
}

#main_menu .category a { 
  border-bottom: 1px dashed #fff; 
}

#main_menu td:first-child { 
  font-weight: bold;
  text-align: left;
}

#main_menu td:first-child img {
  position: relative; 
  top: -2px;
}

#main_menu td:first-child a:hover img { 
  position: relative; 
  left: 2px; 
  top: 2px;
}

/* misc */
#previous_next td { 
  border: 0px;
}

#previous_next img {
  position: relative;
  top: -5px;
}

.marker { 
  color: #0d0; 
}
