﻿
body {
    background-size: cover !important;
    min-height: 100% !important;
    background: repeating-linear-gradient( 10deg, rgba(20, 88, 155, 1), rgba(124, 151, 217, 1), rgba(20, 88, 155, 1) 100% ) !important;
    min-height: -webkit-fill-available !important;
}

.inputGroup {
    background-color: rgb(224, 217, 217);
    display: block;
    margin: 10px 0;
    position: relative;
}

    .inputGroup label {
        padding: 12px 60px 12px 30px;
        width: 100%;
        display: block;
        text-align: left;
        color: #3c454c;
        cursor: pointer;
        position: relative;
        z-index: 2;
        transition: color 200ms ease-in;
        overflow: hidden;
    }

        .inputGroup label:before {
            width: 50px;
            height: 10px;
            border-radius: 50%;
            content: "";
            background-color: #14589B;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%) scale3d(1, 1, 1);
            transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
            opacity: 0;
            z-index: -1;
        }

    .inputGroup.inputGroupCheckbox label:after {
        border-radius: 0% !important;
    }

    .inputGroup label:after {
        width: 32px;
        height: 32px;
        content: "";
        border: 2px solid #d1d7dc;
        background-color: #fff;
        background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E ");
        background-repeat: no-repeat;
        background-position: 2px 3px;
        border-radius: 50%;
        z-index: 2;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        transition: all 200ms ease-in;
    }

    .inputGroup input:checked ~ label {
        color: #fff;
    }

        .inputGroup input:checked ~ label:before {
            transform: translate(-50%, -50%) scale3d(56, 56, 1);
            opacity: 1;
        }

        .inputGroup input:checked ~ label:after {
            background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23006833' fill-rule='nonzero'/%3E%3C/svg%3E ");
            background-color: white;
            border-color: white;
        }

    .inputGroup input:disabled ~ label {
        background-color: #eee;
        color: #444;
    }

    .inputGroup input {
        width: 32px;
        height: 32px;
        order: 1;
        z-index: 2;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        /*visibility: hidden;*/
        opacity: 0;
    }
        .inputGroup input:focus + label {
            outline: 2px solid #000; /* required to enable keyboard access */
        }

.form-text.text-muted {
    font-size: clamp(.75rem, 2vw, .8rem) !important;
}

.required {
    color: var(--bs-danger);
    font-weight: bold;
}

.alert-error {
    background-color: #b22222;
    color: white;
}

.errorMsg {
    font: bold 11pt Arial;
}

.errorMsgTiny {
    font: bold 9pt Arial;
}

textarea {
    width: 100%;
    max-width: 100%;
    resize: both;
}

.form-row {
    background-color: white;
    padding: 0.5rem;
    /*margin: 1rem 1rem 0rem 0rem;*/
    margin: 0.75rem 0rem;
    border-radius: 0.375rem;
}