﻿/**********搜索*************/
.search-box {
    width: 1400px;
    height: 78px;
    border-radius: 15px;
    background-color: #fff;
    padding-right: 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .search-box .custom-select {
        position: relative;
        min-width: 168px;
        height: 90%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }


    .search-box .select-selected {
        background-color: #fff;
        color: #333;
        border: none;
        padding: 5px 10px 5px 20px;
        margin-left: 6px;
        cursor: pointer;
        color: #101010;
        font-size: 16px;
        flex: 1;
        text-align: left;
        font-weight: 600;
    }

        .search-box .select-selected:after {
            position: absolute;
            content: "";
            top: 50%;
            right: 10px;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border: solid transparent;
            border-width: 0 1px 1px;
            pointer-events: none;
        }

    .search-box .select-items {
        color: #333;
        position: absolute;
        background-color: #fff;
        border-top: none;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1;
        visibility: hidden;
        padding: 5px;
        opacity: 0;
        border-radius: 4px;
        box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.1);
        transition: visibility 0s, opacity 0.5s linear;
    }


    .search-box .select-items-shop-active .select-history,
    .search-box .select-items-platform-active .select-items {
        visibility: visible;
        opacity: 1;
    }

    .search-box .select-items div {
        cursor: pointer;
        font-size: 14px;
        color: #606266;
        min-height: 34px;
        cursor: pointer;
        padding: 2px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .search-box .select-items div:hover {
            background-color: #f5f7fa;
        }

    .search-box .select-input {
        border: none;
        margin-left: 30px;
        width: 100%;
        height: 100%;
        min-width: 200px;
        box-sizing: border-box;
        outline: none;
        font-size: 16px;
        font-weight: 600;
    }

        .search-box .select-input::placeholder {
            color: #999;
            font-size: 16px;
        }

    .search-box .select-items-platform-active .search-triangle {
        transform: rotate(180deg);
    }

    .search-box .select-input-box {
        display: flex;
        flex: 1;
        height: 90%;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }
    .search-box .hr {
        display: none;
    }
.search-box .select-input::placeholder {
    content: "6666";
}

.search-box .photos-img {
    width: 24px;
    height: 24px;
    margin: 0 17px;
    cursor: pointer;
}
    .search-box .search-img {
        display:none;
    }

.banner-box .select-input-box .search-btn {
    background: var(--index-color);
}

.select-input-box .search-btn {
    min-width: 127px;
    height: 62px;
    border-radius: 49px;
    background: var(--main-color);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .select-input-box .search-btn img {
        width: 18px;
        height: 18px;
        margin-right: 7px;
    }

/*输入历史记录*/
.search-box .select-input-box .select-history {
    color: #333;
    position: absolute;
    background-color: #fff;
    border-top: none;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    border-radius: 4px;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.1);
    transition: visibility 0s, opacity 0.5s linear;
}

.search-box .select-items-shop-active .select-history {
    visibility: visible;
    opacity: 1;
}

.search-box .select-input-box .select-history div {
    cursor: pointer;
    font-size: 14px;
    color: #606266;
    min-height: 34px;
    cursor: pointer;
    padding: 2px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

    .search-box .select-input-box .select-history div:hover {
        background-color: #f5f7fa;
    }

/*输入历史记录 end*/

.loader {
    display:none;
    width: 20px;
    height: 20px;
    margin-left: 4px;
    position: relative;
}

    .loader:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 3px dotted #999;
        animation: spin 4s linear infinite;
    }
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}