/*
Theme Name:   Hello Elementor child
Theme URI:    http://example.com/hello-elementor/
Description:  Hello Elementor Child Theme
Author:       Ewall Solutions
Author URI:   http://example.com
Template:     hello-elementor
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  hello-elementor
*/

:root {
	--primary-color: #E30A0B;
	--secondary-color: #473F3C;
	--white: #fff;
	--black: #000;
	--font-family: "IBM Plex Sans", Sans-serif;

	--radius: 4px;
}

body {
    background: linear-gradient(180deg, #F4F4F2 0%, #E4E3DD 100%); 
}

body > #page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body > #page > footer#colophon {
    margin-top: auto;
}

.elementor-widget-text-editor .elementor-widget-container > p:last-child {
	margin-bottom: 0;
}

.flex-col-parent .elementor-container {
	display: flex;
    flex-direction: column;
}

.flex-col-parent .flex-col-child {
    width: 100%;
}

.elementor-widget-text-editor .elementor-widget-container ul, 
.elementor-widget-text-editor .elementor-widget-container ol {
    padding-left: 25px;
}


.elementor-widget-button .elementor-button-icon {
    display: inline-flex;
}

.logo-container > .elementor-widget-wrap > .elementor-widget-theme-site-logo.elementor-widget-image {
    max-width: 1240px;
    margin: 0 auto;
}

.header-section .logo-container img {
    width: 100%;
}

.site-container .elementor-widget-wrap {
	width: 100%;
	max-width: 1140px;
	padding: 0 20px;
	margin: 0 auto !important;
}

.nav-container {
	background-color: var(--e-global-color-accent);
}

.header-section .hfe-nav-menu .hfe-nav-menu-icon {
    padding: 0;
}

.footer-section .footer-textarea ul {
    margin: auto;
    padding: 0;
    list-style: none;
}

.footer-section .footer-textarea ul li {
    padding: 0 0 10px;
}

.footer-section .footer-textarea ul li a {
    color: #fff;
}

.footer-col-wrapper .elementor-container {
	row-gap: 45px;
}

.footer-col-wrapper .footer-col {
		width: 100%;
}

.nav-container .hfe-nav-menu > .menu-item > .hfe-menu-item {
    padding-left: 0 !important;
    padding-right: 30px !important;
}

.homepage-hero .home-hero-section .elementor-container,
.wake-service-wrapper > .elementor-container,
.elderly-cause-wrapper > .elementor-container {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 50px;
}

.wake-service-wrapper > .elementor-container {
    gap: 30px;
}

.elderly-cause-wrapper > .elementor-container {
    row-gap: 75px;
}

.homepage-hero .home-hero-section .elementor-container .hero-left-section {
    max-width: 590px;
}

.homepage-hero .home-hero-section .elementor-container .hero-right-section {
    max-width: 410px;
}

.homepage-hero .home-hero-section .elementor-container .hero-section-col,
.wake-service-wrapper > .elementor-container .wake-service-col,
.elderly-cause-wrapper > .elementor-container > .elderly-cause-col {
    width: 100%;
    flex: 1 1 auto;
}

.homepage-hero .home-hero-section .elementor-container .hero-left-section .elementor-widget-wrap {
    max-width: 535px;
}

.wake-service-wrapper > .elementor-container .wake-service-left {
    max-width: 585px;
}

.wake-service-wrapper > .elementor-container .wake-service-right {
    max-width: 425px;
}

.elderly-cause-wrapper > .elementor-container > .elderly-cause-col {
    max-width: 445px;
}

.municipality-wrapper > .elementor-container {
    justify-content: space-evenly;
    flex-wrap: nowrap;
    column-gap: 50px;
	row-gap: 25px;
}

.municipality-wrapper > .elementor-container > .municipality-col {
	flex: 1 1 100%;
	width: 100%;
	max-width: 415px;
}

.municipality-wrapper .municipality-col .elementor-widget-text-editor .elementor-widget-container a[href^="tel:"] {
	color: var(--primary-color);
/* 	text-decoration: none; */
}

.elderly-cause-wrapper > .elementor-container .elementor-widget-text-editor p {
    margin-bottom: 0;
}

.find-map-btn .elementor-button-icon {
    transform: rotate(180deg);
}



/* Map container styles */

#map {
    width: 800px;
    height: 640px;
    background-color: var(--white);
    border-radius: var(--radius);
    margin: 0 auto;
}

.post-532 .page-header {
	display: none;
}

.info {
	min-width: 180px;
	max-width: 180px;
    width: 100%;
    word-wrap: break-word;
    padding: 6px 8px;
    background-color: var(--white);
    border-radius: var(--radius);
}

.info h4 {
	font-size: 14px;
    margin: 0 0 5px;
    color:var(--black);
}
.info span {
	color: var(--primary-color);
	font-size: 12px;
	font-weight: 700;
}

.block__heading .heading {
	font-size: 18px;
	line-height: 26px;
	margin: 0 auto;
    max-width: 800px;
}

.page-content .action__back a {
	color: var(--primary-color);
	font-size: 16px;
	line-height: 24px;
	text-decoration: none;
	display: inline-block;
}

.page-content .action__back a:before {
	content: '';
	width: 18px;
	height: 18px;
	display: inline-block;
	background-image: url('./assets/images/back-arrow.png');
	background-repeat: no-repeat;
	background-size: contain;
	margin-right: 10px;
    position: relative;
    top: 4px;
}

.page-content .btn__cta {
	margin-top: 40px;
}

.page-content .section__map .btn__cta a {
	text-decoration: none;
}

.section__map .leaflet-interactive[d="M712 504L714 497L717 494L717 490L719 488L725 496L727 496L736 503L739 502L744 509L746 509L750 513L755 514L755 520L757 524L752 531L753 536L749 540L741 539L727 531L718 529L711 522L713 516L712 505z"],
.section__map .leaflet-interactive[d="M323 311L326 304L332 310L336 310L337 313L342 315L344 317L342 327L337 328L324 321L322 319L323 312z"],
.section__map .leaflet-interactive[d="M780 504L782 497L785 494L785 490L787 488L793 496L795 496L804 503L807 502L812 509L814 509L818 513L823 514L823 520L825 524L820 531L821 536L817 540L809 539L795 531L786 529L779 522L781 516L780 505z"] {
    display: none;
}

.section__map .custom-map-part {
	cursor: pointer;
    display: block;
    width: max-content;
    position: absolute;
	right: 28%;
    top: 18%;
    z-index: 10;
}

	
.section__map .leaflet-control-zoom.leaflet-bar.leaflet-control {
	border: 1px solid var(--primary-color);
	background-color: var(--white);
	border-radius: 10px;
	margin-right: 30px;
    margin-bottom: 30px;
    overflow: hidden;
}

.section__map .leaflet-bar a {
	border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.section__map .leaflet-bar a.leaflet-disabled {
	background-color: var(--white);
}


@media (min-width: 768px) {
	.nav-container {
		display: none;
	}
	
	.page.page-id-192 .nav-container, 
	.page.page-id-249 .nav-container {
		display: flex;
	}

	.search-municipality {
		max-width: 470px;
	} 
}

@media (min-width: 1025px) {
	.footer-col-wrapper .footer-col {
		max-width: calc((100% - 175px) / 2);
	}

	.footer-col-wrapper .footer-col.footer-col-3 {
		max-width: 175px;
	}
}

@media (max-width: 1024px) {
	.footer-col-wrapper .elementor-container {
		column-gap: 50px;
	}

	.footer-col-wrapper .footer-col {
		max-width: calc(50% - 25px);
	}

	.footer-col-wrapper .footer-col.footer-col-3 {
		max-width: 100%;
	}

	.section__map .leaflet-top.leaflet-right {
		background-color: var(--white);
		pointer-events: all;
	}

	.section__map .custom-map-part {
		position: relative;
		right: 0;
		top: 0;
		padding: 10px;
		float: right;
		clear: right;
		z-index: 1000;
		width: 100%;
		text-align: right;
	}
	
	.info.leaflet-control {
		text-align: right;
		font-size: 10px;
	}

	.info h4 {
		font-size: 12px;
	}

	.info span {
		font-size: 10px;
	}
}

@media (max-width: 767px) {
	.nav-container .hfe-nav-menu > .menu-item > .hfe-menu-item {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	
	.header-section .flex-col-parent .elementor-container {
		flex-direction: row;
		flex-wrap: nowrap;
	}
	
	.nav-container {
		background-color: transparent;	
	}
	
	.header-section .hfe-nav-menu__layout-horizontal {
		top: 50px !important;
	}
	
	.header-section .logo-container {
		max-width: 65%;
		width: 65%;
	}
	
	.header-section .nav-container {
		max-width: 35%;
		width: 35%;
		background-color: #ffffff;
	}
	
	.header-section .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
		padding: 50px 0;
	}
	
	.header-section .hfe-nav-menu__layout-horizontal .hfe-nav-menu > .menu-item {
		padding: 10px 20px;
	}
	
	.header-section .hfe-nav-menu__layout-horizontal .hfe-nav-menu > .menu-item > .hfe-menu-item {
		justify-content: center;
		padding: 5px 0 !important;
	}
	
    
	.homepage-hero .home-hero-section .elementor-container,
    .wake-service-wrapper > .elementor-container,
    .elderly-cause-wrapper > .elementor-container,
	.municipality-wrapper > .elementor-container {
		flex-wrap: wrap;
	}
	
	.homepage-hero .home-hero-section .elementor-container .hero-left-section .elementor-widget-wrap,
	.homepage-hero .home-hero-section .elementor-container .hero-section-col,
    .wake-service-wrapper > .elementor-container .wake-service-col,
    .elderly-cause-wrapper > .elementor-container > .elderly-cause-col,
	.municipality-wrapper > .elementor-container > .municipality-col {
		max-width: 100%;
	}

    .elderly-cause-wrapper > .elementor-container > .elderly-cause-col:first-child {
        order: 2;
    }

    .elderly-cause-wrapper > .elementor-container > .elderly-cause-col:last-child {
        order: 1;
    }

	.footer-col-wrapper .footer-col {
		max-width: 100%;
	}

    .container {
        flex-direction: column;
    }

    .sidebar {
        max-width: none;
        width: 100%;
    }

    #map {
        width: 100%;
        height: 450px;
    }
	
}