

/* ==========================================================================
   custom styles go here.
   ========================================================================== */
body {
    background: #eee;
}
.jumbotron {
    position: relative;
    background: #000 url("../img/movie-reel-bg-dark.jpg") center center;
    width: 100%;
    height: 100%px;
    color: #fff !important;
    background-size: cover;
    overflow: hidden;
}
#searchView {
  margin-top:50px;
}

.recentSearches {
  line-height: 3.0rem;
}

ul.movies li {
    display: inline-block;
    padding: 0px 0px 0px 0px;
    margin: 0 0 2.5% 2.5%;
    background: #fff;
    border: 1px solid #ddd;
    font-size: 16px;
    font-size: 1rem;
    vertical-align: top;
    /*box-shadow: 0 0 5px #ddd;*/
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-shadow: 0 2px 4px -2px #232323;
    -moz-box-shadow: 0 2px 4px -2px #232323;
    -webkit-box-shadow: 0 2px 4px -2px #232323;
}

ul.movies li img {
    width: 150px;
    height: 225px;
    margin: 0 0 10px;

}

ul.movies li h3 h4 {
    margin: 0 0 5px;
}
ul.movies li p {
    font-size: 1.5em;
    line-height: 2.0em;
    color: #777;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;

}

ul.movies li .title {
    margin: 0 5px 0 5px;
}


ul.movies.columns-auto li {
     width: 150px;
}

.grid-container {
    display:block;
}

.movie {
    position:relative;
    overflow: hidden;
}

.movieStats {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.75);
  color: #eee;
  margin:0;
  padding: 50% 5px 20px 5px;
  font-size: 1.5rem;
  opacity: 0;

  /*remove comment if you want a gradual transition between states
  -webkit-transition: visibility opacity 0.2s;
  */
 
  transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -webkit-transition: opacity .25s ease-in-out;
}


.movie:hover .movieStats {
  visibility: visible;
  opacity: 1;
}


footer {
    position:fixed;
    background-color: #fff;
    opacity: 0.85;
    bottom:0;
    left:0;
    right:0;
    padding: 10px 20px 10px 20px;
    margin-top: 50px;
    text-align: center;
}

#results {
    margin-bottom: 100px;
    transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.offscreen {
    /*visibility: hidden;*/
    opacity: 0;
}

.onscreen {
    /*visibility: visible;*/
    opacity: 1;
}

.animation-enter {
    opacity: 0.01;
 }
.animation-enter.animation-enter-active {
     opacity: 1;
     transition: opacity .5s ease-in;
     -moz-transition: opacity .5s ease-in;
      -webkit-transition: opacity .5s ease-in;
 }

 .animation-leave {
  opacity: 1;
}

.animation-leave.animation-leave-active {
  opacity: 0.01;
  transition: opacity .5s ease-in;
  -moz-transition: opacity .5s ease-in;
  -webkit-transition: opacity .5s ease-in;
}

@media (max-width: 480px) {
    ul.movies li {
        width: 100% !important; /* over-ride all li styles */
        margin: 0 0 20px;
    }
    ul.movies li img {
        width: 100%;
        height: auto;
        margin: 0 0 10px;
    }
}

