.hidden {
    display: none;
}

h1, h2, h3 {
    font-family: "Oswald", Arial, sans-serif;
}

html, body {
    background-color: var(--main-bg-color) !important;
    font-family: "Roboto", Arial, sans-serif;
}

.font-oswald {
    font-family: "Oswald", Arial, sans-serif;
}

.font-roboto {
    font-family: "Roboto", Arial, sans-serif;
}

.font-open-sans {
    font-family: "Open Sans", Arial, sans-serif;
}

.font-open-sans-pro {
    font-family: "Open Sans Pro", Arial, sans-serif;
}

.app-button {
    border-radius: 4px;
    border: 1px solid var(--button-border-color);
    color: var(--button-text-color);
}

.app-button:hover {
    border-color: var(--button-hover-color);
    color: var(--button-hover-color);
}

.collection-button {
    display: block;
    width: 100%;
    text-align: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .collection-button {
        display: inline-flex;
        max-width: 350px;
    }
}

.app-text {
    color: var(--text-color);
}

.app-link-white {
    color: var(--text-color);
}

.app-link-white:hover {
    color: var(--text-hover-color);
}

.app-link-blue {
    color: var(--text-color);
}

.app-link-blue:hover {
    color: var(--text-hover-blue-color);
}

.app-link-red {
    color: var(--text-color);
}

.app-link-red:hover {
    color: var(--text-hover-red-color);
}

.app-link-white-active {
    color: var(--text-hover-color) !important;
}

.app-link-blue-active {
    color: var(--text-hover-blue-color) !important;
}

.app-link-red-active {
    color: var(--text-red-color) !important;
}

.app-input,
.app-selector {
    font-size: 0.85rem;
    color: var(--text-color);
    background-color: var(--input-color);
    border: 1px solid var(--input-border-color);
    border-radius: 4px;
}

.app-selector {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    padding-right: 28px;
}

.app-input[readonly],
.app-selector[readonly] {
    background-color: var(--input-color);
    opacity: 0.85;
    cursor: not-allowed;
}

.colors-overlay {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: max-content;
    display: flex;
    justify-content: center;
}

.buttons-container,
.colors-container {
    display: flex;
    width: fit-content;
}

.buttons-container {
    height: 28px;
    margin-bottom: 12px;
    border: 1px solid var(--color-button-color);
}

.buttons-container > *,
.colors-container > * {
    display: flex;
    align-items: center;
    justify-content: center;
}

.buttons-container > * {
    border-right: 1px solid var(--color-button-color);
}

.buttons-container > *:last-child,
.colors-container > *:last-child {
    border-right: none;
}

.item-button {
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 2px;
    padding-bottom: 2px;
    height: 100%;
    display: block;
}

.color-button {
    padding: 0;
    width: 28px;
    height: 28px;
    display: block;
    cursor: pointer;
    object-fit: cover;
    border: 1px solid var(--color-button-color);
}

.color-button:hover {
    border-color: var(--color-button-hover-color);
}

.color-button-active {
    border-color: var(--color-button-active-color);
}

.error-input {
    border-color: var(--input-error-color) !important;
    border-width: 1px !important;
}

.error-checkbox {
    outline: 1px solid var(--input-error-color) !important;
    outline-offset: 1px;
}

.table {
    border-width: 1px;
    border-style: solid;
    border-color: var(--border-color);
    border-radius: 2px;
}

.table-cell {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-width: 1px;
    border-style: solid;
    border-color: var(--border-color);
}
