.jl-form__main-step:not(.active) {
    display: none !important;
}

.jl-form__step-bar,
.jl-form__step-bar__group,
.jl-form__main-step__action {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.jl-form__main,
.jl-form__step-bar,
.jl-form__main-step__action {
    padding: 15px 10px;
}

.jl-form__step-bar,
.jl-form__main-step__action {
    gap: 10px;
    background-color: #ced4da;
}

.jl-form__step-bar {
    border-radius: 4px 4px 0 0;
    border-width: 1px 1px 0 1px;
    border-color: #ced4da;
    border-style: solid;
}

.jl-form__main:not(.jl-form__main-has-steps) {
    border-radius: 4px;
    border: 1px solid #ced4da;
}

.jl-form__main-has-steps {
    border-radius: 0 0 4px 4px;
    border-width: 0 1px 1px 1px;
    border-color: #ced4da;
    border-style: solid;
}

.jl-form__step-bar__group--text {
    text-transform: capitalize;
    cursor: pointer;
}

.jl-form__step-bar__group {
    gap: 5px;
    font-size: 1rem;
}

.jl-form__step-bar__group--num {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.jl-form__step-bar__group.active .jl-form__step-bar__group--num {
    background-color: #0d6efd;
    color: #fff;
    font-weight: bold;
    transition: .25s all ease;
}

.jl-form__main-step__action {
    margin: 10px -10px -15px -10px;
}

.jl-form__main-step__action > button {
    border-radius: 4px;
    padding: 4px 35px;
    text-transform: uppercase;
    border: none;
    transition: .25s all ease;
}

.jl-form__main-step__action--back {
    background-color: #fff;
    color: #111;
}

.jl-form__main-step__action--back:hover {
    background-color: #935300;
    color: #fff;
}

.jl-form__main-step__action--next,
.jl-form__main-step__action--finish {
    background-color: #0d6efd !important;
    color: #fff !important;
}

.jl-form__main-step__action--next:hover,
.jl-form__main-step__action--finish:hover {
    background-color: #448344 !important;
}

/** Switcher field */
.jl-form__field-switcher {
    display: flex;
    gap: 5px;
}

.jl-form__field-switcher input[type='checkbox'] {
    display: none;
}

.jl-form__field-switcher label {
    cursor: pointer;
    width: 45px;
    height: 20px;
    background-color: rgb(0, 0, 0, 0.2);
    display: block;
    position: relative;
    transition: 0.3s;
    padding: 4px;
    box-sizing: content-box;
    border-radius: 4px;
}

.jl-form__field-switcher label > .jl-form__field-switcher__slider.round {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.jl-form__field-switcher input:checked + label {
    background-color: #1e87f0;
}

.jl-form__field-switcher input:checked + label > .jl-form__field-switcher__slider.round {
    transform: translateX(calc(100% + 4px));
    color: black;
}

.jl-form__field-switcher__slider.round {
    width: auto;
    height: auto;
    text-align: center;
    color: gray;
    margin: 0;
    padding: 0;
}

.jl-form__uikit input[type=file].jl-form__field--Upload {
    height: initial !important;
    padding: 0 !important;
}

.jl-form__uikit input[type=file].jl-form__field--Upload::file-selector-button {
    border: none;
    display: inline-block;
    padding: 8px 12px;
    font-weight: normal;
}

.jl-form__uikit input[type=file].uk-form-small.jl-form__field--Upload::file-selector-button {
    padding: 5px 8px;
}

.jl-form__field-container__messages {
    font-style: italic;
    font-size: .95rem;
}

.jl-form__payments-list {
    list-style-type: none;
    margin: 0 !important;
    padding: 0 !important;
}

.jl-form__payments-list > li {
    margin: 15px 0;
}

.jl-form__lbl-hint {
    display: inline-block;
    margin-left: 5px;
    font-style: italic;
    text-decoration: underline;
}


[class*="jl-form__field--Check-"],
[class*="jl-form__field--Radio-"] {
    display: flex;
    flex-wrap: wrap;
    gap: 0 30px;
}

[class*="jl-form__field--Check-"] > *,
[class*="jl-form__field--Radio-"] > * {
    width: 100%;
}

.jl-form__lbl-tnc {
    display: block;
    margin-top: 15px;
}

@media (min-width: 768px) {
    .jl-form__field-container-horizontal {
        display: flex;
        column-gap: 25px;
        flex-wrap: wrap;
    }

    .jl-form__field-container .jl-form__field-container__lbl-horizontal {
        width: 160px;
    }

    .jl-form__field-container .jl-form__field-container__ctrl-horizontal {
        flex: 1;
    }

    .jl-form__field--Check-2 > *,
    .jl-form__field--Radio-2 > * {
        width: calc(50% - 30px);
    }

    .jl-form__field--Check-3 > *,
    .jl-form__field--Radio-3 > * {
        width: calc(33.33333333% - 30px);
    }
}

[data-jlform-payment-visible] {
    max-width: 320px;
}