/* Base section classes */
.base__readingTemplateHero_rightAlign .hero-card-wrapper .hero-card-wrapper--with-image .hero-card__image img {
    object-position: right !important;
}

/* Column highlights */

.base__highlights__columnlayout .highlights .highligths-container a {
    display: flex;
    flex-direction: column;
}
.base__highlights__columnlayout .highlights .col-md-7 {
    width: 90%;
}
.base__highlights__columnlayout .highlights .hl-content .hl-article .hl-dv-article-img {
    width: 100px;
    padding-left: 0!important;
    padding-bottom: 15px;
}
.base__highlights__columnlayout .highlights .hl-content .hl-article .hl-article-img {
    padding-top: 85%;
}
.base__highlights__columnlayout .highlights h3.lg-text-link {
    font-family: 'PwC Helvetica Neue';
    font-size: 1.25rem;
    line-height: 1.4em!important;
    font-weight: bold!important;
}
.base__highlights__columnlayout.wide .highlights .hl-content .hl-article .hl-dv-article-img {
    width: 100%;
}
.base__highlights__columnlayout.wide .highlights .hl-content .hl-article .hl-article-img {
    padding-top: 35%;
}

@media (min-width: 768px) {
    .base__highlights__columnlayout .highlights .row.dvHighlights {
        margin-left: 0;
    }
}

/* Highlights hide image*/
.base__highlights__hideImage .dvHighlights > .hl-content .hl-article .hl-dv-article-img {
    display: none;
}

/* textimage5050 - start*/

.textimage5050 .textimage.text.section {
    margin: 0;
    padding: 0;
    display: flex;
}

.textimage5050 .textimage.text.section.image_right {
    flex-direction: row-reverse;
}

.textimage5050 .textimage.text.section .textimage-image,
.textimage5050 .textimage.text.section .textimage-text {
    flex-basis: 50%;
}

.textimage5050 .textimage.text.section .textimage-image {
    margin: 0;
}

.textimage5050 .textimage.text.section .textimage-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 80px;
    padding-top: 40px !important;
    padding-bottom: 40px !important;

}

.textimage5050 .textimage.text.section .asset-sharing-component.image-asset,
.textimage5050 .textimage.text.section .asset-sharing-component.image-asset img {
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

.textimage5050 .textimage.text.section .textimage-text {
    background-color: #ffe8d4;
}

.textimage5050 .text-component p .btn.btn--transparent.btn-cta {
    background: #transparent !important;
    border-color: #000000 !important;
    color: #000000 !important;
}
.textimage5050 .text-component p .btn.btn--transparent.btn-cta:hover,
.textimage5050 .text-component p .btn.btn--transparent.btn-cta:focus,
.textimage5050 .text-component p .btn.btn--transparent.btn-cta:active {
    background: #000000 !important;
    color: #FFFFFF !important;
}
@media screen and (min-width: 992px) {
    .textimage5050 .textimage.text.section .asset-sharing-component.image-asset img {
        object-fit: cover;
        height: 100%;
    }
}

@media screen and (max-width: 991px) {
    .textimage5050 .textimage.text.section {
        flex-direction: column !important;
    }

    .textimage5050 .textimage.text.section .textimage-text {
        padding: 0 30px;
    }
}

/* textimage5050 - end*/


/* remove campaignlanding template hero text background */
.base__hero-title_color_black .hero-title-textpanel--compaign .compaign-hlight__inner {
    background: #fff;
    box-shadow: 15px 0 0 #fff, -15px 0 0 #fff;
    color: #2d2d2d;
}

.base__hero-title_color_black.page-section.page-section--col-primary {
    background: white;
}

@media (min-width: 768px) {
    .base__hero-title_align_center .hero-title-component .hero-title>.container {
        justify-content: center;
    }
}

/* slim campaign landing hero */
@media (min-width: 768px) {
    .base__hero_height_slim .parsys.sectionpar {
        position: relative;
        height: 25rem;
    }

    .base__hero_height_slim .title.teaser.hero-card-wrapper .hero-title-textpanel--compaign {
        min-height: 25rem !important;
        height: auto;
    }
}

/* Swap order of reading template title and eyebrow */
.base__hero-card__primary__flipped .hero-card-wrapper .hero-card-wrapper--with-image .hero-card__primary {
    display: grid;
}

.base__hero-card__primary__flipped .hero-card-wrapper .hero-card-wrapper--with-image .hero-card__primary-wrapper .hero-card__primary-title {
    padding-bottom: 20px;
    padding-top: 0;
}

.base__hero-card__primary__flipped p.hero-card__primary-eyebrow {
    order: 2;
}

.base__hero-card__primary__flipped h1.hero-card__primary-title {
    order: 1;
}

/* Sitewide classes */

/* Show Ref XF in author PR-13096 */
html.aem-AuthorLayer-Edit .base__refxf-html_author_show {
    display: block;
    background: #f0f0f0;
    text-align: center;
    color: #ccc;
    height: 3rem;
    position: relative;
}

/*Display and hide mobile-optimised image*/
@media (max-width: 480px) {
    div:not(.cq-Editable-dom.cq-Editable-dom--container)>section.base__section_image_hide_mobile480 .image:nth-child(odd) {
        display: none;
    }
}

@media (min-width: 481px) {
    div:not(.cq-Editable-dom.cq-Editable-dom--container)>section.base__section_image_hide_mobile480 .image:nth-child(even) {
        display: none;
    }
}