/* Style the form */
#regForm {
    background-color: rgba(var(--color-white));
    padding: var(--spacer) var(--spacer) calc(var(--spacer) * 2);
    min-width: 200px;
    font-family: Montserrat;
    color: rgba(var(--color-black));
    font-size: .874em;

    @media(max-width: 768px){
        padding-inline: var(--container-padding);
        margin-inline: calc(var(--container-padding) * -1);
        margin-block: var(--spacer) 0;
        width: calc(100% + var(--container-padding) * 2);
    }
}

#regForm h2 {
    font-family: Montserrat;
    font-weight: 400;
    font-style: normal;
    font-size: 36px;
    color: rgb(0, 0, 0);
    padding-bottom: .25em;

    @media(max-width: 768px){
        font-size: 1.5em;
        margin-bottom: 0;
    }
}

#regForm p{
    margin-bottom: 0;
}

p.steps {
    font-weight: 600;
    color: #0f7d13;
    padding-bottom: 10px;
}

p.info {
    font-size: 14px;
    padding-bottom: 10px;
}

/* Style the input fields */
input {
    padding: 10px;
    width: 65%;
    font-size: 17px;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    border: 1px solid #aaaaaa;
    margin-bottom: 1.5em;
}

/* Mark input boxes that gets an error on validation: */
input.invalid {
    background-color: #ffdddd;
}

/* Hide all steps by default: */
.tab {
    display: none;
}

#onlineBtn {
    padding-left: 1em;
    padding-right: 1em;
    padding-top: .5em;
    padding-bottom: .5em;
    margin-top: 1em;
    font-weight: 600;
    background-color: #ffffff;
    color: #0f7d13;
    border: 3px solid #4ea751;
    font-size: 15px;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
}

#onlineBtn:disabled{
    cursor: not-allowed;
    color: #7b7b7b;
    border: 3px solid #aaaaaa;
}

#dlBtn {
    margin-top: 1em;
    font-weight: 400;
    color: #0f7d13;
    font-size: 16px;
    border: 0;
    cursor: pointer;
}

/* Make circles that indicate the steps of the form: */
.step {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbbbbb;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
}

#regForm .left {
    float: left;
    width: calc(50% - 4px);
}

#regForm .right {
    float: right;
    width: calc(50% - 4px);
}

/* Radio styling */
.custom-select [type="radio"]:checked,
.custom-select [type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

.custom-select [type="radio"]:checked+label,
.custom-select [type="radio"]:not(:checked)+label {
    position: relative;
    padding-inline: 1em;
    padding-top: .75em;
    padding-bottom: .75em;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #ffffff;
    background-color: #0f7d13;
    margin-bottom: .5em;
    min-width: 85px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.custom-select [type="radio"]:checked+label:before,
.custom-select [type="radio"]:not(:checked)+label:before {
    /*content: '';
position: absolute;
left: 0;
top: 0;
width: 18px;
height: 18px;
border-radius: 100%;
background: #fff;*/
}

.custom-select [type="radio"]:checked+label:after,
.custom-select [type="radio"]:not(:checked)+label:after {
    content: '✔';
    width: 12px;
    height: 12px;
    color: #ffffff;
    position: absolute;
    top: 4px;
    left: 4px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.custom-select [type="radio"]:not(:checked)+label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
    color: #ffffff;
}

.custom-select [type="radio"]:checked+label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    padding: .5rem;
    color: #ffffff;
}

.have-code{
    clear: both;
    padding: 1em 0 0;
}

.have-code input{
    width: auto;
    margin-bottom: 1em;
    margin-right: .25em;
    position: relative;
    top: 1px;
}

.have-code label{
    display: block;
}

.code-block{
    display: none;
}