#llibre {}

#llibre  {
  display:block;
  margin:auto;
  vertical-align:top;
  max-width:600px; 
}

#llibre h1 { color:#00a; font-size:25px;  line-height:25px; background:none;}
#llibre h2 { color:#33a; font-size:20px;}
#llibre h3 { color:#66a; font-size:15px;}
#llibre h1,h2,h3 {
  text-align:left;
  margin:0;
  padding:0;
  font-weight:bold;
}


#llibre .imatge {
  vertical-align:top;
  display:inline-block;
  width:55%;
  padding-right:20px; 
} 
#llibre .imatge img {
  display:block;
  width:100%;
}
 .master {
  text-align:center;  
} 

#llibre table.datos img {
    max-width:100%;
    min-height:40px;
    display:block;
}

#llibre table.datos {
  line-height:20px;
  width:45%;  
  display:inline-block;
  margin-top:10px;
}

#llibre table.datos th {
  vertical-align:top;
  text-align:left;
  width:35%; 
  border-bottom:1px dashed #ccc;
  font-size:13px;
  color:#000;
}

#llibre table.datos td {
  vertical-align:top;
  text-align:left;
  width:65%; 
  border-bottom:1px dashed #ccc;
  color: black;
}

#llibre table.datos td.ubicespecial {
  background:blue;
  color:white;
  font-weight:bold;
  padding:10px;
}

#llibre .prestat {
  background:rgba(255,0,0,.8);
  color:#fff;
  padding:3px;
  font-weight:bold;
}

#llibre .textos {
  margin-bottom:15px;
  background:#eee;
  color:#000;
  padding:5px;
}

#llibre .textos h2 + br,
#llibre .textos hr + br {
  display:none;
}


#llibre .prestecs {
  margin-top:30px;
}

#llibre .prestecs table {
  background:#333;
  padding:10px;
  width:100%;
}
#llibre .prestecs table th {
  background:#333;
  padding:10px;
  color:#fff;
}

#llibre .prestecs table td {
  background:#fff;
  padding:10px; 
  text-align:center;
}

#llibre .signatura {
  display:inline-block;
  border:1px solid #000;
  text-align:center;
  margin:10px;

}
#llibre .signatura .s2 {
  /*color:#FFF;
  background:#000;*/
  font-weight:bold;
}


#llibre .signatura div {
  padding:10px;
  padding-left:30px;
  padding-right:30px;  
  color:#000;
}

@media all and (max-width:480px) {
  #llibre .imatge {
    display:block;
    width:100%;
    padding:0px; 
  }   
  #llibre table.datos {
    width:100%;  
    display:block;
    margin-top:10px;
  }  
  #llibre table.datos td {
    width:50%; 
  }  
}

