body{
  margin: 0;
  background-color: #e6ecf0;
}

#header{
  margin: 0 0 20px;
  padding: 10px 80px 10px;
  background-color: #fff;
  position: relative;
  height:160px;

  box-shadow: 0px 3px 10px rgba(0,0,0,0.4);
}

#search_wrapper{
  position: absolute;
  top: 30px;
  right: 80px;
}
#search_error{
  color: red;
  font-size: 0.8em;
  display:none;
}
#search_output_wrapper{
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  padding: auto;
  background-color: rgba(0, 0, 0, 0.4);
  
  display: none;
  overflow-y: scroll;
}
#search_output{
  width: 400px;
  margin: 10px auto;
}

#content{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.unit{
  margin: 5px;
  padding: 20px;
  width: 400px;
  background-color: #fff;
  
  box-shadow: 0px 3px 10px rgba(0,0,0,0.4);
  border-radius: 5px;
}

.cycle{
  max-height: 100px;
  overflow-y: scroll;
}

.freq_table{
  overflow-x: scroll;
}

a{ color: #0645ad; text-decoration:none; border-bottom: 1px dashed; }
a:visited{ color: #0b0080; }
a:hover{ color: #06e; }
a:active{ color:#faa700; }
a:hover, a:active{ outline: 0; }

p{margin:1em 0;}

img{max-width:100%;}

h1,h2,h3{font-weight:normal;color:#111;line-height:1em;}
h1{ font-size:2.5em; }
h2{ font-size:2em; border-bottom:1px solid silver; padding-bottom: 5px; }
h3{ font-size:1.2em; }

blockquote{color:#666666;margin:0;padding-left: 3em;border-left: 0.5em #EEE solid;}
hr { display: block; height: 2px; border: 0; border-top: 1px solid #aaa;border-bottom: 1px solid #eee; margin: 1em 0; padding: 0; }

pre, code{
  color: #000;
  font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;
  font-size: 0.94em; /* 0.94 = 0.88 + (1.00 - 0.88) / 2 */
  border-radius:3px;
  background-color: #F8F8F8;
  border: 1px solid #CCC;
}
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; padding: 5px;}
pre code { border: 0px !important; background: transparent !important; line-height: 1.3em; }
code { padding: 0 3px 0 3px; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 2em; }
li p:last-child { margin:0 }
dd { margin: 0 0 0 2em; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
table { border-collapse: collapse; border-spacing: 0; }
td, th { vertical-align: top; padding: 4px 10px; border: 1px solid #bbb; }
tr:nth-child(even) td, tr:nth-child(even) th { background: #eee; }