* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

#msform {
    text-align: center;
    position: relative;
    margin-top: 20px;
}

#msform fieldset .form-card {
    background: white;
    border: 0 none;
    border-radius: 0px;
    padding: 20px 40px 30px 40px;
    box-sizing: border-box;
    width: 100%;
    margin: 0 3% 20px 3%;
    position: relative;
}

#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding-bottom: 20px;
    position: relative;
}

#msform fieldset:not(:first-of-type) {
    display: none;
}

#msform fieldset .form-card {
    text-align: left;
    color: #9e9e9e;
}

#msform input,
#msform textarea {
    padding: 0px 8px 4px 8px;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0px;
    margin-bottom: 25px;
    margin-top: 2px;
    width: 100%;
    box-sizing: border-box;
    font-family: montserrat;
    color: #2c3e50;
    font-size: 16px;
    letter-spacing: 1px;
}

#msform input:focus,
#msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: none;
    font-weight: bold;
    border-bottom: 2px solid #e74f26;
    outline-width: 0;
}

#msform .action-button {
    width: 100px;
    background: #e74f26;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
    margin-right: 30px !important;
}

#msform .action-button:hover,
#msform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #e74f26;
}

#msform .action-button-previous {
    width: 100px;
    background: #616161;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #616161;
}

select.list-dt {
    border: none;
    outline: 0;
    border-bottom: 1px solid #ccc;
    padding: 2px 5px 3px 5px;
    margin: 2px;
}

select.list-dt:focus {
    border-bottom: 2px solid #e74f26;
}

.card {
    z-index: 0;
    border: none;
    border-radius: 0.5rem;
    position: relative;
}

.fs-title {
    font-size: 40px;
    font-weight: 600;
    color: #464749;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: left;
    line-height: 55px;
}

.fs-subtitle {
    font-size: 21px;
    font-weight: 700;
    color: #464749;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: left;
    line-height: 28px;
    text-transform: uppercase;
}

#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    color: lightgrey;
}

#progressbar .active {
    color: #000000;
}

#progressbar li {
    list-style-type: none;
    font-size: 12px;
    width: 20%;
    float: left;
    position: relative;
}

#progressbar #applicant:before {
    content: "1: Applicant Details";
    width: 142px;
    height: 100%;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 400;
}

#progressbar #sponsor:before {
    content: "2: Sponser / Burser Information";
    width: 204px;
    height: 100%;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 400;
}

#progressbar #nextKin:before {
    content: "3: Next of Kin";
    width: 112px;
    height: 100%;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 400;
}

#progressbar #upload:before {
    content: "4: Upload Documents";
    width: 162px;
    height: 100%;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 400;
}

#progressbar #booking:before {
    content: "5: Pay Booking Fee";
    width: 162px;
    height: 100%;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 400;
}

#progressbar li:before {
    width: 50px;
    height: 50px;
    line-height: 45px;
    display: block;
    font-size: 18px;
    color: #000;
    background: #fff;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 2px;
    border: 1px solid #c3c3c3;
}

#progressbar li:after {
    /* content: ""; */
    width: 100%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: -1;
}

#progressbar li.active:before,
#progressbar li.active:after {
    background: #e74f26;
    color: #fff;
    border: none;
}

#progressbar li.done:before,
#progressbar li.done:after {
    background: #fff;
    color: #6abc0b;
    border: 1px solid #6abc0b;
}

.radio-group {
    position: relative;
    margin-bottom: 25px;
}

.radio {
    display: inline-block;
    width: 204;
    height: 104;
    border-radius: 0;
    background: lightblue;
    box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    cursor: pointer;
    margin: 8px 2px;
}

.radio:hover {
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3);
}

.radio.selected {
    box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1);
}

.fit-image {
    width: 100%;
    object-fit: cover;
}

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

.carousel {
    /* min-width: 900px; */
    max-width: 100%;
    position: relative;
}

.carousel__activator {
    display: none;
}

.carousel__controls {
    display: none;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    /* right: 16px; */
    left: -21px;
    bottom: 0;
    width: 103%;
}
.carousel__controls:first-of-type {
    justify-content: flex-end;
}
.carousel__controls:last-of-type {
    justify-content: flex-start;
}

.carousel__control {
    cursor: pointer;
    display: flex;
    align-items: center;
    background-color: #fff;
    color: #3d414a;
    border-radius: 100%;
    box-shadow: 0 2px 10px 0 rgba(33, 34, 36, 0.3);
    font-size: 24px;
    height: 48px;
    justify-content: center;
    transition: 0.3s all;
    width: 48px;
    z-index: 1;
}
.carousel__control:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.carousel__activator:nth-of-type(1):checked
    ~ .carousel__controls:nth-of-type(1) {
    display: flex;
}

.carousel__activator:nth-of-type(1):checked
    ~ .carousel__screen
    .carousel__track {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
}

.carousel__activator:nth-of-type(2):checked
    ~ .carousel__controls:nth-of-type(2) {
    display: flex;
}

.carousel__activator:nth-of-type(2):checked
    ~ .carousel__screen
    .carousel__track {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}

.carousel__activator:nth-of-type(3):checked
    ~ .carousel__controls:nth-of-type(3) {
    display: flex;
}

.carousel__activator:nth-of-type(3):checked
    ~ .carousel__screen
    .carousel__track {
    -webkit-transform: translateX(-200%);
    transform: translateX(-200%);
}

.carousel__activator:nth-of-type(4):checked
    ~ .carousel__controls:nth-of-type(4) {
    display: flex;
}

.carousel__activator:nth-of-type(4):checked
    ~ .carousel__screen
    .carousel__track {
    -webkit-transform: translateX(-300%);
    transform: translateX(-300%);
}

.carousel__activator:nth-of-type(5):checked
    ~ .carousel__controls:nth-of-type(5) {
    display: flex;
}

.carousel__activator:nth-of-type(5):checked
    ~ .carousel__screen
    .carousel__track {
    -webkit-transform: translateX(-400%);
    transform: translateX(-400%);
}

.carousel__activator:nth-of-type(6):checked
    ~ .carousel__controls:nth-of-type(6) {
    display: flex;
}

.carousel__activator:nth-of-type(6):checked
    ~ .carousel__screen
    .carousel__track {
    -webkit-transform: translateX(-500%);
    transform: translateX(-500%);
}

.carousel__activator:nth-of-type(7):checked
    ~ .carousel__controls:nth-of-type(7) {
    display: flex;
}

.carousel__activator:nth-of-type(7):checked
    ~ .carousel__screen
    .carousel__track {
    -webkit-transform: translateX(-600%);
    transform: translateX(-600%);
}

.carousel__activator:nth-of-type(8):checked
    ~ .carousel__controls:nth-of-type(8) {
    display: flex;
}

.carousel__activator:nth-of-type(8):checked
    ~ .carousel__screen
    .carousel__track {
    -webkit-transform: translateX(-700%);
    transform: translateX(-700%);
}

.carousel__activator:nth-of-type(9):checked
    ~ .carousel__controls:nth-of-type(9) {
    display: flex;
}

.carousel__activator:nth-of-type(9):checked
    ~ .carousel__screen
    .carousel__track {
    -webkit-transform: translateX(-800%);
    transform: translateX(-800%);
}

.carousel__activator:nth-of-type(10):checked
    ~ .carousel__controls:nth-of-type(10) {
    display: flex;
}

.carousel__activator:nth-of-type(10):checked
    ~ .carousel__screen
    .carousel__track {
    -webkit-transform: translateX(-900%);
    transform: translateX(-900%);
}

.carousel__screen {
    overflow: hidden;
    margin-left: -16px;
    margin-right: -16px;
}

.carousel__track {
    font-size: 0;
    transition: all 0.3s ease 0s;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.carousel__item {
    display: inline-flex;
    padding-left: 16px;
    padding-right: 16px;
    vertical-align: top;
    white-space: normal;
}

.carousel__item--desktop-in-1 {
    width: 100%;
}

.carousel__item--desktop-in-2 {
    width: 50%;
}

.carousel__item--desktop-in-3 {
    width: 33.3333333333%;
}

.carousel__item--desktop-in-4 {
    width: 25%;
}

.carousel__item--desktop-in-5 {
    width: 20%;
}

@media screen and (max-width: 1023px) {
    .carousel {
        padding-left: 0;
        padding-right: 0;
    }

    .carousel__activator:nth-of-type(n):checked
        ~ .carousel__controls:nth-of-type(n) {
        display: none;
    }
    .carousel__activator:nth-of-type(n):checked
        ~ .carousel__screen
        .carousel__track {
        -webkit-transform: none;
        transform: none;
    }

    .carousel__screen {
        margin-left: 0;
        margin-right: 0;
    }

    .carousel__track {
        overflow-x: auto;
        width: auto;
        padding-left: 48px;
        padding-right: 48px;
    }

    .carousel__item--tablet-in-1 {
        width: 90%;
    }

    .carousel__item--tablet-in-2 {
        width: 45%;
    }

    .carousel__item--tablet-in-3 {
        width: 30%;
    }
}
@media screen and (max-width: 650px) {
    .carousel__track {
        padding-left: 0;
        padding-right: 0;
    }

    .carousel__item--mobile-in-1 {
        width: 90%;
    }

    .carousel__item--mobile-in-2 {
        width: 45%;
    }

    .carousel__item--mobile-in-3 {
        width: 30%;
    }
}
