/*reset css*/

*, *::before, *::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.7;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

a{
    text-decoration: none;
}


/*---------------*/

.fz-13{
    font-size: 13px !important;
}
.fz-14{
    font-size: 14px !important;
}
.fz-15{
    font-size: 15px !important;
}
.fz-16{
    font-size: 16px !important;
}
.fz-17{
    font-size: 17px !important;
}
.fz-18{
    font-size: 18px !important;
}
.fz-19{
    font-size: 19px !important;
}
.fz-20{
    font-size: 20px !important;
}
.fz-22{
    font-size: 22px !important;
}
.fz-24{
    font-size: 24px !important;
}
.fz-26{
    font-size: 26px !important;
}
.fz-28{
    font-size: 28px !important;
}
.fz-30{
    font-size: 30px !important;
}

.ls-1{
    letter-spacing: 1px;
}
.ls-2{
    letter-spacing: 2px;
}

.fw-600{
    font-weight: 600;
}


.w-10{
    width: 10%;
}
.w-15{
    width: 15%;
}
.w-20{
    width: 20%;
}
.w-25{
    width: 25%;
}
.w-30{
    width: 30%;
}
.w-35{
    width: 35%;
}
.w-40{
    width: 40%;
}
.w-45{
    width: 45%;
}
.w-50{
    width: 50%;
}
.w-55{
    width: 55%;
}
.w-60{
    width: 60%;
}
.w-65{
    width: 65%;
}
.w-70{
    width: 70%;
}
.w-75{
    width: 75%;
}
.w-80{
    width: 80%;
}
.w-85{
    width: 85%;
}
.w-90{
    width: 90%;
}
.w-95{
    width: 95%;
}
.w-100{
    width: 100%;
}

.jcc{
    justify-content: center;
}

.aic{
    align-items: center;
}


/*------------------*/

.mb-main{
    background: #dbe7db;  /* fallback for old browsers */
    background-image: url(/img/fa-Bg.jpg);
    background-size: cover;
    min-height: 100vh;
    position: relative;
    font-family: "Noto Sans TC", sans-serif !important;
    margin: 0 auto;
    max-width: 1920px
}

.mb-main .main{
    width: 100%;
    max-width: 990px;
    margin: 0 auto;
}


a{
    cursor: pointer;
}

.mb-main a:hover{
    color: inherit;
    text-decoration: none;
}

.fgpw-btn{
    color: #673b0c;
    font-size: 15px;
}

.login-btn{
    background-color: #d7740a ;
    color: #fff;
    transition: .3s;
}


.login-btn:hover{
    background-color: #b46108 ;
    color: #fff !important;
    text-decoration: none;
}

.mb-main .login-btn{
    padding: 5px ;
    border-radius: 5px;
    font-size: 24px;
    width: 50%;
    display: inline-block;
}


.qr-info{
    background-color: #eee;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
}



.cp-name{
    padding: 20px;
display: flex;
align-items: center;
}

.cp-name img{
    width: 70px;
    margin-right: 10px;
    filter: drop-shadow(1px -1px 5px #fff);
}

.cp-name h5{
    line-height: 1.7;
    font-size: 1.45rem;
    color: #673b0c;
    letter-spacing: 1px;
    text-shadow: 1px -1px 5px #fff;
    font-weight: 600;
}

.mb-wrap{
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: #fff;
    padding: 20px;
    /*height: calc(100vh - 119px);舊手機*/
    /*height: calc(100dvh - 119px); 新手機*/
    height: 100vh;
    overflow-y: auto;
}

.mb-line-content{
    display: flex;
    align-items: center;
    justify-content: center;
}


.mb-wrap .line-wrap{
    margin: 10px 0px 25px 0px;
    width: 70%;
    justify-content: center;
    background-color: #d1efbd;
    border: 1px solid #c0d4b2;
    transition: .3s;

}

.mb-wrap .line-wrap p{
    color: #0c670c;
}

.mb-wrap .line-wrap:hover{
    background-color: #c8e4b5 !important;
    box-shadow: unset;
    transform: translateY(5px);
}



.mb-wrap .line-wrap img{
    width: 30px;
    filter: drop-shadow(1px -1px 5px #fff);
}




.mb-info{
    text-align: center;
}

.mb-main .nav-tabs .nav-link{
    margin: unset;
    background-color: unset;
    border: unset;
    border-radius: unset;
    min-width: unset;
}

.mb-main .nav-tabs{
    border-bottom: unset;
}



.mb-main .nav-item{
    text-align: center;
    flex-grow: 1;
    flex-basis: 0;
    min-width: 0;

}


.mb-main .nav-link{
    color: #9f9f9f;
    font-size: 20px ;
}

.mb-main .nav-link:hover{
    color: #9f9f9f;
}

.mb-main .nav-link.active{
    color: #d7740a !important;
    font-weight: 600;
    border-color: unset;
    border-bottom: 3px solid #d7740a !important;
}

.mb-main .rp-state{
    display: flex;
}


.mb-main .rp-state a{
    margin-right: 25px;
    font-size: 15px;
    border: 1px solid #2b9d2b;
    color: #2b9d2b !important;
    padding: 0px 10px;
    border-radius: 3px;
}

.mb-main .rp-state a.active{
    background-color: #2b9d2b;
    color: #fff !important;
}

.mb-main .rp-state a:hover{
    text-decoration: none;
}



.mb-main .rp-table-wrap table th,.rp-table-wrap table td{
    vertical-align: middle !important;
    padding: 0.5rem;
}

.mb-main .rp-p{
    font-size: 20px;
    font-weight: 600;
    background-color: #ffeb3b36;
    margin: 15px 0px;
    letter-spacing: 1px;
    border-radius: 3px;
    line-height: 1.8;
}

.mb-main .rp-time{
    font-size: 14px;
    color: #9f9f9f;
}

.color-green{
    color: #2b9d2b;
    font-weight: 600;
    font-size: 18px;
}
.color-red{
    color: #dd2626;
    font-weight: 600;
    font-size: 18px;
}

.month{
    font-weight: 600;
    font-size: 18px;
}

.rp-content{
    margin-bottom: 30px;
}


.rp-info{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    
}

.rp-info + .rp-info{
    border-top: 1px solid #dee2e6;
}

.rp-info > div{
    padding: 0.5rem;
}

.details-btn{
    display: block;
    font-size: 14px;
    color: #9f9f9f;
}


.details-wrap{
    width: 100%;
    border-radius: 3px;
    background-color: #f5f5f5;
    display: none;
}

.inv-info,.inv-item{
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
}

.inv-info > div{
    width: 50%;
}

.inv-item{
    align-items: center;
    margin: 5px 0px;
    padding: 5px 0px;
}

.inv-item+.inv-item{
    border-top: 1px solid #ddd;
} 


.inv-item div:nth-child(1){
    width: 46%;
}

.inv-item div:nth-child(2),
.inv-item div:nth-child(3),
.inv-item div:nth-child(4){
    width: 18%;
    text-align: center;
}

.inv-bt{
    display: flex;
    flex-wrap: wrap;
}

.inv-bt > div{
    width: 100%;
    font-size: 14px;
    text-align: right;
}

.inv-bt div:nth-child(1),
.inv-bt div:nth-child(2){
    width: 50%;
}

.inv-bt div:nth-child(1){
    text-align: left;
}


.inv-bt div:nth-child(2){
    font-size: 18px;
    color: #2b9d2b;
    font-weight: 600;
}


.close-details{
    text-align: center;
    margin-top: 10px;
}

.close-details a{
    display: block;
}



/*直銷站*/

.fa-item-wrap{
    margin: 0px -15px;
}


.fa-item{
    display: flex;
    align-items: center;
    padding: 10px 15px;
}

.fa-item:nth-child(odd),
.fa-sale:nth-child(odd){
    background-color: #f7f7f7;
}

.fa-item div:nth-child(1){
    width: 70%;
}
.fa-item div:nth-child(2){
    flex-grow: 1;
    text-align: center;
}

.fa-sale{
    display: flex;
    align-items: center;
    padding: 10px 15px;
}

.fa-sale div:nth-child(1){
    width: 50%;
}

.fa-sale div:nth-child(2),
.fa-sale div:nth-child(3){
    width: 25%;
    text-align: center;
}





/*RWD*/

@media (max-width:992px) {


    body{
        background-image: url(/img/bg.jpg);
    }
    .main{
        width: 100%;
    }
}

@media (max-width:768px) {
    .nav-link{
        font-size: 15px;
        padding: 5px 8px;
    }

    .mb-wrap{
        padding: 20px 15px;
    }


    
}

@media (max-width:576px) {
    .login-btn{
        width: 80%;
    }
    
    #menu2 .btn-info{
        width: 100%;
    }
    

}