﻿h5 {
    font-size: medium;
    font-weight: 600;
}


.labeled-input {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: center;
    width: 100%;
    gap: 0;
    margin: 0 auto 1.0em;
}
/* Add the asterisk to the label */
label.required::after {
    content: " *";
    color: red; /* Change the color of the asterisk */
    font-weight: bold; /* Make the asterisk bold */
}

    .labeled-input input {
        /*appearance: none;*/
        user-select: none;
        transition: all 120ms;
        display: block;
        width: 100%;
        font-family: inherit;
        font-size: smaller;
        font-weight: normal;
        line-height: 1.5;
        color: inherit;
        border: 1px solid #cad5e2;
        background-color: #f8fafc;
        border-radius: 0.5em;
        padding: 0.75em 0.75em;
        vertical-align: middle;
        box-shadow: 0 4px 8px -4px rgba(0, 0, 0, .1);
        margin: 0 auto 0.25em;
        outline: solid 3px transparent;
        outline-offset: -3px;
    }

        .labeled-input input:hover:empty, .labeled-input input:hover:placeholder-shown, .labeled-input input:hover:valid {
            background-color: #f1f5f9;
        }

        .labeled-input input:focus {
            outline-color: #8ec5ff;
            outline-color: #bedbff;
            outline-offset: 0;
            border-color: #2b7fff !important;
            background-color: #f1f5f9;
        }

            .labeled-input input:focus:empty, .labeled-input input:focus:placeholder-shown, .labeled-input input:focus:valid {
                background-color: #f1f5f9;
            }
.Check:focus:empty, .Check:focus:placeholder-shown, .Check:focus:valid {
    background-color: #CE1212 !important;
    color: white !important;
    border-radius: 0.5em !important;
}
        .labeled-input input:active {
            background-color: #e2e8f0;
        }

        .labeled-input input::placeholder {
            color: #cad5e2;
        }

        .labeled-input input:placeholder-shown, .labeled-input input:valid {
            color: inherit;
            border: 1px solid #cad5e2;
            background-color: #f8fafc;
        }

            .labeled-input input:placeholder-shown::placeholder, .labeled-input input:valid::placeholder {
                color: #cad5e2;
            }

        .labeled-input input:invalid:not(:placeholder-shown) {
            background-color: #fef2f2;
            border-color: #ffa2a2;
            color: #fb2c36;
        }

            .labeled-input input:invalid:not(:placeholder-shown)::placeholder {
                color: #ffc9c9;
            }

    .labeled-input label {
        font-weight: 600;
        font-family: inherit;
        color: inherit;
        font-size:0.8em;
        line-height: 1.5;
        margin: 0 auto 0.25em;
        display: block;
        width: 100%;
        text-align: start;
    }

    .labeled-input .hint-and-status {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        align-content: center;
    }

        .labeled-input .hint-and-status .input-hint {
            font-family: inherit;
            font-size: small;
            color: #90a1b9;
            line-height: 1.5;
            margin: 0 auto;
            text-align: left;
            width: 100%;
            transition: all 120ms;
        }

        .labeled-input .hint-and-status .input-status {
            font-family: inherit;
            font-size: small;
            color: inherit;
            font-weight: 500;
            line-height: 1.5;
            width: 100%;
            text-align: right;
            transition: all 120ms;
        }

input:placeholder-shown + .hint-and-status .input-status {
    display: inline;
    content: '';
    opacity: 0;
}

input:invalid:not(:placeholder-shown) + .hint-and-status .input-status {
    color: #fb2c36;
    opacity: 1;
    color: #fff !important;
    opacity: 1;
    display: inline !important;
    content: '' !important;
    position: relative;
}

    input:invalid:not(:placeholder-shown) + .hint-and-status .input-status::before {
        color: #fb2c36 !important;
        content: 'Invalid';
        display: inline;
        position: absolute;
        right: 0;
    }

input:valid + .hint-and-status .input-status {
    color: #fff !important;
    opacity: 1;
    display: inline !important;
    content: '' !important;
    position: relative;
}

    input:valid + .hint-and-status .input-status::before {
        color: #00c950 !important;
        content: 'Valid';
        display: inline;
        position: absolute;
        right: 1.75em;
    }

    input:valid + .hint-and-status .input-status::after {
        content: '';
        display: inline;
        background-position: center center;
        background-origin: 0 0;
        background-size: contain;
        background-repeat: no-repeat;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='%2300C950'%3E%3Cpath d='M30.854,8.146l-3-3c-.195-.195-.512-.195-.707,0l-15.646,15.646-6.646-6.646c-.195-.195-.512-.195-.707,0l-3,3c-.195,.195-.195,.512,0,.707l10,10c.098,.098,.226,.146,.354,.146s.256-.049,.354-.146L30.854,8.854c.195-.195,.195-.512,0-.707Z' fill='%2300C950'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='%2300C950'%3E%3Cpath d='M12,0C5.373,0,0,5.373,0,12s5.373,12,12,12,12-5.373,12-12C23.981,5.381,18.619,.019,12,0Zm7.207,7.707l-9,9c-.195,.195-.451,.293-.707,.293s-.512-.098-.707-.293l-4-4c-.391-.391-.391-1.023,0-1.414s1.023-.391,1.414,0l3.293,3.293L17.793,6.293c.391-.391,1.023-.391,1.414,0s.391,1.023,0,1.414Z' fill='%2300C950'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
        position: absolute;
        right: 0;
        top: 0.11em;
        width: 1.25em;
        height: 1.25em;
        color: #00c950;
    }
/* Ensure the RadioButtonList container and its elements are styled correctly */
.HasPropertyJO table {
    width: 100%;
    table-layout: fixed; /* Make table layout fixed so flexbox can apply */
    border-collapse: separate;
    border-spacing: 15px; /* Add spacing between the td elements */
}

/* Style the <td> elements */
.HasPropertyJO td {
    display: flex; /* Use flex layout for each table cell */
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Vertically center the radio button and label */
    padding: 5px;
}

/* Optional: Style the radio buttons */
.HasPropertyJO input[type="radio"] {
    margin-right: 5px; /* Add space between radio button and label */
}

/* Style for the labels */
.HasPropertyJO label {
    font-size: 14px;
    color: #333;
    font-weight: bold;
    padding-left: 5px;
}

    /* Optional hover effect for labels */
    .HasPropertyJO label:hover {
        color: #007BFF;
        cursor: pointer;
    }


.Valdatior {
    color: red;
    font-size: 0.7rem;
    font-weight: bold;
    display: inline;
}

.ForgetLink {
    text-align: end;
    text-decoration: auto;
    font-size: smaller;
    float: left;
    color: #a85f4e;
}



   