.ref_infographic_wrapper {
    position: relative;
    padding: 0px 0 4.5% 0;
    margin: 0;
}
.ref_infographic_wrapper h1{
    margin: 0 5% 20px 5%;
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    color:#6F9F25;
}

.ref_map_wrapper{
  position: relative;
  width:80%;
  max-width:1400px;
  margin: 0 auto;
}

img#ref-world-map{
    position: relative;
    width: 100%;
    margin: 0 auto;
    display: block;
    z-index: 10;
}

.ref_map_item{
  position:absolute;
  z-index: 12;
  width: 112px;
  color: #6F9F25;
  text-align: center;
}
.ref_map_item h3{
      margin: 6px 0;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
}
.ref_map_item_count{
  font-size: 34px;
    font-weight: 700;
}
#ref_map_item_africa {
    left: 60%;
    top: 56%;
}
#ref_map_item_europe {
    left: 34%;
    top: 26%;
}
#ref_map_item_apac {
    left: 88%;
    top: 40%;
}
#ref_map_item_amcs {
    left: 27%;
    top: 78%;
}
#ref_map_item_amn {
    left: -1%;
    top: 35%;
}
a.ref_map_item_detail{
    background-position: 50% 0;
    background-repeat: no-repeat;
    padding-top: 15px;
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #787878;
}
a.ref_map_item_detail:hover{
  color:#6F9F25;

}

.ref_filter_wrapper {
    margin: 0 auto 20px;
    width: 94%;
    text-align: center;
}

a.ref_filter_item {
    font-size: 16px;
    position: relative;
    font-weight: 500;
    color: #003359;
    margin: 5px;
    padding: 11px 20px 11px 50px;
    background-color: #F3F3F3;
    display: inline-block;
}
a.ref_filter_item:first-child {
    
    padding: 11px 20px 11px 20px;
}

a.ref_filter_item i {
    position: absolute;
    display: inline-block;
    font-size: 28px;
    top: 10px;
    left: 14px;
}

a.ref_filter_item.active, a.ref_filter_item:hover {
    background-color: #6F9F25;
    color: #fff;
}

.ref_map_item i {
   margin-left: -14px;
    left: 50%;
    top: -32px;
    position: absolute;
    font-size: 30px;
}

.popup_ref_det_items_wrapper {
    display: flex;
}
.popup_ref_det_items {
    flex-grow: 1;
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.popup_ref_det_item {
    padding: 20px;
    font-weight: bold;
    width: 160px;
    text-align: center;
    background: #f3f3f3;
}

.popup_ref_det_country {
    font-weight: 500;
    font-size: 18px;
    line-height: 1em;
}

.popup_ref_det_count {
    font-size: 20px;
    margin-top: 6px;
    color: #6F9F25;
}

.popup_ref h2{

  font-size: 26px;
  font-weight: 500;
  text-align: center;
  color:#6F9F25;
}


.ref_infographic_content {
    display: flex;
    flex-direction: column;
}

@media only screen and (max-width: 995px) {

    .ref_infographic_wrapper h1{
        font-size: 28px;
    }

    .ref_filter_wrapper{

      order:2;
      margin-top: 30px;

    }


    .ref_map_item h3{
          margin: 4px 0;
        padding: 0;
        font-size: 14px;
        font-weight: 400;
    }
    .ref_map_item_count{
      font-size: 28px;
        font-weight: 700;
    }
    #ref_map_item_africa {
        left: 60%;
        top: 56%;
    }
    #ref_map_item_europe {
        left: 29%;
        top: 23%;
    }
    #ref_map_item_apac {
        left: 88%;
        top: 36%;
    }
    #ref_map_item_amcs {
        left: 27%;
        top: 74%;
    }
    #ref_map_item_amn {
        left: -6%;
        top: 35%;
    }

}

@media only screen and (max-width: 600px) {

.ref_infographic_wrapper h1{
    font-size: 22px;
}

  .ref_map_items {
    margin-top: 30px;
    flex-grow: 1;
    gap: 24px 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


  .ref_map_item {
    width: 30%;
    position: relative;
    top: 0!important;
    left: 0!important;
  }

  .ref_map_item i {
    margin-left: -13px;
    left: 50%;
    top: -24px;
    position: absolute;
    font-size: 25px;
  }

}
