
.clear {
  clear:both;
  }

body{
  background-color: lightgray;
  padding: 0px;
  margin: 0px;
  font-size: 100%;
  display: block;
  width: 98%;
  background:url(../img/degradadoAzul1.png),rgba(0,0,0,0.1);
  background-repeat:repeat-x;
}

/* el menu flotante no se usa en móvil */
div.endmatter { 
  display: none 
}

hr{
  display: none;
  }

h1,h2,h3,h4,h5,h6,p{
  margin:0px;
  margin-top: 1em;
  padding:0px;
  }
  
h1,h2,h3,h4,h5,h6{
  text-align: center;  
  }

h1{
  font-size: 1.9em;  
  }

pre{
  font-size: 4em;
  }
  
#titulo h5{
    font-size: 0.5em;
    padding: 0.5em;
  }  
  
header h1, h2, h3, h4, h5, h6{
  text-align: center;
  }

header h1{
  margin-top: 0px;
  }
header h3{
  margin-top: 0.2em;
  }
  

header #img_refugio{
  border: 0px dotted red;
  height: 130px;
  width: 90%;
  background: url(../img/refugio-medium.jpg);
  background-size: auto 130px;
  background-repeat: no-repeat;
  background-position: center center; 
  margin-left: auto;
  margin-top: 1em;
  margin-right: auto;
  margin-bottom:auto;
  }
  

#img_monterrubio{
  border: 0px dotted red;
  height: 300px;
  width: 100%;
  background: url(../img/vistaMonterrubio.jpg);
 /* background-size: auto 100%; */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom:0px;
}


#img_arbolMonterrubio{
  border: 0px dotted red;
  cursor: pointer;
  display: block;
  height: 100px;
  width: 100%;
  background: url(../img/arbolGenealogicoMonterrubio.png);
  // background-size: auto 100%; 
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  // float: left;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1em;
  margin-bottom:1em;
  }
  
#menu_lateral ul{
  border: 0px solid yellow;
  list-style-type: none;
  margin: 0.2em;
  padding: 0em;  
  text-align: center;
  margin-bottom: 2em;
  }
#menu_lateral li{
  width: 96%;
  font-size: 2em;
  height: 1.3em;
  border: 0px solid black;
  text-align: center;
  text-transform: uppercase;
  margin: 0.2em;
  padding-top: 0em;
  padding-bottom: 0px;
  border-radius:0.3em;
    
  /*  http://www.colorzilla.com/gradient-editor/ */
  background: #ebf1f6; /* Old browsers */
  background: -moz-linear-gradient(top,  #ebf1f6 0%, #abd3ee 50%, #89c3eb 51%, #d5ebfb 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ebf1f6), color-stop(50%,#abd3ee), color-stop(51%,#89c3eb), color-stop(100%,#d5ebfb)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #ebf1f6 0%,#abd3ee 50%,#89c3eb 51%,#d5ebfb 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #ebf1f6 0%,#abd3ee 50%,#89c3eb 51%,#d5ebfb 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #ebf1f6 0%,#abd3ee 50%,#89c3eb 51%,#d5ebfb 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #ebf1f6 0%,#abd3ee 50%,#89c3eb 51%,#d5ebfb 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ebf1f6', endColorstr='#d5ebfb',GradientType=0 ); /* IE6-9 */

  box-shadow: 0px 10px 15px rgba(0,0,0,4);
  }
  
#menu_lateral ul li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  }
  
#menu_lateral a{
  outline: 0;
}

#menu_lateral a:hover {
  color: grey; 
  font-weight: normal; 
  }

#menu_lateral a.active { 
  color: white; 
  }  

  
section{
  border:0px dotted yellow;
  padding: 0px;
  margin-left: 1em;
  margin-right: 1em;
  }  
  
footer {
  border: 0px dotted grey;
  margin: 1em;
  margin-top: 2em;
  padding: 5px;
  height: 6em;
  width: 94%;
}

footer a{
  display: block;
  outline: 0;
  text-align: center;
  }

footer h5{
  margin-top: 0px;
 }

section a{
  display: inline-block;
  font-size:100%;
  line-height: 1.5;
}

section ul{
  margin-left: 2em; 
  padding: 0.5em;
  margin-bottom: 1em;
  }
  /*
section li{
  text-align: center;
  padding: 5px;
  }
*/
