.content-wrapper {
  overflow-x: hidden;
}
.spacer {
  height: 300px;
}
#activities-map {
  width: 100vw;
  background-color: #DBE3E7;
  min-height: calc(100vw * 1.2);
}
@media (min-width:768px) {
  #activities-map {
    min-height: calc((720px - 265px) * 1.2 + 50px);
  }
}
@media (min-width:768px) {
  #activities-map {
    min-height: calc((720px - 265px) * 1.2 + 50px);
  }
}
@media (min-width: 799px) {
  #activities-map {
    min-height: calc((799px - 265px) * 1.2 + 50px);
  }
}
@media (min-width: 800px) {
  #activities-map {
    min-height: calc((800px - 265px) * 1.2 + 50px);
  }
}
#activities-map .leaflet-overlay-pane path.leaflet-interactive {
  transition: all .2s ease-in-out;
}
#map-stuff {
  margin-top: calc((100vw - 30px) * 1.2 + 50px);
}
@media (min-width: 576px) {
  #map-stuff {
    margin-top: calc(540px * 1.2 + 50px);
  }
}
@media (min-width:768px) {
  #map-stuff {
    margin-top: 110px;
  }
}
.active-area {
  position: absolute;
  top: 50px;
  right: 15px;
  left: 15px;
  height: calc((100vw - 30px) * 1.2);
}
@media (min-width:576px) {
  .active-area {
    right: calc((100% - 540px)/2 + 15px);
    left: calc((100% - 540px)/2 + 15px);
    height: calc(540px * 1.2);
  }
}
@media (min-width:768px) {
  .active-area {
    right: calc((100% - 720px)/2 + 295px);
    left: calc((100% - 720px)/2 + 15px);
    height: calc((720px - 265px) * 1.2);
  }
}
@media (min-width: 799px) {
  .active-area {
    right: calc((100% - 799px)/2 + 295px);
    left: calc((100% - 799px)/2 + 15px);
    height: calc((799px - 265px) * 1.2);
  }
}
@media (min-width: 800px) {
  .active-area {
    right: calc((100% - 800px)/2 + 295px);
    left: calc((100% - 800px)/2 + 15px);
    height: calc((800px - 265px) * 1.2);
  }
}
#btn-close {
  top: 30px;
  display: none;
  position: absolute;
  z-index: 1000;
  border: none;
  background-color: transparent;
  background-image: url(/typo3conf/ext/am_activitiesmap/Resources/Public/Images/close.svg);
  background-repeat: no-no-repeat;
  width: 16px;
  height: 16px;
  cursor: pointer;
  left: 15px;
}
#map-title {
  position: absolute;
  margin: 0;
  left: 15px;
}
#continent-title {
  position: absolute;
  margin: 0;
  display: none;
  top: 24px;
  left: 45px;
}
@media (min-width:576px) {
  #btn-close {
    left: calc((100% - 540px)/2 + 15px);
  }
  #continent-title {
    left: calc((100% - 540px)/2 + 45px);
  }
  #map-title {
    left: calc((100% - 540px)/2 + 15px);
  }
}
@media (min-width:768px) {
  #btn-close {
    left: calc((100% - 720px)/2 + 15px);
  }
  #continent-title {
    left: calc((100% - 720px)/2 + 45px);
  }
  #map-title {
    left: calc((100% - 720px)/2 + 15px);
  }
}
@media (min-width: 799px) {
  #btn-close {
    left: calc((100% - 799px)/2 + 15px);
  }
  #continent-title {
    left: calc((100% - 799px)/2 + 45px);
  }
  #map-title {
    left: calc((100% - 799px)/2 + 15px);
  }
}
@media (min-width: 800px) {
  #btn-close {
    left: calc((100% - 800px)/2 + 15px);
  }
  #continent-title {
    left: calc((100% - 800px)/2 + 45px);
  }
  #map-title {
    left: calc((100% - 800px)/2 + 15px);
  }
}

#activity-info,
#activity-lists {
  position: relative;
  z-index: 1000;
  width: 100%;
  overflow:hidden;
}
@media (min-width:768px) {
  #activity-info,
  #activity-lists {
    position: relative;
    width: 265px;
    right: 15px;
    float: right;
  }
}
#activity-info #activity-info-controls{
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  position: absolute;
  pointer-events: none;
}
#activity-info #activity-info-controls .btn-close{
  position: absolute;
  background-image: url(/typo3conf/ext/am_activitiesmap/Resources/Public/Images/close.svg);
  top: 15px;
  right: 20px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  pointer-events: all;
}

.area40 #activity-info #activity-info-controls .btn-close{
  background-image: url(/typo3conf/ext/am_activitiesmap/Resources/Public/Images/close-dark.svg)!important;
}

#activity-info #activity-info-controls .activity-pagination{
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  display: flex;
  display: -ms-flexbox;
  flex-direction: row;
  justify-content: space-between;
  -ms-flex-pack: justify;
}
#activity-info #activity-info-controls .activity-pagination .btn-left,
#activity-info #activity-info-controls .activity-pagination .btn-right {
  border: none;
  background-color: transparent;
  background-image: url(/typo3conf/ext/am_activitiesmap/Resources/Public/Images/arrow-left.svg);
  background-repeat: no-repeat;
  width: 24px;
  height: 18px;
  cursor: pointer;
  opacity: 1;
  pointer-events: all;
}
#activity-info #activity-info-controls .activity-pagination .btn-right {
  background-image: url(/typo3conf/ext/am_activitiesmap/Resources/Public/Images/arrow-right.svg);
}
#activity-info #activity-info-controls .activity-pagination .hidden {
  opacity: 0;
}
#activity-info #activity-content .activity-container {
  position: relative;
  width: 200%;
  display: flex;
  display: -ms-flexbox;
  flex-direction: row;
  align-items: stretch;
  -ms-flex-align: stretch;
  transform: translateX(0);
  transition: all .2s ease-in-out;
}
#activity-info #activity-content .activity-container a {
  color: #fff;
  text-decoration: underline;
}
#activity-info #activity-content .activity-container a:hover {
  color: #000D1A;
}
#activity-info #activity-content .activity-container.showdesc {
  transform: translateX(-50%);
}
#activity-info #activity-content .activity-container .activity-cover {
  position: relative;
  box-sizing: border-box;
  width: 50%;
  padding: 15px;
  max-height: 460px;
  overflow-y: auto;
}
#activity-info #activity-content .activity-container .activity-description {
  position: relative;
  box-sizing: border-box;
  width: 50%;
}
#activity-info .activity-cover .activity-city {
  margin: 0 31px 0 0;
  color: #000D1A;
}
#activity-info .activity-cover .activity-image {
  margin-left: -15px;
  margin-right: -15px;
  margin-top: -15px;
  margin-bottom: 15px;
}
#activity-info .activity-cover .activity-title {
  margin: 25px 0 10px;
  color: #fff;
}
#activity-info .activity-cover ul.activity-properties {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  color: #fff;
}
#activity-info .activity-cover ul.activity-properties li {
  border-bottom: 1px solid #fff;
  display: flex;
  display: -ms-flexbox;
  flex-direction: row;
  justify-content: space-between;
  -ms-flex-pack: justify;
  padding: 2px 0;
}
#activity-info .activity-cover div.activity-teaser p{
  color: #fff;
}
#activity-info .activity-cover ul.activity-properties li:last-child {
  border-bottom: none !important;
}
#activity-info .activity-description .activity-text {
  padding: 15px;
  max-height: 460px;
  overflow-y: auto;
  color: #fff;
}
#activity-info .activity-description .activity-text p {
  color: #fff;
}
#activity-info .leed .activity-cover ul.activity-properties,
#activity-info .leed .activity-cover div.activity-teaser p,
#activity-info .leed .activity-description .activity-text,
#activity-info .leed .activity-description .activity-text p {
  color: #000D1A;
}

#activity-info .activity-description .activity-text .activity-city {
  margin: 0 31px 10px 0;
  color: #000D1A;
}
#activity-lists {
  margin-top: 0;
}
#activity-lists ul{
  list-style: none;
  padding: 0;
}
#activity-lists ul li {
  padding: 2px 0;
  border-bottom: 1px solid #000D1A !important;
}
#activity-lists ul li[data-id],
#activity-lists ul li[data-continent] {
  cursor: pointer;
}

.area40 #activity-lists ul li[data-continent="Americas"],
.area40 #activity-lists ul li[data-continent="Europe"],
.area40 #activity-lists ul li[data-continent="East and Southern Africa"],
.area40 #activity-lists ul li[data-continent="West Africa"] {
  font-weight: bold;
}

#activity-lists ul li.mouseover {
  font-weight: bold;
}
#activity-lists ul li:last-child {
  border-bottom: none !important;
}
#activity-lists ul li ul li[data-id] {
  padding-left: 27px;
}
#activity-lists ul li ul li:first-child {
  border-top: 1px solid #000D1A !important;
}
