html {
    height: 100%;
}

body {
    height: 100%;
    overflow-x: hidden;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background-color: var(--theme-lightBg);
}

.loading-mask {
    display: none;
    text-align: center;
    padding: 50px;
    color: #999;
}

.no-data {
    display: none;
    text-align: center;
    padding: 50px;
    color: #999;
}

.con-banner{
    box-shadow: 0 6px 18px rgba(0, 128, 255, 0.18);
}

.info-list{
    margin-bottom: 30px;
}

.ml-page{
    margin-top: 0;
}

.ml-page .layui-laypage-count{
    background-color: transparent;
}

@media screen and (max-width: 768px) {
    .layui-container {
        width: 100%;
    }
}

.con-banner{
    box-shadow: none;
}

.con-banner h1,.con-banner h2{
    color: var(--theme-primary);
    color: #000;
}

.con-banner img {
    width: auto;
    height: 100%;
}


/* 现货挂牌 */
.gp-tab {
    display: flex;
    width: 360px;
    margin: 18px auto;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #aaa;
}

.gp-item {
    border-left: 1px solid #aaa;
    color: #000;
    font-size: 1.08rem;
    font-weight: bold;
    flex: 0 0 33.3%;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
}

.gp-now {
    background-color: var(--theme-primary);
    color: #fff;
    border: none;
}

.gp-filter {
    align-items: center;
    padding-bottom: 12px;
}

.gp-filter .layui-form-select {
    margin-bottom: 0;
    margin-right: auto;
    max-width: 240px;
}

.gp-filter button {
    border-radius: 6px;
}

.gp-filter .bg-primary {
    background-color: var(--theme-primary);
}

.gp-filter .bg-warn {
    background-color: var(--theme-red);
}

.gp-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 18px 0 0 0;
}

.gp-list-item {
    flex: 0 0 23.5%;
    margin: 0 2% 18px 0;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 128, 255, 0.12);
    box-sizing: border-box;
    overflow: hidden;
}

.gp-list-item:nth-child(4n) {
    margin-right: 0;
}

.gp-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.gp-img img {
    width: 100%;
    height: 100%;
}

.gp-img span {
    position: absolute;
    width: auto;
    background: var(--theme-primary);
    color: #fff;
    padding: 0 18px 0 12px;
    left: 0;
    top: 0;
    border-radius: 0 0 60px 0;
}

.gp-info {
    padding: 12px 12px 6px 12px;
}

.gp-info h1 {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.gp-info h1 .sale, .gp-info h1 .buy {
    background-color: #fde3e6;
    color: #f24105;
    font-size: 0.9rem;
    border-radius: 3px;
    margin-right: 6px;
    padding: 3px 6px;
    vertical-align: top;
    display: inline-block;
}

.gp-info h1 .buy {
    background-color: #d6f2ed;
    color: #147965;
}

.gp-info p {
    margin: 3px 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.9rem;
}

.gp-info p b {
    margin-left: 12px;
}

.gp-info p:nth-child(2) b {
    margin-left: 0;
}

.gp-buy {
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    padding: 6px 12px;
    align-items: center;
}

.gp-buy b {
    color: #ff4848;
    font-size: 0.9rem;
    font-weight: normal;
}

.gp-buy b span {
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 12px;
}

.gp-buy button {
    background: var(--theme-primary);
    padding: 0 18px;
    border-radius: 60px;
}

@media screen and (max-width: 768px) {
    .gp-tab {
        width: 90vw;
    }

    .gp-list-item {
        flex: 0 0 92%;
        margin: 0 auto 18px auto !important;
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 6px 12px rgba(0, 128, 255, 0.12);
        box-sizing: border-box;
        overflow: hidden;
    }

}