.map-data-content {
  max-width: 100%;
  margin: 70px auto;
  padding: 50px 0;
  position: relative;
  border-top: 1px #ccc solid;
  border-bottom: 1px #ccc solid;
}
.map-data-content h3 {
  text-transform: none;
}
.chart-wrapper {
  padding: 0;
  margin: 0;
  position: relative;
}
.chart-wrapper h4 {
  font-size: 1.4em;
  line-height: 1.2;
  margin-top: 1em;
  margin-bottom: 0;
  text-align: center;
}
.map-container {
  margin: 0 60px;
}
@media (max-width: 575px) {
  .map-container {
    margin: 0;
  }
}
.map-container img {
  width: 100%;
}

/* custom radio */
.custom_radio {
  margin: 20px 0;
}
.custom_radio input[type="radio"] {
  display: none;
}
.custom_radio input[type="radio"] + label {
  position: relative;
  display: inline-block;
  padding-left: 1.5em;
  margin-right: 2em;
  cursor: pointer;
  line-height: 1em;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.custom_radio input[type="radio"] + label:before,
.custom_radio input[type="radio"] + label:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1em;
  height: 1em;
  text-align: center;
  color: white;
  font-family: Times;
  border-radius: 50%;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.custom_radio input[type="radio"] + label:before {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 0 0.2em white, inset 0 0 0 1em white;
}
.custom_radio input[type="radio"] + label:hover:before {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 0 0.3em white, inset 0 0 0 1em #c6c6c6;
}
.custom_radio input[type="radio"]:checked + label:before {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 0 0.2em white, inset 0 0 0 1em #f7941e;
}
.custom_radio input[type="radio"]:checked + label:before,
.custom_radio input[type="radio"]:not(:checked) + label:before {
  border: 1px solid #ddd;
}
/* custom radio end*/

.map-legend {
  max-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  margin-top: -50px;
}
.chart-wrapper.with-new-legend .map-legend {
  margin-top: 5px;
}
.chart-wrapper.with-new-legend .map-legend span {
  height:20px;
  text-align:center;
  width:160px;
}

@media (max-width: 575px) {
  .map-legend {
    margin-top: 25px;
  }
  .chart-wrapper.with-new-legend .map-legend {
    margin-top: 5px;
  }
}
.map-legend .lower {
  margin-right: 3%;
}
.map-legend .higher {
  margin-left: 3%;
}
.map-legend .map-graph {
  width: 50%;
  border-radius: 20px;
  height: 30px;
  background: #E06423;
  background: -webkit-linear-gradient(right, #E06423, #F7E7DE);
  background: -moz-linear-gradient(right, #E06423, #F7E7DE);
  background: linear-gradient(to left, #E06423, #F7E7DE);
}
.map-container.two-colored-map-wrapper {
  margin: 0;
}
.map-container.two-colored-map-wrapper #map #map_holder {
  margin: 0 auto;
}
.humanitarian-map-data-content .two-colored-map-wrapper .map-legend {
  display: block;
}
.two-colored-map-wrapper .map-legend {
  margin-top: 0;
}
.two-colored-map-wrapper .map-legend .map-graph {
  background: transparent;
}
.two-colored-map-wrapper .map-legend .map-graph span {
  display: inline-block;
  height: 100%;
  width: 50%;
}
.two-colored-map-wrapper .map-legend .map-graph span.low-level {
  background: #f8941d;
}
.two-colored-map-wrapper .map-legend .map-graph span.high-level {
  background: #4b8bcd;
}
@media (max-width: 575px) {
  #map_inner #tt_sm_map {
    position: absolute !important;
    bottom: auto !important;
    top: 15px !important;
    left: 55% !important;
    right: auto !important;
    transform: translate(-50%, 0) !important;
  }
}
.project-page article .bottom-description {
  margin-top: 35px;
}
.project-page article .bottom-description p {
  color: #252525;
  font-size: 14px;
  margin: 0;
  padding: 0 0 5px 0;
}

/*Map legend css added */
.humanitarian-map-data-content ul.map-legend-descr {
  margin-top: 20px;
}
.humanitarian-map-data-content {
  max-width: 100%;
  margin: 20px auto;
  padding: 30px 0 50px 0;
  position: relative;
  border-top: 1px #ccc solid;
  border-bottom: 1px #ccc solid;
}

.map-legend-descr.h-funding li {
  padding-left: 20px;
  position: relative;
  font-size: 14px;
}
.map-legend-descr.h-funding li::after {
  content: '';
  width: 12px;
  height: 12px;
  background-color: #4b8bcd;
  position: absolute;
  left: 0;
  top: 5px;
}
.map-legend-descr.h-funding li:nth-child(2)::after {
  background-color: #f8941d;
}
.page-node-type-ct-topics .chart-wrapper .bottom-btn {
  position: relative;
}
