
.last-search,
.stars {
  &-heading {
    font-weight: normal;
    font-size: 12px;
    text-align: right;
    color: #92a2b2;
    border: 1px solid rgba(0, 0, 0, 0);
    margin-bottom: 1.2em;
    display: flex;
    align-items: center;

    .niafam {
      font-size: 17px;
      // margin-left: 0.3em;

      &.niafam-Component-90–3-1 {
        //content: url("./img/Component-90–3-1.svg");
        //background: linear-gradient(#81e6ff 0%, #00b6e3 100%);
        //background: -webkit-linear-gradient(#81e6ff 0%, #00b6e3 100%);
      }
    }
  }

  &-content {
    min-height: 5em;
    //max-height: 9em;
    overflow-y: auto;

    .item {
      display: flex;
      /*align-items: center;*/
      margin-bottom: 0.3em;
      position: relative;
      flex-direction: column;

      &.prev-level {
        color: #4a5258;
        white-space: nowrap;
        overflow: auto;

        .tavasi {
          font-size: 0.7rem;
        }
      }

      .niafam {
        width: 24px;
        height: 24px;
        // margin-left: 0.3em;

        &.niafam-Component-149--3 {
          font-size: 17px;
          transition: all 0.5s ease-in-out;
          background: linear-gradient(#e2e8ef 0%, #c1d4da 100%);
          background: linear-gradient(#daeafd 0%, #b9d7e0 100%);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
        }
      }

      .title {
        font-weight: normal;
        font-size: 14px;
        text-align: right;
        color: #24282b;
        border: 1px solid rgba(0, 0, 0, 0);
        // display: flex;
        text-decoration: none;

        max-width: 15em;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      

        &.prev-level {
          color: #4a5258;
          white-space: nowrap;
          overflow: auto;

          .tavasi {
            font-size: 0.7rem;
          }
        }

        &.active, &:hover {
          // color: var(--primary);
          background-color: #d8f8fd;
        }
      }

      .children {
        padding-inline-start: 2.5em;
      }

    }
  }

  &-footer {
    margin: 0 auto;
    text-align: center;

    .btn {
      font-weight: normal;
      font-size: 12px;
      color: #92a2b2;
    }
  }
}

.search-form {
  .form-group {
    margin-bottom: 1em;
   

    .advance-filter {
      .btn {
        padding: 0 0.2em;
        filter: opacity(0.3);

        &.active {
          filter: opacity(1);
        }

        &:focus {
          box-shadow: none;
          outline: 0;
        }
      }
    }

    .input-group {
      //width: 256px;
      height: 40px;
      border-radius: 8px;
      background: #fff;
      border: 1px solid #96f3f375;

      .form-control {   
        border-radius: 0 20px 20px 0;
        font-size: 18px;
        font-weight: 300;
        text-align: right;
        color: rgba(77, 71, 71, 0.47);
        height: 100%;
        border-color: transparent;
        padding: 0.2em 0.5em;

        &::-webkit-input-placeholder {
          /* Chrome/Opera/Safari */
          font-weight: 300;
          font-size: 14px;
          text-align: right;
          color: #92a2b2;
        }

        &::-moz-placeholder {
          /* Firefox 19+ */
          font-weight: 300;
          font-size: 14px;
          text-align: right;
          color: #92a2b2;
        }

        &:-ms-input-placeholder {
          /* IE 10+ */
          font-weight: 300;
          font-size: 14px;
          text-align: right;
          color: #92a2b2;
        }

        &:-moz-placeholder {
          /* Firefox 18- */
          font-weight: 300;
          font-size: 14px;
          text-align: right;
          color: #92a2b2;
        }

        &:focus {
          box-shadow: none;
          outline: 0;
        }
      }

      .input-group-append {
        margin-left: auto;
        margin-right: -1px;

        .input-group-text {
          background-color: transparent;
          border-color: transparent;
          border-radius: 20px 0 0 20px;
          font-size: 14px;
          font-weight: 300;
          color: #707b87;
          transition: all 0.2s;
          visibility: hidden;

          &.show-reset-btn {
            visibility: visible;
          }

          &:hover {
            background-color: #eee;

            i {
              font-weight: bold;
              //color: var(--red);
              transition: all 0.2s;
            }
          }

          &:focus {
            box-shadow: none;
            outline: 0;
          }
        }
      }
    }

    &.replace-with {
      display: flex;

      .form-control {
        font-size: 14px;
        font-weight: 300;
        text-align: right;
        color: #707b87;

        height: 40px;
        border-radius: 20px;
        background: #fff;
        border: 1px solid #00b6e3;

        &::-webkit-input-placeholder {
          /* Chrome/Opera/Safari */
          font-weight: 300;
          font-size: 14px;
          text-align: right;
          color: #92a2b2;
        }

        &::-moz-placeholder {
          /* Firefox 19+ */
          font-weight: 300;
          font-size: 14px;
          text-align: right;
          color: #92a2b2;
        }

        &:-ms-input-placeholder {
          /* IE 10+ */
          font-weight: 300;
          font-size: 14px;
          text-align: right;
          color: #92a2b2;
        }

        &:-moz-placeholder {
          /* Firefox 18- */
          font-weight: 300;
          font-size: 14px;
          text-align: right;
          color: #92a2b2;
        }

        &:focus {
          box-shadow: none;
          outline: 0;
        }
      }

      .btn {
        padding: 0 0.3em 0 0;
        width: 2em;

        &:focus {
          box-shadow: none;
          outline: 0;
        }

        &:hover {
          background-color: #eee;

          i {
            font-weight: bold;
            //color: var(--red);
            transition: all 0.2s;
          }
        }
      }
    }

    .toggle-replace-form-btn {
      padding: 0.5em 0;
      margin-right: 0.3em;
      filter: opacity(0.3);

      &.active {
        filter: opacity(1);
      }

      &:not(:disabled):hover {
        //background-color: #eee;
        filter: opacity(1);

        i {
          font-weight: bold;
          //color: var(--red);
          transition: all 0.2s;
        }
      }

      &:focus {
        box-shadow: none;
        outline: 0;
      }

      img {
        width: 1.6em;
        object-fit: contain;
        max-width: 100%;
        height: auto;
      }
    }

    .context-menu-dropdown {
      .dropdown-menu {
        border-radius: 0.5em;
      }
    }
    
  }

  .arrow-down {
    position: relative;
    margin: 1.5em 0;

    .btn {
      padding: 0;
      position: absolute;
      top: -1.5em;
      right: 0;
      transform: rotate(-90deg);
      transition: transform 0.2s;

      &.rotate {
        transition: transform 0.2s;
        transform: rotate(90deg);
      }
    }
  }
}

.home-list__header {
  padding: 0 0 1em;
  margin-bottom: 1em;

  .list-group {
    .list-group-item {
      margin-right: 0;
      margin-left: 1em;
      padding: 0;
      border: 0;

      .btn {
        border: unset;
        padding: 0;
        font-size: 13px;
        color: #92a2b2;

        &.active {
          //border-bottom: 1px solid #00b6e3;
          color: #00b6e3;
        }
      }
    }
  }
}


@keyframes example {
  from {
    right: 15%;
  }
  to {
    right: 100%;
  }
}

.search-result {
  .found {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5em;

    span {
      font-weight: normal;
      font-size: 12px;
      text-align: right;
      color: #92a2b2;
    }

    .btn {
      padding: 0 0.2em;
      filter: opacity(0.3);

      &.active {
        filter: opacity(1);
      }

      &:focus {
        box-shadow: none;
        outline: 0;
      }
    }
  }

  .accordion {
    .card {
      margin-bottom: 0.5em;

      .card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 0;

        .btn {
          text-align: right;
          font-weight: normal;
          font-size: 16px;
          color: #444;
          transition: all 0.3s;

          img {
            margin-right: -0.3em;
          }

          .niafam-Component-149--3 {
            font-size: 17px;
            transition: all 0.5s ease-in-out;
            background: linear-gradient(#e2e8ef 0%, #c1d4da 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
          }

          &[aria-expanded="true"] {
            img {
              transform: rotate(-90deg);
              transition: all 0.3s;
            }
          }
        }

        .badge {
          font-weight: normal;
          font-size: 14px;
          //color: #bac4ce;
          //border: 1px solid rgba(0, 0, 0, 0);

          &.badge-primary {
            color: #4e4949;
            //background-color: #00b6e3;
            background-color: #eeee;
          }
        }
      }

      .collapse {
        .card-body {
          padding: 5px 1.5em 5px 0;

          .list-group {
            .list-group-item {
              white-space: nowrap;
              overflow-x: hidden;
              text-overflow: ellipsis;
              font-weight: normal;
              font-size: 13px;
              line-height: 22px;
              text-align: right;
              color: #444;
              padding: 5px 0;

              .high-lighted {
                background-color: yellow;
                padding: 0 5px;
                font-weight: bold;
              }
            }
          }
        }
      }
    }
  }
}