﻿@charset "utf-8";

.service_bg2 {
    background: #F1F8FD;
    overflow: hidden;
}

.project_list {
    padding-top: 18px;
}

.project_list ul {
    margin-left: -12px;
    margin-right: -12px;
}

.project_list ul li {
    width: 33.33%;
    padding: 12px;
    float: left;
}

.project_list .click {
    width: 100%;
    cursor: pointer;
}

.project_list .thumb {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.project_list .thumb i {
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease-in-out;
}

.project_list .title {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: #FFF;
    overflow: hidden;
    z-index: 1;
}

.project_list .title span:first-child {
    flex: 1;
    margin-right: 10px;
    color: var(--dark);
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project_list .title span:nth-child(2) {
    width: 30px;
    transition: all 0.4s ease-in-out .2s;
}

.project_list .click .text {
    display: none !important;
}
.project_list .click:hover .thumb i {
    transform: scale(1.1);
}

.project_list .title::before {
    content: '';
    z-index: -1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--main-color);
    transform-origin: center right;
    transform: scaleX(0);
    transition: transform 0.25s ease-in-out;
}

.project_list .click:hover .title span:first-child {
    color: var(--white-color);
}

.project_list .click:hover .title::before {
    transform-origin: center left;
    transform: scaleX(1);
}

.project_list .click:hover .title span:nth-child(2) {
    transform: rotate(45deg);
}

.project_list .click:hover .title span:nth-child(2) svg g {
    opacity: 1;
}

.project_list .click:hover .title span:nth-child(2) svg path {
    stroke: var(--white-color);
}

/* 弹出 */
body.m_fix{
    padding-right: 4px;
    overflow: hidden;
}
.his_tc {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, .5);
    z-index: -999;
    left: 0;
    top: 0;
    opacity: 0;
}

.eject-box {
    position: fixed;
    
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateY(100px);
    z-index: 10;
    width: 1436px;
    max-width: 95%;
    height: 555px;
    display: flex;
    background: #F5F7FA;
    opacity: 0;
    transition: all .6s;
}

.eject-box .md-close {
    position: absolute;
    right: 0;
    top: -48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--main-color);
    cursor: pointer;
}


.eject-box .md-close:hover img {
    animation: spin 1s ease;
}

@keyframes spin {
    to {
      transform: rotate(180deg);
    }
  }

.his_tc .his-top {
    padding-top: 30px;
}
.his_tc.show {
    z-index: 1200;
    opacity: 1;
}

.his_tc.show .eject-box {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0px);
}
.eject-box .eject_left {
position: relative;
    width: 54%;
}
.eject-box .eject_left img {
    position: absolute;
    left: 0;
    top: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.eject-box .eject_right {
    width: 46%;
    padding: 70px 40px;
}
.eject-box .eject_right .t {
    color: var(--main-color);
font-weight: 700;
line-height: 1.2; 
}
.eject-box .eject_right .reply_text {
    padding-top: 24px;
    padding-bottom: 24px;
}
.eject-box .eject_right .reply_text .text_01 {
    max-height: 276px;
    overflow-y: auto;
}
.eject_right .reply_text p{
padding-bottom: 20px;
    font-size: 18px;
font-weight: 400;
line-height: 32px;
}
.eject_right .reply_text p:last-child {
    padding-bottom: 0;
}
@media (max-height:700px) {
    .eject-box {
        height: 500px;
    }
}
@media (max-width:991px) {
    .project_list .title {
        padding: 20px 20px;
    }

}
@media (max-width:767px) {
    .project_list ul li {
        width: 50%;
    }
    .project_list .title {
        padding: 20px 16px;
    }
    .eject-box {
        max-height: 76%;
        padding-bottom: 20px;
        flex-wrap: wrap;
        height: auto;
    }
    .eject-box .eject_left {
        width: 100%;
    }
    .eject-box .eject_left img {
        position: relative;
        width: 100%;
        height: auto;
    }
    .eject-box .eject_right {
        width: 100%;

        height:28vh;
        margin-top: 20px;
        padding: 0 20px;
        overflow-y: auto;
    }
    .eject-box .eject_right .reply_text {
        max-height: inherit;
       
     
    }
    .eject-box .eject_right .reply_text .text_01 {
        max-height: inherit;
    }
    .eject_right .reply_text p {
        font-size: 16px;
        font-weight: 400;
        line-height: 26px;
    }
}
@media (max-width:540px) {
    .project_list ul li {
        width:100%;
    }
 

}