﻿#company{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
#company li{
    width: 49%;
    overflow: hidden;
    background: #000;
    position: relative;
    margin-right: 20px;
    min-height: 430px;
    transition: all ease .5s;
}
#company li:last-child{
  margin-right: 0px;
}
#company li > img{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    opacity: .6;
}
#company li > a{
    position: absolute;
    left: 10%;
    top: 10%;
    right: 10%;
    transition: all ease .5s;
}
#company li > a img{
    width: 40px;
}
#company li > a h3{
    color: #fff;
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 10px;
    line-height: 1.6;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
  font-weight: bold;
}
#company li > a p{
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    color: #fff;
    font-family: arial;
    opacity: .9;
    margin: 20px 0;
    line-height: 1.6;
    margin-bottom: 19px;
    font-size: 14px;
}
#company li > a span{
    color: #fff;
  /*
    background: rgb(64 158 255);
  position: absolute;
    bottom: 0;
  */
  
    padding: 6px 20px;
    border-radius: 0px;
    font-size: 14px;
    
    opacity: 1;
  border: 2px solid rgba(255,255,255,.5);
    transition: all ease .5s;
}
#company li:hover > a{
    padding-bottom: 30px;
}
#company li:hover > a span{
    opacity: 1;
}
#company li.active1{
    width: 70%;
}

@media only screen and (max-width: 768px) {
  #company li{
    	min-height: 280px;
	}
}
