@import "../../../../../assets/css/abstracts/custom-variables.scss";

.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);
}

/* search panel */
.col-search-options,
.col-search-content {
    float: left;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
.col-search-options {
    width: 20%;
}
.col-search-content {
    width: 80%;
}


.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 */
.search-nav {
    border-top: 1px solid $gray-200;
    padding-top: 10px;
    border-bottom: 1px solid $gray-200;
    margin-bottom: 10px;

    &::after {
        content: '';
        display: block;
        height: 0;
        clear: both;
    }
}

.search-nav-list {
    list-style: none;
}

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

.search-nav-list-item {
    display: inline-block;
}

.search-nav-list-item.active a {
    color: $gray-900;
    font-weight: bold;
}

.search-nav-list-item a {
    display: block;
    padding: 5px 10px;
}

/* 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 {
    margin: 6px 0px 0px 10px;
    color: $gray-600;
}

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



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