body{
    background: #f4f8f8;
    z-index: 1;
}
.home-container{
    margin-top: 15px;
}
.home-nav-box{
    background: #ffffff;
    list-style: none;
    outline: none;
    border-radius: 10px;
    border: 1px solid transparent;
    box-shadow: 0 3px 6px -4px #0000001f, 0 6px 16px #00000014, 0 9px 28px 8px #0000000d;
    transition: background .3s,width .3s cubic-bezier(.2,0,0,1) 0s;
    padding: 0px;
    display: flex;
    align-items: center;
    z-index: 1000;
}
.home-nav-menu{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}
.home-logo{
    font-size: 35px;
    line-height: 90px;
    height: 90px;
    color: #009688;
    margin-left: 30px;
    font-weight: bold;
}
.home-logo:hover{
    color: #009688;
}
.home-menu-box{
    display: flex;
    flex-direction: row;
    justify-content: center;
    background: #E6EDF3;
    width: 35%;
    padding: 5px;
    border-radius: 10px;
}
.home-menu-item{
    margin: 5px 6px;
    text-align: center;
    font-size: 15px;
    line-height: 25px;
    height: 25px;
    padding: 0px 5px;
}

.home-menu-item-select,.home-menu-item:hover{
    background: #009688;
    border-radius: 3px;
    color: #ffffff;
}

.home-menu-userinfo{
    display: flex;
    flex-direction: row;
    justify-content: left;
    padding: 5px;
    position: relative;
}
.home-menu-userinfo .home-menu-userinfo-item{
    margin: 5px;
    text-align: center;
    font-size: 12px;
    padding: 5px 10px;
}

.home-menu-userinfo .login{
    background: #009688;
    color: #ffffff;
    border-radius: 5px;
}
.home-menu-userinfo .sigin{
    color: #009688;
    background: #E6EDF3;
    border-radius: 5px;
}
.home-menu-userinfo .user-avatar{
    width: 20px;
    height: 20px;
    margin: 5px;
    overflow: hidden;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}
.home-menu-userinfo .userinfo-btn{
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: left;
    background: #E6EDF3;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px -1px #0000001f, 0 2px 5px #00000014, 0 3px 10px 3px #0000000d;
    transition: background .3s,width .3s cubic-bezier(.2,0,0,1) 0s;
    line-height: 30px;
    height: 30px;
    border-radius: 5px;
    align-items: center;
    color: #009688;
}
.home-menu-userinfo .username{
    margin: 5px 0px;
    color: #009688;
}
.home-menu-userinfo .user-icon{
    line-height: 20px;
    font-size: 10px;
    margin: 5px;
}

.home-search-box{
    line-height: 35px;
    height: 35px;
    width: 35%;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    border: 1px solid #CCCCCC;
    padding: 0px 5px;
    border-radius: 5px;
}
.home-search-input {
    height: 30px;
    border: none;
    border-bottom: 1px solid #F2F2F2;
    outline: none;
    width: 90%;
    margin-left: 5px;
}

.userinfo-menu {
    position: absolute;
    top: 100%;
    right: 5%;
    background-color: #fff;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px -1px #0000001f, 0 2px 5px #00000014, 0 3px 10px 3px #0000000d;
    transition: background .3s,width .3s cubic-bezier(.2,0,0,1) 0s;
    padding: 0px;
    flex-direction: column;
    display: none;
    font-size: 13px;
    z-index: 100;
}
.userinfo-menu .userinfo-menu-item{
    font-size: 13px;
    margin-bottom: 5px;
    padding: 5px 10px;
    display: flex;
    flex-direction: row;
    justify-content: left;
}
.userinfo-menu .userinfo-menu-item:hover{
    background: #F4F8FB;
    transition: background 0.5s;
}
.tools-cate-box{
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
    height: auto;
    border-radius: 8px;
    width: 93%;
    margin: 2% auto;
    padding: 1%;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px -1px #0000001f, 0 2px 5px #00000014, 0 3px 10px 3px #0000000d;
    transition: background .3s,width .3s cubic-bezier(.2,0,0,1) 0s;
}
.tools-cate-box .tools-cate-item{
    padding: 2px 10px;
    background: #E6EDF3;
    margin: 5px;
    line-height: 25px;
    height: 25px;
    font-size: 15px;
    border-radius: 5px;
    color: #25314C;
}
.tools-cate-box .tools-cate-item-select,.tools-cate-box .tools-cate-item:hover{
    background: #009688;
    color: #ffffff;
}
.tools-list-box{
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    background: #ffffff;
    padding: 10px;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px -1px #0000001f, 0 2px 5px #00000014, 0 3px 10px 3px #0000000d;
    transition: background .3s,width .3s cubic-bezier(.2,0,0,1) 0s;
    border-radius: 8px;
}

.tools-list-item{
    display: flex;
    justify-content: center;
}

.tools-list-item a:hover{
    color: #009688;
}

.tool-card {
    width: 90%;
    display: flex;
    flex-direction: column;
    background-color: #E6EDF3;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tool-page-btn-right{
    float: right;
}

.tool-card .logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    padding: 2px;
}

.tool-card .logo .logo-img{
    width: 100%;
}

.tool-card .content {
    flex-grow: 1;
    width: 80%;
}

.tool-card .title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 5px;
}

.tool-card .title .title-left{
    font-size: 18px;
    font-weight: bold;
    width: 80%;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 20px;
}

.tool-card .title .title-right{
    font-size: 12px;
    color: black;
}

.tool-card .introduction {
    font-size: 15px;
    color: #25314C;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 18px;
    height: 36px;
}

.introduction>a:hover{
    color: #25314C;
}

.tool-card .bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.tool-card .cate {
    font-size: 13px;
}

.tool-card .cate>a{
    color: #25314C;
}

.tool-card .browse-count {
    font-size: 12px;
    color: #999999;
}

.tool-card-info{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.footer-box{
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    justify-content: left;
    padding: 10px;
    background: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px -1px #0000001f, 0 2px 5px #00000014, 0 3px 10px 3px #0000000d;
    transition: background .3s,width .3s cubic-bezier(.2,0,0,1) 0s;
}

.footer-item{
    color: #25314C;
    font-size: 13px;
    margin-right: 5px;
}

.footer-menu{
    margin: 0px 5px;
    font-size: 13px;
    text-decoration:underline;
}

.footer-menu:hover{
    color: #009688;
}

/* 自定义样式 */
.custom-form {
    padding:10px 20px;
    width: 80%;
    margin: 0 auto;
    margin-top: 35px;
    margin-bottom: 35px;
    font-size: 15px;
    background: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px -1px #0000001f, 0 2px 5px #00000014, 0 3px 10px 3px #0000000d;
    transition: background .3s,width .3s cubic-bezier(.2,0,0,1) 0s;
    border-radius: 8px;
}

.custom-form .layui-btn {
    margin-right: 10px;
}
.custom-form .title{
    font-size: 1.5rem;
    padding: 10px;
}
.custom-form .form-text-tip{
    float: right;
    color: #FF5722;
    font-size: 12px;
    float: right;
}
.custom-form .verify{
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
}
.custom-form .verify-input{
    width: 35%;
    margin-right: 8px;
}
.custom-form .privacy-box{
    font-size: 14px;
    display: flex;
    flex-direction: column;
    justify-content: left;
}
.custom-form .privacy{
    color: #666674;
    font-size: 14px;
    text-decoration: underline;
}
.custom-card{
    border: 1px solid transparent;
    box-shadow: 0 1px 3px -1px #0000001f, 0 2px 5px #00000014, 0 3px 10px 3px #0000000d;
    transition: background .3s,width .3s cubic-bezier(.2,0,0,1) 0s;
    border-radius: 8px;
    margin: 20px 10px 20px 10px;
}
.custom-card-foot{
    display: flex;
    justify-content: center;
    flex-direction: row;
    padding: 10px;
}
.pagination{
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}
.pagination>li {
    display: inline;
}
.pagination>li:first-child>a, .pagination>li:first-child>span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #f4f4f4;
    border-color: #DDDDDD;
    color: inherit;
    cursor: default;
    z-index: 2;
}
.pagination > li > a, .pagination > li > span {
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    color: inherit;
    float: left;
    line-height: 1.42857;
    margin-left: -1px;
    padding: 4px 10px;
    position: relative;
    text-decoration: none;
}
.pagination>li:last-child>a, .pagination>li:last-child>span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
/* 平板 css注释：设置了浏览器宽度不小于1201px时*/
@media screen and (max-width: 1200px) {
    .home-nav-box{
        height: 80px;
    }
    .home-logo{
        font-size: 1.9rem;
    }
    .home-menu-box{
        border-radius: 5px;
    }
    .home-menu-item {
        margin: 2px 3px;
        font-size: 13px;
        line-height: 20px;
        height: 20px;
    }
    .home-search-box {
        line-height: 30px;
        height: 30px;
        width: 30%;
        padding: 0px 5px;
        border-radius: 5px;
    }
    .home-search-input{
        font-size: 10px;
        height: 25px;
    }
    .home-menu-userinfo .userinfo-btn{
        line-height: 25px;
        height: 25px;
        font-size: 13px;
    }
    .userinfo-menu .userinfo-menu-item {
        font-size: 12px;
        margin-bottom: 2px;
    }
    .tool-card {
        width: 85%;
    }
    .tool-card .title .title-left{
        font-size: 15px;
    }
    .tool-card .introduction{
        font-size: 13px;
        line-height: 15px;
        height: 30px;
    }
    .custom-form{
        font-size: 12px;
        margin-top: 25px;
        margin-bottom: 25px;
    }
    .custom-form .title{
        font-size: 1.3rem;
        padding: 10px;
    }
}

/* 平板mini 设置了浏览器宽度不大于1200px时  */
@media screen and (max-width: 990px){
    .home-nav-box{
        height: 70px;
    }
    .home-logo{
        font-size: 15px;
    }
    .home-menu-box{
        width: 32%;
    }
    .home-menu-item{
        font-size: 10px;
        line-height: 15px;
        height: 15px;
    }
    .home-search-box{
        width: 28%;
        line-height: 25px;
        height: 25px;
    }
    .home-search-input{
        font-size: 8px;
        height: 20px;
    }
    .home-menu-userinfo .userinfo-btn{
        line-height: 20px;
        height: 20px;
        font-size: 12px;
    }
    .userinfo-menu .userinfo-menu-item {
        font-size: 10px;
        margin-bottom: 2px;
    }
    .tool-card {
        width: 90%;
    }
    .tool-card .title .title-left{
        font-size: 15px;
    }
    .tool-card .introduction{
        font-size: 12px;
        line-height: 15px;
        height: 30px;
    }
    .custom-form{
        font-size: 12px;
        margin-top: 20px;
        margin-bottom: 20px;
        width: 90%;
    }
    .custom-form .title{
        font-size: 1.3rem;
        padding: 10px;
    }
}

/* 手机 设置了浏览器宽度不大于901px时*/
@media screen and (max-width: 735px) {
    .home-logo{
        height: 35px;
        font-size: 20px;
        line-height: 35px;
        font-weight: bold;
    }
    .home-nav-box{
        height: auto;
        display: block;
        padding: 10px 0px;
    }
    .home-nav-menu{
        flex-direction: column;
    }
    .home-menu-box {
        width: 80%;
        padding: 2px;
    }
    .home-search-box {
        width: 75%;
        line-height: 20px;
        height: 20px;
        font-size: 8px;
        margin-top: 5px;
    }
    .home-search-input {
        font-size: 8px;
        height: 15px;
    }
    .home-search-box .layui-icon{
        font-size: 12px;
    }
    .tool-card {
        width: 90%;
    }
    .tool-card .title .title-left{
        font-size: 15px;
    }
    .tool-card .introduction{
        font-size: 12px;
        line-height: 15px;
        height: 30px;
    }
    .tools-cate-box .tools-cate-item{
        font-size: 10px;
        height: 20px;
        line-height: 20px;
    }
    .footer-box{
        flex-direction: column;
    }
    .footer-item{
        margin: 5px;
    }
    .custom-form{
        font-size: 12px;
        margin-top: 15px;
        margin-bottom: 15px;
        width: 85%;
    }
    .custom-form .title{
        font-size: 1.2rem;
        padding: 10px;
    }
}
