/*
Theme Name: Salient Child Theme
Theme URI: http://unreasonable.is
Description: This is a custom child theme for Salient
Author: Tyler Bruffy <tybruffy@gmail.com>, contractor for Unreasonable in Jan 2018
Template: salient
Version: 0.1
*/

/* =====================================================================
    Font Declarations
    ==================================================================== */


    @font-face {
        font-family: "Founders Grotesk";
        font-weight: 400;
        src: url("/wp-content/themes/salient-child/fonts/FoundersGroteskWeb-Light.eot") format("eot"),
                url("/wp-content/themes/salient-child/fonts/FoundersGroteskWeb-Light.woff2") format("woff2"),
                url("/wp-content/themes/salient-child/fonts/FoundersGroteskWeb-Light.woff") format("woff");
    }

    @font-face {
        font-family: "Founders Grotesk";
        font-weight: 700;
        src: url("/wp-content/themes/salient-child/fonts/FoundersGroteskWeb-Semibold.eot") format("eot"),
                url("/wp-content/themes/salient-child/fonts/FoundersGroteskWeb-Semibold.woff2") format("woff2"),
                url("/wp-content/themes/salient-child/fonts/FoundersGroteskWeb-Semibold.woff") format("woff");
    }

    @font-face {
        font-family: "Founders Grotesk Condensed";
        /* font-weight: 500; */
        src: url("/wp-content/themes/salient-child/fonts/FoundersGroteskCondensedWeb-Semibold.eot") format("eot"),
                url("/wp-content/themes/salient-child/fonts/FoundersGroteskCondensedWeb-Semibold.woff2") format("woff2"),
                url("/wp-content/themes/salient-child/fonts/FoundersGroteskCondensedWeb-Semibold.woff") format("woff");
    }

    @font-face {
        font-family: "Tiempos Headline";
        font-weight: 500;
        src: url("/wp-content/themes/salient-child/fonts/TiemposHeadlineWeb-Semibold.eot") format("eot"),
                url("/wp-content/themes/salient-child/fonts/TiemposHeadlineWeb-Semibold.woff2") format("woff2"),
                url("/wp-content/themes/salient-child/fonts/TiemposHeadlineWeb-Semibold.woff") format("woff");
    }

/* =====================================================================
    Text
    ==================================================================== */

.content-inner p,
.content-inner h1,
.content-inner h2,
.content-inner h3,
.content-inner h4,
.content-inner h5,
.content-inner ol,
.content-inner ul
{
    /* max-width: 700px;
    margin-left: auto;
    margin-right: auto; */
}

.content-inner ol,
.content-inner ul {
    padding-left: 30px;
}

.flex-center > .col {
    display: flex;
    align-items: center;
}

/* Hide metadata on homepage featured posts */
.home .grav-wrap .avatar,
.home .grav-wrap .text span {
    display: none !important;
}

.home .nectar-recent-posts-single_featured .grav-wrap .text span {
    display: block !important;
}

.home .nectar-recent-posts-single_featured .inner-wrap {
    display: flex;
    flex-direction: column;
}

.home .nectar-recent-posts-single_featured .inner-wrap .grav-wrap {
    order: 2;
}

.home .nectar-recent-posts-single_featured .inner-wrap .grav-wrap .text > a,
.home .nectar-recent-posts-single_featured .inner-wrap .grav-wrap .text > span {
    display: none !important;
}

.home .inner-wrap .grav-wrap .text {
    font-family: "Founder Grotesk";
    font-size: 16px !important;
    font-weight: 400 !important;
}

.home .nectar-recent-posts-single_featured .inner-wrap .grav-wrap .text {
    font-size: 18px !important;
}


.home .nectar-recent-posts-single_featured .inner-wrap .grav-wrap .text > span:first-child {
    display: block !important;
}

.post-area.featured_img_left article .grav-wrap .text a[rel="author"] {
    font-family: "Founders Grotesk";
    font-weight: 700;
    font-size: 16px !important;
}

.home .nectar-recent-posts-single_featured .grav-wrap .text a[rel="author"]:before {
    content: none;
}

.nectar-recent-posts-single_featured .grav-wrap .text a {
    font-family: "Founders Grotesk";
    font-weight: 400 !important;
    font-size: 18px !important;
}

.home .nectar-recent-posts-single_featured h2 {
    font-family: "Founders Grotesk Condensed";
    font-size: 60px !important;
    line-height: 60px !important;
    margin-bottom: .25em;
}

@media (max-width: 500px) {
    .home .nectar-recent-posts-single_featured h2 {
        font-size: 9vw !important;
        line-height: 10vw !important;
    }
}

.nectar-recent-posts-single_featured .nectar-button,
.nectar-recent-posts-single_featured .excerpt {
    display: none;
}

/* Author page updates */
body.author .page-header-no-bg h1 {
    color: #111111 !important;
}

body.author .more-link {
    display: none;
}

body.author .content-inner {
    display: flex;
    flex-direction: row;
}

body.author .content-inner > a {

}

body.author .content-inner .title {
    /* font-family: Muli;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 21px;
    line-height: 27px;
    font-weight: 800; */
}

body.author .content-inner .title a {
    color: #111111 !important;
}

body.author article.post .content-inner > a {
    display: block;
}

body.author article.post .content-inner .article-content-wrap {
    padding-left: 2em;
}

body.author article.post .content-inner .article-content-wrap > * {
    display: none;
}

body.author article.post .content-inner .article-content-wrap > .post-header {
    display: block;
}

body.author article.post .content-inner .post-featured-img img {
    width: 380px;
    height: 215px;
    display: block;
    object-fit: cover;
    object-position: center center;
    margin-bottom: 0 !important;
}

body.author article {
    border-top: 1px solid #e5e5e5;
    padding-top: 30px;
    margin-top: 30px;
}

body.author article .post-content .content-inner {
    padding: 0;
    margin: 0;
}

body.author .meta-comment-count,
body.author .meta-category {
    display: none;
}

body.author .section-title .subheader {
    display: none;
}

body.author .section-title {
    text-align: center;
}

.nectar-love-wrap {
    display: none !important;
}

/* Squaring up featured images */
.full-width-section .blog-recent[data-style="list_featured_first_row"] .featured > img {
    min-height: 230px;
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
}

/* Square up recent posts list images */
.blog-recent[data-style*="classic_enhanced"] .inner-wrap,
.post-area.featured_img_left .article-content-wrap .post-featured-img {
    border-radius: 0;
}
.post-area.featured_img_left .article-content-wrap .post-content-wrap {
    padding: 0 7% 2% !important;
    min-height: 200px;
}

.post-area.featured_img_left.span_12 article {
    margin: 0;
}

.post-area.featured_img_left article:not(:first-child) {
    border-top: 1px solid #e5e5e5;
    padding-top: 30px;
    margin-top: 30px;
}

/* Fix for wordpress wrapping HTML comments in p tags, could be removed based on future theme update */
.home .blog-recent .col .post-header.featured  > p {
    display: none;
}

.single .post-content p a {
    color: inherit !important;
    background-image: linear-gradient(to right, #ff5656, #ff5656);
    background-position: 0 1.05em;
    background-repeat: repeat-x;
    text-shadow: 1px 1px white, 1px -1px white, -1px 1px white, -1px -1px white;
}

.single .post-content .beeline-colored-area a {
    text-decoration: none;
}

.single .post-content a::selection {
    text-shadow: none;
}

.single .post-content blockquote a {
    background-position: 0 1.3em;
}

.single .fullscreen-header .avatar {
    display: none;
}

body #page-header-bg.fullscreen-header .author-section .meta-date i {
    font-size: 16px !important;
}

.post-content em {
    font-family: Georgia, serif !important;
}

body [data-style="list_featured_first_row"] .meta-category,
body [data-style="list_featured_first_row"] .meta-category a {
    font-family: "Founders Grotesk" !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-weight: 400 !important;
}

/* =====================================================================
    Header / Logo
    ==================================================================== */

    @media (max-width: 1065px) and (min-width: 1000px) {
        header#top #logo img {
            height: 20px !important;
        }
    }

    @media only screen and (max-width: 800px) {
        body header#top a#logo img, #header-outer[data-permanent-transparent="false"] a#logo .dark-version {
            height: 20px !important;
        }
    }

/* =====================================================================
    Blockquotes
    ==================================================================== */

    blockquote {
        width: 265px;
        margin-bottom: 1em;
        border-top: 8px solid #000;
        padding-top: 1em;
        padding-bottom: 1em;
        position: relative;
        z-index: 10;
        background: #fff;
    }

    blockquote,
    blockquote.left {
        float: left;
        margin-right: 1em;
        padding-left: 1em;
    }

    blockquote.right {
        float: right;
        margin-left: 1em;
    }

    @media (min-width: 855px) {
        blockquote,
        blockquote.left {
            margin-left: -125px;
        }

        blockquote.right {
            margin-right: -125px;
        }
    }

/* =====================================================================
    Social Buttons
    ==================================================================== */

    .nectar-social {
        /*position: absolute;*/
        /*transform: translateX(-50%);*/
        /*left: 0;*/
        z-index: 999;
        border: 1px solid #eee;
        width: 102px;
        display: flex;
        flex-wrap: wrap;
    }

    .swiper-slide .nectar-social {
        position: static;
        width: auto;
        transform: none;
        border: 0;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .swiper-slide .nectar-social > * {
        border: 1px solid #eee;
        border-radius: 50%;
    }

    .swiper-slide .nectar-social > *:not(:first-child) {
        margin-left: 1em;
    }

/*    @media only screen and (min-width: 1400px) {
        .nectar-social:not(.fixed) { left: 0 };
    }*/

/*
    .nectar-social.fixed {
        position: fixed;
        top: 150px;
        z-index: 2;
    }*/

/*    .nectar-social.fixed.anchored {
        position: absolute;
        bottom: 0;
        top: initial;
    }*/

    body.ascend .nectar-social.hide-share-count > * {
        display: inline-flex;
        flex-shrink: 0;
        align-items: center;
        width: 50px;
        justify-content: center;
        height: 50px;
        padding: 0 !important;
    }

    body.ascend .nectar-social.hide-share-count > .pinterest-share {
        display: none;
    }

    @media (min-width: 500px) {
        .nectar-social.hide-share-count > *:not(:nth-child(-n+2)) {
            border-top: 1px solid #eee;
        }

        .nectar-social.hide-share-count > *:nth-child(odd) {
            border-right: 1px solid #eee !important;
        }

        .nectar-social.hide-share-count > *:nth-child(even) {
            border-right: 0;
        }
    }

/*    @media (max-width: 1000px) {
        .nectar-social {
          left: calc((100vw - 650px)/4);
        }
        .nectar-social.fixed {
          top: 100px;
        }
    }*/

    @media (max-width: 1000px) {
        .nectar-social {
            position: relative;
            width: auto;
            transform: none;
            left: 0;
            top: -25px;
        }

        body.ascend .nectar-social.hide-share-count > * {
            width: 25%;
        }
        .nectar-social.hide-share-count > *:not(:first-child) {
            border-left: 1px solid #eee;
        }
    }

/* =====================================================================
    Video
    ==================================================================== */

    .video-row {
        width: 100%;
        height: 100vw;
    }

    @media (min-width: 690px) {
        .desktop-align-right {
            text-align: right;
        }
    }

/* =====================================================================
    Author Bio
    ==================================================================== */

    body.ascend .container-wrap #author-bio {
        z-index: 2;
        background: #fff;
    }

    body .blog_next_prev_buttons:hover span.bg-overlay {
        opacity: 0.3;
    }

    .blog_next_prev_buttons[data-style="fullwidth_next_only"] {
        z-index: 2;
    }

    body.ascend .container-wrap #author-bio #author-info {
        width: 100% !important;
    }

    body.ascend .container-wrap #author-bio #author-info h3 i {
        display: none;
    }

    body.ascend .container-wrap #author-bio #author-info p {
        font-family: "Founders Grotesk";
        max-width: 100%;
        font-size: 18px;
        line-height: 1.3;
    }

/* =====================================================================
    Featured Blog Images
    ==================================================================== */

    /* Set max height for featured blog images */
    .post-area.featured_img_left .article-content-wrap .post-featured-img-wrap,
    .post-area.featured_img_left .article-content-wrap .post-featured-img-wrap a,
    .post-area.featured_img_left .article-content-wrap .post-featured-img-wrap a span {
        width: 380px;
        height: 215px !important;
        background-size: cover;
    }

    @media only screen and (max-width: 1000px) {
        .post-area.featured_img_left .article-content-wrap .post-featured-img-wrap,
        .post-area.featured_img_left .article-content-wrap .post-featured-img-wrap a,
        .post-area.featured_img_left .article-content-wrap .post-featured-img-wrap a span {
            margin-bottom: 1em;
        }
    }


    .post-area.featured_img_left .post-header .title a {
        font-family: "Founders Grotesk";
        font-weight: 700;
        font-size: 40px;
        line-height: 40px;
    }

    @media (max-width: 1000px) {
        .post-area.featured_img_left .article-content-wrap .post-content-wrap {
            width: 100%;
        }

        .post-area.featured_img_left .article-content-wrap {
            flex-direction: column;
        }

        .post-area.featured_img_left .article-content-wrap .post-featured-img-wrap,
        .post-area.featured_img_left .article-content-wrap .post-featured-img-wrap a,
        .post-area.featured_img_left .article-content-wrap .post-featured-img-wrap a span {
            width: 100%;
            background-size: cover;
        }

        .post-area.featured_img_left .post-header .title a {
            font-size: 30px;
            line-height: 30px;
        }
    }

/* =====================================================================
    Single Page Header Overlay
    ==================================================================== */

    .single-post #page-header-bg.fullscreen-header.bg-overlay:after {
        background: none repeat scroll 0 0 rgba(0,0,0,0.25) !important;
    }

    .single-post .fullscreen-header .author-section .author .fn a {
        font-size: 20px !important;
    }

    .single-post .fullscreen-header .meta-date {
        display: block;
        text-align: center;
        margin-top: 1em;
    }

/* =====================================================================
    Featured First Row
    ==================================================================== */

    .blog-recent[data-style="list_featured_first_row"] .full-post-link {
        bottom: 1em !important;
        height: calc(100% - 1em) !important;
    }

    .blog-recent[data-style="list_featured_first_row"] h3 {
        font-family: "Founders Grotesk Condensed" !important;
        font-size: 35px !important;
        line-height: 35px !important;
    }

    .blog-recent[data-style="list_featured_first_row"] .col .excerpt {
        font-size: 14px !important;
        line-height: 23.8px !important;
    }

    .blog-recent[data-style="list_featured_first_row"] .post .author,
    .blog-recent[data-style="list_featured_first_row"] .post .author > a {
        font-family: "Founders Grotesk";
        margin-top: 1em;
        font-size: 16px !important;
        color: inherit;
        line-height: 1;
        font-weight: 700 !important;
    }

/* =====================================================================
    Override Feature Hover Effect
    ==================================================================== */

    .post-area.featured_img_left article:hover .article-content-wrap .post-featured-img-wrap,
    .post-area.featured_img_left article.post:hover .post-featured-img-wrap:before,
    .blog-recent[data-style="list_featured_first_row"] .featured:hover > img,
    .blog-recent[data-style="list_featured_first_row"] a.small:hover > img,
    .blog-recent[data-style="list_featured_first_row"] .col:not(.has-post-thumbnail) a.small:hover,
    .blog-recent[data-style="list_featured_first_row"] .col:hover a > img,
    .blog-recent[data-style="list_featured_first_row"] .col:hover:not(.has-post-thumbnail) a.small,
    .blog-recent[data-style="list_featured_first_row"] .col:hover span.post-featured-img {
        transform: translate(0, 0) !important;
        box-shadow: none !important;
    }


/* .blog-recent[data-style="title_only"] .post {
    padding: 1em;
}

.blog-recent[data-style="title_only"] .meta {
    display: none;
}

.blog-recent[data-style="title_only"] .post .post-header .title {
    font-size: 14px;
    line-height: 1.6;
} */

@media only screen and (max-width: 690px) {
  body.single .container.main-content {
    max-width: 85% !important;
  }
}

.flex-center .nectar-recent-posts-single_featured.parallax_section .recent-post-container .inner-wrap {
    height: 10vw !important;
    margin: 0;
    visibility: hidden !important;
}

.blog-recent[data-style="list_featured_first_row"] a.small {
    display: none;
}

.full-width-post-row .nectar-recent-posts-single_featured.parallax_section .recent-post-container .inner-wrap {
    padding: 40px;
    min-width: 500px;
    background: #fff;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, .5);
    z-index: 99;
    color: #111;
}

    @media (max-width: 782px) {
        .full-width-post-row .nectar-recent-posts-single_featured.parallax_section .recent-post-container .inner-wrap {
            min-width: 0;
        }
    }

.full-width-post-row .nectar-recent-posts-single_featured.parallax_section .recent-post-container .grav-wrap .text > span {
    display: none;
}
.full-width-post-row .nectar-recent-posts-single_featured.parallax_section .recent-post-container .grav-wrap .text > span:first-child {
    display: inline-block;
}

.full-width-post-row .nectar-recent-posts-single_featured.parallax_section .recent-post-container .grav-wrap .text > span:first-child:after {
    content: " | ";
}

.full-width-post-row .nectar-recent-posts-single_featured.parallax_section .recent-post-container .inner-wrap h2 {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 0;
    padding-bottom: 1em;
}

.full-width-post-row .nectar-recent-posts-single_featured.parallax_section .recent-post-container .inner-wrap .grav-wrap a {
    color: #111;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.full-width-post-row .nectar-recent-posts-single_featured.parallax_section .recent-post-container .inner-wrap .grav-wrap img {
    display: none;
}

.full-width-post-row .nectar-recent-posts-single_featured.parallax_section .recent-post-container .inner-wrap h2 a {
    color: #111;
}

.full-width-post-row .nectar-recent-posts-single_featured.parallax_section .recent-post-container .inner-wrap .nectar-button { display: none; }

.full-width-post-row .nectar-recent-posts-single_featured.parallax_section .recent-post-container .inner-wrap .excerpt {
    display: none;
}

/* =====================================================================
    Parallax Feature Headings
    ==================================================================== */

    .nectar-recent-posts-single_featured.parallax_section .recent-post-container {
        height: 80vh;
        overflow: hidden;
    }

    .nectar-recent-posts-single_featured.parallax_section .recent-post-container .inner-wrap  {
        width: 650px;
    }

    .nectar-recent-posts-single_featured.parallax_section .recent-post-container .inner-wrap.fixed  {
        position: fixed;
        top: 150px;
    }

/* =====================================================================
    Text Style Extensions
    ==================================================================== */

    /* H6 Style */
    .standard-blog-roll .featured_img_left .post .meta-category a,
    body.archive .featured_img_left .post .meta-category a,
    .full-width-post-row .nectar-recent-posts-single_featured.parallax_section .recent-post-container .grav-wrap .text > a span {
        font-family: "Founders Grotesk";
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 14px !important;
        font-weight: 400 !important;
    }


/* =====================================================================
    Unreasonable Guides
    ==================================================================== */

    .mini-enhanced-posts [data-style="classic_enhanced_alt"]{
        counter-reset: postCounter;
    }

    .mini-enhanced-posts [data-style="classic_enhanced_alt"] .post {
        height: 150px;
        margin-bottom: 1em;
        border-radius: 0;
    }

    .mini-enhanced-posts [data-style="classic_enhanced_alt"] > .post::before {
        content: counters(postCounter, ".");
        counter-increment: postCounter;
        font-size: 70px;
        color: #fff;
        position: absolute;
        top: 5px;
        left: 3px;
        z-index: 999;
        font-family: "Tiempos Headline";
    }

    .mini-enhanced-posts .blog-recent[data-style="classic_enhanced_alt"] .inner-wrap:before {
        background-color: rgba(0,0,0,0.4);
    }

    .mini-enhanced-posts [data-style="classic_enhanced_alt"] .post .excerpt,
    .mini-enhanced-posts [data-style="classic_enhanced_alt"] .post .meta-category,
    .mini-enhanced-posts [data-style="classic_enhanced_alt"] .post .post-header .meta,
    .mini-enhanced-posts [data-style="classic_enhanced_alt"] .post .post-meta {
        display: none;
    }

    .mini-enhanced-posts [data-style="classic_enhanced_alt"] .post .post-header {
        padding: 0 25px;
        margin: 0;
    }

    .mini-enhanced-posts [data-style="classic_enhanced_alt"] .post .post-header .title {
        font-size: 16px;
        font-family: "Founders Grotesk";
        font-weight: 400;
        line-height: 1.3;
        text-transform: uppercase;
    }

    .mini-enhanced-posts [data-style="classic_enhanced_alt"] .post .article-content-wrap {
        position: absolute;
        top: 0;
        margin: 0;
        padding: 1em !important;
        height: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        text-align: center;
    }

/* =====================================================================
    Alternating Post Rows
    ==================================================================== */

    .duped-post-rows [data-style="minimal"] .post {
        padding: 0;
        border-radius: 0;
    }

    .duped-post-rows [data-style="minimal"] .post .post-header .meta,
    .duped-post-rows [data-style="minimal"] .post .excerpt + span {
        display: none;
    }

    .duped-post-rows [data-style="minimal"] .post .excerpt {
        line-height: 1.6;
        font-size: 14px;
    }

    .duped-post-rows [data-style="minimal"] .post .title {
        line-height: 1;
        font-size: 38px;
    }

    .duped-post-rows [data-style="classic_enhanced_alt"] .post {
        height: 300px;
    }

    .duped-post-rows [data-style="classic_enhanced_alt"] .post .article-content-wrap,
    .duped-post-rows [data-style="classic_enhanced_alt"] .post .meta-category,
    .duped-post-rows [data-style="classic_enhanced_alt"] .post .post-meta {
        display: none;
    }

    .duped-post-rows .vc_row {
        padding-bottom: 25px !important;
    }

    .duped-post-rows [data-style="classic_enhanced_alt"] .inner-wrap:after,
    .duped-post-rows [data-style="classic_enhanced_alt"] .inner-wrap:before {
        content: none;
    }

/* =====================================================================
    Standard Blog Roll
    ==================================================================== */

    body.archive .featured_img_left .post .grav-wrap .text span,
    body.archive .featured_img_left .post .meta-category a + a,
    body.archive .featured_img_left .post .grav-wrap img,
    .standard-blog-roll .featured_img_left .post .grav-wrap .text span,
    .standard-blog-roll .featured_img_left .post .meta-category a + a,
    .standard-blog-roll .featured_img_left .post .grav-wrap img {
        display: none;
    }

    body.archive .featured_img_left .post .excerpt,
    .standard-blog-roll .featured_img_left .post .excerpt {
        font-size: 16px;
        line-height: 1.6;
    }

    body.archive .page-header-no-bg h1,
    body.archive .page-header-no-bg span {
        color: #111111 !important;
        font-family: "Founders Grotesk" !important;
        font-size: 30px !important;
        text-transform: uppercase !important;
        line-height: 30px !important;
        letter-spacing: 2px !important;
    }

    body.archive .page-header-no-bg .subheader {
        display: none;
    }

/* =====================================================================
    Newsletter Signup
    ==================================================================== */

    .newsletter-signup-row > .col {
        padding: 150px 5em;
        position: relative;
    }

    @media (max-width: 800px) {
        .newsletter-signup-row > .col {
            padding: 75px 2em;
        }

        .newsletter-signup-row h2 {
            font-size: 32px !important;
        }

        .newsletter-signup-row form input[type="email"] {
            max-width: calc(100% - 90px);
            padding: 5px !important;
        }
    }

    @media (max-width: 400px) {
        .newsletter-signup-row h2 {
            font-size: 28px !important;
        }
    }

    .newsletter-signup-row > .col:before,
    .newsletter-signup-row > .col:after {
        content: "";
        width: 100%;
        height: 60px;
        position: absolute;
        left: 0;
        border-left: 8px solid #3452ff;
        border-right: 8px solid #3452ff;
        visibility: visible;
    }

    .newsletter-signup-row > .col:before {
        top: 5%;
        border-top: 8px solid #3452ff;
    }

    .newsletter-signup-row > .col:after {
        bottom: 5%;
        border-bottom: 8px solid #3452ff;
    }

    .newsletter-signup-row form {
        display: flex;
        margin-top: 1em;
    }

    .newsletter-signup-row form input[type="submit"],
    .newsletter-signup-row form input[type="email"] {
        width: auto;
    }

/* =====================================================================
    Pagination
    ==================================================================== */

    #pagination {
        margin-top: 1em;
        display: flex;
        justify-content: center;
    }

/* =====================================================================
    Search
    ==================================================================== */

    #search-results {
        visibility: visible !important;
    }

    #search-results article .post-content {
        padding-left: 0px !important
    }

/* =====================================================================
    Captions
    ==================================================================== */

    .wp-caption {
        border: 0;
        background: transparent;
        padding: 0;
    }

    .caption-text {
        max-width: 100%;
        font-size: 12px;
        font-style: italic;
    }

/* =====================================================================
    Mailchimp
    ==================================================================== */

    [class*="mc4wp-form"] {
        padding: 0;
        margin: 0 !important;
    }

/* =====================================================================
    Sidebar CTA's
    ==================================================================== */

    #sidebar-ctas {
      position: absolute;
      left: calc((100vw - 750px)/4);
      top: 80px;
      z-index: 2;
      width: 130px;
    }

    #sidebar-ctas.fixed {
        position: fixed;
    }

    body[data-ext-responsive="true"].single-post .container-wrap.no-sidebar .post-area {
      max-width: 85%;
    }

    #sidebar-ctas + .row {
        max-width: 750px;
        margin-right: auto;
        margin-left: auto;
    }    

    @media (max-width: 1000px) {
        #sidebar-ctas {
            left: 0;
            position: static;
            width: 90%;
            margin: 0 auto;
        }

        #sidebar-ctas .nectar-social {
            width: 100%;
        }

        #sidebar-ctas .beeline {
            margin-top: 0;
            width: 100%;
            margin-bottom: 20px;
        }

        body[data-ext-responsive="true"].single-post .container-wrap.no-sidebar .post-area {
          max-width: 100%;
        }
    }  

/* =====================================================================
    Beeline
    ==================================================================== */

    .beeline {
        /*position: absolute;*/
        /*top: 130px;*/
        z-index: 999;
        text-transform: uppercase;
        color: #555555;
        font-family: sans-serif;
        font-size: 14px;
        /*left: 0;*/
        /*transform: translateX(-50%);*/
        width: 130px;
        margin-top: 20px;
    }

/*    @media (max-width: 500px) {
        .beeline {
            display: none;
        }
    }*/

/*    @media only screen and (min-width: 1400px) {
        .beeline:not(.fixed) { left: 0 };
    }
*/
    .beeline-content {
        height: 0;
        overflow: hidden;
        transition: all .3s;
        background: white;
    }

    .beeline-content p {
        font-size: 14px;
        line-height: 1.3;
        text-transform: none;
        margin-bottom: 14px;
        padding-bottom: 0;
        font-family: "Founders Grotesk";
    }

    .beeline.active .beeline-content {
        height: 100%;
    }

/*    .beeline.fixed {
        position: fixed;
        z-index: 2;
        top: 280px;
    }*/
/*
    @media (max-width: 1000px) {
        .beeline.fixed {
            top: 230px;
        }
    }    
*/
    .beeline-header {
        display: flex;
        align-items: center;
        line-height: 1.3;
        border-bottom: 1px solid transparent;
        padding-bottom: .5em;
        margin-bottom: .5em;
        cursor: pointer;
    }

    .beeline.active .beeline-header {
        border-bottom: 1px solid #e5e5e5;
    }


    .beeline-header .logo {
        margin-right: .5em;
    }

    .beeline-toggles {
        margin-left: 0 !important;
        padding: 0;
        margin-bottom: 0 !important;
    }

    .beeline-toggle {
        list-style: none !important;
        cursor: pointer;
        font-size: 12px;
    }

    .beeline-toggle:before {
        content: "";
        display: inline-block;
        width: 2em;
        height: 1em;
        border: 1px solid #e5e5e5;
        border-radius: .5em;
        margin-right: .5em;
        vertical-align: middle;
        background: #e5e5e5;
    }

    .beeline-toggle.active.off:before {
        background: #111;
    }

    .beeline-toggle.active.bright:before {
        background: #0000ff;
        background: -moz-linear-gradient(left, #0000ff 0%, #000000 50%, #ff0000 100%);
        background: -webkit-linear-gradient(left, #0000ff 0%,#000000 50%,#ff0000 100%);
        background: linear-gradient(to right, #0000ff 0%,#000000 50%,#ff0000 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0000ff', endColorstr='#ff0000',GradientType=1 );
    }

    .beeline-toggle.active.dark:before {
        background: #00057c;
        background: -moz-linear-gradient(left, #00057c 0%, #000000 50%, #960000 100%);
        background: -webkit-linear-gradient(left, #00057c 0%,#000000 50%,#960000 100%);
        background: linear-gradient(to right, #00057c 0%,#000000 50%,#960000 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00057c', endColorstr='#960000',GradientType=1 );    }

    .beeline-toggle.active.blues:before {
        background: #00057c;
        background: -moz-linear-gradient(left, #00057c 0%, #0000ff 0%, #000000 50%, #830dd1 100%);
        background: -webkit-linear-gradient(left, #00057c 0%,#0000ff 0%,#000000 50%,#830dd1 100%);
        background: linear-gradient(to right, #00057c 0%,#0000ff 0%,#000000 50%,#830dd1 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00057c', endColorstr='#830dd1',GradientType=1 );
     }

    .beeline-toggle.active.gray:before {
        background: #777777;
        background: -moz-linear-gradient(left, #777777 0%, #000000 50%, #777777 100%);
        background: -webkit-linear-gradient(left, #777777 0%,#000000 50%,#777777 100%);
        background: linear-gradient(to right, #777777 0%,#000000 50%,#777777 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#777777', endColorstr='#777777',GradientType=1 );
    }

/* =====================================================================
    Responsive Specific
    ==================================================================== */

    @media (max-width: 500px) {
         /* FIx some spacing on about page */
        body.page-id-38102 .vc_col-sm-12.wpb_column.column_container.vc_column_container.col,
        body.page-id-37792 .vc_col-sm-12.wpb_column.column_container.vc_column_container.col {
            padding-left: 15px !important;
            padding-right: 15px !important;
        }

        .mobile-sm-top-padding {
            padding-top: 20px !important;
        }

        .mobile-lg-headline {
            font-size: 60px !important;
        }
    }

    @media (max-width: 400px) {
        .mobile-lg-headline {
            font-size: 50px !important;
        }
    }

/* =====================================================================
    Cookie consent bar
    ==================================================================== */    
@media (max-width: 400px) {
    .cookie-notice-container {
        margin-bottom: 5px;
    }
}
#cookie-notice #cn-notice-text {
  line-height: 15px;
  font-size: 14px;
  font-family: Founders Grotesk, sans-serif !important;
}
#cookie-notice .cn-button.close-privacy-notice {
  font-family: Founders Grotesk, sans-serif;
  text-transform: uppercase!important;
  letter-spacing: 2px;
  font-size: 16px;
  font-weight: 400;
  padding: 3px 6px;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: all 0.45s cubic-bezier(0.25,1,0.33,1);
  -moz-transition: all 0.45s cubic-bezier(0.25,1,0.33,1);
  -webkit-transition: all 0.45s cubic-bezier(0.25,1,0.33,1);
  -o-transition: all 0.45s cubic-bezier(0.25,1,0.33,1);
  width: auto;
  font-size: 12px;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  -o-border-radius: 2px;
  background-color: #3452FF !important;
  white-space: nowrap;
}
#cookie-notice .cn-button.close-privacy-notice:hover {
  background-color: #2a42d2 !important;
}