/*
 Theme Name: Hello Elementor Child
 Theme URI: https://example.com/
 Description: Child theme for Hello Elementor
 Author: You
 Template: hello-elementor
 Version: 1.0.0
*/


/**************************************/
/* Rank Math Breadcrumb Style         */
.rank-math-breadcrumb a.ebbq-rm-breadcrumb-link,
.rank-math-breadcrumb a.ebbq-rm-breadcrumb-link:visited {
    color: #d1004b !important;
    text-decoration: none !important;
    font-weight: 600;
    padding: 0px 2px;
    display: inline-block;
}
.rank-math-breadcrumb a.ebbq-rm-breadcrumb-link:hover,
.rank-math-breadcrumb a.ebbq-rm-breadcrumb-link:focus {
    color: #d1004b !important;
    background: #F0F0F0;
    text-decoration: none !important;
    border-color: #d1d1d1;
}


/**************************************/
/* CSS to Hide More Artciels on Blogs */
.single.ebbq-hide-more-articles .ebbq-blog-posts-more-articles {
  display: none !important;
}

/**********************************/
/* Force Roboto Light on headings */
.ebbq-roboto-300,
.ebbq-roboto-300 * {
  font-family: "Roboto", sans-serif !important;
  font-weight: 300 !important;
  font-style: normal !important;
}


/*********************************************************/
/* GeoDirectory fullscreen map must sit above hardened header */
/*********************************************************/
body.body_fullscreen > .stick_trigger_container.bsui {
  z-index: 1000000 !important;
}

/* Optional safety net if GD changes the selector */
body.body_fullscreen .stick_trigger_container,
body.body_fullscreen .geodir_map_container {
  z-index: 1000000 !important;
}

    
/******************************************
 * Recipies: Highlight All Links
 */
.entry-content a,
.elementor-widget-text-editor a,
.wprm-recipe-notes-container a {
  color: #0000EE;
  text-decoration: underline;
}


/***********************************************
 * GeoDirectory Map Bubble — minimal, stable tweaks
 ***********************************************/

 /* Remove inner border and tighten padding [c] */ 
.ebbq-bubble{
   background:#fff;
   border:0; /* was 2px solid … [a] */
   border-radius:0px;
   padding:6px 6px 6px; /* tweak here later [c] */
 }

 /* Title centered */ 
.ebbq-header{
	text-align:center;
	margin-bottom:8px; 
	margin-top: 0px; 
	padding-top: 0px; /* shrink top padding */
} 
.ebbq-header h4,.ebbq-header h4 a{
   margin:0; font-size:18px; font-weight:600; color:#3600FF; text-decoration:none; 
}



/* Desktop + tablet (explicit) */
/* Two-column layout. Adjust first value to change image column width [b][d] */ 
/* Allow the popup to be a bit wider to avoid wrapping [d] */ 
@media (min-width: 601px){
  .ebbq-row{
    display:grid;
    grid-template-columns: 180px 1fr;
    gap:12px; align-items:start; 
  }

  .gm-style .gm-style-iw,
  .gm-style .gm-style-iw-d{
    max-width: 400px !important;
    min-width: 360px !important;
    overflow:visible !important;        /* avoid scrollbars */
  }
}

/* Mobile overrides */
/* Two-column layout. Adjust first value to change image column width [b][d] */ 
/* Allow the popup to be a bit wider to avoid wrapping [d] */ 
@media (max-width: 600px){
  .ebbq-row{
    display:grid;
    grid-template-columns: 78px 1fr;
    gap:12px; align-items:start; 
  }

  .gm-style .gm-style-iw,
  .gm-style .gm-style-iw-d{
    max-width: 320px !important;
    min-width: 270px !important;
    overflow:visible !important;        /* avoid scrollbars */
  }
}



/* Image sizing. Change max-height for image height [b] */ 
.ebbq-left img, .ebbq-left li img{
   width:100%; height:auto; display:block;
   max-height:140px; /* was 160px. adjust here [b] */
   object-fit:cover; border-radius:2px; 
} 

/* Stars left, heart right on one line */ 
.ebbq-meta{
   display:flex;
   justify-content:space-between;
   align-items:center; margin-top:6px; 
}
.ebbq-meta .geodir-post-fav{ padding-top:0; } 
.ebbq-meta .geodir-post-fav a{ display:inline-flex; width:auto; height:auto; } 

/* Divider and text blocks */ 
.ebbq-divider{ border-top:1px solid #999; margin:8px 0; } 
.ebbq-address div{ margin:0 0 2px; } 

/* Phone styling, no label now [e] */ 
.ebbq-phone .val{ color:#0b86c9; font-weight:500; text-decoration:none; } 
.ebbq-phone .val:hover{ text-decoration:underline; } 

/* Hide our custom close if any theme cache still outputs it [f] */ 
.ebbq-close{ display:none !important; background-image:none !important; } 

/* Tighten Google InfoWindow top bar height without breaking close behavior */
.gm-style .gm-style-iw-chr {
  height: 18px !important;        /* controls the total bar height (was 48px) */
  min-height: 18px !important;
}

/* Center the close icon vertically within the shorter bar */
.gm-style .gm-style-iw-chr .gm-ui-hover-effect {
  width: 18px !important;         /* smaller click area */
  height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Shrink the SVG inside the close button */
.gm-style .gm-style-iw-chr .gm-ui-hover-effect span {
  width: 14px !important;
  height: 14px !important;
  margin: 7px !important;         /* centers the icon inside the 28px box */
}

/***********************************************
 * END Custom Style for Map Bubble
 ***********************************************/


/***********************************************
 * BEGIN Style for UsersWP screens
 ***********************************************/

/* OUTER CARD SHELL (whole left sidebar box) */
.uwp-account-sidebar .uwp-account-shell {
    border: 0;
    border-radius: 12px;
    background-color: #FFDB98;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Make sure any inner .card (like the avatar wrapper) is NOT styled as a card */
.uwp-account-sidebar .card:not(.uwp-account-shell) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* TOP SECTION: avatar + name + email */
.uwp-account-sidebar .card-body {
    width: 100%;
    background-color: #FFDB98;
    color: #020101;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
    text-align: center;
}

/* Avatar image only (no box around it) */
.uwp-account-sidebar .uwp-avatar img {
    border-radius: 50% !important;
    box-shadow: none !important;
}

/* Name + email text */
.uwp-account-sidebar .card-body h5 {
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    color: #020101;
}

.uwp-account-sidebar .card-body small {
    color: #020101;
}

/* Any links in the header */
.uwp-account-sidebar .card-body a {
    color: #020101;
}

/* BOTTOM SECTION: menu (connected to top, same background) */
.uwp-account-sidebar .uwp-account-nav {
    margin-top: 0;
    background-color: #FFDB98;
    color: #020101;
    border-radius: 0;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
}

/* Menu links */
.uwp-account-nav .nav a {
    display: flex;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.95rem;
    color: #020101;
}

.uwp-account-nav .nav a i {
    margin-right: 0.5rem;
}

.uwp-account-nav .nav a:hover,
.uwp-account-nav .nav a.active {
    text-decoration: none;
    font-weight: 600;
}

/* Make buttons auto-width + centered in the right column */
input[name="uwp_account_submit"].btn-block,
input[name="uwp_change_submit"].btn-block,
button[name="uwp_login_submit"].btn-block,
button[name="uwp_register_submit"].btn-block {
    width: auto !important;              /* only as wide as the text */
    padding: 0.5rem 10px !important;     /* ~10px left/right of text */
    display: block !important;           /* needed for margin auto centering */
    margin: 1rem auto 0 auto !important; /* center in the column */
}

/***********************************************
 * END Style for UsersWP screens
 ***********************************************/


