/* mycss ver.1.1.0 */

/* 固定フッタスタイル */
html {
    position: relative;
    min-height: 100%;
    margin:0px;
    background-color:#FFFFFF;
    color:#000000;
}
/* my_footerを使う場合、本体をmargin-bottomでfooterエリアを確保しなければならない。 */
main {
    font-family: "ヒラギノ角ゴシック W4",'Noto Sans JP',"Hiragino Sans",sans-serif;
    margin-bottom: 40px;
}
/* footerだとBulmaのfooterを上書きしてしまう */
.my_footer {
    font-size: 80%;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px; /* ここでフッタの固定高さを設定 */
    line-height: 40px; /* ここでテキストを垂直に中央に配置 */
    background-color: #f5f5f5;
}
/*
 tableの列を改行禁止にする。
 スマホでは役に立たないのでコメントアウト。
 */
/* td.nowrap {
  white-space: nowrap;
  }
th {
  white-space: nowrap;
} */

a.vmenu {
    text-decoration: none; 
    color:#000000; /* リンク要素のデフォルトの青を黒に */
    font-size:100%;
    /*猫の足跡は背景として敷く。背景画像は繰り返さず、横0、上10px空けて配置する*/
    background:url(/static/cat_foot.png) no-repeat 0 7px ;
    /*猫の足跡アイコンとメニュー項目の文字がカブらないように、左側を20px空ける*/
    padding:3px 0 3px 20px;
}
a.vmenu:hover {
    color:#666666;
    background-color:#ffdcd7
}

/* 2019/08/02現在、safariでBulmaのclass = "select"が機能しないため、下記cssを使用。*/
/* https://coliss.com/articles/build-websites/operation/css/consistent-select-element-styling.html*/
.select-css {
  display: block;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #444;
  line-height: 1.0;
  padding: .6em 1.4em .5em .8em;
  max-width: 100%; 
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #aaa;
  box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
  border-radius: .5em;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
    linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
  background-repeat: no-repeat, repeat;
  background-position: right .7em top 50%, 0 0;
  background-size: .65em auto, 100%;
}
.select-css::-ms-expand {
  display: none;
}
.select-css:hover {
  border-color: #888;
}
.select-css:focus {
  border-color: #aaa;
  box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
  box-shadow: 0 0 0 3px -moz-mac-focusring;
  color: #222; 
  outline: none;
}
.select-css option {
  font-weight:normal;
}

/* 入力フォーム用 style sheet */
.errorlist {
  margin: 0;
  padding: 0;
  list-style-type: none;
  color: red;
}
div.my_field > span.helptext {
  font-size: 14px;
  color: #999;
}
div.my_field input, div.my_field > select-css, div.my_field > button {
  width: 100%;
  padding: 6px 12px;
  box-sizing: border-box;
  border-radius: 4px;
  border: solid 1px #999;
}
div.my_field > textarea {
  border-radius: 10px;
  border: solid 1px #999;
}

/* webkit系ブラウザ用のスクロールバー調整 */
::-webkit-scrollbar{
  width: 10px;
}
::-webkit-scrollbar-track{
  background: #fff;
  border-left: solid 1px #ececec;
}
::-webkit-scrollbar-thumb{
  background: #ccc;
  border-radius: 10px;
  box-shadow: inset 0 0 0 2px #fff;
}

/* ログイン画面用 */
.login_style {
  width: 280px;
  margin: auto;
}
/* データ入力・修正画面用 */
#form_style {
  width: 60%;
  margin: auto;
}

/*
 グラフ表示用
 https://obel.hatenablog.jp/entry/20160626/1466937585 
*/
/* 769px以上ではwidthは60% */
.graph_container {
  width: 70%;
  margin: auto;
}
/* 768px以下ではwidthは100% */
@media screen and (max-width: 768px) {
  .graph_container {
    width: 100%;
    margin: auto;
  }
}

/* tableの中央配置 */
.table_center_nowrap {
  width: auto;
  margin: 3px auto;
  white-space: nowrap;
}
