.map {
  height: 650px;
  width: 650px;
}

/* 
%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-% */
html,body {
  position: relative;
  top:0px;
  left:0px;
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;
  min-height: 100%;
  font-family:'Bookman Old Style', "Century Gothic", "Helvetica Neue","Helvetica","Hiragino Kaku Gothic Pro",
              "ヒラギノ角ゴ Pro W3","メイリオ","Meiryo","ＭＳ Ｐゴシック",
              "Arial","Verdana","sans-serif";
}

/* 1. Header
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* */
header {
    position: relative;
    overflow: hidden;
    top: 0px;
    height: 84px;
    width: 100%;
    background: linear-gradient(90deg, #fff 155px, #005096 310px);
    z-index: 1;
    border-bottom: 4px solid rgb(112, 112, 112);
    box-sizing: border-box;
}

  div#mainlogo {
    display: block;
  }
    div#mainlogo img {width:400px
    }

  div#maintitleJ {
    position: absolute;
    top: 30px;
    left: 120px;
    width: 200px;
    font-size:12pt;
    border:1px solid red;
  }
  div#maintitleE {
    position: absolute;
    top: 15px;
    left: 120px;
    width: 200px;
    font-size:11pt;
    line-height: 1.1em;
  }
  div#subtitle {
    position: absolute;
    top: 50px;
    left: 140px;
    font-size:9pt;
  }

  /* Language Select
  ---------------------------- */
  button[name='chglang'] {
    position: absolute;
    right: 14px;
    bottom: 5px;
    padding: 2px;
    font-size: 8pt;
    width: 80px;
    line-height: 1.0em;
    cursor: pointer;
  }
    button[name='chglang']:hover {
      background-color: rgb(255,255,255);
    }

  /* Last update
  ---------------------------- */
  div#updatearea {
    position: absolute;
    bottom: 2px;
    right: 100px;
    color: #FFF;
    font-size: 7.5pt;
  }

  /* Select date
  ---------------------------- */
  div#datemenu_areaA {
    position: absolute;
    top: 10px;
    left: 365px;
 color:#FFF;
    z-index:9;
    padding: 0px;
  }

    div#datemenu_areaA select{
      border: inset 1px white;
      background-color: black;
      margin-left: 0px;
      margin-right: 4px;
      color: white;
      text-shadow: 1px 1px 1px rgba(0,0,0,0.6);
      font-size: 12pt;
      height: 25px;border-radius: 3px;
    }
      div#datemenu_areaA select:hover {
        border: inset 1px rgb(124,0,230);border-radius: 3px;
      }

    div#datemenu_areaA select[name='year']{
      width: 70px;
    }
    div#datemenu_areaA select[name='month']{
      width: 70px;
    }
    div#datemenu_areaA select[name='day']{
      width: 70px;
    }
        div#datemenu_areaA button{
      position: relative;
      top: -2px;
      border-radius: 3px;
      border: outset 1px rgb(0,135,230);
      background-color: rgb(218,227,243);
      color: rgb(0,0,0);
      font-weight: normal;
      font-size: 9.5pt;
/*
      text-shadow:
        0px 1px 1px  rgba(0,0,0,0.3),
        1px 0px 1px  rgba(0,0,0,0.3),
        0px -1px 1px rgba(0,0,0,0.3),
        -1px 0px 1px rgba(0,0,0,0.3)
      ;
*/
      box-shadow: 1px 1px 2px rgba(0,0,0,0.4);
      width: 110px;
      padding: 0px;margin-bottom: 8px;
      height: 22px;
      cursor: pointer;
      transition: 0.1s;
    }
    
    div#datemenu_areaA button:hover {
        background-color: rgba(17,27,222,1.0);
        color: rgb(255,255,255);
        text-shadow: 1px 1px 2px rgba(0,0,0,0.0);
      }

  /* Change Date (Button)
  ---------------------------- */
  div#datemenu_areaB {
    position: absolute;
    top: 42px;
    left: 365px;
    z-index:9;
  }
    div#datemenu_areaB button{
      border-radius: 2px;
      border: outset 1px rgb(127,127,127);
      background-color: rgb(230,230,230);
      padding:0px;
      font-size:10pt;
      cursor: pointer;
      box-shadow: 1px 1px 2px rgba(0,0,0,0.4);
      height: 20px;
      line-height:1.0em;
    }

      div#datemenu_areaB button:hover {
        background-color: rgb(255,255,255);
        color: black;
      }

      div#datemenu_areaB button[name='pday'], button[name='nday'],button[name='pnday1'],button[name='pnday2'],
                         button[name='nnday1'],button[name='pmon1'], button[name='nmon1'],
                         button[name='nnday2'],button[name='phmon'], button[name='nhmon'],
                         button[name='nyear'],button[name='pyear'] {
        width: 68px;
      }
      div#datemenu_areaB button[name='renew'] {
        width: 100px;
      }


  /* User's Guide, Data accsess etc.
  ---------------------------- */
  div#global_menu {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index:2;
  }
    div#global_menu ul {
      margin: 0px;
      padding: 0px;
      list-style-type: none;
      display: flex;
    }

      div#global_menu ul li {
        margin: 0px 3px;
        width: 120px;
        height: 30px;
        border-radius: 3px;
      }

        div#global_menu ul li a{
          margin-top: 0;
          padding-top: 4px;
          line-height: 1.2em;
          display: block;
          text-decoration: none;
          text-align: center;
          font-size:10pt;
          height: 34px;
          border-radius: 3px;
          cursor: pointer;
          border-radius: 3px;
          background-color: rgba(255,255,255,1.0);
          border: 1px solid rgb(0,0,0);
          color: rgb(0,0,0);
          text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
          box-shadow:
            2px 2px 4px rgba(0,0,0,0.3);
  display:table-cell;
  vertical-align:middle;
  
    width: 120px;
        }

        div#global_menu ul li#toggleInfo {
          margin-top: 3px;
          padding-top: 7px;
          line-height: 30px;
          display: block;
          text-decoration: none;
          text-align: center;
          font-size:10pt;
          height: 35px;
          border-radius: 3px;
          cursor: pointer;
          border-radius: 3px;
          background-color: rgba(255,255,255,1.0);
          border: 1px solid rgb(0,0,0);
          color: rgb(0,0,0);
          text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
          box-shadow:
            2px 2px 4px rgba(0,0,0,0.3)
          ;
        }

/* 2. Map area
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* */
div#container {
  position: relative;
  top: 0px;
  left: 0px;
  margin: 0px;
  padding: 0px;
  height: calc(100vh - 88px);
  width: 100%;
  z-index: 0;
  box-sizing: border-box;
}

  div#logo {
    position: absolute;
    bottom:15px;
    right: 5px;
    z-index:999
  }


  /* 2-2. Map canvas
  %-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-% */
  div#map {
    position: absolute;
    top:0px;
    left:0;
    width: 100%;
    height: 100%;
    min-height: 760px;
    background-color: rgb(192,192,192);
    cursor: pointer;
  }

  /* 2-1. Openlayer control style
  %-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-% */
  div#container .ol-scale-line{
    bottom: 5px;
    left: 5px;
    background-color: rgba(0,0,0,0.4);
    border: inset 1px white;
  }
  div#container .ol-attribution{
    height: auto;
    bottom: -1px;
    background-color: rgba(0,0,0,0.4);
    border: inset 1px white
  }

    div#container .ol-attribution ul{
      margin: 0px;
      padding: 0px;
      display: flex;
    }
    div#container .ol-attribution ul li{
      color: white;
      margin:0px 4px;
      text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
      font-size: 9pt;
    }
    div#container .ol-attribution ul li a{
      color: white;
    }
    div#container .ol-attribution ul li a:link{
      color: rgb(255,201, 14);
    }
    div#container .ol-attribution ul li a:visited{
      color: rgb(255,201, 14);
    }
/*
    div#container div.attrlist {
      margin:0px 2px;
      font-size: 8pt;
      border-left: 1px dotted white;
      padding: 0px 4px;
    }
      div#container div.attrlist a {
        color:rgb(255,255,255);
        text-decoration: none;
      }
      div#container div.attrlist a:visited {
        color:rgb(200,200,200);
      }
*/
  
  div#container .ol-zoom {
    top: 40px;
    left: 5px;
    background-color: rgba(0,0,0,0.4);
    border: inset 1px gray;
    transition: 0.2s ease-in-out;
  }
    div#container .ol-zoom button {
      border: inset 1px gray;
      background-color: rgba(60,60,60,1.0);
      cursor: pointer;
    }
  
    div#container .ol-zoom button:active {
      background-color: rgba(100,100,100,1.0);
      border: inset 1px gray;
    }
  
  div#container .ol-zoomslider {
    top: 105px;
    left: 5px;
    right: auto;
    width: 26px;
    border-radius: 2px;
    margin: 0px;
    padding: 0px 2px;
    transition: 0.2s ease-in-out;
  }
  
    div#container .ol-zoomslider {
      background-color: rgba(0,0,0,0.2);
      border: inset 1px gray;
    }
  
      div#container .ol-zoomslider button {
        top:0px;
        left:2px;
        width: 26px;
        margin: 0px;
        border: inset 1px gray;
        background-color: rgba(60,60,60,1.0);
        cursor: pointer;
      }
  
      div#container .ol-zoomslider button:active {
        background-color: rgba(200,200,60,1.0);
        border: inset 1px gray;
      }

/* 3. Footer
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* */
footer {
  position: relative;
  top: 0px;
  height: 24px;
  width: 100%;
  box-sizing: border-box;
  background-color: rgba(39,60,44,1.0);
  font-size: 10pt;
  color: white;
  padding: 2px 5px;
  border-top: 2px solid rgb(137,178,201);
  margin-top: auto;
}

  footer ul{
    position: absolute;
    top: 0px;
    right: 0px;
    list-style-type: none;
    margin: 0px;
    padding: 0px;
  }

    footer ul li{
      float:left;
      padding: 0px 10px;
    }
      footer ul li a{
        color:white;
      }
      footer ul li a:hover{
        color:rgb(137,178,201);
      }

      footer ul li#toggleInfo {
        text-decoration: underline;
        cursor: pointer;
      }
        footer ul li#toggleInfo:hover {
          color:rgb(137,178,201);
        }



/* 4. Product select menu
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* */
/* a. button
 ----------------------------------- */
div#prodmenubtn {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 30px;
  height: 30px;
  margin: 0px auto;
  -weblit-transform: rotate(0deg):
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  background-color: rgba(0,0,0,0.8);
  box-shadow: 2px 2px 2px rgba(0,0,0,0.4);
  border-radius: 3px;
  cursor: pointer;
  z-index: 3;
}
  div#prodmenubtn span {
    display: block;
    position: absolute;
    height: 2px;
    width: 70%;
    left: 10%;
    background-color: rgba(255,255,255,1.0);
    border-radius: 2px;
    opacity: 1.0;
    -weblit-transform: rotate(0deg):
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
  }
    div#prodmenubtn span:nth-child(1) {
      top: 4px;
      width: 0%;
      left: 50%;
    }
    div#prodmenubtn span:nth-child(2) {
      top: 13px;
      width: 70%;
      -weblit-transform: rotate(45deg):
      -moz-transform: rotate(45deg);
      -o-transform: rotate(45deg);
      transform: rotate(45deg);
    }
    div#prodmenubtn span:nth-child(3) {
      top: 13px;
      width: 70%;
      -weblit-transform: rotate(-45deg):
      -moz-transform: rotate(-45deg);
      -o-transform: rotate(-45deg);
      transform: rotate(-45deg);
    }
    div#prodmenubtn span:nth-child(4) {
      top: 20px;
      width: 0%;
      left: 50%;
    }

    div#prodmenubtn.close {
      border-radius: 2x;
    }

    div#prodmenubtn.close span:nth-child(1) {
      top: 7px;
      width: 70%;
      left: 15%;
    }
    div#prodmenubtn.close span:nth-child(2) {
      -weblit-transform: rotate(0deg):
      -moz-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
      top: 14px;
      left: 15%;
      width: 70%;
    }
    div#prodmenubtn.close span:nth-child(3) {
      -weblit-transform: rotate(0deg):
      -moz-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
      top: 14px;
      left: 15%;
      width: 70%;
    }
    div#prodmenubtn.close span:nth-child(4) {
      top: 21px;
      width: 70%;
      left: 15%;
    }

/* b. menu
 ----------------------------------- */
div#prodmenu {
  position: absolute;
  top: 5px;
  left: 40px;
  width: 400px;
  padding-top: 5px;
  background-color: rgba(50,50,50,0.8);
  border-radius: 3px;
  z-index: 9;
}

  div#prodmenu h2 {
    position: relative;
    margin: 0px;
    padding: 0px 0px 0px 5px;
    width: calc(100% - 10px);
    text-align: left;
    font-size: 9pt;
    color: rgb(245,245,245);
  }

  img[name='closebtnA'] {
    position: absolute;
    top: 2px;
    right: 5px;
    cursor: pointer;
  }

  img[name='closebtnB'] {
    position: absolute;
    top: 2px;
    right: 5px;
    cursor: pointer;
  }

  div#prodmenu button {
    margin: 0px 2px;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    font-weight: normal;
    text-shadow:
      0px 1px 2px rgba(0,0,0,0.4),
      1px 0px 2px rgba(0,0,0,0.4),
      0px -1px 2px rgba(0,0,0,0.4),
      -1px 0px 2px rgba(0,0,0,0.4)
    ;
    background-color: rgb(200,200,200);
    border-radius: 3px;
    border: 
      outset 1px rgba(255,255,255,1.0)
    ;
    cursor: pointer;
  }
    div#prodmenu button.on {
      background-color: rgba(255,255,255,1.0);
      color: rgb(255,255,255)
      border: 
        inset 1px rgba(255,255,255,1.0)
      ;

    }

  div#prodmenu img {
    vertical-align: middle;
    height: 20px;
  }

  div#prodmenu div#adexp {
    color: rgb(255,255,255);
    font-size: 9pt;
  }
    div#adexp dl {
      margin-left:20px;
      pading: 0px;
      color: rgb(255,255,255);
      font-size: 9pt;
    }
      div#adexp dd {
        margin-left:20px;
      }

div#layU, div#layM, div#layB {
  position: relative;
  top: 5px;
  left:1%;
  display: flex;
  width: 98%;
  margin-bottom: 15px;
}

div.layname {
  width: 250px;
  height: 45px;
  border-radius: 2px;
  margin: 0px 5px;
  background-color: rgba(255,255,255,1.0);
  box-shadow:
    1px 1px 3px rgba(0,0,0,0.8)
  ;
  padding: 0px 5px;
  color: black;
}
  div.layname:first-line {
    font-size: 7.5pt;
  }


  .laystylN {
    line-height: 1.2em;
    font-size: 11pt;
  }

  .laystylH {
    line-height: 1.0em;
    font-size: 11pt;
  }

    button#prdBtn {
      position: absolute;
      top: 2px;
      right: 4px;
      height: 20px;
      background-color: rgba(255,0,0,0.8);
      border: outset 1px rgba(255,255,255,1.0);
      border-radius: 2px;
      margin: 0px;
      padding: 0px 5px 4px 5px;
      color: white;
      cursor: pointer;
      line-height: 1.0em;
    }
      button#prdBtn:active {
        background-color: rgba(255,0,0,1.0);
        border: inset 1px rgba(255,255,255,1.0);
      }

  div#layerArea ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
  }
    div#layerArea ul li {
      margin: 5px auto;
      padding: 4px 10px;
      width: calc(90% - 20px);
      border: outset 1px white;
      border-radius: 3px;
      background-color: rgba(40,40,40,1.0);
      box-shadow: 1px 2px 1px rgba(0,0,0,1.0);
      color: white;
      font-size: 10pt;
      cursor: pointer;
      line-height: 1.1em;
    }

    div#layerArea ul li.on {
      background-color: rgba(0,55,164,1.0);
      color: rgb(255,255,255);
      border: 1px solid rgb(255,255,255);
      box-shadow:
        0px 2px 2px rgba(255,255,255,0.1) inset,
        0px -2px 2px rgba(20,20,20,0.1) inset,
        1px 1px 2px rgba(0,0,0,0.8)
      ;
    }

  div#drctArea ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
  }

  div#drctArea ul li {
      margin: 2px auto;
      padding: 0px 10px;
      width: calc(90% - 20px);
      border: outset 1px white;
      border-radius: 3px;
      background-color: rgba(40,40,40,1.0);
      box-shadow: 1px 2px 1px rgba(0,0,0,1.0);
      color: white;
      font-size: 10pt;
      cursor: pointer;

  }
    div#drctArea ul li.on {
      background-color: rgb(0,128,255);
      color: rgb(255,255,255);
      border: 1px solid rgb(210,210,210);
      box-shadow:
        0px 2px 2px rgba(255,255,255,0.1) inset,
        0px -2px 2px rgba(20,20,20,0.1) inset,
        1px 1px 2px rgba(0,0,0,0.8)
      ;
   }

  div#drctArea ul li span {
    font-size: 9pt;
    padding-left:5px;
    color: gray;
  }

    div#layerArea li {
      display: none;
    }


/* 4. Information Windows
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* */
/* 4-2. Information Area
%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-% */
div#infoArea {
  position: absolute;
  top: 200px;
  left: 40px;
  width: 315px;
  height: 180px;
  margin: 0px auto;
  background-color: rgba(0,0,0,0.6);
  box-shadow: 1px 1px 1px rgba(0,0,0,0.4);
  border: 1px solid rgba(0,0,0,0.8);
  border-raidus: 5px;
  z-index: 8;
  display: none;
}
  div#infoArea h2 {
    margin: 0px;
    height: 21px;
    width: 100%;
    line-height: 22px;
    font-weight: normal;
    color: #FFF;
    text-align: left;
    font-size: 10pt;
  }
    div#infoArea h2 img{
      position: absolute;
      top:0px;
      right: 0px;
    }

  /* 4-2. What's New
  %-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-% */
  div#infoArea dl.whatsnew {
    font-size: 10pt;
    width: 100%;
    height: calc(100% - 22px);
    text-align: left;
    overflow-y: scroll;
    color: rgb(255,255,255);
    margin: 0px;
    padding: 0px;
  }  

    div#infoArea dl.whatsnew dt {  
      font-size: 9pt;
      float:left;  
      width:90px;  
      padding:0px 0px;  
      font-weight:bold;  
      border-top: 1px dotted #CCC;
      padding: 0px 5px;
    }

    div#infoArea dl.whatsnew dd {  
      margin-left: 90px;  
      border-top: 1px dotted #CCC;
      line-height: 1.3em;
      padding: 0px 5px;
    }  

    div#infoArea dl.whatsnew a:link    {color: #f04f00; text-decoration: none;}
    div#infoArea dl.whatsnew a:visited {color: #f04f00; text-decoration: none;}
    div#infoArea dl.whatsnew a:hover   {color: #ff7200; text-decoration: underline;}
    div#infoArea dl.whatsnew a:active  {color: #ff7e00; text-decoration: underline;}


/*
  Selectable product list (modal window)
%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-% */
div#productList {
  position: absolute;
  top: 5px;
  left: 360px;
  width: 630px;
  max-height: 90vh;
  padding-bottom: 10px;
  margin: 0px; auto;
  background-color: rgba(0,0,0,0.6);
  border: 1px solid rgb(20,20,20);
  border-radius: 3px;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.4);
  font-size: 10pt;
  z-index: 9;
  display:none;
  box-sizing: border-box;
  overflow-y: scroll;
}

  div#productList h2{
    margin: 0px;
    height: 30px;
    font-size: 12pt;
    color: white;
  }
    div#productList img[name="lystat"] {
      position: absolute;
      top: 0px;
      right: 25px;
      height: 25px;
      border: 0px solid rgb(255,255,255);
      border-radius: 2px;
      margin: 2px 10px 4px 5px;
      background-color: white;
      vertical-align: middle;
      box-shadow: 0px 0px 2px rgba(0,0,0,0.6) inset;
    }

  div#productList h3{
    margin: 5px;
    padding: 0px 0px 0px 5px;
    width: calc(100% - 10px);
    text-align: left;
    font-size: 11pt;
    color: rgb(245,245,245);
  }

  div#productList button {
    width: 180px;
    border-radius: 5px;
    background-color: rgba(87,87,87,1.0);
    border-top: 1px solid rgb(210,210,210);
    border-bottom: 1px solid rgb(113,113,113);
    border-left: 1px solid rgb(101,101,101);
    border-right: 1px solid rgb(101,101,101);
    box-shadow:
      0px 4px 4px rgba(255,255,255,0.1) inset,
      0px -4px 4px rgba(20,20,20,0.1) inset,
      1px 1px 3px rgba(0,0,0,0.8)
    ;
    cursor: pointer;
    padding: 0px;
    color: white;
    margin: 1px auto;
    height: 30px;
    font-size: 9pt;
    line-height: 1.0em;
  }

    div#productList button.style2L {
      height: 40px;

    }

    div#productList button.emptybox {
      border: 0px solid rgb(0,0,0);
      background-color: transparent;
      cursor: default;
      box-shadow: 0px 0px 0px rgba(0,0,0,0.0);
    }

    div#productList button.on {
      background-color: rgba(0,55,164,1.0);
      color: rgb(255,255,255);
      border: 1px solid rgb(255,255,255);
      box-shadow:
        0px 0px 4px rgba(0,0,0,0.8) inset
      ;
    }
    
    div#productList button.off {
      color: black;
      background-color: rgba(40,40,40,1.0);
    }

  div#sens {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    position: relative;
    top: 0px;
    width: 94%;
    background-color: transparent;
    border-radius: 3px;
    border: 1px solid white;
    padding: 5px 0px;
    margin: 10px auto;
    color:white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    text-align:center;
    line-height: 0.9em;
    font-size: 10pt;
  }
  
  div#calc {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    position: relative;
    top: 0px;
    width: 94%;
    background-color: transparent;
    border-radius: 3px;
    border: 1px solid white;
    padding: 5px 0px;
    margin: 10px auto;
    color:white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    text-align:center;
    line-height: 0.9em;
    font-size: 10pt;
  }

  div#term {
    display: flex;
    justify-content: space-evenly;
    position: relative;
    top: 0px;
    width: 98%;
    background-color: transparent;
    border-radius: 3px;
    border: 1px solid white;
    padding: 5px 0px;
    margin: 0px auto 10px auto;
    color:white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    text-align:center;
    line-height: 0.9em;
    font-size: 10pt;
  }
    div#term button {
      border-radius: 2px;
      background-color: rgba(87,87,87,1.0);
      border-top: 1px solid rgb(210,210,210);
      border-bottom: 1px solid rgb(113,113,113);
      border-left: 1px solid rgb(101,101,101);
      border-right: 1px solid rgb(101,101,101);
      box-shadow:
        0px 4px 4px rgba(255,255,255,0.1) inset,
        0px -4px 4px rgba(20,20,20,0.1) inset,
        1px 1px 3px rgba(0,0,0,0.8)
      ;
      font-size: 10pt;
      cursor: pointer;
      padding: 3px 5px;
      color: white;
    }
    div#term button.on {
      background-color: rgba(0,55,164,1.0);
      color: rgb(255,255,255);
      border: 1px solid rgb(255,255,255);
      box-shadow:
        0px 0px 4px rgba(0,0,0,0.8) inset
      ;
    }

  div#prod div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    position: relative;
    top: 0px;
    left: 3%;
    width: 94%;
    background-color:rgba(0,0,0,0.4);
    border-radius: 3px;
    border: 1px solid dimgray;
    padding: 5px 0px;
    margin-bottom: 5px;
    color:white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    text-align:center;
    line-height: 0.9em;
    font-size: 10pt;
  }

  div#drct {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    position: relative;
    top: 0px;
    width: 94%;
    background-color: transparent;
    border-radius: 3px;
    border: 1px solid white;
    padding: 5px 0px;
    margin: 10px auto;
    color:white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    text-align:center;
    line-height: 0.9em;
    font-size: 10pt;
  }
    div#drct button {
      line-height: 1.2em;
      border-radius: 3px;
      border: outset 1px rgb(0,135,230);
      background-color: rgb(218,227,243);
      color: rgb(0,0,0);
      font-weight: normal;
      font-size: 9.5pt;
      box-shadow: 1px 1px 2px rgba(0,0,0,0.4);
      padding: 5px;
      cursor: pointer;
      transition: 0.1s;
      margin: 0px 5px 0px 0px;
  }
    div#drct button:hover {
      background-color: rgba(17,27,222,1.0);
      color: rgb(255,255,255);
    }

/* ---------------------------------------- */
div#imageList {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: auto;
  background-color: rgba(0,0,0,0.8);
  border-top: 2px solid solver;
  z-index: 9;
  color: white;
  display: none;
}
  div#imageList ul{
    margin: 0px;
    padding: 0px;
    list-style-type: none;
  }

    div#imageList ul li{
      float: left;
      margin: 0px 4px;
      width: calc((100% - 60px) / 7 );
    }
      div#imageList ul li img{
        width: 100%;
      }


/* Pop-up content  */
      .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: 20px;
        margin-left: -20px;
        border-radius: 5px;
        border: 1px solid #cccccc;
        bottom: 10px;
        font-size: 10pt;
        z-index:9;
      }
      .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: 20px;
        margin-left: -10px;
      }
      .ol-popup:before {
        border-top-color: #cccccc;
        border-width: 11px;
        left: 20px;
        margin-left: -11px;
      }
      .ol-popup-closer {
        text-decoration: none;
        position: absolute;
        top: 2px;
        right: 8px;
      }
      .ol-popup-closer:after {
        content: "close";
      }

      .ol-popup table{
        width: 350px;
        border-collapse: collapse;
        border: 1px solid gray;
      }
/*
      .ol-popup th {
        text-align: left
        border: 1px solid gray;
        padding: 5px 10px;
        font-size: 11pt;
        width: 120px;
        line-height: 1.0em;
      }
*/
      .ol-popup td {
        border: 1px solid gray;
        padding: 10px 10px;
        font-size: 11pt;
        width: 120px;
        line-height: 1.2em;
      }

      .ol-popup span {
        font-size:9pt;
      }



div#imageList li img {
  border     : 1px solid black;
  opacity    : 0.5;
  transition : 0.2s;
}

div#imageList li img[name='thumb3'] {
  border: 2px solid red;
  opacity: 1.0;
}
  div#imageList li div {
    font-size: 9pt;
    margin: 0px;
    line-height: 1.0em;
  }



div.t0 {
  float: left;
  border: 2px solid rgb(255,255,255);
  border-radius: 3px;
  background-color: rgb(200,200,200);
  box-shadow: 1px 1px 2px rgba(0,0,0,0.4);
  font-size: 9pt;
  font-weight: bold;
  width: calc(100% / 3 - 12px - 6px);
  text-align: center;
  margin: 0px 2px;
  color: rgb(150,150,150);
}

div.t1 {
  float: left;
  border: 2px solid rgb(255,255,255);
  border-radius: 3px;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.4);
  font-size: 9pt;
  font-weight: bold;
  width: calc(100% / 3 - 12px - 6px);
  text-align: center;
  margin: 0px 2px;
  background-color: rgba(242,79,0,0.8);
  color: white;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
}

/* color bar
%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-% */
div#cbartoggle {
  position: absolute;
  bottom: 17px;
  left: 7px;
  width: 25px;
  height: 25px;
  padding: 0px;
  line-height: 1.0em;
  margin: 0px auto;
  -weblit-transform: rotate(0deg):
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  background-color: rgba(0,0,0,0.8);
  box-shadow: 2px 2px 2px rgba(0,0,0,0.4);
  border: 1px inset rgba(0,0,0,1.0);
  border-radius: 3px;
  cursor: pointer;
  z-index: 5;
}
  div#cbartoggle span {
    display: block;
    position: absolute;
    height: 2px;
    left: calc(25% - 2px);
    background-color: rgba(255,255,255,1.0);
    border-radius: 2px;
    opacity: 1.0;
    -weblit-transform: rotate(0deg):
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
  }
    div#cbartoggle.open span:nth-child(1) {
      top: 5px;
      width: 50%;
      left: calc(35% - 2px);
      -weblit-transform: rotate(60deg):
      -moz-transform: rotate(60deg);
      -o-transform: rotate(60deg);
      transform: rotate(60deg);
    }
    div#cbartoggle.open span:nth-child(2) {
      top: 15px;
      width: 50%;
      left: calc(35% - 2px);
      -weblit-transform: rotate(-60deg):
      -moz-transform: rotate(-60deg);
      -o-transform: rotate(-60deg);
      transform: rotate(-60deg);
    }

    div#cbartoggle span:nth-child(1) {
      top: 10px;
      width: 70%;
      left: calc(25% - 2px);
      -weblit-transform: rotate(-45deg):
      -moz-transform: rotate(-45deg);
      -o-transform: rotate(-45deg);
      transform: rotate(-45deg);
    }
    div#cbartoggle span:nth-child(2) {
      top: 10px;
      width: 70%;
      left: calc(25% - 2px);
      -weblit-transform: rotate(45deg):
      -moz-transform: rotate(45deg);
      -o-transform: rotate(45deg);
      transform: rotate(45deg);
    }


div#cbararea {
  position: absolute;
  bottom: 15px;
  left: 5px;
  z-index: 9;
  background-color: rgba(0,0,0,0.6);
  border: 1px solid rgb(0,0,0);
  border-radius: 0px 0px 3px 3px;
  box-shadow: 2px 2px 2px rgba(0,0,0,0.4);
  color: rgb(255,255,255);
  text-align: center;
  cursor: pointer;
  display: block;
  z-index: 4;
}
  div#cbararea img {
    width: 400px;
  }

  /* colorbar area */
  table.cbartblU, table.cbartblM, table.cbartblB {
    width: 600px;
    border-collapse: collapse;
    margin: 0px 2px 0px 2px;
    font-size:10pt;
  }
    table.cbartblU td, table.cbartblM td, table.cbartblB td {
      text-align: center;
      padding: 0px;
      line-height: 1.0;
      width: 80px;
    }
    table.cbartblU td:nth-child(2) {
      width: 200px;
    }
    table.cbartblM td:nth-child(2) {
      width: 200px;
    }
    table.cbartblB td:nth-child(2) {
      width: 200px;
    }

    table#cbarU, table#cbarM, table#cbarB {
      width: 600px;
      border-collapse: collapse;
      margin: 0px 2px 10px 2px;
      font-size:10pt;
    }
      td#tblprodU,td#tblprodM,td#tblprodB {
        width: 120px;
      }
      td#calStatU,td#calStatM,td#calStatB {
        width: 120px;
        font-size: 9pt;
        text-align: center;
      }
      td#tblunitU,td#tblunitM,td#tblunitB {
        width: 40px;
      }

    #cbarU td {
      width: 80px;
    }
    #cbarM td {
      width: 80px;
    }
    #cbarB td {
      width: 80px;
    }
    #cbarU td input {
      font-size: 10pt;
      text-align: right;
      width: 70px;
      margin: 0px;
      padding: 0px;
    }
    #cbarM td input {
      font-size: 10pt;
      text-align: right;
      width: 70px;
      margin: 0px;
      padding: 0px;
    }
    #cbarB td input {
      font-size: 10pt;
      text-align: right;
      width: 70px;
      margin: 0px;
      padding: 0px;
    }

/*
table.cbartblU, table.cbartblM {
  display: none;
}
table#cbarU, table#cbarM {
  display: none;
}
*/

  td#tblprodU, td#tblprodM, td#tblprodB {
    font-size: 9pt;
  }

  button.resetbtn {
    font-size: 8pt;
    padding: 0px;
    width: 50px;
    border-radius: 3px;
    border: 1px outset rgb(50,50,50);
    box-shadow: 1px 1px 1px rgba(0,0,0,0.5);
  }

/* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  Right side menu 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */
div#sidebtn {
  position:absolute;
  top: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
  margin: 0px auto;
  -weblit-transform: rotate(0deg):
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  background-color: rgba(0,0,0,0.8);
  box-shadow: 2px 2px 2px rgba(0,0,0,0.4);
  cursor: pointer;
  z-index: 3;
}
  div#sidebtn span {
    display: block;
    position: absolute;
    height: 2px;
    width: 80%;
    left: 10%;
    background-color: rgba(255,255,255,1.0);
    border-radius: 2px;
    opacity: 1.0;
    -weblit-transform: rotate(0deg):
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
  }
    div#sidebtn span:nth-child(1) {
      top: 4px;
      width: 0%;
      left: 50%;
    }
    div#sidebtn span:nth-child(2) {
      top: 13px;
      -weblit-transform: rotate(45deg):
      -moz-transform: rotate(45deg);
      -o-transform: rotate(45deg);
      transform: rotate(45deg);
    }
    div#sidebtn span:nth-child(3) {
      top: 13px;
      -weblit-transform: rotate(-45deg):
      -moz-transform: rotate(-45deg);
      -o-transform: rotate(-45deg);
      transform: rotate(-45deg);
    }
    div#sidebtn span:nth-child(4) {
      top: 21px;
      width: 0%;
      left: 50%;
    }

    div#sidebtn.open span:nth-child(1) {
      top: 7px;
      width: 70%;
      left: 15%;
    }
    div#sidebtn.open span:nth-child(2) {
      -weblit-transform: rotate(0deg):
      -moz-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
      top: 14px;
      width: 70%;
      left: 15%;
    }
    div#sidebtn.open span:nth-child(3) {
      -weblit-transform: rotate(0deg):
      -moz-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
      top: 14px; 
      width: 70%;
      left: 15%;
    }
    div#sidebtn.open span:nth-child(4) {
      top: 21px;
      width: 70%;
      left: 15%;
    }


div#sidemenu {
  position:absolute;
  top: 5px;
  right: 35px;
  width: 248px;
  background-color: rgba(0,0,0,0.6);
  border: 1px solid rgb(0,0,0);
  border-radius: 0px 0px 3px 3px;
  box-shadow: 2px 2px 2px rgba(0,0,0,0.4);
  text-align: center;
  line-height: 1.0em;
  z-index: 2;
}

  div#sidemenu div.subtitle {
    margin: 2px;
    padding: 0px 0px 0px 5px;
    width: calc(100% - 10px);
    text-align: left;
    font-size: 10.5pt;
    color: rgb(245,245,245);
  }

  div#sidemenu div.sublbl {
    margin: 2px 0px 5px 2px;
    width: calc(100% - 10px);
    text-align: left;
    font-size: 9pt;
    color: rgb(245,245,245);
  }

  div.subcnt {
    position: relative;
    top: 0px;
    left: 2%;
    width: 96%;
    background-color:rgba(0,0,0,0.4);
    border-radius: 3px;
    border: 1px solid dimgray;
    padding: 2px 0px;
    margin-bottom: 10px;
    color:white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    text-align:center;
    line-height: 0.9em;
    font-size: 10pt;
  }

    div.subcnt select {
      width: 90%;
    }

  /* Opacity Slider  *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* */
  div#sliderbox {
    position : relative;
    top: 0px;
    left: 2%;
    width: 96%;
    background-color:rgba(0,0,0,0.6);
    border-radius: 3px;
    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: 6px 0px 6px 0px;
    margin-bottom: 10px;
    z-index: 3;
    line-height: 1.0em;
  }

    div#slider { 
      margin: 5px auto;
      width    : 90%;
      height   : 8px;
      background-color:rgba(255,255,255,0.5);
    }

  div#baseswitch {
    position: relative;
    top: 0px;
    left: 0px;
    margin-bottom: 10px;
    z-index: 3;
  }
    div#baseswitch>select {
      border-radius: 3px;
      margin-top: -1px;
      background-color:rgba(0,0,0,0.6);
      border: 1px solid dimgray;
      color: snow;
      width: 230px;
      height: 25px;
      font-size: 8pt;
      text-align:center;
    }

  button#ir {
    border-radius: 3px;
    background-color:rgb(200,200,200);
    color: rgb(0,0,0);
    font-weight: normal;
    font-size: 9.5pt;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    width: 40px;
    padding: 0px;
    height: 22px;
    cursor: pointer;
    transition: 0.1s;
    margin: 0px 5px 0px 0px;
  }

    button#ir.on {
      background-color:rgb(255,255,255);
      color: rgb(17,27,222);
    }

  div#geoinfoGroup {
    position: relative;
    top: 0px;
    left: 2%;
    width: 96%;
    background-color:rgba(0,0,0,0.4);
    border-radius: 3px;
    border: 1px solid dimgray;
    padding: 0px;
    margin-bottom: 10px;
    color:white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    text-align:center;
    line-height: 0.9em;
  }
    div#geoinfoGroup button {
      width: 105px;
      height: 20px;
      border-radius: 5px;
      background-color: rgba(87,87,87,1.0);
      border-top: 1px solid rgb(210,210,210);
      border-bottom: 1px solid rgb(113,113,113);
      border-left: 1px solid rgb(101,101,101);
      border-right: 1px solid rgb(101,101,101);
      box-shadow:
        0px 4px 4px rgba(255,255,255,0.1) inset,
        0px -4px 4px rgba(20,20,20,0.1) inset,
        1px 1px 3px rgba(0,0,0,0.8)
      ;
      cursor: pointer;
      padding: 0px;
      color: white;
      margin: 3px 0px;
    }
      div#geoinfoGroup button > div {
        font-size: 8pt;
        padding: 0px;
        margin: 0px;
      }

  div#areasearch {
    position: relative; 
    top: 0px;
    left: 2%;
    width: 94%;
    background-color:rgba(0,0,0,0.4);
    border-radius: 3px;
    border: 1px solid dimgray;
    margin-bottom: 10px;
    padding: 2px;
  }

    div#areasearch select {
      width: 220px;
    }

  div#user_location {
    position: relative;
    top: 0px;
    left: 2%;
    width: 94%;
    background-color:rgba(0,0,0,0.4);
    border-radius: 3px;
    border: 1px solid dimgray;
    margin-bottom: 10px;
    padding: 2px;
    text-align: right;
  }
    div#user_location table {
      margin: 10px;
      padding: 0px;
      width: 95%;
      border-collapse: collapse;
    }
      div#user_location td {
        font-size: 10pt;
        color:white;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
        text-align: left;
        padding-left: 10pt;
      }
    div#user_location input {
      text-align: center;
      width: 90px;
    }

    div#user_location > div {
      display: flex;
    }

      div#user_location > div > button {
        border-radius: 3px;
        background-color: rgba(87,87,87,1.0);
        border-top: 1px solid rgb(210,210,210);
        border-bottom: 1px solid rgb(113,113,113);
        border-left: 1px solid rgb(101,101,101);
        border-right: 1px solid rgb(101,101,101);
        box-shadow:
          0px 4px 4px rgba(255,255,255,0.1) inset,
          0px -4px 4px rgba(20,20,20,0.1) inset,
          1px 1px 3px rgba(0,0,0,0.8)
        ;
        color: white;
        width: 110px;
        margin: 5px 5px;
        cursor: pointer;
     }

    div#user_location > button {
      border-radius: 3px;
      border: outset 1px rgb(0,135,230);
      background-color: rgb(218,227,243);
      color: rgb(0,0,0);
      font-weight: normal;
      font-size: 9.5pt;
      box-shadow: 1px 1px 2px rgba(0,0,0,0.4);
      padding: 0px 5px;
      height: 22px;
      cursor: pointer;
      transition: 0.1s;
      margin: 0px 5px 0px 0px;
    }
      div#user_location > button:hover {
        background-color: rgba(17,27,222,1.0);
        color: rgb(255,255,255);
        text-shadow: 1px 1px 2px rgba(0,0,0,0.0);
      }


  div#other_func {
    position: relative;
    top: 0px;
    left: 10px;
    width: 230px;
    background-color:rgba(0,0,0,0.4);
    border-radius: 3px;
    border: 1px solid dimgray;
    margin-bottom: 10px; 
  }

    div#other_func button {
      border-radius: 3px;
      background-color: rgba(87,87,87,1.0);
      border-top: 1px solid rgb(210,210,210);
      border-bottom: 1px solid rgb(113,113,113);
      border-left: 1px solid rgb(101,101,101);
      border-right: 1px solid rgb(101,101,101);
      box-shadow:
        0px 4px 4px rgba(255,255,255,0.1) inset,
        0px -4px 4px rgba(20,20,20,0.1) inset,
        1px 1px 3px rgba(0,0,0,0.8)
      ;
      color: white;
      width: 180px;
      margin-bottom: 5px;
      padding:2px;
      cursor: pointer;
      line-height: 1.0em;
    }

    div#other_func button.on {
      background-color: rgba(0,55,164,1.0);
      color: rgb(255,255,255)
      border-radius: 3px;
      border: 1px solid rgb(255,255,255);
    }

    /*  Graph Menu
    %-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-% */
    div#graphmenu {
      position: absolute;
      top: 50%;
      left: -102%;
      width: calc(100% - 10px);
      height: calc(50% - 10px);
      z-index:6;
      background-color: rgba(255,255,255,1.0);
      border: 1px solid rgb(0,0,0);
      border-radius: 0px 0px 3px 3px;
      box-shadow: 2px 2px 2px rgba(0,0,0,0.4);
      font-size: 10pt;
      text-align: left;
      padding: 5px 0px 5px 10px;
      display: none;
    }
      div#graphmenu div#grpcls {
        position:absolute;
        bottom: 45px;
        right: -11px;
        border-top: 1px solid black;
        border-right: 1px solid black;
        border-bottom: 0px solid black;
        border-left: 0px solid black;
        background-color: rgba(255,255,255,1.0);
        width: 20px;
        height: 20px;
        -weblit-transform: rotate(45deg):
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);

      }

        div#grpcls  span {
          position: absolute;
          left: 10%;
          height: 1px;
          width: 80%;
          display: block;
          background-color: rgba(0,0,0,1.0);
          border-radius: 1px;

        }
            div#grpcls  span:nth-child(1) {
              top: 10px; 
              -weblit-transform: rotate(45deg):
              -moz-transform: rotate(45deg);
              -o-transform: rotate(45deg);
              transform: rotate(45deg);
            }
            div#grpcls  span:nth-child(2) {
              top: 10px;
              -weblit-transform: rotate(-45deg):
              -moz-transform: rotate(-45deg);
              -o-transform: rotate(-45deg);
              transform: rotate(-45deg);
            }

      div#graphmenu button {
        width: 72px;
        font-size: 8pt;
        cursor: pointer;
        text-align: center;
      }

        div#graphmenu button.on {
          background-color: rgba(0,55,164,1.0);
          color: rgb(255,255,255);
          border-radius: 3px;
          border: 1px solid rgb(255,255,255);
        }

      div#point_menu {
        margin-top: 10px;
        display: block;
      }

      div#box_menu, div#boundary_menu {
        margin-top: 10px;
        display: none;
      }

    div#graphmenu button[name='shwgrp']{
      position: relative;
      top: 20px;
      left: calc(10% - 5px);
      width: 80%;
      /* height: 25px; */
      background-color: rgba(128,128,255,1.0);
      border: 1px solid rgba(45,0,95,1.0);
      box-shadow: 1px 1px 3px rgba(0,0,0,0.8);
      border-radius: 3px;
      transition: 0.2s;
      color: rgb(255,255,255);
      font-weight: bold;
      cursor: pointer;
    }

      div#graphmenu button[name='shwgrp']:hover {
        background-color: rgba(255,255,255,1.0);
        border: 2px solid rgba(128,128,255,1.0);
        color: rgb(128,128,255);
      }

    div#graphmenu input[type='text']{
      text-align: center;
      width: 100px;
    }

    /*  Graph Menu - boundaries -
    %-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-% */
    div#boundary_menu ul {
      list-style: none;
      margin: 0px 10px 0px 0px;
      padding: 0px;
    }
    div#boundary_menu li {
      position:relative;
      text-align: right;
    }
    div#boundary_menu li:nth-child(n+2) {
      display: none; 
    }
    div#boundary_menu li select {
      width: 220px;
      margin-bottom:2px;
      text-align:left;
    }
      div#boundary_menu select[name='boundaryB'] {
        width: 200px;
      }
      div#boundary_menu select[name='boundaryC'] {
        width: 180px;
      }
      div#boundary_menu select[name='boundaryD'] {
        width: 160px;
      }
      div#boundary_menu select[name='boundaryE'] {
        width: 140px;
      }
      div#boundary_menu select[name='boundaryF'] {
        width: 120px;
      }

  button#geo0.on,button#geo1.on,button#geo2.on,button#geo3.on {
    background-color: rgba(0,55,164,1.0);
    color: rgb(255,255,255);
    border: 1px solid rgb(255,255,255);
    box-shadow:
      0px 2px 2px rgba(255,255,255,0.1) inset,
      0px -2px 2px rgba(20,20,20,0.1) inset,
      1px 1px 2px rgba(0,0,0,0.8)
    ;
  }


div#modal {
  position:absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  min-height: 760px;
  background-color: rgba(0,0,0,0.6);
  z-index: 6;
  display: none;
}


/* Product note
%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-% */
div#notetoggle {
  position: absolute;
  bottom: 17px;
  left: 637px;
  width: 25px;
  height: 25px;
  padding: 0px;
  line-height: 1.0em;
  margin: 0px auto;
  -weblit-transform: rotate(0deg):
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  background-color: rgba(0,0,0,0.8);
  box-shadow: 2px 2px 2px rgba(0,0,0,0.4);
  border: 1px inset rgba(0,0,0,1.0);
  border-radius: 3px;
  cursor: pointer;
  z-index: 5;
}
  div#notetoggle span {
    display: block;
    position: absolute;
    height: 2px;
    left: calc(25% - 2px);
    background-color: rgba(255,255,255,1.0);
    border-radius: 2px;
    opacity: 1.0;
    -weblit-transform: rotate(0deg):
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
  }
    div#notetoggle.open span:nth-child(1) {
      top: 5px;
      width: 50%;
      left: calc(35% - 2px);
      -weblit-transform: rotate(60deg):
      -moz-transform: rotate(60deg);
      -o-transform: rotate(60deg);
      transform: rotate(60deg);
    }
    div#notetoggle.open span:nth-child(2) {
      top: 15px;
      width: 50%;
      left: calc(35% - 2px);
      -weblit-transform: rotate(-60deg):
      -moz-transform: rotate(-60deg);
      -o-transform: rotate(-60deg);
      transform: rotate(-60deg);
    }

    div#notetoggle span:nth-child(1) {
      top: 10px;
      width: 70%;
      left: calc(25% - 2px);
      -weblit-transform: rotate(-45deg):
      -moz-transform: rotate(-45deg);
      -o-transform: rotate(-45deg);
      transform: rotate(-45deg);
    }
    div#notetoggle span:nth-child(2) {
      top: 10px;
      width: 70%;
      left: calc(25% - 2px);
      -weblit-transform: rotate(45deg):
      -moz-transform: rotate(45deg);
      -o-transform: rotate(45deg);
      transform: rotate(45deg);
    }

div#notearea {
  position: absolute;
  bottom: 15px;
  left: 637px;
  width: 600px;
  z-index: 9;
  background-color: rgba(0,0,0,0.6);
  border: 1px solid rgb(0,0,0);
  border-radius: 0px 0px 3px 3px;
  box-shadow: 2px 2px 2px rgba(0,0,0,0.4);
  color: rgb(255,255,255);
  text-align: left;
  cursor: pointer;
  display: block;
  z-index: 4;
}

  ul#noteLink {
    display: flex;
    flex-wrap: wrap;
    justfy-content: space-around;
    list-style-type: none;
    padding: 0px;
    margin: 0px;
  }
    ul#noteLink li {
      margin: 2px 10px;
      display: none;
    }
      ul#noteLink li > a {
        text-decoration: none;
        color: steelblue;
      }

  ul#noteList {
    list-style-type: none;
    height: 98px;
    overflow-y: scroll;
    padding: 0px;
    margin: 10px 10px 10px 40px;
    background-color: white;
    color: black;
  }
    ul#noteList li {
      padding: 5px;
      display: none;
    }
    
/* infomation
%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-% */
div#infotoggle {
  position: absolute;
  left: 5px;
  width: 25px;
  height: 25px;
  padding: 0px;
  line-height: 1.0em;
  margin: 0px auto;
  -weblit-transform: rotate(0deg):
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  background-color: rgba(0,0,0,0.8);
  box-shadow: 2px 2px 2px rgba(0,0,0,0.4);
  border: 1px inset rgba(0,0,0,1.0);
  border-radius: 3px;
  cursor: pointer;
  z-index: 5;
}

  div.laj#infotoggle {
    bottom: 185px;
  }
  
  div.lae#infotoggle {
    bottom: 185px;
  }

  div#infotoggle span {
    display: block;
    position: absolute;
    height: 2px;
    left: calc(25% - 2px);
    background-color: rgba(255,255,255,1.0);
    border-radius: 2px;
    opacity: 1.0;
    -weblit-transform: rotate(0deg):
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
  }
    div#infotoggle.open span:nth-child(1) {
      top: 5px;
      width: 50%;
      left: calc(35% - 2px);
      -weblit-transform: rotate(60deg):
      -moz-transform: rotate(60deg);
      -o-transform: rotate(60deg);
      transform: rotate(60deg);
    }
    div#infotoggle.open span:nth-child(2) {
      top: 15px;
      width: 50%;
      left: calc(35% - 2px);
      -weblit-transform: rotate(-60deg):
      -moz-transform: rotate(-60deg);
      -o-transform: rotate(-60deg);
      transform: rotate(-60deg);
    }

    div#infotoggle span:nth-child(1) {
      top: 10px;
      width: 70%;
      left: calc(25% - 2px);
      -weblit-transform: rotate(-45deg):
      -moz-transform: rotate(-45deg);
      -o-transform: rotate(-45deg);
      transform: rotate(-45deg);
    }
    div#infotoggle span:nth-child(2) {
      top: 10px;
      width: 70%;
      left: calc(25% - 2px);
      -weblit-transform: rotate(45deg):
      -moz-transform: rotate(45deg);
      -o-transform: rotate(45deg);
      transform: rotate(45deg);
    }

div#infoarea {
  position: absolute;
  left: 5px;
  width: 432px;
  z-index: 9;
  background-color: rgba(0,0,0,0.6);
  border: 1px solid rgb(0,0,0);
  border-radius: 0px 0px 3px 3px;
  box-shadow: 2px 2px 2px rgba(0,0,0,0.4);
  color: rgb(255,255,255);
  text-align: left;
  cursor: pointer;
  display: block;
  z-index: 4;
}

div.laj#infoarea {
  bottom: 184px;
}

div.lae#infoarea {
  bottom: 184px;
}

  ul#infoList {
    list-style-type: none;
    height: 98px;
    overflow-y: scroll;
    padding: 0px;
    margin: 10px 10px 10px 40px;
    background-color: white;
    color: black;
    font-size: 9pt;
  }
    ul#infoList li {
      padding: 5px;
      border-bottom: 1px dotted black;
    }
        ul#infoList li#infotitle {
      border-bottom: 1px dotted #c9c9c9;
    }


/* Responsive style settings
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- */

@media screen and (max-width: 1200px) {
  div#notearea {
    left: 0px;
    bottom: 220px;
  }
  div#notetoggle {
    left: 0px;
    bottom: 220px;
  }

    div#global_menu ul li a{font-size:x-small; padding: 2px;width:auto}
div#global_menu ul li{width: auto;}
}

@media screen and (max-width: 1100px) {

header{height:164px}
  div#mainlogo {
  }
  div#datemenu_areaA {
    left: 5px;
    top:85px
  }
  div#datemenu_areaB {
    left: 5px;
    top:115px
  }


}

@media screen and (max-width: 720px) {
  div#cbararea { width: 98%; }
  div#cbararea img { width: 100%; }
  table.cbartblU { width: 100%; }
  table.cbartblM { width: 100%; }
  table.cbartblB { width: 100%; }
  table#cbarU { width: 100%; }
  table#cbarM { width: 100%; }
  table#cbarB { width: 100%; }
  div#notearea { width: 100%; }
  table.cbartblU td:nth-child(2) { width: 33%; }
  table.cbartblM td:nth-child(2) { width: 33%; }
  table.cbartblB td:nth-child(2) { width: 33%; }
}

