.cardgrid{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}
.card{
    margin: 2px;
    background:  #e9ecef;
    padding: 3px;
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    box-shadow: 1px 1px #737373;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1 1 calc(50% - 1rem);
    /*min-width: 60px;*/
    min-width: 360px;
    box-sizing: border-box;
    justify-content: flex-start;
    /* overflow: hidden;*/
}
.cardheader h1 {
    font-size: 20px;
    background-color: #cdcdcd;
    text-align: center;
    line-height: unset !important;
}

.SetGroup {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
    margin-bottom: 0.1rem !important;
    line-height: 1;
}
.SetGroup2 {

}

label:has(input[type="radio"]:checked) {
    background-color: #2184be;
    border-style: inset;
    border-width: 3px;
    color: white;
}
label:has(input[type="radio"]){
    font-size: 16px;
    cursor: pointer;
    width: auto;
    flex: auto;
    background-color: #ffffff;
    border-width: 4px;
    border-style: outset;
}

.SetGroup>.div{
    display: block;
    position: relative;
    flex: 3;
}

.SetGroup>span, .SetGroup>label {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: flex-start;
    align-items: flex-start;
    padding: 0.375rem 0.75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
/*        text-align: center;
    white-space: nowrap;*/
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    flex: 1;
    justify-content: flex-start;
    flex-direction: column;
}
.SetGroup input, .SetGroup>textarea, .SetGroup select {
    flex: 2;
    box-shadow: inset 0px 1px 1px 1px #8b8a8a;
}
.SetGroup input{
    height: fit-content;
}
.SetGroup input, .SetGroup textarea, .SetGroup select {
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    /*border: 1px solid #ff0202;*/
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    flex: 3;
    width: 100%;
}

.SetGroup2 input, .SetGroup2 textarea, .SetGroup2 select {
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    /*border: 1px solid #ff0202;*/
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    flex: 3;
    width: 100%;
}

.SetGroup>.check{
    width: 100%;
    display: flex;
    flex-direction: row;
}
.SetGroup>.check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    flex: none;
}

.SetGroup input[type="radio"] {
    display: none;
}
.SetGroup input[type="radio"]+label {
    font-size: 16px;
    cursor: pointer;
    width: auto;
    flex: auto;
    background-color: #ffffff;
    border-width: 4px;
    border-style: outset;
}
.SetGroup input[type="radio"]:checked+label {
    background-color: #2184be;
    border-style: inset;
    border-width: 3px;
    color: white;
}
.SetGroup .full{
    background-color: #d0dae4 !important;
    width: 100%;
    min-width: 100%;
}
.SetGroup .full.light{
    background-color: #f6f8fb !important;
}


.tswitch {
    flex: unset !important;
    appearance: none;
    -webkit-appearance: none;
    height: 26px;
    width: 50px !important;
    background-color: #ccc !important;
    padding: 0.75rem 0.75rem !important;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease;
    float: inline-end;
    text-align: right;
}

.tswitch::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 20px;
    background-color: white;
    border-radius: 25%;
    transition: transform 0.3s ease;
}

.tswitch:checked {
    background-color: #2196F3 !important;
}

.tswitch:checked::before {
    content: "✔";
    transform: translateX(20px);
    line-height: 1.2rem;
    color: #00a900;
    text-align: center;
    font-weight: 700;
}