/*Mostly for containers*/
html {
  height: 100%;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

/* do not group these rules */
*::-webkit-input-placeholder {
  color: #D1D1D1;
}

*:-moz-placeholder {
  /* FF 4-18 */
  color: #D1D1D1;
}

*::-moz-placeholder {
  /* FF 19+ */
  color: #D1D1D1;
}

*:-ms-input-placeholder {
  /* IE 10+ */
  color: #D1D1D1;
}

body::-webkit-scrollbar {
  width: 0.6em;
}

body::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
  background-color: #9159AF;
  outline: 1px solid #9159AF;
}

.content-area {
  min-height: calc(100% - 280px);
}

.container-block {
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  background-color: #1A1C26;
  font-family: 'Cabin', sans-serif;
  color: white;
  margin-bottom: 8px;
  overflow: auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.transparent-block {
  background-color: transparent;
  box-shadow: none;
}

.container-top-spacing {
  margin-top: 8px;
}

.window-bar {
  background-color: #9159AF;
  width: 100%;
  height: 10px;
}

.main-block {
  min-height: 80%;
}

.inner-content {
  width: 80%;
  margin-right: auto;
  margin-left: auto;
  padding-top: 24px;
  padding-bottom: 10px;
}

.subtitle {
  font-size: 32px;
  color: white;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}

body {
  background-color: #161921;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.highlight {
  color: #9159AF;
}

.navbar-special {
  padding: 0rem 1rem;
  position: relative;
  background-color: #161921;
  transition: background-color 0.5s ease;
  border: none;
}

/* Navbar hover — subtle only */
.navbar-special:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.navbar-special .navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 2.12em;
  color: white;
  float: none;
}

.navbar-special .navbar-nav > li > a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 0;
  height: 4px;
  background-color: white;
  content: "";
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

.navbar-special .navbar-nav > li > a:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

.navbar-special .navbar-nav > li > a:hover:after {
  width: 100%;
}

.navbar-special .navbar-nav > li > a {
  position: relative;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: white;
  transition: background-color 0.5s ease;
  background-color: inherit;
  line-height: 2em;
}

.navbar-nav .nav-link {
  padding-left: 1em;
  padding-right: 1em;
}

.navbar-nav .nav-item + .nav-item {
  margin-left: 0;
}

*::-webkit-input-placeholder {
  color: white;
}

*:-moz-placeholder {
  /* FF 4-18 */
  color: white;
}

*::-moz-placeholder {
  /* FF 19+ */
  color: white;
}

*:-ms-input-placeholder {
  /* IE 10+ */
  color: white;
}

.styled-control {
  background-color: transparent;
  color: white;
}

.search-control {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  color: rgba(255, 255, 255, 0.85);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  -webkit-box-shadow: none;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s;
}

.search-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.search-control:focus {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.search-control-dark {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.search-anime {
  transition: border-color 0.2s, background-color 0.2s;
}

.search-anime:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.search-place {
  display: inline-block;
  margin-right: 0.5em;
  float: left;
  line-height: 2em;
  padding-top: .325rem;
  width: 25%;
}

.navbar-nav .nav-item {
  float: none;
}

.navbar-divider,
.navbar-nav .nav-item + .nav-item,
.navbar-nav .nav-link + .nav-link {
  margin-left: 0;
}

@media (min-width: 34em) {
  .navbar-special .navbar-brand {
    float: left;
  }

  .navbar-nav .nav-item {
    float: left;
  }

  .search-place {
    float: right;
  }
}
.hidden-sm-up {
  color: white;
}

.turbo-progress {
  position: fixed;
  display: block;
  width: 0px;
  top: 0;
  left: 0;
  height: 3px;
  background: white;
  z-index: 9999;
  transition: width 300ms ease-out, opacity 150ms 150ms ease-in;
  transform: translate3d(0, 0, 0);
}

.btn {
  -webkit-transition: background-color 500ms linear;
  -moz-transition: background-color 500ms linear;
  -o-transition: background-color 500ms linear;
  -ms-transition: background-color 500ms linear;
  transition: background-color 500ms linear;
}

.alert {
  position: fixed;
  z-index: 101;
  padding-left: 8px;
  padding-right: 8px;
  padding-bottom: 4px;
  padding-top: 4px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1vw;
}

#notificationArea {
  min-height: 20px;
}

.btn:focus,
.btn:active {
  outline: none !important;
}

tr th {
  font-family: 'Lato', sans-serif;
}

.m-space {
  width: calc(100% - 10px);
  padding-top: 12px;
  overflow: auto;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1300px) {
  .m-space {
    width: calc(90% - 10px);
  }
}
.tag {
  background-color: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.6);
  padding: 2px 8px;
  font-size: 12px;
  margin-right: 4px;
  margin-bottom: 3px;
  margin-top: 3px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.tag:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
}

.darker {
  color: rgba(255, 255, 255, 0.25);
}

.t-space {
  margin-left: 4px;
  margin-right: 4px;
}

.sort-nav {
  padding: 3px;
}

.sort-nav a {
  position: relative;
  color: white;
  background-color: #161921;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  display: inline-block;
  padding-left: 8px;
  padding-right: 8px;
  margin-left: 4px;
  margin-right: 4px;
}

.sort-nav .selected {
  border-bottom: 2px solid white;
}

.sort-nav a:hover {
  text-decoration: none;
  background-color: #1A1C26;
  cursor: pointer;
}

.sort-nav a:hover:after {
  width: 100%;
}

.anime-tile {
  width: calc(100% - 10px);
  height: 150px;
  background-size: cover;
  background-position-y: 30%;
  display: inline-flex;
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.anime-tile .info {
  width: 100%;
  display: block;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  transition: background-color .4s;
  /*border-radius: 4px;*/
  padding: 4px;
  text-align: center;
  cursor: pointer;
}

.anime-tile .info:hover {
  background-color: rgba(0, 0, 0, 0.4);
}

@media (min-width: 840px) {
  .anime-tile {
    width: calc(50% - 10px);
  }
}
@media (min-width: 1300px) {
  .anime-tile {
    width: calc(33.33333333% - 10px);
  }
}
@media (min-width: 1700px) {
  .anime-tile {
    width: calc(25% - 10px);
  }
}
.anime-tile .info .anime-title {
  position: relative;
  font-size: 1.3em;
  color: white;
  font-family: 'Montserrat', sans-serif;
}

.anime-rating {
  font-family: 'Doppio One', sans-serif;
  font-size: 1.5em;
  color: yellow;
}

.anime-poster {
  margin-left: 4px;
  margin-right: 4px;
  margin-top: 5px;
  margin-bottom: 5px;
  width: 145px;
  height: 210px;
  background-size: 145px 210px;
  text-align: center;
  display: inline-block;
  border-radius: 4px;
  cursor: pointer;
}

.anime-poster .info {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  float: left;
  white-space: normal;
  background-color: rgba(0, 0, 0, 0.4);
  transition: background-color .4s;
}

.anime-poster .info:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.anime-poster .info .anime-title {
  margin-top: 4px;
  color: white;
  font-family: 'Montserrat', sans-serif;
}

.poster-aisle {
  padding: 16px;
  height: 240px;
  overflow: hidden;
}

.posters {
  position: relative;
  margin-left: 0px;
  -webkit-transition: margin-left 200ms linear;
  -moz-transition: margin-left 200ms linear;
  -o-transition: margin-left 200ms linear;
  -ms-transition: margin-left 200ms linear;
  transition: margin-left 200ms linear;
  display: inline-block;
  height: 210px;
  width: auto;
  white-space: nowrap;
}

.posters-wrapper {
  width: calc(100% - 80px);
  height: 220px;
  overflow: hidden;
  float: left;
}

.section-title {
  font-size: 32px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  color: white;
  display: block;
  margin-top: 4px;
}

.tcenter-wrapper {
  text-align: center;
}

.aisle-nav-button {
  font-size: 32px;
  color: white;
  padding-left: 4px;
  padding-right: 4px;
  color: #D1D1D1;
  -webkit-transition: color 200ms linear;
  -moz-transition: color 200ms linear;
  -o-transition: color 200ms linear;
  -ms-transition: color 200ms linear;
  transition: color 200ms linear;
  display: inline-block;
  z-index: 99;
  position: relative;
  float: left;
  top: 105px;
}

.aisle-nav-button:hover {
  color: white;
}

.a-nav-disabled {
  color: #A3A3A3;
}

.a-nav-disabled:hover {
  color: #A3A3A3;
}

.ad {
  left: calc(50% - 500px);
  width: 1000px;
  height: 140px;
  text-align: center;
  bottom: 70px;
}

.ad-image {
  width: 970px;
  height: 90px;
  background-color: #A1A1A1;
  margin-left: auto;
  margin-right: auto;
}

.ad-title {
  font-size: 18px;
  color: #A1A1A1;
  font-family: 'Montserrat', sans-serif;
}

.ai-intro {
  width: 100%;
  height: 240px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.ai-intro .intro-title {
  font-size: 4.2em;
  font-family: 'Catamaran';
  font-weight: 700;
  color: white;
  padding: 0;
  margin: 0;
}

.ai-intro .intro-subtitle {
  font-size: 1.8em;
  font-family: 'Catamaran';
  color: white;
  padding: 0;
  margin: 0;
}

.ai-intro .video, .ai-intro .intro-text {
  width: 100%;
  height: 240px;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.ai-intro .video video {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
  min-width: 100%;
  object-fit: cover;
}

#videoWrap {
  /* Upstream used intro.jpg (not in git); SVG is bundled fallback */
  background-image: url("/images/intro.jpg"), url("/images/intro.svg");
  background-color: #111219;
  -o-background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-size: cover;
}

.ai-intro .intro-text {
  letter-spacing: 2px;
}

.ai-intro .intro-dim {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

/*Anime css*/
.cover-wrapper {
  background: linear-gradient(180deg,
    rgba(22, 25, 33, 0.1) 0%,
    rgba(22, 25, 33, 0.25) 40%,
    rgba(22, 25, 33, 0.7) 75%,
    #161921 100%);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cover {
  position: relative;
  width: 100%;
  height: 260px;
  margin-bottom: -160px;
  overflow: hidden;
  background-position: 40%;
  background-position-y: 40%;
  background-size: cover;
  z-index: -1;
}

.anime_title {
  font-size: 48px;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  color: white;
}

.info_area {
  text-align: center;
}

.inner-area {
  clear: both;
  width: 100%;
  background-color: #9159AF;
  border: 3px solid #9159AF;
  border-radius: 4px;
  padding: 12px;
  overflow: auto;
}

.poster_image {
  width: 245px;
  height: 355px;
  border-radius: 4px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.image-wrapper {
  float: left;
  width: 100%;
  clear: left;
}

@media (min-width: 700px) {
  .larger-display-image {
    width: 245px;
  }
}
.off {
  background-color: #8615A5;
}

.section {
  padding: 24px;
}

.textual-area {
  float: left;
  text-align: left;
  width: calc(100% - 10px);
  color: white;
  margin-left: 14px;
  min-width: 200px;
}

@media (min-width: 700px) {
  .larger-display-textual {
    width: calc(100% - 260px);
  }
}
.labeled {
  display: block;
  font-size: 16px;
  font-family: 'Montserrat', san-serif;
  color: #8615A5;
  width: 100%;
  margin-top: 4px;
  margin-bottom: 8px;
}

.genre {
  background-color: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7);
  padding: 3px 10px;
  font-size: 13px;
  margin: 3px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.genre:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.12);
  cursor: default;
}

.sub {
  color: white;
  font-size: 32px;
  font-family: 'Montserrat', sans-serif;
  display: block;
  padding-bottom: 4px;
}

.episode_lookup_area {
  background-color: #9159AF;
  width: calc(100% - 80px);
  min-width: 240px;
  height: 120px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  position: relative;
  float: left;
  display: inline-block;
}

.episode_lookup_area:before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  border-bottom: 80px solid #1A1C26;
  border-left: 80px solid #9159AF;
  width: 0;
}

.episode_lookup_area:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  border-bottom: 80px solid #1A1C26;
  border-right: 80px solid #9159AF;
  width: 0;
}

.left-hold {
  width: 40px;
  height: 120px;
  border-top: 40px solid #9159AF;
  border-left: 40px solid #1A1C26;
  float: left;
  display: inline-block;
}

.right-hold {
  width: 40px;
  height: 120px;
  border-top: 40px solid #9159AF;
  border-right: 40px solid #1A1C26;
  float: left;
  display: inline-block;
}

.episode-lookup-wrapper {
  margin-left: auto;
  margin-right: auto;
  overflow: auto;
  width: calc(40% + 80px);
  min-width: 320px;
}

.episode_input {
  width: 50%;
  height: 36px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.center {
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
  display: block;
  text-align: center;
}

.entries {
  width: 100%;
  min-height: 126px;
}

.loadingEntries {
  background: url("/svg/squares.svg") no-repeat;
  background-position: center top;
  min-height: 126px;
  min-width: 126px;
}

.entry {
  width: 100%;
  background-color: #9159AF;
  border: 2px solid #9159AF;
  border-radius: 6px;
  overflow: auto;
  margin-top: 4px;
  margin-bottom: 4px;
  display: none;
  cursor: pointer;
  -webkit-transition: background-color 400ms linear, border-color 400ms linear;
  -moz-transition: background-color 400ms linear, border-color 400ms linear;
  -o-transition: background-color 400ms linear, border-color 400ms linear;
  -ms-transition: background-color 400ms linear, border-color 400ms linear;
  transition: background-color 400ms linear, border-color 400ms linear;
}

.entry:hover {
  background-color: #72438C;
  border-color: #72438C;
}

.entry .tags {
  position: relative;
  float: right;
}

.host {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  color: white;
  display: inline-block;
  padding-left: 4px;
  padding-top: 4px;
  padding-bottom: 4px;
}

/*{ border: 1px solid red; }*/
