/*

  SCENE LIST

  scene
  --list
    __mini
    __micro

  --search

*/


/* -----------------------------------------------------
    --list
    list for all people and companies in the scene
----------------------------------------------------- */
.scene--list {

}


/* -----------------------------------------------------
    __micro
    micro variation of --list - circular profiles
----------------------------------------------------- */
.scene--list.__micro {
  vertical-align: top;
  margin: 0 0 40px 0;

  ul {
    @include reset;
    clear: left;
    width: 100%;

    > li {
      display: inline-block;
      margin: 0 5px 5px 0;
      width: calc(25% - 5px);
      position: relative;

      @include bp-medium {
        width: calc(20% - 5px);
        height: calc(20% - 5px);
      }

      &.__active {
        display: block;
        margin: 0 0 10px 0;
        width: 100%;

        @include bp-medium {
          width: 50%;
          display: inline-block;
          vertical-align: top;
        }

        a {
          display: block;
          position: relative;
          text-align: left;
          text-decoration: none;
          height: 70px;
          overflow: hidden;

          img {
            position: absolute;
            margin-right: 10px;
            width: 70px;
            height: 70px;
          }

          span {
            display: inline-block;
            position: relative;
            margin: 10px 0 0 80px;
            max-width: none;
            color: $sch-black;
            opacity: 1;
            background: transparent;
            text-align: left;
            border-radius: 0;

            float: left;
            height: 26px;
            padding: 0 .3em;

            background: $sch-black;
            color: #fff;

            font-size: .85em;
            font-weight: 700;
            line-height: 26px;
            text-transform: uppercase;

            white-space: nowrap;
            overflow: hidden;

            width: auto;
          }

          em {
            clear: left;
            display: block;
            margin: 0 0 0 80px;
            color: lighten($sch-black, 20%);
            font-style: normal;
            font-size: .85em;
          }

          &:hover {
            span {
              background: $sch-blue;
              color: #fff;
            }
          }
        }

        &:before {
          display: none;
        }
      }
    }

    a {
      display: block;

      text-align: center;

      picture {
        display: block;
        background: url(/images/loading.gif) no-repeat 50% 50%;
        background-size: 64px 64px;
      }

      img {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 100%;
      }

      span {
        position: absolute;
        z-index: 10;

        display: block;
        pointer-events: none;
        opacity: 0;

        margin-top: -10px;
        padding: .25em;
        max-width: 200px;

        border-radius: 4px;
        background: $sch-black;
        color: #fff;

        font-size: .75em;
        text-align: center;
        width: 100%;
      }

      em {
        display: none;
      }

      &:hover span {
        opacity: 1;
      }
    }
  }
}


/* -----------------------------------------------------
    --search
    search filter form and preamble for scene list
----------------------------------------------------- */
.scene--search {
  position: relative;
  clear: left;
  margin: 0 0 20px 0;

  @include bp-medium {
    margin: 0 0 40px 0;
  }

  > div {
    position: relative;
    height: 60px;
    border-top: 5px solid $sch-blue;
    width: 100%;

    input {
      border: 0;
      border-radius: 0;
      background: $sch-black;
      width: 100%;
      height: 60px;
      text-indent: 20px;
      color: #fff;

      @include bp-medium {
        font-size: 1.25em;
      }

      @include bp-large {
        font-size: 1.5em;
      }

      &:focus {
        outline: 0;

        + button {
          opacity: 1;
        }
      }
    }

    button {
      background: none;
      padding: 0;
      margin: 0;
      border: 0;

      position: absolute;
      top: 0;
      right: 0;
      width: 60px;
      height: 60px;
      text-align: center;
      color: #fff;
      opacity: .8;
      font-size: 1.75em;

      cursor: pointer;

      &:hover, &:focus {
        opacity: 1;
      }
    }
  }

  .tip {
    margin: 20px 10px 0 20px;
    padding: 0 10px;

    border-left: 5px solid #ccc;
    font-size: .9em;
    font-style: italic;
    color: #555;

    &:before {
      content: "TIP";
      font-weight: 900;
      font-size: .75em;
      background: #ccc;
      padding: .25em;
      border-radius: 2px;
      margin-right: .5em;
    }

    em {
      font-weight: 700;
    }
  }

  a[rel='toggle'] {
    position: absolute;
    top: -40px;
    right: 0;
  }

  &.__fixed {
    padding-top: 65px;

    > div {
      position: fixed;
      z-index: 100;
      top: 5px;
      left: 0;
      right: 0;

      @include bp-medium {
        width: 620px;
        top: 20px;
        left: auto;
        right: auto;
      }

      @include bp-large {
        width: 740px;
        top: 40px;
      }

      &:before {
        content: '';
        display: block;
        position: absolute;
        width: 100%;
        height: 80px;
        top: -85px;
        background: #fff;
      }
    }
  }
}
