#query-library {
  h2 {
    padding: 0px 30px 0px 30px;
  }

  h5 {
    font-size: 18px;
    font-weight: bold;
    line-height: 25px;
  }

  h6 {
    font-size: 16px;
    line-height: 22px;
    padding: 0px 30px 0px 30px;
  }

  a {
    font-size: 18px;
    color: @core-vibrant-blue;
  }

  img {
    &.logo {
      height: 16px;
      width: 16px;
    }
    &.search {
      transform: scale(0.5);
    }
  }

  input {
    &::placeholder {
      font-size: 16px;
    }
  }

  [purpose='query-tag'] {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 20px;
    background-color: #E2E4EA;
  }

  [purpose='selected-tag'] {
    border-bottom: 1px solid #e1e4e9;
    padding: 16px 0;
    margin-left: 30px;
    margin-right: 30px;
    p {
      margin-bottom: 0;
      line-height: 18px;
    }
  }

  .input-group {
    &.search {
      width: 250px;
    }
  }

  .input-group-text {
    color: #8b8fa2;
    border-color: #c5c7d1;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
  }

  .form-control {
    font-size: 16px;
    border-color: #c5c7d1;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    &:focus {
      border: 1px solid #c5c7d1;
    }
  }

  .btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus, .show > .btn-secondary.dropdown-toggle:focus {
    box-shadow: none;
  }

  .btn-secondary {
    font-family: Nunito Sans;
    color: @core-vibrant-blue;
    background-color: transparent;
    border: 0;
    cursor: pointer;
    &:focus {
      border: 0;
      box-shadow: none;
    }
  }

  .filters {
    height: 54px;
    p {
      font-family: Nunito Sans;
      font-size: 16px;
      line-height: 25px;
    }
  }

  .dropdown-menu {
    left: 0px;
    width: 180px;
    border-radius: 8px;
    cursor: pointer;

  }
  .dropdown-item {
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    &:hover {
      background-color: lightness(@core-vibrant-blue, 10%);
      margin-right: 15px;
    }
  }
  .dropdown-toggle::after {
    margin-left: 4px;
    vertical-align: 3px;
    border-top: 5px solid;
    border-right: 5px solid transparent;
    border-bottom: 0;
    border-left: 5px solid transparent;
  }

  select {
    color: @core-vibrant-blue;
    border: 0px;
    outline: 0;
    &:focus {
      border: 0px;
    }
    &.select-purpose {
      width: 102px;
    }
    &.select-platform {
      width: 118px;
    }
    &.mobile {
      height: 50px;
      width: 100%;
      margin-right: 0;
      margin-left: 0;
      border-radius: 8px;
      padding: 12px;
      background: url('/images/chevron-down-9x6@2x.png') no-repeat 95% 50%;
      background-size: 9px 6px;
      -webkit-appearance: none;
    }
  }

  .library {
    max-width: 960px;
    margin-top: 80px;
    margin-bottom: 0;
  }

  .description {
    padding: 0px 30px 0px 30px;
    p {
      font-size: 16px;
      line-height: 25px;
    }
  }

  .select-mobile-border {
    height: 52px;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    border: 1px solid #c5c7d1;
    border-radius: 8px;
  }

  .select-mobile {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 12px;
  }

  .search-mobile {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 12px;
  }

  .filter-and-search-bar {
    padding-left: 45px;
    padding-right: 45px;
    margin-bottom: 0;
    min-height: 54px;
  }

  .contributors, .platforms {
    p {
      font-size: 13px;
      line-height: 20px;
    }
  }

  .row {
    min-height: 70px;
    align-items: center;
  }

  .divider {
    margin-left: 30px;
    margin-right: 30px;
    border-bottom: 1px solid;
    border-color: #e2e4ea;
  }
  .query-card {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .card.results {
    box-shadow: none;
    border: none;
    border-radius: 8px;
    &:hover {
      .query-card {
        background-color: #F8F7FF;
        box-shadow: none;
        border: none;
        border-radius: 8px;
        cursor: pointer;
      }
    }
  }

  .card.call-to-action {
    background-color: @ui-off-white;
    border-radius: 16px;
    border-color: @ui-off-white;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 90px;
    width: 100%;
    padding: 40px;
    p {
      margin-block-end: 0px;
    }
    a {
      font-size: 16px;
    }
  }

  .card-body {
    padding: 30px;
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .avatar-frame {
    width: 21px;
    height: 21px;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    &:hover {
      cursor: pointer;
    }

    img {
      display: inline;
      margin: 0 auto;
      height: 100%;
      width: auto;
    }
  }

  @media (max-width: 768px) {
    .library {
      max-width: 720px;
      margin-top: 60px;
    }
    .results {
      margin-top: 16px;
    }
  }

  @media (max-width: 575px) {
    h2 {
      font-size: 28px;
      line-height: 36px;
    }

    .library {
      max-width: none;
      margin-bottom: 0px;
    }

    [purpose='selected-tag'] {
      margin-left: 30px;
      margin-right: 30px;
      [purpose='query-tag'] {
      margin-top: 8px;
      }
    }

    .results {
      margin-top: 16px;
    }

    .contributors, .platforms {
      p {
        font-size: 13px;
        line-height: 20px;
      }
    }
  }
}
