

.nav
{
    -ms-flex-wrap: nowrap !important;
    flex-wrap: nowrap !important;
}

.all-tab-img img
{
    padding-bottom: 20px;
}
.all-tab-img img:nth-last-child(2)
{
    padding-bottom: 0;
}
.ourwork-tab-wrap
{
    padding: 10px 0px;
    position: relative;
}
.ourwork-tab-wrap .nav-tabs
{
    display: none;
    border-bottom: none;
}
.ourwork-tab-wrap .nav-tabs .nav-item
{
    background: #427fad;
    margin-right: 3px;
    margin-bottom: 0px;
}
.ourwork-tab-wrap .nav-tabs .nav-link
{
    border: none;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    color: #fff;
    font-size: medium;
}
.ourwork-tab-wrap .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active
{
    background: #54bbca;
    color: #fff;
    font-size: medium;
}
@media (min-width:992px)
{
    .ourwork-tab-wrap .nav-tabs
    {
        display: flex;
    }

    .ourwork-tab-wrap .card
    {
        border: none;
    }

    .ourwork-tab-wrap .card .card-header
    {
        display: none;
    }

    .ourwork-tab-wrap .card .collapse
    {
        display: block;
    }
}

@media (max-width:992px)
{
    .ourwork-tab-wrap .tab-content > .tab-pane
    {
        display: block !important;
        opacity: 1;
        margin-bottom: 10px;
    }

    .ourwork-tab-wrap .card-header
    {
        background: #427fad;
        color: #fff;
        border-bottom: 1px solid rgba(0,0,0,.125);
    }
    .ourwork-tab-wrap .card-header h5 a
    {
        background: #427fad;
        color: #fff;
        border-bottom: none;
        text-decoration: none;
        font-size: 16px;
        display: block;
    }
    .ourwork-tab-wrap .card-header h5 a i
    {
        float: right;
        padding-top: 5px;
    }
    .ourwork-tab-wrap .card-body
    {
        border: 1px solid #427fad;
    }
    .ourwork-tab-wrap .card-header h5 a:hover
    {
        color: #fff;
    }

}
