@font-face {
    font-family: 'ZCOOL KuaiLe';
    src: url(./ZCOOLKuaiLe-Regular.ttf);
}
img{
    border-radius: 10px;
}

.header {
    width: 100%;
    margin: 0 auto;
    background-color: white;
    padding: 0.8rem 0;
    position: fixed;
    top: 0;
    z-index: 9999;
}

.main {
    margin-bottom: 100px;
    margin-top: 81px;
}

.logo img {
    height: 30px;
}

.lang-box img {
    height: 16px;
}

.lang-list {
    display: none;
    position: absolute;
    top: 40px;
    width: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.2rem 0.5rem;
    background-color: white;
}

.lang-list a {
    width: 100%;
    font-size: 0.8rem;
    display: block;
    border-bottom: 1px solid #ddd;
    padding: 0.1rem 0;
}

.lang-list a:last-child {
    border-bottom: none;
}

.lang-list a img {
    width: 26px;
    height: 20px;
    padding-right: 0.2rem;
}


.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 0.8rem;
    background: rgb(243, 244, 246);
}

.menu-box {
    width: 250px;
    position: fixed;
    top: 61px;
    bottom: 0;
    padding: 0.5rem;
    background-color: white;
    overflow-y: scroll;
    z-index: 11;
    display: none;
    /* 隐藏滚动条 */
    -ms-overflow-style: none;
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
    overflow: -moz-scrollbars-none;

    &::-webkit-scrollbar {
        display: none;
    }
}

.menu-box li {
    width: 100%;
    font-size: 0.9rem;
    border-bottom: 1px solid #ddd;
}

.menu-box ul li:last-child {
    border-bottom: unset;
}

.menu-box ul li ul {
    list-style: unset;
}

.menu-box ul li ul li {
    font-size: 0.8rem;
}

.menu-box .list-addon {
    float: right;
}

.menu-box .show {
    display: block;
}

.menu-box .hide {
    display: none;
}

body {
    background: rgb(243, 244, 246);
}

.app-box img {
    width: 100%;
}

.app-box .app-item {
    width: 10%;
    overflow: hidden;
}

.app-box .app-item h3 {
    font-size: 0.8rem;
    text-align: center;
    font-size: 0.8rem !important;
    line-height: 1.2rem;
    display: block;
    width: 100%;
    height: 1.2rem;
    overflow: hidden;
    /*font-weight: 300;*/
    margin: 0.2rem 0;
}

.app-box .app-item div {
    margin: 0.2rem;
    border-radius: 10px;
    background-color: white;
    border: 1px solid rgb(221, 221, 221);
}

.website-box {
    width: 100%;
}

.website-box .item {
    width: 25%;
}

.website-box .media {
    margin: 0.2rem;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 10px;
    background-color: white;
    padding: 0.5rem;
}

.website-box .media strong {
    /*font-weight: 300;*/
    font-size: 0.9rem;
}

.website-box img {
    width: 100px;
    height:100px;
}

.website-box .media-body .desc {
    overflow: hidden;
    font-size: 0.7rem;
    font-weight: 100;
}

.list-box {
    width: 100%;
    border: unset;
}

.list-box .item-box {
    width: 10%;
}

.list-box .item {
    margin: 0.2rem;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 10px;
    background-color: white;
    padding: 0.5rem;
}

.list-box .item-box img {
    width: 100%;
}

.list-box .item-box h3 {
    text-align: center;
    font-size: 0.75rem !important;
    line-height: 1.2rem;
    display: block;
    width: 100%;
    height: 1.2rem;
    overflow: hidden;
    /*font-weight: 300;*/
    margin: 0.2rem 0;
}

.nav-box {
    width: 100%;
}

.nav-box .nav-item {
    width: 20%;
}

.nav-box .nav-item .item {
    margin: 0.2rem;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 10px;
    background-color: white;
    padding: 0.5rem;
    position: relative;
}

.nav-box img {
    height: 2.5rem !important;
    width: 2.5rem !important;
}

.nav-box .title {
    text-align: center;
    font-size: 0.9rem !important;
    line-height: 2.5rem;
    /*font-weight: 200;*/
    font-family: 'Microsoft YaHei';
    margin-left: 0.5rem;
}
.nav-box .small-title{
    font-size:0.8rem;
    font-weight:200;
    font-family: 'Microsoft YaHei';
    margin-left: 0.5rem;
    padding:0;
}
.nav-box .view-txt{
    font-size: 0.6rem;
    font-weight: 300;
}

.nav-item .iconfont {
    position: absolute;
    right: 0.5rem;
    line-height: 2.5rem;
    ;
}


.icon-list i {
    font-size: 2rem;
}

fieldset {
    padding: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom:0.5rem;
    background-color: white;
    position: relative;
}
fieldset+.container{
    margin-bottom: 0;
    margin-top: 0;
}
fieldset+fieldset{
    margin-top:0;
}

fieldset legend {
    background-color: white;
    border-radius: 10px;
    border: 1px solid rgb(221, 221, 221);
    font-size: 1.2rem;
    font-weight: 100;
    padding: 0.5rem;
    font-family: 'ZCOOL KuaiLe';
}

fieldset legend i {
    margin-right: 0.5rem;
}

fieldset .more-box {
    position: absolute;
    right: 2rem;
    top: -2.6rem;
    background-color: white;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    cursor: pointer;
    /* border-radius: 10rem; */
    border: 1px solid rgb(221, 221, 221);
}

.fun-list {
    position: fixed;
    right: 0;
    bottom: 10vh;
    width: 50px;
    background-color: rgba(0,0,0,0.3);
    border-radius: 10px;
    font-size: 1.4rem;
}

.title-box {
    background-color: white;
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    position: relative;
}

.title-box .title-content{
    width:100%;
}

.title-box img.attachment {
    width: 400px;
    height: 400px;
    border-radius: 10px;
    margin-right: 1rem;
}

.title-content a#link {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    clear: both;
    width:35%;
    margin:0 auto;
    text-align: center;
    height:3rem;
    line-height: 3rem;
    padding:0 !important;
}

.title-box legend {
    font-family: unset;
    padding: 0.1rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.title-box {
    font-size: 0.8rem;
    font-weight: 300;
    text-align: center;
}

.tag-list a {
    margin: 0.2rem;
}

.detail {
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.2rem;
}
.recommend-list{
    width: 100%;
}
.recommend-list .recommend-item{
    width: 50%;
}
.recommend-item .item{
    margin:0.2rem;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 10px;
    background-color: white;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    font-size:0.8rem;
    font-weight: 300;
    position: relative;
}
.recommend-item .item .media{
    width:100%;
}
.recommend-item img{
    width:100px;
    height: 100px;
}
.recommend-item .setup{
    position: absolute;
    right:0;
}
.subcategory-list{
    width:100%;
    height:2rem;
    overflow-x: auto;
    /* 隐藏滚动条 */
    -ms-overflow-style: none;
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
    overflow: -moz-scrollbars-none;
    display: flex;
    white-space: nowrap;
}
.subcategory-list span{
    margin-right:0.5rem;
    font-size: 0.8rem;
    font-weight: 300;
    float:left;
    height:2rem;
    line-height: 2rem;
}
.subcategory-list span:last-child{
    margin-right: unset;
}
.subcategory-list span.active{
    color:#0a8;
    font-weight: 400;
}
.ffcategory-list{
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size:0.8rem;
    font-weight: 300;
}
.ffcategory-list .active{
    color:#0a8;
    font-weight: 400;
}

.favorite-box{
    width:100%;
}
.favorite-box .favorite-item{
    width: 33.33333333%;
    overflow: hidden;
    display: inline-block;
    position: relative;
}
.favorite-box .favorite-item .item{
    border-radius: 10px;
    margin:0.5rem;
    background-color: white;
    overflow: hidden;
}
.favorite-box:nth-child(-n+3) .favorite-item:nth-child(-n+9) .item{
    padding:0.2rem;
    border:2px solid #FFD700;
}
.favorite-box:nth-child(1) .favorite-item:nth-child(-n+3) .item{
    padding:0.2rem;
    border:2px solid red;
}

.favorite-box .favorite-item .item img{
    width: 100%;
    height:300px;
}
.favorite-box .favorite-item .item .title{
    text-align: center;
    font-size: 0.8rem !important;
    font-weight: 400;
    height: 2rem;
    line-height: 2rem;
    margin:0;
    padding:0;
}
.favorite-box .favorite-item .item .desc{
    font-size: 0.7rem;
    font-weight: 300;
    line-height: 1.2rem;
    min-height:3rem;
}
.favorite-item .item .mark
{
    z-index:999;
    position: absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background: rgba(229, 231, 235,0.7);
    border-radius: 10px;
    display: none;
}
.favorite-item .mark .mark-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width:100%;
    height:100%;
}
.favorite-item .mark a:last-child{
    margin-top:1rem;
}

.flip-item img.img-auto{
    width:100% !important;
}

.result .button{
    margin:0.5rem;
    font-size:0.8rem;
    font-weight:400;
    width:calc(20% - 1rem);
}
.result .button h4{
    margin-top:0.6rem;
    font-size:0.6rem !important;
    font-weight:300;
}
.keyword-list{
    width:100%;
}
.keyword-list a{
    margin:0.5rem;
    font-size:0.8rem;
    font-weight: 300;
}
.hot-list{
    width: 100%;
    padding:unset;
    margin:unset;
}
.hot-list li{
    display: flex;
    justify-content: space-between;
    font-size:0.8rem;
    list-style-type: decimal;
}
.search-tab li a{
    padding:0 !important;
    font-size:0.8rem;
    font-weight: 400;
}
.search-tab{
    border-radius: 10px;
}

img.adsense{
    width:100%;
}
fieldset legend{
    margin-top:0.5rem;
}
@media (max-width: 992px) {
    .app-box .app-item {
        width: 20%;
    }

    .container {
        padding: unset !important;
    }

    .website-box .item {
        width: 50%;
    }

    .nav-box .nav-item {
        width: 25%;
    }

    .title-box img.attachment {
        width: 200px;
        height: 200px;
        border-radius: 10px;
        margin-right: 1rem;
    }
    .result .button{
        margin:0.5rem;
        font-size:0.8rem;
        font-weight:400;
        width:calc(33.33333333% - 1rem);
    }
}

@media (max-width: 768px) {
    .app-box .app-item {
        width: 20%;
    }

    .header {
        padding: 0.8rem 0.5rem;
    }

    .nav-box .nav-item {
        width: 33.33333333%;
    }

    .title-box {
        background-color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0.5rem;
    }

    .title-box h1 {
        text-align: center;
    }
    .favorite-box .favorite-item{
        width: 50%;
    }
    .favorite-box .favorite-item .item img{
        width:100%;
        height:160px;
    }
    .result .button{
        margin:0.5rem;
        font-size:0.8rem;
        font-weight:400;
        width:calc(50% - 1rem);
    }
}

@media(max-width: 576px) {
    .website-box .item {
        width: 50%;
    }

    .website-box img {
        height: 50px;
        width:50px
    }

    .list-box .item-box {
        width: 20%;
    }

    .nav-box .nav-item {
        width: 50%;
    }

    fieldset legend {
        background-color: white;
        border-radius: 10px;
        border: 1px solid rgb(221, 221, 221);
        font-size: 1rem;
        font-weight: 100;
        font-family: 'ZCOOL KuaiLe';
    }

    fieldset legend i {
        margin-right: 0.5rem;
    }

    fieldset .more-box {
        position: absolute;
        right: 1rem;
        top: -2rem;
        background-color: white;
        padding: 0 0.5rem;
        font-size: 0.7rem;
        cursor: pointer;
        /* border-radius: 10rem; */
        border: 1px solid rgb(221, 221, 221);
    }

    .title-box .attachment {
        width: 100px;
        height: 100px;
        border-radius: 10px;
        margin-right: 1rem;
    }
    .title-box a#link {
        display: block;
        font-size: 1.1rem;
        font-weight: 600;
        clear: both;
        width:35%;
        margin:0 auto;
        text-align: center;
        height:3rem;
        line-height: 3rem;
        padding:0 !important;
    }
    .recommend-list .recommend-item{
        width: 100%;
    }
}