/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}
body {
  /* Margin bottom by footer height */
    margin-bottom: 60px;
    font-size: 16px;
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    background-color: #f5f5f5;
}


/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

body > .container {
  padding: 81px 15px 0;
}
.container .text-muted {
  margin: 20px 0;
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

code {
  font-size: 80%;
}

h1.q-title {
    font-size: 24px;
    font-weight: bold;
}

h2.sub-title {
    font-size: 20px;
}

.alert h3 {
    margin-top: 0;
    font-size: 16px;
    font-weight: bold;
}

p, table {
    font-family: "Times", "Times New Roman", "ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
}

.alert.alert-mathjax {
    background-color: #cef6f5;
    font-size: small;
    padding: 5px;
}

.math.display {
  display: block;
  background-color: #cef6f5;
  font-size: small;
  padding: 5px;
}

.math.inline {
    font-size: small;
}

.alert.alert-answer {
    background-color: #ffe0e0;
    color: red;
}

.term .glyphicon.glyphicon-search {
    font-size: 60%;
}

.term {
    text-decoration: underline;
}

mark {
    padding: 2px 4px 2px 4px;
    background: #FFF592;
}

.marker-red {
    background: #ffe0e0;
}

.marker-yellow {
    background: #fff592;
}

.marker-blue {
    background: #e0e0ff;
}

.marker-green {
    background: #d0ffd0;
}

.alert img {
    max-width: 100%;
}

.chem-formula {
    font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,"Yu Gothic",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
    font-weight: bold;
}

.maru-yaku {
    display: inline-block;
    border-radius: 0.7em;
    margin-left: 0.5em;
    margin-right: 0.5em;
    padding: 0.2em 0.5em 0.2em 0.5em;
}

.tokikata .maru-yaku {
    background: #2196f3;
    border-color: #1791f2;
    color: white;
    font-size: 15px;
}

.mondai .maru-yaku {
    background: #444;
    border-color: black;
    color: white;
    font-size: 15px;
}

.bekkai .maru-yaku {
    background: #ffa500;
    border-color: #ff8c00;
    color: white;
    font-size: 15px;
}

.hosoku .maru-yaku {
  background: #006400;
  border-color: #2f4f4f;
  color: white;
  font-size: 15px;
}


dl dd {
    padding-left: 1em;
}

.canvas-frame {
  width: 100%;
  height: 250px;
}

.canvas-3d {
  margin-bottom: 1em;
  border: solid 1px #ddd;
}

@media (max-width: 767px) {
  figure {
    text-align: center;
  }
  figure img, p img {
    max-width: 95%;
  }
}

@media (min-width: 768px) {
  figure img {
    max-width: 600px;
  }
}

iframe.animation {
  border:none;
  width: 100%;
  height: 300px;
}

.alert-important h4::before {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\e034";
}

.collapse-box {
}

.collapse-box .math.display {
  background: none;
}

video {
  max-width: 100%;
}

button.navbar-toggle {
  visibility: hidden;
}
