.c-input-group {
    list-style: none;
    padding: 0;
    max-width: 100%;

    li {
        margin-top: 0;
        margin-bottom: 1.25rem;
        width: 100%;
    }

    h2 {
        margin-top: 1.25rem;
        margin-bottom: 1.25rem;
    }

    p {
        margin-bottom: 1.25rem;
    }

    .c-input-group__checkbox {
        [type=checkbox],
        [type=radio] {
            width: auto;
        }
    }

    .c-input-group__multi-checkbox {
        ul {
            margin: .5rem 0;
        }

        li {
            margin: .25rem 0;
        }
    }
}

.c-input__validation {
    font-size: theme('fontSize.sm');
    color: theme('colors.negative.500');
}

.inputs-list {
    list-style: none;
}

.multiupload-form input {
    width: 100%;
    font-size: 1rem;
    padding-top: .75rem;
    color: theme('colors.gray.900');
    background: white;
}

@screen sm {
    .c-input-group {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 0 auto;
    }

    .c-input-group--halves {
        li {
            margin-right: .5rem;
            margin-left: .5rem;
            width: calc(50% - 1rem);

            &:nth-child(odd) {
                margin-left: 0;
            }

            &:nth-child(even) {
                margin-right: 0;
            }
        }
    }
}

@screen md {
    .c-input-group--thirds {
        li {
            margin-right: .5rem;
            margin-left: .5rem;
            width: calc(33.33% - 1rem);

            &:nth-child(3n+1) {
                margin-left: 0;
            }

            &:nth-child(3n+3) {
                margin-right: 0;
            }
        }
    }
}

.c-input-group__submit {
    margin-top: .5rem;
}
