/* AreaName */
#areaName {
  width: 100%;
  height: 25px;
  text-align: center;
  line-height: 25px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: bold;
  background-color: #5F6652;
}

/* Interval */
table.interval{
  width: 100%;
  height: 25px;
}
table.interval td{
  padding: 0;
  width: 50%;
  height: 100%;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  border: 1px solid #50632A;
}
table.interval td.choosed{
  color: #ffffff;
  background-color: #50632A;
}
table.interval td.waitLeft{
  background-color: #ffffff;
  border-left: none;
}
table.interval td.waitRight{
  background-color: #ffffff;
  border-right: none;
}
button.btnstyle{
  display: inline-block;
  margin: 0px;
  padding: 2px;
  width: 100%;
  height: 100%;
  font-size: 14px;
  font-weight: bold;
  border: none;
}

/* Legend */
#legend {
  margin: 10px 0;
  width: 100%;
}
#legend h3 {
  display: flex;
  width: 100%;
  height: 40px;
  align-items: center;
  margin: 0;
  font-weight: bold;
}
#legContents {
  padding: 5px;
  width: 100%;
}

#legContents p {
  margin: 5px 0;
}
#legTable,
.legTable {
  width:100%;
  max-width: 400px;
}
#legTable td.halftd,
.legTable td.halftd {
  width: 50%;
  height: 25px;
  vertical-align: bottom;
  font-size: 14px;
}
#legTable td.quartertd,
.legTable td.quartertd {
  width:25%;
  height: 25px;
  vertical-align: bottom;
  font-size: 14px;
}
#riverAll .legTable td:first-child,
#river #legTable td:first-child,
#riverGage #legTable td:first-child {
  width: 30%;
}
#riverAll .legTable td:last-child,
#river #legTable td:last-child,
#riverGage #legTable td:last-child {
  width: 70%;
}

div.han_mark{
  text-align:right;
  padding-right:3px;
  width:80px;
  height:20px;
  border:1px solid #000000;
}

/* Site Contents*/
.siteContainer {
  margin: 15px 0;
  background-color: #EDEDED;
  border: 2px solid #B0BEC5;
}

/* Information */
.siteInfo {
  width: 100%;
}
.address,
.siteName {
  margin: 0;
  color: #50632A;
  text-shadow: 0 1px 0 #EEEEEE;
}
.address {
  padding: 5px 5px 0;
}
.siteName {
  padding: 5px;
  width: 50%;
  font-weight: bold;
}
.link {
  width: 50%;
  height: 36px;
  padding: 5px;
}
.link div {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}
.link button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 85px;
  height: 34px;
}
.link div > button:first-child {
  margin-right: 5px;
}
.icon {
  margin-right: 5px;
}

/* Data */
.siteData {
  width: 100%;
}
.siteData th,
.siteData td {
  font-size: 14px;
  font-weight: bold;
  border: 1px solid #37374E;
}
#dam .damNow td{
  border-bottom: none;
}
.siteData th {
  color: #FFFFFF;
  text-shadow: 0 0 0 #666;
  background-color: #789440;
}
.siteData th small {
  color: #FFFFFF;
  font-size: 10px;
  font-weight: normal;
}
.siteData td {
  padding: 5px;
  text-align: center;
  background-color:#ffffff;
}
th.datatime {
  width: 40%;
}
th.data1,
th.data2 {
  width: 30%;
}

.riverWarn {
  width: 100%;
  border-collapse: separate;
}
.riverWarn td {
  width: 16.6%;
  height: 3.5em;
  text-align: center;
  color: #3E3E3E;
  font-weight: normal;
  font-size: .75em;
  cursor: pointer;
  border: 1px solid #B3B3B3;
  background-color: #EEEEEE;
}

#dam table.siteData th.warnTitle{
  border: 1px solid #37374E;
}
th.se_data1{
  width:25%;
}
th.se_data2{
  width:20%;
}
th.se_datatime {
  width: 30%;
}

/*---------------------------------------------*/
/* Status */
.status .siteData td {
  border-bottom: none;
}
.status .siteData th:first-child,
.status .siteData td:first-child {
  border-left: none;
}
.status .siteData th:last-child,
.status .siteData td:last-child {
  border-right: none;
}

.status#dam .siteData td {
  border-bottom: 1px solid #37374E;
}
.status#dam .siteData th{
  height:45px
}
.status#dam .siteData td.warnData {
  border: 1px solid #37374E;
}
.status#dam .status_s {
  font-size:12px;
}
.status#dam .da_data1 {
  width:30%
}
.status#dam .da_data2 {
  width:40%
}
.status#dam .link div > button:first-child {
  margin-right: 1px;
}

.status#tide .siteData .datatime,
.status#tide .siteData .data1 {
  width: 50%;
}

/*---------------------------------------------*/
/* Log */
.log#dam .status_s{
  font-size:12px;
}
.log#dam .da_data1{
  width:30%
}
.log#dam .da_data2{
  width:40%
}
.log#dam .logTime {
  margin-top: 10px;
  font-size: 15px;
  font-weight: bold;
  text-indent: 3px;
}

.log#seki .siteData,
.log#tide .siteData {
  margin-top: 10px;
}
.log#tide .siteData .datatime,
.log#tide .siteData .data1 {
  width: 50%;
}
/*---------------------------------------------*/
/* Warning */
#rain .keikai{
  background-color:#FF0000 !important;
  color: #FFFFFF !important;
}
#rain .tyuui {
  background-color:#FFFF00 !important;
  color: #333333 !important;
}
#river .r_warn4 {
  background-color: #C83232 !important;
  color: #FFFFFF !important;
}
#river .r_warn3 {
  background-color: #FF00FF !important;
  color: #FFFFFF !important;
}
#river .r_warn2 {
  background-color: #FF9664 !important;
  color: #333333 !important;
}
#river .r_warn1 {
  background-color: #FFC800 !important;
  color: #333333 !important;
}
#riverGage .rg_warn2 {
  background-color: #C83232 !important;
  color: #FFFFFF !important;
}
#riverGage .rg_warn1 {
  background-color: #66FF66 !important;
  color: #333333;
}
#dam .da_warn2{
  background-color: #FF0000 !important;
  color: #FFFFFF !important;
}
#dam .da_warn1{
  background-color: #FFFF00 !important;
  color: #333333 !important;
}
#dam .da_ra_warn2{
  background-color:#FF0000 !important;
  color: #FFFFFF !important;
}
#dam .da_ra_warn1{
  background-color:#FFFF00 !important;
  color: #333333 !important;
}
#dam sup{
  font-size: 11px;
  color:#000000;
}
#dam sup.supColor{
  color:#FFFFFF;
}
#riverAll .rg_warn1 {
  background-color: #66FF66 !important;
  color: #333333;
}
#riverAll .rg_warn2 {
  background-color: #C83232 !important;
  color: #FFFFFF !important;
}
#riverAll .r_warn4 {
  background-color: #C83232 !important;
  color: #FFFFFF !important;
}
#riverAll .r_warn3 {
  background-color: #FF00FF !important;
  color: #FFFFFF !important;
}
#riverAll .r_warn2 {
  background-color: #FF9664 !important;
  color: #333333 !important;
}
#riverAll .r_warn1 {
  background-color: #FFC800 !important;
  color: #333333 !important;
}

/*---------------------------------------------*/
/* Icon */
.icon_list {
  text-align: left;
  text-indent: 2.9px;
}
.icon_graph {
  text-align: left;
  text-indent: 2.5px;
}