@charset "UTF-8";
/**
 * 島根県河川情報
 * グラフCSS
 */
/*=======================
	基本
  =======================*/
/* 見出し - 観測局 ----------------------- */
.graph h4 {
  display: inline-block;
  min-width: 80px;
  margin-right: 16px;
  font-size: 12px;
  line-height: normal;
}

.graph h4:before {
  content: "";
  display: inline-block;
  margin: 0 4px;
  width: 4px;
  height: 4px;
}

.graph h4:before {
  border: 3px solid #0673df;
}

.graph-item-box {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
}

.graphImg .graph-item-box:not(:first-child) {
  margin-top: 0px;
}

/*=======================
	グラフ画像
  =======================*/
.graph-image-box {
  display: flex;
  justify-content: space-around;
}

.graphImg {
  position: relative;
}

.graphImg .hiddenGraph {
  background: #f2f2f2 url(../images/common/hidden_graph.png) center center no-repeat;
}

/* 関連雨量局グラフ */
.graph-stage-rain {
  min-height: 100px;
}

.graph-stage-rain:empty {
  display: flex;
  margin-left: 16px;
}

.graph-stage-rain:empty:after {
  content: "雨量局はありません";
  margin-top: 8px;
}

/*=======================
	表
  =======================*/
/* 現況ボックス ------------------------- */
.dataList {
  width: 240px;
  height: 100px;
  display: inline-table;
  padding: 1px 1px 0;
  border: 1px solid #a2bfdc;
}

.dataList p {
  padding-left: 16px;
  line-height: normal;
}

.dataList p span {
  display: block;
}

.dataList .unit {
  display: inline-block;
  width: 36px;
  text-align: left;
  margin-left: 2px;
  padding-left: 2px;
}

.dataList dl {
  width: 96%;
  margin: 8px 4px;
}

.dataList dl dt {
  float: left;
  min-width: 80px;
  position: relative;
  line-height: normal;
}

.dataList dl dd {
  margin: 0;
  margin-bottom: 8px;
  text-align: right;
  line-height: normal;
}

.dataList p {
  background-color: #e5f2fe;
  box-shadow: inset 0 1px 0 #f4faff;
}

.dataList .label-value {
  padding: 0 4px;
  display: inline-block;
  width: 48px;
}

/* 水位グラフ - 雨量 - 時系列表 ----------- */
.tblPosition {
  width: 280px;
}

/* 水位グラフ - 水位 - 基準値表 ----------- */
.ex-stageList {
  position: relative;
  top: 12px;
  display: inline-table;
  vertical-align: top;
  width: 100px;
  font-size: 12px;
  border: 1px solid #a2bfdc;
}

.ex-stageList dl:not(:nth-of-type(1)) {
  border-top: 1px solid #a2bfdc;
}

.ex-stageList dl {
  padding: 4px;
}

.ex-stageList dt {
  display: inline-flex;
  align-items: center;
}

.ex-stageList dd {
  margin-top: 4px;
  text-align: right;
}

/*=======================
	観測局情報
  =======================*/
.graph .pointSelect {
  /* 雨量グラフ - 観測局 ------------------- */
  display: flex;
  align-items: center;
  padding: 0 8px;
  width: auto;
  display: inline-flex;
  margin: 0;
}

.graph .pointSelect li {
  margin: 4px 0;
  padding: 0 4px;
  min-width: auto;
  cursor: default;
}

.graph .pointSelect li.is-selected {
  padding: 0 2px;
}

.graph .pointSelect li a, .graph .pointSelect li span {
  padding: 3px 4px;
  display: block;
  width: 100%;
  text-align: center;
  color: inherit;
  cursor: inherit;
}

.graph .pointSelect li:not([class*='is-']) {
  text-decoration: underline;
  cursor: pointer;
}

.graph .pointSelect li {
  color: #1c3349;
  border-right: 1px solid #6a99c7;
}

.graph .pointSelect li:first-child {
  border-left: 1px solid #6a99c7;
}

.graph .pointSelect li.is-selected a, .graph .pointSelect li.is-selected span {
  background-color: #3f73a6;
  color: #ffffff;
}

.graph .pointSelect li.is-disabled {
  color: #aab2ba;
}

.graph .pointSelect li span, .graph .pointSelect li a {
  padding: 4px 8px;
}

.graph .pointSelect li:nth-of-type(2) {
  border-left: 1px solid #6a99c7;
}

.graph .pointInfo {
  /* 水位グラフ - 観測局 ------------------ */
  display: inline-flex;
}

.graph .pointInfo dt:not(:first-child) {
  margin-left: 24px;
}

/*=======================
	凡例
  =======================*/
/* 基本の凡例 */
.explainBox {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.4;
  background-color: #ffffff;
  border: 1px solid #a2bfdc;
}

.explainBox .title {
  font-size: 14px;
  text-align: center;
}

.explainBox .ctg {
  display: flex;
  padding: 4px;
}

.explainBox .title {
  background-color: #e5f2fe;
}

.explainBox .ctg:not(:first-child) {
  border-top: 1px solid #a2bfdc;
}

.explainBox .pattern .caption {
  display: inline-block;
  width: 115px;
  text-align: right;
}

.explainBox .colorLegend {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
}

.explainBox .colorLegend dt {
  text-align: center;
  display: flex;
  align-items: center;
}

.explainBox .colorLegend dt:not(:nth-of-type(1)) {
  margin-left: 24px;
}

.explainBox .colorLegend dd {
  margin-left: 4px;
  min-width: 70px;
}

.explainBox .colorLegend span {
  display: inline-block;
  width: 6px;
  height: 12px;
}

.explainBox .example {
  margin-left: 24px;
  display: none;
}

.explainBox .dispLegend {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
}

.explainBox .dispLegend dt {
  text-align: center;
  width: auto;
  min-width: 50px;
}

.explainBox .dispLegend dt:not(:nth-of-type(1)) {
  margin-left: 24px;
}

.explainBox .dispLegend dd {
  margin-left: 4px;
  text-indent: 4px;
}

.explainBox .dispLegend dd {
  color: #274767;
}

/* 色凡例 - グラフ線凡例 */
.colorLegend .gra span[class^="ex-"] {
  /* 折れ線グラフ */
  width: 18px;
  margin-right: 0;
}

.colorLegend .gra span[class^="ex-rainBar"] {
  /* 10分・時間雨量棒グラフ */
  margin-right: 0;
  margin-left: 0;
  width: 6px;
}

/*=======================
	平常時画像
  =======================*/
.state-normal-images {
  height: 445px;
}

.state-normal-images .image-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 430px;
  /* 445px - 15px */
  width: 210px;
}

.state-normal-images .image-list li {
  width: 205px;
  height: 137px;
}

.state-normal-images .image-list li:not(:first-child) {
  margin-top: 8px;
}

.state-normal-images .image-list:empty {
  display: flex;
  align-items: center;
}

.state-normal-images .image-list:empty:after {
  content: "画像はありません";
  margin-top: 8px;
}

.state-normal-images .image-list .camera-image {
  width: 205px;
  height: 137px;
  overflow: hidden;
  border: 1px solid #cdcdcd;
}

.state-normal-images .image-list .camera-image img {
  width: 100%;
}
