/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* Styling for the business box */
/* For WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;             /* Vertical scrollbar width */
    height: 12px;            /* Horizontal scrollbar height */
}

::-webkit-scrollbar-track {
    background: #f1f1f1;     /* Background of the scrollbar track */
}

::-webkit-scrollbar-thumb {
    background-color: #888;  /* Color of the scrollbar handle */
    border-radius: 10px;     /* Rounded corners of the handle */
    border: 3px solid #f1f1f1; /* Adds space around the handle */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555;  /* Darker color on hover */
}

/* For Firefox */
html {
    scrollbar-width: thin;           /* Makes the scrollbar thinner */
    scrollbar-color: #888 #f1f1f1;   /* Sets thumb color and track color */
}
.list-toggle{display: none;}
img{vertical-align: middle;}
*{box-sizing: border-box;}
.scrollable-category-list{
    overflow: auto;
    padding: 10px;
}
.single-search-bar{
    background: #000;
    padding: 25px 15px;
}
.single-search-bar .main-container{
    justify-content: center;
    gap: 20px;
    align-items: center;
}
.main-container .elementor-shortcode{
    width: 350px;
}

.main-container label{
    font-weight: 700;
    font-size: 18px
}
.business-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    gap: 20px;
}
.opening-hour {
    display: flex;
    align-items: center;
}
.business-hours summary{
    cursor: pointer;
}
.opening-hour >strong{
    width: 40%;
}
.opening-hour.today{
    font-weight: 700;
}
/* Left section: Business name, address, hours */
.business-left {
    max-width: 70%; /* Adjust width as needed */
}
.business-left h2 a{color: #222; text-decoration: none;font-size: inherit;}

.business-left h2 a:hover{text-decoration: underline;}
.business-left h2 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #333;
}
body:has(.elementor-menu-toggle.elementor-active) main{
    z-index: 1;
    position: relative;
}
.business-left p {
    margin: 4px 0;
    color: #555;
    font-size: 14px;
}
.business-left a{
    font-size: 14px;
    color: rgba(0, 118, 146, 1)
}

/* Right section: Categories and tags */
.business-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 160px;
    width: 100%;
}

.categories-box {
    font-weight: 400;
    color: #000;
    margin-top: 15px;
}

.tags-box .business-tag {
    font-weight: 400;
    color: #000;
}

.scrollable-section {
    max-height: calc(100vh - 250px);
    overflow-y: scroll;
    padding: 10px;
    background: #eeeeee;
}
.mapboxgl-ctrl-logo{max-width: 23px;}
#map{
        width: 100%;
    height: calc(100dvh - 76px) !important;
}
.autocomplete { max-height: 500px; overflow: auto;position: absolute; z-index: 1; background: #000; border: 1px solid #ccc; }
        .autocomplete-item { padding: 10px; cursor: pointer;color: #fff;}
        .autocomplete-item:hover { background: #fff; color: #000; }

.category-list{
    display: flex;
    padding: 0;
    list-style: none;
    gap: 10px;
    min-width: max-content;
}
.category-list a{
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
}
.category-list a:is(:hover, .active){
    background: #000;
    color: #fff;
}
.hero-section{
    display: flex;
    gap: 40px;
    align-items: center;
}
.single-search-bar{
    margin-bottom: 70px;
}
.hero-img{
    width: 50%;
}
.hero-text *{
    color: #000;
}
.hero-img>img{
    height: 500px;
    object-fit: cover;
    width: 100% 
}
.main-container{
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding-inline: 15px;
}
.business-details *{
    color: #000;
}
.hero-text h1{
    font-weight: 400;
    margin-bottom: 25px;
    margin-top: 0;
}
.hero-text p:last-child{
    margin: 20px 0 0;
}
.business-details{
    width: 66.666667%;
    padding-right: 30px;
}
.google-map{
    word-break: break-word;
    color: #000;
    width: 33.3333333%;
}
.business-details{
    display: grid;
    grid-template-columns: calc(60% - 20px) 40%;
    gap: 20px;
}
.bl_business_name{
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
}
.bl_business_address{
    margin-bottom: 20px;
    padding-left: 30px;
}
.bl_business_phone{
    margin-bottom: 10px;
    padding-left: 30px;
}

.bl_business_website{
    margin-bottom: 10px;
    padding-left: 30px;
}
.business-address p i{
        position: absolute;
    left: 0;
    top: 4px;
}
.business-address p{
    position: relative;
}
.business-hours p{
    margin: 0 0 5px;
    padding: 7px 10px;
    border-radius: 5px;
}
.google-map iframe{width: 100%;}
.business-hours p.today,
.business-hours p.today strong{
    font-weight: 700;
    background: #F4F5F2;
    border-radius: 10px;
    color: #000;
}
.social-links{
    font-size: 20px;
    gap: 15px;
    display: flex;
}
.business-address p.bl_business_name{
        font-size: 24px;
    line-height: 1.2;
}
.main-container .elementor{
    max-width: 350px;
    width: calc(100% - 165px)
}
.social-links a:hover{
    opacity: .7;
}
.business-address p {
    position: relative;
    word-wrap: break-word;
}
.business-right ul{
padding-left: 10px;
}
.business-right ul li{color: #000;}
.mapboxgl-map{
background: #2f4d6b;
}
.mapboxgl-popup-content{color: #000; padding-right: 50px !important;}
.hero-img{position: relative;}
.hero-img .bl_logo{
    width: auto;
    height: auto;
    position: absolute;
    bottom: 20px;
    left: 20px;
}
.bl_business_menu a{
    background: #000;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    vertical-align: middle;
    color: #fff;
    margin-top: 10px;
    border: 2px solid #000;
}
.bl_business_menu a:hover{
    background: #fff;
    color: #000;
}
.main-container .elementor-shortcode{width: 100%;}
@media (max-width: 960px){
    .main-container {
    flex-direction: column-reverse;
}
        .single-search-bar .main-container {
        flex-direction: row;
    padding: 0;
}
    .google-map{width: 100%;}
    .google-map iframe {
    width: 100%;
    height: 290px;
    margin-bottom: 20px;
}
    .business-details {
    width: 100%;
        padding-bottom: 40px;
}
    
.single-search-bar{
    margin-top: 50px;
    margin-bottom: 50px;
}
}
@media (max-width: 767px){
    .hero-section{
    	flex-direction: column;
    }
    .hero-section{
    	width: 100%;
    }
    .hero-img {
    width: 100%;
}
    .hero-img>img {
    height: 360px;
    }
    .hero-text{
        width: 100%;
    padding-inline: 15px;
    }
    
    .business-details {
    display: grid;
    grid-template-columns: 100%;
    gap: 20px;
    width: 100%;
        padding-bottom: 40px;
}
    .search-mapbox .elementor-widget-container{background: none;}
    
    .mapboxgl-map{height: calc(100dvh - 222px) !important;}
            .locations-block {
        position: fixed;
        top: 75px;
        background: #fff;
        z-index: 1;
        bottom: 0;
        height: auto;
        width: 100%;
        left: 0;
        padding: 0 15px;
        z-index: 99;
        display: none;
        padding-top: 100px;
    }
.scrollable-section{
    max-height: none;
    height: calc(100% - 56px);
}
        .page-content .list-toggle {
        z-index: 9999;
        position: relative;
        position: sticky;
        left: 50%;
        bottom: 30px;
        padding: 2px 8px;
        background: #000;
        border-radius: 6px;
        color: #fff;
        text-decoration: none;
        font-size: 12px;
        line-height: 21px;
        display: block;
        transform: translateX(-50%);
        text-decoration: none;
        /* z-index: 9999999999; */
        width: max-content;
        margin-top: -30px;
        margin-bottom: 30px;
    }
    .business-box{
    	flex-direction: column;
    }
    .business-left,
    .business-right{max-width: 100%;width: 100%;}
.single-search-bar{
    margin-top: 40px;
    margin-bottom: 40px;
}
    .search-mapbox{
    	top: 75px;
        position: fixed;
        z-index: 9999;
        width: 100%;
        left: 0;
    }
    .elementor-nav-menu--dropdown {
    height: calc(100dvh - 70px);
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #000;
}
.elementor-nav-menu--dropdown  ul{
width: 100%;
    padding-block: 30px !important;
}
.elementor-nav-menu--dropdown li {
    font-size: 28px; /* Adjust to your desired font size */
    line-height: 28px; /* Adjust if needed for spacing */
    font-weight: 500; /* Optional: to apply the specified weight */
    text-transform: uppercase; /* Optional: to apply uppercase transformation */
}
.elementor-nav-menu--dropdown li a{
    padding: 16px !important;
    color: #fff !important;
}
    .search-mapbox>div{background: transparent !important;}
}
.page-id-1315 .site-footer{display: none;}