/*
Theme Name: Chevening
Theme URI: http://fatbeehive.com
Author: Fat Beehive Ltd
Author URI: http://fatbeehive.com
Description: Custom theme for Chevening
Version: 1.1
*/

.cookie-settings-icon {
    left: 10px !important;
}
/* @media screen and (min-width: 996px) {
    article.stripe-changemakers-profiles:nth-child(6n+4),
    article.stripe-changemakers-profiles:nth-child(6n+5),
    article.stripe-changemakers-profiles:nth-child(6n) {
        background-color: white;
    }
} */

/*@media screen and (min-width: 1328px) {*/
    /*article.stripe-changemakers-profiles:nth-child(8n+5),*/
    /*article.stripe-changemakers-profiles:nth-child(8n+6),*/
    /*article.stripe-changemakers-profiles:nth-child(8n+7),*/
    /*article.stripe-changemakers-profiles:nth-child(8n) {*/
        /*background-color: white;*/
    /*}*/
/*}*/
/*
@media screen and (max-width: 995px) and (min-width: 676px) {
    article.stripe-changemakers-profiles:nth-child(4n+3),
    article.stripe-changemakers-profiles:nth-child(4n+4) {
        background-color: white;
    }
}

@media screen and (max-width: 675px) {
    article.stripe-changemakers-profiles:nth-child(2n+2) {
        background-color: white;
    }
}

.feed--main .feed-inner {
    width: 80%;
}

@media screen and (max-width: 1199px) {

    .feed--main .feed-inner {
        width: 100%;
    }

}

@media screen and (max-width: 559px) {
    section .button {
        margin-left: auto;
        margin-right: auto;
    }

    .pagehero-head,
    .pagehero {
        background-color: white;
    }
}

@media screen and (max-width: 959px) {

    .sidebar {
        padding-bottom: 3rem;
        background-color: #F2F2F2;
        padding-top: 3rem;
        margin-left: -17px;
        padding-left: 17px;
        margin-right: -17px;
        padding-right: 17px;
        display: block;
        position: relative;
        right: -45px;
        left: 0px;
        width: 120%;
    }

    .sidebar > div {
        background-color: #F2F2F2;
    }

    .landing-content-fix-overflow {
        overflow: hidden;
    }

    .section-statistics,
    .section {
        padding-left: 1em;
        padding-right: 1em;
    }

    .pagehero-head-inner {
        padding-bottom: 2em;
    }

}
*/
@media screen and (min-width: 660px) {
    .feed--main .feed-item-image {
        /* flex-shrink: 0.5; */
        max-width: 400px;
    }
    .has-listing .feed--main .feed-item-image {
        max-width: unset;
    }
}
/*
@media screen and (min-width: 660px) {
    .changemakers-page .main-section .cards {
        max-width: 100%;
    }

    .changemakers-page .main-section .cards > article {
        flex: 1 31%;
    }
}

.single-changemakers .gallery {
    margin-bottom: 2em;
}

.content .pullquote .pullquote-cite {
    margin-right: 0;
    padding-right: 3rem;
    text-align: left;
    margin-left: 0;
    padding-left: 3rem;
}

.content .pullquote .pullquote-cite a,
.content .pullquote .pullquote-cite a:hover,
.content .pullquote .pullquote-cite a:active {
    color: white;
}

.changemakers-page .main-section {
    padding-bottom: 0;
}

.changemakers-page .main-section,
.changemakers-page .main-section .cards {
    max-width: none;
}

.changemakers-page .main-section .cards {
    padding: 0;
}

article.stripe-changemakers-profiles:last-child {
    padding-bottom: 3rem;
}

#main a.button {
    margin-top: 0rem;
}

.landing-content-inner.content,
.landing-content .content {
    padding-bottom: 3rem;
}

@media screen and (min-width: 996px) {
    .page-template-default .landing-content .content,
    .news-template-default .landing-content .content,
    .changemakers-template-default .landing-content .content {
        max-width: 66.66%;
        margin-left: 0;
    }

}

.content h1, .comments-area .comment-content h1, .content h2, .comments-area .comment-content h2, .content h3, .comments-area .comment-content h3, .content h4, .comments-area .comment-content h4, .content h5, .comments-area .comment-content h5, .content p, .comments-area .comment-content p, .content ul, .comments-area .comment-content ul, .content ol, .comments-area .comment-content ol, .content .button, .comments-area .comment-content .button, .content button, .comments-area .comment-content button, .content [type="button"], .comments-area .comment-content [type="button"], .content [type="reset"], .comments-area .comment-content [type="reset"], .content [type="submit"], .comments-area .comment-content [type="submit"] {
    margin-top: 2rem;
}

.landing-content .content > p:first-child {
    margin-top: 0;
    padding-top: 3rem;
}

.menu-button {
    padding-bottom: 2em;
}

.rnav {
    top: 116px;
    max-height: calc(100% - 50px);
    overflow-y: auto;
}

.gform_body .ginput_recaptcha > div {
    margin: 0;
}

.feed--main .feed-inner, .form, .timeline-inner {
    padding: 1em;
}

.landing-content .container {
    padding-bottom: 4em;
}

.landing-content {
    margin-bottom: 0;
}

.header-black-line-top {
    display: block;
    height: 1em;
    background-color: #000;
    position: sticky;
    top: 0;
    margin: 0;
    z-index: 10;
}

.section-header-summary {
    padding-bottom: 1.5em;
} */

/*
IE fixes
 */
/* .home .main .section > footer,
.section-footer {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.object-fit {
    background-size: cover;
    background-position: center center;
}

.object-fit > img {
    opacity: 0;
}



.main-header-title {
    margin-top: 3rem;
}

select {
    padding-right: 0;
}

.pagehero-sharebuttons--side {
    top: 25em;
}

@media screen and (min-width: 700px) {
    .header-black-line-top {

        position: absolute;
    }
}

@media screen and (min-width: 1280px) {
    .grid > :nth-last-child(4n+7):first-child, .grid > :nth-last-child(4n+7):first-child + *, .grid > :nth-last-child(4n+7):first-child + * + *, .grid > :nth-last-child(3n):first-child, .grid > :nth-last-child(3n):first-child ~ * {
        flex: 1;
    }

    .object-fit-hero {
        background-size: 65% !important;
    }
}

@media screen and (max-width: 959px) {
    .hero-box {
        display: block;
    }
}
@media screen and (min-width: 960px) {
    .media-block-content {
        padding: 4em 0;
    }

    .media-block-content .media-block-inner {
        padding: 0 4em;
    }

    .cards > * {
        flex: 1;
    }
} */

.rnav-list--utility .rnav-arrow {
    display: none;
}

.rnav-list--utility .page-item-6 {
    display: none;
}


/* sidebar nav */
.sidebar-nav-item-link {
    font-weight: normal;
}

.sidebar-nav-item.current-menu-parent .sidebar-nav-item .sidebar-nav-item-link,
.sidebar-nav-item.current-menu-item .sidebar-nav-item .sidebar-nav-item-link,
.sidebar-nav-item.current-menu-ancestor .sidebar-nav-item-link {
    font-weight: 700;
}

/* Current Cheveners - sidebar */
.sidebar-nav-list .sub-list {
    display: none;
}

.sidebar-nav-list .current-menu-ancestor .sub-list,
.sidebar-nav-list .current_page_item .sub-list,
.sidebar-nav-list .current-menu-parent .sub-list {
    display: block;
}

.feed-options .feed-item-image.feed-item-image-min-content {
    flex-basis: min-content;
}

/* Partners logos */
.feed--component2 .feed-item {
    padding-top: 4em;
}

@media (min-width: 960px) {
    .feed-options .feed-item-image {
        max-width: 150px;
    }
}

#ccc-module {
    margin-top: 0;
}

.checkbox-toggle-toggle {
    margin-top: 0;
}

#ccc .ccc-content--light .ccc-button-solid {
    border-radius: 2em;
    padding: 1em 4em !important;
    display: inline-block;
    width: auto;
    text-align: center;
    white-space: nowrap;
    background-color: #B92A3B !important;
    color: #fff;
    border: none;
}

#ccc .ccc-content--light .ccc-button-solid,
#ccc .ccc-content--light .ccc-button-solid span {
    background-color: #B92A3B !important;
}

#ccc .ccc-notify-button,
#ccc .ccc-content--light .ccc-notify-button {
    border-radius: 2em;
    /* padding: 1em 4em !important; */
    display: inline-block;
    width: auto;
    text-align: center;
    white-space: nowrap;
    border-color: #B92A3B !important;
}

#ccc-icon {
    border-radius: 0;
}
