﻿/*---------------------------------------------------------
travel styles
---------------------------------------------------------*/

body {
    background: #edfaff url(weic_travel_bg1.png) top center no-repeat;
}

#container {
    border-bottom: 10px solid #2c95cc;
    background: url(weic_travel_bg2.png) bottom center no-repeat;
}

.container {
    width: 1150px;
    margin: 0 auto;
}

/* 栏目-导航 */
.travel_nav {
    padding-top: 257px;
}

.travel_nav ul {
    line-height: 65px;
}

.travel_nav li,
.travel_nav li a {
    flex: 1 1 0;
    display: flex;
    align-items: center;
}

.travel_nav li::after {
    content: "";
    width: 3px;
    height: 33px;
    background: linear-gradient(90deg, #006cac, #0d92df);
    display: inline-block;
}

.travel_nav li:last-of-type::after {
    display: none;
}

.travel_nav li a {
    color: #fff;
    font-size: 17px;
    justify-content: center;
}

.travel_nav li a::before {
    content: "";
    width: 50px;
    height: 50px;
    display: block;
}

.travel_nav li:first-of-type a::before {
    background: url(weic_travel_icon.png) -170px -556px no-repeat;
}

.travel_nav li:nth-of-type(2) a::before {
    background: url(weic_travel_icon.png) -350px -556px no-repeat;
}

.travel_nav li:nth-of-type(3) a::before {
    background: url(weic_travel_icon.png) -720px -556px no-repeat;
}

.travel_nav li:nth-of-type(4) a::before {
    background: url(weic_travel_icon.png) -905px -556px no-repeat;
}

/* 主体内容 */
#container .container {
    background: #fff;
    padding: 5px 15px 10px;
}

/* 栏目标题 */
.row_title {
    line-height: 37px;
    background: #f3f2f2;
    margin: 10px 0;
}

.row_title span {
    padding: 0 16px 0 50px;
    color: #FFF;
}

.container_row1 .row_title {
    border-bottom: 1px solid #d7c13d;
}

.container_row1 .row_title span {
    background: #d7c13d url(weic_travel_title_bg1.png) 13px center no-repeat;
}

.container_row2 .row_title {
    border-bottom: 1px solid #e44c28;
}

.container_row2 .row_title span {
    background: #e44c28 url(weic_travel_title_bg2.png) 13px center no-repeat;
}

.container_row3 .row_title {
    border-bottom: 1px solid #38afb6;
}

.container_row3 .row_title span {
    background: #38afb6 url(weic_travel_title_bg3.png) 13px center no-repeat;
}

.row_title a {
    font-size: 12px;
    padding-right: 5px;
}

/* 列表 */
.row_list_content {
    font-size: 14px;
}

.row_list_content li {
    line-height: 33px;
}

.row_list_content li a {
    display: flex;
    justify-content: space-between;
}

.row_list_content li span:first-of-type {
    flex: 1 1 0;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.row_list_content li:hover span:first-of-type {
    color: #ce0000;
}

.row_list_content li span:first-of-type::before {
    content: "";
    width: 5px;
    height: 5px;
    background: #c6c6c6;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.row_list_content li b {
    font-weight: normal;
    color: #ce0000;
    padding-right: 5px;
}

.row_list_content li .time {
    color: #999;
    padding-left: 15px;
    display: none;
}

/* 图片样式 */
.row_img {
    padding: 5px;
}

.row_img a {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

.row_img .img_content,
.row_img .info {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
}

.row_img .img_content img {
    width: 100%;
    height: 100%;
}

.row_img .info p {
    width: 100%;
    line-height: 30px;
    text-align: center;
    background: #333333b3;
    color: #fff;
    position: absolute;
    bottom: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    padding: 0 10px;
}

/* 模块一 */
.container_row1 .row_left {
    width: 38%;
}

.container_row1 .row_left .row_img {
    width: 440px;
    height: 300px;
}

.container_row1 .row_center .row_img {
    width: 220px;
    height: 150px;
}

.container_row1 .row_right {
    width: 40%;
}

/* 模块二 */
.container_row2 .row_left {
    width: 38%;
}

.container_row2 .row_right {
    width: 60%;
}

.img_list_content li {
    width: 50%;
    word-break: break-all;
    padding: 7px 10px;
}

.img_list_content li a {
    display: flex;
    justify-content: space-between;
}

.img_list_content li img {
    width: 120px;
    height: 85px;
}

.img_list_content li p {
    width: 58%;
    height: fit-content;
    color: #c92e37;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 模块三 */
.container_row3 .row_left .row_img {
    width: 395px;
    height: 310px;
}

.container_row3 .row_right {
    flex: 1 1 0;
}

.container_row3 .row_right .row_img {
    width: 33.33%;
    height: 155px;
}

/* 手机端 */
@media (max-width: 480px) {
    body {
        background-size: 500%;
        background-position-x: 26%;
    }

    .container,
    #container .row_left,
    #container .row_right,
    .img_list_content li p {
        width: 100%;
    }

    #container .row_content,
    .img_list_content li a {
        flex-direction: column;
    }

    /* 栏目-导航 */
    .travel_nav {
        padding-top: 200px;
    }

    .travel_nav ul {
        line-height: 60px;
        flex-wrap: wrap;
        background: #2481cf;
    }

    .travel_nav li {
        width: 50%;
        flex: none;
    }

    .travel_nav li:nth-of-type(even)::after {
        display: none;
    }

    /* 主体内容 */
    .container_row1 .row_left .row_img,
    .container_row3 .row_left .row_img {
        width: 100%;
        height: 230px;
    }

    .container_row1 .row_center .row_img,
    .container_row3 .row_right .row_img {
        width: 50%;
        height: 150px;
    }

    .row_list_content {
        padding: 5px 0;
    }

    .container_row1 .row_center {
        flex-direction: row;
    }

    /* 模块二 */
    .img_list_content li img {
        width: 100%;
        height: 100px;
    }

    .img_list_content li p {
        display: inline-block;
        white-space: nowrap;
        text-align: center;
    }
}