/* Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Estils DataLibri */

html{
     font-size: 18px;   
}

body{
    font-family: 'Montserrat', sans-serif;
    margin-top: 25px;
}

img{
    width: 100%;
}

.container{
    max-width: 1280px;
    margin: 0 auto;
}

.wrapper {
    width: 90%;
    margin: 0 auto;
}

.vermell-corporatiu{
    color: #A51C29;
}

.gris-corporatiu{
    color: gray;
}


.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }

.eslogan {
    font-size: 47px;
    margin: 20px;
}

.subeslogan {
    font-size: 30px;
    line-height: 1.2em;
    padding: 15px 0;
}

.entradilla {
    text-align: center;
    margin: 30px 0;
}



.fitxa {
    float: left;
    width: 31.33%;
    box-sizing: border-box;
    margin-left: 3%;
    text-align: center;
    font-size: 22px;
    line-height: 1.3em;
    color: #fff;;
}

.fitxa:first-child{
    margin-left: 0;
}

.fitxa-sup, .fitxa-inf {
    padding: 20px;
    background: #A51C29;
    height: auto;
    min-height: 50px;
}

.fitxa-inf{
    min-height: 140px;
}


.fila {
    clear: both;
    height: auto;
    overflow: hidden;
    margin-top: 20px;
}

.separador-fitxa {
    height: 20px ;
    position: relative;
}

.separador-fitxa>img{
    height: 40px;
    margin: -10px auto;
}

.ribet {
    width: 30px;
    margin: 1px 3px
}

.boto-informa {
    width: 170px;
    float: right;
}

.crida {
    float: left;
}

.crida > p{
    font-size: 34px;
    line-height: 1.3em;
    font-style: italic;
    font-weight: bold;
    color: #A51C29;
}



.linia-separadora {
    border-bottom: 2px #666 solid;
    margin: 40px 0;
}

footer{
     padding-bottom: 50px;   
}

.logo-peu {
    float: left;
    width: 10%;
    min-width: 100px;
    margin-right: 2%;
}

.missatge-peu {
    float: left;
    width: 50%;
    box-sizing: border-box;
    font-size: 20px;
    line-height: 1.2em;
    padding-top: 15px
}

.missatge-peu a{
    text-decoration: none;
    color:#A51C29;
}

.missatge-peu a:hover{
    text-decoration: underline;
}

.logo-tsdl {
    float: right;
    width: 30%;
    box-sizing: border-box;
}

/* Pàgina del manual */

#manual-metadatos h1{

    font-size: 38px;
    padding: 10px 0;
}

#manual-metadatos h2{

    font-size: 16px;
    padding: 0 0 20px 0;
}

#manual-metadatos p{

    font-size: 16px;
    line-height: 1.3em;
    color: gray;
}

#manual-metadatos .descripcio-llibre ul {
  list-style: outside none disc;
  margin: 25px 0 25px 15px;
}

#manual-metadatos li{

    font-size: 16px;
    line-height: 1.5em;
    color: gray;
}

#manual-metadatos .precio-lanzamiento{
    padding: 20px;
    border: 2px solid #a51c29;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
    overflow: hidden;
    float: left;
    margin-left: 2%;
    /*width: 50%;    */
    margin-bottom: 25px;
	min-width: 170px;
}

#manual-metadatos .precio-lanzamiento  p {
  color: #a51c29;
  font-size: 20px;
  margin-bottom: 10px;  
}

.icona-pdf {
  float: left;
  width: 75px;
  margin-right: 15px;
}

.descarga-index {
  float: left;
}

#manual-metadatos .descarga-index p {
  color: #a51c29;
  font-size: 24px;
  margin-left: 80px;
  padding: 40px 20px;
}


.boto-reserva {
    width: 48%;
  max-width: 125px;
    margin-left: 50px;
  float: left;
}

.coberta-llibre{

    width: 30%;
    float: left;
    margin-right: 5%;
}

.descripcio-llibre {
    width: 65%;
    float: left;
}


.icono-lanzamiento {
	float: left;
    width: 150px;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

.slider{
  position: relative;
}
.gotoInici {
  height: 50%;
  position: absolute;
  width: 25%;
  z-index: 100;
}

.gotoContacto {
  height: 50%;
  position: absolute;
  width: 25%;
  z-index: 100;
}

.baner-leer-mas {
  bottom: 5px;
  position: absolute;
  right: 5px;
  width: 15%;
}


/* Media queries */

@media screen and (max-width: 1090px){


}

@media screen and (max-width: 700px){
 
   .crida{
        float: none;
        width: 100%;
        text-align: center;
    }
    
    .boto-informa{
        float: none;   
        margin: 10px auto;
        width: 150px;
    }
    /*
    .logo-missatge-peu {
        margin: 0 auto;
        height: auto;
    }

    .missatge-peu {
        float: none;
        box-sizing: border-box;
        font-size: 20px;
        line-height: 1.2em;
        padding-top: 15px
    }
*/ 
 

    .fitxa{
        width: 80%;  
        margin: 0 auto 15px;
        float: none;
    }
    
    .fitxa:first-child {
      margin-left: auto;
    }

    .logo-peu {
        float: none;
        width: 10%;
        min-width: 100px;
        margin: 10px auto;
    }
        

    .missatge-peu {
        float: none;        
        text-align: center;
        width: 100%;
        margin: 20px auto;
        
    }

    .logo-tsdl {
        clear: both;
        float: none;
        margin: 10px auto;
        width: 70%;
    }    

    .coberta-llibre{
        float: none;
        margin: 0 auto;
    }

    .descripcio-llibre{
        float: none;
        width: 100%;
    }
}

@media screen and (max-width:500px){
    
    .precios{
        float: none;
        width: 100%;
    }
}