body {
  margin: 0;
  padding: 0;
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "fontello";
  font-size: 16px;
  background: #242424;
  min-width: 768px;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  outline: 0;
}

h3 {
  margin-top: 0;
  margin-bottom: 0.5em;
}

input[type=text] {
  width: 90%;
  box-sizing: border-box;
  border: 0 solid #888;
  border-radius: 0;
  background-color: #242424;
  color: #eee;
  font-size: .8em;
  outline: none;
  padding: 4px 8px;
  font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
  margin: 8px;
}

input[type=text]:hover {
  border: 0 solid #ddd;
}

@font-face {
  font-family: 'fontello';
  src: url('./font/fontello.eot?64918320');
  src:
    url('./font/fontello.eot?64918320#iefix') format('embedded-opentype'),
    url('./font/fontello.woff?64918320') format('woff'),
    url('./font/fontello.ttf?64918320') format('truetype'),
    url('./font/fontello.svg?64918320#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}

.active {
  color: #eee;
  font-weight: bold;
}

.sidenav {
  height: 55px;
  width: 100%;
  position: relative;
  top: 0;
  left: 0;
  padding: 0;
  color: #888;
  text-align: left;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  background-color: #111;
}

.sidenav a {
  display: block;
}

.sidenav span {
  text-align: center;
  display: block;
}

.sidenav a:hover {
  color: #eee;
}

.main {
  color: #dedede;
  min-height: 100vh;
}

.main-tab {
  display: flex;
  justify-content: space-around;
}

.media-container {
  padding: 0;
  margin: 2rem 0 2rem 2rem;
  list-style: none;
  grid-template-columns: repeat(auto-fill, 200px);
  grid-gap: 2em;
  display: grid;
}

.media-item {
  background: #111;
  width: 180px;
  height: 340px;
  overflow: hidden;
  color: white;
  position: relative;
  transition: 0.3s ease;
}

.media-item img {
  width: 180px;
  height: 270px;
}

.info {
  padding: 0.75em;
}

.media-item .title {
  margin: 0 0 0.2em 0;
  font-size: .9em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.media-item .year {
  font-size: 0.75rem;
  color: #888;
}

.media-overlay {
  transition: 0.3s ease;
  opacity: 0;
  background-color: #111;
  color: #fff;
  font-weight: bold;
  top: 0;
  left: 0;
  position: absolute;
  height: 270px;
  width: 100%;
  text-align: center;
}

.media-item:hover .media-overlay {
  opacity: 0.8;
  transition: 0.3s ease;
}

.media-item .rating {
  display: block;
  font-size: 1.5em;
  line-height: 1.5em;
  padding: 1.5em;
  margin-bottom: 1em;
}

.media-item .genre {
  display: block;
  line-height: 1.75em;
  max-height: 5.8em;
  overflow: hidden;
  font-size: .75em;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
}

.media-item .search-attributes {
  display: none;
}

.plot {
  padding: 2em 0;
  font-size: 14px;
  line-height: 1.5em;
  letter-spacing: .5px;
}

#play-movie a {
  color: #999;
  text-decoration: none;
}

#play-movie a:hover {
  color: #fff;
}

.trailer {
  position: relative;
}

.thumb {
  display: block;
  max-height: 600px;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
}

iframe {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 0;
  height: 600px;
  width: 100%;
}

#play-trailer {
  position: absolute;
  color: red;
  font-size: 3em;
  user-select: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tab .poster {
  flex: 0 0 400px;
}

.tab .poster img {
  width: 400px;
  height: 600px;
  display: block;
}

.tab .year {
  color: #888;
  font-size: 1.5rem;
  text-align: center;
  display: block;
  font-weight: 300;
}

.tab .bubbles {
  display: flex;
  flex-wrap: wrap;
  margin: 1em 0;
  justify-content: space-between;
}

.tab .bubble {
  padding: 0.5em 1em;
  border-radius: 0em;
  background-color: black;
  margin-bottom: 1em;
  font-size: .75em;
  font-weight: bold;
}

.tab .listings {
  display: flex;
  flex-wrap: wrap;
  margin: 1em;
  justify-content: space-between;
  flex-direction: row;
}

.tab .listing {
  flex: 1;
  min-width: 300px;
  max-width: 300px;
  margin: 1em;
  padding: 0.5em 1em;
}

.tab .section {
  padding-left: 2.5em;
  padding-right: 2.5em;
}

.tab .title {
  margin: 0;
  text-align: center;
}

.navigation-area a.side-bar-item {
  padding: 20px 24px;
  margin: 0;
}

a.side-bar-item {
  display: inline-flex;
  align-items: center;
}

a.side-bar-item.active {
  background-color: #242424;
}

a.side-bar-item > span:first-child {
  font-size: 13px;
  flex: 0;
  margin-right: 8px;
}

a.side-bar-item > span:last-child {
  font-size: 13px;
  letter-spacing: 1px;
}

/*
 * TV Shows
 */

.episode-list {
  margin: 1em 0;
  padding: 0 1em;
  list-style: none;
}

.episode-heading {
  padding: 0 1.5em;
}

.episode-list .episode-number,
.episode-list .episode-play-button {
  font-size: 0.8em;
  color: #bbb;
  display: inline-block;
  margin-right: 0.5em;
  width: 20px;
}

.episode-list .episode-play-button {
  display: none;
}

.episode-list li:hover .episode-number {
  display: none;
}

.episode-list li:hover .episode-play-button {
  display: inline-block;
}

.episode-list li {
  display: flex;
  flex-wrap: nowrap;
  padding: 0.75em 0.5em;
  border-radius: 2px;
  background: #222;
}

.episode-list li:hover {
  background: #444;
  transition: background ease 0.5s;
}

.episode-list .episode-title {
  flex-grow: 2;
}

.episode-list .episode-duration {
  margin-left: 1em;
}

/*
 * Search Area
 */

.search-area {
  display: flex;
  margin-left: auto;
}

.search-area input {
  overflow: hidden;
}

.site-brand {
  margin: 8px 16px;
  padding: 8px;
}

.site-logo {
  height: 24px;
  width: 24px;
  display: block;
  padding: 0 4px 0 0 !important;
}

.site-title {
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
}

.site-subtitle {
  padding-left: 4px !important;
  padding-right: 0 !important;
  font-size: 18px !important;
  text-transform: uppercase;
}

.search-icon-fix {
  height: 25px;
  margin-top: 16px;
}

.navigation-area {
  white-space: nowrap;
}