/*!
 * Copyright (C) 2015 Codeplay Software Limited
 * All Rights Reserved.
 *
 * @author Scott Straughan
 */
section#partners > ul {
    width: auto;
    padding: 0;
    border-left: #e2e2e2 1px solid;
    border-collapse: collapse;
    list-style: none;
    transition: 1s ease 0s, background 1s ease-in-out 1s;
}

section#partners > ul:hover {
    opacity: 1;
}

section#partners > ul > li {
    height: 16rem;
    border: #e2e2e2 1px solid;
    border-left: 0;
    border-collapse: collapse;
    box-sizing: border-box;
    text-align: center;
    width: 16%;
    float: left;
}

section#partners > ul > li:nth-child(6n+1) {
    clear: both;
}

section#partners > ul:after {
    visibility: hidden;
    display: block;
    content: "";
    clear: both;
    height: 0;
}

section#partners > ul > li a {
    display: table;
    width: 100%;
    height: 100%;
    transition: 0s ease 0s, background 1s ease-in-out 1s;
}

section#partners > ul > li a > div {
    display: table-cell;
    vertical-align: middle;
}

section#partners > ul > li a > div > img {
    max-width: 213px;
    max-height: 99px;
    height: auto;
    width: 100%;
}

@media screen
and (max-width: 75rem) {
    section#partners > ul > li:nth-child(6n+1)
    {
        clear: inherit;
    }

    section#partners > ul > li
    {
        width: 33%;
    }

    section#partners > ul > li:nth-child(3n+1)
    {
        clear: both;
    }
}

/*
* Breakpoint
*/
@media screen
and (max-width: 43.13rem) {
    section#partners > ul {
        display: block;
        opacity: 1;
        filter: grayscale(0%);
        -webkit-filter: grayscale(0%);
    }

    section#partners > ul > li {
        float: none;
        display: block;
        height: 6.25rem;
        width: 100%;
        border-bottom: #e2e2e2 1px solid;
    }
}