/* 国土地理院の出典表示用 */
body {
  padding: 0;
  margin: 0;
  font-family: "メイリオ";
}

.contents {
  margin: 30px auto;
  width: 1200px;
}

#map {
  border: 0.1px solid rgb(139, 139, 139);
  height: 700px;
  width: 1200px;
}

p {
  display: inline-block;
  font-weight: bold;
}

/* =============================================
       画面最上部 リンク
============================================= */

.site-links {
  margin-bottom: 5px;
}

.site-links a {
  text-decoration: none;
  color: rgb(29, 126, 155)
}

.site-links a:hover {
  color: rgb(58, 207, 252);
}


/* =============================================
        ヘッダー
============================================= */

.map-nav {
  width: 100%;
  text-align: center;
  background-color: #e5faff;
  font-size: 40px;
}

.nav {
  height: 77px;
  font-size: 40px;
}

a[id*="btn"] {
  padding: 4px;
  line-height: 1.2;
  font-size: 18px;
  width: 172px;
  height: 57px;
  font-weight: bold;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}

.map_img {
  width: 100%;
}

.btn {
  font-size: 17px;
  width: 138px;
  height: 40px;
}

.nav-date {
  float: right;
  margin-right: 5px;
}

/* =============================================
      浸水想定区域図チェックボックス
============================================= */
.shinsou-checkbox {
  background-color: black;
  color: white;
}


/* =============================================
        ツールチップ共通
============================================= */

/* 吹き出し部分*/
.leaflet-tooltip-left::before {
  border-left-color: transparent !important;
}

.leaflet-tooltip-right::before {
  border-right-color: transparent !important;
}

/* =============================================
    水位観測所
============================================= */

div[class*="statusObs-"] {
  width: 109px;
  height: 58px;
  font-weight: bold;
  font-size: 15px;
  padding: 0;
  pointer-events: all;
}

div[class*="statusObs-"]:hover {
  color: rgb(18, 141, 179);
}

div[class*="statusObs-weir"] {
  width: 161px;
}

.statusDam:hover {
  color: rgb(18, 141, 179);
}

.statusSeki>.tooltip-inside {
  margin: 1px auto;
}

.tooltip-inside {
  /* width: 100%; */
  margin-top: 7px;
  text-align: center;
}

.status-danger {
  background-color: red !important;
  color: white !important;
}

.status-risk-judge {
  background-color: orange !important;
}

.status-warning {
  background-color: yellow !important;
}

.status-wait {
  background-color: green !important;
  color: white !important;
}

.status-danger span:hover {
  color: rgb(59, 188, 248) !important;
}

.status-risk-judge span:hover {
  color: rgb(59, 188, 248) !important;
}

.status-warning span:hover {
  color: rgb(59, 188, 248) !important;
}

.status-wait span:hover {
  color: rgb(59, 188, 248) !important;
}


.status-boxes {
  margin-top: 5px;
  padding: 0;
  text-align: center;
  width: 100%;
  color: #181616;
}

.status-legend {
  margin-top: 5px;
  margin-left: 53px;
  padding: 0;
  text-align: center;
  /* width: 100%; */
  width: 75%;
  color: #181616;
}

/* ====================================================
    ダム
==================================================== */

.leaflet-tooltip.statusDam {
  /* background-color: #e2fd68; */
  /* border: 1px solid rgba(0, 0, 0, 0.671); */
  width: 178px;
  /* height: 117px; */
  height: 134px;
  font-weight: bold;
  font-size: 15px;
  /* padding: 9px; */
  padding: 0px;
  pointer-events: all;
}

.leaflet-tooltip.statusSeki {
  width: 178px;
  height: 48px;
  pointer-events: all;
  padding: 0px;
  font-weight: bold;
  font-size: 15px;
}

.statusSeki:hover {
  color: rgb(18, 141, 179);
}


/* ==========================================
    浸水想定区域図チェックボックス
========================================== */
.leaflet-tooltip.soutei-box {
  /* background-color: #e7c4ff !important; */
  background-color: rgb(65, 64, 64) !important;
  color: rgb(247, 247, 247);
  border: 1px solid rgba(0, 0, 0, 0.671);
  width: 180px;
  height: 50px;
  font-weight: bold;
  font-size: 19px;
  /* ツールチップの初期値ではpointer-events:noneになっているのでチェックできない */
  /* pointer-events: auto; */
  pointer-events: all;
  padding: 9px;
}

.leaflet-tooltip.soutei-box.input[name="check"] {
  background-color: red;
  margin-top: 29px;
}

/* ==========================================
    凡例
========================================== */
.leaflet-tooltip.legend-box {
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.671);
  width: 256px;
  height: 286px;
  font-size: 15px;
  font-weight: bold;
  padding: 10px;
}

.legend-unusual-suii {
  width: 229px;
  text-align: center;
}

.legend-span {
  margin-left: 8px;
}

.one-display {
  margin-top: 4px;
}

.legend-status-dam {
  text-align: center;
  width: 94%;
  /* padding: 2px; */
  color: white;
  background: red;
  margin-left: 8px;
}

.dam-data-box {
  /* padding: 9px; */
  text-align: center;
}

.status-dam {
  text-align: center;
  /* width: 100%; */
  padding: 10px;
  color: white;
  background: red;
  margin-top: 2px;
  /* margin-left: 36px; */
  font-weight: bold;
  font-size: 16px;
  height: 40px;
}

.test-wrapper {
  width: 100% !important;
}


/* ==========================================
    浸水想定区域図にチェック時
========================================== */

.area-mode {
  background-color: rgba(255, 65, 65, 0.685) !important;
}

.cam-icon {
  width: 29px;
  height: 26px;
}


.obs-icon {
  /* position: relative; */
  width: 29px;
  height: 24px;
}

.area-overlay {
  z-index: 200 !important;
}
