/* 
Theme Name: NordicEPOD Use
Theme URI: https://github.com/elementor/hello-theme/
Description: Child Theme For NordicEPOD
Author: Luis Tojal
Author URI: https://luistojal.pt
Template: hello-elementor
Version: 1.0
Text Domain: hello-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html

*/
.column-details {
	display: flex !important;
	flex-direction: column;
}


p {
  margin-bottom: 0px !important;
}

.icon-active svg {
  fill: none !important;
}

.icon-inactive svg {
  fill: none !important;
}

/*
.avarias-list {
    list-style: none;
    padding: 0;
}

.avaria-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.avaria-item h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.avaria-item p {
    margin: 5px 0;
}

.avaria-item ul {
    padding-left: 20px;
}

.avaria-item ul li {
    margin-bottom: 5px;
}




.leaflet-marker-icon.custom-pin {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
    animation: pulse 1.5s infinite;
}

.icon-red {
    background-color: red;
}

.icon-green {
    background-color: green;
}

.icon-orange {
    background-color: orange;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}


*/

/* Avarias List Styling */
.avarias-list {
  list-style: none;
  padding: 0;
}

.avaria-item h3 {
  font-size: 1.2em;
  margin-bottom: 5px;
}

.avaria-item p {
  margin: 5px 0;
}

.location-item {
  margin-left: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

/* Map Container */
#map {
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Pulse effect for the marker */
/* Pulse effect for the marker */
.custom-pulse-wrapper {
  position: relative;
}

.custom-pulse-icon {
  position: relative;
  display: inline-block;
}

@keyframes pulse-animation {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(10);
    opacity: 0;
  }
}

.custom-pulse-icon img {
  width: 160px;
  height: 160px;
}

/* Pulse effect around the icon */
/* Pulse effect around the icon */
/* Pulse effect around the icon */
.css-icon {
  position: relative;
}

.gps_ring {
  border: 3px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  height: 30px;
  width: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulsate 1.5s ease-out infinite;
  z-index: -1;
}

@keyframes pulsate {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

/* Container for each avaria item */
.avaria-item {
  border-bottom: 1px solid #ddd;
  margin: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 0;
}

/* Header for each avaria type (Programada or Não Programada) */
.avaria-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

/* Icon for avaria */
.avaria-icon img {
  width: 15px;
  height: 15px;
  margin-right: 10px;
}

/* Avaria type text */
.avaria-type {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9em;
}

/* Colors for Programada and Não Programada */
.programada .avaria-type {
  color: #007bff; /* Blue for Programada */
}

.nao-programada .avaria-type {
  color: #dc3545; /* Red for Não Programada */
}

.avaria-details {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start !important;
  gap: 6%;
}

/* Street name */
.avaria-street {
  font-weight: bold;
  font-size: 1em;
}

/* Start date */
.avaria-date {
  color: #666;
  font-size: 0.9em;
}

/* Forecast for restabelecimento */
.avaria-forecast {
  color: #666;
  font-size: 0.9em;
}

/* Container for each avaria item */

/* Header for each avaria type (Programada or Não Programada) */
.avaria-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

/* Icon for avaria */
.avaria-icon img {
  width: 15px;
  height: 15px;
  margin-right: 10px;
}

/* Avaria type text */
.avaria-type {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9em;
}

/* Colors for Programada and Não Programada */
.programada .avaria-type {
  color: #007bff; /* Blue for Programada */
}

.nao-programada .avaria-type {
  color: #dc3545; /* Red for Não Programada */
}



/* Street name */
.avaria-street {
  font-weight: bold;
  font-size: 1em;
}

/* Start date */
.avaria-date {
  color: #666;
  font-size: 0.9em;
}

/* Forecast for restabelecimento */
.avaria-forecast {
  color: #666;
  font-size: 0.9em;
}



/* CSS for remove bootstrap */

p {
  margin-bottom: 0px !important;
}

.container {
  max-width: none !important;
  padding: 0 80px !important;
}

.accordion {
  background-color: white;
  color: #333;
  cursor: pointer;
  padding: 15px;
  width: 100%;
  text-align: left;
  border: none;

  outline: none;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}

.accordion.active {
  /* background-color: #f1f1f1;  */
}

.accordion-title {
  flex-grow: 1;
}

.accordion-icon {
  font-size: 20px;
  color: #333;
  transition: transform 0.2s ease;
}

.panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding-left: 15px;
  border-bottom: 1px solid #ddd;
}

.panel-content {
  padding: 26px 0;
}
.avaria-item:first-child {
  border-top: 1px solid #ddd;
}

.sort-filter {
  border: 0px;
}

.left-separator-list {
  border-left: 1px solid rgba(239, 239, 239, 1);
  display: flex;
  flex-direction: column;
}

/* General grid container */
.custom-blog-archive {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns */
  grid-gap: 20px;
  margin-bottom: 30px;
  padding-top: 32px;
}

/* Large featured post (first post) */
.grid-item.large-post {
  grid-column: span 2;
  grid-row: span 2;
  position: relative;
}

/* Small featured posts (posts 2–5) */
.grid-item.small-post {
  grid-column: span 1;
  position: relative;
}

/* Remaining posts (posts 6–12) */
.grid-item.remaining-post {
  grid-column: span 1;
  position: relative;
}

/* Posts Iniciativas em https://demo.valongo-bewater.com.pt/educacao-e-sensibilizacao-ambiental/ */
#iniciativas-container {
flex-wrap: wrap;
}
#iniciativas-container .grid-item.remaining-post {
	min-height: 380px;
	display: flex;
}

/* Featured image styling */
.featured-image img {
  width: 100%;
  height: auto;
}

/* Overlay content */
.overlay-content {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  color: #fff;
  padding: 10px;
  text-align: left;
}

.overlay-content .post-title {
  font-size: 1.2em;
  margin: 0;
}

.overlay-content .post-date {
  font-size: 0.9em;
  color: #ccc;
}

/* Pagination styling */
.pagination {
  text-align: center;
  margin-top: 68px;
	flex-wrap: wrap;
}

.pagination a {
  margin: 0 5px;
  padding: 5px 10px;
  text-decoration: none;
}

.pagination a:hover {
  background-color: #0073aa;
  color: #fff;
}

/* Custom Grid Container */
.custom-post-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 3 columns */
  gap: 15px;
}

/* Large post (first post) styling */
.custom-post-grid .large-post {
  grid-column: span 2;
  grid-row: span 2;
  position: relative;
  overflow: hidden;
}

.custom-post-grid .large-post .featured-image img,
.custom-post-grid .small-post .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers entire container */
}

/* Small post styling */
.custom-post-grid .small-post {
  position: relative;
  overflow: hidden;
}

/* Overlay content styling */
.custom-post-grid .overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  color: #fff;
}

.custom-post-grid .post-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.custom-post-grid .post-date {
  font-size: 14px;
  color: #ddd;
  margin-top: 5px;
}

.grid-item a {
  height: 100%;
  display: flex;
}

.grid-item .featured-image {
  width: 100%;
  height: 100%;
}

.grid-item {
  border-radius: 16px;
}

.grid-item .post-title {
  color: var(--e-global-color-4e30d05);
    font-family: var(--e-global-typography-6309541-font-family), Sans-serif;
    font-size: var(--e-global-typography-6309541-font-size);
    font-weight: var(--e-global-typography-6309541-font-weight);
    line-height: var(--e-global-typography-6309541-line-height);
}

.grid-item .post-date {
  color: var(--e-global-color-4e30d05);
    font-size: 14px;
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.28px;
    line-height: 16px;
}

.featured-post-image {
  height: 50%;
  bottom: 0px;
}

.featured-post-content {
  height: 50%;
  background-color: #17479c;
  justify-content: space-between;
  display: flex;
  flex-direction: column;
}

.featured-post-content .post-title {
  width: 60%;
}

.remaining-post a {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background-color: #f9f9f9;
}

.featured-image-second-layout a {
  width: 100%;
  height: 100%;
}

.featured-image-second-layout {
  height: 50% !important;
}

.featured-image-second-layout img {
  height: 100% !important;
  width: 100% !important;
	border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
	object-fit: cover;
	object-position: center;
}

.overlay-content-above {
  height: 50% !important;
	justify-content: space-between;
    display: flex;
    flex-direction: column;
	    padding: 24px;
}

.overlay-content-above .post-title {
	font-family: var(--e-global-typography-6309541-font-family), Sans-serif;
    font-size: var(--e-global-typography-6309541-font-size);
    font-weight: var(--e-global-typography-6309541-font-weight);
    line-height: var(--e-global-typography-6309541-line-height);
  color: #4A4B50;
}

.overlay-content-above .post-date {
      font-size: 14px;
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.28px;
    line-height: 16px;
    color: #4A4B50;
}

.buttons-tabs {
  background-color: #efefef;
  font-family: var(--e-global-typography-a1dcd3c-font-family, Arial), Sans-serif;
  font-size: var(--e-global-typography-a1dcd3c-font-size, 16px);
  font-weight: var(--e-global-typography-a1dcd3c-font-weight, 400);
  line-height: var(--e-global-typography-a1dcd3c-line-height, 1.5);
  border-style: solid;
  border-width: 1px;
  border-color: var(--e-global-color-4e30d05, #ccc);
  border-radius: 999px;
  padding: 18px 24px;
  color: #4a4b50;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.buttons-tabs:hover {
  background-color: #002d6f; /* Darker blue on hover */
  color: #fff;
  border-color: #002d6f;
}

.buttons-tabs.active {
  background-color: #17479c;
  border-color: #002d6f;
  color: #fff;
}

.filter-tabs {
  padding: 0px;
  gap: 26px;
  display: block;
}

/* Pagination container */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: "Arial", sans-serif; /* Use your theme's font */
}

/* Pagination link styles */
.pagination .page-numbers,
.pagination span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  color: #919298;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

/* Active page number */
.pagination .current {
  background-color: #17479c; /* Active background color */
  color: #fff; /* Active text color */
  border-color: #17479c;
}

/* Hover effect for links */
.pagination a:hover {
  background-color: #17479c; /* Hover background color */
  color: #fff;
  border-color: #17479c;
}

/* Remove borders and style the prev/next buttons */
.pagination .prev,
.pagination .next {
  background-color: transparent;
  border: none;
  padding: 0; /* Adjust padding if necessary */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Style the SVG icons for prev/next buttons */
.pagination .prev svg,
.pagination .next svg {
  width: 20px;
  height: 20px;
  fill: #919298; /* Use your preferred color */
}

/* Hover effects for prev/next buttons */
.pagination .prev:hover svg,
.pagination .next:hover svg {
  fill: #17479c; /* Hover color */
}



a.buttons-tabs {
  margin: 6px 10px 6px 0px;
}


.buttons-tabs:first-child {
  margin: 6px 10px 6px 0px;

}


.grid-item.global-first-post .post-title {
  font-family: var(--e-global-typography-f879d59-font-family), Sans-serif;
  font-size: var(--e-global-typography-f879d59-font-size);
  font-weight: var(--e-global-typography-f879d59-font-weight);
  line-height: var(--e-global-typography-f879d59-line-height);
}


body {
	-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.featured-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(6, 28, 69, 0.80) 26%, rgba(6, 28, 69, 0.50) 42%, rgba(6, 28, 69, 0.00) 58%);
  z-index: 0;
  pointer-events: none;
}

#menubar-115 .e-n-menu-content > .e-con-inner {
margin-right: 0px !important;

}

#menubar-115 .e-con-inner {
margin-right: 0px !important;

}



.featured-post-image {
height: 50% !important;
	align-self: flex-end;
}

.featured-post-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(6, 28, 69, 0.80) 26%, rgba(6, 28, 69, 0.50) 42%, rgba(6, 28, 69, 0.00) 58%);
  z-index: 0;
  pointer-events: none;
}


.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-result-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 15px 0;
}

.result-thumbnail img {
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.result-content {
  flex: 1;
  display: flex;
}

.entry-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

.entry-title a {
  text-decoration: none;
  color: #333;
}

.entry-title a:hover {
  color: #0073aa;
}

.entry-summary {
  font-size: 14px;
  color: #666;
  display: flex;
  flex-direction: row;
}

.wrap-ts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.read-more {
  display: inline-block;
  font-size: 14px;
  color: #0073aa;
  text-decoration: none;
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
  color: #005f8d;
}





.btn-contactos {
	    background-color: var(--e-global-color-4fca56b);
    font-family: var(--e-global-typography-a1dcd3c-font-family), Sans-serif;
    font-size: var(--e-global-typography-a1dcd3c-font-size);
    font-weight: var(--e-global-typography-a1dcd3c-font-weight);
    line-height: var(--e-global-typography-a1dcd3c-line-height);
    fill: var(--e-global-color-4e30d05);
    color: var(--e-global-color-4e30d05);
    border-style: none;
    border-radius: 999px 999px 999px 999px;
    padding: 16px 24px 17px 24px;
	    display: inline-block;
}

.btn-s-document {
    background-color: #61CE7000;
    font-family: var(--e-global-typography-a1dcd3c-font-family), Sans-serif;
    font-size: var(--e-global-typography-a1dcd3c-font-size);
    font-weight: var(--e-global-typography-a1dcd3c-font-weight);
    line-height: var(--e-global-typography-a1dcd3c-line-height);
    fill: var(--e-global-color-4fca56b);
    color: var(--e-global-color-4fca56b);
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: var(--e-global-color-4fca56b);
    border-radius: 999px 999px 999px 999px;
    padding: 18px 24px 18px 24px;
		    display: inline-block;

}

.post-3120 .document-container > div {
	
}

/* Posts Homepage */

@media (max-width: 768px) {
	.search-results-list {
  padding: 48px 20px;
}

.search-results-list .result-content {
  gap:20px;
  }
  
	
	.ajax-search-lite-form {
	    padding: 46px 20px;
	}
	.search-results-header {
	    padding: 46px 20px;
	}
	.child-doc-c {
		flex-direction: column-reverse;
		        gap: 20px;
	}
  .ruas-list {
    padding-left: 0%;
  }
  .custom-post-grid {
    display: flex;
    flex-direction: column;
  }

  .grid-item {
    margin-bottom: 20px;
  }

 /* .grid-item:nth-child(n + 4) {
    display: none;
  }
	*/
.custom-blog-archive .grid-item:nth-child(n + 4) {
  display: block !important; 
}

.grid-item:nth-child(n + 4) {
  display: none; 
}

  .custom-post-grid {
    flex-direction: column !important;
    display: flex !important;
  }
 .avarias-container {
    width: 100%;background-color: white;border-top-left-radius: 16px;
      border-bottom-left-radius: 16px;
  }
	
  #map {
	display: none;
  }

  .left-separator-list {
    padding-left: 0% !important;

  }
  .column-details {
width: 100%;
  }
  .avaria-details {
    flex-direction: column;
  }
  .avaria-street {
    width: 100%;
  }
	.upload-field input[type="file"] {
	width: 40px;
		margin-left: 0px;
		margin-bottom:0px;
	}
	
	.filter-tabs {
	  width: 100%;
	}
  .result-thumbnail img {
    width: 100%;
  }
  .post-thumb-search {
    width: 100%;
  }

  .result-content {
    flex-direction: column;
  }

  .result-content {
    gap:46px;
  }
}

@media (min-width: 769px) {
  .result-thumbnail img {
    width: 120px;
  }
  .ruas-list {
    padding-left: 52%;
  }
  .column-details {
    width: 40%;
      }

.left-separator-list {
  padding-left: 6%;

}
  .avarias-container {
    background-color: white;border-top-left-radius: 16px;
      border-bottom-left-radius: 16px;
  }
	.filter-tabs {
	  width: 75%;
	}
}
.avarias-container {
  background-color: white;border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}


html, body {
overflow-x: hidden;
}


.grid-item.large-post.global-first-post {
aspect-ratio: 1;
}

#primary {
  z-index: 1;
  position: relative;
}

.elementor-widget-image a {
display: flex !important;
	width: fit-content;
}


a.asl_res_url {
color: #2567df !important;
}

.asl_m .probox svg {
	fill: #2567df !important;
	background: transparent !important;
}

@media screen and (max-width: 1024px) and (min-width: 768px) {

	.ajax-search-lite-form {
	    padding: 46px 40px;
	}
	.search-results-header {
  padding: 0px 40px;
}
	.search-results-list {
  padding: 48px 40px;
}
}


@media screen and (min-width: 1024px) {

	.ajax-search-lite-form {
	    padding: 46px 80px;
	}
	
	.search-results-header {
  padding: 0px 80px;
}
	.search-results-list {
  padding: 48px 80px;
}
}

.search-result-item {
	flex-direction: column;
}

.post-thumb-search {
  height: 100%;
  display: flex;
  padding-right: 20px;
}


@media screen and (max-width: 1024px) {


}

#iniciativa .grid-item.remaining-post a {
	width: 100%;

}

#iniciativa .elementor-shortcode {
	    display: grid;
	width: 100%;
}

#iniciativa .elementor-widget-container {
display: flex;
}

.custom-footer-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.custom-footer-links a {
    text-decoration: none;
    color: inherit;
    font-size: 14px;
}
