/* _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/



_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ */
html, body {
  margin: 0px;
  padding: 0px;
  font-size: 12pt;
/*
  font-family:'Bookman Old Style', "Century Gothic", "Helvetica Neue","Helvetica","Hiragino Kaku Gothic Pro",
              "ヒラギノ角ゴ Pro W3","メイリオ","Meiryo","ＭＳ Ｐゴシック",
              "Arial","Verdana","sans-serif";
*/
  font-family:"Arial", "sans-serif";
  height: 100%;
  width: 100%;
}

div {
  font-family:"Arial", "sans-serif";
/*
  font-family:'Bookman Old Style', "Century Gothic", "Helvetica Neue","Helvetica","Hiragino Kaku Gothic Pro",
              "ヒラギノ角ゴ Pro W3","メイリオ","Meiryo","ＭＳ Ｐゴシック",
              "Arial","Verdana","sans-serif";
*/
}

.ol-scale-line{bottom: 70px;}


/* Container
%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-% */
div#container {
  width: 100%;
/*  min-width: 980px; */
  height: auto;
  height: 100%;
  position: relative;
  min-height: 100%;
  background-color: silver;
  margin: 0px auto;
  padding: 0px;
}

/* Main
%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-% */
  div#map_container {
    position:relative;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color:silver;
    border: 0px solid dimgray;
  }


  div#map {
    position:absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color:navy;
    border: 0px solid dimgray;
  }

div#baseswitch {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 9;
}
  div#baseswitch>select {
    border: 1px solid dimgray;
    border-radius: 2px;
    background-color: rgba(0,0,0,0.8);
    width: 220px;
    color: white;
  }


/*-- Timeline select --*/
button[name='chartsw'] {
  position: absolute;
  top: 10px;
  left: 50px;
  margin: 0px auto 5px auto;
  padding: 0px;
  font-size: 10pt;
  text-align: center;
  border: 1px solid gray;
  color: white;
  background-color: rgba(0,0,0,0.8);
  width: 80px;
  height: 25px;
  z-index: 9;
  cursor: pointer;
}
  button[name='chartsw']:hover {
    background-color: rgba(100,100,0,0.8);
  }

#chart_container {
  position: relative;
  top: 35px;
  left: 50px;
  width: 60%;
}


#chart {
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    background: rgb(255, 255, 255);
    opacity: 0.9;
    border-radius: 2px;
    border: 2px solid #2b2b2b;
}

#chart line {
    stroke: silver;
  stroke-opacity: 0.5;

}

  #chart text:hover {
    fill: blue;
    stroke: blue;
  }



/*
div#span_container {
  position: absolute;
  top: 10px;
  width: 60%;
  margin: 0px auto 0 60px;
  height: 100px;
  background-color: white;
  border-radius: 5px;
  border: 1px solid dimgray;
  z-index: 9;
}

  div#dateval {
    margin: 0px auto;
    width: 100%;
  }
    div#dateval table{
      margin: 0px auto;
    }
    div#dateval table th{
      font-size: 11pt;
    }
    div#dateval table td{
      border: 1px solid dimgray;
      width: 70px;
      text-align: center;
    }
    div#dateval table td:nth-child(4){
      border: 0px solid dimgray;
    }

  div#slider{
    width    : 80%;
    height   : 10px;
    position : relative;
    top      : 0px;
    margin: 0px 10%;
    background-color:rgba(0,0,0,0.2);
    border-radius: 5px;
    border: 1px solid dimgray;
    color: snow;
    font-size: 7.5pt;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,1.0);
    padding-top: 4px;
    box-shadow :
      1px 1px 2px rgba(0,0,0,0.8) inset,
      1px -1px 1px rgba(255,255,255,0.8) inset
    ;
    z-index: 10;
    line-height: 1.0em;
  }
  
    div#slider {
      margin: 5px auto 0px auto;
      width    : 80%;
      height   : 5px;
      border: 0px;
    }
      div#slider .ui-slider-handle {
          border: 0px;
          background-color: gray;
          border: 1px solid black;
          border-radius: 2px;
          cursor: pointer;
      }
      div#slider .ui-slider-horizontal {
          height: 0.3em;
      }
      div#slider .ui-slider-horizontal,.ui-slider-handle {
          top: -.5em;
          margin-left: -.6em;
      }
      div#slider .ui-slider-range {
        background-color: gray;
      }

    div#marker {
      width: 95%;
      height: 30px;
      background-image: url(../data/dummy.jpg);
      background-repeat: no-repeat;
      background-position: top right;
    }
*/



/*-- Login menu --*/
div#menuboxC {
  position: absolute;
  bottom: 10px;
  left: 100px;
  z-index: 9;
  height: 50px;
  display: block;
}

  div#menuboxC button {
    width: 140px;
    height: 30px;
    line-height: 1.1em;
    border: 2px solid #4169E1;
    font-weight: normal;
    border-radius: 5px;
    background-color: whitesmoke;
    cursor: pointer;
  }
    div#menuboxC button:hover {
      border: 2px solid red;
      font-weight: bold;
    }

/*-- SNS menu (after login)--*/
div#menuboxF {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 9;
  height: 50px;
  display: none;
}

  div#menuboxF button {
    width: 180px;
    height: 30px;
    line-height: 1.1em;
    border: 2px solid #4169E1;
    font-weight: normal;
    border-radius: 5px;
    background-color: whitesmoke;
    cursor: pointer;
  }
    div#menuboxF button:hover {
      border: 2px solid red;
      font-weight: bold;
    }

/*-- Large or back button--*/
div#menuboxG {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 9;
  height: 50px;
  display: block;
}
  div#menuboxG button {
    width: 80px;
    height: 30px;
    line-height: 1.1em;
    border: 2px solid #4169E1;
    font-weight: normal;
    border-radius: 5px;
    background-color: #4169E1;
    color: white;
    cursor: pointer;
  }
    div#menuboxG button:hover {
      font-weight: bold;
    }
    div#menuboxG button#full {
      line-height: 0.8em;
    }

/*-- Toggle Area --*/
button[name='menusw'] {
  position: absolute;
  top: 40px;
  right: 10px;
  margin: 0px auto 5px auto;
  padding: 0px;
  font-size: 11pt;
  text-align: center;
  border: 1px solid gray;
  color: white;
  background-color: rgba(0,0,0,0.8);
  width: 50px;
  height: 25px;
  z-index: 9;
  cursor: pointer;
}
  button[name='menusw']:hover {
    background-color: rgba(100,100,0,0.8);
  }

div#selectDate {
  position: absolute;
  top: 10px;
  left: 135px;
  height: 23px;
  padding: 0px 4px;
  border:1px solid black;
  background-color: rgba(255,255,255,0.8);
}
  div#selectDate select {
    font-size: 11pt;
    border: 1px solid black;
    padding: 2px 5px;
  }


div#toggleArea {
  position: absolute;
  top: 62px;
  right: 10px;
  background-color: rgba(0,0,0,0.3);
  width: 250px;
  height: auto;
  z-index: 9;
  display: block;
  padding-bottom: 5px;
}

/*-- Area Search menu --*/
div#menuboxD {
  position: static;
  top: 0px;
  right: 10px;
  z-index: 9;
  text-align: center;
  border-radius: 5px;
  width: 100%;
}

  div#menuboxD h3{
    margin: 0px auto;
    padding: 0px;
    font-size: 10pt;
    text-align: center;
    border: 1px solid gray;
    color: white;
    background-color: rgba(0,0,0,0.8);
  }

  div#menuboxD select{
    height: 30px;
    width: 210px;
    margin: 2px auto 3px auto;
    letter-spacing: -0.5px;
  }

  div#menuboxD input{
    width: 200px;
    height: 25px;
    border: 2px solid #00BFFF;
    font-weight: normal;
    border-radius: 5px;
    background-color: #ADD8E6;
    cursor: pointer;
    margin: 0px auto 5px auto;
  }

/*-- Point Search menu --*/
div#menuboxE {
  position: static;
  top: 0px;
  right: 10px;
  z-index: 9;
  text-align: center;
  border-radius: 5px;
  width: 100%;
  margin-top: 10px;
}

  div#menuboxE h3{
    margin: 0px auto;
    padding: 0px;
    font-size: 10pt;
    text-align: center;
    border: 1px solid gray;
    color: white;
    background-color: rgba(0,0,0,0.8);
  }

  div#menuboxE ol{
    padding: 0px 0px 0px 30px;
    margin: 5px 0px;
  }

  div#menuboxE ol li{
    text-align: left;
    width: 190px;
    color: white;
    line-height: 1.0em;
    font-size: 10pt;
  }

  div#menuboxE input{
    width: 200px;
    height: 25px;
    border: 2px solid #00BFFF;
    font-weight: normal;
    border-radius: 5px;
    background-color: #ADD8E6;
    cursor: pointer;
    margin: 0px auto 5px auto;
  }


div#memory {
  display:none;
}


div#map_container .ol-attribution{
  height: auto;
  bottom: 0px;
  background-color: rgba(0,0,0,0.4);
  border-top: 1px solid dimgray;
  border-left: 1px solid dimgray;
  border-right: 1px solid silver;
  border-bottom: 1px solid silver;
}

  div#map_container .ol-attribution ul{
    margin: 0px;
    padding: 0px;
  }
  div#map_container .ol-attribution ul li{
    color: white;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
  }
  div#map_container div.attrlist {
    float:right;
    margin:0px 2px;
    font-size: 8pt;
    border-left: 1px dotted white;
    padding: 0px 4px;
  }
    div#map_container div.attrlist a {
      color:blue;
      text-decoration: none;
    }

.curled-box {
  border-radius: 2px;
  height: auto;
  width: 60px;
  border: 1px solid dimgray;
  background-color: silver;
  cursor: pointer;
  font-size: 16px;
  margin: 0px auto;
  padding: 0px;
  line-height: 1.0em;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  text-shadow:1px 1px 1px rgba(0,0,0,0.5);
}
.curled-box:hover {
  background-color: lightgreen;
}

table#gridControl{
  width: 150px;
  margin: 0px auto;
}
table#gridControl td{
  text-align: center;
}

/* Pop-up Control  */
.ol-popup {
  position: absolute;
  background-color: white;
  -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50px;
  min-width: 220px;
  z-index:10;
}
.ol-popup:after, .ol-popup:before {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.ol-popup:after {
  border-top-color: white;
  border-width: 10px;
  left: 48px;
  margin-left: -10px;
}
.ol-popup:before {
  border-top-color: #cccccc;
  border-width: 11px;
  left: 48px;
  margin-left: -11px;
}

.ol-popup dl{
  width: 100%;
}
.ol-popup dl dt{
  width: 90%;
  font-size: 14pt;
  border-bottom: 1px dotted gray;
}
.ol-popup dl dd{
  width: 90%;
  margin-left: 10px;
  margin-bottom: 10px;
  font-size: 14pt;
}

#msgbox {
  font-size: 16px;
  color: red;
  background-color:rgba(255,230,230,0.8);
  border: 2px solid red;
  border-radius: 5px;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.4);
  padding: 5px;
  position:absolute;
  top:calc( 50% - 50px);
  left:calc( 50% - 100px );
  z-index:9;
  display:none;
}

/*-- Vector layer switch --*/

button#grid {
  position: absolute;
  bottom: 150px;
  right: 10px;
  height: auto;
  width: auto;
  background-color: rgb(0,0,200);
  border: 1px solid black;
  border-radius: 2px;
  padding: 0px;
  box-shadow: 1px 1px 1px rgba(0,0,0,0.3);
  cursor: pointer;
}
  button#grid div {
    position: absolute;
    width: 100%;
    text-align:center;
    font-size: 7pt;
    color: white;
    bottom: 0px;
    left: 0px;
    text-shadow: 
      0px -1px 0px rgba(0,0,0,1.0),
      -1px 0px 0px rgba(0,0,0,1.0),
      1px 0px 0px rgba(0,0,0,1.0),
      0px 1px 0px rgba(0,0,0,1.0)
    ;
  }
button#polygon {
  position: absolute;
  bottom: 90px;
  right: 10px;
  background-color: rgb(0,0,200);
  border: 1px solid black;
  border-radius: 2px;
  padding: 0px;
  box-shadow: 1px 1px 1px rgba(0,0,0,0.3);
  cursor: pointer;
}
  button#polygon div {
    position: absolute;
    width: 100%;
    text-align:center;
    font-size: 7pt;
    color: white;
    bottom: 0px;
    left:0px;
    text-shadow: 
      0px -1px 0px rgba(0,0,0,1.0),
      -1px 0px 0px rgba(0,0,0,1.0),
      1px 0px 0px rgba(0,0,0,1.0),
      0px 1px 0px rgba(0,0,0,1.0)
    ;
  }

button#rtnB {
  position: absolute;
  bottom: 30px;
  right: 10px;
  background-color: rgb(65,105,225);
  border: 1px solid black;
  border-radius: 2px;
  padding: 0px;
  box-shadow: 1px 1px 1px rgba(0,0,0,0.3);
  cursor: pointer;
}
  button#rtnB div {
    position: absolute;
    width: 100%;
    text-align:center;
    font-size: 7pt;
    color: white;
    bottom: 0px;
    left:0px;
    text-shadow: 
      0px -1px 0px rgba(0,0,0,1.0),
      -1px 0px 0px rgba(0,0,0,1.0),
      1px 0px 0px rgba(0,0,0,1.0),
      0px 1px 0px rgba(0,0,0,1.0)
    ;
  }

button.icon {
  position: relative;
  border-radius: 3px;
  border: inset 1px white;
  background-color: rgba(0,0,0,0.8);
  box-shadow: 1px 1px 2px rgba(0,0,0,0.4);
  width: 210px;
  margin: 2px auto 3px 20px;
  cursor: pointer;
}
button.icon:hover {
  background-color: rgba(50,50,50,0.8);
}
  button.icon img {
    width: 25px;
    float:left;
    vertical-align: middle;
  }

  button.icon div {
    margin-top: 2px;
    color: white;
    font-size: 10pt;
  }


div#datalist {
  position: relative;
  top: 10px;
  left: 0px;
  width: 100%;
  height: calc( 100vh - 250px );
  padding: 0px 0px 10px 0px;
  overflow: auto;
  display:none;
}

  div#datalist h3 {
    margin: 0px auto;
    padding: 0px;
    font-size: 10pt;
    text-align: center;
    border: 1px solid gray;
    color: white;
    background-color: rgba(0,0,0,0.8);
  }
    div#datalist h4 {
      margin: 0px;
      color: white;
  text-shadow: 
    1px 0px 0px rgba(0,0,0,1.0),
    0px 1px 0px rgba(0,0,0,1.0),
    -1px 0px 0px rgba(0,0,0,1.0),
    0px -1px 0px rgba(0,0,0,1.0)
  ;
    }


div#datalist ul{
  list-style-type: none;
  margin: 0px 0px 5px 5px;
  padding: 0px;
}

div#datalist ul li{
  width: calc( 100% - 10px );
  background-color:rgba(231,92,1,1.0);
  background-image: url(../images/button_dl.png);
  background-repeat: no-repeat;
  border-radius: 5px;
  border: 1px solid white;
  margin-bottom: 5px;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

  div#datalist ul li:hover{
    background-color:rgba(231,231,0,1.0);
  }


div#datalist ul a{
  height: 30px;
  width: calc( 100% - 35px );
  display: block;
  padding-top: 2px;
  padding-left: 35px;
  font-size: 14pt;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  text-shadow: 
    1px 0px 0px rgba(0,0,0,1.0),
    0px 1px 0px rgba(0,0,0,1.0),
    -1px 0px 0px rgba(0,0,0,1.0),
    0px -1px 0px rgba(0,0,0,1.0)
  ;
}
  div#datalist ul a:hover{
    text-decoration: underline;
  }

  div#datalist ul li:nth-child(5){
    background-image: none;
    repeat: no-repeat;
  }
    div#datalist ul li:nth-child(5) a{
      background-image: none;
      repeat: no-repeat;
      padding-left: 5px;
      width: calc( 100% - 5px );
    }



div#sar_st {
  border: 1px solid black;
  text-align: center;
  margin: 0px auto 10px auto;
  width: 225px;
  background-color: rgba(255,255,255,1.0);
}

div#sar_ed {
  border: 1px solid black;
  text-align: center;
  margin: 0px auto 10px auto;
  width: 225px;
  background-color: rgba(255,255,255,1.0);
}

@media ( max-width : 800px ) {
  #map {
    width:100%;
  }
  div#baseswitch>select {
    font-size: 16px;
  }
  div#menuboxD select{
    font-size: 16px;
  }
}
