/* Bartolomé Sintes Marco
   http://www.mclibre.org
   
   CSS examen: Tres menús
   23 de febrero de 2012
*/

html {
  font-family: sans-serif;
  background-color: #FFDD40;
}

h2 {
  clear: both;
  margin-top: 2em;
  border-top: black 2px solid;
}

li, p, td {
  background-color: #26972D;
  color: #A2000C;
  font-size: 300%;
  font-weight: bold;
  text-align: center;
  width: 1.5em; 
}

li:hover, p:hover, td:hover {
  background-color: black;
  color: white;
}

ul { 
  list-style-type: none; 
  padding-left: 0.75em;
}

li { 
  float: left;
  margin-right: 0.5em;
  margin-bottom: 1em;
  padding: 0.75em;
}

table {
  border: none;
  border-spacing: 1.5em 0;
  margin-left: -1em;
}

td {
  border: none;
  height: 1.5em; 
  padding: 0.75em;
}

p {
  float: left;
  height: 1.5em; 
  margin: 0 0.25em 1em;
  padding: 0.6em 0.75em;
}

address {
  border-top: black 2px solid;
  clear: both;
  margin-top: 1em;
  text-align: right;
}

