.input{
    position: relative;
}

.input label{
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 18px;
    left: 15px;
    pointer-events: none;
}

.input input{
    background: #FFFFFF;
    -webkit-box-shadow: 0px 6px 30px rgba(147, 147, 147, 0.15);
    box-shadow: 0px 6px 30px rgba(147, 147, 147, 0.15);
    border-radius: 10px;
    font-size: 18px;
    color: #181E4B;
    padding: 5px 15px;
    border: 0;
    outline: none;
    width: 100%;
    -webkit-transition: -webkit-box-shadow 0.3s ease;
    transition: -webkit-box-shadow 0.3s ease;
    -o-transition: box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease;
    min-height: 60px;
}

.input.red input{
    color: #DF6951;
}

.input input::-webkit-input-placeholder {
    opacity: 0;
}

.input input::-moz-placeholder {
    opacity: 0;
}

.input input:-ms-input-placeholder {
    opacity: 0;
}

.input input::-ms-input-placeholder {
    opacity: 0;
}

.input input::placeholder {
    opacity: 0;
}

.input input:hover,
.input input:focus{
    -webkit-box-shadow: 1px 0px 13px 3px rgba(147, 147, 147, 0.15);
    box-shadow: 1px 0px 13px 3px rgba(147, 147, 147, 0.15);
}

input:-webkit-autofill {
    -webkit-box-shadow: 0px 6px 30px rgba(147, 147, 147, 0.15);
    box-shadow: 0px 6px 30px rgba(147, 147, 147, 0.15);
    color: #181E4B !important;
}

.input input:focus ~ label{
    display: none;
}

.input input:not(:-moz-placeholder-shown) ~ label{
    display: none;
}

.input input:not(:-ms-input-placeholder) ~ label{
    display: none;
}

.input input:not(:placeholder-shown) ~ label{
    display: none;
}


.input + .error{
    color: #DF6951;
    font-size: 12px;
}

.input + .error:not(:empty){
    margin-top: 5px;
}