﻿@font-face {
    font-family: 'icons';
    src: url('icons/fonts/icons.eot?1sw5mj');
    src: url('icons/fonts/icons.eot?1sw5mj#iefix') format('embedded-opentype'), url('icons/fonts/icons.ttf?1sw5mj') format('truetype'), url('icons/fonts/icons.woff?1sw5mj') format('woff'), url('icons/fonts/icons.svg?1sw5mj#icons') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}


.checkbox-form-control {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.1;
    display: grid;
    grid-template-columns: 1em auto;
    align-items: center;
    /*gap: 0.5em;*/
    /* use !important to prevent issues with browser extensions that change fonts */
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /*position: relative;*/
    align-self: center;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

    .checkbox-form-control input[type="checkbox"] {
        /* Add if not using autoprefixer */
        -webkit-appearance: none;
        appearance: none;
        /* For iOS < 15 to remove gradient background */
        background-color: inherit;
        /* Not removed via appearance */
        margin: 0 !important;
        font: inherit;
        color: currentColor;
        width: 1.15em;
        height: 1.15em;
        border: 0.05em solid currentColor;
        border-radius: 0.15em;
        transform: translateY(-0.075em);
        display: grid;
        place-content: center;
    }

        .checkbox-form-control input[type="checkbox"]::before {
            content: "\f00c";
            transform: scale(0);
            transition: 50ms transform ease-in-out;
            box-shadow: inset 1em 1em inherit;
        }

        .checkbox-form-control input[type="checkbox"]:checked::before {
            transform: scale(1);
            content: "\f00c";
            font-family: 'icons' !important;
        }

        .checkbox-form-control:has(input[type="checkbox"]:disabled:not(:checked)) {
            opacity: .2;
            background-color: rgba(0, 0, 0, .2);
        }