::-webkit-search-cancel-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
}

::-webkit-search-results-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
}

::-ms-clear {
    display: none;
}

::-webkit-color-swatch-wrapper {
    padding: 0;
}

::-webkit-color-swatch {
    border: none;
}

::-webkit-inner-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
}

::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
}

::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-day-field:focus,
::-webkit-datetime-edit-day-field:focus-visible,
::-webkit-datetime-edit-week-field,
::-webkit-datetime-edit-week-field:focus,
::-webkit-datetime-edit-week-field:focus-visible,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-month-field:focus,
::-webkit-datetime-edit-month-field:focus-visible,
::-webkit-datetime-edit-year-field,
::-webkit-datetime-edit-year-field:focus,
::-webkit-datetime-edit-year-field:focus-visible,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-hour-field:focus,
::-webkit-datetime-edit-hour-field:focus-visible,
::-webkit-datetime-edit-minute-field,
::-webkit-datetime-edit-minute-field:focus,
::-webkit-datetime-edit-minute-field:focus-visible {
    color: var(--preset-color-black);
    background: none;
    outline: none;
}

form {
    position: relative;
    display: block;
}

label {
    position: relative;
    display: block;
}

button,
input,
option,
optgroup,
select,
textarea {
    line-height: 1;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
}

label>input[type="date"],
label>select {
    cursor: pointer;
}

label>input[type="search"] ~ div {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translate(0, -50%);
}

label>input[type="search"] ~ div>div>a {
    display: block;
    width: 22px;
    font-size: 22px;
    text-align: center;
    text-decoration: none;
}

label>input[type="search"] ~ div>div:nth-child(1)>a {
    color: dimgrey;
}

label>input[type="search"] ~ div>div:nth-child(2)>a {
    color: darkgray;
}

.filebox {
    display: none;
}

.filebox-square ~ div {
    position: relative;
    display: block;
    padding-top: 100%;
    border-radius: 7px;
    overflow: hidden;
}

.checkbox {
    cursor: pointer;
}

.checkbox-content:after {
    content: attr(data-content);
    display: block;
    line-height: 16px;
    padding: 0 10px;
    font-size: 12px;
    color: white;
    text-align: center;
    border-radius: 4px;
    background: darkgrey;
}

.checkbox-content:checked:after {
    background: royalblue;
}

.checkbox-circle:after {
    font-family: "Font Awesome 5 Pro";
    content: "\f111";
    font-size: 22px;
    font-weight: 300;
    color: darkgrey;
}

.checkbox-circle:checked:after {
    content: "\f058";
    font-weight: 700;
    color: royalblue;
}

.checkbox-square:after {
    font-family: "Font Awesome 5 Pro";
    content: "\f0c8";
    font-size: 22px;
    font-weight: 300;
    color: darkgrey;
}

.checkbox-square:checked:after {
    content: "\f14a";
    font-weight: 700;
    color: royalblue;
}

.textbox {
    display: block;
    width: 100%;
    height: 36px;
    line-height: 36px;
    padding: 0 16px;
    font-size: 14px;
    color: black;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    border: none;
    background: white;
}

.textbox ~ a {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translate(0, -50%);
    text-decoration: none;
    display: block;
    width: 30px;
    font-size: 22px;
    color: royalblue;
    text-align: center;
}

.textbox ~ i {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translate(0, -50%);
    text-decoration: none;
    display: block;
    width: 30px;
    font-size: 22px;
    color: darkgray;
    text-align: center;
    pointer-events: none;
}

.textbox-grad {
    background: white;
    background-image: linear-gradient(to bottom, whitesmoke, white);
}

.textbox-round {
    border-radius: 18px;
    border: 1px solid lightgrey;
}

.textbox:disabled {
    font-style: italic;
    font-weight: 500;
    color: dimgrey;
    border: none;
    background: whitesmoke;
    pointer-events: none;
}

.hidden {
    display: none;
}

