/* Reset S */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    margin: 0;
    padding: 0;
    outline: none;
}

body {
    font-family: 'Noto Sans TC', 'Microsoft YaHei', sans-serif;
}

body, html {
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: none;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
}

a {
    text-decoration: none;
}

a:focus, a:active, a {
    outline: none;
}

a, button, input {
    -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
}

a, p, span, i, h1, h2, h3, h4, h5, h6 {
    -webkit-font-smoothing: antialiased;
}

a, img, input {
    border: none;
}

a, img {
    -webkit-touch-callout: none;
}

img {
    height: auto;
}

ul, ol, li {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input[type="text"], input[type="password"], select, a {
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    border-radius: 0;
    box-sizing: border-box;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.text-hide {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

em, i, b {
    font-style: normal;
}

fieldset, img {
    border: 0;
    display: block;
}

input, textarea, select {
    *font-size: 100%
}

audio, canvas, video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

address, caption, cite, code, dfn, em, strong, th, var {
    font-style: normal;
    font-weight: normal
}

abbr, acronym {
    border: 0;
    font-variant: normal
}

sup {
    vertical-align: text-top
}

sub {
    vertical-align: text-bottom
}

.clear:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.hide {
    display: none;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #949494;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #949494;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #949494;
}

.text-hide {
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
}
.text-hidden {
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
}

img {
    width: 100%;
    height: auto;
}
button{
    list-style: none;
    border: none;
}

/* scrollbar */
.scrollbar::-webkit-scrollbar {
    width: 6px;
}

.scrollbar::-webkit-scrollbar-track {
    background-color: #f7f3e4;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}

.scrollbar::-webkit-scrollbar-thumb {
    background-color: #395a89;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}


.pop-blue {
    background: #00000099
}

.pop-blue .popup-inner {
    position: relative;
    max-width: 4rem;
    padding-bottom: .4rem;
    border-radius: 10px;
    background: #fff;
    border: none;
}

.pop-blue .popup-inner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: .4rem;
    /* background: url(../images/pop-bg.png) no-repeat center bottom; */
    z-index: 1;
}

.pop-blue .popup-close {
    text-indent: 100em;
    right: -50px !important;
    top: 0 !important;
    width: .3rem !important;
    height: .3rem !important;
    background: url(../images/close-btn.png) no-repeat center;
    transition: all .5s ease;
}

.pop-blue .popup-head {
    position: relative;
    margin: 0;
    font-size: .24rem;
    height: .5rem;
    line-height: .5rem !important;
    width: 100%;
    font-weight: 600;
    color: #fadf95;
    text-align: center;
    background-image: linear-gradient(#724100, #873f00);
    border-radius: 10px 10px 0 0 !important;
}

.pop-blue .popup-head::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: .5rem;
    line-height: .5rem;
    /* background: url(../images/pop-bg.png) no-repeat center top; */
    z-index: 1;
}

.pop-blue .popup-body {
    position: relative;
    z-index: 10;
    margin: .2rem 0;
}
.popup-list{}
.popup-list button{
    padding: .1rem .2rem;
    border-radius: 6px;
    color: #fff;
    font-size: .2rem;
    letter-spacing: 3px;
    min-width: 1.4rem;
    display: inline-block;
    text-align: center;
}
.popup-confirm .popup-body{
    font-size: .2rem;
}
.popup-foot button {
    padding: 0.4em 1em !important;
    cursor: pointer;
    margin: 0.5em;
    padding: 0.5em 1em;
    border-radius: 0.25em;
    text-indent: 0.2em;
    letter-spacing: 0.2em;
}
.btn-save, .btn-ok{
    background: #824003;
    color: #fff;
    border-radius: 0.25em;
    padding: 0 .1rem;
}
.btn-full {
    display: block;
    border-radius: 4px;
    line-height: 2.5;
    letter-spacing: .2em;
    text-indent: .2em;
    width: 100%;
    transition: all .6s ease;
    padding: 0.25em 0.5em;
}
.btn-cancel{}


.pop-blue .popup-inner {
    position: relative;
    max-width: 4.2rem;
    padding-bottom: 40px;
    border-radius: 10px;
    background: #fff;
    border: none;
}
.form {
    line-height: 2;
    max-width: 90% !important;
    width: 4.6rem !important;
    margin: 0 auto;
    height: 100%;
    overflow: auto;
    overflow-x: hidden;
}
.form .form-item {
    display: flex;
    align-items: center;
    flex-grow: 10;
    margin: 0.1rem auto;
}

.form .form-item-label {
    /* text-align: right; */
    white-space: nowrap;
    flex-grow: 0;
    flex-shrink: 0;
    width: .8rem !important;
    text-align-last: justify;
    margin-right: .1rem;
}
.form .form-item-body {
    position: relative;
    flex-grow: 100;
    text-align: left;
}
.form input,
.form textarea {
    width: 100%;
    line-height: 1.8;
    padding: 0.25em 0.5em;
    box-sizing: border-box;
    border-radius: 4px;
}
.form input {
    min-width: 4em
}
.select-box {
    position: relative;
    cursor: pointer;
    color: #486162;
    display: inline-block;
    min-width: fit-content;
    line-height: 1.5;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
}
.select-box .select-head {
    padding: 0.25em 0 0.25em 1em;
    display: inline-block;
    min-width: 2em;
    white-space: nowrap;
}
.input-c {
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    line-height: 2;
    outline: none;
}
.flex-x {
    display: flex;
}
.flex-x .btn-save {
    margin-left: 10px;
}


@media (max-width: 800px) {
    .pop-blue .popup-close {
        left: 50%;
        top: auto !important;
        bottom: -.6rem !important;
        transform: translateX(-50%);
        width: .6rem;
        height: .6rem;
    }
    .pop-blue .popup-head{
        font-size: .32rem;
        height: .8rem;
        line-height: .8rem !important;
    }
    .pop-blue .popup-body {
        max-height: 65vh;
        overflow-y: auto;
    }
    .pop-blue .popup-inner {
        max-width: 5.5rem;
        padding-bottom: .4rem;
    }
    .btn-full {
        line-height: 2;
    }

}