/* XHTML y CSS con AMAYA
   Bartolomé Sintes Marco
   http://www.mclibre.org

   CSS examen: Revistas de informática
   18 de diciembre de 2007
*/

body { 
  background-color: #DDDDDD;
  font-family: sans-serif;
}

h1 {
  background-color: white;
  font-size: 150%;
  margin: 0px; 
}

h1.der { 
  padding: 0 10px;
  position: absolute;
  top: 0;
  right: 0;
}

h1.izq {
  padding: 0 10px;
  position: absolute;
  top: 0;
  left: 0;
}

ul#menu {
  list-style-type: none;
  font-weight: bold;
  padding: 0px;
  position: absolute;
  top: 2em;
  left: 1em;
  width: 8em;
}

ul#menu li { 
  background-color: #AAAAAA;
  margin: 0 10px 10px;
  width: 5em;
}

ul#menu a { 
  background-color: white;
  color: black;
  display: block;
  padding: 0.5em;
  position:relative;
  top: -0.25em;
  left: -0.25em;
  width: 4em;
  text-decoration: none;
}

ul#menu li:hover {
  background-color: white;
}

ul#menu a:hover {
  background-color: #AAAAAA;
  color: white;
}

div#cuadro {
  border: white 10px solid;
  overflow: hidden;
  position: absolute;
  top: 3em;
  left: 9em;
  right: 5em;
  height: 70%;
}

div div {
  height: 100%;
  overflow: auto;
  width: 100%;
}

h2 {
  background-color: white;
  margin: 0px 0em;
  padding: 0px 10px 10px;
}

p {
  padding: 10px;
}

img { 
  background-color: white;
  border:  #AAAAAA 5px solid;
  float:left;
  margin-right: 20px;
  padding: 10px;
}
