:root{
    --main: #521a14;
    --sec: #C68D45;
}
html,body{
    margin: 0;
    font-family: 'Red Hat Display','Noto Sans TC','微軟正黑體', sans-serif;
    letter-spacing: 1px;
    font-size: 4.2vw;
    height: 100vh;
    overflow: hidden;
    background-color: var(--main);
    color: var(--main);
    max-width: 768px;
    margin: auto;
}

img{
    width: 100%;
}
h4{
    font-size: 4.5vw;
    font-weight: 500;
    color: var(--main);
    line-height: 1.5;
    margin: 1vw 0;
}
h5{
    font-size: 4vw;
    font-weight: 400;
    color: var(--main);
    line-height: 1.5;
    margin: 3vw 0;
}
label{
    margin: 0;
}
.btn-area{
    padding:5vw 2vw;
}
.main-btn{
    background-color: var(--main);
    /* width: 156px;
    height: 32px; */
    width: 54%;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    border: none !important;
    outline: none !important;
    /* font-size: 15px; */
    font-size: 4vw;
    letter-spacing: 5px;
    text-indent: 5px;
    margin: auto;
    text-align: center;
    font-weight: 400;
    text-decoration: none !important;
}
.sec-btn{
    background-color: var(--sec);
    width: 80%;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main) !important;
    border: none !important;
    outline: none !important;
    font-size: 15px;
    font-size: 4vw;
    letter-spacing: 3px;
    text-indent: 5px;
    margin: auto;
    text-align: center;
    font-weight: 400;
    text-decoration: none !important;
}
.third-btn{
    background-color: #D5B290;
    width: 80%;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main) !important;
    border: none !important;
    outline: none !important;
    font-size: 15px;
    font-size: 4vw;
    letter-spacing: 3px;
    text-indent: 5px;
    margin: auto;
    text-align: center;
    font-weight: 400;
    text-decoration: none !important;
}
.wrapper{
    height: 100vh;
    overflow-y: auto;
}
.outframe{
    height: 100%;
    min-height: 100vh;
    position: relative;
}
.content{
    min-height: 100vh;
    background-image: url(../img/bg.jpg);
    background-size: cover;
    background-repeat: repeat-y; 
    /* background-attachment: fixed; */
    overflow-y: auto;
    padding: 6px 6px 0 6px;
    position: relative;
    z-index: 1;
    width: 100%;
    overflow-x: hidden;
}
.content:before {
    content: ' ';
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url(../img/bg.jpg) center 0 no-repeat;
    background-size: cover;
}

/* @media screen and (max-width: 767px) {
    .content{
        background-image: none;
    }
} */
/* .content */
.warning{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    background-color: var(--main);
}
.logo{
    width: 75%;
    margin: 10vw auto;
}
.frame{
    box-shadow: 5px 6px 3px -2px rgba(58, 56, 56, 0.07) inset, -7px -7px 3px -2px rgba(255,255,255,0.32) inset;
    border-radius: 1vw;
    padding: 15px;
}
.input-frame{
    background-color: transparent;
    border: 2px solid #bc844e;
    border-radius: 0;
    display: flex;
    align-items: center;
    height: 11vw;
}
.form-control{
    border: none !important;
    background-color: transparent !important;
    outline: none !important;
    -webkit-appearance: none;
    border-radius: 0;
    box-shadow: none !important;
    font-size: 4.2vw;
    height: 100%;
    color: var(--main);
    font-size: 3.9vw;
    
}
.form-control::-webkit-input-placeholder { /* Edge */
    color: var(--main);
    opacity: 0.15;
}

.form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: var(--main);
    opacity: 0.15;
}

.form-control::placeholder {
    color: var(--main);
    opacity: 0.15;
}
.input-frame label{
    flex-shrink: 0;
    margin: 0;
    padding: 0 2vw;
    font-size: 4.2vw;
    font-weight: 500;
    color: var(--main);
    line-height: 8vw;
}
select.form-control,.hasArrow{
    padding-right: 5vw;
    padding-left: 0;
    color: var(--main);
    /* font-weight: 500; */
    background-image: url(../img/select-icon.svg);
    background-size: 3.2vw;
    background-repeat: no-repeat;
    background-position: right 1vw top 3.8vw;
}
select.form-control:disabled{
    background-image: none;
    /* padding: 0; */
}
.hasArrow{
    overflow : hidden;
    text-overflow : ellipsis;
    white-space : nowrap;
    line-height: 1.75;
}
.agree {
    margin: 3vw 0;
}
.agree label{
    font-size: 13px;
    color: var(--main);
    display: flex;
    justify-content: center;
}
input[type='checkbox']:checked + label span:after{
    transition: 0.3s;
    opacity: 1;
}
.agree span{
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid var(--main);
    margin-right: 5px;
    position: relative;
}
.agree span:after{
    content: '';
    position: absolute;
    left: 3px;
    top: -1px;
    width: 8px;
    height: 13px;
    border: solid var(--main);
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    opacity: 0;
    transition: 0.3s;
}
.agree a{
    font-size: 12px;
    text-decoration: underline;
    line-height: 1.25;
    display: inline-block;
    text-align: center;
    margin-top: 8px;
    color: var(--main) !important;
    /* transform: scale(0.6) translateX(-25%);
    width: 147%;
    transform-origin: center; */
    width: 95%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.agree a img{
    height: auto;
}
.modal-style-1{
    position: fixed;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    left: 0;
    top: 0;
    z-index: 99;
 
}
.close-modal{
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: var(--main);
    right: 6px;
    top: 6px;
    font-size: 22px;
    color: #fff !important;
    outline: none !important;
    
}
.inside-border{
    width: 100%;
    height: auto;
    min-height: calc( 100vh - 6px);
    border: 2px solid var(--main);
    padding: 6vw 6vw 16vw 6vw;
} 
.rule-area{
    font-size: 13px;
}
.rule-area h4{
    margin-bottom: 3vw;
}
.rule-area p,.rule-area li{
    margin-bottom: 1vw;
}

.ol-1{
    padding-left: 18px;
}
.ol-2{
    list-style: none;
    padding-left: 24px;
}
.ol-2>li{
    counter-increment: section1;
    text-indent: -24px;
}
.ol-2>li:before {
    content: "(" counter(section1, decimal) ") ";
}
.ol-3{
    list-style: none;
    padding-left: 24px;
}
.ol-3>li{
    counter-increment: section2;
    text-indent: -24px;
}
.ol-3>li:before {
    content: "(" counter(section2, upper-alpha) ") ";
}

.error-text{
    font-size: 12px;
    color: #a1672d;
    margin-bottom: 5px;
    margin-top: 2px;
    text-align: center;
}
.fz-min{
    font-size: 12px;
    transform: scale(0.9);
    margin-left: -5%;
    margin-right: -5%;
    letter-spacing: 0px;
    line-height: 1.25;
    color: var(--main);
}
.fz-sm{
    font-size: 3.5vw;
}
.input-name>div:first-child{
    width: 45%;
}
.input-name>div:last-child{
    width: 55%;
}
.form-mg{
    margin: 2vw 0;
}
.font-focus{
    font-size: 6vw;
    font-weight: 500;
}

.loading{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.loader {
    border: 6px solid #f3f3f3;
    border-radius: 50%;
    border-top: 6px solid var(--sec);
    width: 60px;
    height: 60px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
  }
  .loading p{
      color: #fff;
  }

  /* Safari */
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  /* GPS定位頁 */
  .bottle{
      width: 100%;
      height: 24vh;
      margin: 5vw auto;
      text-align: center;
  }
  .bottle img{
      width: 100%;
      height: 100%;
      object-fit: contain;
  }
  .gps .inside-border{
      display: flex;
      flex-direction: column;
      height: 100%;
  }
  .gps .frame{
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      margin-bottom: 5vw;
  }

  .option-area{
    /* padding: 10px; */
    background-color: #bc844d;
    color: #fff;
  }
  .option-area h5{
    font-size: 3.6vw;
    margin-top: 0;
    margin-bottom: 0;
    padding: 5px 10px;
 }
  .option-area ul{
      margin: 0;
      padding-left: 0px;
      list-style: none;
      font-size: 4vw;
  }
 
  .option-area label{
    padding: 8px 5px 8px 15px;
    width: 100%;
  }
  /* .option-area input[type="radio"]:checked+label{
      background-color: rgba(82,26,20,0.5);
  } */
  /* 20211112 */
  .option-area{
      position: fixed;
      z-index: 10;
      bottom: 0;
      left: 0;
      width: 100%;
      z-index: 200;
      width: 100%;
      overflow-y: auto;
      background-color: #dfd7c4;
      background-size: 100%;
      background-repeat: repeat;
      box-shadow: 0px -2px 16px rgba(0,0,0,0.1);
      color: #521a14;  
      -webkit-overflow-scrolling: touch;
  }
  .option-area h5{
    font-size: 3.7vw;
    margin-top: 0;
    margin-bottom: 0;
    padding: 5px 10px;
    padding: 8px;
    text-align: center;
    /* background-color: #511a148c; */
    background-color: #bc844d8f;
    /* color: #f2eee7; */
  }
  .hasArrow{
    letter-spacing: 0.5px;
  }
  .option-style{
    padding: 8px 5px;
    text-align: center;
  }
/* label.active{
    background-color: rgba(188,132,77,0.15) !important;
  } */
  .active-bar{
    background-color: rgba(188,132,77,0.15);
    position: fixed;
    width: 100%;
    pointer-events: none;
    /* top: 50%;
    transform: translateY(-50%); */
  }
  .select-action{
      position: fixed;
      left: 0;
      background-color: #dfd7c4;
      z-index: 999;
      font-size: 0;
      text-align: right;
      width: 100%;
  }
  .select-action button{
    border: none;
    background-color: transparent;
    font-size: 3.8vw;
    color: #000;
    padding: 8px 15px;
    outline: none !important;
    opacity: 0.7;
  }
  .opGroup{
    background-color: #bc844d8f;
  }
  /* .syear ul{
      max-height: 300px;
      overflow-y: auto;
  } */

  