.gallery{
    padding:0;
}

.gallery .item {
    position:relative;
    height: 200px;
    width: 18%;
    padding: 0;
    margin: 1%;
    border: 1px solid #cdcdcd;
    overflow: hidden;
}

.gallery .item.no-img {
    background-color: #dddddd;
    border: 1px solid #cdcdcd;
}

.gallery .item p {
    text-align: center;
    color: #505050;
    font-size: 15px;
    position: absolute;
    width:100%;
    background-color: rgba(255, 255, 255, 0.7);
    bottom: 0;
    margin: 0;
}    

.gallery .item.no-img p {
    font-size: 38px;
    height: 173px;
    padding-top: 25px;
}

.gallery .item img {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: auto;
    -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
}

.gallery .item .img-landscape {
    height: 100%;
    width: auto;
}

.gallery-buttons{
    font-size:15px;
    position: absolute;
    width: 100%;
    padding: 2px 5px;
    background-color: rgba(255, 255, 255, 0.7);
}

.gallery-buttons a{
    cursor: pointer;
}

.subtitle {
    border-top: 1px solid #000;
    border-bottom: 1px dotted #000;
    margin-top: 20px;
    padding: 6px 0 10px;
}

.add-book{
    padding:20px;
}
.add-book input{
    margin-bottom: 10px;
}

.accordion-toggle .glyphicon{
    font-size: 17px;
    margin-left:10px;
}

.list-books:nth-child(odd){
    background-color:#f8f8f8;
}