﻿
.layoutBox {
    /*box-shadow: 0 0 10px #000000;*/
    background: #FFFFFF;
    padding: 10px;
    border-radius: 10px;
    margin: auto;
    border: 2px solid var(--primary-color) !important;
    background-color: whitesmoke !important;
}

.formGroup {
    margin-bottom: 5px;
}

/*button.RadCheckBox {
            font-size: 20px;
        }*/
.RadButton.RadCheckBox .rbIcon,
.RadButton.RadCheckBox .rbIcon::before {
    font-size: inherit;
    width: 1em;
    height: 1em;
}

.RadButton_Telerik.rbButton.rbSelected, .RadButton_Telerik.rbButton.rbToggled, .RadButton_Telerik.rbSelected .rbHovered {
    color: #fff !important;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    background-image: none !important;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: 6px;
}

.RadButton_Telerik.rbButton, .RadButton_Telerik.rbButton.rbDisabled, .RadButton_Telerik .rbSplitPart {
    color: #fff !important;
    background-color: #c7c7c7 !important;
    border-color: #c7c7c7 !important;
    background-image: none !important;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: 6px;
}

.divTable {
    display: table;
    width: auto;
    /*width: 40%;*/
    margin: auto;
    border: 1px solid #000;
    border-radius: 10px;
    overflow: hidden;
}

.divTableRow {
    display: table-row;
    border: 1px solid;
}

.divTableCell, .divTableHead {
    border: 0px solid #999999;
    display: table-cell;
    padding: 3px 5px 0px 5px;
    text-align: left;
    width: auto;
}

.divTableCellRt {
    text-align: right;
    margin: 3px 15px 0px 15px;
}

.divTableBody {
    display: table-row-group;
}

.divTableHeading {
    /*background-color: #EEE;*/
    display: table-header-group;
    font-weight: bold;
    font-size: 18px;
}
.fontblackbold {
    color: black;
    font-weight: bold;
}

.required {
    color: var(--primary-color) !important;
    font-weight: bold;
}

.required-ul {
    color: var(--primary-color) !important;
    font-weight: bold;
    text-decoration: underline;
}

.requiredinput {
    border: var(--primary-color) solid 1px !important;
    border-left: 4px solid var(--primary-color) !important;
    border-right: 4px solid var(--primary-color) !important;
}

.requiredinput:disabled {
    border: 1px solid gray !important;
}

.rounded {
    border-radius: 10px;
    overflow: hidden;
}

#BuildingDetailSearch {
    position: relative;
    /*width: 38%;
    margin-left: 30%;*/
    margin-bottom: 5px;
    opacity: .8;
    color: #727272;
}

.filterableBuildings {
    text-align: left;
}

.noDisplay {
    display: none !important;
}

#BuildingDetailSearch .clearInput {
    display: inline-block;
    border: none;
    box-shadow: none;
    font-size: 22px;
    padding: 0px;
    vertical-align: middle;
    color: #515253;
    opacity: 0;
    background-color: white;
}

.fa-times-circle:before {
    content: "\f057";
}

#BuildingDetailSearch input {
    display: inline-block;
    padding: 0.5rem 1rem;
    width: calc(100% - 30px);
    border: 1px solid;
    color: black;
    vertical-align: middle;
}

.checkbox {
    padding-left: 0px;
}

.checkbox label {
    display: inline-block;
    cursor: pointer;
    position: relative;
    padding-left: 0px;
    margin-right: 0px;
    font-size: 16px;
}

button.RadCheckBox {
    font-size: 20px;
}

.hidebr br {
    display: none;
}

.blockinline {
    display: inline-block;
}

.btn-donate {
    font-size: 20px !important;
    font-weight: bold !important;
    display: inline !important;
}

.clearanceName {
    color: black;
    font-weight: bold;
    font-size: 16px;
}

.clearanceParent {
    position: relative;
}

.overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
    z-index: 2;
    border-radius: 10px;
}

#loader {
    border: 12px solid #f3f3f3;
    border-radius: 50%;
    border-top: 12px solid #444444;
    width: 70px;
    height: 70px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.center {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.form-check-input:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.StepDiv {
    padding-bottom: 20px !important;
}

select {
    padding: 4px 10px !important;
}

.RadStepper_Bootstrap.k-stepper .k-step-current .k-step-indicator {
    border-color: var(--primary-color) !important;
    color: #fff;
    background-color: var(--primary-color) !important;
}

.RadStepper_Bootstrap.k-stepper .k-step-done.k-step-disabled .k-step-indicator, .RadStepper_Bootstrap.k-stepper .k-step-done:disabled .k-step-indicator {
    border-color: var(--primary-color) !important;
    background-color: var(--primary-color) !important;
}

.RadStepper_Bootstrap .k-progressbar .k-state-selected {
    background-color: var(--primary-color) !important;
}

.check-agree {
    font-size: 20px;
}

.btn-step {
    max-width: 50%;
    white-space: normal;
    height: 100%;
}

.btn-donate.rbToggled, .btn-donate:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
    border: 2px solid var(--secondary-color) !important;
    box-sizing: border-box !important;
    box-shadow: 0 0 0 !important;
}

.RadButton .rbIcon {
    width: 1em !important;
    height: 1em !important;
    margin-top: 0.25em !important;
    vertical-align: top !important;
    background-color: #fff !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    border: 1px solid rgba(0,0,0,.25) !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
    border-radius: 0.25em !important;
}

.rbToggleCheckboxChecked.rbIcon {
    width: 1em !important;
    height: 1em !important;
    margin-top: 0.25em !important;
    vertical-align: top !important;
    background-color: #fff !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    border: 1px solid rgba(0,0,0,.25) !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
    border-radius: 0.25em !important;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.RadButton .rbIcon:before, .rbToggleCheckboxChecked.rbIcon:before {
    content: none !important;
}

.RadGrid .rgDataDiv {
    height: auto !important;
}

.RadGrid table {
    border-collapse: collapse;
    width: 100%;
}

.RadGrid th {
    background-color: #eee;
    font-weight: bold;
}

html body .RadGrid .rgRow,
html body .RadGrid .rgAltRow,
html body .RadGrid .rgEditRow,
html body .RadGrid .rgFooter,
html body .RadGrid .rgGroupHeader {
    height: auto;
}

.RadGrid .rgRow td:has(.rgEdit), .RadGrid .rgAltRow td:has(.rgEdit) {
    max-width: 20px;
}

.list-group-item.active {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.signature {
    border: 2px dotted black;
    background-color: white;
}

.UploadedFile {
    color: var(--tertiary-color);
    font-weight: bold;
}

.rgHeaderDiv {
    width: 100% !important;
}

.rgDataDiv .rgMasterTable {
    width: 100% !important;
}

/* Stack rows vertically on small screens */
@media (max-width: 40em) {
    .RadGrid, .rgMasterTable {
        /*min-width: fit-content();*/
        width: 100% !important;
    }

    .RadGrid td {
        border: 0.125em solid #333;
        border-top: none;
    }

    .RadGrid thead tr:nth-child(2) {
        position: absolute;
        top: -9999em;
        left: -9999em;
    }

    .rgMasterTable tr:not(:has(td .rgEditForm)):not(.rgCommandRow) {
        display: inline-block;
        width: 100%
    }

    .RadGrid .rgCommandRow {
        background-color: whitesmoke;
        width: 100%;
        display: table-cell;
    }

    .RadGrid .rgCommandCell {
        width: 100%;
        display: inline-grid;
    }

    .RadGrid .rgCommandCellLeft {
        border-bottom: solid 1px #dedede;
    }

    .RadGrid .rgCommandCellLeft, .RadGrid .rgCommandCellRight {
        width: auto;
        position: relative;
        margin: 0 auto;
    }

    .rgNoRecords td{
        display: block;
    }

    .RadGrid th,
    .RadGrid .rgRow td, .RadGrid .rgAltRow td, .RadGrid .rgEditRow td {
        border: 0.125em solid #333;
        line-height: 1.5;
        padding: 0.75em;
        text-align: left;
    }

    .RadGrid .rgRow td:has(.rgEdit), .RadGrid .rgAltRow td:has(.rgEdit) {
        max-width: none;
    }

    .RadGrid .rgRow, .RadGrid .rgAltRow, .RadGrid .rgEditRow {
        border: 0.125em solid #333;
    }

    /* Leave a space between table rows and rows and pager */
    .RadGrid .rgRow + .rgAltRow, .RadGrid .rgAltRow + .rgRow, .RadGrid tr + .rgAltRow, .RadGrid tr + .rgRow,
    .RadGrid .rgPager, .RadGrid .rgEditRow + .rgAltRow, .RadGrid .rgAltRow + .rgEditRow, .RadGrid tr + .rgEditRow {
        margin-top: 0.5em;
    }

    .RadGrid .rgRow td, .RadGrid .rgAltRow td, .RadGrid .rgEditRow td {
        width: 100%;
        display: inline-flex;
        border: none;
        border-bottom: 0.125em solid #333;
        /* Leave a space for data labels */
        padding-left: 50%;
    }

    /* Add data labels */
    .RadGrid .rgRow td:before, .RadGrid .rgAltRow td:before, .RadGrid .rgEditRow td:before {
        content: attr(data-label)':';
        display: inline-block;
        font-weight: bold;
        line-height: 1.5;
        margin-left: 0;
        width: 50%;
    }

    /* Show only the current page number*/
    .RadGrid .rgWrap.rgNumPart a:not(.rgCurrentPage) {
        display: none;
    }

    .RadGrid .rgWrap.rgAdvPart {
        margin-top: 10px;
    }

    .rtsLI {
        width: 100% !important;
    }
}
/* Stack labels vertically on smaller screens */
@media (max-width: 30em) {
    .RadGrid td {
        padding-left: 0.75em;
    }

        .RadGrid td:before {
            display: block;
            margin-bottom: 0.75em;
            margin-left: 0;
        }
}