﻿html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 80px;    
}

.custom-checkbox + .k-checkbox-label::before {
    border: 1px solid black;
    background-color: white;
}
.k-checkbox-item,
.custom-checkbox {
    margin-right: 0.5rem !important;
}

.radio-button {
    border: 1px solid black;
}


.k-checkbox {
    border: 1px solid black;
    background-color: white;
}

/* Make the checkbox border darker */
.k-checkbox:checked + .k-checkbox-label::before,
.k-checkbox + .k-checkbox-label::before {
    border: 2px solid black; /* Darker border */
    box-shadow: none; /* Optional: remove default shadow */
}

/* Optional: change border on hover */
.k-checkbox:hover + .k-checkbox-label::before {
    border-color: #000;
}

/* #region Header styles */
.header-message {
    text-align: center;
    font-size: 1.10em;
    font-weight: bold;
    line-height: 1.2; /* tighten the line spacing */
    margin: 0; /* reduce space after the header block*/
}

.black-header,
.red-header {
    display: block; /* forces the headers to stack vertically */
}



.header-message p {
    margin: 0; /* reduce space between each p tag */
}

.black-header {
    color: black;
    margin-bottom: 8px;
}

.red-header {
    color: #b80000; /* Darker red for better contrast */
    font-weight: bold;
    font-size: 17.6px; /* Matches your original size */
    background-color: #ffffff; /* White background */
    margin-bottom: 8px;
}

.green-header {
    color: green;
    margin-bottom: 8px;
    text-align: center;
}

.validation-error {
    font-size: 1.2em;
    font-weight: bold;
}

/* #region Footer styles */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 0.85em;
}
/* #endregion */

/* #region custom Kendo UI styles */
#configure {
    display: none;
}

.k-panelbar .k-content {
    padding: 20px;
}

p .k-button {
    margin: 0 15px 0 0;
}

.k-state-active .label {
    font-size: 1em;
}

.k-form-error {
    font-size: 1.4em;
    font-weight: bold;
}

.required-asterisk {
    color: red;
    font-weight: bold;
    margin-left: 2px;
}
/* #endregion */

@media (max-width: 767px) {
    #responsive-panel {
        transition: all linear .2s;
    }

    #configure {
        display: block;
        float: right;
    }

    .k-rpanel {
        width: 100%;
    }

    .k-rpanel-expanded {
        margin-top: 1rem;
    }

    .navbar-header {
        width: 100%;
    }

    .footer {
        height: 60px;
    }

    .k-menu .k-item,
    .k-menu .k-link {
        width: 100%;
    }

    .k-menu .k-link {
        box-sizing: border-box;
    }

    .k-rpanel-expanded ul {
        flex-direction: column;
    }
    /* Style the visible checkbox box */
    .custom-checkbox + .k-checkbox-label::before {
        border: 1px solid black;
        background-color: white;
    }

    .k-checkbox {
        border: 1px solid black;
        background-color: white;
    }

    .checkbox-grid-wrapper .k-checkbox-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* Change to 2 for two columns */
        gap: 0.5rem 1rem; /* Adjust spacing between checkboxes */
        padding-left: 1rem; /* Adds margin to the whole group */
    }

        .checkbox-grid-wrapper .k-checkbox-list > *:nth-child(3n+1) {
            margin-left: 0.5rem; /* Adds margin to the first column items */
        }
}
