/*----------------------------------------------------------------------------*/
/*                        (C) 2009 Ivan Reyné Ferrando                        */
/*----------------------------------------------------------------------------*/

/* display
   background    background-color background-image background-repeat background-position
   color
   position
   float
   clear
   overflow

   font    font-family font-size font-variant font style font-weight

   text-decoration
   line-height
   text-align
   vertical-align

   list-style

   width
   margin    (top right bottom left)
   border    border-width border-style border-color
   padding
*/

/* general properties
------------------------------------------------------------------------------*/
body {
  background-color: #003300;
  color: #003300;
  font-family: Verdana, Geneva, sans-serif;
  font-size: small;
  line-height: 1.5em;
  margin: 0px;
  padding: 0px;
}
h1, h2, h3, h4, h5, h6 {
  font-size: medium;
  font-weight: bold;
  font-variant: small-caps;
  text-align: center;
  margin: 0px 0px 5px 0px;
  padding: 0px;
}
p, div, span, ul, li {
  margin: 0px;
  padding: 0px;
}
img {
  padding: 0px;
  border: 0px;
  margin: 0px;
}
a {
  color: #003300;
  text-decoration: none;
  outline-style: none;
  outline-width: 0;
}
a:hover {
  text-decoration: underline;
}

input.button_fb {
  background-color: #3b5998;
  border-color: #d8dfea rgb(14, 31, 91) rgb(14, 31, 91) rgb(216, 223, 234);
  border-style: solid;
  border-width: 1px;
  color: #fff;
  font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
  margin: 0 2px;
  padding: 2px 18px;
}

/* main website page
------------------------------------------------------------------------------*/
div#website {
  position: relative;
  background-color: #99cc66;
  width: 960px;
  margin: 10px auto;
  border: 2px solid #669933;
  padding: 0px;
}

/* publicity
------------------------------------------------------------------------------*/
div.publicity_center {
  width: 728px;
  line-height: 1em;
  margin: 10px auto;
  border: 0px none #000000;
  padding: 0px;
}
div.publicity_right {
  float: right;
  width: 160px;
  height: 600px;
  margin: 0px;
  border: 0px none #000000;
  padding: 0px;
}

input#pp_donate {
  background: transparent url('../images/beer.gif') no-repeat scroll top left;
  position: relative;
}
input#pp_donate:hover {
  background: transparent url('../images/beerh.gif') no-repeat scroll top left;
  position: relative;
}

/* header
------------------------------------------------------------------------------*/
div#header {
  background: transparent url('../images/header.png') no-repeat scroll top center;
  position: relative;
  height: 90px;
  margin: 0px auto 10px auto;
  border: 0px none #000000;
  padding: 0px;
}
div#header h1 {
  display: none;
  color: #000000;
  font-variant: small-caps;
}
div#header_small {
  text-align: center;
  margin: 10px auto;
  border: 0px none #000000;
  padding: 0px;
}
div#header_small h1 {
  color: #c87137;
  font-variant: small-caps;
}

/* navigation bar
------------------------------------------------------------------------------*/
div#nav {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 200px;
  margin: 0px;
  border: 0px none #000000;
  padding: 5px 0px 5px 5px;
}
ul.nav_lang {
  float: right;
  list-style-type: none;
  padding: 0px 5px 0px 0px;
}
li.nav_lang {
  display: inline;
  padding: 0px 0px 0px 5px;
}
a.nav_lang {
  color: #000000;
  text-decoration: none;
}
a.nav_lang img {
  border: 1px solid #003300;
}
div.share {
  float: right;
  padding: 5px 5px 0px 0px;
}

/* footer
------------------------------------------------------------------------------*/
div#footer {
  background-color: #336600;
  color: #ffffff;
  position: relative;
  font-size: x-small;
  margin: 0px;
}
div#footer p {
  padding: 5px 10px;
  margin: 0px;
}
div#footer a {
  color: #ffffff;
}

/* table to align things
------------------------------------------------------------------------------*/
table.align {
  margin: 0px auto;
}

/* avatar creation
------------------------------------------------------------------------------*/
div.create_avatar {
  margin: 0px 10px;
}
div.create_avatar div.avatar_canvas {
  float: left;
  position: relative;
  height: 600px;
  width: 770px;
  margin: 0px;
}

div.avatar {
  position: absolute;
  z-index: 50;
  left: 0px;
  top: 0px;
  width: 160px;
  border: 0px none #000000;
  padding: 0px 0px;
}
div.avatar img.avatar {
  display: block;
  width: 100px;
  height: 100px;
  margin: 0px auto;
  border: 1px solid #003300;
  padding: 2px;
}
div.avatar p.save {
  text-align: center;
  margin: 5px 0px;
}
div.avatar p.save_big {
  font-size: x-small;
  text-align: center;
  margin: 0px;
}
div.avatar p.save_facebook {
  font-size: x-small;
  text-align: center;
  margin: 0px;
}

div.create_avatar img.avatar_bit {
  width: 50px;
  height: 50px;
  margin: 0px;
  border: 0px none #000000;
  padding: 0px;
}

ul.avatar_categories0 {
  position: absolute;
  z-index: 50;
  left: 172px;
  top: 0px;
  width: 108px;
  font-size: x-small;
  list-style-type: none;
  border: 1px solid #003300;
  padding: 5px;
}
li.avatar_categories0 {
  padding: 2px 2px;
}
li.avatar_categories0_rand {
  padding: 2px 2px 4px 2px;
}
li.avatar_categories0_rand a {
  font-style: italic;
  color: #cc0000;
}
li.avatar_categories0_sel {
  background-color: #669933;
  color: #000000;
  padding: 2px 2px;
}
li.avatar_categories0:hover {
  color: #000000;
  cursor: pointer;
}
/*
li.avatar_categories0:hover ul.avatar_categories1 {
  left: 120px;
}
*/
ul.avatar_categories1 {
  position: absolute;
  z-index: 55;
  top: 0px;
  left: 303px;
  width: 216px;
  height: 432px;
  list-style-type: none;
  border: 1px solid #003300;
  padding: 5px;
}
li.avatar_categories1 {
  float: left;
  width: 50px;
  height: 50px;
  border: 2px solid #99cc66;
  margin: 0px;
  display: inline;
}
li.avatar_categories1_sel {
  border: 2px solid #669933;
  color: #000000;
}
li.avatar_categories1:hover {
  border: 2px solid #669933;
  color: #000000;
  cursor: pointer;
}
/*
li.avatar_categories1:hover ul.avatar_categories2 {
  left: 162px;
}
*/
ul.avatar_categories2 {
  position: absolute;
  z-index: 60;
  left: -99999px;
  top: 0px;
  width: 216px;
  height: 486px;
  list-style-type: none;
  border: 1px solid #003300;
  padding: 5px;
}
ul.avatar_categories2_sel {
  left: 238px;
}
li.avatar_categories2 {
  float: left;
  width: 50px;
  height: 50px;
  border: 2px solid #99cc66;
  margin: 0px;
  display: inline;
}
li.avatar_categories2:hover {
  border: 2px solid #669933;
  color: #000000;
  cursor: pointer;
}

div.buy_beer {
  position: absolute;
  z-index: 50;
  background-color: #669933;
  left: 0px;
  top: 180px;
  width: 138px;
  font-size: x-small;
  border: 1px solid #669933;
  padding: 5px 10px;
}

div.examples {
  background-color: #669933;
  width: 920px;
  border: 0px none #000000;
  margin: 10px auto;
  padding: 5px 10px;
}
div.examples img.example {
  float: left;
  margin: 5px;
  border: 1px solid #303030;
  padding: 2px;
}
div.see_also {
  width: 920px;
  border: 0px solid #000000;
  margin: 10px auto;
  padding: 5px 10px;
}

div.fb_fan {
  float: left;
  width: 510px;
  border: 0px solid #000000;
}
div.fb_photo {
  float: right;
  width: 400px;
  border: 0px solid #000000;
}


/* table for facebook steps
------------------------------------------------------------------------------*/
table.fb_steps {
  background-color: #cccccc;
  border-collapse: collapse;
  border: 1px solid #333333;
  margin: 0px auto;
}
table.fb_steps tr.sel1 {
  background-color: #dddddd;
}
table.fb_steps tr.done {
  color: #a0a0a0;
}
table.fb_steps td {
  padding: 5px;
}
table.fb_steps td a {
  color: #333333;
  font-style: italic;
}

/* clears, infos and errors
------------------------------------------------------------------------------*/
iframe#see_also {
  overflow: none;
  width: 500px;
  height: 350px;
  border: 0px solid #000000;
}

.clear {
  clear: both;
  margin: 0px;
}
.right {
  float: right;
}
.left {
  float: left;
}
.center {
  text-align: center;
  margin: 0px auto;
}
img.right {
  float: right;
  margin: 0px 0px 0px 10px;
  border: 1px solid #303030;
  padding: 2px;
}
img.left {
  float: left;
  margin: 0px 10px 0px 0px;
  border: 1px solid #303030;
  padding: 2px;
}
img.center {
  display: block;
  margin: 5px auto 5px auto;
  border: 1px solid #303030;
  padding: 2px;
}
#recaptcha_area {
  margin: 0px auto 0px auto;
}
div.info {
  background-color: #ffff99;
  color: #000000;
  line-height: 1.5em;
  margin: 0px 0px 10px 0px;
  border: 2px solid #ffff66;
  padding: 10px;
}
div.info p {
  padding-bottom: 0px;
}
div.error {
  background-color: #ff9999;
  color: #000000;
  line-height: 1.5em;
  margin: 0px 0px 10px 0px;
  border: 2px solid #ff6666;
  padding: 10px;
}
div.error p {
  padding-bottom: 0px;
}
div.debug {
  background-color: #ff9999;
  color: #000000;
  width: 960px;
  font-family: fixed;
  white-space: pre;
  line-height: 1.5em;
  margin: 10px auto;
  border: 2px solid #ff6666;
  padding: 10px;
}

