/* Import CSS */

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");
@import url("https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css");
@import url("https://use.fontawesome.com/releases/v5.5.0/css/all.css");

@import url("https://cdn.jsdelivr.net/npm/uikit@3.23.12/dist/css/uikit.min.css");
@import url("mgpd.css");

/*------------------------------*/

.deal::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.deal::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

input[type="number"] {
  -moz-appearance: textfield;
  -webkit-appearance: none;
}

html {
  overflow: -moz-scrollbars-vertical;
  overflow-y: scroll;
  font-size: 18px;
}

body {
  color: #333333;
  line-height: 2;
  font-size: 1rem;
  font-family: "Noto Sans TC", sans-serif;
  height: 100%;
}

@media (max-width: 1024px) {
  body {
    line-height: 1.75;
    background-size: auto 100%;
  }
}

img {
  height: auto;
  max-width: 100%;
}

.center {
  text-align: center;
}

@media (min-width:960px) {
  .maxSee {
    display: none;
  }
}

@media (max-width:959px) {
  .minSee {
    display: none;
  }
}

.uk-container {
  padding-left: 15px;
  padding-right: 15px;
}

i {
  position: relative;
  top: 4px;
}

a:hover {
  text-decoration: none
}

/*------------------------------*/

.headerbg {
  background: url(../images/running-01.svg);
  background-position: center bottom -1vw;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-color: #8dd5f1;
  padding: 10px 0 180px;
  border-bottom: 10px solid #1e2a5f;
}

@media (max-width:1366px) {
  .headerbg {
    background: url(../images/running2-01.svg);
    background-position: center bottom -1px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-color: #8dd5f1;
    padding: 25px 0 38vw;
  }
}

.contbox {
  padding: 15px;
  background-color: #ffffff;
  border: 4px solid #deebf7;
}

@media (max-width:995px) {
  .contbox {
    padding: 15px 10px 20px 10px;
  }
}

.videowrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.videowrapper iframe {
  width: 100%;
  height: 100%;
}

.borderb {
  border-bottom: 2px solid #e4e8f0;
  padding-bottom: 5px;
  background-color: #f5ad15;
}

.stepTitle2 {
  font-size: 1.375rem;
  font-weight: 600;
  color: #ffffff;
  padding: 10px 0;
  margin-bottom: 0;
  background-color: #04b1bb;
}

.stepTxt2 {
  position: relative;
  border: 2px solid #04b1bb;
  background-color: #ffffffdd;
  min-height: 80px;
  line-height: 1.5;
  vertical-align: middle;
}

.stepTxt2 h4 {
  color: #353666;
  font-weight: bold;
  margin-bottom: -1rem;
}

.stepTxt2 .txt {
  width: 100%;
  display: block;
  text-align: center;
  z-index: 9;
  position: absolute;
  font-size: 1.25rem;
  font-weight: 700;
  bottom: 2rem;
  padding: 10px;
  background-color: #000000aa;
color: #ffffff;
}
.contbg {

  line-height: 1.5;
}

@media (max-width:1400px) {
  .contbg {
    background: none;
  }
}

@media (max-width:959px) {
  .contbg {
    background: none;
  }
}

#elta {
  position: fixed;
  z-index: 99;
  left: .5rem;
  top: 10px;
  background-color: #ffffff;
  padding: 5px;
  border-radius: 5px 1rem 1rem 5px;
  line-height: .5;
  vertical-align: middle;
}

#elta img {
  width: 150px;
}

@media (max-width:959px) {
  #elta img {
    width: 120px;
  }
}

.man2 {
  position: fixed;
  z-index: 99;
  right: 0;
  bottom: 0;
  padding: 0;
}

.man2 img {
  width: 14vw;
}

@media (max-width:768px) {
  .man2 img {
    width: 25vw;
  }
}

/*------------------------------*/

.stepTitle {
  font-size: 1.75rem;
  font-weight: 600;
  color: #ffffff;
  border-radius: 1.5rem .5rem 0 0;
  padding: 10px 0;
  margin-bottom: 0;
  background-color: #f26d20;
  background-repeat: no-repeat;
  background-position: left -4.125rem;
  background-size: 100%;
  border-top: 2px solid #000000;
  border-left: 2px solid #000000;
  border-right: 2px solid #000000;
  box-shadow: 10px 10px 0 #000000;
}

.stepTxt {
  border-radius: 0 0 1.5rem .5rem;
  margin-top: 0;
  padding: 10px 25px;
  height: 130px;
  margin-bottom: 1rem;
  background: #ffffff;
  background-image: url(../images/man.png);
  background-repeat: no-repeat;
  background-position: right 10px bottom 10px;
  background-size: 5.5vw;
  border-bottom: 2px solid #000000;
  border-left: 2px solid #000000;
  border-right: 2px solid #000000;
  box-shadow: 10px 10px 0 #000000;
}

@media (max-width:959px) {
  .stepTxt {
    background-size: 12vw;
  }
}

.stepTxt ul {
  margin-left: -2rem !important;
}

.stepTxt li {
  list-style: none;
  font-weight: 300;
  font-size: 1.25rem;
}

.contTitle {
  position: relative;
  font-weight: bold;
  color: #ffffff;
  background-color: #353666;
  margin: -15px -15px 15px -15px;
  padding: 10px 10px 12px;

}

@media (max-width: 995px) {
  .contTitle {
    margin: -15px -10px 13px -10px;
  }

}

.formControl {
  width: 100%;
  min-height: 50px;
  display: block;
  color: #555;
  padding: 5px 20px;
  line-height: 2;
  border-radius: 6px;
  background-color: #ffffff;
  border: 1px solid #001233;
}

.formTitle {
  line-height: 2.5;
  vertical-align: middle;
}

.prize {
  display: block;
  background-color: bisque;
  color: black;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 5px 1rem;
  border: 1px solid #ffffff;
  border-radius: 5px;
  text-shadow: none;
}

.scratchcard {
  font-size: 1.125rem;
  background-image: url(../images/bg1.jpg);
  background-size: auto 100%;
  background-position: center center;
  background-color: #f084001c;
  padding: 10px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 0 2px #333333;
  line-height: 1.25;
}

@media (max-width:995px) {
  .scratchcard {
    font-size: 4.1vw;
  }
}

/*--------------  注意事項  ----------------*/

.warning li {
  line-height: 1.5;
  margin-bottom: 10px;
}

.warning>ol li {
  margin-left: -0.625rem;
}

.warning>ol li ol li {
  margin-left: -1rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .warning {
    padding-left: 20px;
  }

  .warning li {
    line-height: 1.25;
    margin-bottom: 10px;
    font-size: 0.75rem;
  }

  .warning>ol li {
    margin-left: -1.375rem;
  }

  .warning>ol li li {
    margin-left: -1.25rem;
  }
}

/*-------------- go top ----------------*/

#gotop,
#gotop:hover {
  position: fixed;
  z-index: 90;
  right: 5px;
  bottom: 5px;
  display: none;
  width: 50px;
  height: 50px;
  color: #f26d20;
  background: #ffffff;
  line-height: 50px;
  border-radius: 50%;
  transition: all 0.5s;
  text-align: center;
  box-shadow: 0 2px 5px 0 #00000029, 0 2px 10px 0 #0000001f;
}

/* ----------------  button  ------------------ */

a.btn {
  border: 2px solid #cd2e4a;
  background-color: #ffffff;
  border-radius: .5rem;
  color: #cd2e4a;
  font-size: 1.25rem;
  line-height: 1.5;
  vertical-align: middle;
}

a.btn:hover {
  border: 2px solid #cd2e4a;
  background-color: #cd2e4a;
  color: #ffffff !important;
}

a.btn2 {
  border: 2px solid #dbdbdb;
  background-color: #ffffff;
  border-radius: .5rem;
  font-size: 1.25rem;
  line-height: 1.5;
  vertical-align: middle;
}

a.btn2:hover {
  border: 2px solid #dbdbdb;
  background-color: #dbdbdb;
}