body {
    font-size: 1rem;
    background: linear-gradient(to top, #FDFDFD 80%, #91060d 20%);
    background-repeat: no-repeat;
}

a:hover,
a:focus {
    text-decoration: none !important;
    outline: none !important;

}



@keyframes download-shock {
    0% {
        transform: translateY(1);
        transform: scale(0.95);
    }

    50% {
        transform: translateY(-10px);
        transform: scale(1);
    }

    100% {
        transform: translateY(1);
        transform: scale(0.95);
    }
}


.align-left {
    text-align: left;
}

.title3::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 5px;
    height: 20px;
    margin: auto 10px auto 0;
    background: linear-gradient(to bottom, #91060d, #b71119);
}


.save span{
    font-size: 0.85rem;

}

.vh-100 {
    min-height: 100vh !important;
}

.d-flex {
    display: -ms-flexbox !important;
    display: flex !important;
}

.flex-column {
    -ms-flex-direction: column !important;
    flex-direction: column !important;
}

.mt-auto,
.my-auto {
    margin-top: auto !important;
}

.ml-auto,
.mx-auto {
    margin-left: auto !important;
}

.mr-auto,
.mx-auto {
    margin-right: auto !important;
}

.mt-4,
.my-4 {
    margin-top: 1.5rem !important;
}


.nav-link {
    color: #fff;
    float: right;

}

.nav-link span {
    font-size: 1rem;

}

.content-txt2 {
    /* background: linear-gradient(to top, #FDFDFD 92%, #91060d 8%);
    border-radius: 5px;
    margin-bottom: 10px; */
    padding: 10px;
}


.progressbar_box {
    text-align: center;
    background: #fff;
    padding-top: 20px;
    border-radius: 10px;
}


.progressbar_box p {
    font-size: 0.85rem;
    padding: 10px;
}


.progressbar {
    counter-reset: step;
}

.progressbar li {
    list-style: none;
    display: inline-block;
    width: 49%;
    position: relative;
    text-align: center;
    cursor: pointer;
    z-index: 1;
    font-size: 0.85rem;
}

.progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 40px;
    height: 40px;
    line-height: 35px;
    border: 1px solid #ddd;
    border-radius: 100%;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    background-color: #fff;
    font-size: 1.5rem;

}

.progressbar li:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #000;
    top: 15px;
    left: -50%;
    z-index: -1
}

.progressbar li:first-child:after {
    content: none;
}

.progressbar li.active {
    color: #000;
}

.progressbar li.active:before {
    border-color: #91060d;
    background: #91060d;
    color: #fff;
}

.progressbar li.active+li:after {
    background-color: #91060d;
}

.tab {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab-content .tab-content-box {
    display: none;
}

.tab-content .tab-content-box.open {
    display: block;
}


.specifyColor {
    accent-color: #91060d;

}

.color-red {
    color: red;
}

.point-time {
    text-align: center;
    font-size: 0.85rem
}


.point_box {
    text-align: center;
    margin-bottom: 20px;
}

.point_box span {
    font-size: 0.85rem;
}

.point_box img {
    width: 55px;
    margin: 0 auto;
    background: #fff;
    filter: drop-shadow(1px 2px 2px #3333);
    border-radius: 10px;
    margin-top: 25px;
}



.btn-cover2 {
    margin: 1rem;
}

.btn-cover2 button,
.btn-cover2 a {
    padding-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 5px;
    border-radius: 25px;
    border-width: 0 1px 1px;
    /* border-color: transparent #c2c2c2 #989898; */
    box-shadow: 0px 0px 4px #00000059;
    background: #333;
    color: #fff;
}




.lightBox {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.lightBox:before {
    content: "";
    width: 100vw;
    height: 100vh;
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    transition: all 0.3s;
}

.lightBox.open {
    display: block;
}

.lightBox.countBox .lightBox-box {
    padding: 0;
    width: 100%;
    top: 100%;
    transform: translate(-50%, -100%);
    border-radius: 10px 10px 0 0;
}

/* 系統訊息 彈窗1 */

.lightBox-AD1 .lightBox-box {
    background: none !important;
    padding: 0;
    min-height: auto;
    max-height: none;
    border: none;
}

.lightBox-AD1 .lightBox-box .up-box {
    width: 100%;
}

.lightBox-AD1 .lightBox-box .up-box .close-btn {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    transform: translate(-50%, 0);
    border: 1px solid #fff;
    border-radius: 50%;
}

.lightBox-AD1 .lightBox-box .down-box {
    min-height: 120px;
    /* max-height: 350px; */
    background: linear-gradient(to right, #ecedea, #fefefe);
    border-radius: 8px;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-direction: column;
    transform: translateY(-2%);
    overflow-y: auto;
}

.lightBox-AD1 .lightBox-box .down-box .ad-item {
    flex: 1;
    padding: 15px 0;
    margin: 0 auto;
}

.lightBox-AD1 .lightBox-box .up-box .close-btn {
    width: 30px;
    height: 30px;
}

.lightBox .lightBox-box {
    min-height: 200px;
    max-height: 80vh;
    width: 90%;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 8px;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1;
    padding: 10px 20px;
    transform: translate(-50%, -50%);
}




@media only screen and (min-width: 600px) {
    .lightBox .lightBox-box {
        max-width: 450px;
    }
}

@media only screen and (min-width: 750px) {
    .lightBox .lightBox-box {
        max-width: 550px;
    }
}

.lightBox .lightBox-box.lightBox-table .content-txt {
    border-radius: 0;
    width: 100%;
    margin: 0;
}

.lightBox .lightBox-box.lightBox-table .table-cover {
    display: block;
    margin: 10px 0;
    height: 100%;
}

.lightBox .lightBox-box.lightBox-table .table-cover .table {
    width: auto;
    border-radius: 0;
    table-layout: fixed;
    border-top: 1px solid #FBB21A;
}

.lightBox .lightBox-box.lightBox-table .table-cover .table th,
.lightBox .lightBox-box.lightBox-table .table-cover .table td {
    padding: 5px;
}

.lightBox .lightBox-box.lightBox-table .table-cover .table th {
    min-width: 70px;
    color: #fff;
    background: linear-gradient(to right, #FBB21A, #F5DF83);
    border-bottom: 1px solid #FBB21A;
    background: #d49f2f;
}

.lightBox .lightBox-box.lightBox-table .table-cover .table td {
    word-break: keep-all;
}

.lightBox .lightBox-box.lightBox-table .table-total {
    position: sticky;
    left: 0;
    bottom: 0;
}

.lightBox .lightBox-box .txt {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 150px;
    padding: 0;
    text-align: center;
}

.lightBox .lightBox-box .txt.left {
    text-align: left;
}

.lightBox .lightBox-box .txt.txt-top {
    min-height: auto;
    padding: 5px;
}

.lightBox .lightBox-box .txt .title {
    font-size: 1.25rem;
    padding: 5px;
}

.lightBox .lightBox-box .txt p {
    font-size: 0.875rem;
}

.lightBox .lightBox-box .color-btn {
    padding: 0 5px;
}

.lightBox .btn-cover button:last-child,
.lightBox .btn-cover a:last-child {
    background: linear-gradient(to bottom, #f5df83 22%, #FBB21A);
}