@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap");

* {
    margin: 0;
    padding: 0;
    outline: none;
    font-family: "Poppins", sans-serif;
}

:root {
    --primary: #333;
    --secondary: #333;
    --errorColor: red;
    --stepNumber: 6;
    --containerWidth: 600px;
    --bgColor: #333;
    --inputBorderColor: lightgray;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
    /*background: #cdcdcd;*/
}

::selection {
    color: #fff;
    background: var(--primary);
}

.container {
    width: var(--containerWidth);
    background: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 50px 35px 10px 35px;
    box-shadow: 4px 6px 54px 0px rgb(161 161 161 / 74%);
}

    .container header {
        font-size: 35px;
        font-weight: 600;
        margin: 0 0 30px 0;
    }

    .container .form-outer {
        width: 100%;
        overflow: hidden;
    }

        .container .form-outer form {
            display: flex;
            width: calc(100% * var(--stepNumber));
        }

.form-outer form .page {
    width: calc(100% / var(--stepNumber));
    transition: margin-left 0.3s ease-in-out;
}

    .form-outer form .page .title {
        text-align: left;
        font-size: 20px;
        font-weight: 500;
    }

    .form-outer form .page .field {
        width: var(--containerWidth);
        height: 45px;
        margin: 45px 0;
        display: flex;
        position: relative;
    }

form .page .field .label {
    position: absolute;
    top: -30px;
    font-weight: 500;
    font-size: 14px;
    color: #727272;
}

form .page .field input {
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    border: 1px solid var(--inputBorderColor);
    border-radius: 5px;
    padding-left: 15px;
    margin: 0 1px;
    font-size: 18px;
    transition: border-color 150ms ease;
}

    form .page .field input.invalid-input {
        border-color: var(--errorColor);
    }

form .page .field select {
    width: 100%;
    padding-left: 10px;
    font-size: 17px;
    font-weight: 500;
    border: 1px solid var(--inputBorderColor);
    border-radius: 5px;
    color: #585858;
}

form .page .field button {
    width: 100%;
    height: calc(100% + 5px);
    border: none;
    background: #001428;
    color: white;
    margin-top: -20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.5s ease;
}

    form .page .field button:hover {
        background: #000;
    }

form .page .btns button {
    margin-top: -20px !important;
}

    form .page .btns button.prev {
        margin-right: 3px;
        font-size: 17px;
    }

    form .page .btns button.next {
        margin-left: 3px;
    }

.container .progress-bar {
    display: flex;
    margin: 40px 0;
    user-select: none;
}

    .container .progress-bar .step {
        text-align: center;
        width: 100%;
        position: relative;
    }

        .container .progress-bar .step p {
            font-weight: 500;
            font-size: 18px;
            color: #000;
            margin-bottom: 8px;
        }

.progress-bar .step .bullet {
    height: 25px;
    width: 25px;
    border: 2px solid #000;
    display: inline-block;
    border-radius: 50%;
    position: relative;
    transition: 0.2s;
    font-weight: 500;
    font-size: 17px;
    line-height: 25px;
}

    .progress-bar .step .bullet.active {
        border-color: var(--primary);
        background: var(--primary);
    }

    .progress-bar .step .bullet span {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .progress-bar .step .bullet.active span {
        display: none;
    }

    .progress-bar .step .bullet:before,
    .progress-bar .step .bullet:after {
        position: absolute;
        content: "";
        bottom: 11px;
        right: -51px;
        height: 3px;
        width: 44px;
        background: #262626;
    }

    .progress-bar .step .bullet.active:after {
        background: var(--primary);
        transform: scaleX(0);
        transform-origin: left;
        animation: animate 0.3s linear forwards;
    }

@keyframes animate {
    100% {
        transform: scaleX(1);
    }
}

.progress-bar .step:last-child .bullet:before,
.progress-bar .step:last-child .bullet:after {
    display: none;
}

.progress-bar .step p.active {
    color: var(--primary);
    transition: 0.2s linear;
}

.progress-bar .step .check {
    position: absolute;
    left: 50%;
    top: 70%;
    font-size: 15px;
    transform: translate(-50%, -50%);
    display: none;
}

    .progress-bar .step .check.active {
        display: block;
        color: #fff;
    }

@media screen and (max-width: 660px) {
    :root {
        --containerWidth: 400px;
    }

    .progress-bar .step p {
        display: none;
    }

    .progress-bar .step .bullet::after,
    .progress-bar .step .bullet::before {
        display: none;
    }

    .progress-bar .step .bullet {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .progress-bar .step .check {
        position: absolute;
        left: 50%;
        top: 50%;
        font-size: 15px;
        transform: translate(-50%, -50%);
        display: none;
    }

    .step {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media screen and (max-width: 490px) {
    :root {
        --containerWidth: 100%;
    }

    .container {
        box-sizing: border-box;
        border-radius: 0;
    }
}







/*----------------------------------my css-----------------------------------*/
.progress-bar {
    display: initial;
    display: initial;
    -ms-flex-direction: initial;
    flex-direction: initial;
    -ms-flex-pack: initial;
    justify-content: initial;
    color: initial;
    text-align: initial;
    white-space: initial;
    background-color: initial;
    transition: width .6s ease;
}

.form-outer form .page .field {
    width: 100%;
}

.hint {
    text-align: left;
    font-size: 14px;
}

.strong {
    font-weight: 700;
}

form .page .field.check input {
    width: initial;
    height: 25px;
}

form .page .field.check {
    margin-bottom: 0px;
    margin-top: 0px;
}

.form-outer form .page .field.check {
    height: initial;
}

form .page .field .form-control {
    height: 100%;
}

    form .page .field .form-control:focus {
        box-shadow: none;
    }

input#exampleFormControlFile1 {
    padding-top: 6px;
}

.check-list input[type="checkbox"] {
    display: none;
}

    .check-list input[type="checkbox"]:hover + label:before {
        opacity: 0.5;
    }

.check-list .checkbox {
    display: inline-block;
    position: relative;
    padding-left: 29px;
    line-height: 23px;
    font-size: 14px;
    cursor: pointer;
    color: #111;
    font-weight: 400;
}

    .check-list .checkbox:before {
        z-index: 15;
        content: "";
        position: absolute;
        left: 0;
        top: 1px;
        transition: all 0.3s ease;
        cursor: pointer;
        width: 16px;
        border-width: 2px;
        border-style: solid;
        border-color: #909090;
        height: 16px;
    }

.check-list input[type="checkbox"]:checked + label {
    color: #000;
}

    .check-list input[type="checkbox"]:checked + label:before {
        border-color: transparent;
        border-left-color: #000000;
        border-bottom-color: #000000;
        transform: rotate(-50deg);
        width: 17px;
        height: 9px;
        top: 3px;
    }

.form-outer form .page {
    padding: 2px;
    height: 320px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.check-list .title {
    padding-bottom: 25px;
}

.ui-datepicker-calendar tbody td a.ui-state-active {
    background-color: #1c1c1c;
    color: white;
}
