﻿@media screen and (min-width:769px) and (max-width:1326px){
  #company1 li > a h3{
    color: #fff;
    font-size: 24px;
    margin-top: 25px;
    margin-bottom: 10px;
    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;
}
}

#company1{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
#company1 li{
    width: 50%;
    overflow: hidden;
    background: #000;
    position: relative;
    min-height: 450px;
    transition: all ease .5s;
}
#company1 li > img{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
      transition: .6s all ease;
  opacity: .6;
    filter: blur(5px);
}
#company1 li.active1 img{
	    filter: blur(0px);
      opacity: 1;
}
#company1 li > a{
    position: absolute;
    top: 40px;
    left: 20px;
    right: 20px;
    transition: all ease .5s;
}
#company1 li > a img{
    width: 40px;
}

#company1 li.active1 a h3{
	color:#333;
}

#company1 li.active1 a p{
	color:#333;
}

@media screen and (min-width:1327px){
#company1 li > a h3{
    color: #fff;
    font-size: 30px;
    margin-top: 25px;
    margin-bottom: 10px;
    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;
}
}
#company1 li > a p{
    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;
    opacity: .8;
    margin: 0;
    line-height: 1;
    margin-bottom: 19px;
    font-size: 14px;
  text-align: center;
}
#company1 li > a span{
    color: #fff;
    background: rgb(64 158 255);
    padding: 5px 12px;
    border-radius: 2px;
    font-size: 12px;
    position: absolute;
    bottom: 0;
    opacity: 0;
    transition: all ease .5s;
}
#company1 li:hover > a{
}
#company1 li:hover > a span{
    opacity: 1;
}
#company1 li.active1{
    width: 70%;
}