@import '~bootstrap/scss/_functions';
@import '~bootstrap/scss/_variables';
@import '~bootstrap/scss/_mixins';
@import "../../../../../assets/css/abstracts/custom-variables.scss";

.search-form__input {
    max-width: calc(100% - 57px);

    @include media-breakpoint-up(md){
        min-width: 600px;
    }
}

.search-results .search-applications {
    .app-wrapper-list {
        min-width: auto;
        grid-template-columns: repeat(auto-fill,minmax(117px,1fr));
    }
}

.search_result {
    padding: 10px 0;
    border-top: 1px solid $gray-200;
    position: relative;
}

.search_result .dropdown-toggle {
    padding: 3px 6px;
}
.search_result .dropdown-toggle .caret {
    margin-left: 0;
}
.search_result .dropdown {
    margin-top: 3px;
    margin-right: 3px;
}
.search_result .desc {
    color: $gray-700;
    margin: 0;
}
.search_result .desc small {
    display: block;
}
.search_result small a {
    color: $green-500;
}
.search_result small a:hover {
    color: $green-900;
}

.search-result-image {
    width: 80px;
    border-radius: var(--theme-rounded-corners);
}

.search-result-profile-image {
    border-radius: var(--theme-profile-picture-border-radius);
}

.refine-search .more-toggle {
    display: block;
    position: relative;
    padding-left: 18px;
    text-decoration: none;
}

.refine-search .more-toggle:before {
    border : 5px solid red;
    margin-top: 7px;
    margin-left: -14px;
    border-color: $gray-500 transparent transparent transparent;
    content : " ";
    position: absolute;
}

.refine-search .collapsed .more-toggle:before {
    margin-top: 4px;
    margin-left: -11px;
    border-color: transparent transparent transparent $gray-300;
}

.refine-search .more-expand,
.refine-search .collapsed .more-collapse {
    display: none;
}

.refine-search .collapsed .more-expand {
    display: block;
}

.refine-search input[type='text'],
.refine-search select {
    width: 100%;
}

.prepend-icon {
    position: relative;
}

.prepend-icon-label {
    position: absolute;
    top: 10px;
    left: 10px;
}

.prepend-icon input[type='text'] {
    padding-left: 26px;
}

.refine-search .nav-stacked small {
    display: block;
    color: $gray-400;
}

.refine-search .nav-stacked .active small {
    color: #fff;
}

.refine-search-label {
    color: $gray-600;
}

.toggle-container {
    border-bottom: 1px solid $gray-200;
    margin-bottom: 20px;
}
.toggle-container [data-toggle] {
    display: block;
}

.toggle-container a span.caret {
    position: relative;
    top: 8px;
    border: 4px solid transparent;
    border-top-color: $gray-700;
}

.toggle-container.less-container a span.caret {
    top: 4px;
    border-color: transparent transparent #000 transparent;
}

/* search panel tabs */
@media only screen and (max-width : 480px) {
    .search-nav-list {
        padding-left: 0;
    }
}

/* search help */
.search.help h3,
.search.help h4 {
    font-weight: normal;
    margin: .6em 0;
}
.search.help p {
    font-size: 14px;
    line-height: 1.6em;
}

.search-help-icon {
    position: relative;
    margin-top: 3px;
    margin-right: 2px;
}

/* search suggestions */
.search-suggestions {
    margin-bottom: 20px;
}

.search-result-count {
    color: $gray-700;
}

.search-suggestions h4 {
    font-weight: normal;
}



/* search results */
.search_item {
    word-wrap: break-word;
    overflow-wrap: break-word;
}
