form.handy-form {
    padding: 24px 12px 0 24px;
    font-size: 0;
    border-radius: 5px;
    max-width: 100%;
    /* display: inline-block; */
    position: relative;
    text-align: initial;
    overflow: hidden;
    box-sizing: border-box;
}

form.handy-form,
.hf-section {
    display: inline-flex;
    flex-wrap: wrap;
    align-content: flex-start;
}

.hf-section>div,
form.handy-form>div {
    flex: auto;
    box-sizing: border-box;
    min-width: 250px;
}

form.handy-form.hf-action textarea,
form.handy-form.hf-action .hf_button,
form.handy-form.hf-action select,
form.handy-form.hf-action select option,
form.handy-form.hf-action input[type="text"],
form.handy-form.hf-action input[type="password"],
form.handy-form.hf-action .radio-option,
form.handy-form.hf-action .radio-options-wrap,
form.hf-action .inputfile+label {
    border-radius: 5px !important;
    min-height: 3em !important;
    padding: 0.75em 1em !important;
    width: 100% !important;
    line-height: 1.5em !important;
    margin: 0 !important;
}

form.hf-action .inputfile+label {
    line-height: initial !important;
}

form.handy-form.hf-action input[type="text"],
form.handy-form.hf-action input[type="password"],
form.handy-form.hf-action textarea,
form.handy-form.hf-action select,
form.handy-form.hf-action .radio-options-wrap {
    background-color: #f8f8f8 !important;
    border: 1px solid #cdcdcd !important;
    color: #333 !important;
}

form.hf-action input[type="radio"] {
    border-radius: 50% !important;
}


form.hf-action input[type="checkbox"]:before {
    content: '' !important;
    display: none !important;
}

form.hf-action input[type="checkbox"] {
    display: inline-block !important;
    height: 1em !important;
    min-height: 1em !important;
    width: 1em !important;
    min-width: 1em !important;
    vertical-align: middle;
    border: 1px solid #333;
    border-radius: 2px;
    box-sizing: content-box;
    margin-right: 6px !important;
    padding: 0 !important;
    background-color: white;
    box-shadow: inset 0 0 0 2px white !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    cursor: pointer;
}

form.hf-action input[type="checkbox"]:checked {
    background-color: #666;
}

form.hf-action input[type="checkbox"]:focus {
    box-shadow: inset 0 0 0 2px white, 0 0 4px #666 !important;
}

form.hf-action input[type="checkbox"]+label.hf-checkbox-label {
    display: inline;
    cursor: pointer;
}

.handy-form input[type="text"]::placeholder,
.handy-form input[type="password"]::placeholder,
.handy-form textarea::placeholder {
    color: #666 !important;
}

form.handy-form a:focus,
form.hf-action a:focus {
    box-shadow: 0 !important;
    border: none !important;
}

.hf-action>.progress-bar {
    top: 0;
    display: block;
    height: 24px;
    width: 100%;
    background: #ddd;
    left: 0;
    position: absolute;
}

.include-top-bar>form.handy-form {
    padding-top: 42px;
}

.include-bottom-bar>form.handy-form {
    padding-bottom: 24px;
}

.include-top-bar .progress-bar {
    top: 0;
    bottom: initial;
}

.include-bottom-bar .progress-bar {
    bottom: 0;
    top: initial;
}

.progress-bar>.progress-done {
    height: 100%;
    background: #0091ea;
    text-align: right;
    padding: 0px 12px;
    color: #fff;
    display: inline-block;
    transition: .3s ease-out;
}

[id^='hf-wrapper-']> :not(.hf-text-block-wrap) * {
    font-size: 14px;
}

.hf-text-block-wrap {
    width: 100%;
    padding: 0 12px 0 0;
}

.hf-image-wrap {
    text-align: center;
    max-width: 100%;
}

form.handy-form .hf_button {
    display: inline-block;
    position: relative;
    background-color: #0091ea;
    color: #fff;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    margin: 0;
    text-align: center;
    box-sizing: border-box;
}

:not([id$="popup-wrapper"])>.hf-wrapper>.handy-form.borderless>.last-in-row {
    padding-right: 0;
}

:not([id$="popup-wrapper"])>.hf-wrapper>.handy-form.borderless>.last-in-form {
    margin-bottom: 0 !important;
}

.hf_button {
    transition: all 0.5s ease-out;
}

.hf-btn-align-center {
    text-align: center;
}

.hf-btn-align-left {
    text-align: left;
}

.hf-btn-align-right {
    text-align: right;
}

form.hf-action.hf-processing .hf_button {
    background-color: #78909c;
}

form.hf-action.hf-done .hf_button {
    background-color: #009688;
    pointer-events: none;
    cursor: default;
}

form.hf-action.hf-done .hf_button[name='create_template'] {
    pointer-events: initial;
    cursor: pointer;
}

form.hf-action.hf-submit-error .hf_button {
    background-color: #e65b41;
}

.hf_button:hover {
    filter: brightness(1.1);
}

form.hf-action select[multiple] {
    overflow: hidden;
    padding: 0.5em;
}

form.handy-form.hf-action select option,
form.handy-form.hf-action .radio-option {
    overflow: hidden;
    white-space: normal;
    box-sizing: border-box;
}

form.hf-action .radio-options-wrap {
    padding: 0.75em 1em !important;
}

::-moz-placeholder {
    opacity: 1;
}

form.hf-action input:focus,
form.hf-action textarea:focus,
form.hf-action select:focus {
    box-shadow: #1E88E5 0px 0px 5px !important;
}

form.handy-form.hf-action input.error,
form.handy-form.hf-action select.error,
form.handy-form.hf-action .radio-options-wrap.error,
form.handy-form.hf-action textarea.error {
    border: 1px solid #e65b41 !important;
}

form.handy-form.hf-action input.valid,
form.handy-form.hf-action .radio-options-wrap.valid,
form.handy-form.hf-action select.valid,
form.handy-form.hf-action textarea.valid {
    border: 1px solid #009688 !important;
}

.thnx-overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 0;
    width: 100%;
    left: 0;
    top: 0;
    padding: 0;
    text-align: center;
    background-color: #009688;
    color: white;
    overflow: hidden;
    border-radius: 0 0 100% 100%;
    transition: all .3s cubic-bezier(0.4, 0, 1, 1);
    z-index: 2;
}

.handy-form.hf-done .thnx-overlay {
    border-radius: 0;
    height: 100%;
    padding: 12px 24px;
}

.thnx-overlay>div {
    opacity: 0;
    transition: all .5s ease-out;
}

.handy-form.hf-done .thnx-overlay>div {
    opacity: 1;
}

.hf-wrapper {
    width: 100%;
    height: 100%;
}

.hf-wrapper.hf-align-left {
    text-align: left;
}

.hf-wrapper.hf-align-right {
    text-align: right;
}

.hf-wrapper-popup .hf-wrapper,
.hf-wrapper.hf-align-center {
    text-align: center;
}

.hf-field-container {
    display: inline-block;
    margin: 0 0 18px 0;
    padding: 0 12px 0 0;
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
    vertical-align: top;
    font-size: 14px;
}


/* :not([id$="popup-wrapper"]) > .hf-wrapper > .handy-form.borderless .hf-field-container {
    padding: 0;
} */

:not([id$="popup-wrapper"])>.hf-wrapper>.handy-form.borderless {
    background: none !important;
}

.hf_button-container,
.hf_upload-container {
    vertical-align: top;
}

.handy-form.fw-fields .hf-field-container {
    width: 100% !important;
}

.hf-label {
    color: #333;
    display: inline-block;
    margin-bottom: 6px;
}

.hf-field-container.required .hf-label:after {
    content: " *";
}

.hf-field-container.required {
    font-family: inherit;
}

:not([id$="popup-wrapper"])>.hf-wrapper>.handy-form.borderless {
    padding: 1px;
    background: transparent;
    border: none;
}

form.labels-disable .hf-label {
    display: none;
}

form.labels-disable input[type="text"],
form.labels-disable input[type="password"],
form.labels-disable textarea {
    color: initial;
}

textarea[data-autoresize] {
    overflow-y: hidden;
    height: auto;
}

span.help-block.form-error {
    display: none;
}

.hf-wrapper-popup {
    visibility: hidden;
    pointer-events: none;
    position: fixed;
    width: 100%;
    height: 100vw;
    padding: 24px;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all .25s ease-out;
    background-color: rgba(0, 0, 0, .75);
    box-sizing: border-box;
    z-index: 99999;
}

.hf-wrapper-popup.active {
    visibility: visible;
    pointer-events: initial;
    opacity: 1;
}

.hf-wrapper-popup .handy-form {
    position: relative;
    top: 75%;
    transform: translate3d(0, -50%, 0);
    background-color: #eee;
    box-shadow: rgba(0, 0, 0, .75) 2px 2px 7px;
    transition: .25s ease-out;
    transition-delay: 0.1s;
}

.hf-wrapper-popup.active .handy-form {
    top: 50%;
}

.hf_close_popup {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 10px;
    height: 10px;
    line-height: 8px;
    font-size: 20px;
    padding: 11px;
    margin: 6px;
    box-sizing: content-box;
    text-indent: -1px;
    border-radius: 3px;
    transition: all ease .15s;
    cursor: pointer;
    color: white;
    background-color: #e65b41;
    z-index: 1;
    box-shadow: rgba(0, 0, 0, 0.5) 1px 1px 5px;
}

.hf_noscroll {
    overflow: hidden;
}

span.tooltip:after {
    content: '?';
}

span.tooltip:before {
    position: absolute;
    content: attr(tooltip-text);
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    min-width: 200px;
    opacity: 0;
    background-color: #666;
    border-radius: 4px;
    bottom: 24px;
    padding: 6px 12px;
    pointer-events: none;
    transition: opacity .15s ease-out;
    box-shadow: rgba(102, 102, 102, 0.3) 1px 1px 5px;
    z-index: 1;
    text-align: left;
    font-weight: initial;
    white-space: pre-wrap;
}

span.tooltip:hover:before {
    opacity: 1;
}

span.tooltip {
    margin-left: 12px;
    background-color: #bebebe;
    width: 18px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    height: 18px;
    font-size: 12px;
    position: relative;
}

span.tooltip.attention {
    background-color: #FF9800;
}

.handy-form .hf-debug,
.handy-form .hf-no-js {
    font-size: 12px;
    color: #e65b41;
    text-align: center;
    background-color: #fff;
    border: 1px solid #e65b41;
    border-radius: 4px;
    margin: 0 12px 18px 0;
    height: 22px;
    width: 100%;
}

html:not(.js) .handy-form>:not(.hf-no-js) {
    opacity: .36 !important;
    cursor: default !important;
    pointer-events: none !important;
}

.hf-no-js {
    display: none;
}

html:not(.js) .hf-no-js {
    display: block;
}

.hf_button_align-center,
.hf_button_align-left,
.hf_button_align-right {
    width: 100%;
}

.hf_button_align-center {
    text-align: center;
}

.hf_button_align-left {
    text-align: left;
}

.hf_button_align-right {
    text-align: right;
}

.clear {
    clear: both;
}


/********

Input Field Styling [START]

*********/

.js .inputfile {
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    z-index: -1 !important;
}

.inputfile+label {
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: block;
    overflow: hidden;
    position: relative;
    background-color: #0091ea;
    color: #fff;
    box-sizing: border-box;
    transition: all 0.5s ease-out;
}

.no-js .inputfile+label {
    display: none;
}

.inputfile:focus+label,
.inputfile.has-focus+label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.inputfile+label svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
    margin-top: -0.25em;
    margin-right: 0.25em;
}

.inputfile+label span {
    vertical-align: middle;
}

.inputfile:focus+label,
.inputfile.has-focus+label,
.inputfile+label:hover {
    filter: brightness(1.1);
}

.hf-text-block {
    margin: 0;
}

.hf-pulse {
    filter: saturate(1) brightness(1) hue-rotate(0deg);
    box-shadow: 0 0 0 0 rgba(96, 125, 139, 0.66);
    animation: pulse_2 2s infinite;
}

.hf-pulse:hover {
    animation: none;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(96, 125, 139, 0.66);
    }

    66% {
        -webkit-box-shadow: 0 0 5px 10px rgba(96, 125, 139, 0);
    }

    100% {
        -webkit-box-shadow: 0 0 5px 0 rgba(96, 125, 139, 0);
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(96, 125, 139, 0.66);
        box-shadow: 0 0 0 0 rgba(96, 125, 139, 0.66);
    }

    66% {
        -moz-box-shadow: 0 0 0 10px rgba(96, 125, 139, 0);
        box-shadow: 0 0 5px 10px rgba(96, 125, 139, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(96, 125, 139, 0);
        box-shadow: 0 0 0 0 rgba(96, 125, 139, 0);
    }
}

@-webkit-keyframes pulse_2 {
    0% {
        -webkit-filter: saturate(1) brightness(1) hue-rotate(0deg);
    }

    36% {
        -webkit-filter: saturate(1.24) brightness(1.1) hue-rotate(-30deg);
    }

    100% {
        -webkit-filter: saturate(1) brightness(1) hue-rotate(0deg);
    }
}

@keyframes pulse_2 {
    0% {
        -moz-filter: saturate(1) brightness(1) hue-rotate(0deg);
        filter: saturate(1) brightness(1) hue-rotate(0deg);
    }

    36% {
        -moz-filter: saturate(1.24) brightness(1.1) hue-rotate(-30deg);
        filter: saturate(1.24) brightness(1.1) hue-rotate(-30deg);
    }

    100% {
        -moz-filter: saturate(1) brightness(1) hue-rotate(0deg);
        filter: saturate(1) brightness(1) hue-rotate(0deg);
    }
}


/********

[END] Input Field Styling

*********/

html:not(.js) .progress-bar {
    display: none !important;
}


/********

Honeypot Anti-Spam Styles [START]
These fields are hidden from humans but visible to bots

*********/

.hf-hp-container {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.hf-hp-field {
    position: absolute !important;
    left: -9999px !important;
}

.hf-hp-field input,
.hf-hp-field label {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
}

/********

[END] Honeypot Anti-Spam Styles

*********/