@media screen and (max-width:992px) {
    .mobile-nav-container {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    button#genesis-mobile-nav-primary {
        position: sticky;
        top: 0;
        margin-top: -70px;
    }

    #genesis-nav-primary {
        top: 66px;
    }
}

.entry-content-wrap {
    .wp-block-image {
        &>figure {
            @media screen and (max-width: 600px) {
                width: 100%;
                margin: 0 auto;
                text-align: center;

                img {
                    object-fit: contain;
                    object-position: center;
                    width: 100%;
                }
            }
        }

        figcaption.wp-element-caption {
            @media screen and (max-width: 600px) {
                padding: 0;
                margin-bottom: 30px;
            }
        }
    }
}



/* customizer overwrite */
.single-category-feature div#featured-area {
    height: 700px;
}

.single-podcasts .featured-image {
    display: none;
}

.entry-content ul.kiwi-article-bar.kiwi-article-bar-fit {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.slick-prev,
.slick-next {
    height: 16px;
    width: 16px;
}

.slick-prev:before {
    color: black;
    content: url(https://ampthink-fonts.s3.us-west-2.amazonaws.com/str-icons/chevron-left.svg);
}

.slick-next:before {
    color: black;
    content: url(https://ampthink-fonts.s3.us-west-2.amazonaws.com/str-icons/chevron-right.svg);
}


.survey-presented-by {
    justify-content: center;
    align-items: center;
    display: flex;
    column-gap: 10px;
}

.survey-presented-by .sponsor-title {
    color: white;
}

.single.single-report-survey .entry-content>*:not(#featured-area):not(.kiwi-article-bar) {
    max-width: 700px !important;
    width: 100%;
}

.single .entry-content .sidebar {
    text-align: center;
}

.gform_wrapper.gravity-theme .ginput_complex:not(.ginput_container_address) span:not([style*="display:none"]):not(.ginput_full),
.gform_wrapper.gravity-theme .ginput_complex:not(.ginput_container_address) span:not([style*="display:none"]):not(.ginput_full)~span:not(.ginput_full) {
    padding-right: 0;
    padding-left: 0;
    margin-bottom: 16px;
}

.gform_wrapper.gravity-theme .ginput_complex {
    flex-direction: column;
}

.gform_wrapper.gravity-theme .ginput_complex:not(.ginput_container_address) span:not([style*="display:none"]):not(.ginput_full)~span:not(.ginput_full) {
    margin-bottom: 0;
}

.gform_wrapper.gravity-theme .gfield input.large {
    height: auto;
    margin-bottom: 16px;
}


.single-report-survey .related-story .entry-header .entry-title {
    padding: 0;
}


.single .content-sidebar-wrap .entry-content {
    padding: 0;
}

.single .content:not(.full-width-content .content) {
    padding: 0 32px;
}

.single-post-category-name {
    padding: 0;
}

.single.single-report-survey .content-sidebar-wrap .entry-content {
    padding: 0 32px;
}

.single-category-news figcaption.article-header-caption {
    margin-bottom: 0 !important;
}

.single-category-news .article-header {
    margin-bottom: 27px !important;
}

.content-sidebar .entry-content-wrap {
    margin-left: 0 !important;
}

.featured-reports .article-body h2,
.alm-title,
.archive .entry-title {
    line-height: 30px;
}

div#featured-area.hide-featured {
    padding: 0;
    margin: 0;
    height: 0;
}

.home .alm-item.alm-cat-sponsored a.img-link-wrapper {
    position: relative;

    height: 100%;
    width: 100%;
    display: block;
}

.home .alm-item.alm-cat-sponsored .article-header .img-link-wrapper:after {
    content: '';
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
	border: none;
    opacity: .7;
}
.home .alm-item.alm-cat-sponsored .article-header .img-link-wrapper {
    border: 16px solid var(--str-light-blue);
}

/* triggering auto push */

.home .alm-item.alm-cat-sponsored .article-header .featured-image,
.home .alm-item.alm-cat-feature .article-header .featured-image {
    margin-bottom: 0;
    border: 0;
    /* 	max-height:400px; */
}

.footer-widgets .social-links>a.fa.fa-envelope {
    display: none;
}

.single-podcasts .entry-meta {
    font-size: 14px;

    .entry-time {
        color: #7a7a7a;
    }

}

.single-podcasts .featured-image {
    display: block;
}

.single-podcasts .featured-image img {
    height: 350px;
    width: 300px;
    object-fit: cover;
}

@media screen and (max-width:600px) {
    .featured-reports-wrapper {
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
    }
}


.team-member h2 {
    margin: 0;
}

.team-member h3 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.team-member .wp-block-media-text__content {
    padding: 0 4%
}

.team-member img {
    padding-top: 13px
}

.page .before-footer {
    display: none;
}


.single-category-news .entry-meta {
    font-size: 14px;
    color: #7a7a7a;
}

.single-category-news .entry-meta .entry-author-name {
    color: #7a7a7a
}

.str-bottom-logo-container {
    clear: both;
}



/* David Custom */

.site-inner {
    margin-top: 50px;
    position: relative;
}

.sidebar-primary .gform_widget .widget-wrap .gravity-theme {
    margin-top: 0;
}

.widget-wrap .gform_wrapper .gsection {
    padding-right: 0;
}

.archive .site-inner .content-sidebar-wrap,
.post-type-archive-reports .report-archive-header {
    padding-top: 0;
}

.widget_categories .widget-wrap {
    align-items: center;
    width: 100%;
}


.single .site-inner .content-sidebar-wrap .content .post .entry-content .article-header figcaption.article-header-caption {
    margin-bottom: 0 !important;
}

.single .site-inner .content-sidebar-wrap .content .post .entry-content .article-header {
    margin-bottom: 27px !important;
}


.home-wrap .featured-image {
    min-height: 0;
}

#news-section.home-page-section .section-posts .article-header {
    padding: 0;
    flex: 1;
}

#news-section.home-page-section .section-posts .article-body {
    padding: 0;
    flex: 2;
}

#news-section.home-page-section .alm-item {
    column-gap: 10px;
    margin-bottom: 25px;
}

.home div.site-inner .content-sidebar-wrap .home-wrap main.content #home-page-sections .home-page-section#news-section .alm-item.alm-cat-news .alm-meta.entry-meta {
    margin-bottom: 0 !important;
}

.home-page-section a {
    display: block;
}

.home-page-section .alm-title {
    line-height: .75em;
    margin-bottom: 2px;
}

.home-page-section .section-posts .article-header,
.home-page-section .section-posts .featured-image {
    margin-bottom: 0;
}

#news-section.home-page-section .section-posts .article-body {
    font-size: 150%;
}

.home-page-section#featured-section .section-posts .article-header {
    margin-bottom: 12px;
}

.home-page-section .section-posts .article-body .alm-item-category-name {
    margin-bottom: 6px;
}

.home-page-section:not(#news-section) .alm-title {
    margin-bottom: 3px;
}


.home {
    #sponsored-ad-img {
        margin-bottom: 0;
    }

    .ad-item {
        margin-bottom: 25px;
    }
}

.str-ad-sponsored p {
    font-size: 14px !important;
    margin-bottom: 6px !important;
}


a.entry-title-link {
    font: inherit !important;
}

.archive .site-inner article .entry-header .entry-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    color: #16181e;
    margin-bottom: 7px;
}

.entry-meta a {
    color: inherit;
}

.search article .entry-header h3 {
    color: var(--str-light-blue);
    font-weight: 600;
    font-size: var(--category-label);
    font-style: italic;
    margin-bottom: 0;
    line-height: 1;
}


.entry-header .entry-meta {
    color: #7a7a7a;
}

.str-podcast-archive-header {
    @media screen and (max-width: 992px) {
        margin-top: 0;
    }
}

.archive .site-inner .content-sidebar-wrap {
    @media screen and (max-width: 992px) {
        flex-direction: column;
    }
}

.home-page-section {
    @media screen and (max-width : 992px) {
        .section-posts .article-header {
            margin-bottom: 20px;
        }

        .alm-title {
            line-height: 1em;
        }
    }
}

.report-downloads .alm-item .article-header {
    margin-bottom: 20px;
}

figcaption.wp-element-caption.article-header-caption,
#featured-area .featured-image-container figcaption,
figcaption {
    text-align: left;
    padding: 0;
}

a:hover,
.genesis-nav-menu a:focus,
.genesis-nav-menu a:hover,
.genesis-nav-menu .current-menu-item>a,
.genesis-nav-menu .sub-menu .current-menu-item>a:focus,
.genesis-nav-menu .sub-menu .current-menu-item>a:hover,
.widget_categories .widget-wrap nav ul li a:hover {
    color: #0478b0;
}



#report_downloads_archive .archive-title {
    margin: 0;
    margin-bottom: 40px;
}

.post-type-archive-reports .alm-listing .alm-item {
    padding: 0;
}

.alm-item.alm-cat-sponsored .article-header,
.alm-item.alm-cat-feature .article-header {
    max-height: 100%;
}

a.img-link-wrapper {
    display: block;
}

.report-downloads .alm-item img {
    max-height: 100%;
}

.post-type-archive-reports .alm-listing .alm-item {
    flex-basis: calc(25% - 50px);
}

.post-type-archive-reports .alm-listing {
    gap: 50px;
}

a.post-edit-link:hover,
.home-page-section a:hover,
.footer-widgets .wrap .widget-area .widget_nav_menu a:hover,
.entry-meta a:hover {
    color: var(--str-light-blue);
}

.featured-reports-wrapper {
    border-bottom: 1px solid #333;
}


.all-reports-link-container {
    padding: 20px;
}

.more-reports .report {
    margin-bottom: 0;
}

.more-reports {
    margin-bottom: 40px;
}

.alm-listing:after,
.alm-paging-content:after {
    display: none;
}


.all-reports-link-container a {
    font-weight: bold;
}

.category article .entry-content,
.category .search-image-thumbnail-container {
    padding: 0;
}

.category .search-image-thumbnail-container {
    padding-right: 30px;
}

.entry-header .entry-meta {
    font-style: normal !important;
}


ul.kiwi-article-bar li a {
    font-size: 16px !important;
}


.str-result-ad-object {
    text-align: center;
}

/* End David Custom */


body {
    color: #000;
}

.single-podcasts .featured-image {
    width: 300px;
}

.single-podcasts .featured-image img {
    width: 100%;
}

.single-report-survey .entry-content aside img {
    max-height: 600px;
}

/* Mobile */

/* Smaller than wrap -- Tablet Landscape */
@media screen and (max-width:1399px) {}

/* Tablet Portrait */
@media screen and (max-width:1040px) {
    .single-category-sponsored .content-sidebar-wrap .entry-content {
        padding: 0;
    }
}

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

    .wp-block-create-block-str-sponsored-ads-block {
        text-align: center;
        justify-content: center;
        display: flex;
    }

    .single .content:not(.full-width-content .content),
    .single-post .site-container .site-inner .content-sidebar-wrap .content article .entry-header .entry-title,
    .site-inner .entry-title,
    .single-post .site-container .site-inner .content-sidebar-wrap .content article .entry-header .entry-title,
    .site-inner .entry-title {
        padding: 0 !important;
    }

    .single.full-width-content .single-post-category-name,
    .single.full-width-content .content-wrap>* {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .entry-title {
        line-height: 1.2;
    }

    .str-ad-sponsored,
    div#gform_wrapper_3 {
        max-width: 400px;
    }

    .archive .entry-title.str-podcast-header {
        line-height: 1.2;
    }

    body.single-report-survey .site-inner .content-sidebar-wrap {
        padding: 20px 4% 0 !important;
    }

    img.report-featured-image {
        max-height: 360px;
    }

    .single.single-report-survey .content-sidebar-wrap .entry-content {
        padding: 0;
    }

    .single-report-survey .entry-content aside img {
        margin: 20px 0;
    }

    .featured-reports-wrapper {
        margin-right: 0;
        flex-direction: column;
    }

    .featured-reports-wrapper .featured-reports {
        width: 100%;
        flex-direction: row;
    }

    h1.report-archive-header {
        margin-bottom: 40px;
    }

    .category article {
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }

    .category article .entry-header,
    .category article .entry-content {
        width: 100% !important;
    }

    .category article .entry-content {
        margin-bottom: 20px;
        padding: 0;
    }

    .category .search-image-thumbnail-container {
        padding: 0;
    }

    .single-super-feature .content-wrap {
        margin-bottom: 20px;
    }


    .str-customblocks-desc-container div:first-child:before {
        content: 'Listen To The Podcast' !important;
        display: block;
        font-weight: 600;
    }

    .str-customblocks-desc-container div {
        height: 2em;
        overflow-y: hidden;
    }

    .post-type-archive-reports .alm-listing .alm-item {
        flex-basis: calc(25% - 50px);
    }

    .post-type-archive-reports .alm-listing {
        flex-wrap: wrap;
        flex-direction: row;
        gap: 50px 20px;
    }

    .home-page-section .alm-title a {
        font-size: inherit;
    }

    .home-page-section .alm-title {
        font-size: var(--archive-title-large);
        line-height: 1.4;
    }

    .single-category-feature.single-super-feature div#featured-area.super-feature {
        width: calc(100% + 10%) !important;
        margin: 0 -5%;
    }

    .single-category-feature .entry-header .wp-block-cover {
        height: auto;
        min-height: 200px;
    }

    #featured-area .featured-image-container {
        max-height: 300px;
    }

    .featured-image-container {
        display: block;
    }

    .wp-block-cover .wp-block-cover__image-background,
    .wp-block-cover video.wp-block-cover__video-background,
    .wp-block-cover-image .wp-block-cover__image-background,
    .wp-block-cover-image video.wp-block-cover__video-background {
        position: relative !important;
    }

    .single-category-feature.single-super-feature div#featured-area.super-feature #featured-providers-container {
        position: relative;
        top: 0;
        width: calc(100% - 8%);
        margin: 0 4%;
    }

    .single-category-feature.single-super-feature div#featured-area.super-feature {
        display: flex;
        flex-direction: column;
        position: relative;
    }

    #featured-area .featured-image-container {
        max-height: none;
    }

    .featured-image-container {
        display: block;
    }

    .wp-block-cover .wp-block-cover__image-background,
    .wp-block-cover video.wp-block-cover__video-background,
    .wp-block-cover-image .wp-block-cover__image-background,
    .wp-block-cover-image video.wp-block-cover__video-background {
        position: relative !important;
    }

    .single-category-feature.single-super-feature div#featured-area.super-feature #featured-providers-container {
        position: relative;
        top: 0;
        order: 0;
    }

    .single-category-feature.single-super-feature div#featured-area.super-feature {
        display: flex;
        flex-direction: column-reverse;
    }

    .single-category-feature.single-super-feature div#featured-area.super-feature {
        padding-bottom: 0;
    }

    #featured-area .featured-image-container figcaption {
        padding: 4px 4%;
    }

    #featured-area #featured-providers {
        border: 4px solid;
    }

    .single .site-inner .content-sidebar-wrap .content .post .entry-content .entry-content-wrap {
        margin-top: 20px;
    }

    .home div.site-inner .content-sidebar-wrap .home-wrap main.content #home-page-sections .home-page-section .alm-meta.entry-meta {
        font-size: var(--meta-text) !important;
        margin-bottom: 10px;
    }

    .home-page-section .section-posts .article-body .alm-item-category-name {
        margin-bottom: 0;
        margin-top: 4px;
    }


    div#gform_wrapper_3 {
        max-width: 100%;
    }

    .gform_wrapper.gravity-theme .gform_fields {
        display: flex !important;
        flex-wrap: wrap;
    }

    .gform_wrapper.gravity-theme .gfield_html,
    .gform_wrapper.gravity-theme .gfield--type-section {
        flex-basis: 100%;
        padding: 0;
    }

    .gform_wrapper.gravity-theme .gfield--type-email,
    .gform_wrapper.gravity-theme .gfield--type-text {
        flex-basis: 49%;
    }
}


/* Mobile Portrait */
@media screen and (max-width:600px) {
    :root {
        --home-archive-entry-margin: 25px;
    }

    .home .site-header .wrap,
    .home .content-sidebar-wrap {
        padding: 0 4%;
    }

    .single-podcasts .featured-image img {
        width: 100%;
        height: auto;
    }

    .single-podcasts .featured-image {
        float: none;
        margin-right: 0;
        width: 100%; 
        max-width: 100%;
    }

    .gform_wrapper.gravity-theme .gfield--type-email,
    .gform_wrapper.gravity-theme .gfield--type-text {
        flex-basis: 100%;
    }
}