/* Second-load polish: country portal menu, mobile heart logo, member auth header tweaks. */

.container.bottom-header .nav-bot-view #dropdownMenuButton {
    border-radius: 10px !important;
}

.logo-class:before {
    pointer-events: none;
}

.dropdown-content {
    border-radius: 10px;
    overflow: hidden;
    padding: 4px 0;
}

.dark-mode .container.bottom-header .listing-country-field .dropdown-menu.show,
.dark-mode .container.bottom-header .listing-country-field .dropdown-menu.show .dropdown-item {
    background-color: transparent !important;
    color: #c7c1b6 !important;
}

.dark-mode .container.bottom-header .listing-country-field .dropdown-menu.show {
    --bs-dropdown-border-radius: 10px;
    --bs-dropdown-inner-border-radius: 8px;
    background-color: #272827 !important;
    border-radius: 10px !important;
    overflow: hidden;
    padding: 6px !important;
    border: none !important;
}

@media only screen and (max-width: 1024px) {
    .logo-class {
        overflow: visible !important;
    }

    .custom-header {
        overflow: visible !important;
    }

    .custom-header .header-top,
    .custom-header > .container,
    .custom-header .header-top > .container,
    .custom-header .row,
    .custom-header .logo-class {
        overflow: visible !important;
    }
}

.container.bottom-header .listing-country-field .dropdown-menu {
    --bs-dropdown-border-radius: 10px;
    --bs-dropdown-inner-border-radius: 8px;
    border-radius: 10px !important;
    overflow: hidden;
    padding: 6px !important;
    border: none !important;
}

.container.bottom-header .listing-country-field .dropdown-menu .dropdown-item {
    border-radius: 8px !important;
}

.container.bottom-header .listing-country-field .dropdown-menu .dropdown-item:hover,
.container.bottom-header .listing-country-field .dropdown-menu .dropdown-item:focus,
.container.bottom-header .listing-country-field .dropdown-menu .dropdown-item:focus-visible,
.container.bottom-header .listing-country-field .dropdown-menu .dropdown-item.active {
    background-color: #6A11CF !important;
    color: #ffffff !important;
}

.dark-mode .container.bottom-header .listing-country-field .dropdown-menu.show .dropdown-item:hover,
.dark-mode .container.bottom-header .listing-country-field .dropdown-menu.show .dropdown-item:focus,
.dark-mode .container.bottom-header .listing-country-field .dropdown-menu.show .dropdown-item:focus-visible,
.dark-mode .container.bottom-header .listing-country-field .dropdown-menu.show .dropdown-item.active {
    background-color: #6A11CF !important;
    color: #ffffff !important;
}

@media only screen and (orientation: landscape) and (hover: none) and (pointer: coarse) {
    .custom-header,
    .custom-header > .container,
    .custom-header .header-top > .container,
    .custom-header .row,
    .custom-header .logo-class {
        overflow: visible !important;
    }
}

@media only screen and (max-width: 1024px) {
    .custom-header,
    .custom-header .header-top,
    .custom-header > .container,
    .custom-header .header-top > .container,
    .custom-header .row,
    .custom-header .logo-class {
        overflow: visible !important;
    }
}

@media only screen and (max-width: 1024px) {
    html body.member-auth-site-page .custom-header .toggle-sidebar,
    html body.member-auth-site-page .custom-header #toggleSidebar.toggle-sidebar {
        position: fixed !important;
        top: 9px !important;
        right: 0 !important;
        z-index: 999 !important;
        display: block !important;
        margin: 0 10px 0 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #fff !important;
        transform: none !important;
    }

    html body.member-auth-site-page .custom-header .toggle-sidebar svg {
        width: 44px !important;
        height: 44px !important;
    }

    html body.member-auth-site-page .custom-header .logo-class {
        justify-content: flex-start !important;
        width: auto !important;
    }

    html body.member-auth-site-page .custom-header .toggle-icon-mobile {
        position: static !important;
        width: 0 !important;
        height: 0 !important;
        overflow: visible !important;
    }
}

html body .container.bottom-header .listing-country-field .dropdown-menu,
html body .container.bottom-header .listing-country-field .dropdown-menu.show {
    --bs-dropdown-border-radius: 10px;
    --bs-dropdown-inner-border-radius: 8px;
    border-radius: 10px !important;
    overflow: hidden !important;
    padding: 6px !important;
    border: none !important;
}

html body .container.bottom-header .listing-country-field .dropdown-menu .dropdown-item {
    border-radius: 8px !important;
}

html.dark-mode body .container.bottom-header .listing-country-field .dropdown-menu.show {
    background-color: #272827 !important;
}

html.dark-mode body .container.bottom-header .listing-country-field .dropdown-menu.show .dropdown-item {
    background-color: transparent !important;
}

html body .container.bottom-header .nav-bot-view #dropdownMenuButton,
html body .container.bottom-header .nav-bot-view #dropdownMenuButton.show,
html body .container.bottom-header .nav-bot-view #dropdownMenuButton.dropdown-toggle.show {
    border-radius: 10px !important;
}
