.inghamdriven-forms-container {
    max-width:  calc(var(--ingham-content-container) / 2);
    color:      var(--ingham-text-color);
    margin:     0 auto;
    padding:    1rem;
    background: white;
    border-radius:  3px;
}
.success-message, .error-message {
    padding:    1.5rem 2rem;

    border-top-left-radius:     var(--ingham-border-radius-top-left);
    border-top-right-radius:    var(--ingham-border-radius-top-right);
    border-bottom-left-radius:  var(--ingham-border-radius-bottom-left);
    border-bottom-right-radius: var(--ingham-border-radius-bottom-right);
}
.success-message {
    color:      #53784C;
    background: #99DE8C1a;
    /*border:     1px solid #6D9E64;*/
}
.error-message {
    color:      #9E5A54;
    background: #DE7E761a;
    /*border:     1px solid #9E5A54;*/
}

.inghamdriven-forms-container.dark,
.inghamdriven-forms-container.night {
    background-color: transparent;
    color: white;
}
    .inghamdriven-form-elements.night input, 
    .inghamdriven-form-elements.night textarea, 
    .inghamdriven-form-elements.night select, 
    .mc4wp-form.night input, 
    .mc4wp-form.night textarea, 
    .mc4wp-form.night select, 
    .inghamdriven-forms-container.night .select2-selection {
        background-color: transparent;
        color: white;
    }
    .inghamdriven-form-elements.night input[type=checkbox], 
    .mc4wp-form.night input[type=checkbox] {
        appearance: none;
        background-color: #0a0a0a;
        border: 1px solid silver;
        display: inline-block;
        position: relative;
        line-height: 2rem;
        height: 2rem;
        margin-top: 0.6rem;
        margin-bottom: 0.6rem;
        color: white;
    }
        .inghamdriven-form-elements.night input[type=checkbox]:active,
        .inghamdriven-form-elements.night input[type=checkbox]:checked, 
        .inghamdriven-form-elements.night input[type=checkbox]:checked:active,
        .mc4wp-form.night input[type=checkbox]:active,
        .mc4wp-form.night input[type=checkbox]:checked, 
        .mc4wp-form.night input[type=checkbox]:checked:active {
            background-color: var(--ingham-primary-color);
        }
            .inghamdriven-form-elements.night input[type=checkbox]:checked:after,
            .mc4wp-form.night input[type=checkbox]:checked:after {
                content: '\2714';
                font-size: 24px;
                position: absolute;
                top: 0px;
                left: 6px;
                color: white;
            }
    .inghamdriven-form-elements.night input[type=radio],
    .mc4wp-form.night input[type=radio] {
        appearance: none;
        background-color: #0a0a0a;
        border: 1px solid silver;
        border-radius: 50px;
        display: inline-block;
        position: relative;
        height: 2rem;
        margin-top: 0.6rem;
        margin-bottom: 0.6rem;
    }
        .inghamdriven-form-elements.night input[type=radio]:checked:after,
        .mc4wp-form.night input[type=radio]:checked:after {
            content: ' ';
            width: 16px;
            height: 16px;
            border-radius: 50px;
            position: absolute;
            top: 7px;
            background: white;
            left: 8px;
            font-size: 32px;
        }
        .inghamdriven-form-elements.night input[type=radio]:checked,
        .mc4wp-form.night input[type=radio]:checked {
            background-color: var(--ingham-primary-color);
            color: white;
        }
        
