@font-face {
  font-family: "Skolar Sans PE";
  src: url("https://docs.rferl.org/Branding/CDN/Apollo_Framework/2.0/dist/assets/fonts/SkolarSans_Regular.woff2") format("woff2"), url("https://docs.rferl.org/Branding/CDN/Apollo_Framework/2.0/dist/assets/fonts/SkolarSans_Regular.woff") format("woff");
  font-weight: 400;
}

@font-face {
  font-family: "Skolar Sans PE";
  src: url("https://docs.rferl.org/Branding/CDN/Apollo_Framework/2.0/dist/assets/fonts/SkolarSans_Bold.woff2") format("woff2"), url("https://docs.rferl.org/Branding/CDN/Apollo_Framework/2.0/dist/assets/fonts/SkolarSans_Bold.woff") format("woff");
  font-weight: 700;
}

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Skolar Sans PE", Arial;
}

/* maps */
.mapContainer {
  position: relative;
  background-color: #DEDEDE;
  max-width: 968px;
  margin: 0 auto;
  font-size:16px;
  line-height:1.25;
}

.mapBosnia {
  background: #F1F0EF;
  padding-top: 48px;
  padding-right: 25%;
}
@media(max-width:740px){
  .mapBosnia{
    padding-right:0;
  }
}

.brcko {
  fill: #99440A;
  stroke: #A2A9AE;
}

.federation {
  fill: #BB5402;
  stroke: #A2A9AE;
}

.republic {
  fill: #EE8735;
  stroke: #A2A9AE;
}

.others {
  fill: #DEDEDE;
  stroke: #A2A9AE;
}

.labelMap0 {
  position: absolute;
  font-size: 19px;
  color: #333;
  text-align: center;
  text-transform: uppercase;
}

.labelMap1 {
  position: absolute;
  font-size: 19px;
  color: #333;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.labelMap1_1 { top: 48%; left: 30%; right: 48%; }
.labelMap1_2 { top: 21%; left: 53%; right: 36%; }
.labelMap1_3 { top: 50%; left: 54%; right: 32%; }
.labelMap1_4 { top: 20%; left: 20%; right: 54%; }
@media(max-width:740px){
  .labelMap1 {
    font-size:18px;
  }
  .labelMap1_1 { top: 51%; left: 38%; right: 30%; }
  .labelMap1_2 { top: 21%; left: 70%; right: 14%; }
  .labelMap1_3 { top: 72%; left: 55%; right: 10%; }
  .labelMap1_4 { top: 21%; left: 25%; right: 41%; }
}

.labelMap2 {
  position: absolute;
  font-size: 17px;
  color: #333;
  text-align: center;
  cursor: pointer;
}

.labelMap2_1 { top: 50%; left: 18%; right: 68%; }
.labelMap2_2 { top: 68%; left: 29%; right: 55%; }
.labelMap2_3 { top: 56%; left: 41%; right: 45%; }
.labelMap2_4 { top: 41%; left: 31%; right: 48%; }
.labelMap2_5 { top: 31%; left: 50%; right: 38%; }
.labelMap2_6 { top: 17%; left: 18%; right: 61%; }
.labelMap2_7 { top: 17%; left: 38%; right: 47%; }
.labelMap2_8 { top: 75%; left: 42%; right: 42%; }

@media(max-width:740px){
  .labelMap2{
    font-size:15px;
  }
  .labelMap2_1 { top: 52%; left: 20%; right: 60%; }
  .labelMap2_2 { top: 68%; left: 39%; right: 42%; }
  .labelMap2_3 { top: 56%; left: 59%; right: 19%; }
  .labelMap2_4 { top: 43%; left: 41%; right: 32%; }
  .labelMap2_5 { top: 31%; left: 63%; right: 18%; }
  .labelMap2_6 { top: 20%; left: 26%; right: 47%; }
  .labelMap2_7 { top: 19%; left: 52%; right: 29%; }
  .labelMap2_8 { top: 74%; left: 56%; right: 22%; }
}

.labelMap3 {
  position: absolute;
  font-size: 15px;
  color: #333;
  text-align: center;
  cursor: pointer;
}

.labelMap3_1 { top: 24%; left: 3%; right: 80%; }
.labelMap3_2 { top: 19%; left: 53%; right: 36%; }
.labelMap3_3 { top: 27%; left: 50%; right: 40%; }
.labelMap3_4 { top: 35%; left: 50%; right: 38%; }
.labelMap3_5 { top: 34%; left: 41%; right: 49%; }
.labelMap3_6 { top: 42%; left: 44%; right: 44%; }
.labelMap3_7 { top: 57%; left: 43%; right: 46%; }
.labelMap3_8 { top: 44%; left: 28%; right: 56%; }
.labelMap3_9 { top: 62%; left: 36%; right: 53%; }
.labelMap3_10 { top: 68%; left: 29%; right: 62%; }
.labelMap3_11 { top: 49%; left: 46%; right: 43%; }
.labelMap3_12 { top: 50%; left: 18%; right: 68%; }
.labelMap3_13 { top: 12%; left: 11%; right: 76%; }
.labelMap3_14 { top: 12%; left: 26%; right: 60%; }
.labelMap3_15 { top: 27%; left: 22%; right: 65%; }
.labelMap3_16 { top: 13%; left: 41%; right: 51%; }
.labelMap3_17 { top: 23%; left: 36%; right: 51%; }
.labelMap3_18 { top: 23%; left: 59%; right: 30%; }
.labelMap3_19 { top: 40%; left: 57%; right: 30%; }
.labelMap3_20 { top: 51%; left: 54%; right: 33%; }
.labelMap3_21 { top: 73%; left: 43%; right: 42%; }

.smallerLabel{
    display:none;
}

@media(max-width:740px){
    .labelMap3{
      font-size:12px;
    }
    .labelMap3_1 { top: 26%; left: 7%; right: 73%; }
    .labelMap3_2 { top: 19%; left: 73%; right: 16%; }
    .labelMap3_3 { top: 27%; left: 69%; right: 22%; }
    .labelMap3_4 { top: 35%; left: 68%; right: 19%; }
    .labelMap3_5 { top: 34%; left: 55%; right: 33%; }
    .labelMap3_6 { top: 42%; left: 60%; right: 27%; }
    .labelMap3_7 { top: 57%; left: 58%; right: 30%; }
    .labelMap3_8 { top: 44%; left: 40%; right: 45%; }
    .labelMap3_9 { top: 62%; left: 48%; right: 37%; }
    .labelMap3_10 { top: 68%; left: 40%; right: 51%; }
    .labelMap3_11 { top: 49%; left: 64%; right: 25%; }
    .labelMap3_12 { top: 50%; left: 24%; right: 61%; }
    .labelMap3_13 { top: 12%; left: 17%; right: 69%; }
    .labelMap3_14 { top: 14%; left: 32%; right: 48%; }
    .labelMap3_15 { top: 27%; left: 29%; right: 54%; }
    .labelMap3_16 { top: 13%; left: 52%; right: 31%; }
    .labelMap3_17 { top: 23%; left: 51%; right: 38%; }
    .labelMap3_18 { top: 23%; left: 82%; right: 8%; }
    .labelMap3_19 { top: 40%; left: 76%; right: 7%; }
    .labelMap3_20 { top: 51%; left: 72%; right: 11%; }
    .labelMap3_21 { top: 73%; left: 59%; right: 24%; }
}
@media(max-width:532px){
  .labelMap3{
    font-size:15px;
  }
  .biggerLabel{
      display: none;
  }
  .smallerLabel{
      display: block;
  }
  .labelMap3_1 { top: 39%; }
  .labelMap3_2 { top: 24%; }
  .labelMap3_3 { top: 31%; }
  .labelMap3_4 { top: 40%; }
  .labelMap3_5 { top: 37%; }
  .labelMap3_6 { top: 46%; }
  .labelMap3_7 { top: 59%; }
  .labelMap3_8 { top: 48%; }
  .labelMap3_9 { top: 64%; }
  .labelMap3_10 { top: 70%; }
  .labelMap3_11 { top: 52%; }
  .labelMap3_12 { top: 54%; }
  .labelMap3_13 { top: 18%; }
  .labelMap3_14 { top: 20%; }
  .labelMap3_15 { top: 31%; }
  .labelMap3_16 { top: 19%; }
  .labelMap3_17 { top: 27%; }
  .labelMap3_18 { top: 27%; }
  .labelMap3_19 { top: 43%; }
  .labelMap3_20 { top: 53%; }
  .labelMap3_21 { top: 75%; }

}

.labelMap4 {
  position: absolute;
  font-size: 15px;
  color: #333;
  text-align: center;
  cursor: pointer;
}
.labelMap4_1 { top: 24%; left: 3%; right: 80%; }
.labelMap4_2 { top: 10%; left: 48%; right: 39%; }
.labelMap4_3 { top: 32%; left: 49%; right: 37%; }
.labelMap4_4 { top: 39%; left: 39%; right: 46%; }
.labelMap4_5 { top: 58%; left: 56%; right: 36%; }
.labelMap4_6 { top: 46%; left: 29%; right: 57%; }
.labelMap4_7 { top: 62%; left: 35%; right: 52%; }
.labelMap4_8 { top: 69%; left: 25%; right: 60%; }
.labelMap4_9 { top: 56%; left: 44%; right: 48%; }
.labelMap4_10 { top: 51%; left: 16%; right: 69%; }

@media(max-width:740px){
    .labelMap4 {
      font-size:14px;
      line-height:15px;
    }
    .labelMap4_1 { top: 24%; left: 7%; right: 74%; }
    .labelMap4_2 { top: 10%; left: 63%; right: 20%; }
    .labelMap4_3 { top: 32%; left: 65%; right: 15%; }
    .labelMap4_4 { top: 39%; left: 53%; right: 28%; }
    .labelMap4_5 { top: 60%; left: 70%; right: 12%; }
    .labelMap4_6 { top: 46%; left: 40%; right: 43%; }
    .labelMap4_7 { top: 62%; left: 48%; right: 35%; }
    .labelMap4_8 { top: 70%; left: 35%; right: 46%; }
    .labelMap4_9 { top: 54%; left: 55%; right: 29%; }
    .labelMap4_10 { top: 51%; left: 2%; right: 59%; }
}
@media(max-width:532px){
  .labelMap4 {
    font-size:13px;
    line-height:14px;
  }
  .labelMap4_1 { top: 28%; left: 3%; right: 71%; }

  .labelMap4_4 { top: 39%; left: 49%; right: 24%; }
  .labelMap4_5 { top: 59%; left: 70%; right: 2%; }
  .labelMap4_6 { top: 47%; left: 34%; right: 47%; }
  .labelMap4_7 { top: 62%; left: 38%; right: 27%; }
  .labelMap4_8 { top: 72%; left: 27%; right: 39%; }
  .labelMap4_9 { top: 54%; left: 57%; right: 29%; }
  .labelMap4_10 { top: 54%; left: 22%; right: 59%; }
}

.areaPointer {
  cursor: pointer;
  transition: opacity .2s;
}

.areaPointer:hover {
  /*stroke: #222;
    z-index: 200;*/
  opacity: 0.8;
  transition: opacity .2s;
}

.areaPointerHover {
  /*stroke: #222;
    z-index: 200;*/
  opacity: 0.8;
  z-index: 200;
  transition: opacity .2s;
}

.menuTopicContainer {
  position: absolute;
  right: 4px;
  top: 4px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  cursor: pointer;
}

.menuTopic {
  position: relative;
  background: #7F7F7F;
  color: white;
  margin-left: 4px;
  padding: 12px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
  border-radius: 2px;
}

.menuTopic:hover {
  opacity: 0.7;
  transition: opacity .2s;
}

.menuTopicActive {
  background: #EA6903;
}

@media(max-width: 492px){
  .menuTopic{
    font-size: 14px;
    padding: 8px;
  }
}
@media(max-width: 408px){
  .menuTopicContainer{
    display:flex;
    justify-content: space-between;
    top:2px;
    right:2px;
    left:2px;
  }
  .menuTopic{
    font-size: 12px;
    padding: 6px;
    margin-left: 2px;
  }
}

.infoBoxContainer {
  position: absolute;
  display: flex;
  flex-direction: column-reverse;
  bottom: 4px;
  right: 4px;
  width: 28%;
  top: 132px;
}
.infoBoxContainerB{
  display:none;
  position:relative;
  flex-direction: column-reverse;
  font-size:16px;
  line-height:1.3;
}
@media(max-width:740px){
  .infoBoxContainer {
    display: none;
  }
  .infoBoxContainerB{
    display: flex
  }
}

.infoBoxInner {
  display: none;
  height: 100%;
  overflow-y: auto;
  background: #DDD;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
  border-radius: 2px;
}
.infoBoxInnerB {
  display: none;
  height: 100%;
  overflow-y: auto;
  background: #DDD;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
  border-radius: 2px;
}

.infoBoxInnerActive {
  display: block;
}

.infoBoxContainer h1, .infoBoxContainerB h1 {
  font-family: "Skolar Sans PE", Arial;
  font-size: 20px;
  line-height:1.25;
  font-weight: bold;
  margin: 0;
  padding: 12px 12px 8px 12px;
}

.infoBoxContainer p, .infoBoxContainerB p {
  margin: 0;
  padding: 8px 12px;
}

.infoBoxContainer .line, .infoBoxContainerB .line {
  height: 1px;
  margin: 0px 12px;
  background-color: #BBB;
}

.infoBoxContainer p a, .infoBoxContainer p a {
  color: #EA6903;
}

.infoBoxHelp {
  position: absolute;
  bottom: 100%;
  margin-bottom: 4px;
  background: #7F7F7F;
  color: white;
  text-align: center;
  padding: 8px 12px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
  border-radius: 2px;
}
.infoBoxHelpB {
  position: absolute;
  bottom: 100%;
  margin-bottom: 4px;
  background: #7F7F7F;
  color: white;
  text-align: center;
  padding: 8px 12px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
  border-radius: 2px;
}

.infoPopupContainer {
  position: absolute;
  display: none;
  top: 50%;
  left: 50%;
  max-width: 32%;
  padding: 12px 32px 12px 12px;
  transform: translate(-50%, -50%);
  background: white;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}
@media(max-width:740px){
  .infoPopupContainer {
    left: 30%;
    max-width:70%;
    transform: translate(-20%, -50%);
  }
}

.infoPopupVisible {
  display: block;
}

.infoPopup {
  display: none;
}

.infoPopupActive {
  display: block;
}

.close {
  position: absolute;
  right: 8px;
  top: 0px;
  font-size: 32px;
  color: black;
  cursor: pointer;
}

.close:hover {
  color: #EA6903;
  transition: all .2s;
}
