.uabb-subscribe-form .uabb-form-field {
	position: relative;
}

.uabb-form-field input,
.uabb-form-field input[type=text],
.uabb-subscribe-form input[type=email] {
	box-shadow: none;
	height: auto;
	width: 100%;
    outline: none;
}

.uabb-subscribe-form-inline.uabb-subscribe-form-name-hide .uabb-form-field {
	width: 66.66%;
}

.uabb-form-error-message {
	clear: both;
    color: #f2f2f2;
	display: none;
	font-weight: bold;
}


/* Text editor support */

.uabb-module-content .uabb-text-editor *:not(a) {
    color: inherit;
}
.uabb-module-content .uabb-text-editor *:not(i) {
    font-family: inherit;
}
.uabb-module-content .uabb-text-editor *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
    font-size: inherit;
    line-height: inherit;
}
.uabb-module-content .uabb-text-editor *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(strong):not(b):not(i) {
    font-weight: inherit;
}

.uabb-module-content .uabb-sf-bottom-text p:last-of-type {
    margin-bottom: 0;
}

/* Form Style Defaults
*===================== */

.uabb-subscribe-form .uabb-creative-button-wrap {
	margin: 0;
}
.uabb-subscribe-form .uabb-creative-button-width-auto {
    display: inline-block;
}

.uabb-form-field > label {
	font-weight: normal;
}

.uabb-subscribe-form input[type=text],
.uabb-subscribe-form input[type=tel],
.uabb-subscribe-form input[type=email] {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 0;
    padding: 12px 15px;
    margin: 0;
}

/* Head Info */
.uabb-subscribe-form .uabb-head-wrap {
   margin-bottom: 5px;
}

/* Style 2 */
.uabb-sf-style-style2 input[type=text],
.uabb-sf-style-style2 input[type=tel],
.uabb-sf-style-style2 input[type=email]{
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom-color: rgba(0, 0, 0, 0.5);
    background: transparent;
}

.uabb-sf-style-style2 input[type=text]:focus,
.uabb-sf-style-style2 input[type=tel]:focus,
.uabb-sf-style-style2 input[type=email]:focus {
    background: transparent;
}


/* Label Hover Effect */
.uabb-form-field > label {
    margin: 0;
}

.uabb-sf-style-style2 .uabb-form-field > label {

    position: absolute;
    pointer-events: none;
    bottom: 5px;
    left: 10px;
    cursor: text;
    z-index: 3;
    -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

 .uabb-sf-style-style2 .uabb-form-field input:focus + label,
 .uabb-sf-style-style2 .uabb-form-field.open > label {
    cursor: default;
    -webkit-transform: translateY(-24px);
    -ms-transform: translateY(-24px);
    transform: translateY(-24px);
}

.uabb-subscribe-form-inline.uabb-sf-style-style2 .uabb-form-field > label {
    bottom: 20px;
}

.uabb-subscribe-form-inline.uabb-sf-style-style2 .uabb-form-field,
.uabb-subscribe-form-inline.uabb-sf-style-style2 .uabb-form-button,
.uabb-subscribe-form-inline.uabb-sf-style-style1 .uabb-form-field,
.uabb-subscribe-form-inline.uabb-sf-style-style1 .uabb-form-button {
    display: inline-block;
    vertical-align: bottom;
}

/* Validation Position Fix */
.uabb-form-field .uabb-form-error-message {
    position: absolute;
    display: block;
    opacity: 0;
    padding: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
    -webkit-transition: opacity .15s ease-in-out;
    transition: opacity .15s ease-in-out;
}

.uabb-form-error ~ .uabb-form-error-message {
    opacity: 1;
    width: 1.5em;
    height: 1.5em;
    line-height: 1.5em;
    background: #FF5050;
    border-radius: 50%;
}

.uabb-form-field:not(.open) .uabb-form-error ~ label {
    color: #FF5050 !important;
    -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}

.uabb-form-field.open input.uabb-form-error {
    color: #FF5050 !important;
}

.uabb-subscribe-form .uabb-form-field .uabb-form-error {
    border-color: #FF5050 !important;
    -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}
.uabb-form-error::-webkit-input-placeholder {
   color: #FF5050 !important;
   -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}

.uabb-form-error:-moz-placeholder {
   color: #FF5050 !important;
   -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}

.uabb-form-error::-moz-placeholder {
   color: #FF5050 !important;
   -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}
.uabb-form-error:-ms-input-placeholder {
   color: #FF5050 !important;
   -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}

.uabb-mailchimp-version-error {
    line-height: 1.5em;
    padding: 50px;
    text-align: center;
    position: absolute;
    top: 50%;
    width: 100%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.uabb-mailchimp-version-error span{
    line-height: 1.45em;
}

.uabb-subscribe-form-inline .uabb-form-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap:nowrap;
    flex-wrap:nowrap;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.uabb-subscribe-form .uabb-form-error-message {
    display: block;
}

/* Terms Checkbox and Text CSS */

.uabb-input-group.uabb-terms-checkbox {
    margin-top: 15px;
    margin-bottom: 15px;
}

.uabb-subscribe-form .uabb-terms-checkbox .uabb-terms-wrap {
    height: 26px;
    display: inline;
    vertical-align: middle;
    position: relative;
}
.uabb-subscribe-form .uabb-terms-checkbox-text {
    margin: 10px 0;
}

.uabb-terms-checkbox-sf{
	position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0!important;
    white-space: nowrap !important;
}

.uabb-sf-checkbox-focus .terms-checkbox::before {
    content: '';
    outline: 2px solid #708bef;
}

.uabb-subscribe-form .uabb-terms-checkbox input[type="checkbox"] + span:before {
    content: '';
    border: 1px solid #cccccc;
    border-radius: 0;
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    padding: 2px;
    margin-right: 10px;
    text-align: center;
}

.uabb-subscribe-form .uabb-input-group input[type="checkbox"]:checked + span:before {
    content: "\2714";
    font-size: 20px;
    line-height: 18px;
    font-weight: bold;
    padding-top: 2px;
    color: #3A3A3A;
}

.uabb-subscribe-form .uabb-form-error-message {
    color: #ff5050;
    display: none;
    font-size: 12px;
    margin-top: 2px;
}

.uabb-subscribe-form .uabb-terms-wrap {
    display: inline;
}

.uabb-subscribe-form .uabb-terms-label {
    display: block;
}

.uabb-subscribe-form .uabb-terms-wrap .uabb-form-error-message {
    position: relative;
    padding-left: 12px;
    width: 100%;
    opacity: 1;
}

/* Terms Checkbox and Text CSS end */
.uabb-subscribe-form-inline .uabb-form-field.uabb-input-group.uabb-terms-checkbox {
    width: auto;
}