:root{
    /* 颜色 */
    --bg-lightblue:linear-gradient(180deg, #fcfdff, #edf1f8);
    --bg-black:linear-gradient(180deg, #19191b, black);

    --c-blue1:#232835;
    --c-gray1:#f3f3f1;
    --c-front:white;
    --c-mode-text:var(--c-blue1);

    --boder-black1:1px solid rgba(51, 64, 81, 0.1);
    --hover-color:rgba(0, 0, 0, 0.05);

    /* 搜索框 */
    --search-height:56;
}


/* search-wrap ********************************/
#search-wrap{
    /* display: none;     */
    display: flex;
    /* flex:1; */
    width:90%;
    max-width:560px;
    height:56px;        
    background:rgba(0,0,0,.25);
    /* background:rgba(186, 50, 50, 0.25); */

    /* box-shadow: 0 1px 3px rgba(0,0,0,.1); */
    border-radius:6px;
    box-sizing: border-box;
    position:relative;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    /* filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    -khtml-opacity: 0.8;
    opacity: 0.8; */
    transition:transform .3s,opacity .5s;    
    z-index:2;
    margin-bottom:75px;
    margin-top:20px;
}
#search-wrap:hover{
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
}
#search-type{
    height:100%;
    box-sizing: border-box;
    padding:0 2px;
    cursor: pointer;
    transition:all .3s; 
    /* background-color: aqua; */
    display: flex;
    align-items: center;
    user-select: none;
    
}
#search-type:hover{
}
#search-type-text{
    font-size:13px;
    
    color:white;
    margin-right:5px;
}
#search-type img{
    width:10px;
}
#search-menu-box{
    width:100%;
    position: absolute;
    left:0;
    top:115%; 
    overflow: hidden;
    /* box-shadow: 0 1px 3px rgba(0,0,0,.2); */
    z-index:4;
    display: none;
    /* display: flex; */
    padding:10px;
    box-sizing: border-box; 
    background:rgba(255, 255, 255, .9);
    border-radius:6px;
}
#search-menu{
    width:100%;       
    user-select: none;
    -ms-user-select: none;
}
.search-engine,#search-menu-box .engine-add{
    float: left;
    width:20%;
    cursor: pointer;
    border-radius:100px;
    box-sizing: border-box;
    border:2px solid rgba(255, 255, 255, 0);
    padding:10px 10px 10px 20px;
    display: flex;
    font-size:14px;
    color: #333333;
    /* font-weight: lighter;     */
    transition:all .2s;
    position: relative;
}

.search-engine:hover{
    background-color: rgba(0, 0, 0, 0.05);
    color: #000000;
}
.engine-add1:hover{
    background-color: #f7f7f7;
    color: #000000;
}


.search-engine span{
    display:inline-block;
    width: 100%;
    /* text-align: center; */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.engine-save-box{
    width:100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:10px 20px;
    box-sizing: border-box;
    display: none;
}
.engine-save-box span{
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
}
.engine-save-btn-box{
    display: flex;
    align-items: center;
}
.deleteAllEngine-btn{
    font-size: 14px;
    color:rgba(0,0,0,.3);
    margin:0 20px;
}
.engine-save-btn{
    background-color: #40a7ff;
    color: white;
    padding:4px 15px;
    border-radius: 100px;
    
}
.engine-btn-box{
    position:absolute;
    right:10px;
    top:4px;
    height:16px;
    width:40px;
    display: flex;
    justify-content: space-between;

}

.engine-btn{
    height:100%;
    transition:all .3s;
    display: none;
}
.engine-btn:hover{
    transform:scale(1.1);
}
.search-engine-background{
    background-color:#f7f7f7;
}
.engine-set-btn{
    position:absolute;
    right:0;
    top:0;
    padding:calc(var(--search-height)/4*1px);
    opacity:.4; 
    transition: all .3s;   
}
.engine-set-btn:hover{
    opacity:.8; 
}
.engine-set-btn img{
    width:17px;
    height:17px;
}






#search-keyword-box{
    position: absolute;
    left:0;
    top:115%;
    max-width:100%;
    /* background-color: white; */
    border-radius:4px;
    overflow: hidden;
    display: none;
    box-sizing: border-box; 
    background:rgba(255, 255, 255, .9);
    border-radius:6px;
    width:100%;
    padding-top:10px;
    /* padding:calc(var(--search-height)/6*1px) 0 calc(var(--search-height)/6*1px) 0; */
}
.search-keyword{
    display:block;
    height:28px;
    line-height:28px;
    font-size:14px;
    color: var(--c-blue1);
    /* text-shadow: 0 1px 2px rgba(0,0,0,.6); */
    /* font-weight:bold; */
    padding:0  10px 0 32px;
    box-sizing: border-box;
    cursor: pointer;
    z-index:3;
    
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition:all .5s;
}
.search-keyword:hover{
    
}

#search-form{
    flex: 1;
    display: flex;
    justify-content:space-between;
    align-items:center;
    height:100%;
}
#search{
    /* background: cadetblue; */
    border:none;
    height:98%;
    padding:0 10px 0 32px;
    box-sizing: border-box; 
    outline:none;
    font-size: 16px;
    flex:1;
    color: white;
    background-color: rgba(0, 0, 0, 0);
}
#search-btn{
    cursor: pointer;
    height:calc(var(--search-height)*1px);
    width:calc(var(--search-height)*1px);
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0);
    /* padding:6px; */
    outline: none;
    border:0 none;
    border-radius:100px;
    background-image: url("../img/index/sousuo.svg");
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}





