/* XHTML y CSS con AMAYA
   Bartolomé Sintes Marco
   http://www.mclibre.org
   
   CSS examen: Vídeos en páginas web (turno de tarde)
   29 de enero de 2010
*/

html {
  background-color: lightgrey;
  background-image: url("monitor.png");
  background-position: top left;  
  background-repeat: repeat-y;
  font-family: monospace;
  margin-left: 5%;
  padding-left: 15%;
  text-align: justify;
}

body {
  margin-right: 25%;
}

h1 { 
  background-color: black;
  color: white;
  text-align: center;
  text-transform: capitalize;
}

h2 { 
  margin-top: 0px;
}

h3 {
  margin: 5px 5px;
}

span.titulo {
  background-color: black;
  color: white;
  padding-left: 20px;
  padding-right: 20px;
}

div {
  border: black 1px solid;
}

div#grande {

  position: absolute;
  top: 20%;
  left: 20%;
  width: 60%;
  height: 70%;
  overflow: hidden;
}

div#grande div {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: auto;
}

div div p:first-letter {
  font-size: 200%;
  font-weight: bold;
}

p {
  padding: 0px 20px;
}

img.der {
  float: right;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 5px;
}

address { 
  background-color: black;
  color: white;
  font-weight: bold;
  text-align: center;
  text-style: normal;
  position: absolute;
  bottom: 10px;
  width: 60%;
}

strong {
  border-bottom: black 1px dashed;
}

ul { 
  list-style-type: none; 
  margin-right: 30px;
  margin-top: 5%;
  text-align: center;
}

li { 
  border: black 2px solid; 
  display: inline; 
  margin-right: 20px; 
}

a { 
  color: black; 
  padding: 0 4px; 
  text-decoration: none; 
}

a:hover { 
  background-color: white; 
  color: red; 
}
