/* Single post types styles */

/* Single Chapter */
.single-chapter header #sign-up {
    display: none;
}

.chapter-title {
    margin: 0;
    text-align: center;
    color: #fff;
}

#chapter-content p {
    font-family: "Montserrat", Sans-serif;
    font-size: 20px;
}

.chapter-events-wrapper .elementor-widget-container {
    padding: 20px 40px;
    background-color: #fff;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    display: inline-flex;
    -webkit-box-shadow: 3px 0px 10px 0px rgb(0 0 0 / 30%);
    box-shadow: 3px 0px 10px 0px rgb(0 0 0 / 30%);
    min-height: 500px;
    width: 100%;
    flex-direction: column;
    justify-content: center;
}

.chapter-events>h3 {
    margin: 0;
}

.chapter-event {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid #5F6062;
    color: #5F6062;
    -webkit-animation: fade-in-right 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: fade-in-right 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.chapter-event:nth-of-type(2n),
.chapter-event:last-of-type {
    border-bottom: none;
}

.chapter-event>div:first-child {
    max-width: 55%;
    align-self: flex-start;
}

.chapter-event>.event-image {
    width: 40%;
    height: 120px;
    max-width: 40% !important;
    align-self: center;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
}

.chapter-event .event-image:before {
    content: none;
}

.chapter-event h3,
.chapter-event h5,
.chapter-event p {
    margin: 0;
    line-height: 1.25;
}

.chapter-event h5 {
    color: #F58025;
}

.pagination-events {

    font-size: 18px;
    color: #5F6062;
}

.pagination-events a {
    color: #5F6062;
    padding: 0 15px 0 0;
    border-radius: 100%;
    text-transform: uppercase;
}

/*
.page_link {
	display: none;
}
*/
.pagination-events a:hover {
    font-weight: bold;
}

.chapter-events-wrapper h3 {
    color: #5F6062;
}

.chapter-events-wrapper .cci-button {
    margin-top: 20px;
    text-align: right;
    margin-left: auto;
}

.chapter-involvement {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 50%);
    -webkit-box-shadow: 3px 0px 10px 0px rgb(0 0 0 / 30%);
    box-shadow: 3px 0px 10px 0px rgb(0 0 0 / 30%);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.chapter-involvement>div,
.chapter-involvement>a {
    display: block;
    padding: 40px;
    min-height: 250px;
    position: relative;
}

.chapter-involvement h3,
.chapter-involvement h5 {
    margin: 0;
    line-height: 1.25;
    color: #fff;
}

.chapter-involvement img {
    width: 35%;
    position: absolute;
    bottom: 40px;
}

.chapter-involvement>div {
    background-color: #8f8f8f;
}

.newsletter-item {
    border-top-right-radius: 20px;
}

.sponsorship-item {
    border-bottom-right-radius: 20px;
}

a.membership-item {
    background-color: #F58025;
}

a.newsletter-item {
    background-color: #C1371D;
}

a.volunteer-item {
    background-color: #55C6D4;
}

a.sponsorship-item {
    background-color: #006C67;
}

.newsletter-item>img {
    width: 40%;
}

.volunteer-item>img {
    width: 50%;
}

.connect {
    width: 100%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    padding: 40px;
    background-color: #009FC2;
    display: grid;
    grid-template-columns: 50% 45%;
    grid-column-gap: 5%;
    align-items: center;
    -webkit-box-shadow: 3px 0px 10px 0px rgb(0 0 0 / 30%);
    box-shadow: 3px 0px 10px 0px rgb(0 0 0 / 30%);
}

.connect h2 {
    color: #fff;
    margin: 0;
}

.all-icons {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.all-icons a {
    max-width: 15%;
    margin: 0 0.8%;
    display: inline-block;
}

#web {
    float: right;
    color: #fff;
    font-size: 18px;
    word-break: break-all;
}

#web:after {
    content: '⟶';
    padding-left: 8px;
    display: inline-block;
}

#web:hover:after {
    -webkit-transform: translateX(4px);
    -moz-transform: translateX(4px);
    -ms-transform: translateX(4px);
    -o-transform: translateX(4px);
    transform: translateX(4px);
}

.option-title {
    color: #F58025;
    text-transform: uppercase;
    text-align: center;
    margin: 60px 0 40px 0;
}

.option-title:first-child {
    margin: 0 0 40px 0;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px 20px;
}

.chapter-leader {
    text-align: center;
}

.chapter-leader>img {
    width: 80%;
    border-radius: 100% !important;
}

.chapter-leader h3,
.chapter-leader p {
    margin: 0;
    color: #5F6062;

}

.chapter-leader h3 {
    line-height: 1;
    padding-top: 10px;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px 40px;
    align-items: center;
}

.gallery-columns-5,
.gallery-columns-3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-columns-5>br {
    display: none;
}

.gallery-columns-5 .gallery-item {
    flex: 0 0 calc(20% - 40px);
    margin: 20px;
    text-align: center;
    align-self: center;
}

.gallery-columns-3 .gallery-item {
    flex: 0 0 calc(33.3% - 40px);
    margin: 20px;
    text-align: center;
    align-self: center;
}

.gallery-columns-5 .gallery-item img,
.gallery-columns-3 .gallery-item img {
    border: none !important;
}

.champions-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.champions-list>div {
    padding: 20px;
}

/* Single team member & profile */
h3.position,
h3.affiliation {
    color: #5F6062;
    display: inline;
    margin: 0;
}

#bio p:first-child {
    margin-top: 0;
}

#quote blockquote {
    color: #F58025;
    margin: 0;
}

#quote blockquote:before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-size: 68px;
    color: #F58025;
}

#quote blockquote h3 {
    margin-bottom: 0;
}

.related-articles,
.featured-video .wrapper {
    background-color: #F5F5F5;
}

.related-articles .wrapper>h3:first-child {
    text-transform: uppercase;
    color: #F58025;
    text-align: center;
}

.related-articles .wrapper>h3:last-child {
    color: #5F6062;
    margin: 0;
}

.featured-video .wrapper {
    border-radius: 20px;
    display: flex;
    padding: 40px;
    justify-content: space-between;
    align-items: center;
}

.featured-video h5,
.featured-video h3,
.featured-video p {
    color: #5F6062;
    margin: 0;
}

.featured-video a.video-info {
    display: block;
    width: 50%;
    min-width: 45%;
    padding-right: 5%;
}

.featured-video a.video-image {
    display: block;
    width: 50%;
}

/* Single Story, Video & Post */
#story-header h5,
#story-header h3,
.single-story h5.elementor-heading-title,
.ways-to-use>h5,
.ways-to-use>h3 {
    margin: 0;
    min-height: unset;
}

.associated-cc {
    color: #5F6062;
    margin: 0;
}

.associated-cc a {
    color: #5F6062;
}

#story-header .affiliation {
    color: #5F6062;
}

#quick-nav .elementor-widget-container {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.single-story .elementor-toc__list-wrapper,
.single-story .elementor-toc__list-item {
    position: relative;
    line-height: 1;
}

.single-story .elementor-toc__list-wrapper {
    padding-left: 20px;
}

.single-story .elementor-toc__list-item {
    padding-bottom: .5em;
    margin-bottom: 0;
}

.single-story .elementor-toc__list-item::before,
.single-story .elementor-toc__list-item::after {
    content: "";
    position: absolute;
    left: -20px;
}

.single-story .elementor-toc__list-item::before {
    border-top: 1px solid #006C67;
    top: 9px;
    width: 20px;
    height: 0;
}

.single-story .elementor-toc__list-item::after {
    border-left: 1px solid #006C67;
    height: 100%;
    width: 0px;
    top: 2px;
}

.single-story .elementor-toc__list-wrapper>.elementor-toc__list-item:first-child::after {
    top: 9px;
}

.single-story .elementor-toc__list-wrapper>.elementor-toc__list-item:last-child::after {
    height: 8px;
}

.ways-to-use {
    padding: 40px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: #F5F5F5;
    color: #5F6062;
}

.ways-to-use>h5 {
    color: #F58025;
}

#post-content h6 {
    margin: 20px 0;
}

#post-content blockquote {
    color: #F58025;
    font-family: "Montserrat", Sans-serif;
    font-size: 20px;
    font-weight: 500;
    float: right;
    max-width: 50%;
    margin: 20px 0px 20px 40px;
    position: relative;
}

#post-content blockquote p {
    font-family: "Montserrat", Sans-serif;
    font-size: 20px;
    font-weight: 500;
}

#post-content blockquote:before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-size: 68px;
    color: #F58025;
}

/*
#post-content blockquote:after {
    border-top: 3px solid #F58025;
    bottom: 0;
    width: 35%;
    content: "";
    position: absolute;
}
*/
#story-header .related-content h3 {
    margin-top: 10px;
}

#related-posts .elementor-shortcode {
    padding-left: 40px;
    border-left: 1px solid #e7e7e7;
}

#related-posts .elementor-shortcode>h3 {
    text-transform: uppercase;
    color: #F25C23;
    margin-bottom: 20px;
}

#related-posts .content .post-info {
    padding: 20px 20px 40px;
}

#story-sharing:before {
    content: 'Share this article';
    position: absolute;
    left: 0;
    top: 10px;
    color: #5F6062;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 15px;
    font-family: "Montserrat", Sans-serif;
    text-transform: uppercase;
}

.single-video #story-sharing:before {
    content: 'Share this video';
}

.single-podcast #story-sharing:before {
    content: 'Share this podcast';
}

.single-book #story-sharing:before {
    content: 'Share this book';
}

/*Single Consultant*/
.single-consultant .location {
    margin: 20px 0 0;
}

/*Single Book*/
#book-author {
    border-top: 1px solid #006C67;
    border-bottom: 1px solid #006C67;
}

#book-author>div {
    display: flex;
    padding: 20px 0;
    align-items: center;
}

#book-author img {
    border-radius: 100%;
    margin-right: 40px;
    width: 250px;
    height: 250px;
}

.author-bio h3 {
    color: #006C67;
}

.author-bio p {
    color: #5F6062;
}

.book-video {
    position: relative;
    margin-top: 40px;
}

.single-book #story-header .cci-button:first-child {
    margin-right: 20px;
}

/*
Responsive styles
*/
@media only screen and (max-width: 1440px) {
    .chapter-involvement h3 {
        font-size: 24px;
    }
}

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

    #post-content blockquote,
    #post-content blockquote p {
        font-size: 28px;
    }

    .chapter-involvement h3 {
        font-size: 18px;
    }
}

@media only screen and (max-width: 1149px) {
    #chapter-content p {
        font-size: 28px;
    }

    .chapter-involvement img {
        width: 20%;
    }

    .chapter-involvement h3 {
        font-size: 28px;
    }

    .newsletter-item>img {
        width: 25%;
    }

    .volunteer-item>img {
        width: 30%;
    }

    .leadership-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    #post-content blockquote {
        float: none;
        max-width: 100%;
        margin: 0 0 20px 0;
    }

    #post-content blockquote:after {
        bottom: -20px;
    }
}

@media only screen and (max-width: 1024px) {
    .connect {
        grid-template-columns: 100%;
        grid-row-gap: 20px;
    }

    .featured-video .wrapper {
        display: block;
    }

    .featured-video a.video-image,
    .featured-video a.video-info {
        width: 100%;
    }

    .featured-video a.video-image {
        margin-top: 40px;
    }
}

@media only screen and (max-width: 1148px) {
    #related-posts .elementor-shortcode {
        padding-left: 0px;
        border-left: none;
    }
}

@media only screen and (max-width: 767px) {
    .chapter-involvement h3 {
        font-size: 24px;
    }

    .chapter-event {
        flex-direction: column;
    }

    .chapter-event>div {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .chapter-event>div:first-child {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .chapter-event>.event-image {
        width: 100%;
        max-width: 100% !important;
    }

    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sponsors-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-columns-5 .gallery-item {
        flex: 0 0 calc(33.3% - 40px);

    }

    #web {
        font-size: 16px;
    }

    #post-content blockquote,
    #post-content blockquote p {
        font-size: 24px;
    }

    #story-sharing:before {
        font-size: 16px;
    }

    #book-author>div {
        display: block;
    }

    #book-author img {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .single-book #story-header .cci-button:first-child {
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 579px) {
    .chapter-involvement {
        grid-template-columns: 100%;
    }

    .chapter-event>.event-image {
        height: 50px;
    }

    .membership-item {
        border-top-right-radius: 20px;
    }

    .newsletter-item {
        border-top-right-radius: unset;
    }

    .chapter-involvement img {
        width: 25%;
    }

    .newsletter-item>img {
        width: 30%;
    }

    .volunteer-item>img {
        width: 40%;
    }

    .leadership-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-columns-5 .gallery-item {
        flex: 0 0 calc(50% - 40px);

    }
}

#header-title {
    background-image: url(https://www.consciouscapitalism.org/wp-content/uploads/2021/06/orange-red-bg-scaled-1.jpg);
    background-position: center center;
    background-size: cover;
    padding: 5% 10%;
}

#header-title .elementor-heading-title {
    color: #fff;
    text-align: center;
}