﻿/* ********** 纯属CSS搜索框，示例：**********
    <div class="sBox01">
        <form action="xxx">
            <img src="v2023image/searchDL.png" class="sImg" alt=""/>
            <input type="text" placeholder="全文检索" class="sBox02 f20 fontSourceHanSerifCN-Medium">
        </form>                                
    </div>
*/

/*外部定位div*/
.sBox01 {
    position: absolute;
    top: 0.6rem;
    right: -0.2rem;
    
    width: 0.4rem;
    height: 0.6rem;
    
    overflow: hidden;
    
    transition: 0.5s;
    
    /*background-color: red;*/
}
/*鼠标指向，放大，显示文本框*/
.sBox01:hover {
    width: 4rem;
}
/*搜索按钮*/
.sImg {
    position: absolute;
    top: 0.15rem;
    right: 0;
    
    width: 0.36rem;
    height: 0.36rem;
    
    cursor: pointer;
}
/*内部文本框*/
.sBox02 {
    width: 3rem;
    height: 0.4rem;
    
    position: absolute;
    top: 0.08rem;
    right: 0.65rem;
    
    border-radius: 0.2rem;
    background-color: white;
    text-indent: 0.2rem;
    border: 1px white solid;
}

/* ********** 纯属CSS搜索框，示例，结束 ***********/


/* —————————— 旧版搜索，需要配合 TanSearch.js 使用 ——————————

<!--搜索条
<div class="searchBox fRight f16">
    <form action="xxx">
        <input type="text" placeholder="全文检索" class="sInput f20 fontSourceHanSansSC-Normal">
        <img src="v2023image/search02.png" class="menuSearch imgHoverScale105" alt="" />
    </form>
</div>-->

*/


.searchBox {
    height: 0.5rem;
    
    width: 3rem;
    
    margin-top: 0.47rem;
    
    
/*    position: absolute;*/
/*    top: 0.28rem;*/
/*    right: 0rem;*/
}



.menuSearch {
    position: absolute;
    top: 0.09rem; 
	right: 0.25rem;
	
/*  手机使用
	right: 0.6rem;*/
	
    
    width: 0.32rem;
    
    cursor: pointer;
}

/*
.sDiv {
    width: 200px;
    height: 40px;
    margin-top: 10px;
    margin-right: 182px;    
    
}
*/

/*搜索输入框*/
.sInput {
    height: 0.44rem;
    width: 2.92rem;
    
    text-indent: 0.2rem;
    
    border-radius: 0.25rem;
    
    border: 1px white solid;
    
/*    background-color: white;*/
    
    /*transition: 0.5s;
    
    
    position: absolute;
    top: -0.15rem;
  手机使用
	right: 1rem;
	right: 0.35rem;
    
    
    height: 0.3rem;
    width: 0rem;
    text-align: center;
    opacity: 0;
    
    font-size: 0.16rem;
    border: solid 0.01rem #ccc;
    box-shadow: 0rem 0rem 0.08rem 0.05rem #ccc;*/
    
}
/*
.sInput01 {
    background-color: transparent;
    border: none;
    padding: 0px;
    margin: 0px;
    text-align: center;
}
.sInput02 {
    border: 0;
    padding: 0px;
    margin: 0px;
    text-align: center;
    border-radius: 16px;
    background-color: #E3DACA;
    height: 26px;
    width: 220px;
}
*/


/*
.sImg {
    width: 25px;
    margin-top: 8px;
    margin-left: 15px;
    position: absolute;
    right: 10px;
}
.sImg:hover {
    input 不支持下列更换 src 方式，使用 js 处理
    注：src 不是 style 样式的属性
    $(this).attr
    src: url(image2022/search-hover.png);
}
*/
/*
.cqnuImg {
    height: 30px;
    margin-top: 15px;
    margin-right: 100px;
}
*/
