/* =======================================
   test for the new global structure with flexbox
   ======================================= */
.flex-columns {
  /* background: #fff; */
  background: #f9f9f9;
  width: 960px;
  margin: 0 auto;
  text-align: left;
  padding: 16px 0;
}

/* =======================================
   find page
   ======================================= */
.keyword {
  font-weight: bold;
  background: linear-gradient(transparent 70%, #b6ecb6 0%);
}

.disc-num-line .keyword,
.track-release .keyword,
.track-spec .keyword,
.num .keyword,
.spec .keyword,
.duration .keyword {
  font-weight: inherit;
  background: inherit;
}

.page_header {
  position: relative;
  padding: 10px 0 10px 0;
  min-height: 65px;
}

.page_footer {
  position: relative;
  padding: 10px 0 10px 0;
}

/* =======================================
   candidates
   ======================================= */
.find a,
.find a:link { color: #303030; text-decoration:none; }
.find a:visited { color: #303030; text-decoration:none; }
.find a:hover { color: #303030; text-decoration:underline; }
.find a:active,
.find a:focus { color: #303030; text-decoration:none; }

.find .find-candidates .artist a,
.find .find-candidates .artist a:link,
.find .find-candidates .artist a:visited,
.find .find-candidates .artist a:hover,
.find .find-candidates .artist a:active,
.find .find-candidates .artist a:focus { color: #707070; }

.results_box {
  padding: 0 0 0 0;
}

.find-artist,
.find-album,
.find-tagbox {
  margin: 16px 0 16px 0;
}

.find-wordslist {
  margin: 32px 0 16px 0;
}

.find-track {
  margin: 32px 0 16px 0;
}

.find-article {
  margin: 16px 0 16px 0;
}

.find-candidates-box {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 16px 0 0 0;
}

.find-wordslist-box {
  margin: 16px 0 0 0;
  overflow: hidden;
}

.hidden {
  display: none;
}

.see-more-block {
  width: 100%;
  text-align: right;
  font-weight: bold;
  margin: 8px 16px 8px 0;
}

.see-more-button::before {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  content: "\f077";
  margin-right: 0.4rem;
}

.see-more-button.collapsed::before {
  content: "\f078";
}

.find-candidates-box.artist {
}

.find-candidates {
  display: flex;
  align-items: center;
  margin: 0 0 0 0;
  padding: 8px 0 8px 0;
}

.find-candidates.artist {
  width: 240px;
  height: 96px;
  padding: 12px 0 12px 0;
}

.find-candidates figure {
  flex-basis: 50px;
  width: 50px;
  height: 50px;
}

.find-candidates .artist-image {
  width: 50px;
  height: 50px;
  vertical-align: middle;
  margin: 0 8px 8px 0;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.5);
}

.find-candidates .artist-name-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-basis: 190px;
  height: 66px;
  padding: 0 20px 0 15px;
}

.find-candidates .artist-name {
  display: -webkit-box; -webkit-box-orient: vertical;
  font-weight: normal;
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  color: #303030;
  line-height: 1.4rem !important;
  height: auto;
  width: 155px;
  padding: 0;
  -webkit-line-clamp: 3;
  max-height: 66px;
}

.find-candidates-box.album {
}

.find-candidates.album {
  align-items: center;
  width: 480px;
  height: 96px;
  padding: 12px 0 12px 0;
}

.find-candidates .disc-jacket {
  position: relative;
  width: 50px;
  height: 50px;
  vertical-align: top;
  margin: 0 8px 8px 0;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.5);
}

.find-candidates .c-badge.lossless {
  position: absolute;
  width: 30px;
  height: 30px;
  top: -3px;
  right: -3px;
}

.find-candidates .c-badge.hires {
  position: absolute;
  width: 30px;
  height: 30px;
  top: -3px;
  right: -3px;
}

.find-candidates .album-name-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  flex-basis: 430px;
  height: auto;
  padding: 0 25px 0 15px;
}

.find-candidates .album-name {
  display: -webkit-box; -webkit-box-orient: vertical;
  font-weight: normal;
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  color: #303030;
  line-height: 1.4rem !important;
  height: auto;
  width: 390px;
  padding: 0;
}

.find-candidates .album-name.title {
  -webkit-line-clamp: 2;
  max-height: 44px;
}

.find-candidates .album-name.artist {
  font-size: 13px; font-size: 0.8125rem;
  -webkit-line-clamp: 1;
  max-height: 22px;
}

.find-candidates .album-name-artist-each::after {
  content: ', ';
}
.find-candidates .album-name-artist-each:last-of-type::after {
  content: '';
}

.find-candidates-box.labels {
    padding: 8px 0 16px 0;
    border-bottom: solid 1px #f0f0f0;
}

.find-candidates.labels {
  padding: 2px 0 2px 0;
}

.find-candidates .labels-name-box {
  font-size: 16px;
  font-size: 1rem;
  display: inline-block;
  margin: 0 1.25rem 0 0;
  line-height: 1.5rem;
}

.find-candidates-box.tags {
  /* height: 83px; */
  padding: 8px 0 16px 0;
  border-bottom: solid 1px #f0f0f0;
}

.find-candidates.tags {
  padding: 2px 0 2px 0;
}

.find-candidates .tag-name-box {
  font-size: 16px;
  font-size: 1rem;
  display: inline-block;
  margin: 0 1.25rem 0 0;
  line-height: 1.5rem;
}

.find-candidates .tag-name-box i.oty.oty-tag-ol:before {
  margin-bottom: 4px;
}

.find-candidates-box.words {
}
.find-candidates-box.words.just-a-form {
  margin-bottom: 150px;
}

.find-candidates.words {
  padding: 2px 0 2px 0;
}

.find-candidates .popular-words-box {
  font-size: 16px;
  font-size: 1rem;
  display: inline-block;
  margin: 0 2rem 0 0;
  line-height: 1.5rem;
}

.find-candidates-box.track {
}

.find-candidates.track {
  flex-wrap: wrap;
  margin: 0 0 0 0;
  padding: 24px 0 24px 0;
  border-bottom: solid 1px #f0f0f0;
}
.find-candidates.track:first-of-type {
  margin-top: 8px;
  border-top: solid 1px #f0f0f0;
}

.find-candidates .track-figure-album-box {
  flex-basis: auto;
  display: flex;
}

.find-candidates .track-figure-box {
  flex-basis: 50px;
  width: 50px;
}

.find-candidates .track-albuminfo-box {
  flex-basis: auto;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: auto;
  padding: 0 15px 0 15px;
  width: 910px;
}

.find-candidates .track-album-t-a-box {
  flex-basis: auto;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: auto;
}

.find-candidates .track-album-box {
  display: flex;
  flex-basis: auto;
}
.find-candidates .track-album {
  flex-basis: 50%;
  display: -webkit-box; -webkit-box-orient: vertical;
  font-weight: normal;
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  color: #303030;
  line-height: 1.5rem !important;
  height: auto;
  max-height: 25px;
  padding: 0 0 0 0;;
  -webkit-line-clamp: 1;
  max-height: 24px;
}
.find-candidates .track-album.title {
  padding-right: 20px;
}
.find-candidates .track-album.artist {
  font-size: 13px; font-size: 0.8125rem;
}
.find-candidates .track-album-artist-each::after {
  content: ', ';
}
.find-candidates .track-album-artist-each:last-of-type::after {
  content: '';
}

.find-candidates .track-release-box {
  flex-basis: auto;
  line-height: 1.4rem !important;
  width: 100%;
}

.find-candidates .track-release {
  font-size: 13px; font-size: 0.8125rem;
  color: #707070;
}

.find-candidates .track-release .mobile {
  display: none;
}

.find-candidates .track-release .release-and-spec:nth-child(2)::before,
.find-candidates .track-release .release-and-spec:nth-child(3)::before {
  content: ' | ';
}

.find-candidates .track-release a {
  color: #707070 !important;
}

.find-candidates .track-tracks-box {
  flex-basis: auto;
  display: flex;
  flex-direction: row;
  height: auto;
}
.find-candidates .track-name-box {
  flex-basis: auto;
  display: flex;
  flex-direction: column;
  padding: 0 15px 0 15px;
  width: 910px;
}

.find-candidates .track-name-box-line {
  display: flex;
}

.find-candidates .track-name {
  display: -webkit-box; -webkit-box-orient: vertical;
  font-weight: normal;
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  color: #303030;
  line-height: 1.4rem !important;
  height: auto;
  max-height: 25px;
  padding: 0;
  -webkit-line-clamp: 1;
  max-height: 22px;
}

.find-candidates .track-name.play {
  flex-basis: 3%;
  width: 3%;
  padding-left: 3px;
}
.find-candidates .track-name.num {
  flex-basis: 5%;
  width: 5%;
  text-align: right;
  padding-right: 15px;
  font-size: 13px; font-size: 0.8125rem;
  color: #707070;
}
.find-candidates .track-name.title {
  flex-basis: 42%;
  width: 42%;
  padding-right: 25px;
}
.find-candidates .track-name.title.longer {
  flex-basis: 87%;
  width: 87%;
  padding-right: 25px;
}
.find-candidates .track-name.artist {
  flex-basis: 44%;
  width: 44%;
  padding-left: 1em;
  padding-right: 25px;
}

.find-candidates .track-name.duration {
  flex-basis: 6%;
  width: 6%;
  text-align: right;
  font-size: 13px; font-size: 0.8125rem;
  color: #707070;
}
.find-candidates .track-name.artist {
  font-size: 13px; font-size: 0.8125rem;
  color: #707070;
}

.find-candidates .track-name-artist-each::after {
  content: ', ';
}
.find-candidates .track-name-artist-each:last-of-type::after {
  content: '';
}

.find-candidates .track-name.play .track-play-button {
  display: inline-block;
  border: none;
}

.find-candidates .track-name.play .track-play-button:hover {
  color: #66cc66;
}

.find-candidates .track-name.play .playing .track-play-button {
  color: #2ab002;
  animation-name: inflate;
  animation-duration: 7.5s;
  animation-timing-function: liner;
  animation-iteration-count: infinite;
}

.find-candidates-box.article {
}

.select-find-article-orderby-box {
  display: flex;
  justify-content: flex-end;
  margin: 12px 0 20px 0;
}

.form-find-article-include-news {
  margin: 0 20px 0 0;
}

.num-match-string {
 margin: 10px 0 10px 0;
}

.find-candidates.article {
  flex-wrap: wrap;
  margin: 0 0 10px 0;
  padding: 10px 20px;
  background: #ffffff;
  border: 1px solid #f9f9f9;
  border-radius: 4px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
}
.find a.find-candidates-article:hover {
  text-decoration: none !important;
}
.find .find-candidates.article:hover {
  border: 1px solid #adadad;
}

.find-candidates .article-title {
  height: 27px;
  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  font-size: 18px; font-size: 1.125rem;
  flex-basis: 100%;
  overflow: hidden;
}
.find-candidates .article-date {
  font-size: 13px; font-size: 0.8125rem;
  flex-basis: 100%;
  color: #707070;
}
.find-candidates .article-thumnail {
  flex-basis: 92px;
}
.find-candidates .article-thumnail .article-image {
  width: 76px;
  height: 76px;
  margin: 8px 16px 8px 0;
  object-fit: contain;
}
.find-candidates .article-snippet {
  height: 72px;
  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  flex-basis: 826px;
  flex-basis: calc(100% - 76px - 16px);
  word-break: break-all;
  overflow: hidden;
}

@keyframes inflate {
  50% { transform: scale(1); }
  75% { transform: scale(1.41); }
 100% { transform: scale(1); }
}

.label-icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin: 0 2px 4px 0;
}

form.form-search.bottom {
  margin: 0 0 24px 0;
}

.find-candidates.album .explicit_mark::after {
  vertical-align: middle;
  height: 18px;
  margin-right: 3px;
}
.find-candidates.track .explicit_mark::after {
  vertical-align: middle;
  height: 16px;
  margin-right: 4px;
}

/* =======================================
   pager
   ======================================= */

.pager-space {
  margin: 0 0 0 0;
}

.pager {
  margin: 16px auto 8px ;
}

.pager .oty-btn {
  line-height: 1.35;
  padding: 6px 10px;
  margin: 3px;
}
.pager a.oty-btn:hover {
  text-decoration: underline;
}

/* =======================================
   search-box
   ======================================= */
.find-search-box {
  margin-top: 24px;
  text-align: center;
}
.page_footer .find-search-box {
  margin-bottom: 24px;
}

.form-search>.search-text {
  display: inline-block;
  font-size: 16px; font-size: 1rem;
  font-weight: normal;
  color: #333;
  margin: 0 0 0 0;
  padding: 0 12px 0 12px;
  width: 180px;
  height: 30px;
  line-height: 30px;
  vertical-align: middle;
  border-radius: 4px 0 0 4px;
  border: 1px solid #cccccc;
  background: rgba(255,255,255,0.9);
  -webkit-appearance: none;
}
.form-search>.search-button {
  display: inline-block;
  font-size: 123.1%;
  font-weight: normal;
  color: #555555;
  cursor: pointer;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  width: 36px;
  height: 33px;
  line-height: 30px;
  text-align: center;
  vertical-align: middle;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  border-radius: 0 4px 4px 0;
  border: 1px solid #cccccc;
  background-color: #f5f5f5;
  -webkit-appearance: none;
}
.form-search>.search-text:focus,
.form-search>.search-button:focus {
  outline:0;
  box-shadow:0 0 5px #fff;
}
.form-search>.search-text:focus {
  background: #fff;
}

.find-search-box .form-search>.search-text {
  width: 520px;
  height: 33px;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);
}
.find-search-box .form-search>.search-button {
  background-color: #ccc;
  background-image: none;
  box-shadow:0 1px 2px 0 rgba(0,0,0,0.2);
}

/* =======================================
  search help
   ======================================= */
.find-help-box {
  margin: 16px auto 0;
  width: calc(520px + 36px);
  padding-left: 12px;
}

.find-help-box .find-help-toggle {
  margin: 0 0 12px 0;
  border: none;
  color: #777;
}

.find-help-box .find-help-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: #777;
}
.find-help-box .find-help-panel.open {
  max-height: calc(1.5rem * 10);
}
.find-help-box .find-help-panel a {
  padding-left: 11px;
  color: #777;
}

/* =======================================
   no results found
   ======================================= */

#no_results_found {
  display: none;
}

.no-results {
  text-align: center;
}
img.no-results-icon {
  display: block;
  margin: 50px auto 10px;
  width: 136px;
}
img.no-results-text {
  display: block;
  margin: 10px auto 50px;
  width: 150px;
}
p.no-results-desc {
  color: #707070;
  margin: 50px auto;
  width: 50%;
  text-align: center;
}


/* =======================================
   spinner
   ======================================= */

.spinner-box-outer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 380px;
}

.spinner-box-float {
  display: flex;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  margin: 0;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.72);
}

.spinner-box-inner {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 60px auto 0;
}

.spinner-text {
  text-align: center;
  width: 80px;
  margin: 12px auto 0;
  -webkit-animation: 5s text-color linear infinite;
  animation: 5s text-color linear infinite;
}

@-webkit-keyframes text-color {
    0% { color: #2ab002; }
   50% { color: #707070; }
  100% { color: #2ab002; }
}
@keyframes text-color {
    0% { color: #2ab002; }
   50% { color: #707070; }
  100% { color: #2ab002; }
}

/* based on https://github.com/CamdenFoucht/LoadLab */

.spinner {
    width: 75px;
    height: 75px;
    margin: 0;
    background: transparent;
    border-left: 1px solid transparent;
    border-top: 4px solid #2ab002;
    border-right: 4px solid #2ab002;
    border-bottom: 4px solid transparent;
    border-radius: 50%;
    -webkit-animation: 1s spin linear infinite;
    animation: 1s spin linear infinite;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* =======================================
   media queries
   ======================================= */
@media screen and (max-width: 640px) {
  .flex-columns {
    width: auto;
    margin: 0 auto;
    padding: 0 24px;
  }
  .page_header {
    margin-top: 0;
  }
  .find-search-box .form-search>.search-text {
    width: 88%;
    width: calc(100% - 36px);
  }
  .find-help-box  {
    width: 100%;
  }
  .find-candidates-box.words.just-a-form {
    margin-bottom: 40px;
  }
  .find-wordslist {
    margin: 48px 0 32px 0;
  }
  .find-candidates.artist {
    width: 100%;
    height: 83px;
    padding: 8px 0 8px 0;
    border-bottom: solid 1px #f0f0f0;
  }
  .find-candidates .artist-name-box {
    flex-basis: auto;
    padding: 0 5px 0 15px;
  }
  .find-candidates .artist-name {
    width: 100%;
  }
  .find-candidates.album {
    width: 100%;
    height: 83px;
    padding: 8px 0 8px 0;
    border-bottom: solid 1px #f0f0f0;
  }
  .find-candidates .album-name-box {
    flex-basis: auto;
    padding: 0 5px 0 15px;
  }
  .find-candidates .album-name {
    width: 100%;
  }
  .find-candidates.track {
    width: 100%;
    padding: 12px 0 12px 0;
  }
  .find-candidates .track-figure-box {
    align-self: center;
  }
  .find-candidates .track-albuminfo-box {
    flex-basis: calc(100% - 50px);
    padding: 0 0 0 15px;
    width: calc(100% - 50px);;
  }
  .find-candidates .track-album-box {
    flex-wrap: wrap;
    width: auto;
  }
  .find-candidates .track-album {
  }
  .find-candidates .track-album.title {
    flex-basis: auto;
    width: 100%;
    padding-right: 0;
  }
  .find-candidates .track-album.artist {
    flex-basis: auto;
    width: 100%;
  }
  .find-candidates .track-release-box {
    flex-basis: auto;
    width: 100%;
  }
  .find-candidates .track-release .desktop {
    display: none;
  }
  .find-candidates .track-release .mobile {
    display: inline;
  }
  .find-candidates .track-figure-box.filling {
    display: none;
  }
  .find-candidates .track-tracks-box {
    flex-basis: auto;
    width: 100%;
    margin: 10px 0 0 0;
    padding: 0 0 0 0;
  }
  .find-candidates .track-name-box {
    flex-basis: auto;
    width: 100%;
    padding: 0 0 0 0;
  }
  .find-candidates .track-name-box-line {
    flex-wrap: wrap;
    margin: 0 0 0 0;
  }
  .find-candidates .track-name {
    width: unset;
  }
  .find-candidates .track-name.play {
    flex-basis: 6%;
    width: 6%;
  }
  .find-candidates .track-name.num {
    flex-basis: 9%;
    width: 9%;
    padding-right: 5px;
  }
  .find-candidates .track-name.title {
    flex-basis: 85%;
    width: 85%;
    padding-right: 0;
  }
  .find-candidates .track-name.title.longer {
    flex-basis: 72%;
    width: 72%;
    padding-right: 25px;
  }
  .find-candidates .track-name.artist {
    flex-basis: 87%;
    width: 87%;
    padding-left: 14%;
    padding-right: 15px;
  }
  .find-candidates .track-name.duration {
    flex-basis: 13%;
    width: 13%;
  }
  .form-find-article-include-news {
    margin: 0 auto 0 0;
  }
  .find-candidates .article-title {
    height: 54px;
    -webkit-line-clamp: 2;
    word-break: break-all;
    overflow: hidden;
  }
  .find-candidates .article-snippet {
    height: 96px;
    -webkit-line-clamp: 4;
    flex-basis: 178px;
    flex-basis: calc(100% - 76px - 16px);
  }

  .pager .current,
  .pager .page {
    margin: 0 0 6px 0;
  }

  .find a:hover {
    text-decoration: none;
  }

  img.no-results-icon {
    margin: 30px auto 10px;
  }
  img.no-results-text {
    margin: 10px auto 30px;
  }
  p.no-results-desc {
    margin: 30px auto;
    width: 100%;
  }

  .spinner-box-outer {
    height: 400px;
  }

}

/*
#find .nav.nav-tabs li:nth-of-type(2) {
  position: relative;
}
#find .nav.nav-tabs li:nth-of-type(2)::after {
  content: 'New!';
  font-size: 13px;
  line-height: 20px;
  position: absolute;
  top: -6px;
  right: -23px;
  background: rgba(213,0,0,0.6);
  color: #ffffff;
  padding: 0 4px 0 4px;
  border-radius: 10px;
  z-index: 1;
}
*/
