@import 'common';

#musicians-screen {

  .filter-element.desc.instrument-selector {
    margin-left:2px;
    float:left;

    & + .dropdown-wrapper .dropdown-container {
      width:150px;
    }
  }

  .field > label {
    margin-bottom:5px;
  }
  .session-instrumentlist {
    padding: 10px;
    height: 100px;
    background-color: #c5c5c5;
    border: none;
    -webkit-box-shadow: inset 2px 2px 3px 0px #888;
    box-shadow: inset 2px 2px 3px 0px #888;
    color: #000;
    overflow: auto;
    font-size: 14px;
    @include border_box_sizing;

    select, .easydropdown {
      @include flat_dropdown;
      @include no_top_padding_dropdown;

      .selected {
        font-size:13px;
      }
    }

    .dropdown-container {
      @include white_dropdown;
    }

    label {
      display:inline;
    }
  }

  .btn-refresh-holder {
    float:right;
    margin-right:10px;
  }

  .paginate-wait {
    display:none;
    margin:auto;
    text-align:center;
    vertical-align:bottom;
    line-height:32px;
    .spinner-small {
      display:inline-block;
      vertical-align:top;
    }
  }

  .musician-avatar {
    width:63px;
  }

  .musician-profile, .musician-stats {
    width:150px;
    overflow:hidden;
  }

  .musician-stats {
    margin-top:10px;
    img {
      position: relative;
      top: 2px;
      left: 1px;
    }
  }
  .musician-info {
    margin-top: 12px;
    margin-right:0;
  }

  .button-row {
    float:none;
    .result-list-button-wrapper {
      margin:3px;
    }
  }

  .latency-holder {
    position:absolute;
    top: 53px;
    width:100%;
    text-align:center;
  }

  .latency {
    min-width: 50px;
    display:inline-block;
    padding:4px;
    font-family:Arial, Helvetica, sans-serif;
    font-weight:200;
    font-size:11px;
    text-align:center;
    @include border-radius(2px);
    color:white;
  }

  .latency-unknown {
    background-color:$latencyBadgeUnknown;
  }

  .latency-unacceptable {
    background-color:$latencyBadgeUnacceptable;
  }

  .latency-good {
    background-color:$latencyBadgeGood;
  }

  .latency-fair{
    background-color:$latencyBadgeFair;
  }

  .latency-poor {
    background-color:$latencyBadgePoor;
  }

  /**
  .latency {
    font-size: 15px;
    height: 16px;
    padding: 3px;
    width: 100%;
    @include border-radius(2px);
    width:130px;
    position:absolute;
    top: 63px;
  }
*/
  .biography {
    height:73px;
  }

  .musician-wrapper {
    -ms-overflow-style: none;
    overflow: initial;
    height: 100%;
    width:  100%;
  }

  .musician-latency {
    width: 136px;
    height:100px;
    margin-right:35px;
    text-align:center;
    position:relative;
  }

  .latency-help {
    margin-top:8px;
    line-height:14px;
  }

  .musician-list-result {
    padding-top: 5px;
    padding-right: 5px;
    padding-left: 5px;
    height: 123px;

    table.musicians {
      margin-top:12px;
    }
  }

  #musician-search-filter-results-wrapper {
    margin: 0 10px;
  }

  #musician-search-filter-results-header {
    padding: 10px 10px 10px 10px;
    background-color:	#4C4C4C;
  }

  #search-filter-genres, #search-filter-ages {
    background-color:$ColorTextBoxBackground;
    height:150px;
    overflow:auto;
    padding:10px;
    width:100%;
    @include border_box_sizing;

    label {
      display:inline;
      color:black;
      margin-left: 3px;
    }
  }

  #search-filter-ages {
    height:85px;
    width:75%;
  }

  .genre-option, .age-option {
    font-size:14px;
    margin:0 0 5px 0;
  }

  #btn-perform-musician-search {
    margin-right:0;
  }

  #btn-musician-search-builder {
    float: left;
  }
  .musician-search-text {
    float:left;
    font-size:12px;
    margin-top:4px;
    white-space: nowrap;
    width: calc(100% - 180px);
    text-overflow: ellipsis;
    overflow: hidden;
  }

  #musician-search-filter-description {
    padding: 5px 5px 5px 5px;
    display: inline;
    margin-left: auto;
    margin-right: auto;
  }

  #btn-musician-search-reset {
    float: right; 
  }

  #musician-search-filter-results-list-blank {
    font-weight: bold;
    text-align: center;
    margin: 30px 10px 10px 10px;
  }

  #musician-search-filter-spinner {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
  }

  .col-left {
    @include border_box_sizing;
    float: left;
    width: 45%;
    margin-left: auto;
    margin-right: auto;
    padding-right: 20px;
  }

  .col-right {
    float: right;
    width: 45%;
    margin-left: auto;
    margin-right: auto;

    .col-left {
      width: 50%;
    }
    .col-right {
      width: 50%;
    }
  }

  .builder-section {
    padding: 10px;
    margin-bottom: 20px;
  }
  .builder-button {
    float: right;
  }
  .band-setup-genres {
    width: 80% !important;
  } 
  .easydropdown-wrapper {
    width: 80%;
  }
  .builder-sort-order {
    padding-right:13.5%;
    text-align: right;
    .easydropdown-wrapper {
      width: 140px;
      vertical-align:middle;
    }
    .text-label {
      vertical-align: middle;
      margin-right: 5px;
      display: inline;
      line-height: 2em;
    }
    .select {
      float: right;
    }
  }
  .builder-ages {
    width: 100%;
    height: 100%;
    background-color:#c5c5c5;
    border:none;
    -webkit-box-shadow: inset 2px 2px 3px 0px #888;
    box-shadow: inset 2px 2px 3px 0px #888;
    color:#000;
    overflow:auto;
    font-size:12px;
  }   
  .builder-instruments {
    width: 100%;
    height: 150px;
  }
  .builder-selector {
    margin-top: 10px;
  }
  .builder-action-buttons {
    margin-top: 20px;
    .col-right {
      padding-right:13.5%;
    }
  }

  .musician-setup-genres {
      width:100%;
      height:200px;
      background-color:#c5c5c5;
      border:none;
      -webkit-box-shadow: inset 2px 2px 3px 0px #888;
      box-shadow: inset 2px 2px 3px 0px #888;
      color:#000;
      overflow:auto;
      font-size:12px;
     .easydropdown-wrapper {
        width: 100%;
      }
  }

}

.filter-element {
  float:left;
  margin-left: 5px;

  &.wrapper {
    margin-top: 5px;
    &.right {
      float: right;
      > a {
        margin-top: 3px;
      }
    }
  }

  // @FIXME labeel is overriding from #session-controls.
  &.desc {
    margin-top: 3px;
    padding-top: 3px;
  }

  .easydropdown {
    float:left;
    margin-left:2px;
  }
}



