/**
 * Theme Name:     Hello Elementor Child
 * Author:         The Story Webs
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */

body {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

h1, h2, h3, h4, h5, h6 {
	font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
	font-weight: 300 !important;
}
.elementor-widget-heading .elementor-heading-title, .elementor-widget-nav-menu .elementor-nav-menu--dropdown .elementor-item, .elementor-widget-nav-menu .elementor-nav-menu--dropdown .elementor-sub-item {
	font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}

.region-communities h3 {
	font-size: 24px;
	font-weight: 400 !important;
	color: #19415d;
	border-bottom: 1px solid #19415d;
	padding-bottom: 8px;
	margin-bottom: 10px;
}
.communities-list {
	padding: 0;
	list-style: none;
}
.communities-list li {
	font-size: 18px;
	font-weight: 300;
}
.communities-list li a {
	color: #000;
}
.communities-list li a:hover {
	color: #00A289;
}

.map-lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999; /* Sits on top of other elements */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Black background with transparency */
}
.lightbox-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    background-color: #fff;
    border-radius: 10px;
}
.lightbox-close {
    position: absolute;
    top: 0;
    right: 15px;
    color: #474747;
    font-size: 30px;
    font-weight: 600;
    cursor: pointer;
}
.lightbox-close:hover, .lightbox-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.map-lightbox .canvas-wrap {
	border: 1px solid #e6e6e6;
	padding-bottom: 10px;
	margin: 10px 0 0;
}

.map-lightbox h3 {
	color: #19415d;
	text-transform: uppercase;
	font-weight: 600 !important;
	margin-bottom: 0;
}
.map-lightbox #energyReportChart {
    width: 100%; /* Adjust to the width of the container */
    max-width: 440px; /* Max width for the chart */
    height: 260px !important; /* Fixed height */
}
.lb-buttons-wrap {
	margin: 20px 0 15px;
}
.energy-report-link, .energy-profile-link {
	background: #19415d;
	color: #fff !important;
	padding: 10px 30px 12px 25px;
	display: inline-block;
	border-radius: 7px;
	font-size: 14px;
	position: relative;
}
.energy-profile-link {
	background: #00A289;
	margin-left: 5px;
}
.lightbox-description {
	color: #6c6c6c;
	font-size: 15px;
	margin-bottom: 5px;
}
/* Container for the tooltip */
.tooltip-container {
	/*position: relative;*/
	display: inline-block;
	cursor: pointer;
}

/* Tooltip text */
.tooltip-text {
	visibility: hidden;
	width: 220px;
	background-color: #333;
	color: #fff;
	text-align: center;
	padding: 8px;
	border-radius: 5px;
	position: absolute;
	bottom: 110%; /* Position above the icon */
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	transition: opacity 0.3s ease;
	font-size: 11px;
	line-height: 1.2;
	z-index: 1;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Tooltip arrow */
.tooltip-text::after {
	/*content: "";*/
	position: absolute;
	top: 100%; /* Arrow below the tooltip */
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #333 transparent transparent transparent;
}

/* Show tooltip on hover */
.tooltip-container:hover .tooltip-text {
	visibility: visible;
	opacity: 1;
}

.report-graphs-wrap {
	display: flex;
	justify-content: space-between;
	padding: 25px 0;
}
.graph-container {
	width: 100%;
	max-width: 640px;
	background: #fff;
	padding: 15px 15px 25px 10px;
	box-shadow: 0 0 5px 2px rgba(142, 142, 142, 0.1);
}
.report-graphs-description {
	max-width: 60%;
	margin: 20px auto;
	font-family: Helvetica;
}
.er-info-list {
	padding: 0;
	margin: 0 0 20px 15px;
}
.report-graphs-title {
	text-align: center;
}
.report-graphs-title h1 {
	color: #00A289;
	font-size: 42px;
	font-weight: 300;
}
.graph-container canvas {
    width: 100%; /* Adjust to the width of the container */
    max-width: 560px; /* Max width for the chart */
    height: 400px !important; /* Fixed height */
}
.map-pin-wrap {
	cursor: pointer;
	/*pointer-events: all;*/
	fill: #fff;
	stroke: transparent;
	stroke-width: 4px;
}
.map-pin-wrap:hover path, .map-pin-wrap:hover circle:last-child {
	fill: #fcba32;
}
.map-pin-wrap:hover circle:first-child {
	stroke: #fcba32;
}
/*.map-pin-wrap path {
	pointer-events: all;
}*/
.lb-buttons-wrap svg {
	width: 3px;
	fill: #fff;
	position: absolute;
	right: 7px;
	top: 5px;
}
.energy-profile-link .epl-pdf svg {
	width: 14px;
	position: static;
	margin: 0 0 -4px 4px;
}
.lightbox-description a {
	color: #00a289;
	font-weight: 400;
}
.lightbox-description svg {
	width: 8px;
	position: relative;
	top: 2px;
}
.lightbox-description svg path {
	fill: #00a289;
}
.graph-title {
	padding: 15px 25px;
}
.graph-title h4 {
	color: #9291A5;
	font-weight: 300;
	/*font-family: Helvetica;*/
	font-size: 22px;
	margin-bottom: -7px;
	margin-top: 0;
}
.graph-title h3 {
	font-size: 27px;
	font-weight: 300;
	/*border-bottom: 1px solid #E5E5EF;
  	padding-bottom: 20px;*/
}
#North-Slave-Remote, #Dehcho-Remote, #South-Slave-Remote, .map-pin-wrap[data-post-id="455"], .map-pin-wrap[data-post-id="452"], .map-pin-wrap[data-post-id="425"] {
	fill: transparent;
	/*cursor: default;*/
}


@media (max-width: 767px) {
	.report-graphs-wrap {
		display: block;
	}
	.report-graphs-wrap .graph-container:first-child {
		margin-bottom: 50px;
	}
	.report-graphs-description {
		max-width: 100%;
	}
}

@media (max-width: 479px) {
	.map-lightbox #energyReportChart {
		height: 200px !important; /* Fixed height */
	}
	.graph-container canvas {
		height: 250px !important; /* Fixed height */
	}
	.energy-report-link, .energy-profile-link {
		padding: 8px 15px 10px;
	}
	.lightbox-content {
		width: 90%;
	}
}
