.clearfix:before, .clearfix:after {
    display: block;
    content: " ";
    clear: both;
}

/*搜索框*/
.mobile-search {
    width: 100%;
    height: 46px;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 999;
    cursor: pointer;
    max-width: 720px;
    margin: 0 auto;
    padding: 8px 0;
    float: left;
    box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.1);
}


.mobile-search > input {
    width: 95%;
    height: 30px;
    border: 1px solid #ccc;
    background-color: #fff;
    margin: 0 auto;
    position: absolute;
    font-size: 14px;
    color: #666;
    float: left;
    padding: 0 20px 0 15px;
    left: 0;
    right: 0;
}

.mobile-search-default, .mobile-search-default-1 {
    background: #fcfcfc !important;
}

.mobile-search-default .mobile-search-input {
    border-radius: 3px;
}

.mobile-search-default-1 .mobile-search-input {
    border-radius: 20px;
}

.mobile-search-default-2 .mobile-search-input {
    border-radius: 3px;
    border: 1px solid #fcfcfc;
    background-color: #fff;
}

.mobile-search-default-3 .mobile-search-input {
    border-radius: 20px;
    border: 1px solid #fcfcfc;
    background-color: #fff;
}

.mobile-search > i {
    position: absolute;
    display: block;
    width: 32px;
    height: 30px;
    line-height: 28px;
    right: 1.5%;
    top: 8px;
}

.page-main {
    padding-bottom: 50px;
    padding-bottom: calc(50px + constant(safe-area-inset-bottom));
    padding-bottom: calc(50px + env(safe-area-inset-bottom));
}


.mobile-box-nav {
    background-color: #fff;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1999;

}

.mobile-box-nav li,.mobile-box-nav .mobile-has-theme-li {
    height: 50px;
    float: left;
    position: relative;
    color: #666;
    width: 20%;
    padding: 0 3%;
    cursor: pointer;

}

.mobile-box-nav > ul {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    margin-bottom: constant(safe-area-inset-bottom);
    margin-bottom: env(safe-area-inset-bottom);
}


.mobile-box-nav .mobile-box-nav-div {
    width: 100%;
    height: 100%;
    padding: 6px 0;
}

.mobile-box-nav .active .mobile-box-nav-div {
    border-radius: 0;
    background: #1f92ef;
    color: #fff;
}

.mobile-box-nav .mobile-box-nav-div i {
    width: 100%;
    display: block;
    text-align: center;
    height: 1em;
    line-height: 1em;
    font-size: 22px;
}

.mobile-box-nav .mobile-box-nav-div div {
    width: 100%;
    display: block;
    text-align: center;
    height: 1em;
    line-height: 1em;
    font-size: 12px;
    margin-top: 4px;
    overflow: hidden;
    word-break: break-all;
    white-space: nowrap;
}

/* 自定义样式 变化*/
.mobile-box-nav.default-5-2 .active .mobile-nav-zs-bg {
    background: #fff;
    position: absolute;
    width: 100%;
    border-top: 4px solid #1f92ef;
    bottom: 0;
    left: 0;
}

.mobile-box-nav.default-5-3 li {
    padding: 3px 3%;
}

.mobile-box-nav.default-5-3 .mobile-box-nav-div {
    padding: 3px 0;
}

.mobile-box-nav.default-5-3 .active .mobile-box-nav-div {
    border-radius: 5px;
}

.mobile-has-theme-box[data-theme] .mobile-has-theme-li > .mobile-box-nav-div > div {
    margin-bottom: 2px;
}
.mobile-has-theme-box[data-theme='3'] .mobile-has-theme-li > .mobile-box-nav-div > div{
    margin-bottom: 6px;

}
/*loading*/
.mobile-box-loading {
    position: fixed;
    z-index: 400;
    min-width: 300px;
    max-width: 720px;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    margin: 0 auto;
    text-align: center;
    padding-top: 18%;
    color: #666;
    font-size: 1rem
}

.index-modal-box {
    position: fixed;
    margin: 0 auto;
    width: 100%;
    max-width: 720px;
    top: 33%;
}

/* 置底 兼容处理 */
.homyi-fix-bottom-box {
    bottom: 50px;
    bottom: calc(50px + constant(safe-area-inset-bottom));
    bottom: calc(50px + env(safe-area-inset-bottom));
}

.ctr-fixed-bottom {
    bottom: 50px !important;
    bottom: calc(50px + constant(safe-area-inset-bottom)) !important;
    bottom: calc(50px + env(safe-area-inset-bottom)) !important;
    padding-bottom: 0 !important;
    background-color: transparent !important;
}


