/*
Theme Name: Listeo Child
Theme URI: https://toastli.com/
Author: George Botha
Author URI: https://toastli.com/
Description: Child theme for Listeo - Toastli custom modifications
Template: listeo
Version: 1.0.0
License: ThemeForest
License URI: http://themeforest.net/licenses
Text Domain: listeo-child
*/

/* =====================================================
   TOASTLI CUSTOM CSS
   Add all custom CSS overrides below this line
   ====================================================== */

/* =====================================================
   CUSTOMIZER - ADDITIONAL CSS (migrated from Customizer)
   ====================================================== */

/* Remove cart icon from menu */
.mini-cart-button {
    display: none !important;
}

/* Hide extra dashboard/menu links */
a[href="https://toastli.com/qr-scan/"],
a[href="https://toastli.com/saved-searches/"],
a[href="https://toastli.com/ad-manager/"],
a[href="https://toastli.com/bookmarks/"] {
    display: none !important;
}

/* Hide 3rd stat card on hero */
.listeo-hero-stats .listeo-stat-card:nth-child(3) {
    display: none;
}

/* Hide label/input/button in 3rd dashboard box on My Profile */
.dashboard-list-box-static:nth-child(3) .my-profile label,
.dashboard-list-box-static:nth-child(3) .my-profile input {
    display: none;
}
.dashboard-list-box-static:nth-child(3) .my-profile button {
    margin-top: -20px !important;
}

/* Hide second submit section header in forms */
form .submit-section-header:nth-child(2) {
    display: none !important;
}

/* Hide listing form fields */
.form-field-listing_category-container.form-field-container-type-drilldown-taxonomy,
.form-field-keywords-container.form-field-container-type-text,
.form-field-listing_feature-container.form-field-container-type-term-checkboxes,
.form-field-_geolocation_lat-container.form-field-container-type-text,
.form-field-_video-container.form-field-container-type-text,
.form-field-_website-container.form-field-container-type-text,
.form-field-_email_contact_widget-container.form-field-container-type-checkbox,
.form-field-_facebook-container.form-field-container-type-text,
.form-field-_twitter-container.form-field-container-type-text,
.form-field-_youtube-container.form-field-container-type-text,
.form-field-_instagram-container.form-field-container-type-text,
.form-field-_whatsapp-container.form-field-container-type-text,
.form-field-_skype-container.form-field-container-type-text {
    display: none;
}

/* Hide opening hours widget */
.opening_hours.dynamic-features.has-switcher {
    display: none;
}

/* Add Listing → hide add new category button */
.button.add-pricing-submenu {
    display: none;
}

/* Add Listing → hide pricing checkbox */
.form-field-_hide_pricing_if_bookable-container {
    display: none;
}

/* Dashboard stat boxes - brand green colour */
.color-1, .color-2, .color-3, .color-4 {
    background: #68C89F !important;
}
.dashboard-stat-content h4,
.dashboard-stat-content span {
    color: white !important;
}
.color-1 .dashboard-stat-icon svg g,
.color-1 .dashboard-stat-icon svg circle,
.color-1 .dashboard-stat-icon svg rect,
.color-1 .dashboard-stat-icon svg path,
.color-2 .dashboard-stat-icon svg g,
.color-2 .dashboard-stat-icon svg circle,
.color-2 .dashboard-stat-icon svg rect,
.color-2 .dashboard-stat-icon svg path,
.color-3 .dashboard-stat-icon svg g,
.color-3 .dashboard-stat-icon svg circle,
.color-3 .dashboard-stat-icon svg rect,
.color-3 .dashboard-stat-icon svg path,
.color-4 .dashboard-stat-icon svg g,
.color-4 .dashboard-stat-icon svg circle,
.color-4 .dashboard-stat-icon svg rect,
.color-4 .dashboard-stat-icon svg path {
    fill: white;
}
.color-2 .dashboard-stat-icon svg path {
    outline: white;
}

/* =====================================================
   BECOME A VENDOR - NAV ITEM
   ====================================================== */

/* Green star icon on Become a Vendor nav item */
.dashboard-nav-inner ul li a .sl-icon-star {
    color: #2ecc71;
}

/* Bank Details notice mobile fix */
@media (max-width: 768px) {
    #bank-details-wrapper .bd-notice {
        background: #2ecc71 !important;
        color: #fff !important;
        border: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Pricing list items pointer cursor on listing page */
.single-listing .pricing-list-container li {
    cursor: pointer;
}

/* Fix mobile footer above browser bar */
#toastli-footer-nav {
    padding-bottom: env(safe-area-inset-bottom) !important;
    height: calc(70px + env(safe-area-inset-bottom)) !important;
}

/* Hide nav menu on desktop */
@media (min-width: 769px) {
    nav#navigation,
    .mmenu-trigger,
    #navigation {
        display: none !important;
    }
}

/* Fix mobile package row delete button */
@media (max-width: 768px) {
    .toastli-row-line1 .fm-close {
        position: absolute !important;
        top: 8px !important;
        right: 8px !important;
    }
    .toastli-row-line1 {
        position: relative !important;
        padding-right: 44px !important;
    }
}

/* =====================================================
   HERO SECTION - REDUCE HEIGHT + HIDE BROWSE TEXT
   ====================================================== */

@media (max-width: 768px) {
    .slim-mobile-menu.transparent-header .main-search-container .main-search-inner {
        padding: 20px 0 20px 0 !important;
    }
}

@media (max-width: 1024px) {
    .transparent-header .main-search-container .main-search-inner {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
}

/* Hide "Or browse featured categories" */
.main-search-inner ~ div,
p.browsecat,
.search-banner-placeholder {
    display: none !important;
}

