


.map_page {
    padding: 50px 0 50px 0;
}


.map_box{
  width: 1400px;
  margin: 0 auto;
  max-width: 90%;
}


.map_box .text_box{
  width: 900px;
  margin: 0 auto;
  max-width: 90%;
  text-align: center;
  margin-bottom: 20px;
}


.map_container {
  padding-top: 20px;
  height: auto;
  width: 100%;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  background-color: #FFF;
  justify-content: space-between;
  font-family: "Noto Sans TC", sans-serif;
  align-items: flex-start;
}



.map-taiwan {
  width: 1000px;
  max-width: calc(100% - 300px);
  margin: 0;
  position: relative;
}

.foreign_box{
  position: absolute;
    /*bottom: 10%;*/
    top: 76%;
    left: 12%;
    z-index: 1;
    border: 1px #c6ded5 solid;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 20px;
    align-items: center;
    cursor: pointer;
    transition: .3s;
    color: #333;
    height: 140px;
    overflow: hidden;
}

.foreign_box h2{
  font-size: 14px;
  margin: 0;
  font-weight: 600;
  color: #333;

}

.foreign_box img {
    width: 70px;
    transition: .3s;
}


.foreign_box .hover_box{
  padding: 10px 10px;
  border:1px #188f61 solid;
  border-radius: 5px;
  position: absolute;
  background-color: #fff;
  width: 130px;
  text-align: center;
    transform: translateX(-50%);
    left: 50%;
    bottom: calc(100% + 10px);
    display: none;
}

.foreign_box .hover_box h3{
  font-size:18px;
  color:#000000;
  font-weight: 600;
}

.foreign_box .hover_box h3 span{
  font-size: 12px;
  font-weight: 400;
}

.foreign_box:hover{
  border: 1px #e46f41 solid;
  height: 173px;

}

.foreign_box:hover .foreign_num{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.foreign_box:hover img{
  opacity: .8;
}

.foreign_box:hover h2,
.foreign_box:hover .foreign_num{
  color: #333;
}




.foreign_num{
  font-size: 14px;
  font-weight: 400;
  color: #333;
  line-height: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .5s;
}

.foreign_num span{
  font-size:24px;
  color:#e50027;
  font-weight: 400;
}

















.map-table {
  width: 300px;
  margin: 0;
}



/* area-table */
.area-table {
  width: 100%;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  border: none;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 0 10px #ddd;
}
.area-table thead th {
  background-color: #2fb782;
  font-size: 18px;
  padding: 15px 5px;
  /*border: 1px solid #aaa;*/
  color: #fff;
  font-weight: 700;
}

.area-table tbody tr{
  /*border-bottom: 1px #eee solid;*/
}

.area-table tbody tr:nth-child(even){
  background-color: #eef6f3;
}

.area-table tbody td {
  padding: 10px 5px;
}

.area-table tbody td:nth-child(1) {
  font-weight: 700;
}




.loading {
  margin-top: 10em;
  text-align: center;
  color: gray;
}

.label {
 z-index: 1!important;
}

.highcharts-tooltip span {
/*       border:1px solid green; */
  text-align:center;
}

.tooltip {
    padding:0px;
}

.tooltip::before {
  left: 45%;
  bottom: -20px;
  border-top: 10px solid #444;
}





@media screen and (max-width: 1250px) {
  .map-table {
      width: 200px;
  }

  .area-table thead th {
    font-size: 14px;
    padding: 12px 5px;
}


  .map-taiwan {
    max-width: calc(100% - 220px);
}

}

@media screen and (max-width: 991px) {

  .map_container {
    flex-direction: column-reverse;
    align-items: center;
    gap: 50px;
}


  .map-table {
      width: 100%;
  }

  .map-taiwan {
    width: 800px;
    max-width: 105%;
  }

  .foreign_box {
    gap: 5px;
    padding: 12px 15px;
    border-radius: 10px;
    transition: .3s;
}

.foreign_box img {
    width: 50px;
}


.foreign_box{
  height: 105px;

}

.foreign_box:hover{
  height: 125px;

}

  
}




@media screen and (max-width: 500px) {

  .foreign_box {
    padding: 8px 10px;
  }

.foreign_box img {
    width: 40px;
}

.foreign_box h2 {
    font-size: 13px;
}

.foreign_box{
  height: 85px;

}

.foreign_box:hover{
  height: 105px;

}


}










