/* Compact, remote-friendly search. Keep ES5-era browser CSS and native assets. */
.compact-search-window.modal {
  top: 0 !important;
  bottom: 0;
  height: auto !important;
}
.compact-search-window .modal-dialog {
  position: absolute;
  top: 88px;
  right: 18px;
  bottom: 24px;
  width: 630px;
  height: auto;
  max-width: 94%;
  max-height: 870px;
  margin: 0;
  -webkit-transform: none !important;
  -ms-transform: none !important;
  transform: none !important;
}
.compact-search-backdrop.modal-backdrop {
  position: fixed !important;
  top: 84px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  width: auto;
  height: auto;
  background: #000;
}
.compact-search-backdrop.modal-backdrop.in {
  opacity: .62;
  filter: alpha(opacity=62);
}
.compact-search-expanded .compact-search-backdrop.modal-backdrop {
  background: transparent;
}
.compact-search-expanded .compact-search-backdrop.modal-backdrop.in {
  opacity: 0;
  filter: alpha(opacity=0);
}
.compact-search-active .trigger-help,
.compact-search-active .ggl-play {
  visibility: hidden;
}
.compact-search-window .modal-content {
  position: relative;
  height: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.compact-search-shell,
.compact-search-shell * { box-sizing: border-box; }
.compact-search-shell {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
  color: #f4f1f8;
  background: #181322;
  border: 1px solid #40364c;
  border-radius: 9px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
  outline: none;
}
.compact-search-shell button {
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.compact-search-shell button:hover { color: #62dbc9; }
.compact-search-shell button:focus {
  outline: 2px solid #62dbc9;
  outline-offset: -2px;
}
.compact-search-toolbar {
  position: absolute;
  top: 0;
  right: 72px;
  left: 20px;
  height: 153px;
  padding-top: 18px;
}
.compact-search-query {
  position: relative;
  height: 54px;
  border: 1px solid #62dbc9;
  border-radius: 28px;
}
.compact-search-query input {
  display: block;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 50px 0 64px;
  color: #f4f1f8;
  background: transparent;
  border: 0;
  border-radius: 27px;
  outline: none;
  font: inherit;
  font-size: 20px;
  -webkit-appearance: none;
  appearance: none;
}
.compact-search-query input:focus { box-shadow: inset 0 0 0 1px #62dbc9; }
.compact-search-query input::-ms-clear { display: none; }
.compact-search-query input::-webkit-input-placeholder { color: #aba3b9; }
.compact-search-query input::-moz-placeholder { color: #aba3b9; opacity: 1; }
.compact-search-query input:-ms-input-placeholder { color: #aba3b9; }
.compact-search-query-icon {
  position: absolute;
  top: 5px;
  left: 19px;
  font-size: 32px;
  line-height: 42px;
}
.compact-search-shell .compact-search-clear {
  position: absolute;
  top: 4px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 22px;
  font-size: 36px;
  line-height: 42px;
}
.compact-search-filters {
  height: 45px;
  margin-top: 23px;
  white-space: nowrap;
}
.compact-search-shell .compact-search-filter {
  display: inline-block;
  min-width: 84px;
  height: 44px;
  margin-right: 9px;
  padding: 0 20px;
  color: #e2dce9;
  background: #231d30;
  border: 1px solid #332a40;
  border-radius: 24px;
  vertical-align: top;
  font-size: 16px;
}
.compact-search-shell .compact-search-filter:hover { background: #2c263a; }
.compact-search-shell .compact-search-filter.is-active {
  color: #102329;
  background: #62dbc9;
  border-color: #62dbc9;
}
.compact-search-filter-count { margin-left: 8px; }
.compact-search-utilities {
  position: absolute;
  top: 20px;
  right: 12px;
  width: 48px;
}
.compact-search-shell .compact-search-close {
  display: block;
  width: 48px;
  height: 44px;
  font-size: 36px;
  line-height: 40px;
}
.compact-search-scroll-buttons { padding-top: 10px; }
.compact-search-shell .compact-search-scroll {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  color: #62dbc9;
  border: 1px solid #62dbc9;
  border-radius: 8px;
  font-size: 25px;
  line-height: 46px;
}
.compact-search-shell .compact-search-scroll.is-disabled {
  color: #82798e;
  border-color: #40364c;
  cursor: default;
}
.compact-search-results {
  position: absolute;
  top: 158px;
  right: 20px;
  bottom: 64px;
  left: 20px;
  overflow: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.compact-search-group { margin: 0 0 18px; padding: 0; }
.compact-search-group h2 {
  margin: 4px 0 0;
  padding: 0 0 11px;
  color: #f4f1f8;
  border-bottom: 1px solid #332a40;
  font: inherit;
  font-size: 21px;
  font-weight: 400;
  line-height: 30px;
}
.compact-search-group-items:after { display: table; clear: both; content: ''; }
.compact-search-item-wrap { padding: 0; }
.compact-search-shell .compact-search-result {
  display: block;
  position: relative;
  width: 100%;
  height: 92px;
  padding: 9px 47px 9px 0;
  color: #f4f1f8;
  border-bottom: 1px solid #332a40;
  border-radius: 0;
  text-align: left;
}
.compact-search-result:hover,
.compact-search-shell .compact-search-result.is-selected {
  color: #f4f1f8;
  background: #272133;
  border-radius: 7px;
}
.compact-search-result.is-selected:before {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: #62dbc9;
  border-radius: 4px;
  content: '';
}
.compact-search-art {
  display: block;
  position: absolute;
  top: 9px;
  left: 0;
  width: 130px;
  height: 73px;
  overflow: hidden;
  background: #100d17;
  border: 1px solid #332a40;
  border-radius: 5px;
}
.compact-search-art img {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  border: 0;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.compact-search-art.is-channel img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-height: 0;
  max-width: 86%;
  max-height: 76%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.compact-search-result-copy {
  display: block;
  position: absolute;
  top: 50%;
  right: 47px;
  left: 153px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.compact-search-result-title {
  display: block;
  max-height: 50px;
  overflow: hidden;
  color: #f4f1f8;
  font-size: 19px;
  font-weight: 400;
  line-height: 25px;
  word-wrap: break-word;
}
.compact-search-result-meta {
  display: block;
  overflow: hidden;
  color: #aba3b9;
  font-size: 16px;
  line-height: 23px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.compact-search-result-chevron {
  position: absolute;
  top: 50%;
  right: 15px;
  margin-top: -15px;
  font-size: 25px;
  line-height: 30px;
}
.compact-search-live-action {
  position: absolute;
  top: 50%;
  right: 49px;
  height: 44px;
  margin-top: -22px;
  white-space: nowrap;
}
.compact-search-live-badge {
  display: inline-block;
  margin-right: 16px;
  padding: 3px 10px;
  color: #102329;
  background: #62dbc9;
  border-radius: 15px;
  font-size: 14px;
  line-height: 21px;
  vertical-align: middle;
}
.compact-search-play {
  display: inline-block;
  width: 44px;
  height: 44px;
  padding-left: 3px;
  color: #62dbc9;
  border: 1px solid #62dbc9;
  border-radius: 22px;
  font-size: 25px;
  line-height: 42px;
  text-align: center;
  vertical-align: middle;
}
.compact-search-watch-label { display: none; }
.compact-search-result.is-channel { padding-right: 175px; }
.compact-search-result.is-channel .compact-search-result-copy { right: 175px; }
.compact-search-footer {
  position: absolute;
  right: 20px;
  bottom: 0;
  left: 20px;
  height: 60px;
  padding-top: 18px;
  border-top: 1px solid #332a40;
  color: #aba3b9;
  white-space: nowrap;
}
.compact-search-key-hints { display: inline-block; font-size: 14px; line-height: 24px; }
.compact-search-key-hints > span { margin-right: 17px; }
.compact-search-key-hints .icon { font-size: 18px; vertical-align: middle; }
.compact-search-shell .compact-search-all {
  float: right;
  height: 44px;
  margin-top: -9px;
  color: #62dbc9;
  font-size: 14px;
}
.compact-search-all .icon { margin-left: 7px; font-size: 23px; vertical-align: middle; }
.compact-search-message { padding: 44px 12px; color: #aba3b9; text-align: center; }
.compact-search-message > .icon { display: block; margin-bottom: 12px; color: #62dbc9; font-size: 33px; }
.compact-search-message p { margin: 0 0 9px; color: #e2dce9; font-size: 17px; }
.compact-search-message > span { font-size: 15px; }
.compact-search-shell .compact-search-retry { min-height: 44px; padding: 6px 16px; color: #62dbc9; border: 1px solid #62dbc9; border-radius: 22px; }

/* Expanded view uses two floated columns, with the same row order as the DOM. */
.compact-search-shell.search-expanded {
  position: fixed;
  top: 84px;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.search-expanded .compact-search-toolbar { right: 90px; left: 30px; height: 142px; padding-top: 11px; }
.compact-search-shell .compact-search-back { position: absolute; top: 15px; left: 0; width: 237px; min-height: 44px; color: #bdb3cc; text-align: left; }
.compact-search-back .icon { display: inline-block; width: 35px; font-size: 27px; vertical-align: middle; }
.compact-search-back span { display: inline-block; font-size: 18px; vertical-align: middle; }
.search-expanded .compact-search-query { margin-left: 255px; }
.search-expanded .compact-search-filters { margin-top: 18px; }
.compact-search-total { display: inline-block; width: 161px; padding-top: 11px; color: #aba3b9; font-size: 17px; vertical-align: top; }
.search-expanded .compact-search-filter { min-width: 117px; padding: 0 22px; }
.search-expanded .compact-search-utilities { top: 13px; right: 21px; }
.search-expanded .compact-search-results { top: 140px; right: 30px; bottom: 64px; left: 30px; }
.search-expanded .compact-search-group { margin-bottom: 14px; }
.search-expanded .compact-search-group h2 { padding-bottom: 7px; font-size: 22px; line-height: 29px; }
.search-expanded .compact-search-item-wrap { float: left; width: 50%; padding-right: 12px; }
.search-expanded .compact-search-item-wrap:nth-child(even) { padding-right: 0; padding-left: 12px; }
.search-expanded .compact-search-channel-group .compact-search-item-wrap { float: none; width: 100%; padding: 0; }
.search-expanded .compact-search-result { height: 78px; padding: 6px 45px 6px 6px; }
.search-expanded .compact-search-result.is-channel { padding-right: 335px; }
.search-expanded .compact-search-art { top: 6px; left: 6px; width: 144px; height: 65px; }
.search-expanded .compact-search-result-copy { right: 45px; left: 169px; }
.search-expanded .compact-search-result.is-channel .compact-search-result-copy { right: 335px; }
.search-expanded .compact-search-result-title { max-height: 47px; font-size: 18px; line-height: 23px; }
.search-expanded .compact-search-result-meta { font-size: 16px; line-height: 22px; }
.search-expanded .compact-search-result-chevron { right: 20px; }
.search-expanded .compact-search-live-action { right: 98px; }
.search-expanded .compact-search-watch-label { display: inline-block; margin-left: 17px; color: #62dbc9; font-size: 17px; vertical-align: middle; }
.search-expanded .compact-search-footer { right: 30px; left: 30px; padding-top: 17px; border-top: 0; }

@media (max-height: 800px) {
  .compact-search-window .modal-dialog { top: 84px; bottom: 16px; }
  .compact-search-toolbar { height: 137px; padding-top: 14px; }
  .compact-search-filters { margin-top: 16px; }
  .compact-search-results { top: 140px; bottom: 58px; }
  .compact-search-group { margin-bottom: 12px; }
  .compact-search-group h2 { padding-bottom: 5px; font-size: 19px; line-height: 26px; }
  .compact-search-shell .compact-search-result { height: 82px; }
  .compact-search-art { width: 116px; height: 65px; top: 8px; }
  .compact-search-result-copy { left: 134px; }
  .compact-search-result-title { max-height: 46px; font-size: 18px; line-height: 23px; }
  .compact-search-result-meta { font-size: 14px; line-height: 20px; }
  .compact-search-footer { height: 56px; padding-top: 16px; }
  .search-expanded .compact-search-toolbar { height: 128px; padding-top: 10px; }
  .search-expanded .compact-search-filters { margin-top: 12px; }
  .search-expanded .compact-search-results { top: 125px; bottom: 52px; }
  .search-expanded .compact-search-group { margin-bottom: 11px; }
  .search-expanded .compact-search-group h2 { padding-bottom: 4px; font-size: 19px; line-height: 24px; }
  .search-expanded .compact-search-result { height: 69px; padding-top: 5px; padding-bottom: 5px; }
  .search-expanded .compact-search-art { top: 5px; width: 123px; height: 58px; }
  .search-expanded .compact-search-result-copy { left: 147px; }
  .search-expanded .compact-search-result-title { font-size: 16px; line-height: 21px; max-height: 42px; }
  .search-expanded .compact-search-result-meta { font-size: 14px; line-height: 18px; }
  .search-expanded .compact-search-footer { height: 47px; padding-top: 11px; }
}
@media (max-width: 1100px) {
  .search-expanded .compact-search-toolbar { left: 22px; }
  .compact-search-shell .compact-search-back { width: 194px; }
  .compact-search-back span { font-size: 15px; }
  .search-expanded .compact-search-query { margin-left: 205px; }
  .search-expanded .compact-search-results { right: 22px; left: 22px; }
  .search-expanded .compact-search-result-title { font-size: 16px; }
  .search-expanded .compact-search-result.is-channel { padding-right: 275px; }
  .search-expanded .compact-search-result.is-channel .compact-search-result-copy { right: 275px; }
  .search-expanded .compact-search-live-action { right: 65px; }
  .search-expanded .compact-search-watch-label { margin-left: 9px; font-size: 15px; }
}
@media (max-width: 680px) {
  .compact-search-window .modal-dialog { top: 76px; right: 8px; bottom: 8px; width: 100%; max-width: 96%; }
  .compact-search-toolbar { right: 59px; left: 14px; }
  .compact-search-query input { padding-left: 46px; font-size: 17px; }
  .compact-search-query-icon { left: 13px; font-size: 27px; }
  .compact-search-shell .compact-search-filter { min-width: 0; margin-right: 4px; padding: 0 12px; font-size: 14px; }
  .compact-search-utilities { right: 7px; width: 44px; }
  .compact-search-shell .compact-search-close,
  .compact-search-shell .compact-search-scroll { width: 44px; }
  .compact-search-results { right: 14px; left: 14px; }
  .compact-search-art { width: 96px; height: 54px; top: 12px; }
  .compact-search-result-copy { left: 110px; }
  .compact-search-result-title { font-size: 16px; line-height: 21px; }
  .compact-search-result-meta { font-size: 13px; line-height: 18px; }
  .compact-search-result.is-channel { padding-right: 79px; }
  .compact-search-result.is-channel .compact-search-result-copy { right: 79px; }
  .compact-search-live-badge { display: none; }
  .compact-search-live-action { right: 32px; }
  .compact-search-play { width: 40px; height: 40px; font-size: 23px; line-height: 38px; }
  .compact-search-result-chevron { right: 8px; font-size: 21px; }
  .compact-search-footer { right: 14px; left: 14px; }
  .compact-search-key-hints { font-size: 11px; }
  .compact-search-key-hints > span { margin-right: 7px; }
  .compact-search-shell .compact-search-all { font-size: 12px; }
  .compact-search-all .icon { margin-left: 3px; }
  .search-expanded .compact-search-toolbar { right: 65px; left: 14px; padding-top: 54px; }
  .compact-search-shell .compact-search-back { top: 3px; width: auto; }
  .search-expanded .compact-search-query { margin-left: 0; height: 47px; }
  .search-expanded .compact-search-query input { height: 45px; }
  .search-expanded .compact-search-query-icon { top: 1px; }
  .search-expanded .compact-search-clear { top: 0; }
  .search-expanded .compact-search-filters { margin-top: 13px; }
  .compact-search-total { display: none; }
  .search-expanded .compact-search-filter { min-width: 0; padding: 0 10px; }
  .compact-search-filter-count { margin-left: 4px; }
  .search-expanded .compact-search-utilities { top: 3px; right: 8px; }
  .search-expanded .compact-search-results { top: 171px; right: 14px; left: 14px; }
  .search-expanded .compact-search-item-wrap,
  .search-expanded .compact-search-item-wrap:nth-child(even) { float: none; width: 100%; padding: 0; }
  .search-expanded .compact-search-result.is-channel { padding-right: 79px; }
  .search-expanded .compact-search-result.is-channel .compact-search-result-copy { right: 79px; }
  .search-expanded .compact-search-art { width: 96px; height: 54px; top: 7px; }
  .search-expanded .compact-search-result-copy { left: 115px; }
  .search-expanded .compact-search-live-action { right: 32px; }
  .search-expanded .compact-search-watch-label { display: none; }
  .search-expanded .compact-search-footer { right: 14px; left: 14px; }
}
/* Keep the fixed utility controls above the scrolling section headings. */
.compact-search-utilities { z-index: 5; }
.compact-search-result.is-selected:before { z-index: 2; }
@media (max-width: 680px) {
  .compact-search-window .modal-dialog { top: 108px; }
  .compact-search-shell.search-expanded { top: 104px; }
  .compact-search-backdrop { top: 104px; }
  .search-expanded .compact-search-filter { padding: 0 7px; margin-right: 3px; font-size: 12px; }
}

.compact-search-shell .compact-search-more { display:block; clear:both; min-height:44px; padding:6px 16px; margin-top:8px; border:1px solid #332a40; border-radius:5px; color:#62dbc9; }
