@charset "UTF-8";
html, body {
  height: 100%;
  background: #AA0300;
}

body {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 14px;
  color: #FFF;
  font-family: "Microsoft YaHei", "微软雅黑", "Microsoft JhengHei", "微軟正黑體", "Open Sans", helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

a {
  color: #FFF;
  display: inline-block;
  text-decoration: none;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}

a:hover, a:focus {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  font-variant-ligatures: none;
  -webkit-font-variant-ligatures: none;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px;
}

.container {
  width: 100%;
  margin: auto;
  box-sizing: border-box;
  padding: 20px;
}

.main-area {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.print-area {
  position: relative;
  margin: auto;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 375px;
  box-sizing: border-box;
  border-radius: 0 0 8px 8px;
  -webkit-border-radius: 0 0 8px 8px;
  -moz-border-radius: 0 0 8px 8px;
}

@media only screen and (min-width: 320px) and (max-width: 414px) {
  .print-area {
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
  }
}

header {
  background: #000;
  box-sizing: border-box;
}

header.container {
  padding: 20px 20px;
}

.top-header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.top-header h1 {
  font-size: 24px;
  color: #FFF;
  font-weight: bold;
  display: inline-block;
}

section {
  background: #F0F0F0;
}

.top-content {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  box-sizing: border-box;
}

.top-content .qrcode-area {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 70%;
  margin-right: 7%;
  box-sizing: border-box;
}

.top-content .qrcode-area .qrcode-box {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
  background: #FFF;
  box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.2);
}

.top-content .qrcode-area .qrcode-box .qrcode-img {
  width: 100%;
}

.top-content .qrcode-area .qrcode-box .qrcode-img img {
  width: 100%;
  vertical-align: bottom;
}

.top-content .qrcode-area .qrcode-box .qrcode-src {
  width: 100%;
  padding: 0 20px 10px 20px;
  border-bottom: 5px solid #D0021B;
}

.top-content .qrcode-area .qrcode-box .qrcode-src p {
  font-size: 13px;
  text-align: center;
  font-weight: bold;
  color: #000;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.top-content .qrcode-area .qrcode-note {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  box-sizing: border-box;
}

.top-content .qrcode-area .qrcode-note p {
  width: 100%;
  font-size: 13px;
  text-align: center;
  padding: 15px 10px 5px;
  color: #4A4A4A;
  line-height: 20px;
  box-sizing: border-box;
}

.top-content .qrcode-area .qrcode-note h6 {
  width: 100%;
  padding: 10px 0;
  border-top: 1px solid rgba(208, 2, 27, 0.5);
  border-bottom: 1px solid rgba(208, 2, 27, 0.5);
  color: #D0021B;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  box-sizing: border-box;
}

.top-content .app-logo {
  width: 45%;
  box-sizing: border-box;
}

.top-content .app-logo img {
  width: 100%;
}

.main-content ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 100%;
  padding: 10px 0 5px;
}

.main-content ul li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  width: 100%;
  box-sizing: border-box;
}

.main-content ul li p {
  width: 84%;
  margin-top: 5px;
  font-size: 14px;
  line-height: 24px;
  color: #4A4A4A;
  box-sizing: border-box;
}

.main-content ul li p span {
  color: #D0021B;
  font-weight: bold;
}

.main-content ul li:first-child:before {
  content: '1';
  width: 32px;
  height: 32px;
  border-radius: 32px;
  -webkit-border-radius: 32px;
  -moz-border-radius: 32px;
  background: #EFBD43;
  color: #FFF;
  font-size: 18px;
  text-align: center;
  line-height: 32px;
  font-weight: bold;
  margin-right: 15px;
  box-sizing: border-box;
}

.main-content ul li:last-child {
  border-bottom: 0;
}

.main-content ul li:last-child:before {
  content: '2';
  width: 32px;
  height: 32px;
  border-radius: 32px;
  -webkit-border-radius: 32px;
  -moz-border-radius: 32px;
  background: #EFBD43;
  color: #FFF;
  font-size: 18px;
  text-align: center;
  line-height: 32px;
  font-weight: bold;
  margin-right: 15px;
  box-sizing: border-box;
}

.main-content .code-box {
  background: #D0021B;
  padding: 15px;
  text-align: center;
  font-size: 24px;
  color: #FFF;
  border-radius: 9px;
  -webkit-border-radius: 9px;
  -moz-border-radius: 9px;
  font-weight: bold;
}

footer {
  width: 100%;
  position: relative;
  margin: auto;
}

footer .footer-copyright {
  font-size: 0.75em;
  text-align: center;
  line-height: 18px;
  color: #4A4A4A;
  padding: 15px 20px 0;
}

.print-btn {
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  position: fixed;
  right: 20px;
  top: 20px;
  padding: 20px 10px;
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  color: #4A4A4A;
  font-size: 0.75em;
  -webkit-animation-name: print_Btn;
  -webkit-animation-duration: 1s;
  animation-name: print_Btn;
  animation-duration: 1s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@media only screen and (min-width: 320px) and (max-width: 414px) {
  .print-btn {
    top: 215px;
    padding: 20px 21px;
  }
}

.print-btn .print-img {
  width: 30px;
  display: block;
}

.print-btn .print-img img {
  width: 100%;
}

.print-btn p {
  width: 100%;
  padding-top: 5px;
  text-align: center;
}

.print-btn:hover {
  background: #F8E71C;
}

.dtn-download {
  padding: 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  background: #000;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  color: #4A4A4A;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.75);
}

@media only screen and (min-width: 320px) and (max-width: 414px) {
  .dtn-download {
    padding: 20px 40px;
    flex-wrap: wrap;
  }
}

.dtn-download .print-img {
  display: block;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 10px 0;
}

.dtn-download .print-img img {
  width: 17px;
  vertical-align: middle;
}

.dtn-download .print-img:before, .dtn-download .print-img:after {
  content: '';
}

@media only screen and (min-width: 320px) and (max-width: 414px) {
  .dtn-download .print-img:before, .dtn-download .print-img:after {
    width: 50px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 15px;
  }
}

.dtn-download p {
  font-size: 16px;
  color: #FFF;
  text-align: center;
  font-weight: bold;
  padding-left: 10px;
}

@media only screen and (min-width: 320px) and (max-width: 414px) {
  .dtn-download p {
    font-size: 14px;
    padding-left: 0;
  }
}

.dtn-download:hover {
  background: rgba(0, 0, 0, 0.75);
}

@keyframes print_Btn {
  0% {
    border: 1px solid white;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    -moz-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    -o-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
  50% {
    border: 1px solid rgba(208, 2, 27, 0.5);
    box-shadow: 0 0 40px 0 rgba(255, 255, 255, 0.7);
    -webkit-box-shadow: 0 0 40px 0 rgba(255, 255, 255, 0.7);
    -moz-box-shadow: 0 0 40px 0 rgba(255, 255, 255, 0.7);
    -o-box-shadow: 0 0 40px 0 rgba(255, 255, 255, 0.7);
  }
  100% {
    border: 1px solid white;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    -moz-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    -o-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 9999;
  /* Sit on top */
  padding-top: 30px;
  /* Location of the box */
  left: 0;
  top: 0;
  text-align: center;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: #3D3D3D;
  /* Black w/ opacity */
}

@media only screen and (min-width: 668px) and (max-width: 736px) {
  .modal {
    padding-top: 20px;
  }
}

@media only screen and (min-width: 415px) and (max-width: 667px) {
  .modal {
    padding-top: 20px;
  }
}

@media only screen and (min-width: 320px) and (max-width: 414px) {
  .modal {
    padding-top: 40px;
  }
}

.modal span.btn-close {
  width: 4%;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background: #D0021B;
  position: absolute;
  right: 0;
  top: 0;
  box-sizing: border-box;
  z-index: 9999;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

@media only screen and (min-width: 1001px) and (max-width: 1180px) {
  .modal span.btn-close {
    width: 6%;
  }
}

@media only screen and (min-width: 415px) and (max-width: 1000px) {
  .modal span.btn-close {
    width: 8%;
  }
}

@media only screen and (min-width: 320px) and (max-width: 414px) {
  .modal span.btn-close {
    width: 15%;
  }
}

.modal span.btn-close img {
  width: 100%;
}

.modal span.btn-close:hover, .modal span.btn-close:focus {
  background: #AA0300;
}

.modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 990px;
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  background: transparent;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  -moz-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  -o-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  border: 0;
}

@media only screen and (min-width: 1001px) and (max-width: 1180px) {
  .modal-content {
    width: 85%;
  }
}

@media only screen and (min-width: 415px) and (max-width: 1000px) {
  .modal-content {
    width: 80%;
  }
}

@media only screen and (min-width: 320px) and (max-width: 414px) {
  .modal-content {
    width: 80%;
  }
}

.modal-body {
  padding: 0;
}

@media only screen and (min-width: 320px) and (max-width: 414px) {
  .modal-body #img-out canvas {
    width: 100% !important;
    height: auto !important;
  }
}

.modal-footer {
  padding: 20px;
  color: #FFF;
  font-size: 13px;
  line-height: 20px;
  border: 0;
  text-align: center;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

#588-logo {
  width: 122px !important;
  height: 122px !important;
}

#qr-code {
  width: 190px !important;
  height: 190px !important;
}
