/*
 Theme Name:  Imoexpert Child theme
 Theme URI:   http://underscores.me/
 Author:      Ringier SA
 Author URI:  https://ringier.co.za
 Description: The Imoexpert Child Theme.
 Version:     1.0.0
 Template:    cbd-rcp-wp-parent-theme
 License: GNU General Public License v2 or later
 License URI: LICENSE
 Text Domain: ringiercoretheme


 */
@import url("assets/css/colors.css?nonce=10005");
@import url("assets/css/header.css?nonce=10005");
@import url("assets/css/footer.css?nonce=10005");

@media screen and (max-width: 1029px) {
    button {
        font-size: .875rem !important;
    }
}

.ringier-menu-list,
a:visited {
    color: #006fbc;
}

.rcp-discover-links {
    color: #464646;
}

#ringier-create-listing {
    background-color: #b41819;
}

#ringier-create-request-property {
    background-color: #006fbc;
}

#ringier-create-request-property a,
#ringier-create-request-property a:visited {
    color: white;
}

#ringier-create-request-property:hover {
    --bg-opacity: 1;
    background-color: rgba(0, 100, 169, var(--bg-opacity));
}

#ringier-create-listing:hover {
    --bg-opacity: 1;
    background-color: rgba(158, 15, 22, var(--bg-opacity));
}

#ringier-main-menu {
    width: 76%;
    font-weight: 600;
    left: 0;
}

.ringier-menu-list,
#ringier-main-menu a:visited {
    font-weight: 600;
}

.rcp-discover {
    font-weight: 600;
}

.ringier-menu-dropdown-icon {
    margin-left: 5px;
}

.ringier-menu-dropdown-content {
    border-radius: 0.5rem;
}

.footer-container {
    max-width: 1212px;
    margin: 0 auto;
    padding: 0 17px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.footer-heading {
    font-size: 16px;
    margin: 0 0 10px 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #000;
}

.ringier-footer-inner-container {
    max-width: 80%;
    margin: 0 10% 35px 10%;
    display: flex;
    justify-content: space-between;
}

.ringier-social-media-icons ul li {
    list-style: none;
    margin-right: 15px;
}

.ringier-social-media-icons ul {
    padding: 0;
    display: flex;
    margin-top: 10px;
    margin-bottom: 0;
}

.ringier-footer-navigation li a {
    color: #006fbc;
}

.ringier-footer-footnote-links li a {
    font-size: 16px;
    color: #0E6FB7;
}

.ringier-footer-footnote {
    display: block;
    background-color: #f4f5f5;
    width: 100%;
    height: 40px;
}

.ringier-footer-footnote-links {
    display: flex;
    margin: 0;
    padding: 0;
    /*   width: 80%; */
    /*   justify-content: center; */
}

.ringier-menu-no-dropdown,
.ringier-menu-no-dropdown a,
.ringier-menu-no-dropdown a:active,
.ringier-menu-no-dropdown a:visited {
    color: #006fbc !important;
    font-weight: 600;
}

/* Utility */
.copyright-spacing {
    margin-right: 20px;
}

header.entry-header .author-avatar {
    width: 56px;
}

@media screen and (max-width: 1029px) and (min-width: 320px) {

    .ringier-menu-no-dropdown,
    .ringier-menu-no-dropdown a,
    .ringier-menu-no-dropdown a:active,
    .ringier-menu-no-dropdown a:visited {
        font-weight: normal;
        transition: none !important;
    }

    .ringier-footer-footnote-links {
        display: inline-flex;
    }

    .ringier-footer-footnote-links li {
        white-space: nowrap;
    }

    .ringier-footer-inner-container {
        flex-wrap: wrap;
    }

    .brk-menu {
        width: 50%;
    }

    .partner-menu {
        width: 50%;
    }

    .social-menu {
        width: 100%;
        margin-top: 48px;
    }

        .avatar {
        border: none;
        margin-right: 0;
        margin-top: 0;
    }
}

@media screen and (max-width: 699px) {
    .ringier-footer-inner-container {
        margin: 0 auto;
        max-width: none;
        width: 90%;
    }

    .copyright-spacing {
        margin-right: 10px;
    }
}

/* --------------------------------------------------------------
MKT-435
-------------------------------------------------------------- */
input#bttnsubmit.alertsSubscribe__button {
    /*background-color: #b41819;*/
}

nav.header {
    --menu-divider-color: #e2e8f0;
    --menu-primary-color: #ff6200;
    --menu-primary-color-hover: #ff8538;
    --menu-color-main: #1A4D98;
    --menu-hover-color: #006fbc33;
    --menu-gap: 32px;
    --menu-submenu-gap: 12px;
    --menu-submenu-dividers-color: #f4f5f5;
    --menu-item-height: 24px;
    --menu-nav-bar-height: 70px;
    --menu-font-size: 14px;
    --menu-cta-button-height: 36px;
    --anchor-text-color: #4db2ec;

    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--menu-nav-bar-height);
    /* MKT-636 | make header take max width same as main site */
    margin: 0 auto;
    padding: 0 20px;
}

article a,
article a:link,
article a:active,
.article-body-links {
    color: #4db2ec !important;
}

/* breadcrumb for jmng */
.entry-crumb {
    font-size: 12px;
    color: #3a689d;
    line-height: 18px;
    font-weight: 600 !important;
}

.menu-left-side {
    display: flex;
    align-items: center;
}

/* Logo */

#ringier-header-menu-logo-wrapper {
    all: unset;
    width: 180px;
    display: flex;
    align-items: center;
}

#ringier-header-menu-logo-wrapper a {
    display: block;
    font-size: var(--menu-font-size);
}

#ringier-header-menu-logo-wrapper a img {
    display: block;
    width: 180px;
    height: auto;
}

ul.menu.site-navigation {
    display: flex;
    list-style: none;
    list-style-position: inside;
    margin: unset;
    height: 24px;
}

ul.menu.site-navigation li a {
    font-size: var(--menu-font-size);
    font-weight: bold;
}

ul.menu.site-navigation>li>a {
    display: flex;
    align-items: center;
    color: var(--menu-primary-color);
}

ul.menu.site-navigation>li>a:not([href="#"]) {
    color: var(--menu-primary-color);
}

ul.menu.site-navigation .menu_inner_nav li:hover a:not([href="#"]) {
    color: var(--menu-color-main);
}

ul.menu.site-navigation>li {
    position: relative;
}

ul.menu.site-navigation>li>a i {
    margin-left: 10px;
    transition: all 0.2s linear;
}

ul.menu.site-navigation>li:hover>a i {
    transform: rotateZ(180deg);
    transition: all 0.2s linear;
}


.menu .menu_inner_nav {
    display: none;
    position: absolute;
    background-color: white;
    padding: 0 15px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    top: 50%;
    z-index: 20;
    /*   opacity:0; */
}

ul.menu.site-navigation li:hover .menu_inner_nav {
    display: block;
    top: 100%;
    opacity: 1;
    transition: all 0.3s linear;

}


.menu .menu_inner_nav ul {
    list-style: none;
    list-style-position: inside;
    padding: unset;
}

.menu .menu_inner_nav ul li {
    list-style: none;
    list-style-position: inside;
    border-bottom: 2px solid var(--menu-submenu-dividers-color);
}

.menu .menu_inner_nav ul li:last-child {
    border-bottom: 0;
}

.menu .menu_inner_nav ul li a {
    display: block;
    padding: var(--menu-submenu-gap) 0;
    /*   color:black; */
    white-space: nowrap;
    min-width: 200px;
}

.menu .menu_inner_nav ul li a:visited {
    color: black;
}

a.be_white_onhover {
    color: #fff;
}

.hide_by_default {
    display: none;
}

/* CTA buttons */

a[href="#"] {
    /* color: red; */
}

#ringier-create-request-property,
#ringier-create-listing,
.ringier-menu-item-button {
    margin-top: unset;
    margin-left: unset;
    font-size: 14px;
    padding-left: unset;
    padding: 0 10px;
    width: unset;
    height: var(--menu-cta-button-height);
    cursor: pointer;
}

.ringier-menu-item-button a {
    all: unset;
    display: flex;
    align-items: center;
    line-height: var(--menu-cta-button-height);
    /*   font-weight: 600; */
}

#nav_buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.login-signup-wrapper {
    display: none;
}

.follow_us {
    font-family: 'Roboto', sans-serif;
    color: #000;
    line-height: 8px;
    font-size: 16px;
}

#ot-sdk-btn.ot-sdk-show-settings, #ot-sdk-btn.optanon-show-settings, #ot-sdk-btn.ot-sdk-show-settings:hover, #ot-sdk-btn.optanon-show-settings:hover {
    background: transparent!important;
    padding: 0!important;
        font-size: 12px;
    line-height: 16px;
}

/* Responsive */

@media screen and (max-width: 1279px) {
    .ringier-social-media-icons {
        margin-top: 0;
    }

    .follow_us {
        margin-top: 14px;
    }

    .ringier-header-top-menu-wrapper {
        display: none;
    }

    ul.menu.site-navigation>li>a i {
        display: none;
    }

    .menu .menu_inner_nav {
        display: block;
        position: static;
        border-radius: 0;
        box-shadow: none;
        width: 100%;
        border-bottom: 2px solid var(--menu-submenu-dividers-color);
        padding: 0 0 10px 0;
    }

    ul.menu.site-navigation>li:hover>a {
        border-bottom: 0;
    }

    .menu .menu_inner_nav ul li {
        width: 100%;
        border-top: 0;
        border-bottom: 0;
        /*     gap:0; */
    }

    .menu .menu_inner_nav ul li a {
        width: 100%;
        padding: calc(var(--menu-submenu-gap)/2) 0;
    }

    #ringier-header-menu-logo-wrapper {
        margin: 10px 0;
    }

    #ringier-header-menu-logo-wrapper a img {
        margin: unset;
    }

    .menu-icon {
        display: block;
    }

    .navicon {
        display: block;
        height: 40px;
        width: 40px;
        /* background-color: red; */
        position: absolute;
        right: 0;
        top: 0;
        font-size: 20px;
        line-height: 40px;
        text-align: center;
    }

    .navicon:before {
        content: "\f0c9";
    }

    .menu .menu_inner_nav ul li {
        /*     border-top: 1px solid var(--menu-hover-color); */
    }

    #nav_buttons {
        flex-direction: column;
        padding-top: 10px;
        padding-bottom: 10px;
        /*border-top: 1px solid #f4f4f4;*/
    }

    #ringier-create-request-property,
    #ringier-create-listing,
    .ringier-menu-item-button {
        width: 100%;
    }

    .ringier-menu-item-button a {
        text-align: center;
        justify-content: center;
    }

    /*  Footer  */

    #foot1 {
        grid-template-columns: 1fr 1fr;
        padding-left: 5%;
        padding-right: 5%;

    }

    .ringier-physical-address {
        grid-column: span 2;
    }

    .login-signup-wrapper {
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr 1fr;
        padding: 20px 0;
        border-top: 2px solid #f5f5f5;
        border-bottom: 2px solid #f5f5f5;
    }

    .login-signup-wrapper .button a {
        display: flex;
        background: black;
        color: white;
        font-size: 14px;
        text-align: center;
        padding: 10px 0;
        border-radius: 5px;
        gap: 15px;
        justify-content: center;
        align-items: center;
    }
}

/* *************************************************************************** */
/* *** MKT-585 | MENU REWORK - Make it same as Marketplace of BMKE *** */
/* NEW STYLING FOR BMKE | 2021.07.04 | Wasseem + Quincy */
/* 2021.07.05 */
/* *************************************************************************** */
.stop-scroll {
    overflow: hidden;
}

.main-menu {
    visibility: hidden;
    position: absolute;
    overflow: scroll;
    top: 0;
    left: -100%;
    background-color: #fff;
    height: 100%;
    width: 100%;
    max-width: 360px;
    transition: all 500ms ease;
    z-index: 100;
}

.hamburger-checkbox {
    display: none;
}

.hamburger {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.hamburger svg {
    fill: #4E5559;
    margin-left: -1px;
}

.hamburger-checkbox:checked~.main-menu {
    visibility: visible;
    left: 0;
}

.main-menu-header {
    height: var(--menu-nav-bar-height);
    border-bottom: 1px solid var(--menu-divider-color);
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 50%;
}

.hamburger-checkbox:checked~.overlay {
    display: block;
}

.login-menu-item {
    border-right: 1px solid;
    border-color: var(--menu-divider-color);
    padding-right: 12px;
    display: flex;
    align-items: center;
}

.signup-menu-item {
    padding-left: 12px;
    display: flex;
    align-items: center;
}

.menu-button {
    width: 185px;
    margin-left: 25px;
    margin-right: 20px;
    padding: 8px 20px;
    color: #fff;
    background-color: var(--menu-primary-color);
    position: relative;
    display: inline-block;
    border: none;
    outline: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-user-select: none;
    user-select: none;
    line-height: 1.5 !important;
    letter-spacing: .5px;
}

.menu-button:hover,
a.menu-button:visited {
    color: #fff;
    background-color: var(--menu-primary-color-hover)
}

.login-menu {
    display: none;

}

#main_nav_menu_id li a {
    white-space: nowrap;
    font-size: 16px;
}

.mobile-login-buttons {
    display: flex;
    border-bottom: 1px solid var(--menu-divider-color);
    padding: 10px 20px;
    justify-content: space-between;
}

.login-link {
    color: white;
    background-color: black;
    border-radius: 3px;
    padding: 8px 20px;
    width: 40%;
    text-align: center;
}

.signup-link {
    color: var(--menu-primary-color);
    padding: 8px 20px;
    width: 40%;
    text-align: center;
}

.main-menu-navigation {
    text-transform: uppercase;
    padding: 0;
    display: block;
    list-style: none;
    margin: 10px 0 0;
}

.sub-main-menu-navigation {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu-navigation li {
    padding: 0 20px;
}

.main-menu-navigation li a {
    color: var(--menu-primary-color);
    padding: 10px;
    display: block;
}

.sub-main-menu-navigation li {
    padding: 0;
}

.sub-main-menu-navigation li a {
    color: #4e5559;
}

.main-menu-navigation-divider {
    border-bottom: 1px solid var(--menu-divider-color);
    margin-bottom: 10px;
    margin-top: 10px;
}

.show-desktop {
    display: none;
}

/* only targets bigger than ipad */
@media screen and (min-width: 769px) {
    .login-menu {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .mobile-login-buttons {
        display: none;
    }

    .show-desktop {
        display: block;
    }
}

/* *************************************************************************** */
/* END MENU REWORK */
/* *************************************************************************** */


/* *************************************************************************** */
/* *** MKT-585 | FOOTER REWORK - Make it same as Marketplace of BMKE *** */
/* 2021.07.06 */
/* *************************************************************************** */
footer #ringier-footer {
    background-color: black;
    padding: 0;
}

.footer-main {
    display: flex;
    flex-flow: row wrap;
    margin: 0 auto;
    max-width: 1280px;
    padding: 40px 20px 20px 20px;
}

.footer-primary-nav {
    display: flex;
}

.footer-section-nav ul {
    display: flex;
    list-style: none;
    flex-flow: row wrap;
    margin: 0;
    padding: 0;
}

.footer-section-nav ul>li {
    display: flex;
    text-align: center;
    color: white;
}

.footer-section-nav ul li a {
    color: white;
    font-size: .825rem;
    line-height: 1.5;
    white-space: nowrap;
    margin: 10px 0;
}

.footer-second-section {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.footer-social-media {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.footer-social-media a {
    margin-right: 20px;
    display: flex;
}

.footer-social-media a:last-child {
    margin-right: 0;
}

.google-play-icon img {
    display: block;
}

.footer-google-app {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.footer-copyright {
    color: white;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.copyright {
    font-size: 1.1rem;
    margin-right: 5px;
}

/* everything above 769px */
@media all and (min-width: 769px) {
    .footer-section-nav ul {
        display: flex;
        flex-direction: row;
    }

    .footer-section-nav ul>li {
        text-align: left;
        width: auto;
        display: flex;
        padding-right: 20px;
        margin: 10px 20px 10px 0;
        border-right: 1px solid #7c7c7c;
    }

    .footer-section-nav ul li:last-child {
        border: none;
    }

    .footer-section-nav ul li a {
        width: auto;
        margin: 0;
    }

    .footer-left {
        display: flex;
        width: 40%;
    }

    .footer-second-section {
        flex-direction: row;
        justify-content: space-between;
        margin-top: 20px;
    }

    .footer-social-media {
        margin-top: 0;
        align-items: center;
    }

    .footer-social-media img {
        width: 26.5px;
    }

    .footer-google-app {
        margin-top: 0;
    }

    .footer-google-app img {
        width: 134px;
    }

    .footer-copyright {
        margin-top: 0;
        display: flex;
    }

    .footer-social-media a:last-child {
        margin-right: 20px;
    }
}

/* *************************************************************************** */
/* start <restyling for Newsletter | MKT-588> */
/* *************************************************************************** */
.newsletter-main {
    position: relative;
    display: flex;
    width: 80%;
    min-width: 275px;
    margin: 40px 0 20px 10%;
    padding: 0;
    height: auto;
    background-color: #eeeeee;
    color: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* on Category Pages */
#archive-page-newsletter-block .newsletter-main {
    margin: 40px 0 40px 0;
}

.newsletter-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.65;
}

/* FIRST DIV | TEXT */
.newsletter-text-wrapper {
    color: #4e5559;
}

.newsletter-text-header {
    padding-bottom: 0.5rem;
    font-size: 1.5rem;
}

.newsletter-text-body {
    padding-top: 0.5rem;
}

/* SECOND DIV | INPUT FIELDS */
.newsletter-input-wrapper {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}

.newsletter-name {
    padding-bottom: 0.75rem;
}

input#newsletter_first_name,
input#email_field {
    float: left;
    padding: 3px 10px;
    width: 100%;
    max-width: 100%;
    height: 40px;
    font-size: 0.875rem;
    line-height: 21px;
    color: rgba(70, 70, 70, 0.55);
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.newsletter-input-wrapper input {
    border-radius: 3px;
    border: 1px solid #eee;
}

/* LAST DIV | Radio + Btn */
.newsletter-last-wrapper {
    display: flex;
    flex-direction: column;
    margin: 32px 0 16px 0;
}

.newsletter-radio-wrapper {
    display: flex;
    flex-direction: row;
    align-self: center;
    width: 90%;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #4e5559;
    line-height: 1.65;
}

.newsletter-radio {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /*max-width: 12.5rem;*/
}

.newsletter-radio input[type="radio"] {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    border-style: solid;
    border-width: 0.1rem;
}

.newsletter-radio label {
    margin-left: 1rem;
}

.newsletter-action {
    display: flex;
    justify-content: center;
}

.ringier-newsletter-button-wrapper {
    display: flex;
    width: 100%;
}

input.newsletter-subscribe-btn,
input#bttnsubmit,
input#buttonsuscribed {
    width: 100%;
    color: rgba(255, 255, 255, 1);
    border-radius: 3px;
    font-size: 1rem !important;
    text-transform: uppercase;
    padding: 8px 20px !important;
    letter-spacing: 0.031rem;
}

.nl_info_text {
    text-align: center;
}

#nl_info_text_error {
    font-size: 0.775em;
    color: #e88e97;
    margin-top: 10px;
    display: none;
    text-align: center;
}

/* on Article Pages */
#main.post-main .newsletter-main {
    width: 80%;

}

#main.post-main .newsletter-main .newsletter-text-header {
    font-size: 1.4rem;
}

#main.post-main .newsletter-main .newsletter-text-body {
    font-size: 13px;
}

/* on Category Pages */
#archive-page-newsletter-block .newsletter-main {
    width: 100%;
}

/* Desktop | everything above 769px */
@media all and (min-width: 769px) {
    .newsletter-main {
        max-width: 650px;
        margin: 40px auto 20px auto;
    }
}

/* on Desktop */
@media all and (min-width: 1066px) {
    .newsletter-main {
        max-width: 100%;
    }

    .newsletter-wrapper {
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
        line-height: 1.35;
    }

    .newsletter-text-wrapper {
        max-width: 41%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-self: self-end;
    }

    .newsletter-text-header {
        font-size: 1.5rem;
        margin: 0;
    }

    .newsletter-text-body {
        margin: 0;
        padding: 0;
    }

    .newsletter-input-wrapper {
        margin-top: 0;
        justify-content: center;
        align-self: flex-end;
    }

    .newsletter-last-wrapper {
        min-width: 255px;
        margin: 0;
        justify-content: center;
        align-self: self-end;
    }

    /* on Article Pages */
    #main.post-main .newsletter-main .newsletter-text-wrapper {
        align-self: center;
    }

    #main.post-main .newsletter-main {
        width: 100%;
        margin: 40px auto 40px auto;
    }

    /* on Category Pages */
    #archive-page-newsletter-block .newsletter-main {
        width: 100%;
        margin: 40px auto 40px auto;
    }
}

/* end <restyling for Newsletter> */
/* *************************************************************************** */

/* start override SEARCH BOX IN HEADER MENU */
.search-form {
    display: flex;
    padding: 0 20px;
    margin-bottom: 15px;
    margin-top: 30px;
}

input[type="text"].search-input {
    border: 1px solid var(--menu-divider-color);
    border-radius: 0;
    border-right: none;
    padding: 7px 20px;
    flex: 1;
    font-weight: 300;
}

.search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid var(--menu-divider-color);
    border-radius: 0;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
}

.ringier-featured-post {
    float: none;
}

/* end override SEARCH BOX IN HEADER MENU */

.ringier-home-thumbnail-full-preview {
    display: flex;
    flex: .73;
    background-color: white;
}

.ringier-home-thumbnail-full-preview img {
    width: auto;
    height: auto;
    object-fit: contain;
}

/* override horizontal spacing on Home page for the following block */
.secondary-featured-posts {
    margin-top: 30px;
}

/* end */

/* Overriding the OneSignal Styles, note: for some reason we cannot use vars for colors here */
.onesignal-customlink-container button {
    background-color: var(--menu-action-active-color) !important;
    display: flex;
    justify-content: center;
    padding: 8px 20px;
}

.onesignal-customlink-container button:hover {
    color: #fff !important;
    background-color: var(--menu-action-active-color) !important;
    filter: none !important;
    -webkit-filter: none !important;
}

.onesignal-customlink-container {
    width: unset;
    min-width: 150px;
}

.ringier-push-notification {
    background-color: white;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .07), 0 3px 1px -2px rgba(0, 0, 0, .1), 0 1px 5px 0 rgba(0, 0, 0, .06);
    padding: 15px 20px;
    justify-content: space-between;
    margin-top: 50px;
}

.home-latest-articles-main-div,
.ringier-push-notification {
    width: 100% !important;
}

.onesignal-signal-img-wrapper {
    margin-right: 20px;
}

.onesignal-signal-img-wrapper svg {
    position: absolute;
    width: 48px;
    max-width: 48px;
    min-width: 48px;
    height: 48px;
    max-height: 48px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#explanation strong {
    font-size: 1.125rem;
    font-weight: bolder;
}

/* breadcrumb css overriding from parent main.css:448 */

.ringier-bread-crumbs-wrap {
margin-top: 16px!important;
}
.ringier-bread-crumbs-wrap a {
    text-decoration: none;
    color: var(--brand-linked);
}

.ringier-bread-crumbs-wrap a:hover {
    text-decoration: none;
    color: var(--brand-linked);
}

.ringier-bread-crumbs-wrap a:visited {
    text-decoration: none;
    color: var(--brand-linked);
}

.ringier-bread-crumbs-wrap a:active {
    text-decoration: none;
    color: var(--brand-linked);
}

.ringier-bread-crumbs-wrap {
    color: var(--gray-500);
}

.ringier-bread-crumbs-wrap-separator,
.ringier-bread-crumbs-wrap-primary-separator {
    margin-left: .5rem;
    margin-right: .5rem;
}

.google-follow-div {
    /*background-color: #f3f3f3;*/
    /*border: 1px solid #A5A6A7;;*/
    /*border-radius: 1rem;*/
    height: 40px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding: 0 8px;
}

.star-svg {
    display: flex;
    margin: 0 !important;
    padding: 0 3px;
}

.star-svg img {
    /*filter: invert(36%) sepia(87%) saturate(2989%) hue-rotate(202deg) brightness(94%) contrast(93%);*/
}

.star-text {
    margin: 0 !important;
    padding: 0 3px 0 0;
    font-weight: 500 !important;
    font-family: "Google Sans", sans-serif;
    font-size: 0.875rem;
    color: rgb(60, 64, 67);
}

.google-news-banner {
    clear: both;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin-top: 110px;
    padding: 20px 10px;
    background-color: #eeeeee;
    border-radius: 5px;
}

#icons-wrapper.sticky {
    height: 4rem;
}

/* temporary hide Google News until we get the link */
#social-share-google-follow {
    display: none !important;
}

.article-dek p {
    white-space: normal;
    color: #464646;
}

/* hide original header.entry-header - we will use div.entry-header for the new */
.ap-page-question article header.entry-header { display: none !important; }

.ap-question-hero__top,
.ap-question-hero__meta {
    text-align: center;
}

article .entry-header span {
    margin: 0;
}

/* Container for the header */
.entry-header {
    background: #e9f6fa; /* your light blue background */
    padding: 2rem;
    text-align: center;
}

/* Top row (avatar + author line) */
.ap-question-hero__top {
    display: flex;
    align-items: center;      /* vertically center avatar + text */
    justify-content: center;  /* horizontally center the whole row */
    margin-bottom: 1rem;
    gap: 0.6rem;              /* space between avatar and text */
}

/* Avatar: round, centered */
.ap-question-hero__avatar img,
.ap-question-hero__avatar .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: block;
}

/* Author text */
.ap-question-hero__by {
    font-size: 1rem;
    color: #333;
    line-height: 1.4;
}

.ap-question-hero__by strong {
    font-weight: 600;
    margin-right: 0.25rem;
}

/* Title styling */
.entry-header .entry-title {
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
}

/* Meta row (date + category) */
.ap-question-hero__meta {
    font-size: 0.95rem;
    color: #666;
}

.ap-question-hero__meta strong {
    font-weight: 600;
}

.article .entry-header {
    padding: 1rem;
}

article .entry-header,
.social-sharer-wrapper,
.ringier-social-sharing,
article .entry-header h1 {
    background-color: #f7f8fa;
}

article .entry-header h1 {
    margin: 0;
}

.entry-content p,
.entry-content li,
.entry-content li a {
    white-space: normal;
    color: #464646;
}

.author-box-author-bio p {
    white-space: normal;
    color: #464646;
}

.archive-description p {
    color: #404040;
}

@media screen and (max-width: 699px) {
    .entry-header h1 {
        margin: 13px 15px !important;
        line-height: 54px;
    }
}

.single-author-bio p {
    white-space: normal;
}

/* Author profile page adjustments */
.author-details p {
    color: #404040;
}

/* *** ****************** *** */
/* *** AnsPress overrides *** */
/* *** ****************** *** */
div.ap-pagination.clearfix>a.next.page-numbers {
    width: auto;
}

#anspress .ap-list-head {
    padding: 0!important;
    border: 0!important;
    margin-bottom: 0!important;
}

.ap-page-base .entry-header,
.post-42498 header.entry-header h1.entry-title,
.anspress-content .ringier-bread-crumbs-wrap {
    display: none;
}

.search-q-wrapper {
    display: flex;
    border: 2px solid var(--brand-secondary);
    border-radius: 16px;
    width: 100%;
    justify-self: center;
    background-color: #ffffff;
    z-index: 1;
    position: relative;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.11);
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px;
    margin-left: auto;
    margin-right: auto;
}

.search-q-wrapper .error-msg {
    display: none;
}

span.divider {
    border-right: 1px solid #d1d1d1;
    margin: 0 10px;
    display: inline-block;
    width: 1px;
    height: 30px;
}

.search-q-wrapper .ap-btn-ask {
    background-color: var(--brand-secondary);
    color: white !important;
    border-radius: 16px;
    padding: 10px 20px;
}

#anspress .ap-questions-count {
    background: #fff;
    display: block;
    float: left;
    text-transform: lowercase;
    font-size: 11px;
    margin-left: 15px;
    color: #777;
    text-align: center;
    text-decoration: none;
    border: 0;
    border-radius: 16px;
}

.search-wrapper {
    display: flex;
}

.search-q-wrapper form {
    flex: 1;
}

.search-q-wrapper input[type="text"] {
    width: 100%;
    border: 0;
    border-radius: 16px;
    padding: 10px;
    background-color: transparent;
}

.search-q-wrapper input::placeholder {
    color: var(--brand-secondary);
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
}

.search-q-wrapper input[type="text"]:focus-visible {
    outline: 0;
}

.search-q-wrapper .btn {
    flex: auto;
    height: auto;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.ap-questions .question {
    padding: 20px;
    background-color: var(--gray-200);
    border-radius: 16px;
    margin-bottom: 10px;
}

.ap-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.ap-list-head {
    position: relative;
    text-align: center;
}

img.qna-bg-img {
    position: absolute;
    bottom: -30px;
    right: 50%;
    transform: translateX(50%);
    border-radius: 0 !important;
    opacity: 0.3;
}

.qna-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    position: relative;
}

.qna-header h1,
.qna-header h1 span {
    font-weight: 800;
    margin-bottom: 24px;
}

.qna-header img {
    width: 40%;
}

.ap-list-head .label-wrapper {
    margin: 20px auto;
}

.form-d-flex {
    display: flex;
    background: #f9f9f9;
    border-radius: 16px;
}

.ap-list-head label {
    padding: 10px;
    font-size: 14px;
    border-radius: 16px;
    color: var(--gray-400);
}

.ap-list-head label:has(input:checked) {
    background: #048BA81A;
    color: var(--brand-secondary);
    font-weight: 600;
}

.ap-list-head label input[type="checkbox"] {
    display: none;
}

.ap-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

#anspress .ap-questions {
    border: none !important;
}

#anspress .ap-questions-item {
    border: none !important;
    margin: 20px 0 !important;
}

#anspress .ap-filter-toggle {
    font-size: 14px!important;
    line-height: 20px;
    padding: 8px 16px !important;
}

#anspress #ap-filters #ap-filter-reset, #anspress #ap-filters::before, #anspress #ap-filters::after {
    align-items: center;
    display:none!important;
}

#anspress #ap-filter-reset i {
    display: none;
}

#anspress #ap-filter-reset span {
    font-size: 12px;
    line-height: 20px;
}

#anspress .ap-category-sorting-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

#anspress .ap-filters .ap-dropdown {
    margin-right: 0!important;
    white-space: nowrap;
}

#anspress .ap-filters .ap-dropdown-menu {
        left: 0;
        right: 0;
        position: absolute;
        top: 100%;
    }

#anspress .ap-filters .ap-dropdown-menu {
    width: 130px!important;
    min-width: 130px;
    height: auto;
    border: 0;
    border-radius: 16px;
    background-color: #e5f4f8;
    padding: 0;
    overflow: hidden;
}

#anspress .ap-dropdown-menu li {
    padding: 0;
}

#anspress .ap-dropdown.open .ap-dropdown-menu li a {
    font-size: 12px;
}

.ap-dropdown.filter-order_by .ap-dropdown-menu li.active a {
    background: transparent!important;
}

#anspress .ap-dropdown-menu li:hover {
    background-color: #038ba82b!important;
}

/* QUESTIONS  */

.ask-wrapper[hidden] {
    display: none;
}

.ask-wrapper {
    display: block;
    background: var(--gray-200);
    padding: 20px;
    border-radius: 16px;
}

.ap-page-ask label,
.ap-page-ask .ap-field-desc,
/* .ap-page-ask .mce-toolbar-grp, */
.ap-page-ask .ap-btn-insertimage,
.question .ap-btn-insertimage {
    display: none!important;
}

.ap-page-ask .ap-form-control,
.ap-page-ask .wp-editor-container {
    border: 2px solid var(--brand-secondary);
    width: 100%;
    border-radius: 16px;
    padding: 5px 20px;
    min-height: 42px;
    overflow: hidden;
}

.ap-page-ask .mce-edit-area, .ap-page-ask .wp-editor-container {
    padding: 0;
}

.ap-page-ask .ap-btn-submit,
.ap-page-ask .ap-btn-submit:hover,
.question .ap-btn-submit,
.question .ap-btn-submit:hover {
    background-color: var(--brand-secondary);
    background-image: none;
    color: #ffffff;
    border-radius: 16px;
    border: 0;
}

/* SINGLE QUESTION PAGE  */

.ap-content {
    padding-right: 0;
}

.question .entry-header,
.ap-page-ask .entry-header {
    background: url('assets/images/qna-header-bg.png') no-repeat center;
    background-size: contain;
    padding: 20px 0;
    margin: 20px auto;
}

.question .entry-header h1,
.ap-page-ask .entry-header h1 {
    text-align: center;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
}

.ap-question-hero__avatar img, .ap-question-hero__avatar .avatar {
    width: 32px;
    height: 32px;
    margin: 0;
}

.question .ap-question-meta,
.question .ap-content .ap-avatar,
/* .question .ap-content .ap-q-metas, */
.question .ap-content .ap-post-updated {

}

.question .ap-content .ap-cell {
    margin-left: 0 !important;
}

.answer .ap-content .ap-avatar {
    display: block;
}

.ap-single-vote {
    display: none;
}

#anspress .ap-cell-inner {
    border: 0;
    border-radius: 16px;
    background: var(--gray-200);
    margin-bottom: 40px;
}

#anspress .user-data {
    display: flex;
    align-items: center;
}

#anspress .user-data .ap-avatar{
    width: 32px;
    height: 32px;
    margin-right: 16px;
}

#anspress .user-data .ap-avatar .avatar{
    margin-top: 0;
    max-width: 32px;
    border-radius: 50%;
}

#anspress .ap-q-metas {
    font-size: 14px;
    line-height: 20px;
    padding: 16px 24px;
    border-bottom: 0;
    background: #fafafa;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#anspress .ap-q-metas time {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 8px 16px;
    border: 1px solid #ededed;
    color: var(--text-gray-550);
    font-size: 12px;
    line-height: 20px;
    font-weight: 600;
}

.ap-post-footer .ap-btn {
    background: transparent;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
}

.ap-user-reputation {
    display: none;
}

.ap-post-footer {
    border-top: 0;
}

.anspress apcomment {
    margin-bottom: 40px;
    border-bottom: 0;
}

.anspress apcomment:nth-child(2n) {
    background-color: #ffffff;
}

apanswersw .ap-sorting-tab, apanswersw .ap-sorting-tab .ap-answers-tab {
    display: flex;
}

.ap-sorting-tab h3, .ap-sorting-tab ul {
    padding-bottom: 0!important;
}

.ap-sorting-tab ul li a {
    border-top-left-radius: 16px!important;
    border-top-right-radius: 16px!important;

}

h3.post-answer-heading {
    width: 100%!important;
    font-size:  16px!important;
    line-height: 28px!important;
    font-weight: 700!important;
    color: var(--gray-900)!important;
    padding-bottom: 0!important;
}

.ap-minimal-editor .ap-avatar, #answer-form-c .ap-avatar{
    display: none;
}

.answer-form-c, #ap-drop-area {
    margin-right: 0!important;
        margin-left: 0!important;

}

.ap-minimal-editor #ap-drop-area, #answer-form-c {
    margin-left: 0;
    margin-right: 0;
    border: 1px solid var(--gray-300);
    border-radius: 16px;
    overflow: hidden;
}

#answer-form-c .ap-cell-inner {
    margin-bottom: 0;
}

/* PAGINATION */

.ap-pagination {
    gap: 8px;
    display: flex!important;
}

.ap-pagination .page-numbers {
    background: var(--gray-200);
    color: var(--brand-secondary);
    border-radius: 16px;
    border: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    font-size: 14px;
    font-weight: 500;
}

.ap-pagination .page-numbers.current {
    background-color: #048BA81A;
}

/* ASK A QUESTION */

#anspress {
    padding: 0 15px;
}

.ap-login-buttons {
    background-color: var(--gray-200);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
}

.entry-content .ap-login-buttons p {
    width: 100%;
    margin-bottom: 0;
}

.ap-login-buttons a.ap-btn-ask {
    background: var(--brand-secondary);
    color: #ffffff!important;
    padding: 16px 32px;
    border-radius: 16px;
    margin-top: 24px;
    display: inline-block;
}

/* Filters: inline category */
.ap-cat-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.2rem;
    margin: 16px 0 12px;
    list-style: none;
    overflow: scroll;
}

.ap-cat-pills .ap-pill {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background .2s ease, color .2s ease;
    white-space: nowrap;
}

.ap-cat-pills .ap-pill:hover {
    background: #eef6f9;
    color: #0f7e8a;
}

.ap-cat-pills .ap-pill.is-active {
    background: #e6f5f8;
    color: #0e7b87;
}

/* Make our custom order_by dropdown open on hover/focus */
/* Style the dropdown toggle as a pill with arrow */
.ap-dropdown-toggle.ap-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 20px;
    background: #e5f4f8;
    color: #444;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
}

/* Add the ▼ arrow */
.ap-dropdown-toggle.ap-filter-toggle::after {
    content: "▼";
    font-size: 0.65em;
    margin-left: 8px;
    color: var(--brand-secondary); /* teal/blue arrow */
    transition: transform 0.2s ease;
}

/* Rotate arrow when dropdown is open */
.ap-dropdown.open .ap-dropdown-toggle.ap-filter-toggle::after {
    transform: rotate(-180deg);
}

.ap-dropdown.filter-order_by { position: relative; }
.ap-dropdown.filter-order_by .ap-dropdown-menu {
    display: none;
    position: absolute;
    z-index: 9;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    min-width: 200px;
    margin-top: 6px;
    padding: 6px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
}
.ap-dropdown.filter-order_by:hover .ap-dropdown-menu,
.ap-dropdown.filter-order_by:focus-within .ap-dropdown-menu {
    display: block;
}
.ap-dropdown.filter-order_by .ap-dropdown-menu li { list-style: none; }
.ap-dropdown.filter-order_by .ap-dropdown-menu a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #374151;
}
.ap-dropdown.filter-order_by .ap-dropdown-menu li.active a {
    font-weight: 600;
    background: #f3f4f6;
}
.ap-dropdown.filter-order_by .ap-dropdown-toggle {
    cursor: pointer;
}

/* Responsive */
@media (min-width: 768px) {
    .search-q-wrapper {
        width: 60%;
    }

    #anspress {
        padding: 0;
    }

    .question .entry-header,
    .ap-page-ask .entry-header {
        background-size: cover;
        padding: 60px 0;
        margin: 40px auto 20px auto;
    }

    .question .entry-header h1,
    .ap-page-ask .entry-header h1 {
        font-size: 28px;
        line-height: 40px;
    }

    #anspress .ap-q-metas time {
        font-size: 14px;
        line-height: 24px;
    }

    h3.post-answer-heading {
        font-size:  28px!important;
        line-height: 40px!important;
    }

    .ap-cat-pills {
    flex-wrap: wrap;
        overflow: hidden;
    }
}

/* *** END - AnsPress overrides *** */

div.author-archive-avatar img.avatar__image {
    max-height: 96px;
    max-width: 96px;
}
