﻿.clients-heading {
    text-align: center;
    margin: 50px 0 30px;
    /*font-family: Georgia, 'Times New Roman', serif;*/
    font-size: 42px;
    color: #17223b;
}

    .clients-heading .underline {
        display: block;
        width: 60px;
        height: 3px;
        background: #f0ad4e;
        margin: 14px auto 0;
    }

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.col-logo {
    box-sizing: border-box;
    padding: 10px;
    width: 20%;
}
.col-logo-portfolio {
    box-sizing: border-box;
    padding: 10px;
    width: 25%;
}
.logo-card {
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 4px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    transition: box-shadow .15s ease;
}
.logo-card-portfolio {
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 4px;
    /*height: 160px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    transition: box-shadow .15s ease;
}

    .logo-card:hover {
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    }

    .logo-card img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

@media (max-width: 992px) {
    .col-logo {
        width: 33.3333%;
    }
}

@media (max-width: 700px) {
    .col-logo {
        width: 50%;
    }
}

@media (max-width: 460px) {
    .col-logo {
        width: 100%;
    }
}
