
body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 30px;
    text-align: center;
}

img {
    max-width: 100%;
}

.img {
    height: 150px;
    padding: 12px;
}

#img_headers {
    background-color: white;
    top: 0;
    left: 0;
    width: 100%;
}

.inner-bg {
    padding-bottom: 50px;
    height: 100%;
    background-repeat: no-repeat;
    background-image: url('../img/Tablet_resize.jpg');
}

:root {
    --primary-color: rgb(19,85,115);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: Montserrat, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
}
/* Global Stylings */
label {
    display: block;
    text-align: left;
}

.ab {
    display: flex;
    align-items: center;
    position: absolute;
    height: 100%;
    top: 0;
    right: 0;
}

input {
    display: block;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
}

    input.invalid {
        background-color: #ffdddd;
    }

    input.isvalid {
        background-color: #bff4be;
    }

.width-50 {
    width: 50%;
}

.ml-auto {
    margin-left: auto;
}

.text-center {
    text-align: center;
}

/* Progressbar */
.progressbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    counter-reset: step;
    width: clamp(320px, 30%, 430px);
}

    .progressbar::before,
    .progress {
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        height: 4px;
        width: 100%;
        background-color: #dcdcdc;
        z-index: -1;
    }

.progress {
    background-color: var(--primary-color);
    width: 0%;
    transition: 0.3s;
}

.progress-step {
    width: 2.1875rem;
    height: 2.1875rem;
    background-color: #dcdcdc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .progress-step::before {
        counter-increment: step;
        content: counter(step);
    }

    .progress-step::after {
        content: attr(data-title);
        position: absolute;
        top: calc(100% + 0.5rem);
        font-size: 0.85rem;
        color: #666;
    }

.progress-step-active {
    background-color: var(--primary-color);
    color: #f3f3f3;
}

/* Form */

.form-step {
    display: none;
    transform-origin: top;
}

.form-step-active {
    display: block;
}

.input-group {
    margin: 2rem 0;
}



/* Button */
.btns-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/*.btn {
    padding: 0.75rem;
    display: block;
    text-decoration: none;
    background-color: var(--primary-color);
    color: #f3f3f3;
    text-align: center;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: 0.3s;
}*/

/*.btn:hover {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--primary-color);
}*/

.modalBackground {
    background-color: Gray;
    filter: alpha(opacity=50);
    opacity: 0.5;
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    height: 48px;
    padding: 16px 32px;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    outline: 0;
    box-shadow: none;
}

.ghost-black {
    color: black !important;
    border-color: black;
}

    .ghost-black:hover {
        color: white !important;
        background-color: black;
    }

/* BANK-ICON-CONTAINER */
[class*="bank-icon-"] {
    display: inline-block;
    background-image: url("https://www.payfast.co.za/images/plogos.png");
    background-repeat: no-repeat;
    background-position-y: bottom;
    height: 32px;
    float: left;
    margin-right: 10px;
    border: 1px solid red;
}

/* [class*="bank-icon-"]:hover {
  background-position-y: 0%;
}
 */
/* BANK - ICONS */
.bank-icon-absa {
    background-position-x: -6px;
    width: 28px;
}

.bank-icon-fnb {
    background-position-x: -46px;
    width: 21px;
}

.bank-icon-nedbank {
    background-position-x: -79px;
    width: 20px;
}

.bank-icon-stdbank {
    background-position-x: -111px;
    width: 16px;
}

.bank-icon-visa {
    background-position-x: -191px;
    width: 48px;
}

.bank-icon-mcard {
    background-position-x: -145px;
    width: 34px;
}

.currency-symbol {
    position: relative;
    margin-left: 30px;
}

    .currency-symbol:before {
        position: absolute;
        content: "R";
        top: 0;
        left: 0;
        width: 20px;
        height: 20px;
        border: 1px solid green;
    }



/* Style the table */
table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 16px;
}

th,
td {
    text-align: left;
    padding: 8px;
}

th {
    background-color: #eee;
}

{
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

td, th {
    border: 1px solid #ddd;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #ddd;
}

th {
    padding-top: 6px;
    padding-bottom: 6px;
    text-align: left;
    background-color: #135573;
    color: white;
}


.required-field::after {
    content: "*";
    color: rgb(82,10,24);
    margin-left: 2px
}


.btn-circle {
    margin-top: 30px;
    width: 10px;
    height: 10px;
    padding: 3px 0px;
    /* border: solid !important;*/
    border-radius: 35px;
    text-align: center;
    font-size: 12px;
}
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 50px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

#myModal {
    padding: 50px;
}
