.mapplic-item-body h4, 
.mapplic-item-body h5 {
    text-align: left; /* Align text to the left */
    margin: 0; /* Optional: Adjust margins if needed */
    padding: 0; /* Optional: Adjust padding if needed */
}
.rep-image{
width: 194px !important;
  height: auto !important;
}
.rep-name{
    color:#332a86!important;
    text-align:left!important;
    font-size:24px!important;
    font-weight: 700!important;
    line-height: normal;

}
.no-spacer-xs{
    margin-left:20px !important;
}
.rep-info{
    text-align: left;
    line-height: normal;
    padding-bottom: 10px
}
@media screen and (max-width: 768px) {
  .rep-image {
   float:none!important;
  }
  .no-spacer-xs{
    margin-left:0px !important;
}
.rep-name{
    text-align:center!important;
}
.rep-info{
    text-align: center;
    line-height: normal;
    padding-bottom: 10px
}}

/*Map Update 2025*/
.hidden{
	display:none! important;
}
.no-bullets {
  list-style-type: none; /* Removes the bullets */
  padding-left: 0; /* Removes the indentation */
}

.no-bullets li {
  list-style-type: none; /* Ensures individual list items have no bullets */
  margin: 0; /* Optional: removes any extra margin if needed */
  padding: 0; /* Optional: removes any padding if needed */
  text-align: left;
  cursor: pointer;
}
.mapplic-layer-switcher{
    display: none !important;
}
.agent-info-container {
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.agent-card {
    background: white;
    padding: 10px;
    margin-bottom: 10px;
    border-left: 4px solid #0073aa;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.agent-card h4 {
    margin: 5px 0;
    color: #333;
}

.agent-card p {
    margin: 3px 0;
    font-size: 14px;
}

.agent-card a {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #007BFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.loc-con{
    color:#332C86;
    font-weight:bold;
}
#location-menu li{
    color:#332C86;
}
#pickup-location-menu li{
    color:#332C86;
}
.menu-item {
    display: flex;
    align-items: center;
}

.flag-container {
    width: 40px; /* Adjust as per design */
    text-align: center; /* Center the flag */
}

.flag-icon {
    width: 24px; /* Adjust flag size */
    height: auto;
}

.text-container {
    margin-left: 10px; /* Add spacing between flag and text */
    font-size: 16px;
}
#location-menu li[data-location="CA-Western"] {
    margin-bottom: 20px;
}

#pickup-location-menu li[data-location="CA-Western-Pickup"] {
    margin-bottom: 20px; 
}
/* Add alignment for the headings */
#location-menu-heading,
#pickup-location-menu-heading {
    display: block; /* Ensure it's block for alignment */
    text-align:left;
    color:#332C86;
    font-size:14px;
    padding-left: 80px;
}
/* Active state for the selected menu item text only */
#location-menu li.active .text-container, 
#pickup-location-menu li.active .text-container {
    font-weight: bold;
    color: #332C86;
    text-decoration: none;
    border-bottom: 3px solid #332C86; /* Underline for active item text */
}

/* Hover effect for the menu item text */
#location-menu li:hover .text-container, 
#pickup-location-menu li:hover .text-container {
    color: #1e167c; /* Hover color for text */
    border-bottom: 3px solid #d9d9f3; /* Subtle underline on hover for text */
}

/* Prevent hover styling from affecting the active class */
#location-menu li.active:hover .text-container, 
#pickup-location-menu li.active:hover .text-container {
    background-color: transparent; /* Keep background as active */
}
/* Container for agent details */
.custom-agent-block {
    display: flex;
    margin-bottom: 20px;
    padding: 20px;
}

/* Image column */
.custom-agent-image-column {
    flex: 0 0 200px;
    margin-right: 20px;
}

/* Image styles */
.custom-rep-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Info column */
.custom-agent-info-column {
    flex: 1;
    text-align: left;
}

.custom-agent-info-column h2 {
   font-size: 1.5em;
    color: #332C86;
    margin-bottom: 12px;
}
/* Agent name */
.custom-rep-name{
    font-size: x-large;
    font-weight: bold;
    color: #332C86;
}
/* Agent info */
.custom-rep-info {
    font-size: 16px;
    margin: 5px 0;
    color: #332C86;
    padding: 0;
}

/* Links styling */
.custom-rep-info a {
    color: #1e167c;
    text-decoration: none;
}

.custom-rep-info a:hover {
    text-decoration: underline;
}
.custom-underline {
    display: inline-block; /* Ensure the span behaves like an inline element */
    border-bottom: 3px solid #1e167c; /* Add the underline */
    padding-bottom: 1px; /* Add some spacing between text and underline */
    line-height:normal;
}
.custom-icon{
     color: black; /* Set icon color to black */
    margin-right: 8px; /* Add space between the icon and the link */
    vertical-align: middle; /* Align icon with the text */
}
.pickup-details-container {
    padding: 15px;
}
.pickup-card{
    text-align:left;
}
.pickup-card h2{
    font-size: 18px;
    font-weight: bold;
    color: #332C86;
        line-height: 30px;

    
}.pickup-card p{
    font-size: 16px;
    color: #332C86;
    padding-bottom:0;
    line-height: 25px;

}
.navigation-summary {
    position: relative; /* Ensures it positions within its container */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content at the top */
    align-items: flex-start; /* Align text to the left */
    padding: 15px;
    padding: 15px;
}

.navigation-summary h2 {
    font-size: 1.5rem;
    color: #332C86;
    text-align: left;
    font-weight:bold;
    line-height: 30px;
}

.navigation-summary p {
    font-size: 1.2rem;
    color: #332C86;
    text-align: left;
}
/* Container styles */
.map-title-container {
    display: flex;
    align-items: center; /* Centers items vertically */
    justify-content: center; /* Centers items horizontally */
    padding: 20px 20px 30px;
    text-align: center; /* Ensure text alignment works with justify-content */
}

/* Flag styles */
.us-ca-flag-container {
    margin-right: 20px;
}

.us-ca-flags {
    max-width: 120px;
    height: auto;
    display: block;
}

/* Title styles */
.map-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-title h2 {
    margin: 0;
    font-size: xx-large;
    color: #332C86;
    font-weight: 400;
    text-transform: uppercase;
    text-align: left;
    line-height: 1.2; /* Adjust to center vertically */
}

.map-title p {
    font-size: xx-large;
    color: #332C86;
    font-weight: bold;
    text-transform: uppercase;
    text-align: left;
    margin: 0; /* Ensure no unnecessary margin */
    line-height: 1.2; /* Matches h2 for alignment */
}
/* Desktop: show desktop-only, hide mobile-only */
@media (min-width: 769px) {
  .desktop-only { display: block; }
  .mobile-only { display: none; }
}
.map-row {
    display: flex;
    margin-bottom: 20px; /* optional spacing */
}
.map-col-left {
    flex: 1;
}
.map-col-right {
    flex: 3;
}
.map-menu-container {
        border-right: 1px solid #332c86; /* Adjust color if needed */
	margin-right:10px;
	margin-left:10px;

	
    }

/* Mobile: show mobile-only, hide desktop-only */
@media (max-width: 768px) {
  .desktop-only { display: none; }
  .mobile-only { display: block; }
  
  /* Optional: Style the mobile dropdowns */
  #location-menu-dropdown,
  #pickup-location-menu-dropdown {
    width: 100%;
    padding: 5px;
    font-size: 1em;
    margin-bottom: 10px;
  }
 #location-menu-heading-mobile,
#pickup-location-menu-heading-mobile{
     display: block; /* Ensure it's block for alignment */
    text-align:left;
    color:#332C86;
    font-size:14px;
    padding-left: 0;
}
.mobile-only p{
    padding-bottom: 10px;
}
.map-menu-container{
     border-right: none;
}
	.map-title-container {
        flex-direction: column;
        gap: 8px;
    }
    .map-title p {
    font-size: 21px;
}
.map-title h2{
        text-align: !important;
        color: #332C86 !important;
        font-size: 32px !important;
}
.us-ca-flags{
     max-width: 150px !important;
}
.us-ca-flag-container {
    margin-right: 0;
}
.navigation-summary{
    padding-top: 0px;
    padding-left: 0px;
}
.navigation-summary h2{
    color: #332C86;
        font-size: 28px;
        line-height: 26px;
    
}
  .custom-agent-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .custom-agent-info-column {
        margin-top: 16px;
    }

    .custom-agent-info-column h2 {
        margin: 8px 0;
    }

    .custom-agent-info-column .custom-rep-name {
        font-weight: bold;
        margin: 4px 0;
    }

    .custom-agent-info-column .custom-rep-info {
        margin: 2px 0;
    }
   .custom-agent-image-column {
    border-radius: 8px;
    max-width: 150px;
    max-height: 150px;
    height: auto;
    margin-right: 0px;
   }
   .custom-agent-block {
    align-items: start;
   }
   .custom-rep-image{
       padding-left:2px;
}
.custom-agent-info-column {
        margin-top: 0;
}
.custom-underline{
        font-size: 16px;
        line-height: 21px;
        color: #1e167c;
        font-weight: 500;
        padding-bottom: 8px;
    }
.custom-rep-name{
    padding-bottom: 20px;
}
.custom-rep-info a {
    font-size: 14px;
}
.pickup-card h2{
    color: #332C86 !important;
        font-size: 20px !important;
        line-height: 20px !important;
}
   .pickup-card p{
   line-height: 20px;
   }
.pickup-card p:first-of-type{
font-weight:600;
margin-bottom:10px;
}
.pickup-card p:last-child{
    padding-bottom: 20px !important;
}

.pickup-card:not(:last-of-type) {
    border-bottom: 2px solid #332C86; /* Border style */
    padding-bottom: 10px; /* Optional padding */
    margin-bottom: 20px; /* Optional spacing between cards */
}
#mapplic-map-container{
    display:none;
}
	.map-row {
    /* Change flex layout to stack columns vertically */
    flex-direction: column;
  }
  
  .map-col {
    /* Make each column full width */
    width: 100%;
  }
	.navigation-summary h2 {
    font-size: 1.5rem !important;
    color: #332C86 !important;
    text-align: left !important;
    font-weight:bold !important;
    line-height: 30px !important;
}

}