* {
    font-family: sans-serif;
    box-sizing: border-box;
}

.UIElement {
    padding: 2px;
}

.ElementTable table {
    border: 1px solid #AAA;
    width: 100%;
}

.ElementTable tr:nth-child(2n+1) {
    background-color: #CCC;
}

.ElementTable tr:first-child {
    background-color: dodgerblue;
    color: white;
    font-weight: bold;
    border-bottom: 1px solid #AAA;
}

.ElementTable td {
    padding: 5px;
}

.Hidden {
    display: none;
}

button.ElementButton, a.ElementLinkButton  {
    background-color: dodgerblue;
    color: white;
    padding: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 18px;
    margin: 5px;
}

button.ElementButton:hover, a.ElementLinkButton:hover {
    transform: scale(1.01);
    box-shadow: 0 0 2px 2px #00000020;
}.ShamelessField {
    margin: 10px 0;
}

.ShamelessField input:not([type="checkbox"]) {
    height: 30px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.ShamelessField input[type="checkbox"] {
    height: 20px;
    width: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.ShamelessField input[readonly="true"] {
    background-color: #AAA;
    cursor: not-allowed;
}

.ShamelessField h4 {
    margin: 0;
}

.ShamelessField .ElementText {
    font-style: italic;
    font-size: 12px;
    font-weight: normal;
    color: #444;
}

.ShamelessFieldPasswordCreate > .FieldContent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ShamelessFieldPasswordCreate > .FieldContent > .ShamelessField {
    margin: 0;
}

.ShamelessField .FieldError {
    border: 1px solid salmon;
    background: darksalmon;
    border-left-width: 10px;
    padding: 5px;
    font-weight: bold;
    font-size: 16px;
    color :black;
    margin: 5px 0;
    font-style: normal;
}

.ShamelessFieldMultiSelect .FieldContent {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
}

.ShamelessFieldMultiSelect label {
    display: flex;
    flex-direction: row;
    /* align-content: center; */
    align-items: center;
}

.ShamelessField .FieldTitle {
    display :flex;
    flex-direction: row;
    gap: 5px;
}

.ShamelessField .FieldRequired h6 {
    margin: 0;
    color: darkred;
    font-style: italic;
    font-weight: bold;
    font-size: 12px;
}