/*
Theme Name:   British Landrover Parts
 Theme URI:    http://klbtheme.com/partdo/
 Description:  Partdo Child Theme
 Author:       Gobig Digital
 Author URI:   https://gobig-digital.co.uk
 Template:     partdo
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  blrp
*/

/* Main menu styling */
.category-nav {
    font-family: Arial, sans-serif; /* You can change this to your preferred font family */
    background-color: #f5f5f5; /* Adjust this if you need a different background color */
}

.category-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-start; /* Change to `space-between` if you want items to stretch across the full width */
    flex-wrap: wrap;
}

.category-nav-menu > li {
    position: relative;
    margin: 0;
}

.category-nav-menu > li > a {
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    color: #333; /* Adjust this if you need a different text color */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.category-nav-menu > li:hover > a {
    background-color: #ddd; /* Adjust this if you need a different hover background color */
}

/* Sub-menu styling */
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    z-index: 10; /* Ensure the dropdown appears above other content */
}

.sub-menu li {
    width: 100%; /* Make sure the dropdown stretches to the full width of its content */
}

.sub-menu li a {
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    color: #333;
}

.sub-menu li:hover a {
    background-color: #ddd;
}

/* Show sub-menu on parent hover */
.category-nav-menu > li:hover .sub-menu {
    display: block;
}

/* Header search box */
.elementor-search-form--skin-minimal:focus-within {
    outline-width: 0 !important;
}

/* Product filter */
.woocommerce-breadcrumb ul li {
    font-size: 1.5em;
    font-weight: bold;
}
.woocommerce-breadcrumb ul li a {
    color: black;
    font-weight: initial;
}
.woocommerce-breadcrumb ul li a:hover {
    color: red;
}


.otgs-development-site-front-end {
    display: none;
}

.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
 margin: 5px;
}

@media(max-width: 760px) {
    .wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
        margin: 30px;
    }
}