.logo {
    padding-top: 0;
}

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

@media (min-width: 768px) and (max-width:991px){
    .navbar-form.search{
        width: 200px;
    }
    .navbar-form.search input{
        width: 100%;
    }
    .navbar > .container{
        width: 100%;
    }
}
.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;
}
.gallery{
    padding:0;
}

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

.gallery .item.no-img p {
    font-size: 22px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width:768px) and (max-width:991px){
    .gallery .item{
        height: 170px;
    }
    .gallery .item.no-img p {
        font-size: 28px;
    }
}
@media (min-width:992px){
    .gallery .item{
        height: 200px;
    }
    .gallery .item.no-img p {
        font-size: 32px;
    }
}

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

.gallery .item a{
    text-decoration: none;
}
.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{
    background: none;
}

.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;
}


.gallery .item.no-img .gallery-buttons{
    background: none;
}

.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;
}



.search-item {
  min-height: 150px;
  border-bottom: 1px solid #000;
  padding-bottom: 10px;
}
.search-item:not(:first-child){
  padding-top: 10px;
}
.search-item .img-wrap{
  text-align: center;
}
.search-item img {
  max-width: 100%;
}
.search-item img.no-img {
  max-height: 150px;
}
.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;
}

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

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

.slideshow-content .media{
    box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.75);
}

.slideshow-content .caption{
    box-shadow: 1px 0px 4px -1px rgba(0, 0, 0, 0.75);
    color: #000;
    position: static;
    text-shadow: none;
    text-align: left;
    overflow: scroll;
    height: 100%
}

.caption .user-details{
    min-height: 70%;
}

.caption .user-details h1{
    margin-top:0;
}

.caption .details{
    min-height: 30%;
}

.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: 14%;
    padding: 0;
    margin: 0 5px;
    overflow: hidden;
}
.insight .item.no-img {
    background-color: #f4f4f4;
    border: 1px solid #cdcdcd;
}
.insight .item.no-img p{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.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;
}
