/* GENERAL */
html, body {
  background-color: #1f1a17;
  border: 0;
  color: #FFF;
  font-size: 24px;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
}

html, body, input, select, button {
  font-family: Arial, Helvetica, sans-serif;
}

*, *::after, *::before {
  box-sizing: border-box;
  outline: none;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.2rem;
}

h3 {
  font-size: 1rem;
}

a {
  color: #FFF;
  text-decoration: none;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 3px;
}

input {
  background: #FFF;
  border: 2px solid transparent;
  border-radius: 5px;
  color: #000;
  display: block;
  font-size: 1rem;
  height: 2.6rem;
  margin-bottom: 0.85rem;
  padding: 5px 1rem;
  transition: border 0.2s ease-in-out;
  width: 100%;
}
input.hover, input:focus, input:active {
  background: #ffc8a4;
  border-color: #F37521;
  outline: none;
}

.mouse input:hover {
  background-color: #ffc8a4;
  border-color: #F37521;
  outline: none;
}

button {
  background: #000;
  border: 0;
  border-radius: 5px;
  color: #FFF;
  cursor: pointer;
  display: block;
  font-size: 1rem;
  height: 3.12rem;
  text-transform: uppercase;
  transition: background 0.2s ease-in-out;
  padding: 0 0.83rem;
  width: 100%;
}
button.hover, button:focus, button:active {
  background: #F37521;
}

.mouse button:hover {
  background: #F37521;
}

input[type=range] {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  height: 8.4px;
  margin: 0;
  padding: 0;
  width: 100%;
}
input[type=range]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 1.3px;
  cursor: pointer;
  width: 100%;
}
input[type=range]::-moz-range-track {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 1.3px;
  cursor: pointer;
  height: 8.4px;
  width: 100%;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: transparent;
}
input[type=range]:focus::-moz-range-track {
  outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: #FFF;
  border-radius: 16px;
  cursor: pointer;
  height: 16px;
  margin-left: -1px;
  width: 16px;
}
input[type=range]::-moz-range-thumb {
  background: #FFF;
  border: 1px solid #FFF;
  border-radius: 100%;
  cursor: pointer;
  height: 14px;
  margin-top: 5px;
  width: 14px;
}

progress {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 5px;
  height: 8.4px;
  pointer-events: none;
  width: 100%;
}
progress::-webkit-progress-bar {
  background: #c25d1b;
  border-radius: 5px;
}
progress::-webkit-progress-value {
  background: #FFF;
  border-radius: 5px 0 0 5px;
}
progress::-moz-progress-bar {
  background: #FFF;
  border: 1px solid #FFF;
}

.hidden {
  display: none !important;
}

@media screen and (max-width: 1050px) {
  html, body {
    font-size: 20px;
  }
}
@media screen and (max-width: 860px) {
  html, body {
    font-size: 16px;
  }
}
@media screen and (max-width: 640px) {
  html, body {
    font-size: 14px;
  }
}
/* DROPDOWN */
.dropdown {
  background: #FFF;
  border: 2px solid transparent;
  border-radius: 5px;
  color: #000;
  padding: 0;
  position: relative;
}
.dropdown input {
  display: none;
}
.dropdown .dropdown-value {
  border-radius: 5px;
  cursor: pointer;
  display: block;
  height: 2.6rem;
  line-height: 2rem;
  overflow: hidden;
  padding: 5px 3rem 5px 1rem;
  position: relative;
  text-align: left;
  transition: border 0.2s ease-in-out;
  width: 100%;
}
.dropdown .dropdown-value:after {
  background: transparent url(../icons/arrow-down.svg) no-repeat;
  background-size: 100% auto;
  content: "";
  display: block;
  height: 0.83rem;
  margin-top: -0.41rem;
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.83rem;
  z-index: 12;
}
.dropdown .dropdown-list {
  background: #FFF;
  border-radius: 5px;
  border: 2px solid #000;
  color: #000;
  display: none;
  left: 0;
  max-height: 10rem;
  overflow: auto;
  text-align: left;
  top: 100%;
  position: absolute;
  right: 0;
  z-index: 2;
}
.dropdown .dropdown-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dropdown .dropdown-list li {
  cursor: pointer;
  padding: 0.4rem 1rem;
}
.dropdown .dropdown-list li.hover {
  background: rgba(0, 0, 0, 0.1);
}
.dropdown.hover, .dropdown:focus, .dropdown:active {
  background-color: #ffc8a4;
  border-color: #F37521;
  outline: none;
}
.dropdown:focus-within {
  background-color: #ffc8a4;
  border-color: #F37521;
  outline: none;
}
.dropdown.active .dropdown-list {
  display: block;
}

.mouse .dropdown:hover {
  background-color: #ffc8a4;
  border-color: #F37521;
  outline: none;
}

.mouse .dropdown-list li:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* LOADING */
#loading {
  background-color: transparent;
  bottom: 0;
  display: flex;
  height: 100vh;
  left: 0;
  overflow: hidden;
  position: fixed;
  text-align: center;
  transition: background 0.25s ease-in-out;
  top: -100vh;
  right: 0;
  width: 100vw;
  z-index: 999;
}
#loading span {
  background: transparent url(../icons/loading.svg) no-repeat;
  background-size: 100% auto;
  flex: 0 0 auto;
  height: 4.15rem;
  margin: auto;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  width: 4.15rem;
}
#loading.active {
  background-color: rgba(0, 0, 0, 0.65);
  top: 0;
}
#loading.active span {
  opacity: 1;
}

/* LOGIN */
body.page-login #menu {
  display: none;
}
body.page-login #content {
  padding: 0 !important;
}

#login {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  position: relative;
}
#login form {
  flex: 1;
  margin: auto;
  max-width: 500px;
  padding: 1rem 0.83rem;
  position: relative;
  text-align: center;
}
#login form > div {
  position: relative;
}
#login label {
  background: #f37521;
  border-radius: 0.25rem 0.25rem 0 0.25rem;
  bottom: 80%;
  left: 0;
  padding: 0.25rem 0.5rem;
  position: absolute;
  z-index: 2;
}
#login input,
#login .dropdown {
  margin-bottom: 2rem;
}
#login button {
  background: #f37521;
  border-color: #f37521;
  font-weight: bold;
  margin-bottom: 2rem;
}
#login button.hover,
#login button:focus,
#login button:active {
  background: #5d2500;
}
#login #message {
  background: #a50404;
  border-radius: 0.25rem;
  margin-top: 0.83rem;
  padding: 10px;
}

.mouse #login button:hover {
  background: #5d2500;
}

/* MENU */
#menu {
  align-items: center;
  background: #2f2f2f;
  box-shadow: 0 1px 1px rgb(0, 0, 0), 0 1px 1px rgba(255, 255, 255, 0.3), 0 1px 15px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-flow: row;
  justify-content: center;
  left: 0;
  min-width: 300px;
  right: 0;
  padding: 0.5rem 1rem;
  position: relative;
  top: 0;
  z-index: 2;
}
#menu .links {
  flex: 0 1 auto;
}
#menu .link {
  background: transparent;
  border-radius: 5px;
  cursor: pointer;
  color: #FFF;
  display: inline-block;
  padding: 10px 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  vertical-align: middle;
}
#menu .link.active {
  background: #F37521;
}
#menu .link.hover {
  background: #000;
}
#menu .link span {
  display: inline-block;
  vertical-align: middle;
}
#menu .link span.icon {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  content: "";
  display: inline-block;
  height: 28px;
  vertical-align: middle;
  width: 28px;
}
#menu .link.link-home span.icon {
  background-image: url(../icons/home.svg);
}
#menu .link.link-explore span.icon {
  background-image: url(../icons/explore.svg);
}
#menu .link.link-watchlist span.icon {
  background-image: url(../icons/watchlist.svg);
}
#menu .link.link-history span.icon {
  background-image: url(../icons/history.svg);
}
#menu .link.link-search span.icon {
  background-image: url(../icons/search.svg);
}
#menu .account {
  align-items: center;
  display: flex;
  flex: 0 1 auto;
  margin-left: 1rem;
}
#menu .account-image img {
  border-radius: 5px;
  display: block;
}
#menu .account-info {
  margin-left: 10px;
}
#menu .account-name {
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: normal;
  word-break: keep-all;
}
#menu .account-logout a {
  cursor: pointer;
  display: block;
  font-size: 0.8rem;
  margin-top: 5px;
  transition: all 0.2s ease-in-out;
}
#menu .account-logout a.hover {
  color: #F37521;
}

.mouse #menu .link:hover {
  background: #000;
}

.mouse #menu .link.active:hover {
  background: #F37521;
}

.mouse #menu .account-logout a:hover {
  color: #F37521;
}

@media screen and (max-width: 860px) {
  #menu .account .account-name {
    display: none;
  }
  #menu .account .account-logout a {
    margin-top: 0;
  }
}
@media screen and (max-width: 680px) {
  #menu .account .account-info {
    display: none;
  }
  #menu .links .link span.label {
    display: none;
  }
  #menu .link {
    padding: 5px 0.25rem;
  }
}
/* CONTENT */
#main {
  min-width: 300px;
}

#content {
  padding: 1rem;
}
#content .inside {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
}
#content h1 {
  flex: 1 1 100%;
  margin: 0;
  padding: 0 0 0.83rem;
}
#content h1.hover {
  color: #F37521;
}

#content .error-message {
  background: #a50404;
  border-radius: 0.25rem;
  margin-top: 0.83rem;
  padding: 10px;
}
#content .error-message p {
  margin: 0;
}

#content .list-header {
  align-items: flex-start;
  display: flex;
  flex: 1 1 100%;
  flex-flow: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 0 0.83rem;
}
#content .list-header h1 {
  flex: 1;
  margin-right: 1rem;
}
#content .list-header .add-to-watchlist,
#content .list-header .remove-from-watchlist {
  flex: 0 1 10rem;
  height: auto;
  padding: 0.5rem 0.83rem;
}
#content .list-header .add-to-watchlist span,
#content .list-header .remove-from-watchlist span {
  display: inline-block;
  vertical-align: middle;
}
#content .list-header .add-to-watchlist span.icon,
#content .list-header .remove-from-watchlist span.icon {
  background-image: url(../icons/watchlist.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  content: "";
  display: inline-block;
  height: 28px;
  vertical-align: middle;
  width: 28px;
}

#content .list-info {
  margin-bottom: 1rem;
}

#content .list-filters {
  align-items: flex-start;
  display: flex;
  flex: 1 1 100%;
  flex-flow: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 -1rem 0.83rem 0;
}
#content .list-filters input,
#content .list-filters .dropdown {
  background: transparent;
  border-color: #FFF;
  color: #FFF;
  margin-bottom: 0.5rem;
  margin-right: 1rem;
}
#content .list-filters input {
  flex: 0 1 20rem;
}
#content .list-filters .dropdown {
  flex: 1;
}
#content .list-filters .dropdown + .dropdown {
  flex: 0;
}
#content .list-filters .dropdown:focus-within {
  border-color: #F37521;
}
#content .list-filters .dropdown .dropdown-value:after {
  filter: invert(1);
}
#content .list-filters input.hover,
#content .list-filters input:focus,
#content .list-filters input:active,
#content .list-filters .dropdown.hover,
#content .list-filters .dropdown:focus,
#content .list-filters .dropdown:active {
  border-color: #F37521;
}
#content .list-filters button {
  border: 2px solid #FFF;
  flex: 0 0 auto;
  height: 2.6rem;
  width: auto;
}

.mouse #content .list-filters input:hover,
.mouse #content .list-filters .dropdown:hover {
  border-color: #F37521;
}

#content .list-items {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.5rem;
}
#content .list-items .list-item {
  align-items: stretch;
  display: flex;
  flex: 1 1 20%;
  justify-content: stretch;
  margin-bottom: 0.5rem;
  max-width: 20%;
  padding: 0.5rem;
}
#content .list-items .list-item-inside {
  background: #000;
  border: 1px solid #FFF;
  border-bottom-width: 10px;
  border-left-width: 2px;
  border-radius: 5px 5px 2px 2px;
  border-right-width: 2px;
  border-top-width: 2px;
  cursor: pointer;
  display: block;
  position: relative;
  transition: all 0.2s ease-in-out;
  width: 100%;
}
#content .list-items .list-item-inside.hover {
  border-color: #F37521;
}

.mouse #content .list-item-inside:hover {
  border-color: #F37521;
}

#content .list-item-image {
  min-width: 6rem;
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
  width: 100%;
}
#content .list-item-image img {
  border-radius: 5px 5px 2px 2px;
  bottom: 0;
  height: auto;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

#content .list-item-progress {
  background-color: #F37521;
  bottom: 0px;
  height: 10px;
  left: 0;
  position: absolute;
  width: 0%;
}

#content .list-item-premium {
  background: #F37521 url(../icons/premium.svg) no-repeat center;
  background-size: 1.6rem auto;
  border-radius: 0.25rem;
  height: 2rem;
  padding: 0.25rem;
  position: absolute;
  right: 0.625rem;
  top: 0.625rem;
  width: 2rem;
}

#content .list-item-info {
  background: rgba(0, 0, 0, 0.75);
  border-radius: 0 0 2px 2px;
  overflow: hidden;
  padding: 0.83rem;
  text-overflow: ellipsis;
  transition: all 0.2s ease-in-out;
  word-break: break;
}
#content .list-item-info h2,
#content .list-item-info h3 {
  margin: 0;
}
#content .list-item-info h2 + h3 {
  font-weight: normal;
  margin-top: 0.83rem;
}
#content .list-item-info.hover {
  background: #000;
}

.mouse #content .list-item-info:hover {
  background: #000;
}

#content .list-pagination {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  padding: 1rem 0;
}
#content .list-pagination a {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 10px;
}
#content .list-pagination a[href=""] {
  opacity: 0;
  pointer-events: none;
}
#content .list-pagination a.hover {
  background: #F37521;
  color: #FFF;
}

.mouse #content .list-pagination a:hover {
  background: #F37521;
  color: #FFF;
}

#content .explore-item .list-item-image {
  padding: 0;
}
#content .explore-item .list-item-image img {
  border-radius: 2px 2px 0 0;
  position: static;
}

@media screen and (max-width: 1400px) {
  #content .list-items .list-item {
    flex-basis: 25%;
    max-width: 25%;
  }
}
@media screen and (max-width: 1200px) {
  #content .list-items .list-item {
    flex-basis: 33.33%;
    max-width: 33.33%;
  }
}
@media screen and (max-width: 840px) {
  #content .list-items .list-item {
    flex-basis: 50%;
    max-width: 50%;
  }
}
@media screen and (max-width: 480px) {
  #content .list-items .list-item {
    flex-basis: 100%;
    max-width: 100%;
  }
}
/* VIDEO */
body.page-video {
  background-color: #000;
  overflow: hidden;
}
body.page-video #menu {
  display: none;
}
body.page-video #content {
  padding: 0 !important;
}

#video {
  color: #fff;
  height: 100vh;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100vw;
  z-index: 10;
}
#video video {
  background: #000;
  color: #FFF;
  height: 100vh;
  overflow: hidden;
  width: 100vw;
}
#video video:-webkit-full-screen {
  height: 100% !important;
  overflow: hidden;
  width: 100% !important;
}

/* Icons */
.video-icon {
  align-items: stretch;
  background: rgba(122, 122, 122, 0.5);
  border-radius: 100%;
  cursor: pointer;
  display: flex;
  flex: 0 0 auto;
  height: 2.8rem;
  justify-content: center;
  padding: 0.5rem;
  margin: 0 0.35rem;
  text-align: center;
  transition: all 0.4s ease-in-out;
  width: 2.8rem;
}
.video-icon.hover, .video-icon:focus, .video-icon:active {
  background: #ffc095;
}
.video-icon span {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  flex: 1;
  height: 100%;
  overflow: hidden;
  text-indent: -9999em;
  width: 100%;
}
.video-icon.video-close span {
  background-image: url(../icons/back.svg);
}
.video-icon.video-watched span {
  background-image: url(../icons/eye.svg);
}
.video-icon.video-episodes span {
  background-image: url(../icons/playlist.svg);
}
.video-icon.video-previous-episode span {
  background-image: url(../icons/previous.svg);
}
.video-icon.video-next-episode span {
  background-image: url(../icons/next.svg);
}
.video-icon.video-fullscreen span {
  background-image: url(../icons/fullscreen.svg);
}
.video-icon.video-pause span {
  background-image: url(../icons/pause.svg);
}
.video-icon.video-play span {
  background-image: url(../icons/play.svg);
}
.video-icon.video-reload span {
  background-image: url(../icons/reload.svg);
}
.video-icon.video-forward span {
  background-image: url(../icons/forward.svg);
}
.video-icon.video-backward span {
  background-image: url(../icons/backward.svg);
}
.video-icon.video-skip-intro span {
  background-image: url(../icons/skip.svg);
}
.video-icon.video-quality {
  border-radius: 0.5em;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.8rem;
  width: 5rem;
}
.video-icon.video-quality span {
  text-indent: 0;
}
.video-icon.video-pause {
  display: none;
}
.video-icon.hide {
  display: none;
}

.mouse #video .video-icon:hover {
  background: #ffc095;
}

/* Elements */
.video-backdrop {
  background: rgba(0, 0, 0, 0.7);
  bottom: 0;
  display: block;
  left: 0;
  opacity: 1;
  position: absolute;
  right: 0;
  transition: all 0.4s ease-in-out;
  top: 0;
  z-index: 2;
}

.video-actions {
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  left: 0;
  opacity: 1;
  padding: 1rem 1rem 0.5rem;
  position: absolute;
  right: 0;
  top: 0;
  transition: all 0.4s ease-in-out;
  z-index: 3;
}
.video-actions .video-close {
  justify-self: flex-start;
  margin-right: auto;
  margin-left: 0;
}
.video-actions .video-next-episode {
  margin-right: 0;
}

.video-info {
  bottom: 6rem;
  left: 0;
  opacity: 1;
  padding: 0.5rem 1rem;
  position: absolute;
  right: 9em;
  transition: all 0.4s ease-in-out;
  z-index: 3;
}
.video-info .video-serie {
  font-size: 0.8rem;
}
.video-info .video-title {
  padding: 0.25rem 0;
  font-size: 1.4rem;
}
.video-info .video-error {
  background: #a50404;
  border-radius: 0.25rem;
  color: #FFF;
  display: none;
  margin-top: 0.83rem;
  padding: 10px;
}

.video-time {
  bottom: 6rem;
  right: 0;
  opacity: 1;
  padding: 0.5rem 1rem;
  position: absolute;
  text-align: right;
  transition: all 0.4s ease-in-out;
  width: 9em;
  z-index: 3;
}

.video-controls {
  align-items: center;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  left: 0;
  opacity: 1;
  padding: 0.5rem 1rem 1rem;
  position: absolute;
  right: 0;
  transition: all 0.4s ease-in-out;
  z-index: 3;
}
.video-controls .video-time {
  font-size: 0.8rem;
  margin-left: 1rem;
}

.video-progress {
  flex: 1 100%;
  height: 8.4px;
  position: relative;
  margin-bottom: 1rem;
}
.video-progress progress,
.video-progress input[type=range] {
  position: absolute;
  top: 0;
}
.video-progress .tooltip {
  background-color: #F37521;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  color: #fff;
  content: attr(data-title);
  display: none;
  font-size: 0.8rem;
  margin-left: -2.8rem;
  padding: 5px 2px;
  position: absolute;
  text-align: center;
  top: -35px;
  width: 4.16rem;
}

.mouse #video .video-progress:hover .tooltip {
  display: block;
}

.mouse #video .video-progress:focus-within .tooltip {
  display: block;
}

/* States */
#video.video-is-playing .video-backdrop,
#video.video-is-playing .video-actions,
#video.video-is-playing .video-quality,
#video.video-is-playing .video-info,
#video.video-is-playing .video-time,
#video.video-is-playing .video-controls {
  opacity: 0;
}

#video.show-controls .video-backdrop,
#video.show-controls .video-actions,
#video.show-controls .video-quality,
#video.show-controls .video-info,
#video.show-controls .video-time,
#video.show-controls .video-controls {
  opacity: 1 !important;
}

#video.video-has-error .video-backdrop,
#video.video-has-error .video-info {
  opacity: 1 !important;
}

#video.video-has-error .video-error {
  display: block;
}

#video.video-is-playing .video-play,
#video.video-is-paused .video-pause {
  display: none;
}

#video.video-is-playing .video-pause,
#video.video-is-paused .video-play {
  display: block;
}

/*# sourceMappingURL=app.css.map */
