﻿@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;
}
body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
/*    margin: 0;
    padding: 0;*/
    background: url('../image/image4.jpg') no-repeat top center;
 /*   -webkit-background-origin: border-box;*/
    background-size: cover;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    /* background: -webkit-linear-gradient(bottom,#0250c5,#d43f8d);*/
}
.container {
    width: 330px;
    background: #fff;
    border-radius: 5px;
    text-align:center;
    padding:50px 35px 10px 35px;
    box-shadow:0px 0px 20px #00000020;
    margin:0 auto;
}
.container header{
    font-size: 20px;
    font-weight: 300;
    margin: 0 0 30px 0; 
}
.container .form-outer{
       width: 100%;
       overflow:hidden;
    }
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(56, 165, 238, 0.5);
}

.form-outer form{
    display:flex;
    width:400%;
}
 .form-outer form .page{
        width: 25%;
        transition:margin-left 0.3s ease-in-out;
    }
 .form-outer form .page .tittle{
        text-align: left;
        font-size:25px;
        font-weight:500;
    }
.form-outer form .page .field{
            height: 45px;
            width: 330px;
            margin:45px 0;
            display:flex;
            position:relative;
        }
 .form-outer form .page .field .label {
        position: absolute;
        top: -30px;
        font-weight: 500;
        font-size: 15px;
    }

.form-outer form .page .field .form-check-label {
        position: relative;
        top: -20px;
        font-weight: 100;
        font-size: 15px;
    }
.form-outer form .page .field input {
    height: 100%;
    width: 100%;
    border: 1px solid lightgrey;
    border-radius: 5px;
    font-size: 18px;
    padding-left: 15px;
}
 .form-outer form .page .field .form-check-input {
        position: relative;
        height: 30%;
        width: 30%;
    }


.form-outer form .page .field input .form-control {
        position: absolute;
        height: 30%;
        width: 30%;
        text-align: center;
        display: block;
        margin-top: 5px;
        border: 1px solid rgba(128,128,128,0.418);
        border-radius: 5px;
        font-size:15px;
    }
form .page .field select {
    width: 100%;
    padding-left: 10px;
    font-size: 17px;
    font-weight: 500;
}
.form-outer form .page .field button{
        height: calc(100% + 5px);
        width: 100%;
        margin-top: -20px;
        border: none;
        background: #d43f8d;
        border-radius: 5px;
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        cursor: pointer;
        transition: 0.3s ease;
    }
.form-outer form .page .field button:hover{
        background: #000;
      
    }

.form-outer 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;
}
.container .progress-bar .step{
position:relative;
text-align: center;
width: 100%;
}
.progress-bar .step p{
        font-size: 18px;
        font-weight: 500;
        color:#000;
        margin-bottom:8px;
        transition:0.2s;
    }
.progress-bar .step p.active {
    color:#d43f8d;
 
}
.progress-bar .step .bullet {
    position: relative;
    height: 25px;
    width: 25px;
    border: 2px solid #000;
    display: inline-block;
    border-radius: 50%;
    transition: 0.2s;
    /* font-size:17px;
    font-weight:500;
    line-height:25px;*/
}
    .progress-bar .step .bullet.active {
        border-color: #d43f8d;
        background: #d43f8d;
    }
 .progress-bar .step:last-child .bullet:before,
 .progress-bar .step:last-child .bullet:after{
        display:none;
    }
.progress-bar .step .bullet:before,
.progress-bar .step .bullet:after {
    position: absolute;
    bottom: 11px;
    content: '';
    right: -51px;
    height: 3px;
    width: 44px;
    background: #262626;
}
.progress-bar .step .bullet.active:after {
    background: #d43f8d;
    transform: scaleX(0);
    transform-origin: left;
    animation: animate 0.3s linear forwards;
}
@keyframes animate{
    100%{
        transform:scaleX(1);
    }
}
.progress-bar .step .bullet span {
    font-weight: 500;
    font-size: 17px;
    line-height: 25px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.progress-bar .step .bullet.active span {
    display: none;
}
.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;
    }
