.clients-premiasoft {
    background: #fff;
    position: relative;
    overflow: hidden;
    padding: 55px 0 10px;
}

.clients {
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    min-height: 400px;
}

.boxclients {
    width: 12.5%;
    float: left;
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.boxclients img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    display: block;
    max-width: 70%;
    height: auto;
    opacity: 0.5;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.boxclients:hover img {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

.boxclients:hover img {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    opacity: 1;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transform: scale(1.05);
}

.flex-clients {
    width: 100%;
    height: 180px;
}
.boxclients img.imgsize {
    max-width: 80%;
}
.boxclients img.imgmaxi {
    max-width: 100%;
}
@media screen and (max-width: 1366px){
.boxclients img {
max-width: 80%;
}
.clients {
    min-height: 365px;
}
.flex-clients {
    height: auto;
}
}

@media screen and (max-width: 1024px){
.boxclients img {
max-width: 65%;
}
.clients {
    min-height: 345px;
}
.boxclients {
    width: 24.5%;
   min-height: 200px;
}
}
@media screen and (max-width: 767px){
.boxclients img.imgdeco {
    max-width: 40%;
}
.clients-premiasoft {
padding: 0;
}
.boxclients {
    width: 50%;
    min-height: 210px;
    border: 1px solid #f2f2f2;
}
.clients {
    min-height: 345px;
    padding: 0;
}
}
@media screen and (max-width: 480px){
.boxclients img {
    max-width: 75%;
}
.boxclients img.imgdeco {
    max-width: 55%;
}
}
@media screen and (max-width: 380px){
.boxclients img.imgdeco {
    max-width: 75%;
}
}