html,body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #dcdcdc;
  font-family: "lucida grande", tahoma, verdana, arial, "Hiragino Kaku Gothic Pro","Osaka",Meiryo,"メイリオ","ＭＳ ゴシック",sans-serif;
}

@media (orientation:landscape) {
    html.ipad.ios7 > body {
        position: fixed;
        bottom: 0;
        width:100%;
        height: 644px !important;
        margin: 0;
        padding: 0;
        background-color: #dcdcdc;
        font-family: "lucida grande", tahoma, verdana, arial, "Hiragino Kaku Gothic Pro","Osaka",Meiryo,"メイリオ","ＭＳ ゴシック",sans-serif;
    }
}

@media print {
	body { display:none; }
}

a {
  color: #0645ad;
  text-decoration: none;
}

a:hover {
text-decoration: underline;
}

a:link {
  color: #0645ad;
}

#container {
  background-color: transparent;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  width: 100%;

  height:auto !important;

  min-height:100%;
}

header {
  height: 40px;
  position: relative;
  background-color: #cacaca;
}

#content{
  position: absolute;
  top: 0;
  bottom: 0;
  overflow: hidden;
  margin-top: 40px;
  width: 100%;
}

#view {
  width: 100%;
  height: 100%;
}

#view.fullpage {
  left: 0;
  border: 0;
  width:      100%;
  border:     none;
  position:   fixed;
  z-index:    999999;
  background-color: #dcdcdc;
}

#toolbarDiv
{
  background-color: transparent;
}

#toolbarDiv.fullpage {
  top: 0;
  left: 0;
  height: 40px;
  width: 100%;
  border: none;
  z-index: 999999;
  background-color: #cacaca;
}

#footerbarDiv
{
  position: relative;
  width:100%;
}

footer {
  position: absolute;
  clear: both;
  width: 100%;
  height: 40px;
  bottom: 0;
  left: 0;
  background-color: #cacaca;
}

.navigator .highlight{
  opacity:    0.4;
  filter:     alpha(opacity=40);
  border:     2px solid #900;
  outline:    none;
  background-color: #900;
}
.highlight{
  opacity:    0.4;
  filter:     alpha(opacity=40);
  border:     2px solid #0A7EbE;
  outline:    10px auto #0A7EbE;
  background-color: white;
  -moz-background-size:contain;
  background-size:contain;
}
.highlight:hover, .highlight:focus{
  filter:     alpha(opacity=70);
  opacity:    0.7;
  -moz-background-size:contain;
  background-size:contain;
  background-color: transparent;
}

.hfdleft {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.hfspanleft {
  position: absolute;
  line-height:40px;
  left: 10px;
}

.hfspanleft * {
  margin:0px 0px 0px 0px;
  padding: 0px;
  display: inline;
}

.hfdright {
  position: absolute;
  line-height: 40px;
  right: 10px;
  white-space: nowrap;
  overflow: hidden;
}
