/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html {
  color: #666;
  font-family: Arial, sans-serif, "Microsoft JhengHei";
  font-size: 15px;
  line-height: 1.4; }

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none; }

::selection {
  background: #b3d4fc;
  text-shadow: none; }

/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0; }

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle; }

/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0; }

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical; }

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */
.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0; }

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/*------------------------- icon -------------------------*/
.icon {
  display: inline-block; }
  .icon:before, .icon:after {
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat; }
  .icon:before {
    content: ""; }
  .icon.icon--a:before {
    content: none; }
  .icon.icon--a:after {
    content: ""; }

.iShare:before, .iShare:after {
  width: 30px;
  height: 30px;
  background-image: url(../images/icon_share.png);
  background-size: 30px; }

.iShare--fb:before, .iShare--fb:after {
  background-position: 0 0; }

.iShare--line:before, .iShare--line:after {
  background-position: 0 -30px; }

/*------------------------ button ------------------------*/
.btn {
  display: inline-block;
  min-width: 200px;
  white-space: nowrap;
  box-sizing: border-box; }
  .btn:visited {
    color: #fff; }
  .btn--primary {
    padding: 15px;
    font-size: 18px;
    color: #fff;
    text-align: center;
    border-radius: 50px;
    background-image: -webkit-linear-gradient(left, #00bb00 0%, #007c7d 100%);
    background-image: -o-linear-gradient(left, #00bb00 0%, #007c7d 100%);
    background-image: linear-gradient(to right, #00bb00 0%, #007c7d 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF00BB00', endColorstr='#FF007C7D', GradientType=1); }

/*------------------------- link -------------------------*/
a {
  color: #666;
  text-decoration: none; }
  a:visited {
    color: #666;
    text-decoration: none; }
  a:hover {
    text-decoration: none; }

/*------------------------- grid -------------------------*/
/*------------------------- tabs -------------------------*/
/*------------------------ widget ------------------------*/
/*------------------------ popup -------------------------*/
/*------------------------- box --------------------------*/
.box {
  padding: 20px;
  border-radius: 30px; }
  .box--gy {
    background-color: #f6f6f6; }

/*------------------------- list -------------------------*/
.intro {
  padding-left: 32px;
  font-size: 16px;
  line-height: 24px;
  color: #6c6c6c; }

/*------------------------- form -------------------------*/
input[type="text"],
input[type="search"],
input[type="date"],
input[type="number"],
input[type="tel"],
input[type="password"],
input[type="email"],
input[type="file"],
.textbox {
  width: 100%;
  max-width: 255px;
  padding: 13px 10px 12px;
  border: 0;
  border-bottom: 2px solid #b6b6b6;
  color: #000;
  box-sizing: border-box;
  appearance: none; }
  input[type="text"]::-webkit-inner-spin-button, input[type="text"]::-webkit-outer-spin-button,
  input[type="search"]::-webkit-inner-spin-button,
  input[type="search"]::-webkit-outer-spin-button,
  input[type="date"]::-webkit-inner-spin-button,
  input[type="date"]::-webkit-outer-spin-button,
  input[type="number"]::-webkit-inner-spin-button,
  input[type="number"]::-webkit-outer-spin-button,
  input[type="tel"]::-webkit-inner-spin-button,
  input[type="tel"]::-webkit-outer-spin-button,
  input[type="password"]::-webkit-inner-spin-button,
  input[type="password"]::-webkit-outer-spin-button,
  input[type="email"]::-webkit-inner-spin-button,
  input[type="email"]::-webkit-outer-spin-button,
  input[type="file"]::-webkit-inner-spin-button,
  input[type="file"]::-webkit-outer-spin-button,
  .textbox::-webkit-inner-spin-button,
  .textbox::-webkit-outer-spin-button {
    -webkit-appearance: none; }
  input[type="text"]::-webkit-input-placeholder,
  input[type="search"]::-webkit-input-placeholder,
  input[type="date"]::-webkit-input-placeholder,
  input[type="number"]::-webkit-input-placeholder,
  input[type="tel"]::-webkit-input-placeholder,
  input[type="password"]::-webkit-input-placeholder,
  input[type="email"]::-webkit-input-placeholder,
  input[type="file"]::-webkit-input-placeholder,
  .textbox::-webkit-input-placeholder {
    color: #b6b6b6;
    opacity: 0.5; }
  input[type="text"]:-moz-placeholder,
  input[type="search"]:-moz-placeholder,
  input[type="date"]:-moz-placeholder,
  input[type="number"]:-moz-placeholder,
  input[type="tel"]:-moz-placeholder,
  input[type="password"]:-moz-placeholder,
  input[type="email"]:-moz-placeholder,
  input[type="file"]:-moz-placeholder,
  .textbox:-moz-placeholder {
    color: #b6b6b6;
    opacity: 0.5; }
  input[type="text"]::-moz-placeholder,
  input[type="search"]::-moz-placeholder,
  input[type="date"]::-moz-placeholder,
  input[type="number"]::-moz-placeholder,
  input[type="tel"]::-moz-placeholder,
  input[type="password"]::-moz-placeholder,
  input[type="email"]::-moz-placeholder,
  input[type="file"]::-moz-placeholder,
  .textbox::-moz-placeholder {
    color: #b6b6b6;
    opacity: 0.5; }
  input[type="text"]:-ms-input-placeholder,
  input[type="search"]:-ms-input-placeholder,
  input[type="date"]:-ms-input-placeholder,
  input[type="number"]:-ms-input-placeholder,
  input[type="tel"]:-ms-input-placeholder,
  input[type="password"]:-ms-input-placeholder,
  input[type="email"]:-ms-input-placeholder,
  input[type="file"]:-ms-input-placeholder,
  .textbox:-ms-input-placeholder {
    color: #b6b6b6;
    opacity: 0.5; }
  input[type="text"]:focus,
  input[type="search"]:focus,
  input[type="date"]:focus,
  input[type="number"]:focus,
  input[type="tel"]:focus,
  input[type="password"]:focus,
  input[type="email"]:focus,
  input[type="file"]:focus,
  .textbox:focus {
    outline: none;
    border-color: #007c7f; }
  .error input[type="text"], .error
  input[type="search"], .error
  input[type="date"], .error
  input[type="number"], .error
  input[type="tel"], .error
  input[type="password"], .error
  input[type="email"], .error
  input[type="file"], .error
  .textbox {
    border-color: #e4091b; }

select {
  display: none; }

.form {
  display: table;
  width: 100%;
  border-collapse: separate;
  border-spacing: 10px 15px; }
  .form__row {
    display: table-row; }
  .form__title, .form__field {
    display: table-cell;
    text-align: left; }
  .form__title {
    width: 1px;
    font-weight: bold;
    color: #000;
    text-align: right;
    white-space: nowrap; }
  .form__error {
    display: none;
    padding: 5px 0;
    font-size: 14px;
    color: #e4091b;
    text-align: left; }
    .error .form__error {
      display: block; }

.actions {
  margin: 20px 0;
  text-align: center; }

/*------------------------ other -------------------------*/
/*----------------------- position -----------------------*/
.relative {
  position: relative; }

.absolute {
  position: absolute; }

.static {
  position: static; }

/*---------------------- text align ----------------------*/
.tal {
  text-align: left; }

.tar {
  text-align: right; }

.tac {
  text-align: center; }

/*------------------------ display -----------------------*/
.block {
  display: block; }

.inblock {
  display: inline-block; }

.inline {
  display: inline; }

.hide {
  display: none; }

/*------------------------- float ------------------------*/
.fl {
  float: left; }

.fr {
  float: right; }

/*------------------------ margin ------------------------*/
/*------------------------ padding -----------------------*/
/*------------------------- width ------------------------*/
/*------------------------ height ------------------------*/
/*---------------------- line height ---------------------*/
/*---------------------- background ----------------------*/
/*------------------------- font -------------------------*/
.h1 {
  margin: 10px 0;
  font-size: 36px;
  font-weight: bold;
  line-height: 48px;
  color: #007c7f; }

.h2 {
  margin: 20px 0;
  font-size: 18px;
  font-weight: bold;
  color: #111; }

/* ==========================================================================
   Page classes
   ========================================================================== */
/*------------------------- index ------------------------*/
.qrCode {
  position: relative;
  margin: 10px 0; }
  .qrCode > img {
    position: absolute;
    left: 0;
    top: 0;
    width: 110px;
    height: 110px; }
  .qrCode__download {
    display: none; }
  .qrCode > figcaption {
    height: 110px;
    margin-left: 110px;
    padding: 10px 20px;
    font-size: 13px;
    color: #6c6c6c;
    text-align: left;
    background-color: #fff;
    word-break: break-all;
    box-sizing: border-box; }

.shares {
  margin-top: 30px;
  text-align: center; }
  .shares__title {
    display: inline-block;
    font-size: 16px;
    color: #111; }
  .shares__item {
    display: inline-block;
    margin-left: 20px; }

/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Hide visually and from screen readers
 */
.hidden {
  display: none !important; }

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
  /* 1 */ }

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  -webkit-clip-path: none;
  clip-path: none;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit; }

/*
 * Hide visually and from screen readers, but maintain layout
 */
.invisible {
  visibility: hidden; }

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */ }

.clearfix:after {
  clear: both; }

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (max-width: 767px) {
  .iShare:before, .iShare:after {
    background-image: url(../images/icon_share__3x.png);
    background-size: 30px; }
  /*------------------------- list -------------------------*/
  .intro {
    margin: 10px 0; }
    .intro > li {
      line-height: 30px;
      text-align: left; }
  /*------------------------- form -------------------------*/
  .actions {
    margin: 20px 0; }
  /*------------------------- font -------------------------*/
  .h1 {
    font-size: 28px; }
  .h2 {
    font-size: 20px; }
  .qrCode {
    position: relative;
    margin: 10px 0; }
    .qrCode > img {
      position: static;
      width: 130px;
      height: 130px;
      margin: 0 auto; }
    .qrCode__download {
      display: block;
      margin: 10px 0;
      font-size: 14px;
      color: #6c6c6c; }
    .qrCode > figcaption {
      height: auto;
      margin: 20px 0;
      padding: 10px; }
  .scenes {
    display: inline-block; } }

@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */ }

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
    box-shadow: none !important;
    text-shadow: none !important; }
  a,
  a:visited {
    text-decoration: underline; }
  a[href]:after {
    content: " (" attr(href) ")"; }
  abbr[title]:after {
    content: " (" attr(title) ")"; }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: ""; }
  pre {
    white-space: pre-wrap !important; }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid; }
  /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group; }
  tr,
  img {
    page-break-inside: avoid; }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3; }
  h2,
  h3 {
    page-break-after: avoid; } }
