.model_banner {
    height: 600px;
    background: url("../images/model_marking.jpg") no-repeat;
    background-size: cover;
}
.search {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}
.search h1 {
    font-size: 40px;
    text-align: center;
}
.search .form {
    display: flex;
    align-items: center;
    margin-top: 15px;
}
.search .form input {
    width: 400px;
    height: 40px;
    border-radius: 5px 0px 0px 5px;
    border: none;
    padding-left: 10px;
}
.search .form button {
    background: #206cee;
    color: #fff;
    border: none;
    outline: none;
    height: 40px;
}

.model_tabs {
    background: #f8f9fc;
}
.model_tabs .layui-tab .layui-tab-title {
    text-align: center;
}
.layui-tab .layui-tab-title li {
    padding: 0px 30px;
    font-size: 16px;
}

.model_tabs .layui-tab .layui-tab-content {
    width: 90%;
    margin: auto;
}
.model_tabs .layui-tab .layui-tab-content #imggList {
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
}
.model_tabs .layui-tab .layui-tab-content .model_item {
    /* margin: 0px 20px; */
    width: 24%;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0px 0px 10px 0px #ddd;
    margin-right: 1%;
    margin-bottom: 20px;
    padding: 50px 20px;
    position: relative;
    background-color: #fff;
}
.model_tabs .layui-tab .layui-tab-content .model_item img {
    max-width: 100%;
}
.model_tabs .layui-tab .layui-tab-content .model_item .title {
    font-size: 20px;
    color: #000;
    margin: 15px 0px;
    word-break: break-all;
}
.model_tabs .layui-tab .layui-tab-content .model_item .desc {
    color: #6d7383;
    font-size: 14px;
    min-height: 80px;
}

.model_tabs .layui-tab .layui-tab-content .model_item .btns {
    position: absolute;
    left: 0;
    bottom: 15px;
    right: 0;
    width: 90%;
    text-align: center;
    margin: auto;
}
.model_tabs .layui-tab .layui-tab-content .model_item .btns a {
    border: 1px solid #ddd;
    font-size: 16px;
    width: 48%;
    display: inline-block;
    height: 35px;
    line-height: 35px;
    cursor: pointer;
}
.model_tabs .layui-tab .layui-tab-content .model_item .btns a:nth-of-type(1) {
    color: #6d7382;
}
.model_tabs .layui-tab .layui-tab-content .model_item .btns a:nth-of-type(2) {
    color: #fff;
    background: #206cee;
}

.model_empty {
    height: 200px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #999;
}

/* 详情 */
.detail_main {
    width: 90%;
    min-height: 60vh;
    margin: auto;
    display: flex;
    align-items: flex-start;
    padding-top: 100px;
    padding-bottom: 30px;
    position: relative;
}
#detailInfo {
    width: calc(100% - 300px - 20px);
    /* flex: 1; */
    text-align: justify;
}
.sidebar_main {
    width: 300px;
    border: 1px solid #bcc4d0;
    box-sizing: border-box;
    padding: 25px;
    /* margin-left: 30px; */
    /* position: -webkit-sticky;
    position: sticky; */
    top: 150px;
    position: fixed;
    right: 10px;
}
#sidebarList {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}
#sidebarList button {
    color: #3d3d3d;
    font-size: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    border: none;
    background: unset;
    text-align: justify;
}
#sidebarList button:hover {
    color: #206cee;
}

#deployment_a a {
    display: block;
    background: #206cee;
    width: 100px;
    color: #fff;
    text-align: center;
    line-height: 30px;
}

@media only screen and (max-width: 900px) {
    .model_tabs .layui-tab .layui-tab-content .model_item .desc {
        height: 80px;
        display: -webkit-box;
        text-overflow: ellipsis;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }
    .model_tabs .layui-tab .layui-tab-content .model_item .btns a {
        font-size: 14px;
    }
    .sidebar_main {
        width: 200px;
    }
}

@media only screen and (max-width: 640px) {
    .model_banner {
        height: 50vh;
    }
    .search h1 {
        font-size: 30px;
    }
    .search .form input {
        max-width: 60vw;
    }
    .detail_main {
        padding-top: 30px;
    }
    .detail_main img {
        max-width: 100%;
    }

    #detailInfo {
        width: 100%;
    }
    .model_tabs .layui-tab .layui-tab-content .model_item {
        /* width: 45%; */
        width: 100%;
    }
    .model_tabs .layui-tab .layui-tab-content .model_item .btns a {
        font-size: 14px;
        height: 30px;
        line-height: 30px;
    }
    .sidebar_main {
        display: none;
    }
}

@media only screen and (max-width: 375px) {
    .search .form input {
        width: 70vw;
    }
    .model_tabs .layui-tab .layui-tab-content .model_item {
        width: 100%;
    }
}
