.logo {
    padding-top: 0;
}

.ammico-content {
    max-width: 1170px;
    min-width: 970px;
}

@media(max-width:991px){
    .navbar > .container{
        width: 100%;
    }
}
.search-item {
  min-height: 250px;
  border-bottom: 1px solid #000;
  padding-bottom: 10px;
}
.search-item:not(:first-child){
  padding-top: 10px;
}
.search-item img {
  max-width: 100%;
}
.search-img-max {
  max-height: 230px;
}
.search-item p, .search-item a.btn {
    margin: 0 0 5px;
}
.subtitle {
    border-top: 1px solid #000;
    border-bottom: 1px dotted #000;
    margin-top: 20px;
    padding: 6px 0 10px;
}
.modal-body a{
    cursor: pointer;
}
.auth{
    display:block;
    margin:auto;
}

.auth input{
    width: 300px;
    margin: 10px 0;
}

.ng-invalid {
    border-color: red;
    outline-color: red;
}

.messages {
  font-size: smaller;
  padding-top: 5px;
  padding-bottom: 10px;
  color: red;
}
.slide {
    margin-top: -20px;
}

.slide-title,
.slide-nav,
.slide-content {
    border-bottom:1px solid grey;
}

.slide-nav{
    padding:10px 0;
    display: inline-block;
    width: 101%;
}

.slide-content{
    padding:10px 0;
    height: 500px;
}

.media{
    border-right:1px solid grey;
    height: 100%;
    padding: 20px;
}

.media figure{
    display: initial;
}

.media img,
.media video{
    max-height: 100%;
    max-width: 100%;
    display: block;
    margin: auto;
    -webkit-box-shadow: 0 0 15px 0 rgba(0,0,0,0.60);
    -moz-box-shadow: 0 0 15px 0 rgba(0,0,0,0.60);
    box-shadow: 0 0 15px 0 rgba(0,0,0,0.60);
}

.slide .caption {
    color: #000;
    position: static;
    text-shadow: none;
    text-align: left;
    overflow: scroll;
    height: 100%
}

.caption hr{
    border-color: grey;
}

.original-text {
    font-style: italic;
}

.caption .details{
    background-color: #F2F2F2;
}

.user-details textarea.form-control {
    height: 140px;
    margin: 10px 0;
}
.user-details input.form-control{
    margin: 10px 0;
}

.user-details label{
    margin-bottom: 0;
}

#back{
    float:left;
    margin: 0 10px;
}

#previous,
#next{
    float:right;
    margin: 0 10px;
}
.slide .user-details p,
.slide .user-details h4{
    border: 1px solid #ededed;
    min-height: 21px;
    padding: 6px 12px;
    border-radius: 4px;
}

.slide .user-details p.description{
    min-height: 140px;
}




.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;
}
.slideshow{
    margin-top:-20px;
}

/* .slide-title{ */
/*     display: block; */
    
/* } */
.slideshow-content{
    margin-bottom : 15px;
    height: 465px;
}

.slideshow-content .media{
    border: 1px solid #a8a8a8;  
}

.slideshow-content .caption{
    border-top: 1px solid #a8a8a8;
    color: #000;
    position: static;
    text-shadow: none;
    text-align: left;
    overflow: scroll;
    height: 100%
}
}
.slideshow-title .book{
    font-size: 15px;
}
.slideshow-title h1 {
    display: inline-block;
    padding:0 15px;
}
.slideshow-title p{
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: right;
}
.slideshow-title .author{
    font-size: 15px;
}
.slideshow-title .count{
    font-size: 15px;
}

.carousel-caption {
    color: #000;
    position: static;
    text-shadow: none;
    text-align: left;
}

.carousel-indicators {
    display: none;
}

.carousel-control {
    width: 0;
    cursor: pointer;
    color:#6e6e6e;
    opacity:1;
}

.insight{
    overflow-x: auto;
    white-space: nowrap;
    height: 125px;
    margin: 0 15px; 
}

.insight .item {
    cursor: pointer;
    display: inline-block;
    position:relative;
    height: 115px;
    width: 13%;
    padding: 0;
    margin: 0 5px;
    border: 1px solid #cdcdcd;
    overflow: hidden;
}
.insight .item img {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 101%;
    height: auto;
    -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
}

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