/*
 *  verde:    #4cb400
 *  gris:     #4d4d4d
 *  turquesa: #0d4d4d
 * 
 */

/* Spriting */

#menu a, #menu2 a, #contenido li, #social a, #medallas a {
  background-image: url(imagenes/sprite.png);
  background-repeat: no-repeat;
  overflow: hidden;
  display: block;
}



/* Elementos generales */

body {
  font-family: Georgia, Serif;
  font-size: 1.0625em;    /* 16px * 1.0625 = 17px */
  color: #4d4d4d;
  background: url(imagenes/background.png) #fff;
  z-index: 0;
}

h1, table h2 {
  font-family: Georgia, Serif;
  font-size: 2.5em;
  margin-bottom: 0.55em;
  color: #4cb400;
}

h1 {
  padding-left: 80px;
  }

h2 {
  font-family: Arial;
  font-size: 1.6em;
  margin-top: 0.8em;
  text-transform: uppercase;
  color: #4cb400;
}

p, font {
  font-style: italic;
  line-height: 1.8em;
  margin-bottom: 0.8em;
}

ul {
  list-style-type: none;
  font-style: italic;
  line-height: 1.8em;
}

a {
  color: #0d4d4d; 
  text-decoration: none;
}

em, strong {
  font-weight: bold;
}

.sombra {
  z-index: 2;
  width: 100%;
  background: url(imagenes/sprite_shadow.png) repeat-x;
  left: 0;
  height: 100px;
  position: fixed;
}

#sombra_superior {
  background-position: 0px -10px;
  top: 0px;
}

#sombra_inferior {
  background-position: 0px -130px;
  bottom: 30px;
}

/* Botón de cambio de idioma */

#idioma {
  position: fixed;
  top: 20px;
  right: 5%;
  z-index: 3;
}

#idioma a {
  color: #4cb400;
  font-size: 1.2em;
}



/* Menú de navegación */

#menu {
  position: fixed;
  top: 115px;
  right: 12%;
  padding: 1.6em;
  border: 1px solid #4cb400;
  background: url(imagenes/menu.png);
  z-index: 1;
}

#menu2 {
  position: fixed;
  top: 285px;
  right: 12%;
  padding: 1.6em;
  border: 1px solid #4cb400;
  background: url(imagenes/menu.png);
  z-index: 1;
}

#menu ul, #menu2 ul {
  font-style: normal;
  line-height: 2em;
  font-family: Georgia, Serif;
  font-size: 1.1em;
}

#menu a, #menu2 a {
  padding-left: 1.3em;
  height: 32px;
}

#blog {background-position: 0px -158px;}
#wiki {background-position: 0px -190px;}
#listas {background-position: 0px -221px;}
#donar {background-position: 0px -254px;}



/* Cuerpo de la página */

#contenido {
  width: 46%;
  margin: 150px 15% 150px 12%;
  background-image: url(imagenes/logo_web.png);
  background-repeat: no-repeat;
  background-position: left top;
  padding-top: 123px;
}

#contenido ul {
  margin-top: -0.8em;
}

#contenido li {
  background-position: -80px -127px;
  padding-left: 1.3em;
}

#contenido a {
  border-bottom: 1px solid #4cb400;
}

#contenido a:visited {
  border-bottom-style: dashed;
}



/* Botones de redes sociales */

#social {
  z-index: 3;
  width: auto;
  position: fixed;
  right: 5%;
  bottom: 7px;
}

#social a {
  height: 32px;
  width: 32px;
  float: left;
  margin-right: 6px;
}
#social a:hover {
  cursor: pointer;
}

#my {background-position: 0px -118px;}
#my:hover {background-position: -32px -118px;}
#fb {background-position: -64px -86px;}
#fb:hover {background-position: -64px -54px;}
#tw {background-position: 0px -54px;}
#tw:hover {background-position: -32px -54px;}
#sm {background-position: 0px -86px;}
#sm:hover {background-position: -32px -86px;}



/* Medallas de validación */

#medallas {
  z-index: 3;
  position: absolute;
  bottom: 6px;
  left: 1%;
  width: auto;
}

#medallas a {
  height: 18px;
  width: 88px;
  float: left;
  margin-left: 4px;
}

#xhtml {background-position: 0px -36px;}
#css {background-position: 0px -18px;}
#pd {background-position: 0px 0px;}



/* Pie de página */

#footer, hr + table {
  z-index: 2;
  width: 100%;
  position: fixed;
  height: 30px;
  bottom: 0;
  left: 0;
  background: #4cb400;
  font-family: Arial;
  color: #fff;
  font-size: 13px;
  line-height: 14px;
  text-align: center;
}

#footer a, hr + table a {
  color: white;
}

