.half-width-form {
    display: none;
	background-color: var(--halfWidthFormBackgroundColor, #fff);
	padding: 30px;
	margin-top: 30px;
	margin-bottom: 30px;
}

.half-width-form .input-wrapper {
    background-color: transparent;
}

.half-width-form .input-wrapper--text {
    border: none;
}

.half-width-form .footer-submit .btn {
	background:  var(--halfWidthFormSubmitBackgroundColor, #FF7F00);
}
.half-width-form .btn.btn-default {
	max-width: 200px;
	height: 100%;
	line-height: 0px;
}

.half-width-form .footer-submit .privacy-statement-link {
    color:  var(--halfWidthFormPrivacyLinkColor, #FF7F00);
}

.half-width-form .footer-submit .privacy-statement p {
    background-color: #fff;
    padding: 10px;
    font-size: 12px;
}

.half-width-form .form-group {
    border: none;
	width: 100%; 
    margin-bottom: 15px;
    box-sizing: border-box;
}

.half-width-form .input-wrapper--text-area {
	border: none !important;
}

.half-width-form input[type="text"],
.half-width-form input[type="email"],
.half-width-form input[type="tel"],
.half-width-form .form-group textarea {
    border: 2px solid black !important; 
    box-sizing: border-box;
    padding: 10px;
    width: 100%;
    outline: none;
    opacity: unset;
    margin-top: 10px;
    margin-bottom: 5px;
    border-radius: 5px;
}

.half-width-form .form-group label {
    position: static;
    top: auto;
    -webkit-transform: none;
    transform: none;
    left: auto;
    font-size: 1.2em; 
    padding-bottom: 8px;
    color: inherit;
    text-transform: none;
    z-index: auto;
    pointer-events: auto;
    -webkit-transition: none;
    transition: none;
    max-width: none;
    visibility: visible;
    white-space: normal;
	color:  var(--halfWidthFormLabelColor, #000);	
}

.half-width-form .page-header h3 {
    color: var(--halfWidthFormH3Color, #000);
}

.half-width-form .scfCaptcha {
    padding-bottom: 20px;
}

.half-width-form span.field-validation-error {
	color: red;
}

/* Styles above 767px */
@media (min-width: 768px) {
    .half-width-form .footer-submit {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        position: relative;
    }

    .half-width-form .footer-submit .privacy-statement-wrapper {
        margin-bottom: 0;
        flex-grow: 1;
        position: relative;
    }

    .half-width-form .footer-submit .privacy-statement {
		display: none; /* Hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 10px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1;
    }

    .half-width-form .footer-submit .privacy-statement-link {
        cursor: pointer;
    }

    .half-width-form .footer-submit .privacy-statement p {
        font-size: 12px;
    }

    .half-width-form .footer-submit .btn {
        flex-shrink: 0;
        margin-left: 20px;
    }

    .half-width-form .footer-submit.expanded .privacy-statement {
        display: block;
    }
	
	.half-width-form .form-group:nth-of-type(3),
	.half-width-form .form-group:nth-of-type(5),
	.half-width-form .form-group:nth-of-type(9),
	.half-width-form .form-group:nth-of-type(11) {
		width: 48%;
		float: left;
		box-sizing: border-box;
		margin-right: 4%;
	}

	.half-width-form .form-group:nth-of-type(5),
	.half-width-form .form-group:nth-of-type(11) {
		margin-right: 0;
		clear: none;
	}

	.half-width-form .form-group {
		width: 100%;
		clear: both;
	}

	.half-width-form::after {
		content: "";
		display: table;
		clear: both;
	}
}
.half-width-form .scfCaptcha, .half-width-form .footer-submit {
    clear: both;
}

/* Styles below 767px */
@media (max-width: 767px) {
    .half-width-form .footer-submit,
    .half-width-form .footer-submit .privacy-statement-wrapper,
    .half-width-form .footer-submit .btn {
        width: 100%;
        display: block;
        position: static;
        margin: 0;
    }

    .half-width-form .footer-submit .privacy-statement {
        position: static;
        width: 100%;
        display: block;
        margin-top: 10px;
    }

	.container.col-xs-12 {
	    padding: 0;
	}
}

/* Styles below 420px */
@media (max-width: 420px) {
	.half-width-form .scfCaptcha {
		position: relative;
		left: -20px;
	}
}