* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  html,
  body {
    min-height: 100%;
  }

  body {
    width: 100%;
    height: 100%;
    font-family: "Oswald";
    color: black;
    font-size: 12px;
    margin: 0;
    box-sizing: border-box;
  }

  input,
  input:before,
  input:after {
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
  }

  .bg_img {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }

  .bg_img div {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    -webkit-background-size: 100% 100%;
    -moz-background-size: cover;
    -o-background-size: cover;
  }

  h1 {
    text-align: center;
    color: #ffffff;
    font-size: 50px;
    margin-bottom: 0.5em;
    margin-top: 20vh;
    text-decoration: none solid rgb(255, 255, 255);
  }


  a {
    color: #10b5c4;
  }

  a.username_check {
    display: none;
  }

  body h1 {
    margin-top: 12vh;
  }

  small {
    font-size: 20px;
  }

  label {
    font-size: 20px;
  }

  label span {
    font-weight: 300;
    font-size: 20px;
  }

  body.portuguese label span {
    font-weight: 300;
    font-size: 18px;
  }

  body.french #form-intro-title label,
  body.french #form-intro label {
    font-size: 23px;
  }

  body.spanish #form-intro-title label,
  body.spanish #form-intro label {
    font-size: 20px;
  }

  body.portuguese #form-intro-title label,
  body.portuguese #form-intro label {
    font-size: 22px;
  }

  select,
  section span,
  input,
  textarea,
  .custom-control-label {
    font-size: 20px;
    font-weight: 300;
  }

  select,
  input[type="text"],
  input[type="password"],
  textarea {
    width: 100%;
  }

  select[name="bday_month"],
  select[name="bday_month2"] {
    width: 150px;
  }

  select[name="bday_year"],
  select[name="bday_year2"] {
    width: 100px;
  }

  select[name="bday_day"],
  select[name="bday_day2"] {
    width: 93px;
  }

  select {
    appearance: none;
    -webkit-appearance: none;
    background: url("AndroidIcon.svg") no-repeat right 14px center transparent;
    border: solid 1px #666666;
    border-radius: 5px;
    height: 39px;
    background-color: transparent;
    color: #666666;
    padding-left: 0.5em;
  }

  input,
  textarea {
    border: solid 1px #666666;
    border-radius: 5px;
    height: 39px;
    background-color: transparent;
    background-size: cover;
    color: #666666;
    padding-left: 0.5em;
  }

  section {
    text-align: left;
  }

  select option {
    background-color: #ffffff;
    color: #000000;
  }

  input {
    -webkit-appearance: textfield;
  }

  textarea {
    height: 5em;
  }

  .reg-form .loading {
    background: url("") no-repeat;
    background-repeat: no-repeat;
    background-size: contain;
    height: 20px;
    width: 20px;
    margin: 0.5em auto;
    z-index: 9999;
    opacity: 1;
  }

  .reg-form .actions .loading {
    top: 20px;
    right: 48%;
  }

  #purposes {
    display: none;
  }

  .input {
    width: 350px;
    margin: auto;
  }

  .input div {
    text-align: left;
  }

  h1 .member {
    font-size: 15px;
    color: #666666;
    font-weight: 300;
  }

  .custom-control-label::before {
    top: 0.55rem;
    width: 18px;
    height: 18px;
    left: -1.4rem;
    border: 1px solid #666666;
    background-color: #ffffff;
  }

  .custom-control-label::after {
    top: 0.45rem;
    width: 18px;
    height: 18px;
  }

  .custom-control-input:checked~.custom-control-label::before,
  .custom-checkbox .custom-control-input:checked~.custom-control-label::before,
  .custom-control-input:checked~.custom-control-label::before {
    background-color: #000000;
  }

  .custom-control-label {
    padding-left: 0.5em;
  }

  .dontjerk-comp {
    width: 100%;
    text-align: center;
    position: relative;
  }

  #logo {
    width: 100%;
    text-align: center;
  }

  .logo {
    width: 200px;
    position: absolute;
    left: 30px;
    top: 30px;
  }

  .prev_link,
  .link_no,
  .link_skip,
  .hide,
  .req_none p {
    display: none;
  }

  .pagination {
    display: none;
  }

  .dontjerk-btn div,
  .help-block,
  .note-block {
    width: 100%;
  }

  .next_link,
  .btn {
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    font-family: "Oswald";
    width: 250px;
    height: 70px;
    font-size: 24px;
    font-weight: 300;
    border: 0;
    padding: 4px 10px 6px;
    color: #ffffff;
    text-decoration: none solid rgb(255, 255, 255);
    background-color: #10b5c4;
    margin: 0px auto;
    -webkit-transition: background-color 0.5s, border 0.5s;
    /* Safari */
    transition: background-color 0.5s, border 0.5s;
  }

  .no_link,
  .btn {
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    font-family: "Oswald";
    width: 250px;
    height: 70px;
    font-size: 24px;
    font-weight: 300;
    border: 0;
    border: 1px solid #10b5c4;
    padding: 4px 10px 6px;
    color: #ffffff;
    text-decoration: none solid rgb(255, 255, 255);
    background-color: transparent;
    margin: 0px auto;
    -webkit-transition: background-color 0.5s, border 0.5s;
    /* Safari */
    transition: background-color 0.5s, border 0.5s;
  }

  .Q3_btn:first-letter {
    text-transform: uppercase;
  }

  .large_title {
    margin-top: 70px;
    width: 259px;
    height: 33px;
    font-family: Roboto, "微軟正黑體";
    font-size: 27px;
    color: #ffffff;
    font-weight: 900;
    text-decoration: none solid rgb(255, 255, 255);
    text-align: center;
  }

  .small_title {
    width: 48% !important;
    margin: 0 auto;
    font-size: 24px;
    color: #ffffff;
    font-weight: 300;
    text-decoration: none solid rgb(255, 255, 255);
    text-align: center;
    margin-bottom: 2em;
  }

  .grid_row {
    width: 100%;
  }

  .container {
    margin-bottom: 0.3em;
  }

  .video_box {
    position: relative;
  }

  .bd_box p {
    text-align: left;
  }

  .user_chk_text p {
    margin-bottom: 0;
  }

  button:focus,
  input:focus,
  select:focus {
    outline: 0;
  }

  @supports (-webkit-overflow-scrolling: touch) {
    .android {
      top: -6.5vh;
    }
  }

  .flex_box {
    display: flex;
    flex-direction: column;
  }

  .flex_box div,
  .flex_box span,
  .help-block p {
    text-align: left;
  }

  .flex_box .custom-checkbox {
    font-style: normal;
  }

  .margin_zero p,
  .help-block p {
    margin-bottom: 0;
  }

  .help-block p span {
    color: #28a745;
  }

  .help-block p,
  .submit_alert,
  .reg_alert p,
  .help-block p span.not_ok {
    color: #d10a00;
    font-weight: 300;
    font-size: 15px;
  }

  .note-block,
  .suggest2 {
    font-size: 15px;
  }

  .actions {
    margin-top: 5em;
  }

  [step="1"] #step-number-group {
    display: none;
  }

  #step-number-group {
    z-index: 1;
    position: absolute;
    display: flex;
    transform: translate(80%, 40%);
  }

  #step-number-group .step-space {
    margin-right: 9px;
  }

  #step-number-group .step-1,
  #step-number-group .step-2,
  #step-number-group .step-3,
  #step-number-group .step-4,
  #step-number-group .step-5 {
    width: 30px;
    height: 30px;
    padding: 4px 10px 6px;
    border-radius: 20px;
    background-color: #acdfe8;
    background-size: cover;
    font-size: 15px;
    color: #10b5c4;
    text-decoration: none solid rgb(255, 255, 255);
    text-align: center;
  }

  /*desktop*/
  .slider_desk {
    display: block;
  }

  .bg_img.slider_desk div {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }

  .bg_img.slider_desk div.img1 {
    background-image: url("../img/bg_1.jpg");
    display: block;
  }

  .bg_img.slider_desk div.img2 {
    background-image: url("../img/bg_2.jpg");
    display: none;
  }

  .bg_img.slider_desk div.img3 {
    background-image: url("../img/bg_3.jpg");
    display: none;
  }

  .bg_img.slider_desk div.img4 {
    background-image: url("../img/bg_4.jpg");
    display: none;
  }

  .bg_img.slider_desk div.img5 {
    background-image: url("../img/bg_5.jpg");
    display: none;
  }

  .loading-m,
  .loading-d {
    margin-bottom: 20px;
  }

  .loading-m {
    display: none;
  }

  .loading-d {
    display: block;
    animation: loadingAnimate 4s infinite linear;
  }

  @keyframes loadingAnimate {
    from {
      transform: rotate(0deg);
    }

    to {
      transform: rotate(360deg);
    }
  }

  @media only screen and (max-width: 768px) {

    /*mobile*/
    .small_title {
      font-size: 20px;
    }

    .actions {
      margin-top: 9em;
    }

    .loading-m {
      display: block;
      animation: loadingAnimate 4s infinite linear;
    }

    .loading-d {
      display: none;
    }

    .next_link,
    .btn,
    .no_link,
    .btn {
      height: 50px;
    }

    .bg_img.slider_desk div {
      position: fixed;
      height: 100%;
      width: 100%;
    }

    .bg_img.slider_desk div.img1 {
      background-image: url("../img/mobile-bg_1.jpg");
      display: block;
    }

    .bg_img.slider_desk div.img2 {
      background-image: url("../img/mobile-bg_2.jpg");
      display: none;
    }

    .bg_img.slider_desk div.img3 {
      background-image: url("../img/mobile-bg_3.jpg");
      display: none;
    }

    .bg_img.slider_desk div.img4 {
      background-image: url("../img/mobile-bg_4.jpg");
      display: none;
    }

    .bg_img.slider_desk div.img5 {
      background-image: url("../img/mobile-bg_5.jpg");
      display: none;
    }

    body {
      height: 100%;
      max-height: 100%;
      background-repeat: no-repeat;
      background-position: center center;
      background-size: cover;
    }

    h1 {
      font-size: 34px;
      width: 100%;
      margin: 0 auto;
    }

    body h1 {
      margin-bottom: 1em;
    }

    body[step="1"] h1 {
      margin-top: 1em;
      margin-bottom: 1em;
    }

    body.french label span,
    body.spanish label span {
      font-size: 15px;
    }

    body.portuguese label span {
      font-size: 18px;
    }

    .input {
      width: 97%;
    }

    #bg_img {
      text-align: center;
    }

    .logo {
      width: 150px;
      position: static;
      margin-top: 1em;
    }

    body[step="2"] #purposes {
      text-align: left;
      width: 100%;
      color: #cccccc;
      padding-right: 0;
      padding-left: 1em;
      bottom: 3px;
    }

    .small_title {
      width: 100% !important;
      line-height: 1.4em;
    }

    body.french h1,
    body.german h1,
    body.spanish h1,
    body.portuguese h1 {
      width: auto;
      margin-top: 0.2em;
    }

    body.french .small_title,
    body.german .small_title,
    body.spanish .small_title,
    body.portuguese .small_title {
      width: 95% !important;
      margin-bottom: 1em;
      line-height: 1.2em;
    }

    body.french .small_title {
      line-height: 1.1em;
    }

    body.spanish[step="2"] .small_title,
    body.portuguese[step="3"] .small_title,
    body.portuguese[step="4"] .small_title {
      font-size: 26px;
      line-height: 1.4em;
    }

    body.french[step="3"] .small_title,
    body.french[step="4"] .small_title,
    body.portuguese[step="4"] .small_title {
      font-size: 24px;
    }

    #step-number-group {
      top: 0;
      left: 50%;
      margin-left: -100px;
      transform: translateY(230%);
    }

    body.portuguese #step-number-group,
    body.spanish #step-number-group,
    body.german #step-number-group,
    body.french #step-number-group {
      transform: translateY(200%);
    }
  }

  /* iphone 5 size */
  @media screen and (device-aspect-ratio: 40/71) {
    #step-number-group {}
  }

  /* iphone X size */
  @media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
    #step-number-group {}
  }