.ktkn-tooltip.tooltip {
  z-index: 9999 !important;
}
.ktkn-tooltip .tooltip-inner {
  max-width: 400px !important;
  text-align: left !important;
}

.ktkn-tooltip .tooltip-inner ul {
  display: flex;
  margin: 0px;
  padding: 0px;
}

.ktkn-tooltip .tooltip-inner li {
  list-style: none;
  max-width: 260px;
}
.popover-body {
  max-height: 400px;
  overflow-y: auto;
}

/*   ポップアップレイヤー 鉄道  */
.ktkn-popover .ktkn-popover-unkyu .ktkn-popover-header::before {
  background-color: #ec0b06;
}

.ktkn-popover .ktkn-popover-chien .ktkn-popover-header::before {
  background-color: var(--bs-yellow);
}

.ktkn-popover .ktkn-popover-heijo .ktkn-popover-header::before {
  background-color: '#aaa' !important;
}

.ktkn-popover .ktkn-popover-unten-keikaku .ktkn-popover-header::before {
  background-color: rgba(0, 32, 99, 1);
}

.ktkn-popover .ktkn-popover-header::after {
  /* content: url("assets/img/pict-train-white.svg");*/
  display: block;
  position: absolute;
  width: 18px;
  height: 18px;
  left: 9px;
  top: 7px;
}
.ktkn-popover .ktkn-popover-unkyu .ktkn-popover-header::after {
  content: url("assets/img/pict-train-white.svg");
}
.ktkn-popover .ktkn-popover-chien .ktkn-popover-header::after {
  content: url("assets/img/pict-train.svg");
}

.ktkn-popover .ktkn-popover-heijo .ktkn-popover-header::after {
  content: url("assets/img/pict-train.svg");
}

.ktkn-popover .ktkn-popover-body{
  /* padding: 8px 8px 8px 44px !important; */
  padding: 8px 8px !important;
  background-repeat: no-repeat;
  background-position: 10px 14px;
}
.ktkn-popover .ktkn-popover-unkyu .ktkn-popover-body{
  background-image: url("assets/img/pict-status-batsu.svg");
  background-size: 22px 22px;
}
.ktkn-popover .ktkn-popover-chien .ktkn-popover-body{
  background-image: url("assets/img/pict-status-sankaku-sy.svg");
  background-size: 26px 26px;
}

/*   ポップアップレイヤー 災害情報  */
.ktkn-popover .kt-map-popup-saigai {
  max-width: 330px; /*  max wi 276px;  */
  width: 330px;
}

.ktkn-popover .kt-popup-saigai-repo-no {
  background-color: #da2571;
  color: #fff;
  font-weight: bold;
  padding: 3px 12px;
  border-radius: 15px;
}

.ktkn-popover .kt-popup-saigai-repo-no[data-kt-repo-num="1"], .ktkn-popover .kt-popup-saigai-repo-no[data-kt-repo-num="2"], .ktkn-popover .kt-popup-saigai-repo-no[data-kt-repo-num="3"], .ktkn-popover .kt-popup-saigai-repo-no[data-kt-repo-num="4"] {
  background-color: #113289;
}

.kt-popup-saigai-repo-no i {
  font-size: .75rem;
  font-style: normal;
}
.ktkn-twitter-tweet {
  min-height: 300px;
}

.kt-map-popup-saigai .ktkn-popover-header::after {
  content: url("assets/img/pict-ichiji-taizai-w.svg");
  display: block;
  position: absolute;
  width: 18px;
  height: 18px;
  left: 9px;
  top: 7px;
}

.kt-map-popup-saigai[data-kt-saigai-category="気象・災害"] .ktkn-popover-header::before {
  background-color: #003f81;
}

.kt-map-popup-saigai[data-kt-saigai-category="火災"] .ktkn-popover-header::before {
  background-color: #b40005;
}

.kt-map-popup-saigai[data-kt-saigai-category="事故"] .ktkn-popover-header::before {
  background-color: #285b1d;
}

.kt-map-popup-saigai[data-kt-saigai-category="事件"] .ktkn-popover-header::before {
  background-color: #cc4500;
}

.kt-map-popup-saigai[data-kt-saigai-category="混雑状況"] .ktkn-popover-header::before {
  background-color: #006071;
}

.kt-map-popup-saigai[data-kt-saigai-category="生活基盤"] .ktkn-popover-header::before {
  background-color: #b3196e;
}

.kt-map-popup-saigai[data-kt-saigai-category="その他"] .ktkn-popover-header::before {
  background-color: #4c4c4c;
}

.kt-map-popup-saigai[data-kt-saigai-category="気象・災害"] .ktkn-popover-header::after {
  content: url("assets/img/pict-popup-kisyo.svg");
  margin-left: -2px;
}

.kt-map-popup-saigai[data-kt-saigai-category="火災"] .ktkn-popover-header::after {
  content: url("assets/img/pict-popup-kasai.svg");
}

.kt-map-popup-saigai[data-kt-saigai-category="事故"] .ktkn-popover-header::after {
  content: url("assets/img/pict-popup-jiko.svg");
  margin-left: -2px;
}

.kt-map-popup-saigai[data-kt-saigai-category="事件"] .ktkn-popover-header::after {
  content: url("assets/img/pict-popup-jiken.svg");
  margin-left: -2px;
}

.kt-map-popup-saigai[data-kt-saigai-category="混雑状況"] .ktkn-popover-header::after {
  content: url("assets/img/pict-popup-konzatu.svg");
}

.kt-map-popup-saigai[data-kt-saigai-category="生活基盤"] .ktkn-popover-header::after {
  content: url("assets/img/pict-popup-seikatu.svg");
  margin-left: -2px;
}

.kt-map-popup-saigai[data-kt-saigai-category="その他"] .ktkn-popover-header::after {
  content: url("assets/img/pict-popup-sonota.svg");
  margin-left: 5px;
}
/*   ポップアップレイヤー 一時滞在施設  */
.ktkn-popover .kt-map-popup-ichijitaizai {
  min-width: 330px;
}

.kt-map-popup-ichijitaizai[data-kt-status="閉鎖"] .ktkn-popover-header::before,
.kt-map-popup-ichijitaizai[data-kt-status="開設要請中"] .ktkn-popover-header::before,
.kt-map-popup-ichijitaizai[data-kt-status="開設要請依頼中"] .ktkn-popover-header::before {
  background-color: #666;
}

.kt-map-popup-ichijitaizai[data-kt-status="開設"] .ktkn-popover-header::before {
  background-color: #00ac9d;
}

.kt-map-popup-ichijitaizai[data-kt-status="開設"][data-kt-ukeire="受入不可"] .ktkn-popover-header::before {
  background-color: #d00000;
}

.kt-map-popup-ichijitaizai[data-kt-status="開設不可"] .ktkn-popover-header::before {
  background-color: #cbcbcb;
}

.kt-map-popup-ichijitaizai .ktkn-popover-header::after {
  content: url("assets/img/pict-ichiji-taizai-w.svg");
  display: block;
  position: absolute;
  width: 18px;
  height: 18px;
  left: 9px;
  top: 7px;
}

.kt-map-popup-ichijitaizai[data-kt-status="閉鎖"] .ktkn-popover-header::after {
  content: "";
  display: block;
  position: absolute;
  width: 24px;
  height: 29px;
  left: 9px;
  top: 2px;
  background-image: url("assets/img/pict-menusc-ichijitaizai-close.svg");
  background-size: 100%;
  background-repeat: no-repeat;
}

.kt-map-popup-ichijitaizai[data-kt-status="開設不可"] .ktkn-popover-header::after {
  content: "";
  display: block;
  position: absolute;
  width: 24px;
  height: 29px;
  left: 8px;
  top: 2px;
  background-image: url("assets/img/pict-menusc-ichijitaizai-ng.svg");
  background-size: 100%;
  background-repeat: no-repeat;
}

.kt-map-popup-ichijitaizai[data-kt-status="開設"][data-kt-ukeire="受入不可"] .ktkn-popover-header::after {
  content: "";
  display: block;
  position: absolute;
  width: 25px;
  height: 30px;
  left: 9px;
  top: 2px;
  background-image: url("assets/img/pict-menusc-ichijitaizai-open-ukeire-non.svg");
  background-size: 100%;
  background-repeat: no-repeat;
}

.kt-map-popup-ichijitaizai .ktkn-popover-body {
  padding: 10px;
  clear: both;
}

.kt-map-popup-ichijitaizai .ktkn-popover-body>h4:first-child {
  color: #222;
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.kt-map-popup-ichijitaizai .ktkn-popover-body>b {
  font-size: 1rem;
}

.kt-map-popup-ichijitaizai .kt-popup-ichjitaizai-status {
  padding: 1.5px 3px;
  display: inline-block;
  color: #fff;
}

.kt-map-popup-ichijitaizai[data-kt-status="閉鎖"] .kt-popup-ichjitaizai-status,
.kt-map-popup-ichijitaizai[data-kt-status="開設要請中"] .kt-popup-ichjitaizai-status,
.kt-map-popup-ichijitaizai[data-kt-status="開設要請依頼中"] .kt-popup-ichjitaizai-status {
  background-color: #666;
}

.kt-map-popup-ichijitaizai[data-kt-status="開設"] .kt-popup-ichjitaizai-status {
  background-color: #00ac9d;
}

.kt-map-popup-ichijitaizai[data-kt-status="開設"][data-kt-ukeire="受入不可"] .kt-popup-ichjitaizai-status {
  background-color: #d00000;
}

.kt-map-popup-ichijitaizai[data-kt-status="開設不可"] .kt-popup-ichjitaizai-status {
  background-color: #ccc;
  color: #222;
}
.kt-popup-ichjitaizai-row {
  white-space: nowrap;
}

/*  ポップアップレイヤー 異常検知  */
.ktkn-popup.ktkn-popover-alarm-detection-no-body {
  margin: 0px;
  transform: translate(-50%, -50%);
  border: 1px solid gray;
  padding: 2px 4px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  line-height: 16px;
  vertical-align: middle;
  cursor: pointer;
  z-index: 10000;
  border: 1px solid rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}
.ktkn-popover.ktkn-popover-alarm-detection {
  min-width: unset !important;
  max-width: none !important;
}
.ktkn-popover.ktkn-popover-alarm-detection .ktkn-popover-bar {
  top: 8px;
  right: 8px;
}
.kt-map-popup-alarm-detection .ktkn-popover-alarm-detection-header {
  line-height: 26px;
  margin-left: 26px;
  background-color: #eee;
}
.kt-map-popup-alarm-detection .ktkn-popover-alarm-detection-header span {
  font-weight: bold;
  font-size: 1.01rem;
  color: #222;
  margin-left: 8px;
  margin-right: 32px;
}
.kt-map-popup-alarm-detection .ktkn-popover-alarm-detection-header::before {
  content: "";
  display: block;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 27px;
  height: 27px;
  background-image: url("assets/img/mapicon-ijo-red.svg");
  background-color: gray;
  background-size: 100%;
  background-repeat: no-repeat;
}
.kt-map-popup-alarm-detection[data-kt-status="異常"] .ktkn-popover-alarm-detection-header::before {
  background-image: url("assets/img/mapicon-ijo-red.svg");
}

.kt-map-popup-alarm-detection[data-kt-status="混雑"] .ktkn-popover-alarm-detection-header::before {
  background-image: url("assets/img/mapicon-ijo-orange.svg");
}

.kt-map-popup-alarm-detection[data-kt-status="やや混雑"] .ktkn-popover-alarm-detection-header::before {
  background-image: url("assets/img/mapicon-ijo-yellow.svg");
}

.kt-map-popup-alarm-detection[data-kt-status="緩和"] .ktkn-popover-alarm-detection-header::before {
  background-image: url("assets/img/mapicon-ijo-aqua.svg");
}
.kt-map-popup-alarm-detection .ktkn-popover-body {
  padding: 10px;
  clear: both;
}

.kt-map-popup-alarm-detection .ktkn-popover-body>h4:first-child {
  color: #222;
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.kt-map-popup-alarm-detection .ktkn-popover-body>b {
  font-size: 1rem;
}


#ktkn-joukyou .esri-scale-bar {
  margin-bottom: 36px !important;
}

/* multiselect customize */
.ktkn-multiselect.multiselect .multiselect__tags {
  border-color: #b2b2b2 !important;
  border-radius: 0px !important;
}
.ktkn-multiselect.multiselect .multiselect__option--highlight {
  background-color: #1967d2;
  color: #fff;
}