/* PFAH */

/****************************************************
*  project: pardot form ajax handler                *
*  description: main style                          *
*  author: horans@gmail.com                         *
*  url: github.com/horans/pardot-form-ajax-handler  *
*  update: 180629                                   *
****************************************************/
/* color */
/* csslint ignore: start */
:root {
    --pfah-border: #ea8123;
    --pfah-cancel: #979797;
    --pfah-dark: #000;
    --pfah-error: #f37460;
    --pfah-gray: #4a5568;
    --pfah-primary: #272e62;
    --pfah-secondary: #4a5568;
    --pfah-white: #fff;
    --pfah-light-orange: #fff5f0;
}
/* csslint ignore: end */
/* common */
.pfah-wrapper,
.pfah-wrapper * {
    box-sizing: border-box;
} /* csslint allow: universal-selector, box-sizing */
.pfah-wrapper {
    font-size: 1.25rem;
    line-height: 1.6;
    overflow: hidden;
    padding: 1.875rem 1.5rem;
    position: relative;
} /* csslint allow: known-properties */
.pfah-wrapper a {
    color: var(--pfah-secondary);
} /* csslint allow: known-properties */
.pfah-wrapper-body {
    background: var(--pfah-light-orange);
}
.pfah-wrapper-body .pfah-done, .pfah-wrapper-body .pfah-erro {
    background: var(--pfah-light-orange);
}
.pfah-wrapper-popup {
    background:;
    padding:0;
}
.pfah-form {
    display: flex;
    width: 100%;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
}
.pfah-form-item {
    flex: 1 1 47%;
}
.pfah-form-item-full {
    flex: 100%;
}
.pfah-form p {
    display: none;
}
.pfah-row,
.pfah-row::after {
    clear: both;
    content: "";
    display: block;
}
.pfah-transition {
    -webkit-transition: all ease-out 0.2s;
    -o-transition: all ease-out 0.2s;
    -moz-transition: all ease-out 0.2s;
    transition: all ease-out 0.2s;
}
.pfah-icon {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    height: 14px;
    width: 14px;
}
.pfah-center {
    text-align: center;
}
.pfah-hidden {
    display: none;
    height: 0;
    margin: 0;
    padding: 0;
    width: 0;
    z-index: -1;
}
[data-toggle="pfah-popup"] {
    cursor: pointer;
} /* csslint allow: unqualified-attributes */
/* form */
.pfah-title {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.33;
    margin-bottom: 0.5rem;
    font-family: "Calistoga", sans-serif;
}
.pfah-desc {
    line-height: 1.5;
    margin: 0 0 1rem 0;
    font-size: 1rem;
}
.pfah-disclaimer {
    font-size:0.7rem;
}
.pfah-row {
    margin-bottom: 1.25rem;
}
.pfah-label {
    display: block;
    margin-bottom: 0.125rem;
    position: relative;
}
.pfah-label sup {
    margin-left: 0.25rem;
    position: absolute;
    top: -0.25rem;
}
.pfah-input {
    border: none;
    background: var(--pfah-white);
    display: block;
    font-size: 1rem;
    line-height: 1.5rem;
    padding: 0.5rem;
    width: 100%;
} /* csslint allow: known-properties */
.pfah-btn {
    background: #ea8123;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 0px !important;
    display: inline-block;
    font-size: 1rem;
    padding: 10px 15px;
    transition: 0.3s;
}
.pfah-btn:hover {
    background: #000;
}
.pfah-wrapper-popup .pfah-btn {
    background: #000;
    transition: 0.3s;
}
.pfah-wrapper-popup .pfah-btn:hover {
    background: #ea8123;
}
.pfah-input::placeholder {
    color: var(--pfah-gray);
    opacity: 1;
}
.pfah-input::-webkit-input-placeholder,
.pfah-input:-ms-input-placeholder,
.pfah-input::-moz-placeholder {
    color: var(--pfah-cancel);
} /* csslint allow: known-properties */
.pfah-select {
    position: relative;
}
.pfah-select-icon {
    background-image: url("asset/icon-caret.svg");
    height: 5px;
    position: absolute;
    right: 0;
    top: 15px;
    width: 9px;
}
select.pfah-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
select.pfah-input:focus + .pfah-select-icon {
    transform: rotate(180deg);
}
textarea.pfah-input {
    border: solid 1px var(--pfah-border);
    font-family: inherit;
    margin-top: 0.25rem;
    padding: 0.625rem;
} /* csslint allow: known-properties */
.pfah-check-item {
    line-height: 1.25rem;
}
.pfah-check-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: none;
}
.pfah-check-icon {
    border: solid 1px var(--pfah-border);
    cursor: pointer;
    height: 0.875rem;
    margin-right: 0.5rem;
    position: relative;
    text-align: center;
    vertical-align: middle;
    width: 0.875rem;
} /* csslint allow: box-model, known-properties */
.pfah-check-input:checked + .pfah-check-icon {
    background-image: url("asset/icon-check.svg");
}
.pfah-check-label {
    cursor: pointer;
}
.pfah-button {
    background-color: var(--pfah-secondary);
    border: none;
    border-radius: 0.25rem;
    box-shadow: 0 1rem 1.5rem 0 rgba(0, 0, 0, 0.2);
    color: var(--pfah-white);
    cursor: pointer;
    display: block;
    font-size: 1.125rem;
    font-weight: bold;
    line-height: 2.75rem;
    text-align: center;
    width: 100%;
} /* csslint allow: known-properties */
.pfah-button:disabled {
    background-color: var(--pfah-cancel);
    cursor: not-allowed;
} /* csslint allow: known-properties */
.pfah-button:hover:not(:disabled) {
    box-shadow: 0 0.8rem 1.2rem 0 rgba(0, 0, 0, 0.2);
    -webkit-transform: translateY(1px);
    -moz-transform: translateY(1px);
    -ms-transform: translateY(1px);
    -o-transform: translateY(1px);
    transform: translateY(1px);
    background: #000;
}
.pfah-extra {
    color: var(--pfah-secondary);
    font-size: 0.875rem;
    font-weight: bold;
    margin: 1.25rem 0 0.625rem;
} /* csslint allow: known-properties */
.pfah-extra a {
    text-decoration: none;
}
/* Mobile */
@media only screen and (max-width: 600px) {
  .pfah-form-item {
    flex: 100%;
  }
}
/* result */
.pfah-done,
.pfah-error {
    opacity: 0;
    z-index: -2;
}
.pfah-done {
    background-color: #fff;
    height: 100%;
    left: 0;
    padding: 2.5rem;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
} 
.pfah-wrapper-popup .pfah-done {
    background: #f9d53e;
}
/* csslint allow: box-model */
.pfah-done-wrapper {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
.pfah-done-heading {
    font-size: 1.875rem;
    font-weight: bold;
    line-height: 2.25rem;
    margin: 1.25rem 0 0.625rem;
}
.pfah-done-text {
    font-size: 1rem;
    line-height: 1.5rem;
}
.pfah-error {
    left: 0;
    line-height: 1.25rem;
    margin-top: 0.625rem;
    max-height: 0;
    overflow: hidden;
}
.pfah-done-icon {
    background-image: url("asset/icon-smile.svg");
    height: 66px;
    width: 66px;
}
.pfah-error-icon {
    background-image: url("asset/icon-error.svg");
}
.pfah-wrapper[data-error="keep"] .pfah-error {
    max-height: none;
    position: relative;
}
.pfah-wrapper[data-error="keep"] .pfah-error::before {
    content: "";
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}
.pfah-result-done .pfah-done,
.pfah-result-error .pfah-error {
    opacity: 1;
    z-index: 2;
}
.pfah-result-error .pfah-error {
    max-height: 5rem;
}
/* popup */
.pfah-popup {
    display: none;
    position: relative;
}
.pfah-close-icon {
    background-image: url("asset/icon-close.svg");
    cursor: pointer;
    height: 1rem;
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 1rem;
    z-index: 3;
}
.pfah-close-icon:hover {
    background-color: var(--pfah-primary);
    background-image: none;
    -webkit-mask: url("asset/icon-close.svg");
    mask: url("asset/icon-close.svg");
} /* csslint allow: known-properties */
@media (min-width: 768px) {
    .pfah-row-with-col {
        margin: 0 -0.625rem 1.25rem;
    }
    .pfah-row-with-col > .pfah-col {
        float: left;
        padding: 0 0.625rem;
        width: 50%;
    } /* csslint allow: box-model */

}



