/* *********project_list 项目列表模块 ******** */
.projectList {
    margin: 20px 0;
    padding-top: 20px;
}

.projectList_nav {
    /* overflow-x: scroll;
    overflow-y: hidden; */
}

.projectList_nav::-webkit-scrollbar {
    display: none;
}

.projectList_nav ul {
    display: flex;
    flex-direction: row; /*主轴的方向（即项目的排列方向）*/
    flex-wrap: wrap; /*换行*/
    justify-content: flex-start; /*项目在主轴上的对齐方式*/
    align-items: center; /*项目在交叉轴上的对齐方式*/
    width: 100%;
}

.projectList_nav ul li {
    font-weight: bold;
    padding: 10px 18px;
    margin-right: 20px;
    margin-top: 20px;
    background-color: #fff;
    border-radius: 4px;
}

.projectList_nav ul li a {
    color: #1c1c1c;
}

.projectList_nav ul li.projectList_nav_span {
    position: relative;
    background-color: var(--ThemeColor);
}
.projectList_nav ul li.projectList_nav_span a {
    color: #fff;
}

/* .projectList_nav_span::after {
    position: absolute;
    bottom: 0;
    left: calc(50% - 15px);
    content: "";
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background-color: var(--ThemeColor);
} */

.projectList_nav ul li:hover {
    position: relative;
    background-color: var(--ThemeColor);
}
.projectList_nav ul li:hover a {
    color: #fff;
}

/* .projectList_nav ul li:hover::after {
    position: absolute;
    bottom: 0;
    left: calc(50% - 15px);
    content: "";
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background-color: var(--ThemeColor);
} */

.projectList_list {
    display: flex;
    flex-direction: row; /*主轴的方向（即项目的排列方向）*/
    flex-wrap: wrap; /*换行*/
    justify-content: flex-start; /*项目在主轴上的对齐方式*/
    align-items: flex-start; /*项目在交叉轴上的对齐方式*/
    margin-top: 30px;
}

.projectList_list li:not(:nth-of-type(3n)) {
    margin-right: 40px;
}

.projectList_list li {
    width: calc((100% - 80px) / 3);
    margin-bottom: 30px;
}

.projectList_list div {
    width: 100%;
    position: relative;
    padding-top: 84.5%;
    overflow: hidden;
}

.projectList_list div img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.projectList_list li p:first-of-type {
    margin-top: 20px;
    color: #333333;
    font-size: 18px;
    font-weight: 500;
}

.projectList_list li p.project_title {
    height: 54px;
}

.projectList_list li p.enroll_start_end,
.projectList_list li p.enroll_address {
    height: 21px;
}

.projectList_list li p:not(:first-of-type) {
    margin-top: 8px;
}

.projectList_list li div.label_btn {
    margin-top: 8px;
    width: auto;
    height: auto;
    padding-top: 0;
}

.projectList_list li div.label_btn .label {
    width: 64px;
    height: auto;
    border-radius: 5px;
    border: 1px solid var(--ThemeColor);
    font-size: 12px;
    font-weight: 400;
    color: var(--ThemeColor);
    margin-top: 0;
}

.projectList_list li div.label_btn a {
    width: 93px;
    height: 30px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500px;
}

/* *********new_list 慈善咨询列表模块 ******** */
.newList {
    margin: 20px 0;
    padding-top: 20px;
}

.newList_list {
    margin-top: 30px;
}

.newList_list li {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px dashed #b3b3b3;
}

/* .newList_list li a {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
} */

.newList_list li a img {
    width: 250px;
    height: 144px;
    margin-right: 30px;
}

/* .newList_list_img {
    width: 250px;
    height: 144px;
    position: relative;
    margin-right: 30px;
    overflow: hidden;
}

.newList_list_img img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
} */

.newList_list_info {
    line-height: 1.8;
    width: calc(70% - 30px);
}

.newList_list_info p:nth-of-type(1) {
    font-weight: 500;
    color: #333333;
}

.newList_list_info p:nth-of-type(2) {
    color: #a0a0a0;
    margin: 10px 0;
    word-break: break-all;
}

.newList_list_info p:nth-of-type(3) {
    color: #535353;
}

/* 活动中心 */
.activity_list {
    margin: 20px 0;
    padding-top: 20px;
}

/* 关于我们 */
.vertical_bar {
    display: inline-block;
    margin-right: 20px;
    width: 3px;
    height: 32px;
    background-color: var(--ThemeColor);
}
.about {
    margin: 20px 0;
    padding-top: 20px;
}
.about .content {
    width: 60%;
    margin: 0 auto;
}

.about .item {
    margin-top: 30px;
}

/* 理事会 */
.organization {
    background-color: #fbf9f8;
    padding-top: 20px;
    padding-bottom: 40px;
}
.organization .container > div {
    background-color: #fff;
    padding: 40px;
    /* width: 80%; */
    margin: 0 auto;
}
.organization img.img_style {
    margin-top: 30px;
}

.organization img {
    width: 100%;
}

.resume {
    color: var(--ThemeColor);
    border: 1px solid var(--ThemeColor);
    margin-left: 15px;
    background: #fff;
    margin-right: 10px;
    width: 59px;
    height: 22px;
    border-radius: 50px;
    font-size: 10px;
}
.resume:hover {
    color: var(--ThemeColor);
}
/* 管理制度 */
.list {
    background-color: #fbf9f8;
    padding-top: 20px;
    padding-bottom: 40px;
}
.list p.title {
    width: calc(100% - 80px);
}
.list .container > div {
    background-color: #fff;
    padding: 40px;
    margin: 0 auto;
}
.list ul li:hover p {
    color: var(--ThemeColor) !important;
}
.circle_dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 14px;
    background-color: var(--ThemeColor);
    border-radius: 50% !important;
}

.expand_about {
    width: max-content;
    color: var(--ThemeColor);
    cursor: pointer;
    position: absolute;
    right: 0;
    display: none;
}

/* 展开收缩的实际文本 */
.all_intro_about {
    display: none;
}

/* list_table */
.list_table {
    background-color: #fbf9f8;
    padding-top: 20px;
    padding-bottom: 40px;
}
.list_table .container > div {
    background-color: #fff;
    padding: 40px;
    margin: 0 auto;
}

.list_table .table_search {
    margin-bottom: 30px;
}

.list_table .table_search input {
    height: 44px;
    border: 2px solid var(--ThemeColor);
    padding: 4px 10px;
    margin-right: 20px;
}

.list_table .table_search input.user_name {
    width: 30%;
    flex-shrink: 0;
}
.list_table .table_search input.title {
    flex-grow: 2;
}
.list_table .table_search .btn_container {
    flex-shrink: 0;
}

.list_table .table_search .btn_container button {
    width: 80px;
    height: 44px;
    border: 2px solid var(--ThemeColor);
    color: var(--ThemeColor);
    background-color: #fff;
}

.list_table .table_search .btn_container button:first-child {
    margin-right: 10px;
    background-color: var(--ThemeColor);
    color: #fff;
}

/***********************自适应**************************/
@media screen and (max-width: 500px) {
    /* 关于我们 */
    .about {
        margin: 10px 0;
        padding-top: 10px;
    }

    .about [class*="col-6"] {
        padding: 0 7.5px;
    }

    /* *********project_list 项目列表模块 ******** */
    .projectList {
        margin: 10px 0;
        padding-top: 10px;
    }

    .projectList_list {
        margin-top: 20px;
    }

    .projectList_list li:not(:nth-of-type(2n)) {
        margin-right: 20px;
    }

    .projectList_list li:nth-of-type(2n) {
        margin-right: 0;
    }

    .projectList_list li {
        width: calc((100% - 20px) / 2);
        margin-bottom: 20px;
    }

    .projectList_list li p.enroll_start_end,
    .projectList_list li p.enroll_address {
        height: 18px;
    }

    /* *********new_list 慈善咨询列表模块 ******** */
    .newList {
        margin: 10px 0;
        padding-top: 10px;
    }

    .newList_list {
        margin-top: 20px;
        display: flex;
        flex-direction: row; /*主轴的方向（即项目的排列方向）*/
        flex-wrap: wrap; /*换行*/
        justify-content: flex-start; /*项目在主轴上的对齐方式*/
        align-items: flex-start; /*项目在交叉轴上的对齐方式*/
    }

    .newList_list li:not(:nth-of-type(2n)) {
        margin-right: 20px;
    }

    .newList_list li {
        width: calc((100% - 20px) / 2);
        padding-bottom: 0;
        margin-bottom: 20px;
        border-bottom: 0;
        flex-wrap: wrap; /*换行*/
    }

    .newList_list li a img {
        width: 100%;
        height: auto;
        margin-right: 0;
    }

    /* .newList_list_img {
        width: 100%;
        height: auto;
        margin-right: 0;
        padding-top: 57.6%;
    } */

    .newList_list_info {
        margin-top: 10px;
        width: 100%;
        line-height: 1.5;
    }

}

@media screen and (min-width: 787px) { 
    .newList_list li a {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
    }
}

@media screen and (max-width: 786px) {
    .about .content {
        width: 100%;
        margin: 0 auto;
    }
    .projectList_nav ul li {
        padding: 8px 15px;
        margin-right: 15px;
        margin-top: 15px;
    }
    /* 慈善资讯 */
    .newList_list li a {
        /* display: inline-block; */
    }
    /* 理事会 */
    .organization {
        padding-top: 10px;
        padding-bottom: 0;
    }
    .organization .container > div {
        background-color: #fff;
        padding: 20px 0;
        width: 100%;
        margin: 0 auto;
    }
    .organization img.img_style {
        margin-top: 20px;
    }
    /* 管理制度 */
    .list {
        padding-top: 10px;
        padding-bottom: 20px;
    }
    .list .container > div {
        background-color: #fff;
        padding: 20px 0;
        width: 100%;
        margin: 0 auto;
    }
    /* *********活动中心 ******** */
    .activity_list {
        margin: 10px 0;
        padding-top: 10px;
    }

    /* list_table */
    .list_table .container {
        padding-left: 0;
        padding-right: 0;
    }

    .list_table .container > div {
        padding: 0;
    }

    /* 类名无效？？？ */
    .list_table .container > div>div>div {
        flex-wrap: wrap;
    }

    .list_table .container > div>div>div>input {
        width: 45% !important;
        flex-grow: 0 !important;
        margin-right: 5% !important;
    }

    .list_table .container > div>div>div>div {
        margin-top: 20px;
    }
}
