/*#region reset */
html,
body,
header,
section,
footer,
div,
ul,
ol,
li,
img,
a,
span,
em,
del,
legend,
center,
strong,
var,
fieldset,
form,
label,
dl,
dt,
dd,
cite,
input,
hr,
time,
mark,
code,
figcaption,
figure,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    border: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
    -webkit-tap-highlight-color: none;
    -webkit-user-modify: inherit;
    -webkit-appearance: none;
}

img, fieldset {
    border: 0 none;
}

a:active,
a:hover {
    text-decoration: none;
}

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}
/*#endregion*/
/*#region*/
#main-box {
    background-color: #fff;
}

.content {
    padding-top: 0;
}
/*#region public*/
.flex {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.flex-between {
    justify-content: space-between;
}

.flex-start {
    flex-direction:row;
    justify-content:flex-start;
}
.flex-column {
    flex-direction: column;
}
.flex-wrap {
    flex-wrap: wrap;
}
.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space:nowrap;
}
.two-line {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
/*#region 搜索框*/
.search-box {
    width: 100%;
    height: 1rem;
    padding: .2rem 0 .1rem .3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-input {
    position: relative;
    width: 5.8rem;
    height: .7rem;
    border-radius: 5rem;
    background-color: #F1F1F1;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

    .search-input .icon-search {
        position: absolute;
        left: .2rem;
        display: block;
        z-index: 100;
        height: .48rem;
        width: .48rem;
        background: url(../image/icon_search1.png) no-repeat center;
        background-size: contain;
    }

    .search-input .search {
        background: transparent;
        height: .5rem;
        line-height: .5rem;
        padding: 0 .3rem 0 .8rem;
        margin: 0;
        border: 0;
        font-size: .3rem;
        color: #222222;
    }

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #9A9A9A;
    line-height: .5rem;
}

::-moz-placeholder { /* Firefox 19+ */
    color: #9A9A9A;
    line-height: .5rem;
}

:-ms-input-placeholder { /* IE 10+ */
    color: #9A9A9A;
    line-height: .5rem;
}

:-moz-placeholder { /* Firefox 18- */
    color: #9A9A9A;
    line-height: .5rem;
}

input[type=search] {
    -moz-appearance: textfield;
    box-shadow: none;
    -webkit-appearance: none;
}

    input[type=search]::-webkit-inner-spin-button,
    input[type=search]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    background-color: transparent !important;
    background-image: none !important;
}
input:-internal-autofill-selected {
    background-color: transparent !important;
}
.search-btn {
    flex: 1;
    width: 1.4rem;
    font-size: .3rem;
    text-align: center;
    height: .7rem;
    line-height: .7rem;
    padding: 0 .3rem;
    color: #3F3F3F;
}
/*region 历史记录*/
.max-h {
    max-height:2.4rem;
    overflow:hidden;
}
.search-list {
    width: 100%;
    padding: .3rem .3rem 0;
}

.list-head .list-name {
    font-size: .32rem;
    margin: 0;
    color: #393939;
    font-family: PingFangSC-Regular;
    font-weight: 400;
}

.icon-delete {
    display: block;
    z-index: 100;
    height: .4rem;
    width: .4rem;
    background: url(../image/icon_delete.png) no-repeat center;
    background-size: contain;
}

.list-item {
    padding: .2rem 0 0;
}

.list-item-desc {
    background: #F2F2F2;
    color: #666666;
    height: .6rem;
    line-height: .6rem;
    padding: 0 .3rem;
    font-size: .26rem;
    margin: 0 .3rem .2rem 0;
    border-radius: 5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/*region 广告*/
.s-ad {
    width: 100%;
    overflow: hidden;
    padding: .3rem 0;
    position: relative;
    display: none;
}

.ad-banner .ad-link {
    width: 100%;
    height: 2.5rem;
    padding: 0 .3rem;
}

    .ad-banner .ad-link img {
        width: 100%;
        max-height: 2.2rem;
        object-fit: cover;
    }

.ad-banner .swiper-pagination-bullet {
    background: #e5e5e5;
    opacity: 1;
}

.ad-banner .swiper-pagination-bullet-active {
    background: #e81717 !important;
    width: 20px;
    border-radius: 5px;
}
/*#endregion*/
