<?php
//todo only remove class! to make js work!

//$this->top_replace_old[]="gform_wrapper";
//$this->top_replace_new[]="gf_wrapper";

$this->preg_replace_old[]= "%class=(\"|\')([a-zA-Z0-9_\s]*)gform_wrapper%";
$this->preg_replace_new[]= "class=$1 $2 gf_wrapper";

$this->preg_replace_old[]= "%class=(\"|\')([a-zA-Z0-9_\s]*)gform_body%";
$this->preg_replace_new[]= "class=$1 $2 gf_body";

$this->preg_replace_old[]= "%class=(\"|\')([a-zA-Z0-9_\s]*)gform_fields%";
$this->preg_replace_new[]= "class=$1 $2 gf_fields";

$this->top_replace_old[]="rel='stylesheet' id='gforms";
$this->top_replace_new[]="rel='stylesheet' id='gf";

if ( ! get_option( 'rg_gforms_disable_css' )){
$reset = "
body .gf_wrapper.gf_reset_wrapper, body .gf_wrapper.gf_reset_wrapper div, body .gf_wrapper.gf_reset_wrapper span, body .gf_wrapper.gf_reset_wrapper iframe, body .gf_wrapper.gf_reset_wrapper h1, body .gf_wrapper.gf_reset_wrapper h2, body .gf_wrapper.gf_reset_wrapper h3, body .gf_wrapper.gf_reset_wrapper h4, body .gf_wrapper.gf_reset_wrapper h5, body .gf_wrapper.gf_reset_wrapper h6, body .gf_wrapper.gf_reset_wrapper p, body .gf_wrapper.gf_reset_wrapper img, body .gf_wrapper.gf_reset_wrapper ol, body .gf_wrapper.gf_reset_wrapper ul, body .gf_wrapper.gf_reset_wrapper li, body .gf_wrapper.gf_reset_wrapper fieldset, body .gf_wrapper.gf_reset_wrapper form, body .gf_wrapper.gf_reset_wrapper label, body .gf_wrapper.gf_reset_wrapper legend, body .gf_wrapper.gf_reset_wrapper input[type=text], body .gf_wrapper.gf_reset_wrapper input[type=email], body .gf_wrapper.gf_reset_wrapper input[type=tel], body .gf_wrapper.gf_reset_wrapper input[type=url], body .gf_wrapper.gf_reset_wrapper input[type=number], body .gf_wrapper.gf_reset_wrapper input[type=password], body .gf_wrapper.gf_reset_wrapper select, body .gf_wrapper.gf_reset_wrapper textarea, body .gf_wrapper.gf_reset_wrapper input[type=submit], body .gf_wrapper.gf_reset_wrapper input[type=button], body .gf_wrapper.gf_reset_wrapper input[type=image], body .gf_wrapper.gf_reset_wrapper button, body .gf_wrapper.gf_reset_wrapper table, body .gf_wrapper.gf_reset_wrapper caption, body .gf_wrapper.gf_reset_wrapper tbody, body .gf_wrapper.gf_reset_wrapper tfoot, body .gf_wrapper.gf_reset_wrapper thead, body .gf_wrapper.gf_reset_wrapper tr, body .gf_wrapper.gf_reset_wrapper th, body .gf_wrapper.gf_reset_wrapper td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
}
body .gf_wrapper.gf_reset_wrapper div, body .gf_wrapper.gf_reset_wrapper span, body .gf_wrapper.gf_reset_wrapper iframe, body .gf_wrapper.gf_reset_wrapper p, body .gf_wrapper.gf_reset_wrapper img, body .gf_wrapper.gf_reset_wrapper ol, body .gf_wrapper.gf_reset_wrapper ul, body .gf_wrapper.gf_reset_wrapper li, body .gf_wrapper.gf_reset_wrapper fieldset, body .gf_wrapper.gf_reset_wrapper form, body .gf_wrapper.gf_reset_wrapper label, body .gf_wrapper.gf_reset_wrapper legend, body .gf_wrapper.gf_reset_wrapper input[type=text], body .gf_wrapper.gf_reset_wrapper input[type=email], body .gf_wrapper.gf_reset_wrapper input[type=tel], body .gf_wrapper.gf_reset_wrapper input[type=url], body .gf_wrapper.gf_reset_wrapper input[type=number], body .gf_wrapper.gf_reset_wrapper input[type=password], body .gf_wrapper.gf_reset_wrapper select, body .gf_wrapper.gf_reset_wrapper textarea, body .gf_wrapper.gf_reset_wrapper input[type=submit], body .gf_wrapper.gf_reset_wrapper input[type=button], body .gf_wrapper.gf_reset_wrapper input[type=image], body .gf_wrapper.gf_reset_wrapper button, body .gf_wrapper.gf_reset_wrapper table, body .gf_wrapper.gf_reset_wrapper caption, body .gf_wrapper.gf_reset_wrapper tbody, body .gf_wrapper.gf_reset_wrapper tfoot, body .gf_wrapper.gf_reset_wrapper thead, body .gf_wrapper.gf_reset_wrapper tr, body .gf_wrapper.gf_reset_wrapper th, body .gf_wrapper.gf_reset_wrapper td {
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
line-height: 1;
font-weight: normal;
}
body .gf_wrapper.gf_reset_wrapper div, body .gf_wrapper.gf_reset_wrapper span, body .gf_wrapper.gf_reset_wrapper p { line-height: 1.8 }
body .gf_wrapper.gf_reset_wrapper fieldset, body .gf_wrapper.gf_reset_wrapper img { border: 0 }
body .gf_wrapper.gf_reset_wrapper ol, body .gf_wrapper.gf_reset_wrapper ul, body .gf_wrapper.gf_reset_wrapper li { list-style: none }
body .gf_wrapper.gf_reset_wrapper a img { border: none }
body .gf_wrapper.gf_reset_wrapper :focus { outline: 0 }";



$main = "/*
----------------------------------------------------------------

Gravity Forms Front End Form Styles
http: //www.gravityforms.com
updated: January 12, 2017 04:02 PM (GMT-05:00) US Eastern Time

Gravity Forms is a Rocketgenius project
copyright 2008-2017 Rocketgenius Inc.
http: //www.rocketgenius.com
this may not be redistributed without the
express written permission of the author.

NOTE: DO NOT EDIT THIS FILE! MAKE ANY MODIFICATIONS IN YOUR
THEME STYLESHEET. THIS FILE IS REPLACED DURING AUTO-UPDATES
AND ANY CHANGES MADE HERE WILL BE OVERWRITTEN.

If you need to make extensive customizations,
copy the contents of this file to your theme
style sheet for editing. Then, go to the form
settings page & set the 'output CSS' option
to no.

----------------------------------------------------------------
*/


/* mobile styles first ​*/

.gf_wrapper {
margin: 16px 0;
max-width: 100%;
}

.gf_wrapper form {
text-align: left;
max-width: 100%;
margin: 0 auto;
}

.gf_wrapper *,
.gf_wrapper *:before,
.gf_wrapper *:after {
box-sizing: border-box !important;
}

.gf_wrapper h1,
.gf_wrapper h2,
.gf_wrapper h3 {
font-weight: normal;
border: none;
background: none;
}

.gf_wrapper input:not([type='radio']):not([type='checkbox']):not([type='submit']):not([type='button']):not([type='image']):not([type='file']) {
font-size: inherit;
font-family: inherit;
padding: 5px 4px;
letter-spacing: normal;
}

.gf_wrapper input[type=image] {
border: none !important;
padding: 0 !important;
width: auto !important;
}

.gf_wrapper textarea {
font-size: inherit;
font-family: inherit;
letter-spacing: normal;
padding: 6px 8px;
line-height: 1.5;
resize: none;
}

.gf_wrapper select {
line-height: 1.5;
}

.gf_wrapper .ginput_container_multiselect select {
background-image: none !important;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: 1px solid inherit;
outline: none;
}

.gf_wrapper ul.gf_fields {
margin: 0 !important;
list-style-type: none;
display: block;
}

html>body .entry ul,
.gf_wrapper ul {
text-indent: 0
}

.gf_wrapper li,
.gf_wrapper form li {
margin-left: 0 !important;
list-style-type: none !important;
list-style-image: none !important;
list-style: none !important;
overflow: visible;
}

.gf_wrapper ul li.gfield {
clear: both;
}

.gf_wrapper ul.gfield_radio li,
.gf_wrapper ul.gfield_checkbox li {
overflow: hidden;
}

.gf_wrapper ul.gf_fields.right_label li.gfield,
.gf_wrapper form ul.gf_fields.right_label li.gfield,
.gf_wrapper ul.gf_fields.left_label li.gfield,
.gf_wrapper form ul.gf_fields.left_label li.gfield {
margin-bottom: 14px;
}

.gf_wrapper ul.right_label li ul.gfield_radio li,
.gf_wrapper form ul.right_label li ul.gfield_radio li,
.gf_wrapper ul.left_label li ul.gfield_radio li,
.gf_wrapper form ul.left_label li ul.gfield_radio li,
.gf_wrapper ul.right_label li ul.gfield_checkbox li,
.gf_wrapper form ul.right_label li ul.gfield_checkbox li,
.gf_wrapper ul.left_label li ul.gfield_checkbox li,
.gf_wrapper form ul.left_label li ul.gfield_checkbox li {
margin-bottom: 10px;
}

.gf_wrapper ul li:before,
.gf_wrapper ul li:after,
.gf_wrapper ul.gf_fields {
padding: 0;
margin: 0;
overflow: visible;
}

.gf_wrapper select {
font-size: inherit;
font-family: inherit;
letter-spacing: normal;
}

.gf_wrapper select option {
padding: 2px;
display: block;
}

.gf_wrapper .inline {
display: inline !important;
}

.gf_wrapper .gform_heading {
width: 100%;
margin-bottom: 18px;
}

.gf_wrapper .clear-multi{
display: flex;
}

/* date ​fields */

.gf_wrapper .gfield_date_day,
.gf_wrapper .gfield_date_year {
display: -moz-inline-stack;
display: inline-block;
}

.gf_wrapper .gfield_date_day,
.gf_wrapper .gfield_date_month,
.gf_wrapper .gfield_date_year {
width: 33.333%;
flex-direction: row;
}

@media only screen and (min-width: 321px) {

.gf_wrapper .gfield_date_day,
.gf_wrapper .gfield_date_month {
max-width: 4rem;
}

.gf_wrapper .gfield_date_year,
.gf_wrapper .gfield_time_ampm {
max-width: calc(4rem + .5rem);
}

}

.gf_wrapper .gfield_date_dropdown_month,
.gf_wrapper .gfield_date_dropdown_day,
.gf_wrapper .gfield_date_dropdown_year {
vertical-align: top;
flex-direction: row;
}

.gf_wrapper .gfield_date_dropdown_month,
.gf_wrapper .gfield_date_dropdown_day,
.gf_wrapper .gfield_date_dropdown_year {
margin-right: .5rem;
}

.gf_wrapper .gfield_date_month,
.gf_wrapper .gfield_date_day {
width: 4rem;
margin-right: .5rem;
}

.gf_wrapper .gfield_date_month input[type=\"number\"],
.gf_wrapper .gfield_date_day input[type=\"number\"] {
width: calc(3rem + 8px) !important;
}

.gf_wrapper .gfield_date_year input[type=\"number\"] {
width: calc(4rem + 8px) !important;
}

.gf_wrapper .gfield_date_year {
width: 5rem;
}

.gf_wrapper .gfield_date_month input,
.gf_wrapper .gfield_date_day input {
width: calc(3rem + 8px);
}

.gf_wrapper .gfield_date_year input {
width: 4rem;
}

.gf_wrapper .field_sublabel_above div[class*=\"gfield_date_\"].ginput_container label,
.gf_wrapper .field_sublabel_below div[class*=\"gfield_date_\"].ginput_container label {
width: 3rem;
text-align: center;
}

.gf_wrapper .field_sublabel_above div.gfield_date_year.ginput_container label,
.gf_wrapper .field_sublabel_below div.gfield_date_year.ginput_container label {
width: 4rem;
}

/* time ​fields */

.gf_wrapper .gfield_time_hour,
.gf_wrapper .gfield_time_minute,
.gf_wrapper .gfield_time_ampm {
width: 33.333%;
flex-direction: row;
}

@media only screen and (min-width: 321px) {

.gf_wrapper .gfield_time_hour,
.gf_wrapper .gfield_time_minute {
max-width: 4rem;
}

.gf_wrapper .gfield_time_hour,
.gf_wrapper .gfield_time_ampm {
max-width: calc(4rem + .5rem);
}

.gf_wrapper .gfield_time_hour {
max-width: calc(4rem + .5rem);
}

}

.gf_wrapper ul.gf_fields:not(.top_label) .ginput_container_time span {
float: left;
}

.gf_wrapper .gfield_time_hour i {
font-style: normal !important;
font-family: sans-serif !important;
width: 10px;
text-align: center;
float: right;
margin-top: 9%;
}

.gf_wrapper .gfield_time_minute {
margin-right: .5rem;
}

.gf_wrapper .gfield_time_hour {
margin-right: .25rem;
}

.gf_wrapper .gfield_time_ampm {
vertical-align: top;
display: -moz-inline-stack;
display: inline-block;
}

.gf_wrapper .gfield_time_ampm select {
min-width: calc(2rem + 25px);
width: calc(3rem + 25px);
}

.gf_wrapper .gfield_time_hour input,
.gf_wrapper .gfield_time_minute input {
width: calc(3rem + 8px);
}

.gf_wrapper .gfield_time_hour input[type=\"number\"],
.gf_wrapper .gfield_time_minute input[type=\"number\"] {
width: calc(3rem + 8px) !important;
}

.gf_wrapper .field_sublabel_above div[class*=\"gfield_time_\"].ginput_container label,
.gf_wrapper .field_sublabel_below div[class*=\"gfield_time_\"].ginput_container label {
width: 3rem;
text-align: center;
}

.gf_wrapper .field_hover {
border: 1px dashed #2175A9;
cursor: pointer;
}

.gf_wrapper .field_selected {
background-color: #DFEFFF;
border: 1px solid #C2D7EF;
}

.gf_wrapper .field_name_first,
.gf_wrapper .field_name_middle,
.gf_wrapper .field_name_last {
width: 49.5%;
display: -moz-inline-stack;
display: inline-block;
vertical-align: top;
}
.gf_wrapper .ginput_complex.ginput_container {
overflow: visible;
width: 100%;
}

.gf_wrapper label.gfield_label {
font-weight: 700;
font-size: inherit;
}

.gf_wrapper .top_label .gfield_label {
display: -moz-inline-stack;
display: inline-block;
line-height: 1.3;
clear: both;
}

.gf_wrapper .ginput_complex input:not([type='radio']):not([type='checkbox']):not([type='submit']):not([type='image']):not([type='file']),
.gf_wrapper .ginput_complex  .ginput_left input:not([type='radio']):not([type='checkbox']):not([type='submit']):not([type='image']):not([type='file']),
.gf_wrapper .ginput_complex .ginput_right input:not([type='radio']):not([type='checkbox']):not([type='submit']):not([type='image']):not([type='file']) {
width: 100%;
}

.gf_wrapper .ginput_complex .ginput_right select,
.gf_wrapper .ginput_complex select {
width: 100%;
}

.gf_wrapper .field_sublabel_above .ginput_complex.ginput_container label,
.gf_wrapper .field_sublabel_below .ginput_complex.ginput_container label,
.gf_wrapper .field_sublabel_above div[class*=\"gfield_time_\"].ginput_container label,
.gf_wrapper .field_sublabel_below div[class*=\"gfield_time_\"].ginput_container label,
.gf_wrapper .field_sublabel_above div[class*=\"gfield_date_\"].ginput_container label,
.gf_wrapper .field_sublabel_below div[class*=\"gfield_date_\"].ginput_container label {
display: block;
font-size: .813em;
letter-spacing: .5pt;
white-space: nowrap;
}

.gf_wrapper ul.gfield_radio li label,
.gf_wrapper ul.gfield_checkbox li label {
display: -moz-inline-stack;
display: inline-block;
letter-spacing: inherit;
vertical-align: middle;
cursor: pointer;
}

.gf_wrapper .field_sublabel_above .ginput_complex.ginput_container label,
.gf_wrapper .field_sublabel_above div[class*=\"gfield_time_\"].ginput_container label {
margin: 9px 0 1px 1px;
}

.gf_wrapper ul.gf_fields:not(.top_label) .field_sublabel_above .ginput_container.ginput_container_name label,
.gf_wrapper ul.gf_fields:not(.top_label) .field_sublabel_above .ginput_container.ginput_container_email label,
.gf_wrapper ul.gf_fields:not(.top_label) .field_sublabel_above .ginput_container.ginput_container_password label,
.gf_wrapper ul.gf_fields:not(.top_label) .field_sublabel_above .ginput_container.ginput_container_time label {
margin-top: 0;
}

.gf_wrapper .field_sublabel_below .ginput_complex.ginput_container label,
.gf_wrapper .field_sublabel_below div[class*=\"gfield_time_\"].ginput_container label {
margin: 1px 0 9px 1px;
}

.gf_wrapper .top_label .field_sublabel_above label.gfield_label + .ginput_complex.ginput_container,
.gf_wrapper .top_label .field_sublabel_above label.gfield_label + div[class*=\"gfield_time_\"].ginput_container {
margin-top: 0;
}

body .gf_wrapper .top_label div.ginput_container {
margin-top: 8px;
}

body.gf_wrapper div.clear-multi {
display: -moz-inline-stack;
display: inline-block;
}

body .gf_wrapper ul li.field_description_below div.ginput_container_radio,
body .gf_wrapper ul li.field_description_below div.ginput_container_checkbox {
margin-top: 16px;
margin-bottom: 0;
}

.gf_wrapper .hidden_label .gfield_label {
clip: rect(1px, 1px, 1px, 1px);
position: absolute !important;
height: 1px;
width: 1px;
overflow: hidden;
}

.gfield.right_label,
.gfield.left_label {
padding-top: 10px;
}

.gf_wrapper li.hidden_label input {
margin-top: 12px;
}

.gf_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container input[type=text],
.gf_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container select {
margin-bottom: 12px;
}

.gf_wrapper label.screen-reader-text, .gf_wrapper label.hidden_sub_label {
clip: rect(1px, 1px, 1px, 1px);
position: absolute !important;
height: 1px;
width: 1px;
overflow: hidden;
}

.gf_wrapper input.small,
.gf_wrapper select.small,
.gf_wrapper input.medium,
.gf_wrapper select.medium,
.gf_wrapper input.large,
.gf_wrapper select.large,
.gf_wrapper input.large,
.gf_wrapper select.large {
width: 100%
}

.gf_wrapper input.datepicker_with_icon.small,
.gf_wrapper input.datepicker_with_icon.medium,
.gf_wrapper input.datepicker_with_icon.large {
width: calc(100% - 24px);
}

.gf_wrapper .gfield_error input.small,
.gf_wrapper .gfield_error select.small,
.gf_wrapper .gfield_error input.medium,
.gf_wrapper .gfield_error select.medium,
.gf_wrapper .gfield_error input.large,
.gf_wrapper .gfield_error select.large,
.gf_wrapper .gfield_error input.large,
.gf_wrapper .gfield_error select.large {
width: 100%;
}

.gf_wrapper .gfield_error input.datepicker_with_icon.small,
.gf_wrapper .gfield_error input.datepicker_with_icon.medium,
.gf_wrapper .gfield_error input.datepicker_with_icon.large {
width: calc(100% - 32px);
}

.gf_wrapper textarea.small {
height: 80px;
width: 100%;
}

.gf_wrapper textarea.medium {
height: 120px;
width: 100%;
}

.gf_wrapper textarea.large {
height: 160px;
width: 100%;
}

.gf_wrapper h2.gsection_title {
margin: 0 !important;
padding: 0 !important;
letter-spacing: normal !important;
}

.gf_wrapper .gsection .gfield_label,
.gf_wrapper h2.gsection_title,
.gf_wrapper h3.gform_title {
font-weight: 700;
font-size: 1.25em;
}

.gf_wrapper h3.gform_title {
letter-spacing: normal !important;
margin: 10px 0 6px 0;
}

.gf_wrapper li.gfield.field_description_below + li.gsection {
margin-top: 24px !important;
}

.gf_wrapper span.gform_description {
font-weight: 400;
display: block;
width: calc(100% - 16px);
margin-bottom: 16px;
}

.gf_wrapper .gsection {
border-bottom: 1px solid #CCC;
padding: 0 16px 8px 0;
margin: 28px 0 28px 0;
clear: both;
}

.gf_wrapper ul.gfield_checkbox li input[type=checkbox],
.gf_wrapper ul.gfield_radio li input[type=radio] {
width: auto !important;
}

.gf_wrapper .gfield_checkbox li,
.gf_wrapper .gfield_radio li {
position: relative;
}

.gf_wrapper ul.gfield_checkbox,
.gf_wrapper ul.gfield_radio {
margin: 6px 0;
padding: 0;
}

.gf_wrapper .gfield_checkbox li label,
.gf_wrapper .gfield_radio li label {
display: -moz-inline-stack;
display: inline-block;
padding: 0;
width: auto;
line-height: 1.5;
font-size: .875em;
vertical-align: middle;
max-width: 85%;
white-space: normal;
}

.gf_wrapper .gfield_checkbox li label {
margin: 0;
}

.gf_wrapper .gfield_radio li label {
margin: 2px 0 0 4px;
}

.gf_wrapper .gfield_checkbox li input[type=checkbox],
.gf_wrapper .gfield_radio li input[type=radio],
.gf_wrapper .gfield_checkbox li input {
display: -moz-inline-stack;
display: inline-block;
vertical-align: middle;
margin-left: 1px;
}

.gf_wrapper .description,
.gf_wrapper .gfield_description,
.gf_wrapper .gsection_description,
.gf_wrapper .instruction {
font-size: .813em;
line-height: inherit;
clear: both;
font-family: inherit;
letter-spacing: normal;
}

.gf_wrapper .description,
.gf_wrapper .gfield_description,
.gf_wrapper .gsection_description {
padding: 0 16px 0 0;
}

.gf_wrapper .field_description_below .gfield_description {
padding-top: 16px;
}

.gf_wrapper .field_sublabel_above .description,
.gf_wrapper .field_sublabel_above .gfield_description,
.gf_wrapper .field_sublabel_above .gsection_description {
margin-top: 9px;
}

.gf_wrapper .top_label .gsection_description {
width: 100%;
margin-bottom: 9px;
}

.gf_wrapper .gfield_description {
width: 100%;
}

.gf_wrapper .description_above .gfield_description {
padding: 0 0 10px 0;
}

.gfield_date_year+.gfield_description {
padding: 0;
}

.gf_wrapper .gfield_required {
color: #790000;
margin-left: 4px;
}

.gf_wrapper li.gfield.gfield_error,
.gf_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
background-color: rgba(255,223,224,.25);
margin-bottom: 6px !important;
border-top: 1px solid #C89797;
border-bottom: 1px solid #C89797;
padding-bottom: 6px;
padding-top: 8px;
box-sizing: border-box;
}

.gf_wrapper li.gfield.gfield_creditcard_warning {
padding: 16px 16px 14px 16px;
border-top: 2px solid #790000;
border-bottom: 4px solid #790000;
background-color: rgba(255, 223, 224, 0.25);
width: calc(100% - 16px);
}

.gf_wrapper li.gfield.gfield_error.gfield_creditcard_warning {
padding: 16px 16px 14px 16px;
}

.gf_wrapper li.gfield.gfield_creditcard_warning div.gfield_creditcard_warning_message {
font-size: .875em;
font-weight: 700;
font-family: inherit;
min-height: 25px;
color: #790000;
max-width: 100%;
position: relative;
}

.gf_wrapper li.gfield.gfield_creditcard_warning div.gfield_creditcard_warning_message span {
display: block;
padding: 0 0 14px 24px;
margin-bottom: 16px;
line-height: 1.5;
letter-spacing: .1pt;
border-bottom: 1px solid #790000;
text-transform: uppercase;
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSItMTA2NyAyODY1IDI0IDMyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IC0xMDY3IDI4NjUgMjQgMzI7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJLnN0MHtmaWxsOiM3OTAwMDA7fQ0KPC9zdHlsZT4NCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0tMTA1MywyODY1Yy01LjUsMC0xMCw0LjUtMTAsMTBoNGMwLTMuMywyLjctNiw2LTZjMy4zLDAsNiwyLjcsNiw2djJoLTIwdjE0YzAsMy4zLDIuNyw2LDYsNmgxMg0KCWMzLjMsMCw2LTIuNyw2LTZ2LTE2Qy0xMDQzLDI4NjkuNS0xMDQ3LjUsMjg2NS0xMDUzLDI4NjV6IE0tMTA0OSwyODkzaC0xMmMtMS4xLDAtMi0wLjktMi0ydi0xMGgxNnYxMA0KCUMtMTA0NywyODkyLjEtMTA0Ny45LDI4OTMtMTA0OSwyODkzeiBNLTEwNTMsMjg4N2MwLDEuMS0wLjksMi0yLDJzLTItMC45LTItMmMwLTEuMSwwLjktMiwyLTJTLTEwNTMsMjg4NS45LTEwNTMsMjg4N3oiLz4NCjwvc3ZnPg0K);
background-size: 1em auto;
background-repeat: no-repeat;
background-position: left center;
}

.gf_wrapper li.gfield.gfield_error.gfield_creditcard_warning div.gfield_creditcard_warning_message {
padding: 16px 16px 14px 16px;
}

li.gfield + li.gfield.gfield_creditcard_warning {
margin-top: 16px !important;
}

.gf_wrapper .top_label .gfield_error {
width: calc(100% - 2px);
}

.gf_wrapper .top_label .gfield_error input.large,
.gf_wrapper .top_label .gfield_error select.large,
.gf_wrapper .top_label .gfield_error textarea.textarea {
width: 100%;
}

.gf_wrapper .right_label .gfield_error input.large,
.gf_wrapper .right_label .gfield_error select.large,
.gf_wrapper .right_label .gfield_error textarea.textarea,
.gf_wrapper .left_label .gfield_error input.large,
.gf_wrapper .left_label .gfield_error select.large,
.gf_wrapper .left_label .gfield_error textarea.textarea {
width: 70%;
}

.gf_wrapper .gfield_error .gfield_label {
color: #790000;
}

.gf_wrapper li.gfield.gfield_error.gfield_contains_required {
padding-right: 0;
}

.gf_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_time_minute.ginput_container,
.gf_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_time_ampm.ginput_container {
margin-left: 0;
}

.gf_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description {
max-width: 100%;
padding-right: 16px;
}

.gf_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label,
.gf_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container {
margin-top: 12px
}

.gf_wrapper li.gfield.gfield_error.gfield_contains_required fieldset legend.gfield_label {
position: relative;
top: 12px;
}

.gf_wrapper div.validation_error {
color: #790000;
font-size: 1em;
font-weight: 700;
margin-bottom: 25px;
border-top: 2px solid #790000;
border-bottom: 2px solid #790000;
padding: 16px 0 16px 0;
clear: both;
width: 100%;
text-align: center;
}

.gf_wrapper ol.validation_list {
clear: both;
width: 100%;
margin-bottom: 25px;
color: #790000;
}

.gf_wrapper ol.validation_list li {
list-style-type: decimal !important;
}

.gf_wrapper ol.validation_list li a {
color: #790000;
}

.gf_wrapper ol.validation_list:after {
content: \"\";
}

.gf_wrapper div#error {
margin-bottom: 25px;
}

.gf_wrapper table.gfield_list tbody tr td.gfield_list_icons {
vertical-align: middle !important;
}

.gf_wrapper li.gfield fieldset {
margin: 0px;
padding: 0px;
display: block;
position: relative;
width: 100%;
}

.gf_wrapper li.gfield fieldset > * { width: auto }
.gf_wrapper li.gfield fieldset legend.gfield_label {
width: 100%;
line-height: 32px;
}

div.gf_page_steps+div.validation_error {
margin-top: 16px;
}

.gf_wrapper div.gfield_description.validation_error {
color: #790000;
font-weight: 700;
font-size: .875em;
line-height: 1.20;
margin-bottom: 16px;
}

.gf_wrapper .validation_message {
color: #790000;
font-weight: 700;
letter-spacing: normal;
}

.gf_wrapper li.gfield_error input:not([type='radio']):not([type='checkbox']):not([type='submit']):not([type='button']):not([type='image']):not([type='file']),
.gf_wrapper li.gfield_error textarea {
border: 1px solid #790000;
}

.gf_wrapper li.gfield_error div.ginput_complex.ginput_container label,
.gf_wrapper li.gfield_error ul.gfield_checkbox,
.gf_wrapper li.gfield_error ul.gfield_radio {
color: #790000;
}

.gf_wrapper .gform_footer {
padding: 16px 0 10px 0;
margin: 16px 0 0 0;
clear: both;
width: 100%;
}

.gf_wrapper .gform_footer input.button,
.gf_wrapper .gform_page_footer input.button,
.gf_wrapper .gform_footer input[type=submit],
.gf_wrapper .gform_page_footer input[type=submit] {
font-size: 1em;
width: 100%;
margin: 0 0 16px 0;
}

.gf_wrapper .gform_footer a.gform_save_link,
.gf_wrapper .gform_page_footer a.gform_save_link {
font-size: 1em;
display: block;
text-align: center;
}

.gf_wrapper .gform_footer input[type=image] {
padding: 0;
width: auto !important;
background: none !important;
border: none !important;
margin: 0 auto 16px auto !important;
display: block;
max-width: 100%;
}

.gf_wrapper .ginput_complex .ginput_left,
.gf_wrapper .ginput_complex .ginput_right,
.gf_wrapper .ginput_complex .ginput_full {
min-height: 45px;
}

.gf_wrapper .ginput_complex .ginput_full input[type=text],
.gf_wrapper .ginput_complex .ginput_full input[type=url],
.gf_wrapper .ginput_complex .ginput_full input[type=email],
.gf_wrapper .ginput_complex .ginput_full input[type=tel],
.gf_wrapper .ginput_complex .ginput_full input[type=number],
.gf_wrapper .ginput_complex .ginput_full input[type=password] {
width: 100%;
}

.gf_wrapper .gfield_error .ginput_complex .ginput_full input[type=text],
.gf_wrapper .gfield_error .ginput_complex .ginput_full input[type=url],
.gf_wrapper .gfield_error .ginput_complex .ginput_full input[type=email],
.gf_wrapper .gfield_error .ginput_complex .ginput_full input[type=tel],
.gf_wrapper .gfield_error .ginput_complex .ginput_full input[type=number],
.gf_wrapper .gfield_error .ginput_complex .ginput_full input[type=password],
.gf_wrapper .gfield_error .ginput_complex .ginput_full select {
width: 100%;
}

.gf_wrapper .gfield_checkbox li,
.gf_wrapper .gfield_radio li {
margin: 0 0 16px 0;
line-height: 1.2;
}

.gf_wrapper ul.gfield_radio li input[type=\"radio\"]:checked+label,
.gf_wrapper ul.gfield_checkbox li input[type=\"checkbox\"]:checked+label {
font-weight: 700;
}

.gf_wrapper input.datepicker.datepicker_with_icon {
margin-right: 4px !important;
display: -moz-inline-stack;
display: inline-block;
}

.gf_wrapper input[type=hidden],
.gf_wrapper input.gform_hidden,
.gf_wrapper .gform_hidden,
.gf_wrapper .gf_hidden {
display: none !important;
max-height: 1px !important;
overflow: hidden;
}

.gf_wrapper .gfield_visibility_hidden,
.gf_wrapper .gf_invisible {
visibility: hidden;
position: absolute;
left: -9999px;
}

.gf_wrapper .ginput_full br,
.gf_wrapper .ginput_left br,
.gf_wrapper .ginput_right br {
display: none !important;
}

.gf_wrapper ul.gfield_checkbox li,
.gf_wrapper ul.gfield_radio li {
padding: 0 !important;
}

.gf_wrapper ul.gfield_radio li input+input {
margin-left: 4px;
}

.gf_wrapper ul.gfield_radio li input[value=gf_other_choice] {
margin-right: 6px;
margin-top: 4px;
}

.gf_wrapper .gfield_description + .gf_wrapper .gfield_description.validation_message {
margin-top: 6px;
}

.gf_wrapper .ginput_container.ginput_list + .gfield_description.validation_message {
margin-top: 0;
}

.gf_wrapper li.gfield_html {
max-width: 100%;
}

.gf_wrapper .gfield_html.gfield_no_follows_desc {
margin-top: 10px;
}

body .gf_wrapper ul li.gfield.gfield_html img {
max-width: 100%  !important;
}

.gf_wrapper .gform_ajax_spinner {
padding-left: 10px;
}

.gform_validation_container,
.gf_wrapper .gform_validation_container,
body .gf_wrapper li.gform_validation_container,
body .gf_wrapper .gf_body ul.gf_fields li.gfield.gform_validation_container,
body .gf_wrapper ul.gf_fields li.gfield.gform_validation_container {
display: none !important;
position: absolute !important;
left: -9000px;
}

.gf_wrapper .gfield_captcha_input_container {
padding-top: 3px;
}

.gf_wrapper .simple_captcha_small input {
width: 64px;
}

.gf_wrapper .simple_captcha_medium input {
width: 96px;
}

.gf_wrapper .simple_captcha_large input {
width: 128px;
}

.gf_wrapper .gf_wrapper .left_label .simple_captcha_small,
.gf_wrapper .right_label .simple_captcha_small,
.gf_wrapper .left_label .simple_captcha_medium,
.gf_wrapper .right_label .simple_captcha_medium,
.gf_wrapper .left_label .simple_captcha_large,
.gf_wrapper .right_label .simple_captcha_large {
margin-left: 32%;
}

.gf_wrapper .gfield_captcha_container img.gfield_captcha {
border: none !important;
background: none !important;
float: none !important;
margin: 0 !important;
padding: 0 !important;
}

.gf_wrapper .math_small input {
width: 70px;
}

.gf_wrapper .math_medium input {
width: 510px;
}

.gf_wrapper .math_large input {
width: 612px;
}

.gf_wrapper .left_label .math_small,
.gf_wrapper .right_label .math_small,
.gf_wrapper .left_label .math_medium,
.gf_wrapper .right_label .math_medium,
.gf_wrapper .left_label .math_large,
.gf_wrapper .right_label .math_large {
margin-left: 32%;
}


.gf_wrapper div.charleft {
font-size: .688em;
margin-top: 4px;
color: #B7B7B7;
width: 92% !important;
white-space: nowrap !important;
}

.gf_wrapper div.charleft[style] {
width: 92% !important;
}

.gf_wrapper .left_label div.charleft,
.gf_wrapper .right_label div.charleft {
margin-left: 32%;
}

.gf_wrapper div.charleft.ginput_counter_tinymce{
border:  1px solid #eee;
border-width: 1px 0 0;
padding: 4px 9px;
width: 100% !important;
}

.gf_wrapper div.charleft.warningTextareaInfo {
color: #A1A1A1;
}

.gf_wrapper div.charleft.ginput_counter_error {
color: red;
}

.gf_wrapper li.gf_hide_charleft div.charleft {
display: none !important;
}

.gf_submission_limit_message {
color: #790000;
font-size: 1.375em;
}

.gf_wrapper .ginput_price {
filter: alpha(opacity=70);
-moz-opacity: .7;
-khtml-opacity: .7;
opacity: .7;
}

.gf_wrapper span.ginput_total {
color: #060;
font-size: inherit;
}

.gf_wrapper .top_label span.ginput_total {
margin: 8px 0;
}

.gf_wrapper span.ginput_product_price_label {
margin-right: 2px;
}

.gf_wrapper span.ginput_product_price {
color: #900;
}

.gf_wrapper span.ginput_quantity_label {
margin-left: 10px;
margin-right: 2px;
}

.gf_wrapper input.ginput_quantity[type=text] {
width: 3rem;
}

.gf_wrapper input.ginput_quantity[type=number] {
width: 4rem;
}

.gf_wrapper .gform_page_footer {
margin: 14px 0;
width: 100%;
border-top: 1px dotted #CCC;
padding: 16px 0 0 0;
clear: both;
}

.gf_wrapper .gform_page_footer.left_label,
.gf_wrapper .gform_page_footer.right_label {
padding: 16px 0 0 29%;
}

.gf_wrapper .gform_page_footer .button.gform_previous_button, .gf_wrapper .gform_page_footer .button.gform_next_button {
display: -moz-inline-stack;
display: inline-block;
}

.gf_wrapper .gform_page_footer .button.gform_previous_button {
margin-bottom: 8px;
}

.gf_wrapper .gf_progressbar_wrapper {
clear: both;
width: 100%;
margin: 0 0 16px 0;
padding: 0 0 16px 0;
}

.gf_wrapper .gf_progressbar_wrapper h3.gf_progressbar_title {
font-size: .813em;
line-height: 1 !important;
margin: 0 0 8px 12px !important;
padding: 0 !important;
clear: both;
filter: alpha(opacity=60);
-moz-opacity: .6;
-khtml-opacity: .6;
opacity: .6;
}

.gf_wrapper .gf_progressbar {
padding: 10px;
position: relative;
background-color:rgba(0, 0, 0, 0.1);
-moz-border-radius: 25px;
-webkit-border-radius: 25px;
border-radius: 25px;
-webkit-box-shadow: inset 0px 0px 1px 1px rgba(0,0,0,0.05);
-moz-box-shadow: inset 0px 0px 1px 1px rgba(0,0,0,0.05);
box-shadow: inset 0px 0px 1px 1px rgba(0,0,0,0.05);
width: 100%;
}

.gf_wrapper .gf_progressbar_percentage {
height: 24px;
text-align: right;
font-family: helvetica,arial,sans-serif;
font-size: .813em !important;
text-shadow: 0 1px 1px rgba(0,0,0,.50);
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
z-index:999;
vertical-align: middle;
background: repeating-linear-gradient( -45deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 10px, rgba(0, 0, 0, 0.1) 10px, rgba(0, 0, 0, 0.1) 20px),linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
}

.gf_wrapper .gf_progressbar:after {
content:\"\";
display: block;
width: 100%;
z-index:990;
height: 24px;
margin-top:-24px;
background-color:rgba(0, 0, 0, 0.1);
border-top-right-radius: 20px;
border-bottom-right-radius: 20px;
border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
-webkit-box-shadow: inset 0px 0px 2px 2px rgba(0,0,0,0.05);
-moz-box-shadow: inset 0px 0px 2px 2px rgba(0,0,0,0.05);
box-shadow: inset 0px 0px 2px 2px rgba(0,0,0,0.05);
}

.gf_wrapper .gf_progressbar_percentage.percentbar_100 {
border-top-right-radius: 20px;
border-bottom-right-radius: 20px;
}

.gf_wrapper .gf_progressbar_percentage span {
display: block;
width: auto;
float: right;
margin-right: 5px;
margin-left: 5px;
line-height: 1.8;
}

.gf_wrapper .gf_progressbar_percentage.percentbar_0 span {
color: #959595;
text-shadow: none;
float: none !important;
margin-left: 12px;
word-wrap: normal;
}

.gf_wrapper .percentbar_blue {
background-color: #036493;
color: #FFF;
}

.gf_wrapper .percentbar_gray {
background-color: #7C7C7C ;
color: #FFF;
}

.gf_wrapper .percentbar_green {
background-color: #88B831;
color: #FFF;
}

.gf_wrapper .percentbar_orange {
background-color: #FF7120;
color: #FFF;
}

.gf_wrapper .percentbar_red {
background-color: #FF2A1A;
color: #FFF;
}

.gf_wrapper .gf_page_steps {
width: 100%;
margin: 0 0 8px 0;
padding: 0 0 4px 0;
border-bottom: 1px dotted #CCC;
}

.gf_wrapper .gf_step {
width: 100%;
margin: 24px 24px 24px 0;
font-size: .875em;
height: 14px;
line-height: 1.25 !important;
filter: alpha(opacity=20);
-moz-opacity: .2;
-khtml-opacity: .2;
opacity: .2;
font-family: inherit;
}

.gf_wrapper .gf_step span.gf_step_number {
font-size: 1.25em;
font-family: arial,sans-serif;
margin-right: 4px;
}

.gf_wrapper .gf_step span.gf_step_number,
.gf_wrapper .gf_step span.gf_step_label {
display: -moz-inline-stack;
display: inline-block;
vertical-align: middle;
}

.gf_wrapper .gf_step.gf_step_active {
filter: alpha(opacity=100);
-moz-opacity: 1.0;
-khtml-opacity: 1.0;
opacity: 1.0;
}

.gf_wrapper .gf_step_clear {
display: block;
clear: both;
height: 1px;
overflow: hidden;
}

.gf_wrapper .gfield_password_strength {
border: 1px solid #DDD;
margin-top: 18px;
margin-bottom: 18px;
line-height: 1.8;
padding: 10px 5px;
text-align: center;
background-color: #EEE;
border-bottom: 3px solid #DDD;
}

.gf_wrapper ul.top_label li.gfield.gfield_error.gfield_contains_required .gfield_password_strength {
margin-right: 16px;
}

.gf_wrapper ul.left_label li.gfield .gfield_password_strength,
.gf_wrapper ul.right_label li.gfield .gfield_password_strength {
margin-top: 18px;
margin-bottom: 18px;
width: 100%;
}

.gf_wrapper .gfield_password_strength.bad {
background-color: #FFB78C;
border-color: #FF853C;
border-bottom: 3px solid #FF853C;
}

.gf_wrapper .gfield_password_strength.good {
background-color: #FFEC8b;
border-color: #FC0;
border-bottom: 3px solid #FC0;
}

.gf_wrapper .gfield_password_strength.short,
.gf_wrapper .gfield_password_strength.mismatch {
background-color: #FFA0A0;
border-color: #f04040;
border-bottom: 3px solid #f04040;
}

.gf_wrapper .gfield_password_strength.strong {
background-color: #C3FF88;
border-color: #8DFF1C;
border-bottom: 3px solid #8DFF1C;
}

.gf_wrapper table.gfield_list,
.gf_wrapper table.gfield_list caption,
.gf_wrapper table.gfield_list tbody,
.gf_wrapper table.gfield_list tfoot,
.gf_wrapper table.gfield_list thead,
.gf_wrapper table.gfield_list tr,
.gf_wrapper table.gfield_list th,
.gf_wrapper table.gfield_list td {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}

.gf_wrapper table.gfield_list {
border-spacing: 0;
border-collapse: collapse;
}

/* fix for twentyfifteen theme table layout issue */

.gf_wrapper table.gfield_list {
table-layout: auto !important ;
}

.gf_wrapper table.gfield_list thead th {
font-weight: 700;
text-align: left;
}

.gf_wrapper table.gfield_list colgroup {
width: 100%;
display: block;
}

.gf_wrapper li.gfield.gfield_error table.gfield_list thead th {
color: #790000;
}

.gf_wrapper table.gfield_list thead,
.gf_wrapper table.gfield_list tr {
padding: 0;
margin: 0;
}

.gf_wrapper table.gfield_list th,
.gf_wrapper table.gfield_list td {
padding: 4px 0 4px 0;
}

.gf_wrapper ul.gf_fields:not(.top_label) table.gfield_list th {
padding: 0 0 4px 0;
}

.gf_wrapper table.gfield_list th + th,
.gf_wrapper table.gfield_list td + td {
padding: 0 0 0 16px;
}

.gf_wrapper .gfield_list {
width: 100%;
}

.gf_wrapper .gfield_list td.gfield_list_cell input {
width: 100%;
}

.gfield_icon_disabled {
cursor: default !important;
filter: alpha(opacity=60);
-moz-opacity: .6;
-khtml-opacity: .6;
opacity: .6;
}

.gf_wrapper table.gfield_list tr td.gfield_list_icons {
width: 48px !important;
padding: 0 0 0 4px  !important;
box-sizing: border-box;
}

.gf_wrapper table.gfield_list td.gfield_list_icons img {
display: -moz-inline-stack;
display: inline-block;
vertical-align: middle;
}

.gf_wrapper select.chosen-select {
visibility: hidden;
height: 28px !important;
min-height: 28px !important;
}

.gf_wrapper .chosen-container {
position: relative;
display: inline-block;
vertical-align: middle;
font-size: inherit;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}

.gf_wrapper .chosen-container,
.gf_wrapper .chosen-container * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

.gf_wrapper .chosen-container.chosen-container-multi .chosen-choices {
min-height: 28px !important;
}

.gf_wrapper .ginput_container.ginput_container_multiselect .chosen-container.chosen-container-multi ul.chosen-choices li.search-field input.default {
height: 24px;
}

.gf_wrapper .chosen-container .chosen-drop {
position: absolute;
top: 100%;
left: -9999px;
z-index: 1010;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
border: 1px solid #AAA;
border-top: 0;
background: #FFF;
box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
}

.gf_wrapper .chosen-container.chosen-with-drop .chosen-drop {
left: 0;
}
.gf_wrapper .chosen-container a {
cursor: pointer;
}
.gf_wrapper .chosen-container-single .chosen-single {
position: relative;
display: block;
overflow: hidden;
padding: 0 0 0 8px;
height: 23px;
border: 1px solid #AAA;
border-radius: 5px;
background-color: #FFF;
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #FFF), color-stop(50%, #F6F6F6), color-stop(52%, #EEE), color-stop(100%, #F4F4F4));
background: -webkit-linear-gradient(top, #FFF 20%, #F6F6F6 50%, #EEE 52%, #F4F4F4 100%);
background: -moz-linear-gradient(top, #FFF 20%, #F6F6F6 50%, #EEE 52%, #F4F4F4 100%);
background: -o-linear-gradient(top, #FFF 20%, #F6F6F6 50%, #EEE 52%, #F4F4F4 100%);
background: linear-gradient(top, #FFF 20%, #F6F6F6 50%, #EEE 52%, #F4F4F4 100%);
background-clip: padding-box;
box-shadow: 0 0 3px white inset, 0 1px 1px rgba(0, 0, 0, .1);
color: #444;
text-decoration: none;
white-space: nowrap;
line-height: 24px;
}

.gf_wrapper .chosen-container-single .chosen-default {
color: #999;
}

.gf_wrapper .chosen-container-single .chosen-single span {
display: block;
overflow: hidden;
margin-right: 26px;
text-overflow: ellipsis;
white-space: nowrap;
}

.gf_wrapper .chosen-container-single .chosen-single-with-deselect span {
margin-right: 38px;
}

.gf_wrapper .chosen-container-single .chosen-single abbr {
position: absolute;
top: 6px;
right: 26px;
display: block;
width: 12px;
height: 12px;
background: url('../images/chosen-sprite.png') -42px 1px no-repeat;
font-size: 1px;
}

.gf_wrapper .chosen-container-single .chosen-single abbr:hover {
background-position: -42px -10px;
}

.gf_wrapper .chosen-container-single.chosen-disabled .chosen-single abbr:hover {
background-position: -42px -10px;
}

.gf_wrapper .chosen-container-single .chosen-single div {
position: absolute;
top: 0;
right: 0;
display: block;
width: 18px;
height: 100%;
}

.gf_wrapper .chosen-container-single .chosen-single div b {
display: block;
width: 100%;
height: 100%;
background: url('../images/chosen-sprite.png') no-repeat 0px 2px;
}

.gf_wrapper .chosen-container-single .chosen-search {
position: relative;
z-index: 1010;
margin: 0;
padding: 3px 4px;
white-space: nowrap;
}

.gf_wrapper .chosen-container-single .chosen-search input[type=\"text\"] {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 1px 0;
padding: 4px 20px 4px 5px;
width: 100%;
height: auto;
border: 1px solid #AAA;
background: white url('../images/chosen-sprite.png') no-repeat 100% -20px;
background: url('../images/chosen-sprite.png') no-repeat 100% -20px;
font-size: 1em;
font-family: sans-serif;
line-height: normal;
border-radius: 0;
}

.gf_wrapper .chosen-container-single .chosen-drop {
margin-top: -1px;
border-radius: 0 0 4px 4px;
background-clip: padding-box;
}

.gf_wrapper .chosen-container-single.chosen-container-single-nosearch .chosen-search {
position: absolute;
left: -9999px;
}

.gf_wrapper .chosen-container .chosen-results {
position: relative;
overflow-x: hidden;
overflow-y: auto;
margin: 0 4px 4px 0;
padding: 0 0 0 4px;
max-height: 240px;
-webkit-overflow-scrolling: touch;
}

.gf_wrapper .chosen-container .chosen-results li {
display: none;
margin: 0;
padding: 5px 6px;
list-style: none;
line-height: 15px;
-webkit-touch-callout: none;
}

.gf_wrapper .chosen-container .chosen-results li.active-result {
display: list-item;
cursor: pointer;
}

.gf_wrapper .chosen-container .chosen-results li.disabled-result {
display: list-item;
color: #CCC;
cursor: default;
}

.gf_wrapper .chosen-container .chosen-results li.highlighted {
background-color: #3875d7;
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
background-image: -webkit-linear-gradient(#3875d7 20%, #2a62bc 90%);
background-image: -moz-linear-gradient(#3875d7 20%, #2a62bc 90%);
background-image: -o-linear-gradient(#3875d7 20%, #2a62bc 90%);
background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
color: #FFF;
}

.gf_wrapper .chosen-container .chosen-results li.no-results {
display: list-item;
background: #F4F4F4;
}

.gf_wrapper .chosen-container .chosen-results li.group-result {
display: list-item;
font-weight: 700;
cursor: default;
}

.gf_wrapper .chosen-container .chosen-results li.group-option {
padding-left: 15px;
}

.gf_wrapper .chosen-container .chosen-results li em {
font-style: normal;
text-decoration: underline;
}

.gf_wrapper .chosen-container-multi .chosen-choices {
position: relative;
overflow: hidden;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
width: 100%;
height: auto !important;
height: 1%;
border: 1px solid #AAA;
background-color: #FFF;
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(1%, #EEE), color-stop(15%, #FFF));
background-image: -webkit-linear-gradient(#EEE 1%, #FFF 15%);
background-image: -moz-linear-gradient(#EEE 1%, #FFF 15%);
background-image: -o-linear-gradient(#EEE 1%, #FFF 15%);
background-image: linear-gradient(#EEE 1%, #FFF 15%);
cursor: text;
}

.gf_wrapper .chosen-container-multi .chosen-choices li {
float: left;
list-style: none;
}

.gf_wrapper .chosen-container-multi .chosen-choices li.search-field {
margin: 0;
padding: 0;
white-space: nowrap;
}

.gf_wrapper .chosen-container-multi .chosen-choices li.search-field input[type=\"text\"] {
margin: 1px 0;
padding: 5px;
height: 15px;
border: 0 !important;
background: transparent !important;
box-shadow: none;
color: #666;
font-size: 100%;
font-family: sans-serif;
line-height: normal;
border-radius: 0;
}

.gf_wrapper .chosen-container-multi .chosen-choices li.search-field .default {
color: #999;
}

.gf_wrapper .chosen-container-multi .chosen-choices li.search-choice {
position: relative;
margin: 5px 0 5px 5px !important;
padding: 3px 20px 3px 5px;
border: 1px solid #AAA;
border-radius: 3px;
background-color: #E4E4E4;
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #F4F4F4), color-stop(50%, #F0F0F0), color-stop(52%, #E8E8E8), color-stop(100%, #EEE));
background-image: -webkit-linear-gradient(#F4F4F4 20%, #F0F0F0 50%, #E8E8E8 52%, #EEE 100%);
background-image: -moz-linear-gradient(#F4F4F4 20%, #F0F0F0 50%, #E8E8E8 52%, #EEE 100%);
background-image: -o-linear-gradient(#F4F4F4 20%, #F0F0F0 50%, #E8E8E8 52%, #EEE 100%);
background-image: linear-gradient(#F4F4F4 20%, #F0F0F0 50%, #E8E8E8 52%, #EEE 100%);
background-clip: padding-box;
box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, .05);
color: #333;
line-height: 13px;
cursor: default;
}

.gf_wrapper .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
position: absolute;
top: 4px;
right: 3px;
display: block;
width: 12px;
height: 12px;
background: url('../images/chosen-sprite.png') -42px 1px no-repeat;
font-size: 1px;
}

.gf_wrapper .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
background-position: -42px -10px;
}

.gf_wrapper .chosen-container-multi .chosen-choices li.search-choice-disabled {
padding-right: 5px;
border: 1px solid #CCC;
background-color: #E4E4E4;
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #F4F4F4), color-stop(50%, #F0F0F0), color-stop(52%, #E8E8E8), color-stop(100%, #EEE));
background-image: -webkit-linear-gradient(top, #F4F4F4 20%, #F0F0F0 50%, #E8E8E8 52%, #EEE 100%);
background-image: -moz-linear-gradient(top, #F4F4F4 20%, #F0F0F0 50%, #E8E8E8 52%, #EEE 100%);
background-image: -o-linear-gradient(top, #F4F4F4 20%, #F0F0F0 50%, #E8E8E8 52%, #EEE 100%);
background-image: linear-gradient(top, #F4F4F4 20%, #F0F0F0 50%, #E8E8E8 52%, #EEE 100%);
color: #666;
}

.gf_wrapper .chosen-container-multi .chosen-choices li.search-choice-focus {
background: #D4D4D4;
}

.gf_wrapper .chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close {
background-position: -42px -10px;
}

.gf_wrapper .chosen-container-multi .chosen-results {
margin: 0;
padding: 0;
}

.gf_wrapper .chosen-container-multi .chosen-drop .result-selected {
display: list-item;
color: #CCC;
cursor: default;
}

.gf_wrapper .chosen-container-active .chosen-single {
border: 1px solid #5897FB;
box-shadow: 0 0 5px rgba(0, 0, 0, .3);
}

.gf_wrapper .chosen-container-active.chosen-with-drop .chosen-single {
border: 1px solid #AAA;
-moz-border-radius-bottomright: 0;
border-bottom-right-radius: 0;
-moz-border-radius-bottomleft: 0;
border-bottom-left-radius: 0;
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #EEE), color-stop(80%, #FFF));
background-image: -webkit-linear-gradient(#EEE 20%, #FFF 80%);
background-image: -moz-linear-gradient(#EEE 20%, #FFF 80%);
background-image: -o-linear-gradient(#EEE 20%, #FFF 80%);
background-image: linear-gradient(#EEE 20%, #FFF 80%);
box-shadow: 0 1px 0 #fff inset;
}

.gf_wrapper .chosen-container-active.chosen-with-drop .chosen-single div {
border-left: none;
background: transparent;
}

.gf_wrapper .chosen-container-active.chosen-with-drop .chosen-single div b {
background-position: -18px 2px;
}

.gf_wrapper .chosen-container-active .chosen-choices {
border: 1px solid #5897FB;
box-shadow: 0 0 5px rgba(0, 0, 0, .3);
}

.gf_wrapper .chosen-container-active .chosen-choices li.search-field input[type=\"text\"] {
color: #111 !important;
}

.gf_wrapper .chosen-disabled {
opacity: .5 !important;
cursor: default;
}

.gf_wrapper .chosen-disabled .chosen-single {
cursor: default;
}

.gf_wrapper .chosen-disabled .chosen-choices .search-choice .search-choice-close {
cursor: default;
}

.gf_wrapper .chosen-rtl {
text-align: right;
}

.gf_wrapper .chosen-rtl .chosen-single {
overflow: visible;
padding: 0 8px 0 0;
}

.gf_wrapper .chosen-rtl .chosen-single span {
margin-right: 0;
margin-left: 26px;
direction: rtl;
}

.gf_wrapper .chosen-rtl .chosen-single-with-deselect span {
margin-left: 38px;
}

.gf_wrapper .chosen-rtl .chosen-single div {
right: auto;
left: 3px;
}

.gf_wrapper .chosen-rtl .chosen-single abbr {
right: auto;
left: 26px;
}

.gf_wrapper .chosen-rtl .chosen-choices li {
float: right;
}

.gf_wrapper .chosen-rtl .chosen-choices li.search-field input[type=\"text\"] {
direction: rtl;
}

.gf_wrapper .chosen-rtl .chosen-choices li.search-choice {
margin: 3px 5px 3px 0;
padding: 3px 5px 3px 19px;
}

.gf_wrapper .chosen-rtl .chosen-choices li.search-choice .search-choice-close {
right: auto;
left: 4px;
}

.gf_wrapper .chosen-rtl.chosen-container-single-nosearch .chosen-search, .gf_wrapper .chosen-rtl .chosen-drop {
left: 9999px;
}

.gf_wrapper .chosen-rtl.chosen-container-single .chosen-results {
margin: 0 0 4px 4px;
padding: 0 4px 0 0;
}

.gf_wrapper .chosen-rtl .chosen-results li.group-option {
padding-right: 15px;
padding-left: 0;
}

.gf_wrapper .chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div {
border-right: none;
}

.gf_wrapper .chosen-rtl .chosen-search input[type=\"text\"] {
padding: 4px 5px 4px 20px;
background: white url('../images/chosen-sprite.png') no-repeat -30px -20px;
background: url('../images/chosen-sprite.png') no-repeat -30px -20px;
direction: rtl;
}

.gf_wrapper .chosen-rtl.chosen-container-single .chosen-single div b {
background-position: 6px 2px;
}

.gf_wrapper .chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
background-position: -12px 2px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi) {
.gf_wrapper .chosen-rtl .chosen-search input[type=\"text\"],
.gf_wrapper .chosen-container-single .chosen-single abbr,
.gf_wrapper .chosen-container-single .chosen-single div b,
.gf_wrapper .chosen-container-multi .chosen-choices .search-choice .search-choice-close,
.gf_wrapper .chosen-container .chosen-results-scroll-down span,
.gf_wrapper .chosen-container .chosen-results-scroll-up span {
background-image: url('../images/chosen-sprite-2x.png') !important;
background-position: 0 0;
background-size: 52px 37px !important;
background-repeat: no-repeat !important;
}
}

.gf_wrapper .gform_card_icon_container {
margin: 8px 0 6px 0;
height: 32px;
}

.gf_wrapper div.gform_card_icon {
margin-right: 4px;
text-indent: -9000px;
background-image: url(../images/gf-creditcard-icons.png);
background-repeat: no-repeat;
width: 36px;
height: 32px;
float: left;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style1 div.gform_card_icon.gform_card_icon_visa {
background-position: 0 0;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style1 div.gform_card_icon.gform_card_icon_selected.gform_card_icon_visa { background-position: 0 -32px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style1 div.gform_card_icon.gform_card_icon_inactive.gform_card_icon_visa { background-position: 0 -64px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style1 div.gform_card_icon.gform_card_icon_mastercard {
background-position: -36px 0;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style1 div.gform_card_icon.gform_card_icon_selected.gform_card_icon_mastercard {
background-position: -36px -32px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style1 div.gform_card_icon.gform_card_icon_inactive.gform_card_icon_mastercard {
background-position: -36px -64px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style1 div.gform_card_icon.gform_card_icon_amex {
background-position: -72px 0;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style1 div.gform_card_icon.gform_card_icon_selected.gform_card_icon_amex {
background-position: -72px -32px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style1 div.gform_card_icon.gform_card_icon_inactive.gform_card_icon_amex {
background-position: -72px -64px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style1 div.gform_card_icon.gform_card_icon_discover {
background-position: -108px 0;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style1 div.gform_card_icon.gform_card_icon_selected.gform_card_icon_discover {
background-position: -108px -32px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style1 div.gform_card_icon.gform_card_icon_inactive.gform_card_icon_discover {
background-position: -108px -64px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style1 div.gform_card_icon.gform_card_icon_maestro {
background-position: -144px 0;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style1 div.gform_card_icon.gform_card_icon_selected.gform_card_icon_maestro {
background-position: -144px -32px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style1 div.gform_card_icon.gform_card_icon_inactive.gform_card_icon_maestro {
background-position: -144px -64px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style1 div.gform_card_icon.gform_card_icon_jcb {
background-position: -180px 0;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style1 div.gform_card_icon.gform_card_icon_selected.gform_card_icon_jcb {
background-position: -180px -32px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style1 div.gform_card_icon.gform_card_icon_inactive.gform_card_icon_jcb {
background-position: -180px -64px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style2 div.gform_card_icon.gform_card_icon_visa {
background-position: 0 -192px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style2 div.gform_card_icon.gform_card_icon_selected.gform_card_icon_visa {
background-position: 0 -224px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style2 div.gform_card_icon.gform_card_icon_inactive.gform_card_icon_visa {
background-position: 0 -256px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style2 div.gform_card_icon.gform_card_icon_mastercard {
background-position: -36px -192px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style2 div.gform_card_icon.gform_card_icon_selected.gform_card_icon_mastercard {
background-position: -36px -224px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style2 div.gform_card_icon.gform_card_icon_inactive.gform_card_icon_mastercard {
background-position: -36px -256px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style2 div.gform_card_icon.gform_card_icon_amex {
background-position: -72px -192px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style2 div.gform_card_icon.gform_card_icon_selected.gform_card_icon_amex {
background-position: -72px -224px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style2 div.gform_card_icon.gform_card_icon_inactive.gform_card_icon_amex {
background-position: -72px -256px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style2 div.gform_card_icon.gform_card_icon_discover {
background-position: -108px -192px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style2 div.gform_card_icon.gform_card_icon_selected.gform_card_icon_discover {
background-position: -108px -224px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style2 div.gform_card_icon.gform_card_icon_inactive.gform_card_icon_discover {
background-position: -108px -256px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style2 div.gform_card_icon.gform_card_icon_maestro {
background-position: -144px -192px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style2 div.gform_card_icon.gform_card_icon_selected.gform_card_icon_maestro {
background-position: -144px -224px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style2 div.gform_card_icon.gform_card_icon_inactive.gform_card_icon_maestro {
background-position: -144px -256px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style2 div.gform_card_icon.gform_card_icon_jcb {
background-position: -180px -192px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style2 div.gform_card_icon.gform_card_icon_selected.gform_card_icon_jcb {
background-position: -180px -224px;
}

.gf_wrapper .gform_card_icon_container.gform_card_icon_style2 div.gform_card_icon.gform_card_icon_inactive.gform_card_icon_jcb {
background-position: -180px -256px;
}

.gform_card_icon_container input[type=radio]#gform_payment_method_creditcard {
float: left;
position: relative;
top: 4px!important;
}

.gf_wrapper .ginput_complex .ginput_cardinfo_right {
min-width: 85px !important;
}

.gf_wrapper .ginput_complex .ginput_cardinfo_left label, .gf_wrapper .ginput_complex .ginput_cardinfo_right label {
white-space: nowrap !important;
}

.gf_wrapper .ginput_complex span.ginput_cardextras {
display: block;
overflow: hidden;
}

.gf_wrapper .ginput_complex .ginput_cardinfo_left span.ginput_card_expiration_container {
position: relative;
display: block;
min-width: 160px !important;
}

.gf_wrapper .ginput_complex .ginput_cardinfo_left span.ginput_card_expiration_container select {
margin-bottom: 8px;
}

.gf_wrapper .ginput_complex .ginput_cardinfo_right input.ginput_card_security_code {
max-width: 50% !important
}

.gf_wrapper .ginput_complex .ginput_cardinfo_right span.ginput_card_security_code_icon {
width: 32px;
height: 23px;
background-image: url(../images/gf-creditcard-icons.png);
background-repeat: no-repeat;
background-position: 0 -128px;
position: relative;
top: -1px;
left: 6px;
display: -moz-inline-stack;
display: inline-block;
}

.gf_wrapper .gform_fileupload_multifile .gform_drop_area {
padding: 24px;
border: 1px dashed #CCC;
text-align: center;
color: #AAA;
margin-bottom: 16px;
background: rgba(0, 0, 0, 0.02);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}

.gf_wrapper span.gform_drop_instructions {
display: block;
margin-bottom: 8px;
}

.gform_delete {
vertical-align: middle;
cursor: pointer;
}

.gf_wrapper .copy_values_option_container .copy_values_enabled {
width: auto;
}

.gf_wrapper li.field_sublabel_above .ginput_complex input[type=text] {
margin-bottom: 1px;
}

.gf_wrapper .form_saved_message{
margin: 16px 0 16px 0;
width: 100%;
font-size: 1em;
line-height: 1.8;
border: 2px solid #91AFC7;
background-color: #E3F3F3;
text-align: center;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}

.gf_wrapper .form_saved_message form{
text-align: center;
}

.gf_wrapper .form_saved_message span:first-child {
display: block;
padding: 28px 16px 28px 16px;
}

.form_saved_message a.resume_form_link {
word-wrap: break-word;
}

.form_saved_message a.resume_form_link:before,
.form_saved_message a.resume_form_link:after {
content: \"\";
display: block;
}

.form_saved_message a.resume_form_link:before {
margin-top: 12px;
}

.form_saved_message a.resume_form_link:after {
margin-bottom: 12px;
}

.form_saved_message br + br,
.form_saved_message a + br {
display: none;
}

.form_saved_message .form_saved_message_emailform {
margin: 16px 0 0 0;
}

div.form_saved_message div.form_saved_message_emailform form input[type=text] {
line-height: 2.25;
height: 24px;
margin-bottom: 4px;
}

div.form_saved_message div.form_saved_message_emailform form input[type=submit] {
margin: 12px auto 0 auto;
display: block;
}

.form_saved_message .form_saved_message_emailform .validation_message {
color: #790000;
}

.form_saved_message_sent {
margin: 16px 0 16px 0;
width: 100%;
font-size: 1em;
border: 2px solid #CFE2C0;
background-color: #E9FFD9;
text-align: center;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}

.form_saved_message_sent span:first-child {
display: block;
padding: 16px;
}

body #content .entry-content .gf_wrapper form .gf_body .gf_fields .gfield .ginput_container #recaptcha_widget_div #recaptcha_area .recaptchatable tbody tr td .recaptcha_input_area,
body .gf_wrapper form .gf_body .gf_fields .gfield .ginput_container #recaptcha_widget_div #recaptcha_area .recaptchatable tbody tr td .recaptcha_input_area {
line-height: 1 !important;
}

body .gf_wrapper img.ui-datepicker-trigger {
width: 17px !important;
height: 16px !important;
display: -moz-inline-stack;
display: inline-block;
}

body .gf_wrapper img.add_list_item,
body .gf_wrapper img.delete_list_item {
display: -moz-inline-stack;
display: inline-block;
margin-top: -2px;
}

.gf_wrapper ul li.gfield.field_sublabel_above.field_description_below + li.gfield {
margin-top: 16px;
}

.gf_wrapper li.gfield ul.gfield_radio li input[type=\"radio\"] + input[type=\"text\"] {
width: 45.25%;
}

.gf_wrapper table.recaptchatable {
table-layout: auto;
}

/* adjusting the captcha margin for left or right label settings */

.gf_wrapper ul.gf_fields:not(.top_label) div.ginput_container_captcha {
margin-left: 29%;
}

/* rich text editor */

.gfield .wp-editor-container {
border: 1px solid #ddd;
}

.gfield .wp-switch-editor {
border-color: #ddd;
}

.gfield .tmce-active .switch-tmce,
.gfield .html-active .switch-html {
border-bottom-color: #f5f5f5;
}

.gfield .mce-edit-area iframe {
width: 99.9% !important;
margin: 0 !important;
}

body .gf_wrapper ul li.gfield {
margin-top: 16px;
padding-top: 0;
}

body .gf_wrapper ul.gfields li.gfield label.gfield_label {
margin-bottom: 0 !important;
padding-bottom: 0 !important;
}

/* do our best to restore styles for lists inside the HTML field */

body .gf_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html {
line-height: inherit;
}

body .gf_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html ul li,
body .gf_wrapper form div.gf_body ul.gf_fields li.gfield.gfield_html ul li {
list-style-type: disc !important;
margin: 0 0 8px 0;
overflow: visible;
padding-left: 0;
}

body .gf_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html ul,
body .gf_wrapper form div.gf_body ul.gf_fields li.gfield.gfield_html ul {
list-style-type: disc !important;
margin: 16px 0 16px 28px !important;
padding-left: 0;
}

body .gf_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html ol li,
body .gf_wrapper form div.gf_body ul.gf_fields li.gfield.gfield_html ol li {
list-style-type: decimal!important;
overflow: visible;
margin: 0 0 8px 0;
padding-left: 0;
}

body .gf_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html ol,
body .gf_wrapper form div.gf_body ul.gf_fields li.gfield.gfield_html ol {
list-style-type: decimal !important;
margin: 16px 0 18px 32px;
padding-left: 0;
}

body .gf_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html ol li ul,
body .gf_wrapper form div.gf_body ul.gf_fields li.gfield.gfield_html ol li ul li {
list-style-type: disc !important;
padding-left: 0;
}

body .gf_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html ol li ul {
margin: 16px 0 16px 16px;
}

body .gf_wrapper form div.gf_body ul.gf_fields li.gfield.gfield_html ol li ul li {
margin: 0 0 8px;
}

body .gf_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html dl {
margin: 0 0 18px 0;
padding-left: 0;
}

body .gf_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html dl dt {
font-weight: 700;
}

body .gf_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html dl dd {
margin: 0 0 16px 18px;
}

.gf_wrapper span.gf_clear_span {
display: block;
height: 1px;
overflow: hidden;
width: 100%;
float: none;
clear: both;
margin-top: -1px;
}

@media only screen and (max-width: 641px)  {

/* make the inputs a little larger for mobile devices */

.gf_wrapper input:not([type='radio']):not([type='checkbox']):not([type='image']):not([type='file']) {
line-height: 2;
min-height: 2rem;
}

.gf_wrapper textarea {
line-height: 1.5;
}

.gf_wrapper .chosen-container.chosen-container-single[style] {
width: 100% !important;
}

.gf_wrapper .chosen-container-single .chosen-single {
height: 40px;
line-height: 2.8;
}

.gf_wrapper .chosen-container-single .chosen-single div b {
position: relative;
top: 10px;
}

.gf_wrapper div.chosen-container.chosen-container-multi[style] {
width: 100% !important;
}

.gf_wrapper .chosen-container.chosen-container-multi ul.chosen-choices li.search-choice,
.gf_wrapper .chosen-container.chosen-container-multi ul.chosen-choices li.search-field {
width: calc(100% - 10px);
line-height: 2;
float: none;
}

.gf_wrapper .chosen-container.chosen-container-multi ul.chosen-choices li.search-choice span {
margin-bottom: 0;
}

.gf_wrapper .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
top: calc(50% - 6px);
}

.gf_wrapper .ginput_container span:not(.ginput_price) {
margin-bottom: 8px;
display: block;
}

.gf_wrapper li.field_sublabel_below .ginput_complex {
margin-top: 12px !important;
}

.gf_wrapper ul.gfield_radio li label,
.gf_wrapper ul.gfield_checkbox li label {
width: 85%;
cursor: pointer;
}

}

@media only screen and (max-width: 761px), (min-device-width: 768px) and (max-device-width: 1023px)  {

.gf_wrapper ul.gf_fields li.gfield.gfield_error + li.gfield.gfield_error {
margin-top: 32px;
}

/* force the list table to not behave like a table anymore */

.gf_wrapper table.gfield_list {
border: 0;
}

.gf_wrapper table.gfield_list thead  {
position: absolute;
top: -9999px;
left: -9999px;
}

.gf_wrapper table.gfield_list tr {
margin-bottom: 10px;
display: block;
background: #fff;
position:relative;
border: 1px solid #CCC;
border-top: 2px solid #CCC;
border-bottom: 4px solid #CCC;
}

.gf_wrapper table.gfield_list td {
display: block;
margin-left: 8px;
margin-right: 8px;
}

.gf_wrapper table.gfield_list td.gfield_list_icons {
border-bottom: 0;
margin: 16px 0 0 0 !important;
}

.gf_wrapper ul.gf_fields.form_sublabel_above table.gfield_list td:before,
.gf_wrapper ul.gf_fields.form_sublabel_below table.gfield_list td:after {
content: attr(data-label);
font-size: .875em;
letter-spacing: 0.5pt;
white-space: nowrap;
display: block;
clear: both;
}

.gf_wrapper ul.gf_fields.form_sublabel_above table.gfield_list td:before {
margin: 8px 0 3px 8px;
}

.gf_wrapper ul.gf_fields.form_sublabel_below table.gfield_list td:after {
margin: 3px 0 8px 8px;
}

.gf_wrapper table.gfield_list th + th,
.gf_wrapper table.gfield_list td + td {
padding: 4px 0 0 0;
}

.gf_wrapper table.gfield_list tr.gfield_list_row_odd,
.gf_wrapper table.gfield_list tr.gfield_list_row_even {
margin: 16px 0;
}

.gf_wrapper table.gfield_list tr.gfield_list_row_odd:first-child {
padding-top: 12px;
}

.gf_wrapper table.gfield_list tr {
padding-top: 12px;
}

.gf_wrapper table.gfield_list tr td.gfield_list_icons {
width: 100% !important;
padding: 0 4px 4px 4px !important;
background-color: #EEE;
}

.gf_wrapper table.gfield_list tr td.gfield_list_icons img.add_list_item  {
margin: 12px 0 0 16px !important;
}

.gf_wrapper table.gfield_list tr td.gfield_list_icons img.delete_list_item  {
margin: 12px 0 0 8px !important;
}

.gf_wrapper .gform_footer a.gform_save_link,
.gf_wrapper .gform_page_footer a.gform_save_link {
margin-left: 0;
}

.gf_wrapper .gfield_list td.gfield_list_cell input {
width: calc(100% - 16px);
margin-left: 8px;
margin-right: 8px;
}

}

/* media queries - portrait mode tablet or desktop styles */

@media only screen and (min-width: 641px) {

.gf_wrapper .gf_body {
width: 100%;
}

.gf_wrapper.gform_validation_error .gf_body ul li.gfield.gfield_error:not(.gf_left_half):not(.gf_right_half) {
max-width: calc(100% - 16px) !important;
}

.gf_wrapper .gfield_checkbox li,
.gf_wrapper .gfield_radio li {
margin: 0 0 8px 0;
line-height: 1.3;
}

.gf_wrapper .gsection {
margin: 28px 16px 28px 0;
}

.gf_wrapper ul.gf_fields:not(.top_label) .gfield_label {
float: left;
width: 29%;
padding-right: 16px;
margin-bottom: 16px;
}

.gf_wrapper .right_label .gfield_label {
text-align: right;
}

.gf_wrapper .left_label .gfield_description,
.gf_wrapper .right_label .gfield_description {
width: 70%;
}

.gf_wrapper ul.right_label li ul.gfield_radio li,
.gf_wrapper form ul.right_label li ul.gfield_radio li,
.gf_wrapper ul.left_label li ul.gfield_radio li,
.gf_wrapper form ul.left_label li ul.gfield_radio li,
.gf_wrapper ul.right_label li ul.gfield_checkbox li,
.gf_wrapper form ul.right_label li ul.gfield_checkbox li,
.gf_wrapper ul.left_label li ul.gfield_checkbox li,
.gf_wrapper form ul.left_label li ul.gfield_checkbox li {
margin-bottom: 10px;
}

.gf_wrapper .right_label .gfield_description,
.gf_wrapper .left_label .gfield_description,
.gf_wrapper .left_label .instruction,
.gf_wrapper .right_label .instruction {
margin-left: 29%;
}

.gf_wrapper ul.gf_fields:not(.top_label) .gsection .gsection_description {
margin-left: 0;
padding-top: 4px;
padding-left: 0;
line-height: 1.5;
}

.gf_wrapper form ul.gf_fields:not(.top_label) li.gfield_html_formatted {
margin-left: 29% !important;
width: 70%;
}

.gf_wrapper ul.gf_fields:not(.top_label) ul.gfield_checkbox,
.gf_wrapper ul.gf_fields:not(.top_label) ul.gfield_radio {
overflow: hidden;
}

.gf_wrapper .right_label div.ginput_complex,
.gf_wrapper .left_label div.ginput_complex {
width: 70%;
margin-left: 29%;
}

.gf_wrapper .right_label input.small,
.gf_wrapper .right_label select.small,
.gf_wrapper .left_label input.small,
.gf_wrapper .left_label select.small {
width: 15%;
}

.gf_wrapper .right_label input.medium,
.gf_wrapper .right_label select.medium,
.gf_wrapper .left_label input.medium,
.gf_wrapper .left_label select.medium {
width: calc(35% - 8px);
}

.gf_wrapper .right_label input.large,
.gf_wrapper .right_label select.large,
.gf_wrapper .left_label input.large,
.gf_wrapper .left_label select.large {
width: 70%;
}

.gf_wrapper .right_label textarea.small,
.gf_wrapper .left_label textarea.small,
.gf_wrapper .right_label textarea.medium,
.gf_wrapper .left_label textarea.medium,
.gf_wrapper .right_label textarea.large,
.gf_wrapper .left_label textarea.large {
width: 70%;
}

.gf_wrapper ul.gf_fields:not(.top_label) .ginput_list {
width: 70%;
margin-left: 29% !important;
}

.gf_wrapper .top_label .gfield_list {
width: 100%;
}

.gf_wrapper .left_label .gf_list_one_column,
.gf_wrapper .right_label .gf_list_one_column {
width: 45%;
}

.gf_wrapper .top_label .gf_list_one_column {
width: 46%;
}

.gf_wrapper .left_label li.hidden_label input,
.gf_wrapper .right_label li.hidden_label input {
margin-left: 3.7%;
}

.gf_wrapper .left_label li.gfield .gfield_password_strength,
.gf_wrapper .right_label li.gfield .gfield_password_strength {
margin-left: 29%;
}

.gf_wrapper .top_label input.small,
.gf_wrapper .top_label select.small {
width: 25%;
}

.gf_wrapper .top_label input.medium,
.gf_wrapper .top_label select.medium {
width: calc(50% - 8px);
}

.gf_wrapper.gform_validation_error .top_label input.medium,
.gf_wrapper.gform_validation_error .top_label select.medium {
width: 50%;
}

.gf_wrapper .top_label input.large,
.gf_wrapper .top_label select.large,
.gf_wrapper .hidden_label input.large,
.gf_wrapper .hidden_label select.large {
width: 100%;
}

.gf_wrapper .top_label input.small.datepicker,
.gf_wrapper .top_label input.medium.datepicker,
.gf_wrapper .top_label input.large.datepicker {
width: auto;
}

.gf_wrapper textarea.small {
height: 80px;
width: 100%;
}

.gf_wrapper textarea.medium {
height: 160px;
width: 100%;
}

.gf_wrapper textarea.large {
height: 320px;
width: 100%;
}

.gf_wrapper .ginput_complex .ginput_left,
.gf_wrapper .ginput_complex .ginput_right {
width: 50%;
display: -moz-inline-stack;
display: inline-block;
vertical-align: top;
margin: 0 -4px 0 0;
}

.gf_wrapper .gfield_error .ginput_complex .ginput_left,
.gf_wrapper .gfield_error .ginput_complex .ginput_right {
width: 50%;
}

.gf_wrapper .ginput_complex .ginput_cardinfo_left,
.gf_wrapper .ginput_complex .ginput_cardinfo_right {
min-height: 43px;
position: relative;
float: left;
}

.gf_wrapper .ginput_complex .ginput_cardinfo_left {
width: 50%;
}

.gf_wrapper .ginput_complex select.ginput_card_expiration.ginput_card_expiration_month,
.gf_wrapper .ginput_complex select.ginput_card_expiration.ginput_card_expiration_year {
width: 47% !important;
display: -moz-inline-stack;
display: inline-block;
}

.gf_wrapper .ginput_complex .ginput_cardinfo_left select.ginput_card_expiration.ginput_card_expiration_month {
margin-right: 4px;
}

.gf_wrapper .gf_step {
width:auto;
display: -moz-inline-stack;
display: inline-block;
margin: 16px 32px 16px 0;
}

.gf_wrapper .gform_footer input.button,
.gf_wrapper .gform_footer input[type=submit],
.gf_wrapper .gform_footer input[type=image] {
display: -moz-inline-stack;
display: inline-block;
}

.gf_wrapper .gform_footer input[type=image] {
vertical-align: middle;
}

.gf_wrapper .gform_footer a.gform_save_link,
.gf_wrapper .gform_page_footer a.gform_save_link {
font-size: 1em;
margin-left: 16px;
display: -moz-inline-stack;
display: inline-block;
}

.gf_wrapper .gform_footer input.button,
.gf_wrapper .gform_page_footer input.button,
.gf_wrapper .gform_footer input[type=submit],
.gf_wrapper .gform_page_footer input[type=submit] {
font-size: 1em;
width: auto;
margin: 0 16px 0 0;
}

.gf_wrapper ul.gf_fields li.gfield {
padding-right: 16px;
}

.gf_wrapper .ginput_complex .ginput_left {
padding-right: 8px;
}

.gf_wrapper .left_label .ginput_complex.ginput_container_address:after {
content: \"\";
display: block;
}

.gf_wrapper .ginput_complex.ginput_container_address .ginput_left {
margin-right: 8px;
}

.gf_wrapper .ginput_complex.ginput_container_address .ginput_right {
margin-right: -8px;
padding-right: 8px;
}

.gf_wrapper .ginput_complex.ginput_container_address span.ginput_full + span.ginput_right {
padding-right: 8px !important ;
margin-right: 8px;
}

.gf_wrapper .ginput_complex.ginput_container_address span.ginput_right + span.ginput_left {
padding-right: 8px !important ;
margin-right: -8px;
}

.gf_wrapper .ginput_complex.ginput_container_address span.ginput_right + span.ginput_left.address_zip {
margin-right: 8px;
}

.gf_wrapper .gfield_error .ginput_container {
padding-right: 0;
}

.gf_wrapper ul.top_label li.gfield.gfield_error.gfield_contains_required .gfield_password_strength {
margin: 18px 0 18px 0;
}

.gf_wrapper .gform_footer:not(.top_label) {
padding: 16px 0 10px 0;
margin-left: 29%;
width: 70%;
}

/* adjusting the name field so it aligns properly */

.top_label div.ginput_complex.ginput_container.gf_name_has_1,
.top_label div.ginput_complex.ginput_container.gf_name_has_2,
.top_label div.ginput_complex.ginput_container.gf_name_has_3 {
width: calc(100% + 15px);
}

.top_label div.ginput_complex.ginput_container.gf_name_has_4 {
width: calc(100% + 13px);
}

.top_label div.ginput_complex.ginput_container.gf_name_has_5 {
width: calc(100% + 14px);
}

/* a little better specificty to avoid problems with forms in widgets */

ul.gf_fields:not(.top_label) div.ginput_complex.ginput_container.gf_name_has_1,
ul.gf_fields:not(.top_label) div.ginput_complex.ginput_container.gf_name_has_2,
ul.gf_fields:not(.top_label) div.ginput_complex.ginput_container.gf_name_has_3 {
width: calc(70% + 15px);
margin-left: 29%;
}

ul.gf_fields:not(.top_label) li.gfield.gfield_error div.ginput_complex.ginput_container.gf_name_has_1,
ul.gf_fields:not(.top_label) li.gfield.gfield_error div.ginput_complex.ginput_container.gf_name_has_2,
ul.gf_fields:not(.top_label) li.gfield.gfield_error div.ginput_complex.ginput_container.gf_name_has_3 {
width: calc(70% + 24px);
}

ul.gf_fields:not(.top_label) div.ginput_complex.ginput_container.gf_name_has_4 {
width: calc(70% + 13px);
margin-left: 29%;
}

ul.gf_fields:not(.top_label) div.ginput_complex.ginput_container.gf_name_has_5 {
width: calc(70% + 14px);
margin-left: 29%;
}

div.ginput_container_name span {
display: -moz-inline-stack;
display: inline-block;
vertical-align: top;
padding-right: 16px;
margin-right: -4px;
}

div.ginput_complex.ginput_container.gf_name_has_1 span {
width: 100%;
}

div.ginput_complex.ginput_container.gf_name_has_2 span {
width: 50%;    }

div.ginput_complex.ginput_container.gf_name_has_3 span {
width: 33.3%;
}

div.ginput_complex.ginput_container.gf_name_has_4 span {
width: 25%;
}

div.ginput_complex.ginput_container.gf_name_has_5 span {
width: 19.95%;
}

/* tweak the sizes for validation and left/right label layouts */

.gf_wrapper ul.gf_fields:not(.top_label) li.gfield.gfield_error div.ginput_complex.ginput_container.gf_name_has_1 span {
width: 99.75% !important;
}

.gf_wrapper ul.gf_fields:not(.top_label) li.gfield.gfield_error div.ginput_complex.ginput_container.gf_name_has_2 span {
width: 49.75% !important;
}

.gf_wrapper ul.gf_fields:not(.top_label) li.gfield.gfield_error div.ginput_complex.ginput_container.gf_name_has_3 span {
width: 33% !important;
}

.gf_wrapper ul.gf_fields:not(.top_label) li.gfield.gfield_error div.ginput_complex.ginput_container.gf_name_has_4 span {
width: 24.75% !important;
}

.gf_wrapper ul.gf_fields:not(.top_label) li.gfield.gfield_error div.ginput_complex.ginput_container.gf_name_has_5 span {
width: 19.75% !important;
}

html div.ginput_complex.ginput_container.gf_name_has_2 span:first-child,
html div.ginput_complex.ginput_container.gf_name_has_3 span:first-child,
html div.ginput_complex.ginput_container.gf_name_has_4 span:first-child,
html div.ginput_complex.ginput_container.gf_name_has_5 span:first-child {
margin-left: 0!important;
}

.gf_wrapper .top_label .ginput_complex.ginput_container.ginput_container_email {
width: calc(100% + 15px);
}

.gf_wrapper ul.gf_fields:not(.top_label) div.ginput_complex.ginput_container.ginput_container_email {
width: calc(70% + 16px);
margin-left: 29%;
}

.gf_wrapper ul.gf_fields:not(.top_label) li.gfield.gfield_error div.ginput_complex.ginput_container.ginput_container_email {
width: calc(70% + 17px);
}

li.gfield.gfield_error

.gf_wrapper ul.gf_fields:not(.top_label) li.gfield.gfield_error .ginput_complex.ginput_container.ginput_container_email {
width: calc(70% + 8px) !important;
}

.gf_wrapper .ginput_complex.ginput_container.ginput_container_email .ginput_left,
.gf_wrapper .ginput_complex.ginput_container.ginput_container_email .ginput_right {
padding-right: 16px;
}

.gf_wrapper ul.left_label li.gfield .gfield_password_strength,
.gf_wrapper ul.right_label li.gfield .gfield_password_strength {
width: 70%;
}

/* adjusting the address field alignment for some scenarios */

.gf_wrapper .ginput_complex span.ginput_left + input.gform_hidden + span.ginput_left {
padding-right: 0;
}

.gf_wrapper .ginput_complex span.ginput_left.address_country {
margin-right: 0;
}

html:not[dir=\"rtl\"] .gf_wrapper ul.gf_fields:not(.top_label) .ginput_container:not(.ginput_container_time),
html:not[dir=\"rtl\"] .gf_wrapper ul.gf_fields:not(.top_label) .clear-multi,
html:not[dir=\"rtl\"] .gf_wrapper ul.gf_fields:not(.top_label) .gfield_description {
width: 70%;
margin-left: 29% !important;
}

.gf_wrapper .gf_progressbar {
width: calc(100% - 16px);
}

.gf_wrapper ul.gf_fields:not(.top_label) .gform_fileupload_multifile .gform_drop_area {
margin-left: 29%;
width: 70%
}

body .gf_wrapper span.ginput_left.address_city + input.gform_hidden + span.ginput_left.address_country {
width: calc(50% - 8px);
margin-right: 0;
}

/* force the CAPTCHA field over for right and left label layouts */

.gf_wrapper ul.gf_fields:not(.top_label) .ginput_container.ginput_recaptcha {
margin-left: 29% !important;
}

.gf_wrapper .gform_page_footer .button.gform_previous_button {
margin-bottom: 0;
}

.gf_wrapper .gform_page_footer .button.gform_next_button,
.gf_wrapper .gform_page_footer .button.gform_button {
margin-right: 10px;
}

}
";


$ready = "/*
----------------------------------------------------------------

readyclass.css
Gravity Forms Ready Class Pre-Set Helper Styles
http://www.gravityforms.com
updated: January 12, 2017 04:17 PM (GMT-05:00) US Eastern Time

Gravity Forms is a Rocketgenius project
copyright 2008-2017 Rocketgenius Inc.
http: //www.rocketgenius.com
this may not be redistributed without the
express written permission of the author.

NOTE: DO NOT EDIT THIS FILE! MAKE ANY MODIFICATIONS IN YOUR
THEME STYLESHEET. THIS FILE IS REPLACED DURING AUTO-UPDATES
AND ANY CHANGES MADE HERE WILL BE OVERWRITTEN.

If you need to make extensive customizations,
copy the contents of this file to your theme
style sheet for editing. Then, go to the form
settings page & set the 'output CSS' option
to no.

----------------------------------------------------------------
*/

@media only screen and (min-width: 641px) {

.gf_wrapper .top_label li.gfield.gf_inline {
vertical-align: top;
width: auto !important;
margin: 0;
padding-right: 16px;
float: none !important;
display: -moz-inline-stack;
display: inline-block;
}

.gf_wrapper .top_label li.gfield.gf_inline input[type=text].large,
.gf_wrapper .top_label li.gfield.gf_inline input[type=url].large,
.gf_wrapper .top_label li.gfield.gf_inline input[type=email].large,
.gf_wrapper .top_label li.gfield.gf_inline input[type=tel].large,
.gf_wrapper .top_label li.gfield.gf_inline input[type=number].large,
.gf_wrapper .top_label li.gfield.gf_inline input[type=password].large,
.gf_wrapper .top_label li.gfield.gf_inline input[type=text].medium,
.gf_wrapper .top_label li.gfield.gf_inline input[type=url].medium,
.gf_wrapper .top_label li.gfield.gf_inline input[type=email].medium,
.gf_wrapper .top_label li.gfield.gf_inline input[type=tel].medium,
.gf_wrapper .top_label li.gfield.gf_inline input[type=number].medium,
.gf_wrapper .top_label li.gfield.gf_inline input[type=password].medium,
.gf_wrapper .top_label li.gfield.gf_inline input[type=text].small,
.gf_wrapper .top_label li.gfield.gf_inline input[type=url].small,
.gf_wrapper .top_label li.gfield.gf_inline input[type=email].small,
.gf_wrapper .top_label li.gfield.gf_inline input[type=tel].small,
.gf_wrapper .top_label li.gfield.gf_inline input[type=number].small,
.gf_wrapper .top_label li.gfield.gf_inline input[type=password].small {
width: 100%;
}

.gf_wrapper .top_label li.gfield.gf_inline input[type=text].datepicker.medium {
width: 96px !important;
}

.gf_wrapper .top_label li.gfield.gf_inline select {
width: 100%;
}

.gf_wrapper .top_label li.gfield.gf_inline textarea {
width: 100%;
}

.gf_wrapper .top_label li.gfield.gf_inline div.gfield_time_hour input[type=text],
.gf_wrapper .top_label li.gfield.gf_inline div.gfield_time_minute input[type=text] {
width: 70% !important;
}

.gf_wrapper .top_label li.gfield.gf_inline div.gfield_time_hour,
.gf_wrapper .top_label li.gfield.gf_inline div.gfield_time_minute,
.gf_wrapper .top_label li.gfield.gf_inline div.gfield_date_month,
.gf_wrapper .top_label li.gfield.gf_inline div.gfield_date_day,
.gf_wrapper .top_label li.gfield.gf_inline div.gfield_date_year {
width: 50px;
}

.gf_wrapper .top_label li.gfield.gf_inline div.gfield_time_ampm {
width: auto;
}

.gf_wrapper li.gf_inline div.ginput_container {
white-space: nowrap !important;
}

.gf_wrapper li.gf_inline div.ginput_container.ginput_container_date label {
display: block !important;
}


.gf_wrapper li.gfield.gfield_error.gf_inline {
margin-right: 16px;
padding-right: 0;
}

.gf_wrapper .top_label li.gfield.gf_left_half,
.gf_wrapper .top_label li.gfield.gf_right_half {
display: -moz-inline-stack;
display: inline-block;
vertical-align: top;
width: 50%;
padding-right: 16px;
float: none;
}

.gf_wrapper .top_label li.gfield.gf_left_half .ginput_container:not(.gfield_time_hour):not(.gfield_time_minute):not(.gfield_time_ampm):not(.ginput_container_date):not(.ginput_quantity):not(ul.gfield_radio li input):not(ul.gfield_checkbox li input):not(.datepicker),
.gf_wrapper .top_label li.gfield.gf_right_half .ginput_container:not(.gfield_time_hour):not(.gfield_time_minute):not(.gfield_time_ampm):not(.ginput_container_date):not(.ginput_quantity):not(ul.gfield_radio li input):not(ul.gfield_checkbox li input):not(.datepicker) {
width: 100% !important;
margin: 8px 0 0 0;
padding-left: 0;
padding-right: 0;
}

.gf_wrapper .top_label li.gfield.gf_left_half:before {
content: \"\";
display: block;
clear: both;
}

.gf_wrapper .top_label li.gfield.gf_right_half:after {
content:\"\";
display: table;
clear:both;
}

.gf_wrapper.gform_validation_error .top_label li.gfield.gfield_error.gf_left_half,
.gf_wrapper.gform_validation_error .top_label li.gfield.gfield_error.gf_right_half {
max-width: calc(50% - 16px);
padding-right: 0;
}

.gf_wrapper .top_label li.gfield.gfield_error.gf_left_half {
margin-right: 16px;
}

.gf_wrapper .top_label li.gfield.gf_left_half div:not(.ginput_container_date) input.medium,
.gf_wrapper .top_label li.gfield.gf_left_half div:not(.ginput_container_date) input.large,
.gf_wrapper .top_label li.gfield.gf_left_half div:not(.ginput_container_date) select.medium,
.gf_wrapper .top_label li.gfield.gf_left_half div:not(.ginput_container_date) select.large,
.gf_wrapper .top_label li.gfield.gf_right_half div:not(.ginput_container_date) input.medium,
.gf_wrapper .top_label li.gfield.gf_right_half div:not(.ginput_container_date) input.large,
.gf_wrapper .top_label li.gfield.gf_right_half div:not(.ginput_container_date) select.medium,
.gf_wrapper .top_label li.gfield.gf_right_half div:not(.ginput_container_date) select.large {
width: 100%;
}

.gf_wrapper .top_label li.gfield.gf_left_half textarea,
.gf_wrapper .top_label li.gfield.gf_right_half textarea {
width: 98%;
}

.gf_wrapper .top_label li.gfield.gf_left_half input.small,
.gf_wrapper .top_label li.gfield.gf_right_half input.small {
width: 35%;
}

.gf_wrapper .top_label li.gfield.gf_left_half+li.gsection,
.gf_wrapper .top_label li.gfield.gf_right_half+li.gsection {
padding: 16px 0 8px 0;
}

.gf_wrapper .top_label li.gfield.gf_left_half+li.gfield.gsection.gf_left_half,
.gf_wrapper .top_label li.gfield.gf_right_half+li.gfield.gsection.gf_left_half,
.gf_wrapper .top_label li.gfield.gf_left_half+li.gfield.gsection.gf_right_half,
.gf_wrapper .top_label li.gfield.gf_right_half+li.gfield.gsection.gf_right_half,
.gf_wrapper .top_label li.gfield.gsection.gf_left_half+li.gfield.gsection.gf_left_half,
.gf_wrapper .top_label li.gfield.gsection.gf_right_half+li.gfield.gsection.gf_left_half,
.gf_wrapper .top_label li.gfield.gsection.gf_right_half+li.gfield.gsection.gf_right_half {
padding: 16px 0 8px 0;
}

.gf_wrapper .top_label li.gfield.gsection.gf_left_half+li.gfield.gsection.gf_right_half {
padding: 0 0 8px 0;
}

.gf_wrapper .top_label li.gfield.gsection.gf_left_half+li.gfield.gsection.gf_right_half+li.gfield.gsection.gf_left_half+li.gfield.gsection.gf_right_half {
padding: 16px 0 8px 0;
}

.gf_wrapper .top_label li.gfield.gf_left_half+li.gfield,
.gf_wrapper .top_label li.gfield.gf_right_half+li.gfield,
.gf_wrapper .top_label li.gfield.gf_left_half+.gform_footer,
.gf_wrapper .top_label li.gfield.gf_right_half+.gform_footer {
clear: both;
}

/* 3 columns */

.gf_wrapper .top_label li.gfield.gf_left_third,
.gf_wrapper .top_label li.gfield.gf_middle_third,
.gf_wrapper .top_label li.gfield.gf_right_third {
display: -moz-inline-stack;
display: inline-block;
vertical-align: top;
float: none;
}

.gf_wrapper .top_label li.gfield.gf_left_third:not(.gfield_time_hour):not(.gfield_time_minute):not(.gfield_time_ampm),
.gf_wrapper .top_label li.gfield.gf_middle_third:not(.gfield_time_hour):not(.gfield_time_minute):not(.gfield_time_ampm) {
width: 33.3%;
}

.gf_wrapper .top_label li.gfield.gf_right_third:not(.gfield_time_hour):not(.gfield_time_minute):not(.gfield_time_ampm) {
width: 33.4%;
}

.gf_wrapper .top_label li.gfield.gf_left_third,
.gf_wrapper .top_label li.gfield.gf_middle_third,
.gf_wrapper .top_label li.gfield.gf_right_third {
margin-bottom: 8px;
}

.gf_wrapper .top_label li.gfield.gf_left_third div:not(.ginput_container_date) input.medium,
.gf_wrapper .top_label li.gfield.gf_left_third div:not(.ginput_container_date) input.large,
.gf_wrapper .top_label li.gfield.gf_left_third div:not(.ginput_container_date) select.medium,
.gf_wrapper .top_label li.gfield.gf_left_third div:not(.ginput_container_date) select.large,
.gf_wrapper .top_label li.gfield.gf_middle_third div:not(.ginput_container_date) input.medium,
.gf_wrapper .top_label li.gfield.gf_middle_third div:not(.ginput_container_date) input.large,
.gf_wrapper .top_label li.gfield.gf_middle_third div:not(.ginput_container_date) select.medium,
.gf_wrapper .top_label li.gfield.gf_middle_third div:not(.ginput_container_date) select.large,
.gf_wrapper .top_label li.gfield.gf_right_third div:not(.ginput_container_date) input.medium,
.gf_wrapper .top_label li.gfield.gf_right_third div:not(.ginput_container_date) input.large,
.gf_wrapper .top_label li.gfield.gf_right_third div:not(.ginput_container_date) select.medium,
.gf_wrapper .top_label li.gfield.gf_right_third div:not(.ginput_container_date) select.large {
width: 100%;
}

.gf_wrapper .top_label li.gfield.gf_left_third div:not(.ginput_container_date) input:not([type='radio']):not([type='checkbox']):not(.ginput_quantity):not(ul.gfield_radio li input):not(ul.gfield_checkbox li input),
.gf_wrapper .top_label li.gfield.gf_middle_third div:not(.ginput_container_date) input:not([type='radio']):not([type='checkbox']):not(.ginput_quantity):not(ul.gfield_radio li input):not(ul.gfield_checkbox li input),
.gf_wrapper .top_label li.gfield.gf_right_third div:not(.ginput_container_date) input:not([type='radio']):not([type='checkbox']):not(.ginput_quantity):not(ul.gfield_radio li input):not(ul.gfield_checkbox li input),
.gf_wrapper .top_label li.gfield.gf_left_third div:not(.ginput_container_date) select,
.gf_wrapper .top_label li.gfield.gf_middle_third div:not(.ginput_container_date) select,
.gf_wrapper .top_label li.gfield.gf_right_third div:not(.ginput_container_date) select {
width:100% !important;
}

.gf_wrapper .top_label li.gfield.gfield_error.gf_left_third,
.gf_wrapper .top_label li.gfield.gfield_error.gf_middle_third {
width: calc(33.3% - 24px) !important;
margin-right: 16px;
}

.gf_wrapper .top_label li.gfield.gfield_error.gf_right_third {
width: 33.4%;
}

.gf_wrapper .top_label li.gfield.gf_right_third:after {
content:\"\";
display: table;
clear: both;
}

.gf_wrapper .top_label li.gfield.gf_left_third+li.gsection,
.gf_wrapper .top_label li.gfield.gf_right_third+li.gsection {
padding: 16px 0 8px 0;
}

.gf_wrapper .top_label li.gfield.gf_left_third+li.gfield,
.gf_wrapper .top_label li.gfield.gf_middle_third+li.gfield,
.gf_wrapper .top_label li.gfield.gf_right_third+li.gfield,
.gf_wrapper .top_label li.gfield.gf_left_third+.gform_footer,
.gf_wrapper .top_label li.gfield.gf_middle_third+.gform_footer,
.gf_wrapper .top_label li.gfield.gf_right_third+.gform_footer {
clear: both;
}

/* 4 columns - quarters */

.gf_wrapper .top_label li.gfield.gf_first_quarter:not(.gfield_time_hour):not(.gfield_time_minute):not(.gfield_time_ampm),
.gf_wrapper .top_label li.gfield.gf_second_quarter:not(.gfield_time_hour):not(.gfield_time_minute):not(.gfield_time_ampm),
.gf_wrapper .top_label li.gfield.gf_third_quarter:not(.gfield_time_hour):not(.gfield_time_minute):not(.gfield_time_ampm),
.gf_wrapper .top_label li.gfield.gf_fourth_quarter:not(.gfield_time_hour):not(.gfield_time_minute):not(.gfield_time_ampm) {
width: 25%;
display: -moz-inline-stack;
display: inline-block;
vertical-align: top;
float: none;
}

.gf_wrapper .top_label li.gfield.gf_first_quarter,
.gf_wrapper .top_label li.gfield.gf_second_quarter,
.gf_wrapper .top_label li.gfield.gf_third_quarter,
.gf_wrapper .top_label li.gfield.gf_fourth_quarter {
margin-bottom: 8px;
}

.gf_wrapper .top_label li.gfield.gf_first_quarter div:not(.ginput_container_date) input:not([type='radio']):not([type='checkbox']),
.gf_wrapper .top_label li.gfield.gf_second_quarter div:not(.ginput_container_date) input:not([type='radio']):not([type='checkbox']),
.gf_wrapper .top_label li.gfield.gf_third_quarter div:not(.ginput_container_date) input:not([type='radio']):not([type='checkbox']),
.gf_wrapper .top_label li.gfield.gf_fourth_quarter div:not(.ginput_container_date) input:not([type='radio']):not([type='checkbox']),
.gf_wrapper .top_label li.gfield.gf_first_quarter div:not(.ginput_container_date) select,
.gf_wrapper .top_label li.gfield.gf_second_quarter div:not(.ginput_container_date) select,
.gf_wrapper .top_label li.gfield.gf_third_quarter div:not(.ginput_container_date) select,
.gf_wrapper .top_label li.gfield.gf_fourth_quarter div:not(.ginput_container_date) select {
width: 100% !important;
}

.gf_wrapper .top_label li.gfield.gfield_error.gf_first_quarter,
.gf_wrapper .top_label li.gfield.gfield_error.gf_second_quarter,
.gf_wrapper .top_label li.gfield.gfield_error.gf_third_quarter,
.gf_wrapper .top_label li.gfield.gfield_error.gf_fourth_quarter {
width: 24.5%;
}

.gf_wrapper .top_label li.gfield.gf_fourth_quarter:after {
content: \"\";
display: table;
clear: both;
}

.gf_wrapper .top_label li.gfield.gf_first_quarter input.medium,
.gf_wrapper .top_label li.gfield.gf_first_quarter input.large,
.gf_wrapper .top_label li.gfield.gf_first_quarter select.medium,
.gf_wrapper .top_label li.gfield.gf_first_quarter select.large,
.gf_wrapper .top_label li.gfield.gf_second_quarter input.medium,
.gf_wrapper .top_label li.gfield.gf_second_quarter input.large,
.gf_wrapper .top_label li.gfield.gf_second_quarter select.medium,
.gf_wrapper .top_label li.gfield.gf_second_quarter select.large,
.gf_wrapper .top_label li.gfield.gf_third_quarter input.medium,
.gf_wrapper .top_label li.gfield.gf_third_quarter input.large,
.gf_wrapper .top_label li.gfield.gf_third_quarter select.medium,
.gf_wrapper .top_label li.gfield.gf_third_quarter select.large,
.gf_wrapper .top_label li.gfield.gf_fourth_quarter input.medium,
.gf_wrapper .top_label li.gfield.gf_fourth_quarter input.large,
.gf_wrapper .top_label li.gfield.gf_fourth_quarter select.medium,
.gf_wrapper .top_label li.gfield.gf_fourth_quarter select.large {
width: 97.5%;
}

.gf_wrapper .top_label li.gfield.gf_first_quarter+li.gsection,
.gf_wrapper .top_label li.gfield.gf_fourth_quarter+li.gsection {
padding: 16px 0 8px 0;
}

.gf_wrapper .top_label li.gfield.gf_first_quarter+li.gfield,
.gf_wrapper .top_label li.gfield.gf_second_quarter+li.gfield,
.gf_wrapper .top_label li.gfield.gf_third_quarter+li.gfield,
.gf_wrapper .top_label li.gfield.gf_fourth_quarter+li.gfield,
.gf_wrapper .top_label li.gfield.gf_first_quarter+.gform_footer,
.gf_wrapper .top_label li.gfield.gf_second_quarter+.gform_footer,
.gf_wrapper .top_label li.gfield.gf_third_quarter+.gform_footer,
.gf_wrapper .top_label li.gfield.gf_fourth_quarter+.gform_footer {
clear: both;
}

/* horizontal list columns - displayed inline */

.gf_wrapper .top_label li ul.gfield_checkbox,
.gf_wrapper .top_label li ul.gfield_radio {
width: calc(100% + 16px);
}

.gf_wrapper ul.gf_fields:not(.top_label) li ul.gfield_checkbox,
.gf_wrapper ul.gf_fields:not(.top_label)li ul.gfield_radio {
width: calc(70% + 16px);
}

.gf_wrapper li.gfield.gf_list_2col ul.gfield_checkbox li,
.gf_wrapper li.gfield.gf_list_2col ul.gfield_radio li {
width: 50%;
display: -moz-inline-stack;
display: inline-block;
margin: 0;
padding-right: 16px;
min-height: 28px;
vertical-align: top;
font-size: 90%;
}

.gf_wrapper li.gfield.gf_list_3col ul.gfield_checkbox li,
.gf_wrapper li.gfield.gf_list_3col ul.gfield_radio li {
width: 33.3%;
display: -moz-inline-stack;
display: inline-block;
margin: 0 0 2px 0;
padding-right: 16px;
min-height: 28px;
vertical-align: top;
font-size: 90%;
}

.gf_wrapper li.gfield.gf_list_2col ul.gfield_checkbox li label,
.gf_wrapper li.gfield.gf_list_2col ul.gfield_radio li label,
.gf_wrapper li.gfield.gf_list_3col ul.gfield_checkbox li label,
.gf_wrapper li.gfield.gf_list_3col ul.gfield_radio li label,
.gf_wrapper li.gfield.gf_list_4col ul.gfield_checkbox li label,
.gf_wrapper li.gfield.gf_list_4col ul.gfield_radio li label {
max-width: 75%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: middle;
}

.gf_wrapper li.gfield.gf_list_4col ul.gfield_checkbox li,
.gf_wrapper li.gfield.gf_list_4col ul.gfield_radio li {
width: 25%;
display: -moz-inline-stack;
display: inline-block;
margin: 0;
padding-right: 16px;
min-height: 28px;
vertical-align: top;
font-size: 90%;
}

.gf_wrapper li.gfield.gf_list_5col ul.gfield_checkbox li,
.gf_wrapper li.gfield.gf_list_5col ul.gfield_radio li {
width: 20%;
display: -moz-inline-stack;
display: inline-block;
margin: 0;
padding-right: 16px;
min-height: 28px;
vertical-align: top;
font-size: 90%;
}

.gf_wrapper li.gfield.gf_list_2col ul.gfield_checkbox,
.gf_wrapper li.gfield.gf_list_2col ul.gfield_radio,
.gf_wrapper li.gfield.gf_list_3col ul.gfield_checkbox,
.gf_wrapper li.gfield.gf_list_3col ul.gfield_radio,
.gf_wrapper li.gfield.gf_list_4col ul.gfield_checkbox,
.gf_wrapper li.gfield.gf_list_4col ul.gfield_radio,
.gf_wrapper li.gfield.gf_list_5col ul.gfield_checkbox,
.gf_wrapper li.gfield.gf_list_5col ul.gfield_radio {
overflow: hidden;
}

.gf_wrapper ul.gf_fields:not(.top_label) li.gfield.gf_list_2col label.gfield_label,
.gf_wrapper ul.gf_fields:not(.top_label) li.gfield.gf_list_3col label.gfield_label,
.gf_wrapper ul.gf_fields:not(.top_label) li.gfield.gf_list_4col label.gfield_label,
.gf_wrapper ul.gf_fields:not(.top_label) li.gfield.gf_list_5col label.gfield_label,
.gf_wrapper ul.gf_fields:not(.top_label) li.gfield.gf_list_inline label.gfield_label {
margin: 0 0 10px 0;
}

/* vertical list columns - using CSS columns */

.gf_wrapper li.gf_list_2col_vertical .ginput_container_checkbox ul.gfield_checkbox,
.gf_wrapper li.gf_list_3col_vertical .ginput_container_checkbox ul.gfield_checkbox,
.gf_wrapper li.gf_list_4col_vertical .ginput_container_checkbox ul.gfield_checkbox,
.gf_wrapper li.gf_list_5col_vertical .ginput_container_checkbox ul.gfield_checkbox {
-webkit-column-gap: 16px;
-moz-column-gap: 16px;
column-gap: 16px;
}

.gf_wrapper ul.gf_fields:not(.top_label) li.gf_list_2col_vertical label.gfield_label,
.gf_wrapper ul.gf_fields:not(.top_label) li.gf_list_2col_vertical label.gfield_label,
.gf_wrapper ul.gf_fields:not(.top_label) li.gf_list_2col_vertical label.gfield_label,
.gf_wrapper ul.gf_fields:not(.top_label) li.gf_list_2col_vertical label.gfield_label {
margin: 0 0 10px 0;
}

.gf_wrapper li.gf_list_2col_vertical .ginput_container_checkbox ul.gfield_checkbox,
.gf_wrapper li.gf_list_2col_vertical .ginput_container_radio ul.gfield_radio {
width: calc(100% - 16px);
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
}

.gf_wrapper li.gf_list_3col_vertical .ginput_container_checkbox ul.gfield_checkbox,
.gf_wrapper li.gf_list_3col_vertical .ginput_container_radio ul.gfield_radio {
width: calc(100% - 8px);
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
}

.gf_wrapper li.gf_list_4col_vertical .ginput_container_checkbox ul.gfield_checkbox,
.gf_wrapper li.gf_list_4col_vertical .ginput_container_radio ul.gfield_radio {
width: calc(100% - 8px);
-webkit-column-count: 4;
-moz-column-count: 4;
column-count: 4;
}

.gf_wrapper li.gf_list_5col_vertical .ginput_container_checkbox ul.gfield_checkbox,
.gf_wrapper li.gf_list_5col_vertical .ginput_container_radio ul.gfield_radio {
width: calc(100% - 8px);
-webkit-column-count: 5;
-moz-column-count: 5;
column-count: 5;
}

.gf_wrapper li.gf_list_2col_vertical .ginput_container_checkbox ul.gfield_checkbox li label,
.gf_wrapper li.gf_list_2col_vertical .ginput_container_radio ul.gfield_radio li label,
.gf_wrapper li.gf_list_3col_vertical .ginput_container_checkbox ul.gfield_checkbox li label,
.gf_wrapper li.gf_list_3col_vertical .ginput_container_radio ul.gfield_radio li label,
.gf_wrapper li.gf_list_4col_vertical .ginput_container_checkbox ul.gfield_checkbox li label,
.gf_wrapper li.gf_list_4col_vertical .ginput_container_radio ul.gfield_radio li label,
.gf_wrapper li.gf_list_5col_vertical .ginput_container_checkbox ul.gfield_checkbox li label,
.gf_wrapper li.gf_list_5col_vertical .ginput_container_radio ul.gfield_radio li label {
max-width: 75%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.gf_wrapper li.gfield.gf_list_height_25 ul.gfield_checkbox li,
.gf_wrapper li.gfield.gf_list_height_25 ul.gfield_radio li {
height: 25px;
}

.gf_wrapper li.gfield.gf_list_height_50 ul.gfield_checkbox li,
.gf_wrapper li.gfield.gf_list_height_50 ul.gfield_radio li {
height: 50px;
}

.gf_wrapper li.gfield.gf_list_height_75 ul.gfield_checkbox li,
.gf_wrapper li.gfield.gf_list_height_75 ul.gfield_radio li {
height: 75px;
}

.gf_wrapper li.gfield.gf_list_height_100 ul.gfield_checkbox li,
.gf_wrapper li.gfield.gf_list_height_100 ul.gfield_radio li {
height: 100px;
}

.gf_wrapper li.gfield.gf_list_height_125 ul.gfield_checkbox li,
.gf_wrapper li.gfield.gf_list_height_125 ul.gfield_radio li {
height: 125px;
}

.gf_wrapper li.gfield.gf_list_height_150 ul.gfield_checkbox li,
.gf_wrapper li.gfield.gf_list_height_150 ul.gfield_radio li {
height: 150px;
}

.gf_wrapper li.gf_list_inline ul.gfield_checkbox li,
.gf_wrapper li.gf_list_inline ul.gfield_radio li {
width: auto !important;
float: none !important;
margin: 0 8px 10px 0;
display: -moz-inline-stack;
display: inline-block;
}

html:not[dir=\"rtl\"] .gf_wrapper li.gf_list_inline ul.gfield_checkbox li,
html:not[dir=\"rtl\"] .gf_wrapper li.gf_list_inline ul.gfield_radio li {
padding-right: 16px !important;
}

html[dir=\"rtl\"] .gf_wrapper li.gf_list_inline ul.gfield_checkbox li,
html[dir=\"rtl\"] .gf_wrapper li.gf_list_inline ul.gfield_radio li {
padding-left: 16px !important;
}

.gf_wrapper li.gf_hide_ampm div.gfield_time_ampm {
display: none !important;
}

.gf_wrapper li.gsection.gf_scroll_text {
height: 240px;
width: calc(100% - 16px);
padding: 16px;
background-color: #fff;
overflow-y: scroll;
overflow-x: hidden;
border: 1px solid #CCC;
border-bottom: 1px solid #CCC !important;
}

.gf_wrapper .top_label li.gsection.gf_scroll_text h2.gsection_title {
margin: 10px 10px 0 8px !important
}

.gf_wrapper.gf_browser_gecko .top_label li.gsection.gf_scroll_text h2.gsection_title,
.gf_wrapper.gf_browser_chrome .top_label li.gsection.gf_scroll_text h2.gsection_title {
margin: 0 10px 0 8px !important;
}

.gf_wrapper .top_label li.gsection.gf_scroll_text .gsection_description {
margin: 10px;
font-size: 12px;
}

.gf_wrapper div.gform_ul.gf_fields .top_label li.gfield.gsection.gf_scroll_text div.gsection_description ul li,
.gf_wrapper form div.gform_ul.gf_fields .top_label li.gfield.gsection.gf_scroll_text div.gsection_description ul li {
list-style-type: disc !important;
margin: 0 0 8px;
overflow: visible;
padding-left: 0;
}

.gf_wrapper div.gform_ul.gf_fields .top_label li.gfield.gsection.gf_scroll_text div.gsection_description ul,
.gf_wrapper form div.gform_ul.gf_fields .top_label li.gfield.gsection.gf_scroll_text div.gsection_description ul {
list-style-type: disc !important;
margin: 16px 0 16px 18px;
padding-left: 0;
}

.gf_wrapper div.gform_ul.gf_fields .top_label li.gfield.gsection.gf_scroll_text div.gsection_description ol li,
.gf_wrapper form div.gform_ul.gf_fields .top_label li.gfield.gsection.gf_scroll_text div.gsection_description ol li {
list-style-type: decimal!important;
overflow: visible;
margin: 0 0 8px;
padding-left: 0;
}

.gf_wrapper div.gform_ul.gf_fields .top_label li.gfield.gsection.gf_scroll_text div.gsection_description ol,
.gf_wrapper form div.gform_ul.gf_fields .top_label li.gfield.gsection.gf_scroll_text div.gsection_description ol {
list-style-type: decimal!important;
margin: 16px 0 18px 32px;
padding-left: 0;
}

.gf_wrapper div.gform_ul.gf_fields .top_label li.gfield.gsection.gf_scroll_text div.gsection_description ol li ul,
.gf_wrapper form div.gform_ul.gf_fields .top_label li.gfield.gsection.gf_scroll_text div.gsection_description ol li ul li {
list-style-type: disc !important;
padding-left: 0;
}

.gf_wrapper div.gform_ul.gf_fields .top_label li.gfield.gsection.gf_scroll_text div.gsection_description ol li ul {
margin: 16px 0 16px 18px;
}

.gf_wrapper form div.gform_ul.gf_fields .top_label li.gfield.gsection.gf_scroll_text div.gsection_description ol li ul li {
margin: 0 0 8px;
}

.gf_wrapper div.gform_ul.gf_fields .top_label li.gfield.gsection.gf_scroll_text div.gsection_description dl {
margin: 0 0 18px 0;
padding-left: 0;
}
.gf_wrapper div.gform_ul.gf_fields .top_label li.gfield.gsection.gf_scroll_text div.gsection_description dl dt {
font-weight: 700;
}

.gf_wrapper div.gform_ul.gf_fields .top_label li.gfield.gsection.gf_scroll_text div.gsection_description dl dd {
margin: 0 0 16px 18px;
}

.gf_wrapper li.gfield.gfield_html.gf_alert_green,
.gf_wrapper li.gfield.gfield_html.gf_alert_red,
.gf_wrapper li.gfield.gfield_html.gf_alert_yellow,
.gf_wrapper li.gfield.gfield_html.gf_alert_gray,
.gf_wrapper li.gfield.gfield_html.gf_alert_blue {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
margin: 20px 0 !important;
padding: 20px !important;
}

.gf_wrapper li.gfield.gfield_html.gf_alert_green {
border: 1px solid #97B48A;
background-color: #CBECA0;
text-shadow: #DFB 1px 1px;
color: #030;
}

.gf_wrapper li.gfield.gfield_html.gf_alert_red {
border: 1px solid #CFADB3;
background-color: #FAF2F5;
text-shadow: #FFF 1px 1px;
color: #832525;
}

.gf_wrapper li.gfield.gfield_html.gf_alert_yellow {
border: 1px solid #E6DB55;
background-color: #FFFBCC;
text-shadow: #FCFAEA 1px 1px;
color: #222;
}

.gf_wrapper li.gfield.gfield_html.gf_alert_gray {
border: 1px solid #CCC;
background-color: #EEE;
text-shadow: #FFF 1px 1px;
color: #424242;
}

.gf_wrapper li.gfield.gfield_html.gf_alert_blue {
border: 1px solid #a7c2e7;
background-color: #D1E4F3;
text-shadow: #E0F1FF 1px 1px;
color: #314475;
}

div.gform_confirmation_wrapper.gf_confirmation_simple_yellow {
margin: 30px 0;
max-width: 99%;
border-top: 1px solid #E6DB55;
border-bottom: 1px solid #E6DB55;
padding: 32px;
background-color: #FFFBCC;
color: #424242;
font-size: 25px;
}

div.gform_confirmation_wrapper.gf_confirmation_simple_gray {
margin: 30px 0;
max-width: 99%;
border-top: 1px solid #CCC;
border-bottom: 1px solid #CCC;
padding: 32px;
background-color: #EAEAEA;
color: #424242;
font-size: 25px;
}

div.gform_confirmation_wrapper.gf_confirmation_yellow_gradient {
position: relative;
background-color: #FFFBD2;
margin: 30px 0;
border: 1px solid #E6DB55;
-webkit-box-shadow: 0px 0px 5px rgba(221, 215, 131, 0.75);
-moz-box-shadow: 0px 0px 5px rgba(221, 215, 131, 0.75);
box-shadow: 0px 0px 5px rgba(221, 215, 131, 0.75);
}

div.gform_confirmation_wrapper.gf_confirmation_yellow_gradient div.gforms_confirmation_message {
margin: 0;
padding: 40px;
max-width: 99%;
font-size: 28px;
border-top: 2px solid #FFF;
border-bottom: 1px solid #E6DB55;
background-color: #FFFBCC;
color: #424242;
background: #fffce5;
background: -moz-linear-gradient(top,  #fffce5 0%, #fff9bf 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fffce5), color-stop(100%,#fff9bf));
background: -webkit-linear-gradient(top,  #fffce5 0%,#fff9bf 100%);
background: -o-linear-gradient(top,  #fffce5 0%,#fff9bf 100%);
background: -ms-linear-gradient(top,  #fffce5 0%,#fff9bf 100%);
background: linear-gradient(to bottom,  #fffce5 0%,#fff9bf 100%);
}

div.gform_confirmation_wrapper.gf_confirmation_green_gradient {
position: relative;
background-color: #f1fcdf;
margin: 30px 0;
border: 1px solid #a7c37c;
-webkit-box-shadow: 0px 0px 5px rgba(86, 122, 86, 0.4);
-moz-box-shadow: 0px 0px 5px rgba(86, 122, 86, 0.4);
box-shadow: 0px 0px 5px rgba(86, 122, 86, 0.4);
}

div.gform_confirmation_wrapper.gf_confirmation_green_gradient div.gforms_confirmation_message {
margin: 0;
padding: 40px;
max-width: 99%;
font-size: 28px;
border-top: 2px solid #effade;
border-bottom: 1px solid #a7c37c;
background-color: #FFFBCC;
text-shadow: #DFB 1px 1px;
color: #030;
background: rgb(219,242,183);
background: -moz-linear-gradient(top,  rgba(219,242,183,1) 0%, rgba(180,208,136,1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(219,242,183,1)), color-stop(100%,rgba(180,208,136,1)));
background: -webkit-linear-gradient(top,  rgba(219,242,183,1) 0%,rgba(180,208,136,1) 100%);
background: -o-linear-gradient(top,  rgba(219,242,183,1) 0%,rgba(180,208,136,1) 100%);
background: -ms-linear-gradient(top,  rgba(219,242,183,1) 0%,rgba(180,208,136,1) 100%);
background: linear-gradient(to bottom,  rgba(219,242,183,1) 0%,rgba(180,208,136,1) 100%);
}

div.gform_confirmation_wrapper.gf_confirmation_yellow_gradient:before,
div.gform_confirmation_wrapper.gf_confirmation_yellow_gradient:after,
div.gform_confirmation_wrapper.gf_confirmation_green_gradient:before,
div.gform_confirmation_wrapper.gf_confirmation_green_gradient:after {
z-index: -1;
position: absolute;
content: \"\";
bottom: 15px;
left: 10px;
width: 50%;
top: 80%;
max-width: 40%;
background: rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0 15px 10px rgba(0,0,0, 0.2);
-moz-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 15px 10px rgba(0, 0, 0, 0.2);
-webkit-transform: rotate(-3deg);
-moz-transform: rotate(-3deg);
-o-transform: rotate(-3deg);
-ms-transform: rotate(-3deg);
transform: rotate(-3deg);
}

div.gform_confirmation_wrapper.gf_confirmation_yellow_gradient:after,
div.gform_confirmation_wrapper.gf_confirmation_green_gradient:after {
-webkit-transform: rotate(3deg);
-moz-transform: rotate(3deg);
-o-transform: rotate(3deg);
-ms-transform: rotate(3deg);
transform: rotate(3deg);
right: 10px;
left: auto;
}

/* simple horizontal form ready class - very simple implementation for up to 5 fields and a button */

.gf_wrapper.gf_simple_horizontal_wrapper.centered_wrapper {
width: auto;
margin: 0 auto;
display: table;
}

.gf_wrapper form.gf_simple_horizontal {
width: calc(100% -16px);
margin: 0 auto;
}

.gf_wrapper form.gf_simple_horizontal div.gf_body,
.gf_wrapper form.gf_simple_horizontal div.gform_footer.top_label {
display: table-cell;
vertical-align: middle;
margin: 0;
padding: 0;
position: relative;
}

.gf_wrapper form.gf_simple_horizontal div.gf_body {
width: auto;
max-width: 75%;
}

.gf_wrapper form.gf_simple_horizontal div.ginput_container,
.gf_wrapper form.gf_simple_horizontal ul li.gfield {
margin-top: 0 !important;
}

.gf_wrapper form.gf_simple_horizontal div.gform_footer.top_label {
width: auto;
max-width: 25%;
padding: 0;
margin: 0;
}

body:not(rtl) .gf_wrapper form.gf_simple_horizontal div.gform_footer.top_label {
text-align: left
}

.gf_wrapper form.gf_simple_horizontal div.gf_body ul.top_label {
display: table;
width: 100%;
}

.gf_wrapper form.gf_simple_horizontal div.gf_body ul.top_label li.gfield {
display: table-cell;
padding-right: 1em;
height: auto;
}

.gf_wrapper form.gf_simple_horizontal label.gfield_label,
.gf_wrapper form.gf_simple_horizontal .ginput_complex label,
.gf_wrapper form.gf_simple_horizontal .gfield_description:not(.validation_message) {
display: block;
height: 1px;
width: 1px;
overflow: hidden;
position: absolute;
top: 0;
left: - 9000px;
}

.gf_wrapper form.gf_simple_horizontal div.gf_body ul.top_label.form_sublabel_below li.gfield {
vertical-align: middle;
}

.gf_wrapper form.gf_simple_horizontal div.gf_body ul.top_label.form_sublabel_above li.gfield {
vertical-align: middle;
}

.gf_wrapper form.gf_simple_horizontal div.gf_body ul.top_label li.gfield input.small,
.gf_wrapper form.gf_simple_horizontal div.gf_body ul.top_label li.gfield input.medium,
.gf_wrapper form.gf_simple_horizontal div.gf_body ul.top_label li.gfield input.large {
width: 100%
}

.gf_wrapper form.gf_simple_horizontal div.gf_body ul.top_label li.gfield select.small,
.gf_wrapper form.gf_simple_horizontal div.gf_body ul.top_label li.gfield select.medium,
.gf_wrapper form.gf_simple_horizontal div.gf_body ul.top_label li.gfield select.large {
width: 100%
}

.gf_wrapper form.gf_simple_horizontal div.gform_footer.top_label input[type=\"submit\"],
.gf_wrapper form.gf_simple_horizontal div.gform_footer.top_label input[type=\"button\"],
.gf_wrapper form.gf_simple_horizontal div.gform_footer.top_label input[type=\"image\"] {
height: auto;
}

.gf_wrapper form.gf_simple_horizontal .top_label .gfield_error {
margin-bottom: 0;
}

.gf_wrapper form.gf_simple_horizontal ul li.gfield .ginput_container_checkbox ul li,
.gf_wrapper form.gf_simple_horizontal ul li.gfield .ginput_container_radio ul li {
display: inline-block;
margin-right: .5em;
}

html[dir=\"rtl\"] .gf_wrapper form.gf_simple_horizontal div.ginput_complex.ginput_container.gf_name_has_2 span {
width: 48.5%;
}

html[dir=\"rtl\"] .gf_wrapper form.gf_simple_horizontal div.ginput_complex.ginput_container.gf_name_has_3 span {
width: 33%;
}

html[dir=\"rtl\"] .gf_wrapper form.gf_simple_horizontal div.ginput_complex.ginput_container.gf_name_has_4 span {
width: 24.5%;
}

html[dir=\"rtl\"] .gf_wrapper form.gf_simple_horizontal div.ginput_complex.ginput_container.gf_name_has_5 span {
width: 19.5%;
}


/* end media query */

}

/* add equal padding to form for better centering */

body .gf_wrapper.gf_form_center_wrapper {padding: 16px 0 16px 16px;}";

$browsers = "/*
----------------------------------------------------------------

browsers.css
Gravity Forms Browser-Specific CSS
http://www.gravityforms.com
updated: January 12, 2017 03:56 PM (GMT-05:00) US Eastern Time

Gravity Forms is a Rocketgenius project
copyright 2008-2017 Rocketgenius Inc.
http: //www.rocketgenius.com
this may not be redistributed without the
express written permission of the author.

NOTE: DO NOT EDIT THIS FILE! MAKE ANY MODIFICATIONS IN YOUR
THEME STYLESHEET. THIS FILE IS REPLACED DURING AUTO-UPDATES
AND ANY CHANGES MADE HERE WILL BE OVERWRITTEN.

If you need to make extensive customizations,
copy the contents of this file to your theme
style sheet for editing. Then, go to the form
settings page & set the 'output CSS' option
to no.

----------------------------------------------------------------
*/

/* Safari specific styles */

.entry .gf_wrapper.gf_browser_safari ul li:before,
.entry .gf_wrapper.gf_browser_safari ul li:after {
content: \"\";
}

.gf_wrapper.gf_browser_safari .gf_body ul.gf_fields li.gfield .ginput_container #recaptcha_widget_div #recaptcha_area {
width: 99% !important;
}

.gf_wrapper.gf_browser_safari .left_label #recaptcha_area #recaptcha_table,
.gf_wrapper.gf_browser_safari .right_label #recaptcha_area #recaptcha_table {
margin-left: 32%;
}

.gf_wrapper.gf_browser_safari .gfield_checkbox li input[type=checkbox],
.gf_wrapper.gf_browser_safari .gfield_radio li input[type=radio],
.gf_wrapper.gf_browser_safari .gfield_checkbox li input {
margin-top: 4px;
}

.gf_wrapper.gf_browser_safari select[multiple=multiple] {
height: auto !important;
}

.gf_wrapper.gf_browser_safari input.button.gform_button_select_files {
padding: 6px 12px !important;
}

.gf_wrapper.gf_browser_safari .gfield_time_ampm select {
max-width: 5rem !important;
width: calc(2rem + 20px);
}

/* Google Chrome (and now Opera) styles */

.gf_wrapper.gf_browser_chrome select {
padding: 2px 0 2px 3px;
}

.gf_wrapper.gf_browser_chrome .gfield_time_ampm select {
max-width: 5rem !important;
width: calc(3rem + 20px);
}

.gf_wrapper.gf_browser_chrome ul li:before,
.gf_wrapper.gf_browser_chrome ul li:after,
.entry .gf_wrapper.gf_browser_chrome ul li:before,
.entry .gf_wrapper.gf_browser_chrome ul li:after {
content: none;
}

.gf_wrapper.gf_browser_chrome .gf_body ul.gf_fields li.gfield .ginput_container #recaptcha_widget_div #recaptcha_area {
width: 99% !important;
}

.gf_wrapper.gf_browser_chrome .left_label #recaptcha_area #recaptcha_table,
.gf_wrapper.gf_browser_chrome .right_label #recaptcha_area #recaptcha_table {
margin-left: 32%;
}

.gf_wrapper.gf_browser_chrome .ginput_complex select,
.gf_wrapper.gf_browser_chrome .ginput_complex .ginput_right select {
text-indent: 2px;
line-height: 1.5em;
margin-bottom: 5px;
margin-top: 2px;
}

.gf_wrapper.gf_browser_chrome .gfield_checkbox li input[type=checkbox],
.gf_wrapper.gf_browser_chrome .gfield_radio li input[type=radio],
.gf_wrapper.gf_browser_chrome .gfield_checkbox li input {
margin-top: 6px;
}

.gf_wrapper.gf_browser_chrome ul.gf_fields li.gfield div.ginput_complex span.ginput_left select,
.gf_wrapper.gf_browser_chrome ul.gf_fields li.gfield div.ginput_complex span.ginput_right select,
.gf_wrapper.gf_browser_chrome ul.gf_fields li.gfield select {
margin-left: 1px;
}

.gf_wrapper.gf_browser_chrome ul.gf_fields li.gfield input[type=radio] {
margin-left: 1px;
}

.gf_wrapper.gf_browser_chrome ul.gf_fields li.gfield span.name_first,
.gf_wrapper.gf_browser_chrome ul.gf_fields li.gfield span.name_middle,
.gf_wrapper.gf_browser_chrome ul.gf_fields li.gfield span.name_last {
padding-top: 2px;
}

.gf_wrapper.gf_browser_chrome select[multiple=multiple] {
height: auto !important;
}

.gf_wrapper.gf_browser_chrome .gfield_error .ginput_complex.ginput_container.has_first_name.has_middle_name.has_last_name span.name_middle,
.gf_wrapper.gf_browser_chrome .gfield_error .ginput_complex.ginput_container.has_first_name.has_middle_name.has_last_name span.name_last {
margin-left: 1.1%;
}

.gf_wrapper.gf_browser_chrome .gfield_error input[type=text],
.gf_wrapper.gf_browser_chrome .gfield_error input[type=email],
.gf_wrapper.gf_browser_chrome .gfield_error input[type=tel],
.gf_wrapper.gf_browser_chrome .gfield_error input[type=url],
.gf_wrapper.gf_browser_chrome .gfield_error input[type=number],
.gf_wrapper.gf_browser_chrome .gfield_error input[type=password],
.gf_wrapper.gf_browser_chrome .gfield_error select,
.gf_wrapper.gf_browser_chrome .gfield_error textarea,
.gf_wrapper.gf_browser_chrome li.gfield_error.field_sublabel_above .ginput_complex input[type=text] {
margin-bottom: 2px;
}

.gf_wrapper.gf_browser_chrome input.button.gform_button_select_files {
padding: 6px 12px !important;
}

.gf_wrapper.gf_browser_chrome span.address_country {
margin-top:-2px;
}

/* Firefox specific styles */

.gf_wrapper.gf_browser_gecko select {
padding: 2px 12px 2px 2px;
}

.gf_wrapper.gf_browser_gecko .gfield_time_ampm select {
max-width: 5rem !important;
width: calc(4rem + 25px);
}

.gf_wrapper.gf_browser_gecko ul li:before,
.gf_wrapper.gf_browser_gecko ul li:after,
.entry .gf_wrapper.gf_browser_gecko ul li:before,
.entry .gf_wrapper.gf_browser_gecko ul li:after {
content: none;
}

.gf_wrapper.gf_browser_gecko .ginput_complex .ginput_cardinfo_left select.ginput_card_expiration.ginput_card_expiration_month {
margin-right: 1px;
}

.gf_wrappergf_browser_gecko .chosen-container-single .chosen-single {
height: 32px;
line-height: 2.4;
}

.gf_wrappergf_browser_gecko .chosen-container-single .chosen-single div b {
position: relative;
top: 5px;
}

/* Internet Explorer specific styles */

.gf_wrapper.gf_browser_ie ul li:before,
.gf_wrapper.gf_browser_ie ul li:after,
.entry .gf_wrapper.gf_browser_ie ul li:before,
.entry .gf_wrapper.gf_browser_ie ul li:after {
content: none;
}

.gf_wrapper.gf_browser_ie .gfield_time_hour {
width: 80px;
}

.gf_wrapper.gf_browser_ie .gfield_time_minute {
width: 70px;
}

.gf_wrapper.gf_browser_ie .gfield_time_ampm {
padding-top: 2px;
}

.gf_wrapper.gf_browser_ie .gfield_time_hour input,
.gf_wrapper.gf_browser_ie .gfield_time_minute input {
margin-left: 0;
}

.gf_wrapper.gf_browser_ie .ginput_complex .ginput_left label,
.gf_wrapper.gf_browser_ie .ginput_complex .ginput_right label {
margin: 3px 0 5px 0;
}

.gf_wrapper.gf_browser_ie .gform_footer input.button {
padding: 3px;
}

.gf_wrapper.gf_browser_ie ul.top_label .clear-multi {
overflow: hidden;
clear: both;
}

.gf_wrapper.gf_browser_ie .gfield_radio li {
line-height: 20px !important;
}

.gf_wrapper.gf_browser_ie .gfield_checkbox li input[type=checkbox],
.gf_wrapper.gf_browser_ie .gfield_radio li input[type=radio],
.gf_wrapper.gf_browser_ie .gfield_checkbox li input {
margin-top: 0;
}

.gf_wrapper.gf_browser_ie .ginput_complex .ginput_left select,
.gf_wrapper.gf_browser_ie .ginput_complex .ginput_right select {
padding: 2px 0 2px 0;
}

.gf_wrapper.gf_browser_ie .gf_body ul.gf_fields li.gfield .ginput_container #recaptcha_widget_div #recaptcha_area {
width: 99% !important;
}

.gf_wrapper.gf_browser_ie .gf_body ul.gf_fields li.gfield .ginput_container #recaptcha_widget_div #recaptcha_area {
width: 99% !important;
}

.gf_wrapper.gf_browser_ie .left_label #recaptcha_area #recaptcha_table, .gf_wrapper.gf_browser_ie .right_label #recaptcha_area #recaptcha_table { margin-left: 32%;
}

.gf_wrapper.gf_browser_ie .ginput_complex .ginput_cardinfo_right span.ginput_card_security_code_icon {
position: relative;
top: -1px;
left: 4px;
}

.gf_wrapper.gf_browser_ie img.add_list_item,
.gf_wrapper.gf_browser_ie img.delete_list_item {
width: 16px !important;
height: 16px !important;
background-size: 16px 16px !important;
}

.gf_wrapper.gf_browser_iphone ul li:before,
.gf_wrapper.gf_browser_iphone ul li:after,
.entry .gf_wrapper.gf_browser_iphone ul li:before,
.entry .gf_wrapper.gf_browser_iphone ul li:after {
content: none;
}

.gf_wrapper.gf_browser_unknown ul li:before,
.gf_wrapper.gf_browser_unknown ul li:after,
.entry .gf_wrapper.gf_browser_unknown ul li:before,
.entry .gf_wrapper.gf_browser_unknown ul li:after {
content: none;
}

@media only screen and (max-width: 641px)  {

/* make the nifty styled selects a little larger for mobile devices */

.gf_wrapper.gf_browser_gecko .chosen-container-single .chosen-single,
.gf_wrapper.gf_browser_safari .chosen-container-single .chosen-single,
.gf_wrapper.gf_browser_chrome .chosen-container-single .chosen-single {
height: 44px;
line-height: 3.2;
}

.gf_wrapper.gf_browser_gecko .chosen-container-single .chosen-single div b,
.gf_wrapper.gf_browser_safari .chosen-container-single .chosen-single div b,
.gf_wrapper.gf_browser_chrome .chosen-container-single .chosen-single div b {
position: relative;
top: 12px;
}

}
";


$rtl = "
/*
----------------------------------------------------------------

rtl.css
Gravity Forms RTL Language Support
http://www.gravityforms.com
updated: July 1, 2016 9:48 AM GMT-5

Gravity Forms is a Rocketgenius project
copyright 2013-2016 Rocketgenius Inc.
http: //www.rocketgenius.com
this may not be redistributed without the
express written permission of the author.

NOTE: DO NOT EDIT THIS FILE! MAKE ANY MODIFICATIONS IN YOUR
THEME STYLESHEET. THIS FILE IS REPLACED DURING AUTO-UPDATES
AND ANY CHANGES MADE HERE WILL BE OVERWRITTEN.

If you need to make extensive customizations,
copy the contents of this file to your theme
style sheet for editing. Then, go to the form
settings page & set the 'output CSS' option
to no.

----------------------------------------------------------------
*/

html[dir=\"rtl\"] .gf_wrapper *,
html[dir=\"rtl\"] .gf_wrapper form,
html[dir=\"rtl\"] .gf_wrapper .gf_body,
html[dir=\"rtl\"] .gf_wrapper ul li,
html[dir=\"rtl\"] .gf_wrapper ul li.gfield,
html[dir=\"rtl\"] .gf_wrapper ul li.gfield.gfield_html,
html[dir=\"rtl\"] .gf_wrapper ul li.gfield input,
html[dir=\"rtl\"] .gf_wrapper ul li.gfield textarea,
html[dir=\"rtl\"] .gf_wrapper textarea,
html[dir=\"rtl\"] .gf_wrapper ul li.gfield select,
html[dir=\"rtl\"] .gf_wrapper select,
html[dir=\"rtl\"] .gf_wrapper input[type=\"text\"],
html[dir=\"rtl\"] .gf_wrapper input[type=\"email\"],
html[dir=\"rtl\"] .gf_wrapper input[type=\"password\"],
html[dir=\"rtl\"] .gf_wrapper input[type=\"url\"],
html[dir=\"rtl\"] .gf_wrapper input[type=\"tel\"],
html[dir=\"rtl\"] .gf_wrapper input[type=\"submit\"],
html[dir=\"rtl\"] .gf_wrapper input[type=\"button\"],
html[dir=\"rtl\"] .gf_wrapper button,
html[dir=\"rtl\"] .gf_wrapper table tr td.gfield_list_icons,
html[dir=\"rtl\"] .gf_wrapper div.validation_error,
html[dir=\"rtl\"] .gf_wrapper h3.gform_title,
html[dir=\"rtl\"] .gf_wrapper span.gform_description,
html[dir=\"rtl\"] .gf_wrapper .gform_footer {
text-align: right;
direction: rtl;
}

html[dir=\"rtl\"] .gf_wrapper ul,
html[dir=\"rtl\"] .gf_wrapper ul li {
margin-right: 0 !important;
padding-right: 0 !important;
}

html[dir=\"rtl\"] .gf_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html ol li,
html[dir=\"rtl\"] .gf_wrapper form div.gf_body ul.gf_fields li.gfield.gfield_html ol li,
html[dir=\"rtl\"] .gf_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html ul li,
html[dir=\"rtl\"] .gf_wrapper form div.gf_body ul.gf_fields li.gfield.gfield_html ul li {
margin: 0 0 0 0 !important;
direction: rtl !important;
}


body .gf_wrapper.gf_rtl_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html table {
direction: rtl !important;
}

html[dir=\"rtl\"] .gf_wrapper table.gfield_list th,
html[dir=\"rtl\"] .gf_wrapper table.gfield_list td {
padding-left: 16px;
padding-right: 0;
}

.gf_wrapper table.gfield_list tr td.gfield_list_icons,
.gf_wrapper table.gfield_list tr td:last-child {
padding: 0 4px 0 0 !important;
}

html[dir=\"rtl\"] .gf_wrapper.gf_browser_gecko .top_label input[type=\"file\"],
html[dir=\"rtl\"] .gf_wrapper.gf_browser_gecko .left_label input[type=\"file\"],
html[dir=\"rtl\"] .gf_wrapper.gf_browser_gecko .right_label input[type=\"file\"] {
width: 55% !important;
direction: rtl !important;
}

html[dir=\"rtl\"] .gf_wrapper.recaptchatable #recaptcha_response_field {
position: static !important;
}

html[dir=\"rtl\"] .gf_wrapper .chosen-container-multi ul.chosen-choices li.search-choice {
float: right !important;
margin: 3px 5px 3px 0 !important;
}

html[dir=\"rtl\"] .gf_wrapper .chosen-container ul.chosen-choices li.search-field {
float: right !important;
}

html[dir=\"rtl\"] .gf_wrapper .right_label .gfield_label {
text-align: left !important;
}

body.rtl .gf_wrapper *,
body.rtl .gf_wrapper form,
body.rtl .gf_wrapper .gf_body,
body.rtl .gf_wrapper ul li,
body.rtl .gf_wrapper ul li.gfield,
body.rtl .gf_wrapper ul li.gfield.gfield_html,
body.rtl .gf_wrapper ul li.gfield input,
body.rtl .gf_wrapper ul li.gfield textarea,
body.rtl .gf_wrapper textarea,
body.rtl .gf_wrapper ul li.gfield select,
body.rtl .gf_wrapper select,
body.rtl .gf_wrapper input[type=\"text\"],
body.rtl .gf_wrapper input[type=\"email\"],
body.rtl .gf_wrapper input[type=\"password\"],
body.rtl .gf_wrapper input[type=\"url\"],
body.rtl .gf_wrapper input[type=\"tel\"],
body.rtl .gf_wrapper input[type=\"submit\"],
body.rtl .gf_wrapper input[type=\"button\"],
body.rtl .gf_wrapper button,
body.rtl .gf_wrapper table tr td.gfield_list_icons,
body.rtl .gf_wrapper div.validation_error,
body.rtl .gf_wrapper h3.gform_title,
body.rtl .gf_wrapper span.gform_description,
body.rtl .gf_wrapper .gform_footer,
body .gf_wrapper.gf_rtl_wrapper ul li,
body .gf_wrapper.gf_rtl_wrapper ul li.gfield,
body .gf_wrapper.gf_rtl_wrapper ul li.gfield.gfield_html,
body .gf_wrapper.gf_rtl_wrapper ul li.gfield input,
body .gf_wrapper.gf_rtl_wrapper ul li.gfield textarea,
body .gf_wrapper.gf_rtl_wrapper textarea,
body .gf_wrapper.gf_rtl_wrapper ul li.gfield select,
body .gf_wrapper.gf_rtl_wrapper select,
body .gf_wrapper.gf_rtl_wrapper input[type=\"text\"],
body .gf_wrapper.gf_rtl_wrapper input[type=\"email\"],
body .gf_wrapper.gf_rtl_wrapper input[type=\"password\"],
body .gf_wrapper.gf_rtl_wrapper input[type=\"url\"],
body .gf_wrapper.gf_rtl_wrapper input[type=\"tel\"],
body .gf_wrapper.gf_rtl_wrapper input[type=\"submit\"],
body .gf_wrapper.gf_rtl_wrapper input[type=\"button\"],
body .gf_wrapper.gf_rtl_wrapper button,
body .gf_wrapper.gf_rtl_wrapper table tr td.gfield_list_icons,
body .gf_wrapper.gf_rtl_wrapper div.validation_error,
body .gf_wrapper.gf_rtl_wrapper .gform_heading,
body .gf_wrapper.gf_rtl_wrapper h3.gform_title,
body .gf_wrapper.gf_rtl_wrapper span.gform_description,
body .gf_wrapper.gf_rtl_wrapper .gform_footer {
text-align: right !important;
direction: rtl !important;
}

body.rtl .gf_wrapper ul,
body.rtl .gf_wrapper ul li,
body .gf_wrapper.gf_rtl_wrapper ul,
body .gf_wrapper.gf_rtl_wrapper ul li {
margin-right: 0 !important;
padding-right: 0 !important;
}

body.rtl .gf_wrapper .gfield_checkbox li input[type=\"checkbox\"],
body.rtl .gf_wrapper .gfield_radio li input[type=\"radio\"],
body.rtl .gf_wrapper .gfield_checkbox li input,
body .gf_wrapper.gf_rtl_wrapper .gfield_checkbox li input[type=\"checkbox\"],
body .gf_wrapper.gf_rtl_wrapper .gfield_radio li input[type=\"radio\"],
body .gf_wrapper.gf_rtl_wrapper .gfield_checkbox li input {
float: right !important;
}

body.rtl .gf_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html ol li,
body.rtl .gf_wrapper form div.gf_body ul.gf_fields li.gfield.gfield_html ol li,
body.rtl .gf_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html ul li,
body.rtl .gf_wrapper form div.gf_body ul.gf_fields li.gfield.gfield_html ul li,
body .gf_wrapper.gf_rtl_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html ol li,
body .gf_wrapper.gf_rtl_wrapper form div.gf_body ul.gf_fields li.gfield.gfield_html ol li,
body .gf_wrapper.gf_rtl_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html ul li,
body .gf_wrapper.gf_rtl_wrapper form div.gf_body ul.gf_fields li.gfield.gfield_html ul li {
margin: 0 24px 0 0 !important;
direction: rtl !important;
}

body .gf_wrapper.gf_rtl_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html table {
direction: rtl !important;
}

body .gf_wrapper.gf_rtl_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html table th,
body .gf_wrapper.gf_rtl_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html table td,
body .gf_wrapper.gf_rtl_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html p,
body .gf_wrapper.gf_rtl_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html span,
body .gf_wrapper.gf_rtl_wrapper div.gf_body ul.gf_fields li.gfield.gfield_html blockquote {
text-align: right !important;
direction: rtl !important;
}

body.rtl .gf_wrapper table.gfield_list th,
body.rtl .gf_wrapper table.gfield_list td,
body .gf_wrapper.gf_rtl_wrapper table.gfield_list th,
body .gf_wrapper.gf_rtl_wrapper table.gfield_list td {
padding: 0 !important;
}

body .gf_wrapper.gf_rtl_wrapper table.gfield_list {
direction: rtl !important;
}

body .gf_wrapper.gf_rtl_wrapper table.gfield_list thead th {
text-align: right !important;
}

body.rtl .gf_wrapper table input,
body .gf_wrapper.gf_rtl_wrapper table input {
float: right !important;
}

body.rtl .gf_wrapper.recaptchatable #recaptcha_response_field,
body .gf_wrapper.gf_rtl_wrapper .recaptchatable #recaptcha_response_field {
position: static !important;
}

body.rtl .gf_wrapper .chosen-container-multi ul.chosen-choices li.search-choice,
body .gf_wrapper.gf_rtl_wrapper .chosen-container-multi ul.chosen-choices li.search-choice {
float: right !important;
margin: 3px 5px 3px 0 !important;
}

body.rtl .gf_wrapper .chosen-container ul.chosen-choices li.search-field,
body .gf_wrapper.gf_rtl_wrapper .chosen-container ul.chosen-choices li.search-field {
float: right !important;
}

body.rtl .gf_wrapper ul:not(.top_label) .gfield_label,
body .gf_wrapper.gf_rtl_wrapper ul:not(.top_label) .gfield_label {
float: right !important;
margin: 0 0 0 15px !important;
}

body.rtl .gf_wrapper .right_label .gfield_label,
body .gf_wrapper.gf_rtl_wrapper .right_label .gfield_label {
text-align: left !important;
}

body.rtl .gf_wrapper ul:not(.top_label) .gfield_description,
body.rtl .gf_wrapper ul:not(.top_label) .instruction,
body .gf_wrapper.gf_rtl_wrapper ul:not(.top_label) .gfield_description,
body .gf_wrapper.gf_rtl_wrapper ul:not(.top_label) .instruction {
margin-right: 31% !important;
margin-left: 0 !important;
}

body.rtl .gf_wrapper ul:not(.top_label) div.ginput_complex,
body .gf_wrapper.gf_rtl_wrapper ul:not(.top_label) div.ginput_complex {
margin-right: 31% !important;
margin-left: 0 !important;
}

body.rtl .gf_wrapper ul:not(.top_label) .gfield_description,
body .gf_wrapper.gf_rtl_wrapper ul:not(.top_label) .gfield_description {
padding: 0;
}

body.rtl .gf_wrapper ul:not(.top_label) li.gfield_html_formatted,
body .gf_wrapper.gf_rtl_wrapper ul:not(.top_label) li.gfield_html_formatted {
margin-left: 0 !important;
margin-right: 32% !important;
}

body.rtl .gf_wrapper .gform_footer.right_label,
body.rtl .gf_wrapper .gform_footer.left_label,
body .gf_wrapper.gf_rtl_wrapper .gform_footer.right_label,
body .gf_wrapper.gf_rtl_wrapper .gform_footer.left_label {
padding: 16px 31% 10px 0 !important;
}

html[dir=\"rtl\"] .gf_wrapper .ginput_right select,
body.rtl .gf_wrapper .ginput_right select,
body .gf_wrapper.gf_rtl_wrapper .ginput_right select {
margin-right: 2px;
}

html[dir=\"rtl\"] .gf_wrapper img.ui-datepicker-trigger,
body.rtl .gf_wrapper img.ui-datepicker-trigger,
body .gf_wrapper.gf_rtl_wrapper img.ui-datepicker-trigger {
margin: 4px 2px 0 0;
}

html[dir=\"rtl\"] .gf_wrapper .gf_progressbar_percentage span,
body.rtl .gf_wrapper .gf_progressbar_percentage span,
body .gf_wrapper.gf_rtl_wrapper .gf_progressbar_percentage span {
display: block;
width: auto;
float: left !important;
}

html[dir=\"rtl\"] .gf_wrapper .gf_step span.gf_step_number,
body.rtl .gf_wrapper .gf_step span.gf_step_number,
body .gf_wrapper.gf_rtl_wrapper .gf_step span.gf_step_number {
float: right !important;
}

html[dir=\"rtl\"] .gf_wrapper .gf_step,
body.rtl .gf_wrapper .gf_step,
body .gf_wrapper.gf_rtl_wrapper .gf_wrapper .gf_step {
margin: 0 0 10px 10px !important;
}

html[dir=\"rtl\"] .gf_wrapper .chosen-container .chosen-results li.active-result,
body.rtl .gf_wrapper .chosen-container .chosen-results li.active-result,
body .gf_wrapper.gf_rtl_wrapper .chosen-container .chosen-results li.active-result {
padding-right: 24px !important;
}

html[dir=\"rtl\"] .gf_wrapper .chosen-container-multi .chosen-choices .search-choice .search-choice-close,
body.rtl .gf_wrapper .chosen-container-multi .chosen-choices .search-choice .search-choice-close,
body .gf_wrapper.gf_rtl_wrapper .chosen-container-multi .chosen-choices .search-choice .search-choice-close {
right: 5px !important;
}

html[dir=\"rtl\"] .gf_wrapper .chosen-container-multi ul.chosen-choices li.search-choice span,
body.rtl .gf_wrapper .chosen-container-multi ul.chosen-choices li.search-choice span,
body .gf_wrapper.gf_rtl_wrapper .gf_wrapper .chosen-container-multi ul.chosen-choices li.search-choice span {
display: block;
margin-right: 19px !important;
}

html[dir=\"rtl\"] div#preview_hdr span.actionlinks {
float: left !important;
text-align: left !important;
}

html[dir=\"rtl\"] div#preview_hdr div:first-child {
background-position: right center !important;
padding-left: 10px !important;
padding-right: 10px !important;
}

html[dir=\"rtl\"] .gf_wrapper .gfield_visibility_hidden,
html[dir=\"rtl\"] .gf_wrapper .gf_invisible {
left: auto; right: -9999px;
}

html[dir=\"rtl\"] .gf_wrapper .gf_progressbar_percentage {
border-radius: 4px 20px 20px 4px;
}

/* admin RTL support */

html[dir=\"rtl\"] body.wp-admin  * {
direction: rtl !important;
}

html[dir=\"rtl\"] body.wp-admin  li.gf_form_switcher {
display: block;
position: relative;
right: 0;
}

html[dir=\"rtl\"] body.wp-admin  li.gf_form_switcher select {

}

html[dir=\"rtl\"] body.wp-admin  div#add_fields {
float: left;
}

html[dir=\"rtl\"] body.wp-admin  .button-title-link div.add-buttons-title {
position: relative;
background-image: url(../images/gf-expand-title-bg-rtl.png);
background-position: left 0;
text-align: right;
padding: 8px 14px 0 0 !important;
}

html[dir=\"rtl\"] body.wp-admin  ul#gf_form_toolbar_links {
padding: 0 6px 0 0 !important;
}

html[dir=\"rtl\"] body.wp-admin  .top_label .gfield_label {
margin: 8px 6px 4px 0;
}

html[dir=\"rtl\"] body.wp-admin .gfield_checkbox li input[type=checkbox],
html[dir=\"rtl\"] body.wp-admin .gfield_radio li input[type=radio],
html[dir=\"rtl\"] body.wp-admin .gfield_checkbox li input {
float: right !important;
margin-left: 2px !important;
margin-right: 1px !important;
}

html[dir=\"rtl\"] body.wp-admin .ginput_complex .ginput_left,
html[dir=\"rtl\"] body.wp-admin .ginput_complex .ginput_right {
float: right !important;
}

html[dir=\"rtl\"] body.wp-admin .gfield_time_hour,
html[dir=\"rtl\"] body.wp-admin .gfield_time_minute {
float: right;
}

html[dir=\"rtl\"] body.wp-admin .gfield_date_month,
html[dir=\"rtl\"] body.wp-admin .gfield_date_day,
html[dir=\"rtl\"] body.wp-admin .gfield_date_year {
float: right !important;
}

html[dir=\"rtl\"] body.wp-admin img#gfield_input_datepicker_icon {
left: -4px;
}

html[dir=\"rtl\"] body.wp-admin div#gf_nofield_1_instructions {
background-position: 0 -1995px;
}

html[dir=\"rtl\"] body.wp-admin div#gf_nofield_1_instructions span {
margin-left: 300px;
}

html[dir=\"rtl\"] body.wp-admin ul#gf_fields li#no-fields div.newform_notice span {
position: absolute;
right:340px;
top: 40px;
background-position: 0 -1880px;
}

html[dir=\"rtl\"] body.wp-admin .gf_new_form_modal_container .setting-row label {
float: right !important;
}

html[dir=\"rtl\"] body.wp-admin .gf_new_form_modal_container div.submit-row input#save_new_form.button {
float: right !important;
}

html[dir=\"rtl\"] body.wp-admin #TB_ajaxWindowTitle {
float: right !important;
}

html[dir=\"rtl\"] body.wp-admin #TB_closeAjaxWindow {
float: left !important;
}

html[dir=\"rtl\"] body.wp-admin .gform_tabs li.active a {
position: relative;
right: -1px;
padding: 6px 10px 6px 10px !important;
}

html[dir=\"rtl\"] body.wp-admin a.tooltip,
html[dir=\"rtl\"] body.wp-admin a.tooltip_left,
html[dir=\"rtl\"] body.wp-admin a.tooltip_bottomleft {
overflow: hidden;
}

html[dir=\"rtl\"] body.wp-admin h2.gf_admin_page_title span.gf_admin_page_subtitle span.gf_admin_page_formid {
margin: 0 0 0 8px !important;
}

html[dir=\"rtl\"] body.wp-admin p.submit input.gf_settings_savebutton {
float: right;
}

html[dir=\"rtl\"] body.wp-admin p[style]  {
text-align: right !important;
}

html[dir=\"rtl\"] body.wp-admin div.delete-alert {
padding: 0 20px 20px 20px;
}

html[dir=\"rtl\"] .gf_wrapper .ginput_complex.ginput_container_address span.ginput_full + span.ginput_right,
html[dir=\"rtl\"] .gf_wrapper .ginput_complex.ginput_container_address .ginput_left:nth-of-type(odd) {
padding-right: 0 !important;
padding-left: 16px !important;
}

html[dir=\"rtl\"] .gf_wrapper span.ginput_left,
html[dir=\"rtl\"] .gf_wrapper ul.gf_fields li.gfield {
padding-left: 16px;
padding-right: 0;
}

html[dir=\"rtl\"] .gf_wrapper ul.gf_fields li.gfield.gfield_error {
padding-right: 16px !important;
}

html[dir=\"rtl\"] div.ginput_complex.ginput_container.gf_name_has_2 span:first-child,
html[dir=\"rtl\"] div.ginput_complex.ginput_container.gf_name_has_3 span:first-child,
html[dir=\"rtl\"] div.ginput_complex.ginput_container.gf_name_has_4 span:first-child,
html[dir=\"rtl\"] div.ginput_complex.ginput_container.gf_name_has_5 span:first-child {
margin-right: 0 !important;
padding-right: 0;
margin-left: -4px;
}

html[dir=\"rtl\"] div.ginput_container_name span {
padding-right: 0;
padding-left: 16px;
margin-right: 0;
margin-left: -4px;
}

html[dir=\"rtl\"] div#preview_hdr span.toggle_helpers {
float: left;
}

html[dir=\"rtl\"] div#preview_hdr span.toggle_helpers label,
html[dir=\"rtl\"] div#preview_hdr span.toggle_helpers input {
display: -moz-inline-stack;
display: inline-block;
}

html[dir=\"rtl\"] div#preview_note {
border-right: 4px solid #ffba00;
border-left: none !important;
}

html[dir=\"rtl\"] .gf_wrapper span.gfield_required {
margin-left: 0;
margin-right: 4px;
}

html[dir=\"rtl\"] .gf_wrapper li.gfield.gfield_creditcard_warning div.gfield_creditcard_warning_message span {
padding: 0 24px 14px 0;
}

html[dir=\"rtl\"] .gf_wrapper .gfield_time_hour i {
float: left;
}

html[dir=\"rtl\"] .gf_wrapper .description, .gf_wrapper .gfield_description,
html[dir=\"rtl\"] .gf_wrapper .gsection_description {
padding: 10px 0 10px 16px;
}

html[dir=\"rtl\"] .gf_wrapper .gform_card_icon_container div {
float: right;
}

html[dir=\"rtl\"] .gf_wrapper .ginput_complex .ginput_cardinfo_left,
html[dir=\"rtl\"] .gf_wrapper .ginput_complex .ginput_cardinfo_right {
float: right;
}

html[dir=\"rtl\"] .gf_wrapper .ginput_complex .ginput_cardinfo_right span.ginput_card_security_code_icon {
right: 6px;
top: -1px;
width: 32px;
}

html[dir=\"rtl\"] .gf_wrapper li.gfield.gfield_creditcard_warning div.gfield_creditcard_warning_message span {
background-position: 100% top;
}

html[dir=\"rtl\"] div.form_saved_message,
html[dir=\"rtl\"] div.form_saved_message * {
text-align: center !important;
}

html[dir=\"rtl\"] .gf_wrapper .gfield_checkbox li label,
html[dir=\"rtl\"] .gf_wrapper .gfield_radio li label {
margin: 0 4px 0 0;
}

html[dir=\"rtl\"] .gf_wrapper:not(.gf_browser_gecko):not(.gf_browser_ie) select {
background-position: 3.5% center;
}

html[dir=\"rtl\"] .gf_wrapper .gform_fileupload_multifile .gform_drop_area,
html[dir=\"rtl\"] .gf_wrapper span.gform_drop_instructions {
text-align: center;
}

html[dir=\"rtl\"] .gf_wrapper .ginput_complex.ginput_container.ginput_container_email .ginput_left,
html[dir=\"rtl\"] .gf_wrapper .ginput_complex.ginput_container.ginput_container_email .ginput_right {
padding-left: 16px;
padding-right: 0;
}

html[dir=\"rtl\"] .gf_wrapper div.validation_error {
text-align: center;
}


html[dir=\"rtl\"] .gf_wrapper span.ginput_price {
float: right;
}

@media only screen and (max-width: 761px), (min-device-width: 768px) and (max-device-width: 1024px)  {

/* Force the list table to not be like tables anymore */

html[dir=\"rtl\"] .gf_wrapper table.gfield_list {
border: 0;
}

html[dir=\"rtl\"] .gf_wrapper ul.gf_fields.form_sublabel_above table.gfield_list td:before {
margin: 8px 1px 3px 0;
}

html[dir=\"rtl\"] .gf_wrapper table.gfield_list td {
clear: both;
}
html[dir=\"rtl\"] .gf_wrapper table.gfield_list td:last-child(2) {
padding-bottom: 4px !important;
}

html[dir=\"rtl\"] .gf_wrapper table.gfield_list td.gfield_list_icons {
vertical-align: middle;
padding: 0 4px 4px 0 !important;
}

}

/* media queries - tablet or desktop */

@media only screen and (min-width: 641px) {


html[dir=\"rtl\"] .gf_wrapper ul:not(.top_label) .gfield_label {
float: right !important;
margin: 0 0 0 15px !important;
}

html[dir=\"rtl\"] .gf_wrapper ul:not(.top_label) .ginput_container:not(.ginput_container_time),
html[dir=\"rtl\"] .gf_wrapper ul:not(.top_label) .gfield_description {
width: 70%;
margin-right: 29%;
margin-left: 0;
}

html[dir=\"rtl\"] .gf_wrapper ul:not(.top_label) .gfield_description,
html[dir=\"rtl\"] .gf_wrapper .ul:not(.top_label) .instruction {
margin-right: 29% !important;
margin-left: 0 !important;
}

html[dir=\"rtl\"] .gf_wrapper ul:not(.top_label) div.ginput_complex {
margin-right: 31% !important;
margin-left: 0 !important;
}

html[dir=\"rtl\"] .gf_wrapper ul:not(.top_label) .gfield_description {
padding: 10px 0 10px 0 !important;
}

html[dir=\"rtl\"] .gf_wrapper ul:not(.top_label) li.gfield_html_formatted {
margin-left: 0 !important;
margin-right: 32% !important;
}

html[dir=\"rtl\"] .gf_wrapper .gform_footer.right_label,
html[dir=\"rtl\"] .gf_wrapper .gform_footer.left_label {
padding: 16px 31% 10px 0 !important;
}

html[dir=\"rtl\"] .gf_wrapper .gform_footer a.gform_save_link,
html[dir=\"rtl\"] .gf_wrapper .gform_page_footer a.gform_save_link {
margin-right: 16px;
}

html[dir=\"rtl\"] .gf_wrapper table input {
float: right !important;
}

html[dir=\"rtl\"] .gf_wrapper .left_label li.gfield .gfield_password_strength,
html[dir=\"rtl\"] .gf_wrapper .right_label li.gfield .gfield_password_strength {
margin-left: 0;
margin-right: 29%;
width: 70%;
text-align: center !important;
}

html[dir=\"rtl\"] .gf_wrapper .ginput_complex.ginput_container_address .ginput_left,
html[dir=\"rtl\"] .gf_wrapper .ginput_complex.ginput_container_address span.ginput_right + span.ginput_left.address_zip {
margin-right: 0;
}

html[dir=\"rtl\"] .gf_wrapper .ginput_complex .ginput_left, .gf_wrapper .ginput_complex .ginput_right {
margin: 0 0 0 -4px;
}

html[dir=\"rtl\"] .gf_wrapper .ginput_complex.ginput_container_address span.ginput_right + span.ginput_left {
padding-right: 0 !important;
margin-right: 0 !important;
}

html[dir=\"rtl\"] .gf_wrapper .ginput_complex.ginput_container_address .ginput_right {
margin-right: 0;
}

html[dir=\"rtl\"] .gf_wrapper ul li.gf_right_half {
margin-left: 0;
}

html[dir=\"rtl\"] .gf_wrapper .gform_footer input.button,
html[dir=\"rtl\"] .gf_wrapper .gform_page_footer input.button,
html[dir=\"rtl\"] .gf_wrapper .gform_footer input[type=submit],
html[dir=\"rtl\"] .gf_wrapper .gform_page_footer input[type=submit] {
margin: 0 0 0 16px;
}

}

@media only screen and (max-width: 641px)  {

html[dir=\"rtl\"] body .gf_wrapper .gform_page_footer .button.gform_previous_button,
html[dir=\"rtl\"] body .gf_wrapper .gform_page_footer .button.gform_next_button,
html[dir=\"rtl\"] body .gf_wrapper .gform_footer .button.gform_button,
html[dir=\"rtl\"] body .gf_wrapper .gform_page_footer .button.gform_button,
html[dir=\"rtl\"] body .gf_wrapper .gform_page_footer,
html[dir=\"rtl\"] body .gf_wrapper .gform_page_footer,
html[dir=\"rtl\"] body .gf_wrapper .gform_footer a.gform_save_link,
html[dir=\"rtl\"] body .gf_wrapper .gform_page_footer a.gform_save_link {
text-align: center !important;
}

html[dir=\"rtl\"] div.ginput_container_name span {
padding-left: 0;
}

html[dir=\"rtl\"] .gf_wrapper .ginput_complex.ginput_container_address span.ginput_full + span.ginput_right,
html[dir=\"rtl\"] .gf_wrapper .ginput_complex.ginput_container_address .ginput_left:nth-of-type(odd) {
padding-right: 0 !important;
padding-left: 0 !important;
}

html[dir=\"rtl\"] .gform_footer,
html[dir=\"rtl\"] .gform_page_footer {
padding-left: 16px;
}

html[dir=\"rtl\"] .gf_wrapper {
padding-right: 16px;
}

}

/* RTL tweaks for Firefox */

body.rtl .gf_wrapper.gf_browser_gecko .top_label input[type=\"file\"],
body.rtl .gf_wrapper.gf_browser_gecko .left_label input[type=\"file\"],
body.rtl .gf_wrapper.gf_browser_gecko .right_label input[type=\"file\"],
body .gf_wrapper.gf_rtl_wrapper.gf_browser_gecko .top_label input[type=\"file\"],
body .gf_wrapper.gf_rtl_wrapper.gf_browser_gecko .left_label input[type=\"file\"],
body .gf_wrapper.gf_rtl_wrapper.gf_browser_gecko .right_label input[type=\"file\"] {
width: 55% !important;
direction: rtl;
}
";

//add css for changed styles

$this->auto_config_internal_css .=  "\n\n\n\n\n"  . $reset;

if (false)
$this->auto_config_internal_css .=  "\n\n\n\n\n"  . $datepicker;

$this->auto_config_internal_css .= "\n\n\n\n\n" .$main . "\n\n\n\n\n" . $ready . "\n\n\n\n\n" . $browsers;

if ( is_rtl() )
$this->auto_config_internal_css .= "\n\n\n\n\n" .$rtl;

} //end enabled css

?>