/*********************************************
 * GRAVITY FORM
**********************************************/
.gform_wrapper {margin:0; position:relative;}
.gform_wrapper .gform_footer {margin:0; padding:0;}
.gform_wrapper ul.gform_fields li.gfield:not(:last-child) {margin-bottom:35px !important;}
.gform_wrapper ul.gform_fields li.gfield input::placeholder,
.gform_wrapper ul.gform_fields li.gfield textarea::placeholder {font-size:16px; color:#007cb2;}
.gform_wrapper ul.gform_fields li.gfield input:focus::placeholder,
.gform_wrapper ul.gform_fields li.gfield textarea:focus::placeholder {color:rgba(0, 124, 178, 0.2);}
.gform_wrapper ul.gform_fields div.ginput_container_checkbox {width:55%;}
.gform_wrapper ul.gform_fields div.ginput_container_radio input {
    margin-top:3px !important;vertical-align:middle;
}
.gform_wrapper ul.gform_fields div.ginput_container_checkbox input {
    width:20px !important; height:20px !important;margin-top:2px !important;vertical-align:top;
}
.gform_wrapper ul.gform_fields div.ginput_container_checkbox label {font-size:16px;}
.gform_wrapper ul.gform_fields div.ginput_container_checkbox a {color:#000;}
.gform_wrapper .gform_footer {position:absolute; right:0; bottom:20px; width:auto;}
.vii-popup-form .gform_wrapper .gform_footer {bottom:0;}
.gform_footer button {
    padding:22px 27px; position:relative; font-weight:700; text-transform:uppercase; text-decoration:none; color:#000;
    border-left:2px solid #007cb2; border-bottom:2px solid #007cb2; background:transparent;
    -webkit-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease;
}
.gform_footer button:before {
    content:""; display:block;
    width:calc(100% - 15px); height:2px; background:#007cb2;
    position:absolute; top:0; left:0;
}
.gform_footer button:after {
    content:""; display:block;
    height:calc(100% - 15px); width:2px; background:#007cb2;
    position:absolute; bottom:0; right:0;
}
.gform_footer button span:before {
    content:""; display:block;
    width:10px; height:2px; background:#007cb2;
    position:absolute; top:0; right:-4px;
}
.gform_footer button span:after {
    content:""; display:block;
    width:2px; height:10px; background:#007cb2;
    position:absolute; top:-4px; right:0;
}
.gform_footer button:hover {
    color:#007cb2;
    -webkit-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease;
}
#form-info-bottom p {line-height:2;}

/*Error*/
body .gform_wrapper .cta-form div.validation_error {padding:0 70px;}

/* GRAVITY FORM > Fields */
body .gform_wrapper ul.gform_fields {margin:0 -10px !important; display:flex; flex-wrap:wrap;}
body .gform_wrapper ul.gform_fields li.gfield {padding:0 10px !important; margin:0 !important; width:100%; line-height:1;}
body .gform_wrapper ul.gform_fields li.gfield:not(:last-child) {margin-bottom:20px !important;}
body .gform_wrapper ul.gform_fields div.ginput_container {margin-top:0 !important;}
body .gform_wrapper ul.gform_fields li.gfield.hidden_label .gfield_label,
body .gform_wrapper .gfield_required {display:none !important;}
body .gform_wrapper ul.gform_fields li.hidden_label input {margin-top:0;}
body .gform_wrapper .top_label .gfield_label {line-height:inherit; font-weight:inherit; display:block; margin:0 0 10px !important;}

/* GRAVITY FORM > Fields (date time) */
body .gform_wrapper .clear-multi {margin:0 -5px;}
body .gform_wrapper .gfield_time_ampm,
body .gform_wrapper .gfield_time_hour,
body .gform_wrapper .gfield_time_minute {max-width:unset; width:33.33%; margin:0; padding:0 5px;}
body .gform_wrapper.gf_browser_chrome .gfield_time_ampm select {margin:0; width:100%; max-width:100% !important;}
body .gform_wrapper .gfield_time_hour i {display:none;}

/* GRAVITY FORM > Fields Error */
body .gform_wrapper li.gfield.gfield_error {border:none; background:none; max-width:unset !important;}
body .gform_wrapper .validation_message {display:none;}
body .gform_wrapper.gform_validation_error .gform_body ul li.gfield.gfield_error:not(.gf_left_half):not(.gf_right_half) {
    max-width:unset !important;
}
body .gform_wrapper div.validation_error {border:none; padding:0; margin:0 0 20px; color:#f00; text-align:left; font-size:16px;}

/* GRAVITY FORM > Fields for Ready Classes (use the same class from Ready Classes) */
@media only screen and (min-width:768px) {
    body .gform_wrapper ul.gform_fields li.gfield[class*="_half"] {width:50% !important;}
    body .gform_wrapper ul.gform_fields li.gfield[class*="_third"] {width:33.33% !important;}
    body .gform_wrapper ul.gform_fields li.gfield[class*="_quarter"] {width:25% !important;}
}

/* GRAVITY FORM > Inputs */
body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
body .gform_wrapper textarea, body .gform_wrapper select {
    padding:10px; min-height:45px; width:100%; min-width:100%; display:block;
    background:#f2f2f2; line-height:1;
    transition:all .3s ease;
}
body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):hover,
body .gform_wrapper textarea:hover, body .gform_wrapper select:hover,
body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus,
body .gform_wrapper textarea:focus, body .gform_wrapper select:focus {
    background:#f2f2f2; border-bottom:1px solid #007cb2;
}

/* GRAVITY FORM > Inputs Error */
body .gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
body .gform_wrapper li.gfield_error textarea, body .gform_wrapper li.gfield_error select {
    background:#f2f2f2; border:1px solid #f00;
}
body .gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):hover,
body .gform_wrapper li.gfield_error textarea:hover, body .gform_wrapper li.gfield_error select:hover,
body .gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus,
body .gform_wrapper li.gfield_error textarea:focus, body .gform_wrapper li.gfield_error select:focus {
    background:#f2f2f2;
}

/* INLINE DATEPICKER */
body .ui-datepicker {
    width:100%; max-width:275px; margin:10px 0 0; box-shadow:none; display:none;
    font-family:acumin-pro, sans-serif; background:#fff;
    border:1px solid #d6a64a; padding:3px 4px 3px 3px; border-radius:3px;
}

/* INLINE DATEPICKER > Header */
body .ui-datepicker-header {
    background:none; box-shadow:none; border:none; text-shadow:none;
    color:#1b4544; font-size:16px; font-weight:400;
    line-height:inherit; min-height:auto !important;
    display:flex; justify-content:space-between; align-items:center;
}
body .ui-datepicker-header > a span {display:none;}
body .ui-datepicker-header > a {background:none; line-height:30px;}
body .ui-datepicker-header > a:before {font-family:"icomoon", fantasy; font-size:15px;}
body .ui-datepicker-prev:before {content:"\e961";}
body .ui-datepicker-next:before {content:"\e962";}
body .ui-datepicker-header > a:not(.ui-state-disabled):hover {background:#d6a64a; color:#fff;}
body .ui-datepicker-header > a.ui-state-disabled {opacity:.5;}
body .ui-datepicker-prev {order:1;}
body .ui-datepicker-title {order:2;}
body .ui-datepicker-next {order:3;}

/* INLINE DATEPICKER > Calendar */
body .ui-datepicker thead {background:none; border:none;}
body .ui-datepicker th {
    text-shadow:none; text-transform:capitalize; padding:10px 0;
    color:#54595f; font-size:14px; font-weight:400;
}
body .ui-datepicker tbody tr, body .ui-datepicker thead {border:none;}
body .ui-datepicker tbody td {width:14.28%; border:1px solid #c0c0c0; position:relative;}
body .ui-datepicker td a, body .ui-datepicker td span {
    width:100% !important; margin:0; font-weight:400; font-size:15px;
    display:flex; align-items:center; justify-content:center; height:39px !important;
}
body .ui-datepicker td a:not(.ui-state-active):hover {background:#d6a64a; color:#393c3c; text-decoration:none; text-shadow:none;}
body .ui-datepicker-calendar .ui-state-default {background:#fff; color:#393c3c;}
body .ui-datepicker tbody td.ui-datepicker-current-day {background:#d6a64a;}
body .ui-datepicker-calendar .ui-state-active {background:#d6a64a; color:#fff; border:none;}

/* INLINE DATEPICKER > Calendar (hide other month) */
body .ui-datepicker tr:first-child td.ui-datepicker-other-month {
    background:#fff; border-top-color:#fff; border-left-color:#fff; border-right-color:#fff;
}
body .ui-datepicker tr:last-child td.ui-datepicker-other-month {background:#fff; border-color:#fff;}
body .ui-datepicker tbody td:last-child:not(.ui-datepicker-other-month) {border:1px solid #c0c0c0;}
body .ui-datepicker tr:first-child td:not(.ui-datepicker-other-month):before {
    content:""; position:absolute; top:0; left:-1px; bottom:0;
    width:1px; background:#c0c0c0;
}

/* INLINE DATEPICKER > Calendar (unselectable) */
body .ui-datepicker tbody td.ui-datepicker-unselectable {user-select:none;}
body .ui-datepicker tbody td.ui-datepicker-unselectable:not(.ui-datepicker-other-month) {cursor:not-allowed;}

/* GF Hide ReCaptcha Badge */
.grecaptcha-badge {visibility:hidden;}

/*********************
 * Misc
**********************/
.gform_submission_error {text-align:center; font-weight:700 !important;font-size:16px;}