﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}




#progressbar li {
    list-style-type: none;
    font-size: 0.8rem;
    width: 25%;
    float: left;
    position: relative;
    font-weight: 400;
    color: black;
}

#progressbar #step1:before {
    content: "";
    color: white;
    width: 20px;
    height: 20px;
    margin-left: 0px !important;
}

#progressbar #step2:before {
    content: "";
    color: #fff;
    width: 20px;
    height: 20px;
    margin-left: 32%;
}

#progressbar #step3:before {
    content: "";
    color: #fff;
    width: 20px;
    height: 20px;
    margin-right: 32%;
}

#progressbar #step4:before {
    content: "";
    color: rgb(151, 149, 149, 0.651);
    width: 20px;
    height: 20px;
    margin-right: 0px !important;
}

#progressbar li:before {
    line-height: 29px;
    display: block;
    font-size: 12px;
    background: rgb(151, 149, 149);
    border-radius: 50%;
    margin: auto;
    z-index: -1;
    margin-bottom: 1vh;
}

#progressbar li:after {
    content: '';
    height: 3px;
    background: rgb(151, 149, 149, 0.651);
    position: absolute;
    left: 0%;
    right: 0%;
    margin-bottom: 2vh;
    top: 8px;
    z-index: 1;
}

.progress-track {
    padding: 0 5%;
}

#progressbar li:nth-child(2):after {
    margin-right: auto;
}

#progressbar li:nth-child(1):after {
    margin: auto;
}

#progressbar li:nth-child(3):after {
    float: left;
    width: 68%;
}

#progressbar li:nth-child(4):after {
    margin-left: auto;
    width: 132%;
}

#progressbar li.active:before,
#progressbar li.active:after {
    background: #F72717;
}

#three {
    font-size: 1.2rem;
}

@media (max-width: 767px) {
    #three {
        font-size: 1rem;
    }
}


.round-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
    isolation: isolate;
    height: 65px;
    background: #000000;
    border-radius: 1000px;
    flex: none;
    order: 0;
    flex-grow: 0;
    width: 100%;
    color: #fff;
    font-size: 20px;
}

    .round-button:disabled {
        background-color: #D5D8DD;
    }

    .round-button:hover {
        color: #F72717 !important;
    }

.lightgray-bg {
    padding: 7px;
    margin-bottom: 10px;
    margin-top: 8px;
    background-color: #fff;
    border-radius: 4px;
}


.voucher-bg {
    margin-bottom: 10px;
}



.custom-radio {
    box-sizing: border-box;
    /* Auto layout */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px;
    gap: 16px;
    width: 100%;
    height: 65px;
    /* Secondary Color/Background Pink */
    background: #FFFFFF;
    /* Secondary Color/Light Grey */
    border: 1px solid #D5D8DD;
    border-radius: 4px !important;
    /* Inside auto layout */
    flex: none;
    order: 2;
    flex-grow: 0;
    width: 107%;
}

@media only screen and (min-width: 600px) {
    .custom-radio {
        width: 103%;
    }
}

.custom-radio-active {
    background: linear-gradient(0deg, rgba(255, 89, 120, 0.1), rgba(255, 89, 120, 0.1)), #FFFFFF !important;
}

.voucher-label {
    /* width: 63px; */
    /* height: 16px; */
    /* 16px/Label */
    font-family: 'Hiragino Kaku Gothic Pro';
    font-style: normal;
    font-weight: 300;
    font-size: 22px;
    line-height: 100%;
    /* identical to box height, or 16px */
    text-align: center;
    /* Secondary Color/Black */
    /*color: #000000;*/
    /* Inside auto layout */
    flex: none;
    order: 1;
    flex-grow: 0;
    margin-left: 20px;
    /* padding: 5px; */
    margin-top: -20%;
}



.dot {
    height: 15px;
    width: 15px;
    /* background-color: #bbb; */
    border-radius: 50%;
    display: inline-block;
    border: 2px solid #6D7787;
    margin-left: -100%;
    margin-top: 29px!important;
}

    .dot .active {
        border-color: #F72717 !important
    }

@media (max-width: 400px) {
    .voucher-label {
        margin-left: 10px;
        font-size: 18px;
    }

    .dot {
        margin-top: 19px;
    }
}

@media (max-width: 280px) {
    .voucher-label {
        font-size: 14px;
    }
}

.voucher-label .active {
    color: #F72717 !important
}

.fixedbottom {
    position: fixed;
    width: 100%;
    height: 100px;
    background: #fff;
    bottom: 0px;
    left: 0;
    right: 0;
    z-index: 9999;
}

.content-bg {
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 10px;
    gap: 24px;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    background: linear-gradient(0deg, rgba(109, 119, 135, 0.1), rgba(109, 119, 135, 0.1)), #FFFFFF;
}


.voucher-ul {
    list-style-type: none;
    padding: 14px;
}

/***
========= home/index =========
***/
.home-logo-main {
    padding: 10px;
}

    .home-logo-main .img-box {
        padding: 10px;
        background-color: black;
        height: 150px;
    }

        .home-logo-main .img-box img {
            height: 85%;
            display: block;
            margin: auto;
        }

.home-terms-label {
    padding: 15px;
    font-weight: bold;
}

.home-terms-details-main {
    padding: 10px;
}

.home-terms-details {
    padding: 10px;
    background-color: lightgray;
}

.home-button-box {
    padding: 30px 10px;
    height: 50px;
}

    .home-button-box a {
        width: 100%;
        border-radius: 35px;
        padding: 10px;
        background-color: black;
        color: white;
    }

        .home-button-box a:hover {
            color: white;
        }



.voucher-active-div {
    color: #F72717 !important;
}

    .voucher-active-div .dot {
        border-color: #F72717 !important;
        background-color: #F72717 !important;
    }




/*****/


.hh-grayBox {
    background-color: #F8F8F8;
    margin-bottom: 20px;
    padding: 35px;
    margin-top: 20px;
}

.pt45 {
    padding-top: 45px;
}

.order-tracking {
    text-align: center;
    width: 33.33%;
    position: relative;
    display: block;
}

    .order-tracking .is-complete {
        display: block;
        position: relative;
        border-radius: 50%;
        height: 20px;
        width: 20px;
        border: 0px solid #D5D8DD;
        background-color: #D5D8DD;
        margin: 3px auto;
        transition: background 0.25s linear;
        -webkit-transition: background 0.25s linear;
        z-index: 2;
    }

        .order-tracking .is-complete:after {
            display: block;
            position: absolute;
            content: '';
            height: 14px;
            width: 7px;
            top: -2px;
            bottom: 0;
            left: 5px;
            margin: auto 0;
            border: 0px solid #D5D8DD;
            border-width: 0px 2px 2px 0;
            transform: rotate(45deg);
            opacity: 0;
        }

    .order-tracking.completed .is-complete {
        border-color: #6D7787;
        border-width: 0px;
        background-color: #6D7787;
    }

        .order-tracking.completed .is-complete:after {
            border-color: #fff;
            border-width: 0px 3px 3px 0;
            width: 5px;
            left: 8px;
            opacity: 1;
            height: 9px;
        }

    .order-tracking p {
        color: #A4A4A4;
        font-size: 12px;
        margin-top: 8px;
        margin-bottom: 0;
        line-height: 20px;
    }

        .order-tracking p span {
            font-size: 14px;
        }

    /*.order-tracking.completed p {
        color: #000;
    }*/

    .order-tracking::before {
        content: '';
        display: block;
        height: 3px;
        width: calc(100% - 40px);
        background-color: #D5D8DD;
        top: 13px;
        position: absolute;
        left: calc(-50% + 20px);
        z-index: 0;
    }

    .order-tracking:first-child:before {
        display: none;
    }

    .order-tracking.completed:before {
        background-color: #D5D8DD;
    }

/*
    Oauth/Error
*/
.oauth-error-main {
    padding: 20px 20px;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    text-align: center;
    background: linear-gradient(0deg, rgba(109, 119, 135, 0.1), rgba(109, 119, 135, 0.1)), #FFFFFF;
}

    .oauth-error-main .error-header {
        padding-top: 20px;
        padding-bottom: 10px;
        font-weight: 300;
        font-size: 20px;
    }

    .oauth-error-main .error-details {
        padding-top: 20px;
        font-size: 16px;
    }

    .oauth-error-main .button-box {
        padding: 30px 10px;
        height: 50px;
    }

        .oauth-error-main .button-box a {
            width: 100%;
            border-radius: 20px;
            padding: 10px;
            background-color: black;
            color: white;
        }

            .oauth-error-main .button-box a:hover {
                color: white;
            }


.col-12 {
    padding-left: 20px;
    padding-right: 20px;
}


.voucher-balance {
    font-family: 'Hiragino Kaku Gothic Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
}

.voucher-detail-balance {
    margin-top: 120px;
}

@media only screen and (min-height: 700px) {
    .voucher-detail-balance {
        margin-top: 220px;
    }
}

@media only screen and (min-width: 600px) {
    .voucher-detail-balance {
        margin-top: 40px;
        margin-bottom: 100px
    }
}

select option:disabled {
    color: #D5D8DD;
}




input[type="radio"]:checked {
    background: linear-gradient(0deg, rgba(255, 89, 120, 0.1), rgba(255, 89, 120, 0.1)), #FFFFFF !important;
}


@media (max-width: 320px) {
    .voucher-label {
        font-size: 14px;
    }

    .round-button {
        font-size: 15px;
    }

    .dot {
        height: 12px;
        width: 12px;
    }
}

@media (max-width: 280px) {
    .voucher-label {
        font-size: 12px;
    }

    .round-button {
        font-size: 12px;
    }

}