/**
 * Copyright (c) 2020 Rico Nitschke <rico.nitschke@e-pixler.com | e-pixler NEW MEDIA GmbH
 *
 * @link     http://www.e-pixler.com
 * @package  Deutsches Rotes Kreuz
 *
 */
/* -----------------------mobile first--------------------- */
/* geomaps */
.geomaps {
  max-width: var(--geomaps-bgsize);
  height: auto;
  margin: 40px auto;
}
.geomaps .hidden {
  display: none;
}
.geomaps .geomaps__title {
  text-align: center;
  margin-bottom: 50px;
}
.geomaps .geomaps__title h2 {
  font-weight: 600;
  color: #000;
}
.geomaps em {
  color: #808080;
  font-style: normal;
}
.geomaps .geomaps__wrapper {
  position: relative;
  background-color: var(--geomaps-bgcolor);
  display: inline-flex;
  flex-direction: column-reverse;
  width: 100%;
  height: auto;
  padding-bottom: 0;
}
.geomaps.d3-tip {
  display: none;
}

/* map */
.geomaps__image {
  position: relative;
  width: 100%;
  margin: 0;
}
.geomaps__image:before, .geomaps__image:after {
  content: "";
  background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 100%);
  display: block;
  height: 0.5rem;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}
.geomaps__image:after {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  height: 1rem;
  width: 100%;
  top: auto;
  bottom: 0;
}
@media only screen and (min-width: 768px) {
  .geomaps__image {
    width: calc(100% + 100px);
    margin: -25px -50px 0;
  }
  .geomaps__image:after {
    content: none;
  }
}
.geomaps__image > div {
  position: relative;
}
.geomaps__image > div:before, .geomaps__image > div:after {
  content: "";
  background: linear-gradient(-90deg, rgba(133, 92, 92, 0) 0%, rgb(255, 255, 255) 100%);
  display: block;
  height: 100%;
  position: absolute;
  left: 0;
  width: 0.5rem;
  top: 0;
}
.geomaps__image > div:after {
  -webkit-transform: rotate(-180deg);
  transform: rotate(-180deg);
  right: 0;
  left: auto;
}
.geomaps__image svg {
  width: 100%;
  height: 100%;
  position: static;
}
.geomaps__image svg path.country-2 {
  fill: url(#pattern-country-2);
}

/* navigation */
@media only screen and (min-width: 768px) {
  .geomaps__register {
    position: absolute;
    top: 8%;
    margin-left: 6%;
  }
}
.geomaps__register--wrapper {
  margin-top: 0;
  float: none;
  background-color: #fff;
  border: 1px solid #d4d4d4;
  display: inline-flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.3;
  text-align: center;
}
.geomaps__register--wrapper ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  position: relative;
}
.geomaps__register--wrapper ul li {
  padding: 0 10px;
  -webkit-transition: all 500ms ease-in-out 0s;
  -moz-transition: all 500ms ease-in-out 0s;
  -ms-transition: all 500ms ease-in-out 0s;
  -o-transition: all 500ms ease-in-out 0s;
  transition: all 500ms ease-in-out 0s;
}
.geomaps__register--wrapper ul li a {
  color: var(--geomaps-linkcolor);
  text-decoration: none;
  display: block;
  position: relative;
  padding: 7px 0;
}
.geomaps__register--wrapper ul li ul {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  -webkit-transition: all 500ms ease-in-out 0s;
  -moz-transition: all 500ms ease-in-out 0s;
  -ms-transition: all 500ms ease-in-out 0s;
  -o-transition: all 500ms ease-in-out 0s;
  transition: all 500ms ease-in-out 0s;
}
.geomaps__register .shift-left {
  margin-left: -100%;
  margin-right: 100%;
}
@media only screen and (min-width: 768px) {
  .geomaps__register--right {
    margin-left: 0;
    margin-right: 6%;
    right: 0;
  }
}
@media only screen and (min-width: 768px) {
  .geomaps__register--navigation {
    max-width: 160px;
  }
}
.geomaps__register--navigation .active > a,
.geomaps__register--navigation .geomaps__register--countries.active,
.geomaps__register--navigation a:hover {
  text-decoration: none;
  color: var(--geomaps-linkhovercolor);
}
.geomaps__register--navigation.not-visible {
  visibility: hidden;
  display: none;
}
.geomaps__register--reset.active a::before, .geomaps__register--reset a:hover::before,
.geomaps__register .active .geomaps__register--continents::before, .geomaps__register--continents:hover::before, .geomaps__register--countries:hover::before, .geomaps__register--countries.active::before, .geomaps__register--backlink::before {
  background: url("../Icons/geofacts_arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  position: absolute;
  width: 9px;
  content: "";
  height: 10px;
  left: -5px;
  margin-top: 3px;
}
.geomaps__register--backlink::before {
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  left: -8px;
}
.geomaps__register {
  /* register direction (zoom) */
}
.geomaps__register--directions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  order: 1;
}
.geomaps__register--directions--zoom {
  padding: 0;
  margin: 0 5px;
  text-align: center;
}
.geomaps__register--directions--zoom a {
  color: var(--geomaps-linkhovercolor);
  background-color: var(--geomaps-bgcolor);
  width: 25px;
  height: 25px;
  font-size: 1.5rem;
  display: inline-block;
  line-height: 1;
  padding: 0 !important;
}
.geomaps__register--directions--zoom a:hover {
  text-decoration: none;
  background-color: var(--geomaps-linkhovercolor);
  color: var(--geomaps-bgcolor);
}
.geomaps__register--directions {
  /* register pagination (prev/next) */
}
.geomaps__register--directions--pagination {
  padding: 0;
  margin: 0 5px;
}
.geomaps__register--directions--pagination a {
  color: var(--geomaps-linkhovercolor);
  border: 1px solid #d4d4d4;
  width: 20px;
  height: 25px;
  font-size: 0.8rem;
  display: inline-block;
  padding: 0;
}
.geomaps__register--directions--pagination a:hover {
  text-decoration: none;
  background-color: #d4d4d4;
  color: #fff;
}

/* legend */
.geomaps__legend {
  margin: 10px 0 10px 10px;
}
.geomaps__legend span {
  display: inline-block;
  position: relative;
  margin: 3px 25px;
  font-size: 0.85rem;
  min-width: 13px;
}
.geomaps__legend span::before, .geomaps__legend span::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 4px;
  height: 13px;
  width: 13px;
  background: transparent;
  border-radius: 1000px;
}
.geomaps__legend span.legend-crunch::before {
  background: var(--geomaps-crunchColor);
}
.geomaps__legend span.legend-project::before {
  background: var(--geomaps-projectColor);
}
.geomaps__legend span.legend-crisis::before {
  background: repeating-linear-gradient(-45deg, var(--geomaps-crisisColor), var(--geomaps-crisisColor) 3px, var(--geomaps-crunchColor) 5px, var(--geomaps-crunchColor) 7px);
  border: 1px solid var(--geomaps-crunchColor);
}
.geomaps__legend span.legend-tiffany::before {
  background: var(--geomaps-tiffanyColor);
}

/* tooltip */
.tooltip {
  display: none;
  opacity: 0;
}
@media only screen and (min-width: 768px) {
  .tooltip {
    display: inline-block;
    position: absolute;
    text-align: center;
    width: auto;
    padding: 3px 6px;
    margin-top: 0;
    background-color: #fff;
    color: #808080;
    font-size: 0.9rem;
    pointer-events: none;
    border: 1px solid #d4d4d4;
    -webkit-transition: opacity 300ms ease 0s;
    -moz-transition: opacity 300ms ease 0s;
    -ms-transition: opacity 300ms ease 0s;
    -o-transition: opacity 300ms ease 0s;
    transition: opacity 300ms ease 0s;
  }
  .tooltip.is-active {
    opacity: 1;
  }
}

.popuptip {
  position: absolute;
  top: 20px;
  right: 1%;
  border: 1px solid #808080;
  background: #fff;
  max-width: 35%;
  padding: 3px 6px;
  font-size: calc(var(--geomaps-popfontsize) + 0.9rem);
  line-height: 1;
  opacity: 0;
}
.popuptip.is-active {
  opacity: 1;
}
.popuptip--title {
  display: block;
}
.popuptip--media {
  width: auto;
  max-width: 40%;
  float: left;
  margin: 5px 10px 10px 0;
}
.popuptip--description {
  max-width: 55%;
  float: right;
  clear: right;
}

/* responsive detail popup */
.geomap__popup--mobile {
  display: none;
  width: 100%;
  height: 0;
  border: 1px solid #d4d4d4;
  margin-bottom: 1rem;
}
.geomap__popup--mobile.is-active {
  display: inline-block;
  height: auto;
}
.geomap__popup--mobile.is-active .geomap__popup--block {
  width: 100%;
}
.geomap__popup {
  display: none;
}
@media only screen and (min-width: 768px) {
  .geomap__popup {
    display: inline-block;
    position: absolute;
    right: -6%;
    top: -2rem;
    padding: 2rem 6% 0 0;
    max-width: 40%;
    height: 120%;
    width: 0;
    opacity: 0;
    margin-bottom: 0.5rem;
    background: rgb(255, 255, 255);
    border: 0 solid transparent;
    background: -moz-linear-gradient(-90deg, rgb(255, 255, 255) 33%, rgba(255, 255, 255, 0.5) 100%);
    background: -webkit-linear-gradient(-90deg, rgb(255, 255, 255) 33%, rgba(255, 255, 255, 0.5) 100%);
    background: linear-gradient(-90deg, rgb(255, 255, 255) 33%, rgba(255, 255, 255, 0.5) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
    z-index: 2;
    -webkit-transition: width 600ms ease 0s;
    -moz-transition: width 600ms ease 0s;
    -ms-transition: width 600ms ease 0s;
    -o-transition: width 600ms ease 0s;
    transition: width 600ms ease 0s;
  }
  .geomap__popup.is-active {
    width: 500px;
    opacity: 1;
  }
}
.geomap__popup--block {
  display: none;
  padding: 15px;
  max-width: 400px;
  width: 400px;
  height: 0;
}
.geomap__popup--block.is-active {
  display: inline-block;
  height: auto;
}
@media only screen and (min-width: 768px) {
  .geomap__popup--block {
    opacity: 0;
    z-index: 3;
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    padding: 2rem 0 0 1rem;
    -webkit-transition: opacity 1200ms ease 0s;
    -moz-transition: opacity 1200ms ease 0s;
    -ms-transition: opacity 1200ms ease 0s;
    -o-transition: opacity 1200ms ease 0s;
    transition: opacity 1200ms ease 0s;
  }
  .geomap__popup--block.is-active {
    opacity: 1;
    z-index: 4;
  }
}
.geomap__popup--media {
  width: auto;
  margin: 5px 0 10px 0;
  max-width: 100%;
  height: auto;
}
@media only screen and (min-width: 768px) {
  .geomap__popup--media {
    width: auto;
    float: left;
    margin: 5px 10px 10px 0;
  }
}
.geomap__popup--point, .geomap__popup--crunch {
  display: inline-block;
  position: relative;
  margin: 0.25rem;
  font-size: 0.85rem;
  min-width: 13px;
  height: 13px;
  float: left;
  width: 13px;
  background: var(--geomaps-projectColor);
  border-radius: 13px;
}
.geomap__popup--crunch {
  background-color: var(--geomaps-crunchColor);
}
.geomap__popup--title {
  display: block;
}
@media only screen and (min-width: 768px) {
  .geomap__popup--title {
    font-size: 1.5rem;
    line-height: 1;
  }
}

/* facts */
@media only screen and (min-width: 768px) {
  .geomap__facts {
    max-width: 70%;
    margin: 0 auto 0;
    position: relative;
    z-index: 20;
  }
}
.geomap__facts ul {
  border-width: 1px;
  border-top-style: solid;
  border-left-style: solid;
  border-color: #d4d4d4;
  list-style: none;
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  justify-content: space-around;
  visibility: hidden;
  height: 0;
  -webkit-transition: all 300ms ease-in-out 0s;
  -moz-transition: all 300ms ease-in-out 0s;
  -ms-transition: all 300ms ease-in-out 0s;
  -o-transition: all 300ms ease-in-out 0s;
  transition: all 300ms ease-in-out 0s;
}
.geomap__facts ul li {
  display: block;
  width: 100%;
  flex-direction: column;
  text-align: center;
  padding: 6px;
  background-color: #fff;
  border-right: 1px solid #d4d4d4;
  flex: 1 1 auto;
  border-bottom: 1px solid #d4d4d4;
}
@media only screen and (min-width: 768px) {
  .geomap__facts ul li {
    width: auto;
    display: flex;
    padding: 15px;
    flex: 1;
  }
}
.geomap__facts--fact {
  color: var(--geomaps-factscolor);
  font-size: 25px;
  font-weight: 700;
  display: block;
}
@media only screen and (min-width: 768px) {
  .geomap__facts--fact {
    font-size: 30px;
    display: inline-block;
  }
}
.geomap__facts ul.is-visible {
  display: flex;
  visibility: visible;
  height: auto;
}

/*# sourceMappingURL=geofacts.css.map */
