﻿.form-floating {
    position: relative;
    width: 100%;
}

.floating-label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
    color: #999;
    background: transparent;
    pointer-events: none;
}

.form-control {
    font-size: 22px;
    background: #f7f7f7;
    border: 1px solid #ccc;
    padding-right: 30px;
    padding-bottom: 0px !important;
}

    .form-control:focus + .floating-label,
    .form-control:not(:placeholder-shown) + .floating-label {
        top: 20px;
        font-size: 22px;
        color: #1D3557;
    }

    .form-control:focus {
        border-color: #000099;
    }

.clear-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: none;
}

    .clear-icon:hover {
        color: #000099;
    }

.form-floating > .form-control{
    height: 80px;
}

.form-floating .floating-label {
    font-size: 22px;
}