form {
    & h5 {
        margin-bottom: 10px;
    }

    & label {
        display: block;
        width: 100%;
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 5px;
    }

    & input[type="text"],
    input[type="date"],
    input[type="number"],
    input[type="email"],
    input[type="search"],
    input[type="password"] {
        display: block;
        width: 100%;
        padding: 7px 15px;
        height: unset;
        font-size: 18px;
        border: 1px solid #d7d7d7;
        border-radius: 0;
        border-radius: 0;
    }

    & input[type="checkbox"] {
        width: 1.2em;
        height: 1.2em;
        border: 1px solid #d7d7d7;
        margin-right: 5px;
    }

    & input:focus {
        border: 1px solid var(--secondary-color);
        outline: none;
    }

    & .checkbox {
        display: flex;
        align-items: center;
        margin: 0;
        & label {
            margin: 0;
        }
    }

    & .checkbox:focus {
        border: 1px solid var(--secondary-color);
        outline: none;
    }

    & .ss-main,
    select {
        width: 100%;
        padding: 7px 15px;
        min-height: 38.5px;
        font-size: 18px;
        border: 1px solid #d7d7d7;
        border-radius: 0;
        border-radius: 0;
        -moz-appearance: none;
        -webkit-appearance: none;
        appearance: none;
    }

    & .ss-main:focus,
    select:focus {
        border: 1px solid var(--secondary-color);
        outline: none;
        -moz-appearance: none;
        -webkit-appearance: none;
        appearance: none;
    }

    & .form-group {
        margin-bottom: 20px;
    }
    & fieldset {
        border-color: var(--secondary-color);
        border-style: dashed;
        margin-bottom: 20px;
    }
    & fieldset .form-group:last-of-type {
        margin-bottom: 0;
    }

    & .trix-content {
        margin-bottom: 15px;
        border-radius: 0;
        border: 1px solid #d7d7d7;
        scrollbar-width: none;
        border-radius: 0;
    }

    & .trix-content:focus {
        border: 1px solid var(--secondary-color);
        outline: none;
    }

    & .two-buttons {
        & .outline-button {
            border: 3px var(--secondary-color) solid;
            background: white;
            color: var(--secondary-color);
            padding: 5px 15px;
            border-radius: 0;
            text-decoration: none;
            cursor: pointer;
            font-size: 16px;
            &.outline-button:hover {
                border: 3px var(--secondary-color) solid;
                background: var(--secondary-color);
                color: white;
                transition: 0.3s;
            }
        }
    }
}

.select-with-button {
    display: flex;
    max-width: 250px;
    margin-bottom: 15px;
}

.select-with-button select {
    display: block;
    width: 200px;
    padding: 5px 7px;
    height: unset;
    font-size: 18px;
    border: 1px solid #d7d7d7;
    margin-right: 15px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

.select-with-button input[type="submit"] {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    background-color: var(--secondary-color);
    color: #fff;
    cursor: pointer;
}

.search-field {
    display: inline-block;
    max-width: 200px;
}

p.error {
    color: darkred;
    margin: 0;
    margin-top: 5px;
}

.ss-main .ss-values .ss-value {
    background-color: var(--primary-color);
}

.ss-content .ss-list .ss-option.ss-highlighted,
.ss-content .ss-list .ss-option:not(.ss-disabled).ss-selected {
    background-color: var(--primary-color);
}

.ss-content .ss-list .ss-option:hover {
    background-color: var(--secondary-color);
}
