.efca-map-wrapper {
  display: grid;
  grid-template-columns: 400px 1fr;
  margin: 20px;
  height: 750px;
}
.efca-map-wrapper .map-legend-wrapper {
  position: absolute;
  top: 20px;
  left: 50%;
  max-width: 80%;
  transform: translateX(-50%);
  z-index: 401;
  display: none;
  flex-wrap: wrap;
  background-color: white;
  padding: 10px;
  gap: 5px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  height: 95%;
  overflow-y: auto;
}
.efca-map-wrapper .map-legend-wrapper .legend-icon-text {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.efca-map-wrapper .map-legend-wrapper .legend-icon-text .icon img {
  height: 35px;
  width: 35px;
}
.efca-map-wrapper #mapLegendTemplate {
  display: grid;
  grid-template-columns: 1fr 25px;
}
.efca-map-wrapper #mapLegendTemplate .legend-content {
  padding: 20px;
  font-size: larger;
}
.efca-map-wrapper #mapLegendTemplate .close-button {
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
  font-size: xx-large;
  cursor: pointer;
}
.efca-map-wrapper .panel-filter-button {
  width: 100%;
  background-color: #006FB4;
  color: white;
  font-size: larger;
  font-weight: bold;
  margin-bottom: 5px;
}
.efca-map-wrapper .panel-filter-button:after {
  content: "";
  display: block;
  width: 25px;
  height: 25px;
  float: right;
  background-repeat: no-repeat;
  background-size: contain;
  filter: invert(1);
}
.efca-map-wrapper .panel-filter-button.reset:after {
  background-image: url("/themes/custom/efca/images/icons/stack.svg");
}
.efca-map-wrapper .panel-filter-button.legend:after {
  background-image: url("/themes/custom/efca/images/icons/map.svg");
}
.efca-map-wrapper .panel-filter-button.collapsible:after {
  background-image: url("/themes/custom/efca/images/down-arrow.png");
}
.efca-map-wrapper .panel-filter-button:hover {
  float: right;
  opacity: 0.8;
}
.efca-map-wrapper .filters-bullet-wrapper {
  position: absolute;
  top: 20px;
  left: 50%;
  max-width: 80%;
  transform: translateX(-50%);
  z-index: 401;
  display: none;
  flex-wrap: wrap;
  background-color: white;
  padding: 10px;
  gap: 5px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.efca-map-wrapper #filterBulletTemplate {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  color: white;
  background-color: #004494;
  font-weight: bold;
  border-radius: 10px;
  padding: 10px;
}
.efca-map-wrapper #filterBulletTemplate .text {
  text-transform: capitalize;
}
.efca-map-wrapper #filterBulletTemplate .close-button {
  cursor: pointer;
}
.efca-map-wrapper .panel-filters {
  position: relative;
  padding: 15px 15px 15px 11px;
  border: 0px solid #004494;
  height: inherit;
  overflow: auto;
}
.efca-map-wrapper .panel-filters .reset-filters {
  right: 0;
  padding: 20px;
}
.efca-map-wrapper .panel-filters .icons-content-wrapper {
  width: calc(100vw - 50px);
  position: absolute;
  top: 0;
  left: 100%;
  background: white;
  -webkit-box-shadow: 10px 0px 15px -10px rgba(0, 0, 0, 0.6);
  box-shadow: 10px 0px 15px -10px rgba(0, 0, 0, 0.6);
  height: calc(100vh - 146px);
  color: #333;
  max-width: 350px;
  padding: 2.5rem 0 1.25rem;
}
.efca-map-wrapper .panel-maps {
  display: flex;
  position: relative;
  height: inherit;
  overflow: auto;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.efca-map-wrapper .panel-popup {
  flex: 0 0 0;
  width: 0;
  height: 100%;
  background-color: white;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  transition: flex 0.3s ease, width 0.3s ease;
  overflow-y: auto;
  font-size: .9rem;
  line-height: 1.55;
}
.efca-map-wrapper .panel-popup.open {
  flex: 0 0 300px;
  width: 300px;
  border: 0px solid #004494;
  z-index: auto;
}
.efca-map-wrapper #panel-popup-content {
  padding: 25px 20px;
}
.efca-map-wrapper button#close-panel-popup {
  background-color: #004494;
  color: white;
  position: relative;
  font-size: 24px;
  border: none;
  cursor: pointer;
  float: right;
}
.efca-map-wrapper .filter fieldset {
  display: none;
}
.efca-map-wrapper .filter.open fieldset {
  display: flex;
}
.efca-map-wrapper .filter .input-field {
  width: 100%;
  border: none;
  border-bottom: 2px solid black;
  background-image: url("/themes/custom/efca/images/icons/search.svg");
  background-position: calc(100% - 10px);
  background-repeat: no-repeat;
  margin-bottom: 10px;
}
.efca-map-wrapper .filter .input-field:focus {
  outline: none;
}
.efca-map-wrapper .filter .filter-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: larger;
  font-weight: bold;
  padding: 10px 10px;
  background-color: #004494;
  color: white;
  border-bottom: 2px solid white;
}
.efca-map-wrapper .filter fieldset {
  max-height: 330px;
  overflow-y: auto;
}
.efca-map-wrapper .filter.list fieldset {
  flex-direction: column;
  margin: 0;
  padding: 10px;
  border: none;
  font-size: 0.9rem;
  letter-spacing: 0.01rem;
}
.efca-map-wrapper .filter.list fieldset label {
  padding: 10px 0 0 0;
}
.efca-map-wrapper .filter.list fieldset label.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}
.efca-map-wrapper .filter.list.radio-list {
  /* Change background color and border when selected */
}
.efca-map-wrapper .filter.list.radio-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
}
.efca-map-wrapper .filter.list.radio-list label input[type=radio] {
  display: none;
}
.efca-map-wrapper .filter.list.radio-list label input[type=radio]:checked + label {
  background-color: #a9a9a9;
}
.efca-map-wrapper .filter.list.radio-list label img.level-img {
  height: 30px;
  width: 30px;
}
.efca-map-wrapper .filter.list.radio-list label:hover {
  cursor: pointer;
  background-color: #004494;
  color: white;
  border-radius: 5px;
}
.efca-map-wrapper .filter.list.radio-list label input[type=radio]:checked + .level-img {
  border: 3px solid #004494;
  border-radius: 50%;
}
.efca-map-wrapper .filter.list.radio-list label input[type=radio]:checked + .level-img + span {
  background-color: #004494;
  color: white;
  border-radius: 5px;
}
.efca-map-wrapper .filter.list.radio-list label input[type=radio]:checked + span {
  background-color: #004494;
  color: white;
  border-radius: 5px;
}
.efca-map-wrapper .filter.list.radio-list label span {
  display: inline-block;
  padding: 5px;
  border-radius: 5px;
}

.leaflet-popup {
  display: none;
}

#efcaMap {
  flex: 1;
  transition: flex 0.3s ease;
}
#efcaMap .leaflet-control-container .leaflet-top.leaflet-left {
  left: inherit;
  right: 10px;
  z-index: 400;
}
#efcaMap .organization-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #404040;
  font-size: 18px;
  font-weight: bold;
  border: 5px;
  border-style: double;
  border-color: #404040;
}

.popup .organization-list > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.popup .organization-list > ul > li {
  margin-bottom: 20px;
}
.popup .organization-list > .title {
  display: flex;
  gap: 5px;
  align-items: center;
  margin: 20px 0;
  padding: 12px 10px;
}
.popup .organization-list > .title img {
  height: 20px;
}
.popup .organization-list > .title span {
  font-size: 0.9rem;
  font-weight: bold;
}
.popup .national-organizations > .title {
  border: 3px solid #DA2131;
}
.popup .national-organizations > .title > span {
  color: black;
}
.popup .regional-organizations > .title {
  border: 3px solid #F29527;
}
.popup .regional-organizations > .title > span {
  color: black;
}
.popup .local-organizations > .title {
  border: 3px solid #ffd617;
}
.popup .local-organizations > .title > span {
  color: black;
}
.popup .organization {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.popup .organization .title > span {
  font-weight: bold;
  font-size: 0.9rem;
  color: #404040;
  cursor: pointer;
  line-height: 1;
}
.popup .organization .info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.popup .organization .info .address {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}
.popup .organization .info .content p {
  margin: 0;
}
.popup .organization .info .icon:before {
  content: "";
  display: block;
  width: 25px;
  height: 25px;
  background-repeat: no-repeat;
  background-size: contain;
}
.popup .organization .info .icon.location:before {
  background-image: url("/themes/custom/efca/images/icons/geo-alt.svg");
}
.popup .organization .info .icon.phone:before,
.popup .organization .info .icon._4-7-phone:before {
  background-image: url("/themes/custom/efca/images/icons/telephone.svg");
}
.popup .organization .info .icon.fax:before {
  background-image: url("/themes/custom/efca/images/icons/fax.svg");
}
.popup .organization .info .icon.e-mail:before {
  background-image: url("/themes/custom/efca/images/icons/envelope.svg");
}
.popup .organization .info .icon.web:before {
  background-image: url("/themes/custom/efca/images/icons/globe.svg");
}
.popup .organization .coast-guard-functions .title {
  font-size: 0.9rem;
  font-weight: bold;
}
.popup .organization .coast-guard-functions .role {
  font-size: 0.9rem;
}
.popup .organization .coast-guard-functions li {
  font-size: 0.9rem;
}
.popup .organization.parent {
  border: 1px solid black;
  padding: 10px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}
.popup .organization.parent .title {
  all: unset;
  margin: 0;
}
.popup .organization.parent .title span {
  all: unset;
}

.popup:not(.popup.mechanism) .country-name, .popup:not(.popup.mechanism) .cfg-name {
  background: #004594;
  display: flex;
  justify-content: center;
}
.popup:not(.popup.mechanism) .country-name h3, .popup:not(.popup.mechanism) .cfg-name h3 {
  margin: 0.5rem;
  padding-left: 2.75rem;
  color: white;
  font-size: 1.1rem;
  line-height: 1.5;
  background-repeat: no-repeat;
}
.popup:not(.popup.mechanism) .country-name h3 {
  background-image: url("../images/flag-white.svg");
}
.popup:not(.popup.mechanism) .cfg-name h3 {
  background-image: url("../images/ship-icon 1.svg");
  background-size: 35px;
}
.popup:not(.popup.mechanism) p.cgf-name {
  margin: 1rem 0;
  font-size: 0.9rem;
  font-weight: 600;
}
.popup:not(.popup.mechanism) .cgf-list-item {
  list-style-type: circle;
  margin-block-start: 0px;
  margin-block-end: 0px;
}
.popup:not(.popup.mechanism) .cgf-list-item span {
  font-size: 0.9rem !important;
  font-weight: unset !important;
}
.popup:not(.popup.mechanism) #panel-popup-content .land-locked {
  margin: 1rem 0;
  padding-bottom: 6rem;
  background-image: url("../images/no-result-found.svg");
  background-repeat: no-repeat;
  background-size: 4rem;
  background-position: 50% 100%;
}

#filterByCountry label input[value="eu"] + span {
  text-transform: uppercase;
}

.efca-map-wrapper .panel-popup .popup.mechanism{
  text-transform: capitalize;
}

/*# sourceMappingURL=efca-advanced-map.css.map */
