/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#cboxContent main:not(.full_width) {
    float: none;
    width: 92%;
    padding: 3% 4%;
}

#cboxContent main h1 {
    line-height: 1;
    margin-bottom: 0;
    margin-top: 3rem;
}

#cboxContent main p {
    margin: .7rem 0;
}

/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/

#cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
}


#cboxOverlay {
    background: #000;
    opacity: 0.7;
    filter: alpha(opacity=70);
    background: #000;
    opacity: 0.7;
    filter: alpha(opacity=70);
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

#colorbox {
    outline: 0;
    margin-right: 0;
    float: none;
    /*height: 150vh; overflow-y: scroll!important; line-height: 1.5; font-family: "source-serif-pro", serif; font-size: 18px;*/
}

#cboxContent {
    margin-top: 32px;
    overflow: visible;
    background: transparent;
}

.cboxIframe {
    background: #fff;
}

#cboxError {
    padding: 50px;
    border: 1px solid #ccc;
}

#cboxLoadedContent {
    background: #fff;
    padding: 0;
    border-radius: 20px;
}

#cboxLoadingGraphic {
    background: url(/_images/loading.gif) no-repeat center center;
}

#cboxLoadingOverlay {
    background: #FFF;
    border-radius: 20px;
}

#cboxTitle {
    position: absolute;
    top: -22px;
    left: 0;
    color: #000;
}

#cboxCurrent {
    position: absolute;
    top: -22px;
    right: 205px;
    text-indent: -9999px;
}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious,
#cboxNext,
#cboxSlideshow,
#cboxClose {
    border: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    text-indent: -9999px;
    width: 20px;
    height: 20px;
    position: absolute;
    top: -20px;
    /*background:url(images/controls.png) no-repeat 0 0;*/
}

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active,
#cboxNext:active,
#cboxSlideshow:active,
#cboxClose:active {
    outline: 0;
}

#cboxPrevious {
    background-position: 0px 0px;
    right: 44px;
}

#cboxPrevious:hover {
    background-position: 0px -25px;
}

#cboxNext {
    background-position: -25px 0px;
    right: 22px;
}

#cboxNext:hover {
    background-position: -25px -25px;
}

#cboxClose {
    background: url(/images/close.png?v=2) no-repeat 0 0;
    right: 22px;
    top: 50px;
    width: 22px;
    height: 22px;
}

#cboxClose:hover {
    opacity: 0.8;
}

.cboxSlideshow_on #cboxPrevious,
.cboxSlideshow_off #cboxPrevious {
    right: 66px;
}

.cboxSlideshow_on #cboxSlideshow {
    background-position: -75px -25px;
    right: 44px;
}

.cboxSlideshow_on #cboxSlideshow:hover {
    background-position: -100px -25px;
}

.cboxSlideshow_off #cboxSlideshow {
    background-position: -100px 0px;
    right: 44px;
}

.cboxSlideshow_off #cboxSlideshow:hover {
    background-position: -75px -25px;
}






.sharing_buttons a {
    display: block;
    float: left;
    width: 2.1rem;
    height: 2.1rem;
    margin-right: 0.2rem;
    padding: 0px;
    box-sizing: border-box;
    border-radius: 50%;
    background-color: #35b887;
    /* #c4c4c4; */
    text-align: center;
    padding: 7px;
    display: flex;
}

#cboxLoadedContent .sharing_buttons a {
    float: left;
    width: 2rem;
    height: 2rem;
    margin-right: 0.2rem;
    padding: 7px;
    box-sizing: border-box;
    border-radius: 50%;
    background-color: #c4c4c4;
    text-align: center;
    display: flex;
}

#cboxLoadedContent .sharing_facebook:hover,
.sharing_facebook:focus {
    background-color: #3c5a99;
}

#cboxLoadedContent .sharing_linkedin:hover,
.sharing_linkedin:focus {
    background-color: #2d64bc;
}

#cboxLoadedContent .sharing_twitter:hover,
.sharing_twitter:focus {
    background-color: #1da1f2;
}

#cboxLoadedContent .sharing_copy:hover,
.sharing_copy:focus,
#cboxLoadedContent .sharing_whatsapp:hover,
.sharing_whatsapp:focus {
    background-color: #00614b;
}



@media only screen and (min-width: 981px) {


    .top_nav_group {

        width: 75%;
    }

    .nav_toggle {
        display: none !important;
    }

    #secondary_nav {
        position: relative;
        border-bottom: 0;
    }

    /* draw one continuous line (text area + the right grey extension area) */
    #secondary_nav::after {
        content: "";
        position: absolute;
        left: 1.5rem;
        bottom: -.2rem;
        height: 1rem;
        width: calc(100% + (50vw - 50%));
        background: var(--secondarygreen10);
        pointer-events: none;
        z-index: -1;
    }

    #secondary_nav h2 {
        margin: 0;
        padding: 0;
        font-size: 1.5rem;
    }

    #secondary_nav h2 a {
        color: var(--anthracite);
    }

    .page_impact-now main .grid {
        display: flex;
        flex-wrap: wrap;
        grid-gap: 1rem;
        align-items: center;
        justify-content: center;
    }

    .page_impact-now main .grid h3 {
        width: 28%;
        background: var(--lightgreenbg);
        padding: 20px;
        min-height: 8rem;
        text-align: center;
    }

}

.page_impact-now main .grid h3 a {}

}

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

    .nav_toggle {
        display: inline-block !important;
    }

}