/*===SEARCH=====*/

#topPanel {
    padding-top: 140px;
    padding-bottom: 140px;
}

#topPanel h2 {
    min-height: 45px;
}

#viewOptions {
    top: 7px;
}

#viewOptions .icon {
    margin-left: 2px;
}

#searchHeader {
    margin-bottom: 20px;
}

#searchHeader ul {
    /* padding: 5px 0 0 0; */
    margin: 0;
    list-style-type: none;
    display: inline-block;
    vertical-align: top;
    transition: margin-top 400ms, margin-bottom 400ms;
}

#searchHeader li {
    transition: opacity 400ms;
    height: 40px;
    /* margin-top: -1.7px; */
}


#searchHeader li:not(.selected) {
    opacity: 0.4;
    font-weight: 100;
}

#searchHeader input {
    border-bottom: 1px solid #333;
}

/* change placeholder color */
#searchInput::placeholder {

    color: #ccc;
}

#searchHeader .searchForm,
#searchHeader input {
    display: inline-block;
    border-color: #333;
    color: #333;
    font-size: inherit;
    padding-top: 0;
    max-width: 250px;
}

#searchHeader .icon_heart {
    margin-top: -15px;
    width: 37px;
}

.searchOption {
    display: inline-block;
    margin-top: -5px;
}

.searchForm {
    position: relative;
}

.icon.icon_loader_dark {
    /* width: 12px;
	height: 12px;
	background-size: 12px; */
    display: block !important;
    opacity: 1;
    transition: opacity 200ms;
}

.icon.icon_loader_dark.hide {
    display: block !important;
    opacity: 0;
}

#viewOptions div.selected {
    display: none;
}
/*SEARCH*/

.searchForm .icon_arrow_circle_right {
    /* width: 22px !important; */
    /* height: 23px; */
    padding: 0;
    background-position: 0;
    border: none;
    background-size: 100%;
    top: 14px;
    position: absolute;
    right: 0px;
}

tags {
    font-size: 16px;
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: opacity 200ms;
    position: absolute;
    margin-top: 2px;
    width: 100%;
    overflow: hidden;
    max-height: 28px;
    z-index: 10;
    background: #f5f5f5;
    border: 1px solid #f5f5f5;
    height: 500px;
    transition: width 200ms, max-height 200ms;
    padding: 5px;

}

tags .icon_caret_down {
    position: absolute;
    right: 0;
    top: 7px;
    transition: opacity 200ms;
    opacity: 1;
}

tags.expanded {
    width: 400px;
    max-height: 500px;
    height: auto;
    overflow: auto;
    border: 1px solid #333;
}

tags.expanded .icon_caret_down {
    opacity: 0;
}

tags.show {
    visibility: visible;
    opacity: 1;
}

tag {
    display: inline-block;
    white-space: nowrap;
    padding-right: 5px;
    margin-bottom: 5px;
    opacity: 0.8;
}

tag:after {
    content: ',';
}

#searchResults {
    float: none;
    clear: both;
}

#searchResults.hideNoThumbnails .noThumbnail {
    display: none;
}

#searchResults span.sketchTitle {
    font-weight: bold;
}

#resultsFooter {
    margin-top: 25px;
    margin-bottom: 25px;
}

#showMoreButton {
    display: none;
    float: none;
    margin-top: -5px;
}

#showMoreButton.show {
    display: inline-block !important;
}

.listView .sketchLi {
    margin-bottom: 15px;
}


@media (max-width: 992px) {
    .searchOption {
        display: block;
        height: 42px;
    }

    #searchHeader ul {
        transition: none !important;
    }

    #searchHeader ul:not(:hover) {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        transition: none !important;
        padding-top: 0px;
    }

    #searchHeader ul:hover {
        background: #f5f5f5;
        z-index: 11;
        position: relative;
        border: 1px solid #333;
        padding-left: 2px;
        padding-right: 3px;
        margin-left: -3px;
        margin-right: -3px;
        transform: translateY(-1px);
    }

    #searchHeader ul:hover li {
        visibility: visible;
        pointer-events: all;
    }

    #searchHeader ul:not(:hover) li:not(.selected) {
        visibility: hidden;
        pointer-events: none;
        height: 0;
    }
}