@import url('common.css');

.main {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - (100vh / 3));
    width: 100vw;
}

.container-form {
    width: 590px;
    /*
    margin: 0 auto;
    padding-top: 100px;
     */
    position: relative;
}

.container-form:after {
    content: '';
    display: block;
    clear: both;
}

.container-form > div {
    float: left;
}

.container-form .main-logo {
    width: 100%;
    height: 120px;
    margin: 0 auto 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100px;
    background-image: url("http://www.cnmhg.com/skin/2022js/logo.png");
}

.container-form .main-input {
    position: relative;
    width: 500px;
    height: 46px;
    border-top: #ccc solid 1px;
    border-right: none;
    border-bottom: #ccc solid 1px;
    border-left: #ccc solid 1px;
    border-radius: 4px 0 0 4px;
}

.container-form .main-input > input {
    outline: none;
    border: none;
    padding: 0 80px 0 10px;
    margin: 0;
    height: 44px;
    width: 410px;
    color: #333;
    font-size: 16px;
    border-radius: 4px 0 0 4px;
}

.container-form .main-input > input::-webkit-input-placeholder {
    color: #999;
}

.container-form .main-input .main-picker {
    width: 70px;
    padding-right: 30px;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    line-height: 44px;
    cursor: pointer;
    color: #999;
    font-size: 12px;
    text-align: right;
    background-image: url("../images/down.png");
    background-position: 50px center;
    background-repeat: no-repeat;
    user-select: none;
}

.container-form .main-input .main-picker-list {
    list-style: none;
    padding: 5px 0;
    width: 100px;
    position: absolute;
    right: 0;
    top: 50px;
    margin: 0;
    line-height: 26px;
    font-size: 12px;
    border-radius: 2px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .2);
    background-color: #fff;
    display: none;
}

.container-form .main-input .main-picker-list > li {
    padding-left: 36px;
    background-position: 10px center;
    background-repeat: no-repeat;
    background-size: 16px auto;
}

.container-form .main-input .main-picker-list > li:hover {
    background-color: #ebf1f5;
    cursor: pointer;
}

.container-form .main-input .main-hot-list {
    padding: 10px 0;
    width: 100%;
    position: absolute;
    left: 0;
    top: 50px;
    margin: 0;
    line-height: 32px;
    font-size: 14px;
    border-radius: 2px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .2);
    background-color: #fff;
    display: none;
}

.container-form .main-input .main-hot-list > a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 0 10px;
    overflow: hidden;
}

.container-form .main-input .main-hot-list > a:hover {
    background-color: #f3f3f3;
}

.container-form .main-input .main-hot-list > a > div {
    float: left;
}

.container-form .main-input .main-hot-list > a > div.number {
    text-align: center;
    width: 40px;
}

.container-form .main-search {
    width: 89px;
    height: 46px;
    background-color: #08f;
    background-image: url("../images/search.png");
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/**
搜索列表
 */
.head-logo {
    width: 100px;
    height: 40px;
    overflow: hidden;
    line-height: 40px;
}

.head-logo a {
    display: block;
    width: 100%;
    height: 100%;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-image: url("http://www.cnmhg.com/skin/2022js/logo.png");
    text-indent: 100%;
}

.head-input {
    flex: 1;
    position: relative;
}

/* 搜索结果过滤条件 */
.search-page-content {
    line-height: 1.5;
}

.search-page-content *, .search-page-content ::after, .search-page-content ::before {
    box-sizing: border-box;
}

.filter a {
    text-decoration: none
}

.filter a:active {
    text-decoration: none
}

.filter {
    background-color: #fff;
    border-bottom: 1px solid #eceff4;
    padding: 15px;
}

.filter-title {
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    align-items: center;
}

.filter-title h3 {
    flex: 0 0 auto;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
    width: 96px;
    padding: 0px 10px;
}

.filter-title .filter-rtitle {
    flex: 1 1 auto;
    font-size: 12px;
    color: #99909e;
    text-align: right;
    padding-right: 10px;
}

.filter-rtitle em {
    color: var(--danger);
    font-weight: 600;
    font-style: normal;
    font-size: 16px;
}

.filter-wrap {
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 14px;
}

.filter-wrap-title {
    flex: 0 0 auto;
    color: #989896;
    width: 96px;
    padding: 0px 10px;
}

.filter-wrap-body, .filter-wrap-body ul {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}

.filter-wrap-body li > a {
    margin-right: 3px;
    margin-bottom: 3px;
    border: 1px solid #f1eaea;
    color: #34332f;
    display: block;
    width: 80px;
    height: 26px;
    text-align: center;
    overflow: hidden;
}

.filter-wrap-body li > a:hover {
    background-color: #1e9eff;
    color: #fff;
}

.filter-wrap-body li > a:first-child {
    border-left: 1px solid #f1eaea;
}

.filter-wrap-body li > .active {
    background-color: #1e9eff;
    color: #fff;
}

.filter-wrap-body ul, .filter-wrap-body li {
    list-style: none;
    margin-bottom: 0;
}

/**
多媒体列表
 */
.media-list {
    background-color: #fff;
    border-bottom: 1px solid #eceff4;
    /*
    padding: 15px;
     */
}

.media-list em {
    color: #e73d4a;
    font-style: normal;
}

.media-item {
    padding: 20px 30px;
}

.media-item:hover {
    background-color: #f8f8f8;
}

.media-item:not(:first-child) {
    /*
    margin-top: 16px;
    padding-top: 12px;
     */
    border-top: 1px solid #f5f5f5;
}

.media-item-thumb {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.media-item-thumb > a {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 2px;
    right: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
}

.media-item-nbody {
    display: flex;
}

.media-item-nbody .media-item-thumb {
    margin-right: 16px;
    width: 180px;
}

.media-item-nbody .media-item-body {
    flex: 1;
    position: relative;
}

.media-item-nbody .media-item-body > .media-item-desc {
    margin-top: 0;
    -webkit-line-clamp: 4;
}

.media-item-nbody .media-item-body > .media-item-info {
    margin-top: 0;
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
}

.media-item-body {
}

.media-item-body > .media-item-thumb {
    margin-top: 16px;
}

.media-item-multithumb {
    margin-top: 16px;
    display: flex;
}

.media-item-multithumb .media-item-thumb:not(:first-child) {
    margin-left: 8px;
}

.media-item-title {
    font-size: 18px;
    font-weight: 500;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-align: justify;
    text-justify: inter-character;
}

.media-item-title small {
    color: #999999;
    font-size: 12px;
    font-style: italic;
}

.media-item-desc {
    font-size: 13px;
    color: #999999;
    margin-top: 14px;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    text-align: justify;
    text-justify: inter-character;
}

.media-item-info {
    margin-top: 14px;
    display: flex;
}

.media-item-info-text, .media-item-info-text a {
    font-size: 13px;
    color: #999999;
}

.media-item-info-text:not(:first-child) {
    margin-left: 10px;
}

.media-item-info-text.istop {
    color: #9a0000;
}

.media-item > .media-item-title {
    margin-bottom: 12px;
}

.media-item.single {
    display: flex;
    align-items: center;
}

.media-item.single .media-item-thumb {
    width: 180px;
    margin-right: 16px;
}

.media-item.single .media-item-body {
    flex: 1;
}

.load-more {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    color: #a3a3a3;
    background-color: #f8f9fa;
    margin-top: 20px;
}

/**
分页
 */
.result-page {
    background-color: #fff;
    border-bottom: 1px solid #eceff4;
    padding: 15px;
    display: flex;
    justify-content: center;
}

.result-error {
    background-color: #fff;
    border-bottom: 1px solid #eceff4;
    padding: 15px;
}

.result-error li {
    list-style: none;
}

.result-error-wrap {
    padding: 10px;
}

.result-error li {
    list-style: none;
}

.result-error-wrap h4 {
    font-size: 18px;
    font-weight: 500;
}

.result-error-message {
    margin-bottom: 20px;
}

.result-link {
    padding: 0;
}

.result-link-wrap {
    background-color: #F5F5F5;
    /*
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
     */
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: flex-start;
    padding: 20px 30px;
}

.result-link-wrap h4 {
    font-style: italic;
}

.result-link-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}

.result-link-body li > a {
    display: block;
    margin-left: 10px;
    margin-top: 10px;
}

.result-related {
    background-color: #fff;
}

.result-related-wrap {
    background-color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: flex-start;
}

.text-error {
    color: #b94a48;
}

/**
搜索框
 */
.result-form {
    padding: 35px;
    background-color: #FFFFFF;
    border-bottom: 1px solid #eceff4
}

.form-search {
    position: relative;
}

.suggest-list {
    width: calc(100% - 90px);
    height: 200px;
    overflow-y: scroll;
    display: none;
    border: 0;
    position: absolute;
    top: 38px;
    left: 0;
    background-color: #FFFFFF;
    z-index: 1;
}

.suggest-list::-webkit-scrollbar {
    display: none;
}

.suggest-item {
    padding: 10px;
}

.suggest-item:hover {
    color: rgb(62, 149, 226);
    background-color: antiquewhite;
    cursor: pointer;
}

/**
首字母页面
 */
.initial-navs {
    font-size: 0.875rem;
}

.tags-lists {
    padding: 0.375rem;
    margin-bottom: 1rem;
}

.tags-lists .btn {
    margin: 0.375rem;
}