/* CSS Handled by Compass using SASS, do not edit the CSS directly */
form.filter {
    padding-bottom: 34px;
    padding-bottom: 2.42857rem;
}

section.clients {
    overflow: hidden;
    position: relative;
    margin-bottom: 50px;
    margin-bottom: 3.57143rem;
    width: 90rem;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 1023px) {
    section.clients {
        width: 100vw;
    }
}

@media only screen and (max-width: 1023px) {
    section.clients .nice-select {
        width: 80vw;
        left: 50%;
        transform: translateX(-50%);
        top: 70px;
        top: 5rem;
    }
}

section.clients h1 {
    font-size: 25px;
    font-size: 1.78571rem;
    text-transform: uppercase;
    letter-spacing: 0.120em;
    text-align: center;
    margin-top: 50px;
    margin-top: 3.57143rem;
    margin-bottom: 50px;
    margin-bottom: 3.57143rem;
}

section.clients h2 {
    text-align: left;
}

section.clients ul.view {
    list-style: none;
    display: inline-block;
    white-space: nowrap;
    float: right;
    margin-top: -20px;
    margin-top: -1.42857rem;
}

@media only screen and (max-width: 1023px) {
    section.clients ul.view {
        margin-left: auto;
        margin-right: auto;
        float: none;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        top: -60px;
        top: -4.28571rem;
    }
}

section.clients ul.view li {
    display: inline-block;
    margin-left: 60px;
    margin-left: 4.28571rem;
}

section.clients ul.view li:first-of-type {
    margin-left: 0;
}

section.clients ul.view li a {
    font-size: 14px;
    font-size: 1rem;
    display: block;
    font-family: GillSansMTStd-Book, sans-serif;
    text-decoration: none;
    color: #464646;
}

@media only screen and (max-width: 1023px) {
    section.clients ul.view li a {
        font-size: 3vw;
    }
}

section.clients ul.view li a.selected, section.clients ul.view li a:hover {
    color: #dab36d;
}

section.clients .clientdetails {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 8.5rem;
    -moz-column-gap: 8.5rem;
    column-gap: 8.5rem;
    margin-top: 55px;
    margin-top: 3.92857rem;
    width: 100%;
    float: left;
    clear: both;
}

@media only screen and (max-width: 1023px) {
    section.clients .clientdetails {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
        border-top: 1px solid #464646;
        margin-top: 12vw;
    }
}

section.clients .clientdetails.thumbnail {
    -webkit-column-count: auto;
    -moz-column-count: auto;
    column-count: auto;
    -webkit-column-gap: auto;
    -moz-column-gap: auto;
    column-gap: auto;
}

section.clients .clientdetails section {
    -webkit-column-break-inside: avoid;
    /* Chrome, Safari */
    page-break-inside: avoid;
    /* Theoretically FF 20+ */
    break-inside: avoid-column;
    /* IE 11 */
}

section.clients .clientdetails section.hidden {
    display: none;
}

section.clients .clientdetails.list .logo,
section.clients .clientdetails.list .thumbnail,
section.clients .clientdetails.list .more {
    display: none;
}

section.clients .clientdetails.list .details {
    display: none;
}

section.clients .clientdetails.list section {
    padding-bottom: 96px;
    padding-bottom: 6.85714rem;
}

@media only screen and (max-width: 1023px) {
    section.clients .clientdetails.list section {
        padding-bottom: 0;
    }
}

section.clients .clientdetails.list h2 {
    padding-bottom: 55px;
    padding-bottom: 3.92857rem;
    margin-top: 0;
    padding-top: 0;
}

@media only screen and (max-width: 1023px) {
    section.clients .clientdetails.list h2 {
        padding-left: 4vw;
        border-bottom: 1px solid #464646;
        padding-top: 8vw;
        padding-bottom: 8vw;
        padding-right: 14vw;
        -webkit-backface-visibility: hidden;
        background-image: url("/wp-content/themes/perowne/img/expand.png");
        background-repeat: no-repeat;
        background-size: 41px 41px;
        background-size: 2.92857rem 2.92857rem;
        background-position: 87vw 6vw;
        padding-right: 10vw;
    }
}

section.clients .clientdetails.list article {
    padding-top: 30px;
    padding-top: 2.14286rem;
}

@media only screen and (max-width: 1023px) {
    section.clients .clientdetails.list article {
        display: none;
        background-color: #f5f4f4;
        padding-left: 4vw;
    }

    section.clients .clientdetails.list article:last-child {
        padding-bottom: 30px;
        padding-bottom: 2.14286rem;
    }
}

section.clients .clientdetails.list article h3 {
    font-size: 17px;
    font-size: 1.21429rem;
}

section.clients .clientdetails.list article h3 .extra {
    font-size: 11px;
    font-size: 0.78571rem;
}

section.clients .clientdetails.list article a {
    text-decoration: none;
    color: #464646;
    display: block;
}

section.clients .clientdetails.list article a:hover {
    color: #dab36d;
}

@media only screen and (max-width: 1023px) {
    section.clients .clientdetails.list .open h2 {
        background-image: url("/wp-content/themes/perowne/img/close.png");
    }
}

@media only screen and (max-width: 1023px) {
    section.clients .clientdetails.list .open article {
        display: block;
    }
}

section.clients .clientdetails.thumbnail h2,
section.clients .clientdetails.thumbnail h3,
section.clients .clientdetails.thumbnail .details {
    display: none;
}

section.clients .clientdetails.thumbnail section {
    -webkit-column-count: auto;
    -moz-column-count: auto;
    column-count: auto;
    margin-left: -8px;
    margin-left: -0.57143rem;
}

section.clients .clientdetails.thumbnail article {
    position: relative;
    float: left;
    margin-left: 2px;
    margin-left: 0.14286rem;
    margin-top: 2px;
    margin-top: 0.14286rem;
    z-index: 0;
    width: 420px;
    width: 30rem;
    height: 420px;
    height: 30rem;
    display: inline-block;
}

@media only screen and (max-width: 1023px) {
    section.clients .clientdetails.thumbnail article {
        padding-bottom: 23vw;
    }
}

section.clients .clientdetails.thumbnail article.moveunder {
    z-index: -1;
}

section.clients .clientdetails.thumbnail article .logo {
    width: 420px;
    width: 30rem;
    height: 420px;
    height: 30rem;
    -webkit-background-size: auto !important;
    -moz-background-size: auto !important;
    -o-background-size: auto !important;
    background-size: auto !important;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: none;
    position: absolute;
    top: 0px;
}

.usa-flag{
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-image: url("/wp-content/themes/perowne/img/usa_flag.png");
}

.flag-desc {
    display: flex;
    justify-content: flex-end;
}

.flag-desc__desc {
    font-family: GillSansMTStd-Light, sans-serif;
    position: relative;
    padding-left: 53px;
    color: #464646;
    font-size: 14px;
    letter-spacing: 0.9px;
}

.flag-desc__desc .usa-flag {
    position: absolute;
    top: -5px;
    left: 0;
}

.flag-desc__desc::before {
    content: '=';
    position: absolute;
    left: 32px;
}

section.clients .clientdetails.thumbnail article .logo .usa-flag {
    position: absolute;
    top: 10px;
    left: 15px;
}

@media only screen and (max-width: 1023px) {
    section.clients .clientdetails.thumbnail article .logo {
        top: auto;
        width: 100vw;
        height: 20vw;
        background-color: #ebebeb;
        bottom: 2vw;
        -webkit-background-size: auto 29vw !important;
        -moz-background-size: auto 29vw !important;
        -o-background-size: auto 29vw !important;
        background-size: auto 29vw !important;
    }
}

@media only screen and (max-width: 1023px) {
    section.clients .clientdetails.thumbnail article .logo {
        background-position: 21px center;
        background-position: 1.5rem center;
    }
}

section.clients .clientdetails.thumbnail article .thumbnail {
    position: absolute;
    width: 420px;
    width: 30rem;
    height: 420px;
    height: 30rem;
    opacity: 0.1;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
    background-clip: border-box;
    ackground-origin: padding-box;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover !important;
}

@media only screen and (max-width: 1023px) {
    section.clients .clientdetails.thumbnail article .thumbnail {
        width: 100vw;
        height: 100vw;
        opacity: 1;
    }
}

@media only screen and (max-width: 1023px) {
    section.clients .clientdetails.thumbnail article .thumbnail {
        -webkit-filter: none;
        filter: none;
        opacity: 1;
    }
}

section.clients .clientdetails.thumbnail article .more {
    position: absolute;
    bottom: 30px;
    bottom: 2.14286rem;
    text-decoration: underline;
    width: 420px;
    width: 30rem;
    text-align: center;
}

@media only screen and (max-width: 1023px) {
    section.clients .clientdetails.thumbnail article .more {
        width: 100vw;
        text-decoration: none;
        bottom: 9vw;
        width: 31vw;
        right: 0;
        font-size: 4vw;
    }
}

section.clients .clientdetails.thumbnail article a:hover .more {
    display: none;
}

@media only screen and (max-width: 1023px) {
    section.clients .clientdetails.thumbnail article a:hover .more {
        display: block;
    }
}

section.clients .clientdetails.thumbnail article a:hover .logo {
    display: none;
}

section.clients .clientdetails.thumbnail article a:hover .thumbnail {
    opacity: 1;
    filter: none;
    -webkit-filter: none;
}

@media only screen and (max-width: 1023px) {
    section.clients .clientdetails.thumbnail article {
        width: 100vw;
        height: 100vw;
    }
}

section.clients .clientdetails.locationselected {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
    padding-top: 46px;
    padding-top: 3.28571rem;
}

section.clients .clientdetails.locationselected section {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    height: auto;
}

section.clients .clientdetails.locationselected section h2 {
    display: block;
    position: absolute;
    padding-bottom: 0;
    margin-top: -77px;
}

section.clients .clientdetails.locationselected.list {
    margin-top: 87px;
    margin-top: 6.21429rem;
}

section.clients .clientdetails.locationselected.thumbnail {
    padding-top: 0;
}

section.clients .clientdetails.locationselected.thumbnail h2 {
    display: none;
}

section.clients .clientdetails.locationselected.thumbnail section {
    -webkit-column-count: auto;
    -moz-column-count: auto;
    column-count: auto;
    margin-left: -8px;
    margin-left: -0.57143rem;
}

/* Popups */
.mfp-content {
    max-width: 1140px;
    max-width: 81.42857rem;
    width: 100px;
}

.post-type-perowne_client_details {
    border: 1px solid #caa561;
    background-color: #f3f3f3;
    padding-top: 73px;
    padding-top: 5.21429rem;
    color: #666666;
}

.post-type-perowne_client_details h2 {
    font-size: 30px;
    font-size: 2.14286rem;
    color: #caa561;
    text-align: center;
    text-transform: uppercase;
}

.post-type-perowne_client_details h3 {
    margin-top: 18px;
    margin-top: 1.28571rem;
    font-family: GillSansMTStd-Book, sans-serif;
    font-size: 16px;
    font-size: 1.14286rem;
    text-align: center;
}

.post-type-perowne_client_details .link {
    clear: both;
    width: 100%;
    text-align: center;
    padding-bottom: 55px;
    padding-bottom: 3.92857rem;
}

.post-type-perowne_client_details .next,
.post-type-perowne_client_details .previous {
    position: absolute;
    height: 21px;
    height: 1.5rem;
    width: 21px;
    width: 1.5rem;
    display: block;
    top: 50%;
    transform: translateY(-50%);
    background-size: 21px 50px;
    background-size: 1.5rem 3.57143rem;
    background-repeat: no-repeat;
}

.post-type-perowne_client_details .previous {
    left: 31px;
    left: 2.21429rem;
    background-image: url("/wp-content/themes/perowne/img//arrow-previous.png");
    background-size: 21px 50px;
    background-size: 1.5rem 3.57143rem;
    background-position: 0px 4px;
    background-position: 0px 0.28571rem;
}

.post-type-perowne_client_details .previous:hover {
    background-position: 0px -34px;
    background-position: 0px -2.42857rem;
}

.post-type-perowne_client_details .next {
    right: 31px;
    right: 2.21429rem;
    background-image: url("/wp-content/themes/perowne/img//arrow-next.png");
    background-size: 21px 50px;
    background-size: 1.5rem 3.57143rem;
    background-position: 0px 4px;
    background-position: 0px 0.28571rem;
}

.post-type-perowne_client_details .next:hover {
    background-position: 0px -34px;
    background-position: 0px -2.42857rem;
}

.post-type-perowne_client_content {
    margin-left: 90px;
    margin-left: 6.42857rem;
    margin-right: 90px;
    margin-right: 6.42857rem;
    margin-top: 65px;
    margin-top: 4.64286rem;
    margin-bottom: 65px;
    margin-bottom: 4.64286rem;
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 2.143rem;
    -moz-column-gap: 2.143rem;
    column-gap: 2.143rem;
}

@media only screen and (max-width: 1023px) {
    .post-type-perowne_client_content {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

.post-type-perowne_client_content h2, .post-type-perowne_client_content h3, .post-type-perowne_client_content h4 {
    text-align: left;
}

.post-type-perowne_client_content h3 {
    text-transform: uppercase;
    font-family: GillSansMTStd-Book, sans-serif;
    color: #caa561;
    font-size: 15px;
    font-size: 1.07143rem;
    margin-bottom: 28px;
    margin-bottom: 2rem;
}

.post-type-perowne_client_content h4, .post-type-perowne_client_content p {
    font-size: 14px;
    font-size: 1rem;
    line-height: 18px;
    line-height: 1.28571rem;
    margin-bottom: 28px;
    margin-bottom: 2rem;
}

.post-type-perowne_client_content h4 {
    font-family: GillSansMTStd-Book, sans-serif;
    margin-bottom: 4px;
    margin-bottom: 0.28571rem;
    font-weight: bold;
}

.mfp-bg {
    opacity: 0.5;
}

button.mfp-close, button.mfp-arrow {
    text-indent: -5000px;
    background-image: url("/wp-content/themes/perowne/img/overlay-close.png");
    background-size: 19px 50px;
    background-size: 1.35714rem 3.57143rem;
    background-position: 0px 0px;
    background-repeat: no-repeat;
    height: 19px;
    height: 1.35714rem;
    width: 19px;
    width: 1.35714rem;
    margin-right: 30px;
    margin-right: 2.14286rem;
    margin-top: 30px;
    margin-top: 2.14286rem;
    opacity: 1;
}

.mfp-close:hover, .mfp-close:focus {
    background-position: 0px -35px;
    background-position: 0px -2.5rem;
}

@media only screen and (max-width: 1023px) {
    footer {
        margin-top: 0;
    }
}

.client-type-header--top{
    padding-bottom: 0;
}

.clients__anchors{
    display: flex;
    justify-content: center;
    margin-bottom: 65px;
}
.clients__anchors a{
    display: block;
    box-sizing: border-box;
    padding: 17px 55px 13px;
    max-width: 362px;
    line-height: 1;
    text-align: center;
    font-size: 24px;
    text-transform: uppercase;
    text-decoration: none;
    color: #464646;
    background-color: rgba(208, 233, 230, .2);
    transition: background-color .3s ease-in-out;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.clients__anchors a:first-child{
    margin-right: 62px;
}
.clients__anchors a:hover{
    background-color: rgba(208, 233, 230, 1);
}

@media only screen and (max-width: 1023px) {
    .clients__anchors a{
        font-size: 16px;
        background-color: rgba(208, 233, 230, 1);
    }
    .clients__anchors a:first-child{
        margin-right: 35px;
    }
    .clients__anchors a:last-child{
    }
}

@media only screen and (max-width: 576px) {
    .clients__anchors{
        display: block;
        width: 80vw;
        margin: 0 auto 45px auto;
    }
    .clients__anchors a{
        padding: 10px 20px 8px;
        margin: 0 auto 5px;
        width: 100%;
        min-width: unset;
    }
    .clients__anchors a:first-child{
        margin-right: auto;
    }
    .clients__anchors a:last-child{
        margin-bottom: 0;
    }
}