@font-face {
  font-family: 'Basileia';
  font-weight: normal;
  src: url("/assets/fonts/Basileia.ttf");
}

@media print {
  body * {
    visibility: hidden;
  }
  #print-div, #print-div * {
    visibility: visible;
  }
  #print-div {
    position: fixed;
    left: 0;
    top: 0;
    width: 375px;
  }
  #print-window {
    display: block;
  }
}
html, body {
  height: 100%;
	font-family: PingFangSC-Light;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	font-family: inherit;
  font-size: inherit;
  line-height: 1.8;
  color: #4a4a4a;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
strong {
  font-weight: bold;
}
em {
  font-style: italic;
}
body {
	line-height: 1;
}
a:hover{
	cursor: pointer;
}
ol, ul, li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
b, strong {
  font-weight: bold;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}
input:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; }
input:disabled,
textarea:disabled {
  cursor: not-allowed !important;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
canvas {
  position: fixed;
	display: inline-block;
}
:focus {
	outline: none;
}
button {
  border: none;
  background: none;
  border-radius: 0; 
}
.btn:focus, 
.btn.focus, 
.btn:active:focus, 
.btn:active.focus, 
.btn.active:focus, 
.btn.active.focus {
  outline: none;
}

.text-center {
  text-align: center;
}
.left {
  float: left;
}
.right {
  float: right;
}
.clear {
  clear: both;
}

.fade-enter-active, .fade-leave-active {
  transition: opacity .5s
}
.fade-enter, .fade-leave-to {
  opacity: 0
}

.slide-left-enter-active, .slide-left-leave-active {
  transition: all .3s
}
.slide-left-enter, .slide-left-leave-to {
  transform: translateX(100%);
  opacity: 0;
}

.slide-fade-enter-active {
  transition: all 0.4s cubic-bezier(1.0, 0.8, 0.5, 1.0);
  max-height: 230px;
}
.slide-fade-leave-active {
  transition: all 0.6s cubic-bezier(1.0, 0.8, 0.5, 1.0);
  max-height: 230px;
}
.slide-fade-enter, .slide-fade-leave-to {
  max-height: 0px;
}

.all-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  width: 100%;
  height: 100%;
}
.all-modal.black {
  background-color: rgba(0, 0, 0, 0.5);
}
.all-modal.shadow > div {
  box-shadow: 0 -1px 4px 0 #d4d3d8;
}
.all-modal > div {
  background-color: #fff;
  position: fixed;
  left: 50%;
  top: 50%;
}

#ruler { 
  display: none; 
  white-space: nowrap; 
  font-size: 30px;
}
