/*
* menu.css
* http://tasuke.dna.affrc.go.jp/
*
* Author: Jungsok Kim, Ryutaro Itoh
*
* Copyright (c) 2013 National Institute of Agrobiological Sciences   
*
*/

@charset "utf-8";

@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700');
@import url(../lib/font-awesome/css/font-awesome.min.css);

#menu {
        font-family:Roboto, 'Helvetica Neue', Helvetica, Arial;
}

#menu {
        margin: 0;
        height: 40px;
    //margin-bottom: 30px;
    /*margin-bottom: 60px;*/
        padding-left: 16px;
        background: #098c80;
        box-shadow: 0 1px 3px rgba(0,0,0,.3);
}

#menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  z-index:10
}

#menu li {
  float: left;
  min-width: 80px;
  white-space: nowrap;
  margin-left:0;
}

#menu ul ul { /*2段目以降*/
  display: none;
  position: absolute;
}

#menu li li { /*2段目以降のリスト項目*/
  clear: left;
  position:relative;
  width: 100%;
}

#menu ul ul ul { /*3段目以降*/
  top: 0;
  left: 100%;
}

#menu ul li:hover > ul {
  display: block;
}

*+html #menu ul ul a { /*IE用*/
  width: 72px; /*（94-10-10-1-1）パディングとボーダーの分を引いた値*/
  white-space: normal; /*幅に応じて改行*/
}
/*
#menu li {
  margin-left: 3px;
}
*/
#menu a { /*1段目以降のメニュー文字*/
  font-size: 16px;
  background-color:#098c80;
  line-height:normal;
  color: #ffffff;
  text-decoration: none;
  text-align: center; /*1段目は文字を中央合わせに*/
  padding: 9px;
  display: block;
  font-weight: 400;
  min-width: 80px;
  transition: all .15s ease-in-out;
}

#menu a:hover {
  color: #fff;
  background-color: rgba(0, 77, 64, 0.37);
}

#menu ul ul {
  padding-top: 1px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

#menu ul ul ul { /*3段目以降*/
  padding-top: 1px;
  padding-left: 1px;
  z-index: -10;
}

#menu li li {
  margin-left: 0; /*liのmargin-left: 3pxを元に戻す*/
}

#menu ul ul a { /*2段目以降のメニュー文字*/
  font-size: 14px;
  text-align: left;
  border: none;
  border-top: dotted 1px #c5c5c5;
  background-color: #ffffff;
  color: #333;
  transition: all .15s ease-in-out;
}

#menu a.nolink:hover {
  background-color: #343434;
  cursor: default;
  color: #ffffff;
}
#menu > ul > li > ul > li:first-child > a,
#menu > ul > li > ul > li > ul > li:first-child > a {
    border-top: none;
}

#menu ul ul a:hover {
    color: #333;
        background-color: #e8fbd3;
}

#menu ul ul i[class="fa fa-caret-right"]  {
        /*float: right;*/
        position: absolute;
    right: 8px;
    top: 12px;
}
/*
.mode {
	width:140px;
}
*/
