﻿/* 全文检索-自定义样式 */
@media screen and (max-width: 1024px){
    /* 首页 */
    .home-s-big .s-header{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    /* 结果页 */
    .s-header{
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
        padding: 20px 3%;
        width: 100%;
        height: auto;
    }
    .s-header .s-logo{
        margin: 0;
        padding: 0;
        text-align: left;
    }
    .s-form,
    .s-form.sm{
        width: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        float: none;
    }
    .s-form>div.input-box{
        flex:1;
    }
    .s-form .input-box input,
    .s-form.sm .input-box input{
        width: 100%;
    }
    .s-form .btn-box input{
        width: 80px;
    }
    .s-form .link-box{
        display: none;
    }
    .s-form .dropdown-word{
        position: absolute;
        z-index: 2;
        width: 100%;
    }
    .s-tab{
        box-sizing: border-box;
        width: 100%;
        padding: 10px 2% 4px;
        height: auto;
    }
    .s-tab #ulindexitem{
        width: 100%;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }
    .s-tab li{
        width: calc(100% / 5 - 6px);
        height: auto;
        margin: 0 3px 6px;
        line-height: auto;
    }
    .s-tab li a{
        display: block;
        height: auto;
        padding: 8px 5px;
        font-size: 14px;
        line-height: 1.4;
        text-align: center;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background-color: rgba(255, 255, 255, 0.2);
    }
    .s-tab li:hover, .s-tab li.current {
        background: none;
    }
    .s-tab li:hover a,
    .s-tab li.current a{
        background-color: rgba(0, 0, 0, 0.2);
        border-color: rgba(0, 0, 0, 0.2);
    }

    .s-content{
        box-sizing: border-box;
        width: 100%;
        padding: 0 3%;
    }
    .s-result{
        width: 100%;
    }
    #categorySiteRight{
        display: none;
    }

    /* url_方块样式分页 */
    .pager{
        font-size: 0;
        text-align: center;
        padding: 20px 0;
        clear: both;
        overflow:hidden;
    }
    .pager a,
    .pager span{
        font-size: 14px;
        display:inline-block;
        _display: inline;
        zoom: 1;
        border: 1px solid #E1E1E1;
        padding: 0px 11px;
        margin: 0 3px 5px 0;
        line-height: 32px;
        height: 32px;
    }
    .pager a:hover, 
    .pager span:hover{
        border: 1px solid #1258AD;
        text-decoration: none;
        color: #1258AD;
        cursor:pointer;
    }
    .pager .current{
        background: #1258AD;
        border: 1px solid #1258AD;
        color: #fff !important;
        font-weight: bold;
    }
    .pager select,
    .pager input{
        margin: 0 4px;
        background: #fff;
        border: 0 solid #E1E1E1;
        vertical-align: middle;
    }
    .pager input{
        text-align: center;
        padding: 0 4px;
        outline: none;
    }


    /* 分页 */
    .pager{
        text-align: center;
    }
    .pager a,
    .pager span{
        display: none;
        float: none;
    }
    .pager a:nth-child(2),
    .pager a:nth-last-child(3),
    .pager span:nth-last-child(1),
    .pager .current{
        display: inline-block;
    }
}
@media screen and (max-width: 767px){
    /* 首页 */
    .home-s-big .s-logo{
        text-align: center;
    }
    .s-logo h2{
        font-size: 22px;
        padding-left: 70px;
    }
    .s-logo span{
        margin: 0 5px;
    }
    .s-logo h4{
        font-size: 20px;
    }
    .s-main{
        padding: 15px 0;
        min-height: auto;
    }
    .s-main .full-search{
        box-sizing: border-box;
        width: 100%;
        padding: 0 3%;
    }
    /* 结果页 */
    .s-header{
        padding: 15px 3%;
        flex-direction: column;
    }
    .s-header .s-logo{
        width: 100%;
        float: none;
    }
    .s-form,
    .s-form.sm{
        margin-top: 20px;
        width: 100%;
    }
    .s-tab li{
        width: calc(100% / 4 - 6px);
        height: auto;
        margin: 0 3px 6px;
        line-height: auto;
    }

    .result-info{
        clear: left;
        float: none;
    }
    

}