/* CAS.cool homepage */

body {
    background: #f0f2f5 !important;
}

.cas-home-wrap {
    margin: 15px auto;
}

.cas-home-panel,
.cas-feed-main,
.cas-feed-toolbar {
    background: #ffffff;
}

.cas-home-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.cas-home-notice {
    width: 100%;
    padding: 20px 20px 0 20px;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.cas-home-sidebar {
    flex: 0 0 190px;
    width: 190px;
    padding: 20px;
    background: #ffffff;
    box-sizing: border-box;
}

.cas-home-sidebar .create_topics .uk-button-primary,
.cas-home-sidebar .create_topics .uk-button-default {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
}

.cas-feed-main {
    float: none;
    flex: 0 0 930px;
    width: 930px;
    padding: 20px 0 0 0;
    box-shadow: none;
    border-radius: 3px;
}

.cas-feed-toolbar {
    padding: 0;
    border-bottom: 0;
    position: relative;
    z-index: 100;
    box-shadow: none;
}

.cas-hidden {
    display: none;
}

/* Shared card baseline: homepage is the visual source of truth.
 * Forum list cards must match these public-facing values exactly.
 * When adjusting list/page shell layout, do not casually edit this card block.
 */
.v2_cont {
    padding: 12px 16px !important;
    border-bottom: 1px solid #eef2f6 !important;
    transition: background 0.15s ease;
}

.v2_cont:hover {
    background: #f9fafb !important;
}

.v2_author img.qin-avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
    border: 2px solid #f0f2f5;
}

.v2_author {
    display: none !important;
}

.v2_title {
    position: relative;
    float: right;
    padding: 0;
    width: 100%;
    margin: 0 !important;
    margin-left: 0 !important;
}

.v2_cont-title {
    width: 100% !important;
    height: auto !important;
    line-height: 24px !important;
}

.cas-market-label {
    float: left;
    padding: 0 7px;
    margin: 3px 8px 0 0;
    height: 18px;
    line-height: 18px;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    border-radius: 3px;
    letter-spacing: 0;
}

.cas-market-label-sell {
    color: #9a5b00;
    background: #fff7e8;
    border: 1px solid #ffe2b5;
}

.cas-market-label-buy {
    color: #087047;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
}

.cas-market-label-default {
    color: #667c99;
    background: #f0f4f8;
    border: 1px solid #e4eaf1;
}

.cas-thread-type {
    float: left;
    margin: 3px 8px 0 0;
    height: 18px;
    line-height: 18px;
    color: #687385;
    font-size: 11px;
    font-weight: 500;
}

.v2_cont-title a {
    font-size: 15px;
    color: #1a1a2e;
    font-weight: 500;
    transition: color 0.15s;
}

.v2_cont-title a:hover {
    color: #2d8cf0;
}

.v2_info {
    width: 100% !important;
    display: block;
    height: auto !important;
    line-height: 18px !important;
    margin: 5px 0 0 0;
    font-size: 12px !important;
}

.cas-author-icon {
    margin-right: 3px;
    font-size: 10px;
    color: #b2bec3;
}

.cas-author-link {
    color: #667c99;
}

.cas-message-link {
    margin-left: 6px;
    color: #b2bec3;
    font-size: 12px;
}

.cas-message-link-disabled {
    color: #cccccc;
}

.cas-feed-dot {
    font-size: 11px;
    color: #d0d5dd;
}

.cas-feed-date {
    padding-left: 3px;
    color: #999999;
}

.v2_text {
    color: #999 !important;
}

.cas-view-count {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #667c99;
    font-size: 12px;
    font-weight: 500;
}

.cas-view-count .fas {
    color: #b8c4d0;
    font-size: 11px;
}

.v2_reply {
    display: none !important;
}

.uk-button-primary {
    background-color: #ff8200 !important;
    border-color: #ff8200 !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 !important;
}

.uk-button-primary:hover {
    background-color: #e67e22 !important;
    color: #ffffff !important;
}

.uk-button-default {
    border: 1px solid #e0e4ea !important;
    border-radius: 6px !important;
    color: #555 !important;
}

.uk-button-default:hover {
    border-color: #ff8200 !important;
    color: #ff8200 !important;
}

.navi_box {
    background: #fff;
    border: 0;
}

.left_navi {
    position: relative;
    padding: 8px 0;
}

.left_navi dl {
    border-left: 2px solid #f0f2f5;
    margin-left: 8px;
}

.left_navi dl dt {
    position: relative;
    height: 30px;
    margin-left: -1px;
    background: #fff;
    cursor: pointer;
    z-index: 99;
}

.left_navi dl dt h2 {
    line-height: 30px;
    padding-left: 12px;
    font-size: 13px;
    color: #2c3e50;
    font-weight: 600;
}

.left_navi dl dd h3 a {
    width: 100px;
    height: 28px;
    line-height: 28px;
    padding: 0 10px 0 20px;
    font-size: 13px;
    color: #667c99;
    font-weight: 400;
    display: block;
}

.left_navi dl dd h3 {
    margin: 0;
}

.left_navi dl dd h3 a:hover {
    color: #ff8200;
}

.left_navi dl:first-child em {
    background: url(../dingzhi/jian.png) no-repeat;
}

.left_navi dl dt em {
    position: absolute;
    cursor: pointer;
    line-height: 100px;
    top: 50%;
    left: -7px;
    width: 14px;
    height: 14px;
    margin-top: -8px;
    border-radius: 3px;
    text-indent: -999em;
    background: url(../dingzhi/jia.png) no-repeat;
}

.left_navi dl dt.on em {
    background: url(../dingzhi/jian.png) no-repeat !important;
}

.tab_box1 {
    padding: 10px 0 !important;
}

.tabx {
    height: 34px !important;
    line-height: 34px !important;
    padding: 0 14px !important;
    border-radius: 17px;
    background: #f0f2f5;
    color: #667c99;
}

.tabx.active {
    background: #ff8200 !important;
    color: #fff !important;
}

a.tabx:hover {
    color: #ff8200;
}

.node_list {
    width: 180px;
}

.node_info {
    height: auto;
    padding: 43px 0 42px 0 !important;
    box-sizing: border-box;
}

.RichContent-cover {
    float: right;
}

.gonggao_box {
    position: relative;
    z-index: 2;
    overflow: visible;
    border-bottom: 0;
}

.cas-announcement-bar {
    position: relative;
    z-index: 3;
    clear: both;
    display: block;
    width: 100%;
    margin-bottom: 12px;
}

.gonggao_box > .area,
.gonggao_box .frame,
.gonggao_box .column,
.gonggao_box .block,
.gonggao_box .dxb_bc,
.gonggao_box .portal_block_summary {
    position: relative !important;
    z-index: 1;
    float: none;
    clear: both;
    width: 100%;
    overflow: visible;
}

.cas-announcement-bar .AfruxWidgets-topWidgetSection {
    display: block;
    margin: 0;
}

.cas-announcement-bar .AfruxWidgets-Widget {
    margin: 0 !important;
}

.cas-announcement-bar .AfruxWidgets-Widget-content {
    padding: 12px 16px;
}

.cas-announcement-bar .Afrux-NewsWidget-icon {
    margin: 3px 12px 0 0;
}

.cas-announcement-viewport {
    height: 24px;
    overflow: hidden;
}

.cas-announcement-list {
    display: block;
}

.cas-announcement-list .Afrux-NewsWidget-line {
    height: 24px;
    line-height: 24px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.cas-announcement-list a {
    color: #334155;
    font-weight: 500;
    text-decoration: none;
}

.cas-announcement-list a:hover {
    color: #ff8200;
}

.cas-announcement-rolling .cas-announcement-list {
    animation: casAnnouncementRoll 12s linear infinite;
}

.cas-announcement-rolling:hover .cas-announcement-list {
    animation-play-state: paused;
}

.gonggao_box .AfruxWidgets-topWidgetSection {
    overflow: visible;
}

@keyframes casAnnouncementRoll {
    0%,
    45% {
        transform: translateY(0);
    }

    50%,
    95% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(0);
    }
}

.more-block {
    background: transparent;
}

.create_topics {
    margin-bottom: 16px;
}

.create_topics .fas {
    margin-right: 8px;
}

.cas-signup-link {
    margin-top: 10px;
}

.cas-loading-state {
    padding: 13px;
    margin: 0;
    text-align: center;
    font-size: 13px;
    color: #667c99;
    background: #ffffff;
}

@media (max-width: 800px) {
    .wp.cas-home-wrap {
        width: 100% !important;
        margin: 15px 0 0 0 !important;
    }

    .cas-home-panel {
        display: block;
    }

    .section1x {
        width: 100% !important;
    }

    .left_box1 {
        display: none;
    }

    .mn {
        width: 100% !important;
        padding: 15px 3% !important;
        box-sizing: border-box;
    }

    .cas-feed-main {
        float: none;
        flex: none;
        width: 100% !important;
        padding: 15px 0 0 0;
    }

    .node_info .content {
        width: 100% !important;
        padding: 0 30px;
        box-sizing: border-box;
    }

    .node_info {
        height: auto;
        padding: 25px 0 !important;
        box-sizing: border-box;
    }

    .gonggao_box {
        padding: 15px 3% 0 3% !important;
    }

    .cas-home-notice {
        padding: 15px 15px 0 15px;
    }

    .cas-announcement-bar .AfruxWidgets-Widget-content {
        padding: 10px 12px;
    }

    .cas-announcement-viewport,
    .cas-announcement-list .Afrux-NewsWidget-line {
        height: 22px;
        line-height: 22px;
    }

    .v2_cont-title {
        height: auto !important;
    }

    .qin-rt-icon {
        display: none;
    }

    .v2_cont {
        padding: 12px 16px !important;
    }
}

@media (min-width: 1580px) {
    .mn {
        width: 1070px !important;
    }
}
