/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined in IE 8/9.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}
/**
 * Correct `inline-block` display not defined in IE 8/9.
 */
audio,
canvas,
video {
  display: inline-block;
}
/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}
/**
 * Address `[hidden]` styling not present in IE 8/9.
 * Hide the `template` element in IE, Safari, and Firefox < 22.
 */
[hidden],
template {
  display: none;
}
/* ==========================================================================
   Base
   ========================================================================== */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}
/**
 * Remove default margin.
 */
body {
  margin: 0;
}
/* ==========================================================================
   Links
   ========================================================================== */
/**
 * Remove the gray background color from active links in IE 10.
 */
a {
  background: transparent;
}
/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */
a:focus {
  outline: thin dotted;
}
/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
  outline: 0;
}
/* ==========================================================================
   Typography
   ========================================================================== */
/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari 5, and Chrome.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted;
}
/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */
b,
strong {
  font-weight: bold;
}
/**
 * Address styling not present in Safari 5 and Chrome.
 */
dfn {
  font-style: italic;
}
/**
 * Address differences between Firefox and other browsers.
 */
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}
/**
 * Address styling not present in IE 8/9.
 */
mark {
  background: #ff0;
  color: #000;
}
/**
 * Correct font family set oddly in Safari 5 and Chrome.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: 1em;
}
/**
 * Improve readability of pre-formatted text in all browsers.
 */
pre {
  white-space: pre-wrap;
}
/**
 * Set consistent quote types.
 */
q {
  quotes: "\201C" "\201D" "\2018" "\2019";
}
/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%;
}
/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
/* ==========================================================================
   Embedded content
   ========================================================================== */
/**
 * Remove border when inside `a` element in IE 8/9.
 */
img {
  border: 0;
}
/**
 * Correct overflow displayed oddly in IE 9.
 */
svg:not(:root) {
  overflow: hidden;
}
/* ==========================================================================
   Figures
   ========================================================================== */
/**
 * Address margin not present in IE 8/9 and Safari 5.
 */
figure {
  margin: 0;
}
/* ==========================================================================
   Forms
   ========================================================================== */
/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */
}
/**
 * 1. Correct font family not being inherited in all browsers.
 * 2. Correct font size not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */
button,
input,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 2 */
  margin: 0;
  /* 3 */
}
/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
button,
input {
  line-height: normal;
}
/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
button,
select {
  text-transform: none;
}
/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
}
/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}
/**
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}
/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */
input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box;
}
/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
/**
 * 1. Remove default vertical scrollbar in IE 8/9.
 * 2. Improve readability and alignment in all browsers.
 */
textarea {
  overflow: auto;
  /* 1 */
  vertical-align: top;
  /* 2 */
}
/* ==========================================================================
   Tables
   ========================================================================== */
/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}
.lineBottom {
  border-bottom: rgba(255, 255, 255, 0.2) 1px solid;
}
@media screen and (-webkit-min-device-pixel-ratio: 1.5), screen and (min-device-pixel-ratio: 1.5) {
  .lineBottom {
    border: 0;
    -webkit-box-shadow: inset 0 -1px 1px -1px rgba(255, 255, 255, 0.5);
  }
}
.lineTop {
  border-top: rgba(255, 255, 255, 0.2) 1px solid;
}
@media screen and (-webkit-min-device-pixel-ratio: 1.5), screen and (min-device-pixel-ratio: 1.5) {
  .lineTop {
    border: 0;
    -webkit-box-shadow: inset 0 1px 1px -1px rgba(255, 255, 255, 0.5);
  }
}
.ellipsis {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.placeholder {
  background-image: url(img/placeholder.png?v=5);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;
}
*:not(input,textarea) {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}
body {
  -webkit-overflow-scrolling: touch;
  -webkit-user-drag: none;
  font-size: 0.95em;
  background-color: #000000;
}
ul {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: "";
  clear: both;
  height: 0;
}
a {
  color: #ffffff;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.gdth_popup_wrap {
  overflow: hidden;
}
.touch-link:active {
  width: 100%;
}
.table {
  display: table;
  width: 100%;
}
.cell {
  display: table-cell;
}
.allItemsLoaded {
  margin: 10px auto;
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  clear: left;
}
.loading-bottom {
  clear: left;
  text-align: center;
}
.loading-bottom .x-loading {
  margin: 10px auto;
}
.loading-bottom .x-loading-spinner {
  font-size: 150%;
}
.loader {
  height: 50px;
  position: relative;
}
.pageView {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}
.pageView .message {
  padding: 40px 10% 0;
  margin-top: 20%;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  background: url('img/error.png?v=3') top center no-repeat;
  background-size: 37px auto;
  font-size: 0.9em;
}
.pageView .search {
  height: 29px;
  border-bottom: #ccc 1px solid;
  padding: 10px;
  position: relative;
  z-index: 101;
  margin-top: -50px;
  background: #fff;
}
.pageView .search input {
  width: 94%;
  height: 29px;
  line-height: 29px;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  border-width: 0;
  border-radius: 5px;
  padding: 0 3%;
}
.panel {
  background: rgba(204, 0, 0, 0.8);
  width: 100%;
  position: absolute;
  left: 0;
  top: -1000px;
  z-index: 999;
  -webkit-box-shadow: 0 1px 1px -1px #666666;
}
.panel dl {
  line-height: 1.8em;
  margin: 1em;
  font-size: 1em;
}
.panel dt {
  display: inline-block;
  margin: 0 1em 0 0;
  color: #cc0000;
  width: 45px;
  height: 23px;
  text-align: center;
  background: #fff;
  border-radius: 3px;
  opacity: 0.7;
  line-height: 23px;
}
.panel dd {
  display: inline-block;
  margin: 0 1em 0 0;
}
.panel a {
  display: block;
  height: 1.8em;
  color: #fff;
}
.panel a.selected {
  display: inline-block;
  color: #cc0000;
  width: 45px;
  height: 23px;
  text-align: center;
  background: #fff;
  border-radius: 3px;
  opacity: 0.7;
  line-height: 23px;
}
.loading-page {
  position: absolute;
  padding: 1.5em;
  border-radius: 0.75em;
  background: rgba(0, 0, 0, 0.75);
  top: 50%;
  left: 50%;
  margin-top: -2.5em;
  margin-left: -2.5em;
  z-index: 100;
}
.touch-invisible a {
  pointer-events: none;
}
.yearSelect {
  display: -webkit-box;
  overflow-x: scroll;
  width: 100%;
  box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.5);
  height: 6vh;
}
.yearSelect a {
  display: block;
  width: 10vw;
  height: 100%;
  line-height: 6vh;
  margin: 0 2vw;
  color: #666;
  text-align: center;
  font-size: 3.6vw;
}
.yearSelect a.current {
  color: #000;
}
@media screen and (min-width: 768px) {
  .yearSelect {
    height: 4vh;
  }
  .yearSelect a {
    display: block;
    width: 8vw;
    height: 100%;
    line-height: 4vh;
    margin: 0 1vw;
    font-size: 2.2vw;
  }
}
.rangeSelect {
  display: -webkit-box;
  overflow-x: scroll;
  width: 100%;
  box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.5);
  height: 6vh;
}
.rangeSelect a {
  display: block;
  width: 16vw;
  height: 100%;
  line-height: 6vh;
  margin: 0 2vw;
  color: #666;
  text-align: center;
  font-size: 3.6vw;
}
.rangeSelect a.current {
  color: #000;
}
@media screen and (min-width: 768px) {
  .rangeSelect {
    height: 4vh;
  }
  .rangeSelect a {
    display: block;
    width: 12vw;
    height: 100%;
    line-height: 4vh;
    margin: 0 1vw;
    font-size: 2.2vw;
  }
}
.tv-list {
  box-sizing: border-box;
  height: 60vh;
  overflow-y: scroll;
  padding-bottom: 3vh;
}
.tv-list a {
  display: block;
  float: left;
  width: 15%;
  margin: 3% 2.5% 0;
  height: 8vw;
  line-height: 8vw;
  text-align: center;
  color: #666;
  border-radius: 0.75vw;
  box-sizing: border-box;
  font-size: 3.5vw;
  background-color: #eee;
}
.tv-list a:active {
  background: #ddd;
}
.tv-list a.highlight {
  color: #cc0000;
}
@media screen and (min-width: 768px) {
  .tv-list {
    padding-bottom: 2.5vh;
  }
  .tv-list a {
    margin: 2.5% 2.5% 0;
    height: 5vw;
    line-height: 5vw;
    border-radius: 0.5vw;
    font-size: 2vw;
  }
}
.tv-list-inline {
  display: -webkit-box;
  overflow-x: scroll;
}
.tv-list-inline a {
  display: block;
  width: 14vw;
  margin: 0 3vw 0 0;
  height: 9vw;
  line-height: 9vw;
  text-align: center;
  color: #ffffff;
  border-radius: 1vw;
  box-sizing: border-box;
  border: rgba(255, 255, 255, 0.2) 1px solid;
  font-size: 3.8vw;
}
.tv-list-inline a:active {
  background: rgba(255, 255, 255, 0.1);
}
.tv-list-inline a.highlight {
  color: #cc0000;
}
@media screen and (min-width: 768px) {
  .tv-list-inline a {
    width: 10vw;
    height: 5.5vw;
    line-height: 5.5vw;
    font-size: 2.8vw;
    border-radius: 0.5vw;
  }
}
.show-list-inline {
  display: -webkit-box;
  overflow-x: scroll;
}
.show-list-inline a.show-item {
  display: block;
  width: 30vw;
  margin-right: 3.5vw;
  overflow: hidden;
}
.show-list-inline a.show-item .thumb {
  height: 18vw;
  position: relative;
  background-size: cover;
  background-position: center;
}
.show-list-inline a.show-item .thumb .date {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 3vw;
  line-height: 4vw;
  padding-top: 2vw;
  padding-right: 1vw;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  text-align: right;
}
.show-list-inline a.show-item .title {
  font-size: 3.5vw;
  line-height: 1.3;
  margin-top: 1vw;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
}
.show-list-inline a.show-item:active {
  background: rgba(255, 255, 255, 0.1);
}
.show-list-inline a.show-item.highlight .title {
  color: #cc0000;
}
@media screen and (min-width: 768px) {
  .show-list-inline a.show-item .title {
    font-size: 2.5vw;
  }
  .show-list-inline a.show-item .thumb .date {
    font-size: 2.2vw;
  }
}
.show-list {
  height: 60vh;
  overflow-y: scroll;
}
.show-list .show-item {
  display: block;
  padding: 2vw 3vw;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  height: 16vw;
  overflow: hidden;
  box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.3);
}
.show-list .show-item .icon {
  position: absolute;
  left: 3vw;
  top: 2vw;
  width: 18vw;
  height: 12vw;
  background-size: cover;
  background-position: center;
}
.show-list .show-item .info {
  padding-left: 20vw;
  width: 100%;
  box-sizing: border-box;
}
.show-list .show-item .info .name {
  font-size: 4vw;
  color: #666;
  line-height: 1.75;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.show-list .show-item .info .summary {
  color: #999;
  font-size: 3.5vw;
}
.show-list .show-item.highlight .name {
  color: #cc0000;
}
.show-list .show-item:active {
  background-color: #eee;
}
@media screen and (min-width: 768px) {
  .show-list .show-item {
    padding: 1.5vw 3vw;
    height: 13vw;
  }
  .show-list .show-item .icon {
    top: 1.5vw;
    width: 16vw;
    height: 10vw;
  }
  .show-list .show-item .info {
    padding-left: 18vw;
  }
  .show-list .show-item .info .name {
    font-size: 2.5vw;
    line-height: 6vw;
  }
  .show-list .show-item .info .summary {
    font-size: 2vw;
  }
}
.episode {
  position: relative;
}
.episode .icon-tv {
  position: absolute;
  right: 3px;
  top: 3px;
  background-repeat: no-repeat;
  background-size: 10px;
  height: 10px;
  width: 10px;
}
.episode .downloading {
  background-image: url('img/wait_list.svg');
}
.episode .downloaded {
  background-image: url('img/done_list.svg');
}
@media screen and (min-width: 768px) {
  .episode .icon-tv {
    right: 5px;
    top: 5px;
  }
}
.episode .summary {
  position: relative;
}
.episode .summary .icon-show {
  position: absolute;
  right: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-size: 10px;
  background-position: center left;
  height: 16px;
  width: auto;
  font-size: 0.9em;
  padding-left: 12px;
  line-height: 16px;
}
@media screen and (min-width: 768px) {
  .episode .summary .icon-show {
    height: 16px;
    font-size: 0.9em;
    padding-left: 12px;
    line-height: 16px;
  }
}
#episode-panel {
  position: fixed;
  top: 100%;
  width: 100%;
  height: 65vh;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -1px 1px -1px rgba(255, 255, 255, 0.5);
  box-sizing: border-box;
  color: #000;
  overflow: hidden;
}
#episode-panel .panel-head {
  color: #000;
  height: 7vh;
  line-height: 7vh;
  padding: 0 3vw;
  position: relative;
  box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  font-size: 4vw;
}
#episode-panel .panel-head .close {
  position: absolute;
  top: 0;
  right: 2vw;
  width: 10vw;
  height: 100%;
  background: url('img/cancel@3x.png');
  background-size: 4vh;
  background-position: right;
  background-repeat: no-repeat;
}
@media screen and (min-width: 768px) {
  #episode-panel .panel-head {
    color: #000;
    height: 5vh;
    line-height: 5vh;
    padding: 0 3vw;
    font-size: 2.5vw;
  }
  #episode-panel .panel-head .close {
    position: absolute;
    top: 0;
    right: 2vw;
    width: 8vw;
    height: 100%;
    background: url('img/cancel@3x.png');
    background-size: 3vh;
    background-position: right;
    background-repeat: no-repeat;
  }
}
