.cstm-modal {
    font-family: 'DroidArabicKufiRegular';
}

.cstm-modal .flex-bn {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.cstm-modal .flex-bn .item {
    font-size: .9rem;
    font-weight: bold;
}

.modal-content h2 {
    margin: 0;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.cstm-modal .modal-header {
    border: 0;
}

.cstm-modal button.close {
    margin-top: 0;
    padding: 0.3rem;
    position: absolute;
    float: none;
    right: 10px;
    z-index: 5;
    top: 10px;
}

.cstm-modal .modal-body {

    padding: 20px 30px;
    direction: rtl !important;
}

.cstm-modal .flex-bn .flex-c {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.95);
    padding: .75rem .5rem;
    border-radius: .25rem;
    -webkit-border-radius: .25rem;
    -moz-border-radius: .25rem;
    -ms-border-radius: .25rem;
    -o-border-radius: .25rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    padding-top: 0;

}

.cstm-modal .flex-bn .flex-c .lbl {
    margin-bottom: 0.75rem;
    text-align: center;
    padding: 0.2rem 0.5rem;
    background-color: #0D0F30;
    color: #fff;
    border-radius: 0 0 20% 20% / 0 0 105% 105%;
    min-width: 100px;
    font-weight: 500;
    font-size: .85rem;


}

.cstm-modal .flex-bn .flex-c .val {
    text-align: center;
    width: 100%;
    min-height: 21px;
}

.cstm-modal .col-md-4 {

    flex-grow: 1;
    padding-top: .5rem;
    padding-bottom: .5rem;

}

.state-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100% !important;
    padding: .5rem 0;
    position: relative;
    overflow: hidden;
}

.state-bar .step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-bottom: 2rem;


}

.state-bar .step span {
    height: 48px;
    width: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    font-size: 1.8rem;


}

.state-bar::before {
    content: "";
    position: absolute;
    bottom: 62px;
    height: 2px;
    background-color: #fff;
    width: 100%;
    left: 0;
    z-index: 0;
}

.state-bar .step .step-text {
    position: absolute;
    bottom: 5px;
    width: unset;
    white-space: nowrap;
    font-size: .8rem !important;
    font-weight: 600;
}


.state-bar .step:nth-child(1) .step-text {
    right: 0;

}

.state-bar .step:nth-child(4) .step-text {
    left: 0;

}

@media (max-width: 575px) {
    .state-bar {
        flex-direction: column;
        padding: 0;
        margin: .5rem 0;
        height: 300px;
        overflow: hidden;

    }


    .state-bar::before {
        content: "";
        position: absolute;
        bottom: 0;
        top: 0;
        height: 100%;
        background-color: #fff;
        width: 2px;
        left: 50%;
        z-index: 0;
    }

    .state-bar .step .step-text {
        position: absolute;
        top: 50%;
        bottom: unset;
        transform: translateY(-50%);
        white-space: normal;
        right: 50% !important;
        left: unset !important;
        width: auto;
        display: flex;
        flex-grow: 1;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        width: 45%;
        padding-right: 35px;

    }

    .state-bar .step {
        width: 100%;
        padding-top: 0;
        padding-bottom: 0;
    }

}

.table-wr {
    overflow-x: auto;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.table-wr table {
    margin: 0 !important;
    border: 0 !important;

}

.table-wr .table-bordered>thead>tr>th,
.table-bordered>thead>tr>td {
    border-bottom-width: 1px;
    text-align: center;
}

.cstm-modal .fa-shipping-fast {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
}

.table-wr table th {
    background-color: #0D0F30;
    color: #fff;
    font-weight: 500;
    border-top: 0 !important;

}

.table-wr table td {
    background-color: #fff;
    font-size: .95rem;
}

.cstm-modal .img-wr {
    padding: 1rem;
    margin-top: 2rem 0;
    width: 100%;
    text-align: center;
}

.cstm-modal .img-wr img {
    width: 16rem;
    max-width: 100%;
    max-height: 18rem;


}

.state-bar .step span {
    color: #c1c1c1;
}

.state-bar .step.active span {
    color: #ffc535;


}

.state-bar .step.done span {

    color: #0d0f30;

}