/* Llibres
   ========================================================================== */
/* Slider fet amb bxslider (http://bxslider.com/) */

#llibres {
    background-color: #2f2d2d;
    padding-bottom: 60px;
    padding-top: 30px;
    position: relative;
}

#llibres .titol-seccio a {
    margin-bottom: 30px;
}

#llibres .titol-seccio a {
    color: #a9a6a7;
}

#llibres li img {
    height: auto;
}

#llibres li h6 {
   background-color: rgba(0, 0, 0, 0.5);
    bottom: 0;
    color: white;
    font-size: 24px;
    font-weight: bold;
    left: 0;
    margin: 0;
    padding: 21px;
    position: absolute;
    right: 0;
    top: 0;
}

#llibres li a:hover h6 {
    background-color: rgba(0, 0, 0, 0);
}

#llibres li .meta-llibre span {
    display: block;
    line-height: 1.3em;
}

#llibres .bx-controls-direction {
    position: absolute;
    top: 200px;
    width: inherit;
}

#llibres .bx-controls-direction a {
    text-decoration: none;
}

#slider-next {
    position: inherit;
    right: -5px;
}

#slider-prev {
    left: -33px;
    position: absolute;
}

#slider-prev a,
#slider-next a {
    background-color: black;
    border: 4px solid #2f2d2d;
    border-radius: 10em;
    color: white;
    display: inline-block;
    font-size: 34px;
    height: 68px;
    padding: 5px 14px;
    width: 68px;
}

/*  ====================
    MEDIA QUERIES
    ==================== */

/*Només mobil*/

@media (max-width: 768px) {

    #llibres li h6 {    
        font-size: 18px;
    }

    #llibres .bx-controls-direction {
        position: static;
        width: 100%;        
        margin-top: 10px;
    }

    #slider-prev a, #slider-next a {
        border: 4px solid #2f2d2d;
        font-size: 16px;
        height: 45px;
        padding: 7px 11px;
        width: 45px;
    }

    #slider-prev {    
        position: static;
    }

}

/* Exclos mobil */

@media (min-width: 768px) {

}

/* mobil + tablet */

@media (max-width: 992px) {

}

/* Només tablet */

@media (min-width: 768px) and (max-width: 992px) {

}

/* Entre md i lg */

@media (min-width: 992px) and (max-width: 1200px) {

}

/* Des de md */

@media (min-width: 992px) {

}

/* lg */
@media (min-width: 1200px) {

}