.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass {
  display: none;
}

.mapboxgl-popup-content {
  padding: 10px;
}

.mapboxgl-popup-content .properties {
  display: flex;
}

.mapboxgl-popup-content img {
  width: 20%;
}

.mapboxgl-popup-content h5 {
  font-size: .7rem;
  margin-left: .5rem;
}

.mapboxgl-popup-content .read-more,
.mapboxgl-popup-content p {
  margin-bottom: 0;
}

.poi-target {
  width: 50%;
  height: 100vh;
  overflow: visible;
  background-color: white;
  margin-top: 90px;
  position: fixed;
  z-index: 12;
  transform: translate3d(-100%, 0px, 0px);
  animation: fadeOutSpalla 0.3s ease forwards;
  overflow: hidden;
}
.poi-target > div {
  overflow: scroll;
  width: calc(100% + 17px);
  height: 100%;
}

.error-search-member {
  font-size: .9rem;
  color: red;
  padding-left: 7.7rem;
}

@keyframes fadeOutSpalla {
  from { transform: translate3d(0%, 0px,0px); }
  to { transform: translate3d(-100%, 0px,0px); }
}

.poi-target.active {
  display: block;
  animation: fadeInSpalla 0.8s ease forwards;
}

@keyframes fadeInSpalla {
  from { transform: translate3d(-100%, 0px,0px);}
  to { transform: translate3d(0%, 0px,0px);}
}


.poi-target img {
  width: 54px;
  height: auto;
  pointer-events: none;
}

.container-poi{
}

.poi-target .item {
  display: flex;
  align-items: center;
  margin: 15px 1px;
  cursor: pointer;
  border-bottom: 1px solid gainsboro;
  padding-bottom: 18px;
}

.poi-target .item--meta {
  padding-left: 1rem;
  pointer-events: none;
}

.view-id-organization_map .views-row .views-field-field-common-country,
.poi-target .item--city {
  color: #89ad6a;
  font-size: 16px;
}

.view-id-organization_map .views-row .views-field-field-common-country {
  font-size: 0.875rem;
}

.poi-target .item--title {
  color: #2e2e2e;
  font-size: 18px;
}


.poi-target .item--subtitle {
  color: #666666;
  font-size: 13px;
  font-family: ubuntu;
  margin-top: 4px;
}

.poi-target .item:hover .item--title h5,
.poi-target .item.highlight .item--title h5 {
  color: #89ad6a;
  transition: 0.2s ease;
}

/* trick mandatory! */
.item img,
.item--logo,
.poi-target .item--meta
.poi-target .item--city
.poi-target .item--city
.poi-target .item--title,
.poi-target .item--subtitle {
  pointer-events: none;
}

.agregate-marker {
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  color: #ffffff;
  background-color: #333333;
  opacity: 1;
  position: relative;
  transition: opacity .2s linear;
  font-family: "playfair display";
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 13px 21px 21px 21px;
  top: -69px;
}

.agregate-marker.global {
  position: relative;
}

.agregate-marker.global:before {
  content: "GLOBAL AND REGIONAL ACADEMIES";
  font-size: 0.8rem;
  position: absolute;
  left: -2rem;
  top: 3.5rem;
  text-align: left;
  line-height: 1rem;
  color: #222;
  white-space: nowrap;
}

.agregate-marker:after {
  position: absolute;
  border-style: solid;
  border-width: 0px 18px 11px 0;
  position: absolute;
  bottom: -11px;
  left: 0px;
  content: "";
}



.agregate-marker.america:after {
  border-color: transparent #616b57 transparent transparent;
}
.agregate-marker.asia:after {
  border-color: transparent rgb(109, 82, 56) transparent transparent;
}
.agregate-marker.europa:after {
  border-color: transparent rgb(57, 86, 107) transparent transparent;
}
.agregate-marker.africa:after {
  border-color: transparent rgb(115, 87, 58) transparent transparent;
}
.agregate-marker.global:after {
  border-color: transparent rgb(83, 83, 83) transparent transparent;
}




.agregate-marker-rn {
  width: auto;
  max-width: 330px;
  height: auto;
  padding: 0.51rem;
  font-size: .9rem;
  font-family: "playfair display";
  color: #fff;
  top: 0;
  transition: opacity 0.2s ease;
}

.agregate-marker-rn:after {
  display: none;
}

.agregate-marker-rn:hover{
  color: rgba(255, 255, 255, 0.8);
  transition: opacity 0.2s ease;
}

.agregate-marker.hide {
  opacity: 0;
}

.agregate-marker.america {
  background:  url(../assets/bg-ianas.png) center left;
  background-size: cover;
}

.agregate-marker.africa {
  background:  url(../assets/bg-nasac.png) center left;
  background-size: cover;
}

.agregate-marker.asia {
  background:  url(../assets/bg-aassas.png) center left;
}

.agregate-marker.europa {
  background:  url(../assets/bg-easac.png) center left;
  background-size: cover;
}

.agregate-marker-rn {
  cursor: pointer;
}


@media (max-width:1400px){
  .agregate-marker-rn{
    max-width: 190px;
    font-size: .8rem;
    line-height: 1.2;
  }
}


@media (max-width:1366px) {
  .poi-target {
    width: 70%;
  }
  .poi-target .box {
    padding: 6em 5em 0em 5em;
  }

}



@media (max-width:992px) {
  .tab-content>#map {
    position: relative;
    top: 70px;
    right: 0;
    width: 100%;
    height: auto;
    overflow: visible;
}
.poi-target {
  width: 100%;
}
.page-node-53021 .mapboxgl-canvas {
  display: none;
}

.page-node-53021 .agregate-marker-rn {
  transform: none !important;
  transform: none !important;
  max-width: none;
  font-size: 1.4rem;
  padding: 1.51rem 4.51rem;
  line-height: 1.6rem;
  width: calc(50% - 6px);
  display: inline-block;
  height: 140px;
  display: inline-flex;
  flex-direction: row;
  margin: 0;
  align-items: center;
  vertical-align: top;
  margin: 3px 0px;
  border-radius: 5px;
}

.mapboxgl-canvas-container.mapboxgl-interactive {
  margin-bottom: 1rem;
}
.tab-content>#map:before,
.mapboxgl-control-container {
  display: none;
}
}
