﻿/*newcontrol*/
.input {
    position: relative;
    margin-top: 12px;
    margin-bottom: 12px;
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
}

    .input input {
        width: 100%;
        height: 40px;
        font-size: 16px;
        color: #000;
        background-color: rgba(255,255,255,0.78);
        padding: 0 0.75em;
        border: 1px solid #f0f0f0;
        border-radius: 15px;
        transition: none;
    }

        .input input:focus {
            border-color: #000;
        }

        .input input:-webkit-autofill, .input input:-webkit-autofill:hover, .input input:-webkit-autofill:focus {
            -webkit-text-fill-color: #f0f0f0;
            -webkit-box-shadow: 0 0 0 30px #1d1e22 inset !important;
            box-shadow: 0 0 0 30px #1d1e22 inset !important;
            background-clip: content-box !important;
            caret-color: #f0f0f0;
        }

    .input .pLabel {
        /*position: absolute;*/
        top: 50%;
        left: 1.75em;
        translate: 0 -50%;
        line-height: 1;
        color: rgba(0, 0, 0, 1);
        font-weight: bold;
        background-color: transparent;
        transition: 200ms;
        pointer-events: none;
    }
    .input select {
        border-radius: 15px;
        padding-top: 8px;
        padding-right: 5px;
        padding-bottom: 2px;
        padding-left: 5px;
        line-height: 1;
    }
    .input input:-webkit-autofill ~ .pLabel, .input input:not(:placeholder-shown) ~ .pLabel, .input input:focus ~ .pLabel {
        top: -10px;
        left: calc($inputPaddingLeftRight - ($labelPaddingLeftRight / 2));
        font-size: 12px;
        padding: 0 0.5em;
        color:whitesmoke;
    }

input {
    outline: none;
}

/*body {
    display: grid;
    place-items: center;
    height: 100vh;
    margin: 0;
    font-family: system-ui;
    background: linear-gradient(to bottom, #f0f0f0 0%, #f0f0f0 50%, #1d1e22 50%, #1d1e22 100%);
}*/
