@charset 'UTF-8';

* {
	box-sizing: border-box;
}

html, body {
	width: 100%;
	height: 100%;
}

body {
    /* font-family: Arial, "Helvetica Neue", Helvetica, "微软雅黑"; */
    font-family: Helvetica, Arial,"LiHei Pro","黑體-繁", "微軟正黑體", sans-serif;
    padding: 0;
    margin: 0;
    overflow: hidden;
    -webkit-text-size-adjust: 100%;
}

div {
    line-height: 130%;
}

p {
    line-height: 130%;
    margin: 0;
}

input {
    background: transparent;
    border: none;
    outline: none;
}

::placeholder,
::-webkit-input-placeholder {
    color: #666;
}

img {
    max-width: 100%;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

body.loading::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 32, 51, 0.7);
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.loading.mc::after {
    background-color: rgba(39, 39, 39, 0.5);
}

#loading {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
    z-index: 9999;
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 8px solid rgba(125, 117, 152, 0.75);
    border-right-color: #ED9E48;
    animation: l2 1s infinite linear;
}

body.loading.mc #loading {
    border: 8px solid rgba(39, 39, 39, 0.75);
    border-right-color: #c3a05b;
}

@keyframes l2 {to{transform: rotate(1turn)}}

body.loading #loading {
    display: block;
}


/* background */
.bg-secondary {
    background-color: #272727;
}



/* 文字 */
.text-primary {
    color: #C3A05B;
}

.text-secondary {
    color: #ccc;
}

.text-info {
    color: #3299CC;
}

.text-danger {
    color: #FF4848;
}

.text-warning {
    color: #C3A05B;
}


/* button */
.btn {
    font-size: 16px;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40px;
    line-height: 100%;
    padding: 8px 0;
    cursor: pointer;
}

.btn-xs {
    font-size: 12px;
    width: 20%;
    height: 20px;
    white-space: nowrap;
}

.btn-s {
    font-size: 12px;
    width: 50px;
    height: 20px;
    white-space: nowrap;
}

.btn-m {
    font-size: 12px;
    min-width: 50px;
    height: 30px;
    padding: 0 10px;
    white-space: nowrap;
}

.btn-l {
    font-size: 12px;
    min-width: 50px;
    height: 20px;
    padding: 0 10px;
}

.btn-auto {
    width: auto;
    padding: 0 10px;
}

.btn-primary {
    background: #C3A05B;
    color: #fff;
}

.btn-info {
    background: #6889B7;
    color: #fff;
}

.btn-outline {
    border: 1px solid #C3A05B;
    color: #C3A05B;
}

.btn-danger {
    background: #FF4848;
    color: #fff;
}

.btn-gray {
    background: #A4A4A4;
    color: #fff;
}

.btn-success {
    background: #44BC64;
    color: #fff;
}

/* Flex */
.flexCenter {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flexBetween {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flexRight {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.flexCenter.colum {
    flex-direction: column;
}

.flex1 {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    width: 100%;
}

.bd0 {
    border: 0 !important;
}


/* 常用間距 */
.mg-0 { margin: 0px !important; }
.mg-10 { margin: 10px !important; }
.mg-15 { margin: 15px !important; }
.mg-20 { margin: 20px !important; }

.mg-t0 { margin-top: 0 !important; }
.mg-t5 { margin-top: 5px !important; }
.mg-t10 { margin-top: 10px !important; }
.mg-t15 { margin-top: 15px !important; }
.mg-t20 { margin-top: 20px !important; }

.mg-b0 { margin-bottom: 0 !important; }
.mg-b5 { margin-bottom: 5px !important; }
.mg-b10 { margin-bottom: 10px !important; }
.mg-b15 { margin-bottom: 15px !important; }
.mg-b20 { margin-bottom: 20px !important; }

.mg-l0 { margin-left: 0 !important; }
.mg-l5 { margin-left: 5px !important; }
.mg-l10 { margin-left: 10px !important; }
.mg-l15 { margin-left: 15px !important; }
.mg-l20 { margin-left: 20px !important; }

.mg-r0 { margin-right: 0 !important; }
.mg-r5 { margin-right: 5px !important; }
.mg-r10 { margin-right: 10px !important; }
.mg-r15 { margin-right: 15px !important; }
.mg-r20 { margin-right: 20px !important; }

.pd-0 { padding: 0px !important; }
.pd-10 { padding: 10px !important; }
.pd-15 { padding: 15px !important; }
.pd-20 { padding: 20px !important; }

.pd-t0 { padding-top: 0 !important; }
.pd-t5 { padding-top: 5px !important; }
.pd-t10 { padding-top: 10px !important; }
.pd-t15 { padding-top: 15px !important; }
.pd-t20 { padding-top: 20px !important; }

.pd-b0 { padding-bottom: 0 !important; }
.pd-b5 { padding-bottom: 5px !important; }
.pd-b10 { padding-bottom: 10px !important; }
.pd-b15 { padding-bottom: 15px !important; }
.pd-b20 { padding-bottom: 20px !important; }

.pd-l0 { padding-left: 0 !important; }
.pd-l5 { padding-left: 5px !important; }
.pd-l10 { padding-left: 10px !important; }
.pd-l15 { padding-left: 15px !important; }
.pd-l20 { padding-left: 20px !important; }

.pd-r0 { padding-right: 0 !important; }
.pd-r5 { padding-right: 5px !important; }
.pd-r10 { padding-right: 10px !important; }
.pd-r15 { padding-right: 15px !important; }
.pd-r20 { padding-right: 20px !important; }

.fs-10 { font-size: 10px !important; }
.fs-12 { font-size: 12px !important; }
.fs-15 { font-size: 15px !important; }
.fs-18 { font-size: 18px !important; }
.fs-20 { font-size: 20px !important; }

