@charset "utf-8";

.container {
    width: 1200px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: -150px auto 0;
}

.zcjd-one {
    width: 48.3%;
    margin-bottom: 40px;
}

.zcjd-one-title {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: url(./title-bg.jpg) no-repeat;
    background-size: 100% 100%;
}

.zcjd-one-title .left {
    display: flex;
    align-items: center;
    padding-left: 8px;
}

.zcjd-one-title h3 {
    color: #2567e7;
    margin-left: 10px;
}

.zcjd-one-title a {
    color: #666;
    margin-right: 10px;
}

.zcjd-one-title a:hover {
    font-weight: 600;
}

.normal-ul li {
    position: relative;
    height: 58px;
    padding:  0 5px;
    line-height: 58px;
    overflow: hidden;
    border-bottom: 1px dashed #666;
}

.normal-ul li a {
    width: 100%;
    display: flex;
}

.normal-ul li::before {
    position: absolute;
    content: "";
    width: 6px;
    height: 6px;
    /* transform: rotate(45deg); */
    background-color: #2567e7;
    border-radius: 50%;
    left: 5px;
    top: 26px;
}

.normal-ul li span {
    display: inline-block;
    text-align: center;
}

.normal-ul li .title {
    flex: 1;
    margin-right: 4%;
    text-align: left;
    font-size: 16px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    padding-left: 15px;
    color: #333;
}

.normal-ul li .date {
    color: #666;
}

.normal-ul li:hover span {
    color: #2567e7;
}

.policy-img {
    display: flex;
    flex-wrap: wrap;
}

.policy-img li {
    width: 48%;
    height: 185px;
    margin-top: 20px;
    background-color: #ecf6fe;
	border-radius: 5px;
	border: solid 1px #a0daf9;
}
.policy-img li:nth-child(2n-1) {
    margin-right: 3.6%;
}

.policy-img li a {
    display: block;
    width: 100%;
}

.policy-img li img {
    width: 100%;
    height: 135px;
}

.policy-img li .title {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 3%;
    line-height: 44px;
}

.zcjmwd {
    width: 100%;
    height: 100%;
}

.video-ul li {
    height: 155px;
}

.video-ul li img {
    height: 105px;
}

/*---------------------------------------------------------
  民生价格动态监测
---------------------------------------------------------*/
.mjjg {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.banner {
    line-height: 0;
    font-size: 0;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* 内容卡片 */
.mjjg-box {
    width: 100%;
    margin-bottom: 20px;
    padding: 0 20px 14px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(37, 103, 231, .1);
}

.mjjg-box.half {
    width: 48.3%;
}

/* 卡片标题 */
.mjjg-title {
    height: 56px;
    display: flex;
    align-items: center;
}

.mjjg-title .bar {
    flex: 0 0 auto;
    width: 4px;
    height: 18px;
    margin-right: 10px;
    border-radius: 2px;
    background-color: #2567e7;
}

.mjjg-title img {
    flex: 0 0 auto;
    width: auto;
    height: 20px;
    margin-left: 8px;
}

.mjjg-title h3 {
    font-size: 20px;
    color: #2567e7;
}

.mjjg-title h3 span {
    color: #d43030;
}

.mjjg-title .more {
    margin-left: auto;
    color: #2567e7;
    font-size: 14px;
    transition: color .25s ease;
}

.mjjg-title .more:hover {
    color: #1a4fc4;
    font-weight: 600;
}

.mjjg-title.has-line {
    border-bottom: 1px solid #e8eaf0;
}

/* 年份切换 */
.year-tabs {
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 24px;
}

.year-tabs li {
    position: relative;
    height: 100%;
    padding: 0 14px;
    line-height: 56px;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition: color .25s ease;
}

.year-tabs li:hover {
    color: #2567e7;
}

.year-tabs li.active {
    color: #2567e7;
    font-weight: 600;
}

.year-tabs li.active::after {
    position: absolute;
    content: "";
    left: 14px;
    right: 14px;
    bottom: -1px;
    height: 2px;
    border-radius: 1px;
    background-color: #d43030;
}

/* 列表 */
.mjjg-ul {
    display: flex;
    flex-wrap: wrap;
    padding: 6px 0;
}

.mjjg-ul li {
    position: relative;
    width: 100%;
    height: 40px;
    line-height: 40px;
    border-radius: 4px;
    overflow: hidden;
    transition: background-color .2s ease;
}

.mjjg-ul li:hover {
    background-color: #f2f7ff;
}

.mjjg-ul li a {
    width: 100%;
    display: flex;
    align-items: center;
}

.mjjg-ul li .title {
    flex: 1;
    min-width: 0;
    margin-right: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
    transition: color .2s ease;
}

.mjjg-ul li .date {
    flex: 0 0 auto;
    color: #999;
    font-size: 14px;
    transition: color .2s ease;
}

.mjjg-ul li:hover .title,
.mjjg-ul li:hover .date {
    color: #2567e7;
}

.mjjg-ul.col2 li {
    width: 50%;
    padding-right: 20px;
}

/* 民生商品价格年份列表切换 */
.price-list {
    display: none;
}

.price-list.active {
    display: flex;
    animation: mjjgFade .3s ease;
}

@keyframes mjjgFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 最新概况 */
.mjjg-box.zxgk {
    display: flex;
    align-items: center;
    padding: 20px;
}

.zxgk-label {
    flex: 0 0 58px;
    width: 65px;
    height: 60px;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(0deg, 
		#d54e4e 0%, 
		#f58787 100%);
    border-radius: 10px;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 1px;
}

.zxgk-label span {
    color: #fff;
}

.zxgk-text {
    flex: 1;
    font-size: 15px;
    line-height: 28px;
    color: #333;
    text-align: justify;
}

.zxgk-text .more {
    margin-left: 6px;
    color: #2567e7;
    transition: color .25s ease;
}

.zxgk-text .more:hover {
    color: #1a4fc4;
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {

    .mjjg-box,
    .mjjg-title .more,
    .year-tabs li,
    .mjjg-ul li,
    .mjjg-ul li .title,
    .mjjg-ul li .date {
        transition: none;
    }

    .price-list.active {
        animation: none;
    }
}

@media screen and (max-width: 1260px) {
    .container {
        width: 97%;
        margin-top: -70px;
        margin-left: 1%;
    }
}

@media screen and (max-width: 992px) {
    .mjjg-box.half {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {

    .container {
        flex-direction: column;
        margin-top: -30px;
    }

    .zcjd-one {
        width: 100%;
        margin-bottom: 20px;
    }

    .mjjg-box {
        padding: 0 15px 10px;
    }

    .mjjg-title {
        height: auto;
        flex-wrap: wrap;
        padding: 10px 0 6px;
    }

    .mjjg-title.has-line {
        border-bottom: none;
    }

    .mjjg-title .year-tabs {
        order: 1;
        width: 100%;
        height: auto;
        margin-left: 0;
        flex-wrap: wrap;
    }

    .year-tabs li {
        height: 40px;
        line-height: 40px;
        padding: 0 10px;
    }

    .year-tabs li.active::after {
        left: 10px;
        right: 10px;
        bottom: 0;
    }

    .mjjg-ul.col2 li {
        width: 100%;
        padding-right: 0;
    }

    .mjjg-box.zxgk {
        align-items: flex-start;
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    .mjjg-box.zxgk {
        flex-direction: column;
    }

    .zxgk-label {
        margin: 0 0 12px;
    }
}

@media screen and (max-width: 420px) {
    .container {
        margin-top: -20px;
    }
}

@media screen and (max-width: 320px) {}