﻿#company{
    width: 100%;
    display: flex;
    justify-content: space-between;
      height: 100vh;
    max-height: 1440px;
}
#company li{
    width: 33.33%;
    overflow: hidden;
    background: #000;
    position: relative;
    min-height: 960px;
  height: 100%;
    transition: all ease .5s;

}
#company li:hover{
        background: rgb(0 70 105);
}
#company li > img{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    opacity: 0.7;
      height: 100%;
    max-height: 1440px;
}
#company li > a{
position: absolute;
    transition: all ease .5s;
    width: 100%;
    padding: 0 15%;
      top: 42%;
}
#company li > a img{
    width: 148px;
  display: block;
    margin: 0 auto;
}
#company li > a h3{
color: #fff;
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-align: center;
}
#company li > a p{
    text-align: center;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    color: #fff;
    font-family: arial;
    margin: 0;
    line-height: 1;
      color: #fff;
    font-size: 20px;
    margin-bottom: 25px;
    opacity: 0;
    transition: all ease 1s;
  text-align: center;
}
#company li:hover > a p{
    opacity: 1;
}
#company li > a span{
    color: #fff;
    font-size: 14px;
    bottom: 0;
    opacity: 0;
    transition: all ease 1.2s;
  text-align: center;
      display: block;
}

#company li:hover > a{
    padding-bottom: 30px;
    margin-top: -50px;
      transition: all ease 1.2s;
  
}
#company li:hover > a span{
    opacity: 1;
}
#company li.active1{
    width: 40%;
}