/*
Theme Name: JBH Custom Theme
Theme URI: https://espanglishmarketing.com/
Author: Difusal
Description: Simple theme for Espanglish Marketing
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: left-sidebar, translation-ready
Text Domain: jhb
*/
.flex{
    display: flex;
}
.justify-space-between{
    justify-content: space-between;
}
.sublist {
    /* Initially hide the sublist using max-height */
    max-height: 0;
    overflow: hidden;
    list-style-type: none;
    padding-left: 20px;
    transition: max-height 0.3s ease-out; /* Smooth transition for the height */
    background-color: white !important;
}
.parent-item.active .sublist {
    max-height: max-content; /* Adjust based on your content's needs */
    /* You may need to adjust padding or margins here as well to animate */
}
.parent-item.active a{
    background-color: #ffffff !important;
    color: #000000 !important;
}
header.sublist {
    display: none;
    list-style-type: none;
    padding-left: 20px;
    transition: max-height 0.3s ease-out;
}


.nav .dropdown-menu .undersublist {
display:none;
    position: absolute;
    left: 100%; /* Adjust as needed for proper positioning */
    top: 0;
    background-color:#f5b705 !important
}

/* Style to show the nested submenu on hover */
.parent-submenu:hover + .undersublist {
    display: block;
}
.undersublist a{
    background: #f5b705 !important;
}
/* Position the direct child dropdown menu */
.nav .dropdown:hover > .dropdown-menu {
    display: block;
}

/* Position and show nested sublists on hover */


/* Optional: Style adjustments for nested sublists */
.nav .dropdown-menu .undersublist {
    min-width: 200px; /* Adjust based on content */
}
.dropdown-menu {
    display: none; /* Ensures dropdown menus are not visible by default */
    position: absolute;
    /* Additional styling as needed */
}
.owl-carousel .owl-item img {
	max-height: 271px !important; 
	object-fit: cover !important;
}
img.headshoot {
    width: 900px !important;
}

#custom-language-selector {
    width: 200px;
    position: relative;
    font-family: Arial, sans-serif;
}

.current-language, .language-option {
    cursor: pointer;
}

.language-options {
    position: absolute;
    padding:0px 10px;
    width: 100%;
    left: 0;
    top: 100%;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    z-index: 10;
}

.language-option:hover {
    background-color: #f0f0f0;
}

.slider .banner {
    background: url("https://jhpremodeling.com/wp-content/uploads/2024/02/Recurso-1.png") center no-repeat #f5b705 !important;
}

.blog-sidebar .gallery-thumbs a img {
    object-fit: cover !important;
    width: 98px !important;
    height: 100px !important;
    float: left;
}

.background-1{ background-image:url("https://jhpremodeling.com/wp-content/uploads/2024/02/JHP-Remodeling-Painting-Company-in-the-Carolinas.jpg")  !important; background-size:cover;
    background-repeat: no-repeat;
}

ul.undersublist.dropdown-menu1:hover {
    display: block !important;
}