@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  border: 0;
}
::selection {
  background: #ccc;
  color: #BC002D;
}
::-moz-selection {
  background: #ccc;
  color: #BC002D;
}
html { font-size: 100%; }
body {
  font-size: 100%;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { -webkit-tap-highlight-color: #BC002D; }
a {
  color: #fff;
  text-decoration: none;
  -webkit-transition: all .2s linear;
  -moz-transition: all .2s linear;
  -o-transition: all .2s linear;
  transition: all .2s linear;
}
a:hover {
  color: #ccc;
}
a:focus {
  background: #BC002D;
  color: #fff;
}
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  color: #111;
}
h1 {
  font-size: 2em;
  font-weight: 800;
  padding-top: 0.25em;
  margin-bottom: 0.5em;
}
h2 {
  font-size: 1.5em;
  font-weight: 800;
  line-height: 1.2;
  padding: 2em 0 0.5em 0;
  margin: 0;
}
h2.first {
  padding-top: 0;
}
h3 {
  font-size: 5em;
  font-weight: normal;
  line-height: 1.25;
  margin: 0;
  padding: 0 0 0.25em 0;
  text-align: center;
}
h4 {
  font-size: 1.2em;
  font-weight: 800;
  line-height: 1.25;
  padding-top: 1.25em;
  margin-bottom: 1em;
  color: #444;
}
h5 {
  font-size: 1em;
  font-weight: 600;
  padding-top: 0.6em;
  margin-bottom: 0.9em;
}
h6 {
  font-size: 0.8em;
  font-weight: 600;
  margin-bottom: 0;
}
p {
  padding: 0.25em 0;
  margin: 0;
  line-height: 1.5;
}
table {
  margin-bottom: 1.4em;
  border: 1px solid #ccc;
}
thead {
  text-align: left;
  font-weight: bold;
}
tbody tr:nth-child(even) td, .alt td { background: #dedede; }
tfoot { font-style: italic; }
tfoot td, tfoot th { padding: .75em 10px; }
th, td, caption { border: 1px solid #ccc; }
td, th {
  padding: 0.25em 0.75em;
  line-height: 1.45em;
}
caption {
  border-bottom: 0;
  padding: .75em 10px;
  line-height: 1.45em;
  text-align: left;
  font-style: italic;
}
blockquote {
  margin: 0 1.5em 1.5em;
  font-style: italic;
}
hr {
  background: #ccc;
  color: #ccc;
  clear: both;
  float: none;
  width: 100%;
  height: 1px;
  margin: 0 0 1.4em;
  border: none;
}
.page__header {
  box-shadow: 0 2px 10px 0px #666, 0 -1px 0 rgba(255, 255, 255, 0.16) inset;
  box-shadow: 1px 1px 10px #111;
  background-color: #BC002D;
  border-bottom: 1px solid #666;
  margin-bottom: 10px;
  padding: 1.15em 10%;
  text-align: center;
  text-shadow: 1px 1px 0 #000;
}
.page__title {
  font-family: Georgia, serif;
  color: #fff;
  font-size: 2.25em;
  font-weight: normal;
  line-height: 1.1em;
  margin-bottom: .25em;
  position: relative;
}
.page__menu {
  list-style-type: none;
  font-size: 1.1em;
  text-transform: uppercase;
  margin: 1em auto 0 auto;
  padding: 0;
}
.page__menu li {
  position: relative;
  display: inline;
  margin: 0 2em;
}
.page__menu li a { font-family: 'Open Sans', Helvetica, Arial, sans-serif; }
.toc:before, .about:before, .contact:before, .font:before {
  font-family: 'FontAwesome';
  font-style: normal;
  font-weight: normal;
  display: block;
  position: absolute;
  top: 3px;
  left: -30px;
  pointer-events: none;
  text-align: center;
  width: 30px;
}
.toc:before {
  content: '\f03a';
}
.about:before {
  content: '\f129';
}
.contact:before {
  content: '\f1fa';
}
.font:before {
  content: '字';
}
.main {
  margin: 0 auto 50px;
  max-width: 1200px;
  padding: 0 4.6875%;
  position: relative;
}
.overview {
  font-size: 1.3em;
  margin: 0 auto 50px;
  max-width: 580px;
  text-align: center;
  position: relative;
}
.circle {
  width: 64px;
  height: 64px;
  border-radius: 32px;
  -moz-border-radius: 32px;
  -webkit-border-radius: 32px;
  line-height: 64px;
  text-align: center;
  font-style: normal;
  color: #fff;
  background: #bc002d;
  margin: 0 auto 1em auto;
}
.post__article {
  background-color: #fafafa;
  border: 1px solid #e5e2d3;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  margin-left: 65px;
  padding: 20px;
}
.post__article ul {
  list-style-type: disc;
  list-style-position: outside;
  margin: 0.5em 0 0.5em 2em;
}
.post__article ol {
  list-style-position: outside;
  margin: 0.5em 0 0.5em 2em;
}
.post__article ul ul {
  list-style-type: circle;
  margin-top: 0.25em;
}
.post__article ul li, .post__article ol li { padding: 0.25em; }
.post__article dt {
  margin: 0.5em 0 0 0;
  padding: 0;
}
.post__article dd {
  margin: 0 0 0 2em;
  padding: 0;
  line-height: 1.5;
}
.half { margin-bottom: 0.5em; }
.breakdown {
  margin: 0 auto;
  text-align: center;
}
.breakdown img {
  height: 48px;
  width: 48px;
  padding-bottom: 0.5em;
  cursor: crosshair;
}
.vid { text-align: center; }
video, video[poster] {
  width: 128px;
  height: 128px;
  border: 1px solid #ccc;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  cursor: pointer;
}
.reveal {
  color: #BC002D;
  cursor: pointer;
}
.ans { display: none; }
.up {
  text-align: center;
  font-size: 1.5em;
  cursor: pointer;
}
footer {
  margin: 5em auto 1em auto;
  text-align: center;
  font-size: 80%;
  border-top: 1px solid #bbb;
  padding-top: 1em;
  color: #666;
}
footer a {
  color: #333;
  text-decoration: none;
  -webkit-transition: all .2s linear;
  -moz-transition: all .2s linear;
  -o-transition: all .2s linear;
  transition: all .2s linear;
}
footer a:hover, footer a:focus { color: #BC002D; }

.scroll-nav { position: absolute; }
.scroll-nav.fixed .scroll-nav__wrapper {
  position: fixed;
  top: 60px;
}
.scroll-nav__wrapper {
  border: 1px solid #777;
  background-color: #999;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  padding: 10px 5px;
}
.scroll-nav__heading {
  border-bottom: 1px solid #fff;
  color: #fff;
  display: block;
  font-size: 1.2em;
  margin-bottom: 15px;
  overflow: hidden;
  padding-bottom: 10px;
  padding-top: 0;
  text-align: center;
  width: 40px;
}
.scroll-nav__heading:before {
  font-size: 40px;
}
.scroll-nav__list {
  margin-bottom: 0;
}
.scroll-nav__item {
  font-weight: 600;
  font-size: 30px;
  line-height: 1.2em;
  margin: 0 auto;
  overflow: hidden;
  width: 40px;
}
.scroll-nav__item:before {
  color: #fff;
  display: block;
  position: absolute;
  pointer-events: none;
  text-align: center;
  width: 40px;
}
.scroll-nav__item.active {
  -webkit-transform: scale(1.3, 1.3);
  -moz-transform: scale(1.3, 1.3);
  -ms-transform: scale(1.3, 1.3);
  -o-transform: scale(1.3, 1.3);
  transform: scale(1.3, 1.3);
  font-weight: 800;
}
.scroll-nav__item.active a/*:hover*/ {
  font-weight: 800;
  background: #BC002D;
}
.scroll-nav__link {
  color: #fff;
  display: block;
  margin: 0 auto;
  padding-left: 42px;
}
.scroll-nav__link:hover {
  color: #fff;
}
.scroll-nav__heading:before, .scroll-nav__item.gramatică:before, .scroll-nav__item.vocabular:before, .scroll-nav__item.exerciții:before {
  font-family: 'FontAwesome';
  font-style: normal;
  font-weight: normal;
  speak: none;
}
.scroll-nav__item.lecție:before { content: '課'; }
.scroll-nav__item.gramatică:before { content: "\f02d"; }
.scroll-nav__item.scriere:before { content: '字'; }
.scroll-nav__item.vocabular:before { content: '\f0f6'; }
.scroll-nav__item.exerciții:before { content: '\f040'; }
.scroll-nav__item.conversație:before { content: '話'; }

.page__title span,
.overview span,
.ans,
.jp
{ 
  font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
.jp span { color: #BC002D; }
.jp u {
  text-decoration: none;
  border-bottom: 1px solid #BC002D;
}
@media screen and (min-width: 45em) {
  .page__header {
    text-shadow: 0 -1px 0 #000;
  }
  .page__title {
    font-size: 3em;
  }
  .overview {
    font-size: 2em;
    max-width: 700px;
  }
  .circle {
	position: absolute;
	bottom: 5px;
	margin: auto;
  }
  .main {
    padding: 0 7%;
  }
  .post__article {
    margin-left: 210px;
    padding: 30px;
  }
  .kanji {
    width: 100%;
    overflow: hidden;
  }
  .half {
    width: 50%;
    float: left;
    overflow: hidden;
    margin-bottom: auto;
  }
  .scroll-nav__wrapper {
    padding: 15px 10px;
  }
  .scroll-nav__heading {
    font-size: 1.3em;
    width: 170px;
  }
  .scroll-nav__item {
    font-size: 16px;
    line-height: 1.4em;
    overflow: visible;
    width: 170px;
  }
  .scroll-nav__item.active {
    -webkit-transform: scale(1.2, 1.2);
    -moz-transform: scale(1.2, 1.2);
    -ms-transform: scale(1.2, 1.2);
    -o-transform: scale(1.2, 1.2);
    transform: scale(1.2, 1.2);
    padding-left: 0.5em;
  }
  .scroll-nav__item:before {
    width: 30px;
  }
  .scroll-nav__link {
    padding-left: 30px;
  }
}
@media screen and (max-width: 35em) {
	table, thead, tbody, th, td, tr { display: block }
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	tr {
		border: 1px solid #ccc;
		margin: -1px 0; /*double-border fix*/
	}
	td { 
		border: none;
		position: relative;
	}
	td:before { 
		position: absolute;
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
}