/* design */
input {
    border-radius: 8px;
}

.gform_wrapper label.gfield_label, .gform_wrapper legend.gfield_label {
    font-weight:inherit !important;
    color:inherit;
}

.gform_wrapper .gfield_required {
    color: inherit !important;
}

input[type=checkbox]:checked:before, input[type=radio]:checked:before {line-height:.8em !important;}

.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit],
.gform_wrapper .gform_page_footer input.button,
.gform_wrapper .gform_page_footer input[type=submit] {
    border-radius: inherit !important;
    background-color: inherit;
    border-color: inherit;
    color: inherit;
}

.gform_wrapper .gform_footer input.button:hover,
.gform_wrapper .gform_footer input[type=submit]:hover,
.gform_wrapper .gform_page_footer input.button:hover,
.gform_wrapper .gform_page_footer input[type=submit]:hover {
    background-color: inherit;
    border-color: inherit;
}

.gchoice_select_all, .gform_wrapper ul.gfield_checkbox li input[type=checkbox]:checked+label,
.gform_wrapper ul.gfield_radio li input[type=radio]:checked+label {
    font-weight: inherit !important;
}

.gform_wrapper.gf_browser_chrome .gfield_checkbox li input, .gform_wrapper.gf_browser_chrome .gfield_checkbox li input[type=checkbox],
.gform_wrapper.gf_browser_chrome .gfield_radio li input[type=radio] {
    margin-top: 3px !important;
}

p.gform_required_legend,
.charleft.ginput_counter {
    display:none;
}

p.gform_description {
    font-weight: 700;
    padding-bottom: 10px;
}

.gform_wrapper .gform_footer input[type=submit] {
    padding: 14px 26px;
    line-height: 1;
    border-radius: 25px !important;
    background-color: #5c48db;
    border-color: #5c48db;
    color: #fff;
}

.gform_wrapper .gform_footer input[type=submit]:hover,
.gform_wrapper .gform_footer input[type=submit]:focus {
    background-color:transparent;
    color:#5c48db;
}

/* checkbox switcher */
.gform_wrapper.gravity-theme .gfield_checkbox label {
    cursor:pointer;
    max-width: calc(100% - 80px) !important;
}

.gform_wrapper.gravity-theme .gfield_checkbox input[type=checkbox] {
    display: inline-block;
    width: 45px;
    height: 26px;
    background-color: #7c7c7c;
    border-radius: 17px;
    position: relative;
    cursor: pointer;
    transition: .4s;
    border-color: #7c7c7c;
    margin-right: 8px;
    vertical-align: top !important;
}

.gform_wrapper.gravity-theme .gfield_checkbox input[type=checkbox]:before {
    content: "" !important;
    height: 18px;
    width: 18px;
    top: 3px;
    left: 4px;
    background-color: #fff;
    position: absolute;
    border-radius: 50%;
    transition: .4s;
}

.gform_wrapper.gravity-theme .gfield_checkbox input[type=checkbox]:checked {
    background-color: #0fac26;
    border-color:#0fac26;
}

.gform_wrapper.gravity-theme .gfield_checkbox input[type=checkbox]:checked:before {
    top: 3px;
    left: calc(100% - 4px);
    transform: translateX(-100%);
    line-height: normal !important;
    bottom: unset;
    right: unset;
}

@media all and (max-width:550px){
    .gform_wrapper.gravity-theme .gfield_checkbox label {
        max-width: calc(100% - 80px) !important;
        padding-left: 4px;
        vertical-align: top !important;
    }
}

/* gravity forms error messages */
.gform_wrapper .gfield_description.validation_message {
    margin-top: 5px !important;
    padding-top: 0 !important;
}

.gform_wrapper .gfield_error .gfield_label {
    color:#000 !important;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container,.gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label {margin-top:2px !important;}

.gform_wrapper li.gfield.gfield_error, .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning,
.gform_wrapper .validation_message {
    padding-bottom:0 !important;
}

@media only screen and (max-width: 641px) {
    .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
        line-height: 1 !important;
        min-height: 0 !important;
    }
}

.gform_wrapper.gravity-theme .gform_validation_errors>h2.hide_summary {
    font-weight: 400;
    font-family: effra, sans-serif;
    font-size: 17px;
}