/* app css stylesheet */

.menu {
  list-style: none;
  border-bottom: 0.1em solid black;
  margin-bottom: 2em;
  padding: 0 0 0.5em;
}

.menu:before {
  content: "[";
}

.menu:after {
  content: "]";
}

.menu > li {
  display: inline;
}

.menu > li:before {
  content: "|";
  padding-right: 0.3em;
}

.menu > li:nth-child(1):before {
  content: "";
  padding: 0;
}

.album-cover {
    display: inline-block;
    max-width: 200px;
    padding: 10px;
    vertical-align: top;
}

.notebook-bubble {
    margin: 16px 0;
    padding: 10px;
    height: 75px;
    max-width: 280px;
    border: 1px solid #d2d2d2;
    overflow: hidden;
}

.notebook-bubble-width {
    max-width: 280px;
}

.notebook-bubble .cover-photo {
    padding-right: 8px;
    width: 75px;
    height: 75px;
}

.notebook-bubble .description {
    max-height: 2em;
}

#notebook h2 {
    /* background: #4fac00; */
}

.items { 
    position: relative;
}

.item {
    border-top: 1px solid #4fac00;
    cursor: pointer;
    margin-bottom: 4px;
}

.repeat-item.ng-enter,
.repeat-item.ng-leave {
  -webkit-transition:5.5s linear all;
  -moz-transition:5.5s linear all;
  -o-transition:5.5s linear all;
  transition:5.5s linear all;
}

.repeat-item.ng-enter,
.repeat-item.ng-leave.ng-leave-active {
  opacity:0;
}
.repeat-item.ng-leave,
.repeat-item.ng-enter.ng-enter-active {
  opacity:1;
}

.item.ng-enter,
.item.ng-leave,
.item.ng-move {
  -webkit-transition:5s linear all;
  -moz-transition:5s linear all;
  -o-transition:5s linear all;
  transition:5s linear all;
  position:relative;
}

.item.ng-enter,
.item.ng-move,
.item.ng-leave.ng-leave-active {
  left:-100px;
  opacity:0;
}

.item.ng-leave,
.item.ng-move.ng-move-active,
.item.ng-enter.ng-enter-active {
  left:0;
  opacity:1;
}

.item > .byline {
    font-size: .9em;
    font-weight: bold;
}

.byline > .source {
    color: #4fac00;
}

.item-thumb {
    margin: 8px 0 8px 8px;
}

.oneline {
    max-height: 1.2em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rotateforever {
    -webkit-animation: rotateforever 1.5s linear infinite;
    -moz-animation: rotateforever 1.5s linear infinite;
    animation: rotateforever 1.5s linear infinite;
}

#add-item-modal .thumbnail {
     max-height: 100px;
     max-width: 100px;
     display: inline-block;
}

.view-container {
  position: relative;
  overflow: hidden;
}

.my-slide-animation.ng-enter,
.my-slide-animation.ng-leave {
  -webkit-transition: left cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
  -moz-transition: left cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
  -o-transition: left cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
  transition: left cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;

  display: block;
  width: 100%;

  position: relative;
  top:0;
  left:0;
  right:0;
  bottom:0;
  height:100%;
}

.my-slide-animation.ng-enter {
  left: 100%;
  /* opacity:0; */
}
.my-slide-animation.ng-enter.ng-enter-active {
  left: 0;
  /* opacity:1; */
}

.my-slide-animation.ng-leave {
  left: 0;
  /* opacity:1; */
}
.my-slide-animation.ng-leave.ng-leave-active {
  left: -100%;
  /* opacity:0; */
}

@-webkit-keyframes rotateforever {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-moz-keyframes rotateforever {
  0% {
    -moz-transform: rotate(0deg); 
    transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotateforever {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* to get modal scroll on small screens */
@media (max-width: 480px)
{
    .modal {
        position: fixed;
        top: 3%;
        right: 3%;
        left: 3%;
        bottom: 3%;
        width: auto;
        margin: 0;
    }
    .modal-body {
        max-height: 350px;
        padding: 15px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
     }
}
