﻿#company{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
#company li{
    width: 90px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
    min-height: 570px;
    transition: all ease 1s;
}
#company li > img{
    position: absolute;
    right: 0;
    height: 100%;
}
#company li > a{
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all ease 1s;
}
#company li > a img{
    /* width: 35px; */
}
#company li > a h3{
    color: #333333;
    font-size: 18px;
    line-height: 1;
    writing-mode: tb-rl;
    overflow: hidden;
    margin: 0 auto;
    margin-top: 25px;
    transition: 0.5s all;
}
#company li > a p{
    word-break: break-all;
    opacity: 0;
    margin: 0;
    color: #fff;
    transition: all cubic-bezier(1, -0.03, 0.75, 0.91) 1s;
    max-width: 50%;
    display: none;
    color: #666666;
    line-height: 2;
    max-width: 50%;
    padding-right: 5%;
    margin-top: 20px;
    font-size: 16px;
}
#company li > a span{
    color: #fff;
    background: var(--main-color);
    padding: 10px 40px;
    font-size: 16px;
    opacity: 0;
    transition: 0.5s all;
    display: none;
}
#company li:hover > a{
    padding-bottom: 30px;
}
#company li:hover > a span{
    opacity: 1;
}
#company li.active1{
    width: calc(100% - 200px);
    background: #fff;
    box-shadow: 0px 0px 62px 0px rgba(0, 0, 0, 0.06);
}
#company li > a p {
}

#company .active1 > a p {
    caption-side: #;
    color: #666666;
    opacity: 1;
    display: block;
}



#company li > img {
    opacity: 0;
    transition: 1s all;
}

#company li.active1 img {
    opacity: 1;
}
#company li  .bianhao {
    position: absolute;
    bottom: 22px;
    width: 100%;
    display: flex;
    justify-content: center;
    line-height: 28px;
}
#company li .bianhao span {
    border-bottom: 1px solid #b4b4b4;
    color: #b4b4b4;
}

#company li.active1 a {
    align-items: flex-start;
    padding-left: 40px;
    top: 80px;
}

#company li.active1  a h3 {
    color: var(--main-color);
    writing-mode: inherit;
    margin-left: 0px;
    font-size: 30px;
    margin-top: 0;
}

#company .active1 > a span {
    opacity: 1;
    width: 200px;
    text-align: center;
    margin-top: 30px;
    display: block;
}

#company li.active1 .bianhao {
    display: none;
}

#company li.active1 a .hengxian {
    height: 3px;
    background: #cccccc;
    width: 36px;
    margin-top: 20px;
}
#company li.active1 a .litittle {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    margin-top: 25px;
}

#company li.active1 a .litittle img {
    height: auto;
    margin-left: 20px;
}


@media only screen and (max-width: 769px) {
#company {
    flex-direction: column;
}

#company li {
    width: 100%;
    min-height: 74px;
}

#company li .bianhao {
    right: 14px;
    justify-content: flex-end;
}

#company li > a {
    align-items: flex-start;
    flex-direction: row;
    top: 23px;
    left: 17px;
}

#company li > a h3 {
    writing-mode: rl;
    margin-top: 0;
    padding-left: 15px;
}

.litittle {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

#company li > a img {
    width: 28px;
}

#company li.active1 {
    width: 100%;
    min-height: 550px;
}

#company li.active1 a {
    display: flex;
    flex-direction: column;
    top: 5px;
    padding-left: 0;
    align-items: flex-end;
    left: 00;
    width: 90%;
}

#company li.active1 a h3 {
    padding-left: 0;
}

#company li.active1 a .litittle img {width: 32px;display: none;}

#company .active1 > a p {
    max-width: 81%;
    padding-right: 0;
    display: -webkit-box;
    overflow:hidden;
    text-overflow:ellipsis;
    -webkit-box-orient:vertical;
    -webkit-line-clamp: 9;
    color: #000;
}

#company li.active1 img {
    width: 100%;
    height: auto;
    filter: opacity(0.1);
}

}