/* Updated code by Nevin*/
.dx_captcha_loading_overlay {
    display: none !important;
    visibility: hidden !important;
}

ul#payList {
    display: block;
    margin-bottom: 42px;
}
.pay-list {
    background-color: transparent !important;
}
.pay-type {
    margin-top: 10px;
}
.pay-type span {
	color: #e8e7eb !important;
}
.pop-up-mod {
    max-width: 30% !important;
}
.custom-btn {
    display: block;
    text-align: center;
    height: auto !important;
    padding: 8px;
    text-decoration: none !important;
}
/* Endline Updated code by Nevin*/

.step{
    padding: 50px 0;
}

.step li p{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    background-color: rgba(27,24,59,0.1);
    color: #2C3340;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}
.step li:nth-last-child(2n){
    width: 120px;
    height: 2px;
    background: rgba(27,24,59,0.1);
    margin-top: 20px;
}
.step li.prev p{
    color: #3F61FF;
}
.step li.prev:nth-last-child(2n){   
    background: #3F61FF;
}
.step li a{
    min-width: 60px;
    font-size: 14px;
    color: rgba(44,51,64,0.6);
    text-align: center;
}
.step li.active p{
    background: #3F61FF;
    color: #fff;
}
.step li.active a{
    color: #2C3340;
}

.title{
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 24px;
    text-align: left;
    font-weight: 600;
    line-height: 1.5;
    color: rgba(44,51,64,1);
}
.pay-type-title h3{
    font-weight: 600;
}
.pay-list{
    flex-wrap: wrap;
    background-color: #fff;
}
.pay-type-title .desc{
    font-size: 12px;
    color: rgba(44,51,64,0.6);
    font-weight: 400;
}
.pay-list .pay-type{
    width: 100%;
    padding: 15px;
    line-height: 1.4;
    background: #FFFFFF;
    cursor: pointer;
}

.pay-type span{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    background-color: rgba(27,24,59,0.1);
    color: #2C3340;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}
.pay-type.active span{
    background: #3F61FF;
    color: #fff;
}
.pay-type img{
    margin-left: 10px;
    width: 104px;
    height: 39px;
}
.pay-type p{
    color: rgba(44,51,64, 0.8);
    line-height: 24px;
    font-size: 16px;
    padding-left: 10px;
}
.pay-success, .paying{
    width: 100%;
    padding: 20px 15px;
    background: #FFFFFF;
    margin-bottom: 247px;
}
.pay-success>div p{
    font-size: 24px;
    color: #2C3340;
}
.paying>div .desc{
    font-size: 16px;
    margin-bottom: 10px;
}
.paying>div .desc span{
    margin: 0 15px;

}
.pay-success>div .icon{
    height: 44px;
    width: 44px;
    border-radius: 50%;
    line-height: 44px;
    text-align: center;
    font-size: 44px;
    color: #41cc8b;
    margin-right: 10px;
}
.pay-success .info{
    font-size: 16px;
    margin-top: 20px;
    color: rgba(44,51,64,0.6);
    text-align: center;
}
.pay-success .order-btn{
    margin-top: 50px;
    width: 134px;
    height: 40px;
    background: #5248CB;
    border-radius: 2px;
    border: none;
    outline: none;
    color: #F5F9FA;
    font-size: 14px;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
}
.pay-success .check-btn{
    margin-top: 20px;
}
.total .submit-btn[data-status="true"]{
    background: #fa91b6;
}

.overlay {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.75);
    opacity: 0;
    pointer-events: none;
    transition: 0.35s ease-in-out;
    max-height: 100vh;
    overflow-y: auto;
    z-index: 1;
}
.overlay.open {
    opacity: 1;
    pointer-events: inherit;
}
.overlay .modal {
    background: white;
    text-align: center;
    box-shadow: 0px 1px 10px rgba(255, 255, 255, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: 0.35s ease-in-out;
    max-height: 100vh;
    max-width: 500px;
    border-radius: 20px;
}
.overlay .modal.open {
    opacity: 1;
    pointer-events: inherit;
}
.overlay .modal.open .content {
    transform: translate(0, 0px);
    opacity: 1;
}
.overlay .modal .content {
    transform: translate(0, -10px);
    opacity: 0;
    transition: 0.35s ease-in-out;
}
.overlay .modal .title {
    margin-top: 0;
    margin-bottom: 10px;
}
.overlay .modal p {
    margin-bottom: 20px;
}
.overlay .modal .title {
    margin-top: -80px;
    margin-bottom: 24px;
    font-size: 30px;
    font-weight: 600;
    padding-top: 0;
}

.layout {
    background-image: none !important;
}

.layout .main {
  width: 100% !important;
}

.login-submit {
    margin-top: 20px !important;
}

/* Password Toggle */
.fa.fa-fw.fa-eye.field_icon.toggle-password1 {
    font-size: 20px;
    width: 30px;
    display: block;
    position: absolute;
    top: 30px;
    right: 0;
    color: gray;
}
.fa.fa-fw.field_icon.toggle-password1.fa-eye-slash {
    font-size: 20px;
    width: 30px;
    display: block;
    position: absolute;
    top: 30px;
    right: 0;
    color: gray;
}
.fa.fa-fw.fa-eye.field_icon.toggle-password2 {
    font-size: 20px;
    width: 30px;
    display: block;
    position: absolute;
    top: 30px;
    right: 0;
    color: gray;
}
.fa.fa-fw.field_icon.toggle-password2.fa-eye-slash {
    font-size: 20px;
    width: 30px;
    display: block;
    position: absolute;
    top: 30px;
    right: 0;
    color: gray;
}

.timerMessage {
    color: #ef372e;
    font-size: 16px;
}

.bouncingLoader > div, .bouncingLoader:before, .bouncingLoader:after {
    display: inline-block;
    width: 13px;
    height: 13px;
    background: hsl(243, 80%, 62%);
    margin-bottom: -5px;
    border-radius: 50%;
    animation: bouncing-loader 0.6s infinite alternate;
}

.bouncingLoader > div, .bouncingLoader:before, .bouncingLoader:after {
    content: "";
}

.bouncingLoader > div {
    margin: 0 5px;
}

.bouncingLoader > div {
    animation-delay: 0.2s;
}

.bouncingLoader:after {
    animation-delay: 0.4s;
}

.pay-processing {
    text-align: center;
    margin-top: 20px;
}

@keyframes bouncing-loader {
    to {
        opacity: 0.1;
        transform: translate3d(0, -16px, 0);
    }
}


@media (min-width: 768px){
    .pay-type-title{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .pay-list{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .pay-list li{
        flex: 0 0 50%;
        height: 100%;
    }
    .pay-info{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        background-color: #fff;
    }
    .pay-info li{
        flex:1;
    }
    .pay-info li>p{
        width: 100%;
        height: 44px;
        line-height: 44px;
        background-color: #001343;
        text-align: center;
        color: #fff;
    }
    .pay-info li>div{
        height: 134px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        font-size: 14px;   
        color: #000000;
        padding: 0 10px;
    }
    .pay-info li .common{
        width: 259px;
        height: 94px;
        background-image: url("../image/normal.png");
        background-size: 100% 100%;
        background-repeat: no-repeat;
        line-height: 94px;
        font-size: 22px;
        color: #fff;
        text-align: center;
    }
    .pay-info li .common.senior{
        background-image: url("../image/senior.png");
    }
    .pay-info li input{
        width: 103px;
        height: 40px;
        text-align: center;
        color: #000000;
        outline: none;
        background: #F7F8F9;
        border: 1px solid #E5E5E5;
    }
    .pay-info li .remark{
        color: rgba(0,0,0,0.6)
    }
    .total{
        margin: 24px 0;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: flex-end;
    }
    .total .price{
        font-size: 18px;
        color: #000;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .total .price .all{
        color: #FF3F83;
        font-size: 22px;
        margin-left: 4px;
    }
    .total .price .unit{
        color: rgba(0,0,0,0.6);
        font-size: 14px;
        margin-left: 4px;
    }
    .total .submit-btn{
        width: 155px;
        margin-left: 45px;
        height: 50px;
        background: #FF3F83;
        border: none;
        outline: none;
        border-radius: 4px;
        font-size: 18px;
        color: #fff;
    }

    .total .submit-btn:active{
        background: #fa91b6;
    }
}
@media (min-width: 1200px){
    .pay-list li{
        flex: 0 0 33.33%;
    }
}
@media (max-width: 768px){
    .step{
        padding: 25px 0;
    }
    .step li:nth-last-child(2n){
        width: 35px;
    }
    .title{
        margin-top: 20px;
        margin-bottom: 10px;
        font-size: 16px;
        text-align: left;
        line-height: 1.5;
        color: rgba(44,51,64,1);
    }
    .pay-type-title{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .pay-type-title .desc{
        padding-top: 10px;
    }
    .pay-list{
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
    }
    .pay-type{
        border-radius: 4px;
    }
    .pay-type p{
        font-size: 14px;
    }
    .pay-info{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        background-color: #fff;
        border-radius: 4px;
    }
    .pay-info li{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 40px;
        width: 100%;
        padding: 15px;
    }
    .pay-info li input{
        width: 70px;
        height: 30px;
        text-align: center;
        color: #000000;
        outline: none;
        background: #F7F8F9;
        border: 1px solid #E5E5E5;
    }
    .total{
        margin: 10px 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }
    .total .price{
        font-size: 14px;
        padding: 0 15px;
        color: #000;
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .total .price .all{
        color: #FF3F83;
        font-size: 14px;
    }
    .total .price .unit{
        color: rgba(0,0,0,0.6);
        font-size: 12px;
        margin-left: 4px;
    }
    .total .submit-btn{
        margin: 15px auto;
        width: 100%;
        height: 35px;
        background: #FF3F83;
        border: none;
        outline: none;
        border-radius: 4px;
        font-size: 14px;
        color: #fff;
    }
    .total .submit-btn:active{
        background: #fa91b6;
    }
    .pay-success{
        margin-bottom: 50px;
    }
    .pay-success>div .qr-code{
        width: 90%;
    }
    .pay-success>div p{
        font-size: 14px;
        color: #2C3340;
    }
}