.gform_heading,
.gform_validation_errors {
    display: none;
}

.gravity-theme input[type="text"],
.gravity-theme input[type="email"],
.gravity-theme textarea,
.gravity-theme select {
    border: 0;
    background: #fff;
    color: #6B93AA;
    padding: 15px 10px;
    width: 100%;
}

.gravity-theme input[type="text"]:focus,
.gravity-theme input[type="email"]:focus,
.gravity-theme textarea:focus,
.gravity-theme select:focus {
    outline: none;
}

.gravity-theme .ginput_container, 
.gravity-theme fieldset legend {
    margin-top: 10px !important;
}

.gravity-theme .gform_fields .gfield:first-child .ginput_container {
    margin-top: 0;
}

.gravity-theme legend {
    font-size: 16px;
}

.gform_footer {
    margin-top: 40px;
}

.gravity-theme input[type="submit"] {
    border: none;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 30px;
}

.gravity-theme .gfield_radio {
    display: flex;
    gap: 30px;
}

.gform_fields {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.gform_fields>.gfield {
    width: 100%;
}

/** radio button **/
.gravity-theme .gfield_radio input[type=radio] {
    display: none;
}

.gravity-theme .gfield_radio input[type=radio]+label {
    position: relative;
    display: inline-block;
    padding-left: 30px;
    margin-right: 1em;
    margin-bottom: 1em;
    cursor: pointer;
    line-height: 1.1em;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.gravity-theme .gfield_radio input[type=radio]+label:after,
.gravity-theme .gfield_radio input[type=radio]+label:before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 20px;
    height: 20px;
    text-align: center;
    color: #fff;
    border-radius: 50%;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.gravity-theme .gfield_radio input[type=radio]+label:before {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    border: 2px solid #A3BAC4;
}

.gravity-theme .gfield_radio  input[type=radio]:checked+label:before {
    transition: all .3s ease;
    border-color: var(--primary-color);
    box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 1em var(--primary-color);
}


.gravity-theme ::placeholder {
    color: #6B93AA;
    opacity: 1;
}

.gravity-theme :-ms-input-placeholder { 
    color: #6B93AA;
}

.gravity-theme ::-ms-input-placeholder { 
    color: #6B93AA;
}

/** checkbox **/

.gform_wrapper form input[type=checkbox]:checked,
.gform_wrapper form input[type=checkbox]:not(:checked) {
    position: absolute;
    left: -9999px;
}

.gform_wrapper form input[type=checkbox]:checked+label,
.gform_wrapper form input[type=checkbox]:not(:checked)+label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    margin: 0 0 0;
    font-size: 14px;
}

.gform_wrapper form input[type=checkbox]:checked+label:before,
.gform_wrapper form input[type=checkbox]:not(:checked)+label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    height: 20px;
    border: 2px solid #A3BAC4;
    background: #fff;
    border-radius: 4px;
}
.gform_wrapper form input[type=checkbox] + label:hover:before {
    border-color: var(--primary-color);
}

.gform_wrapper form input[type=checkbox]:checked+label:before {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.gform_wrapper form input[type="checkbox"]:checked + label::after,
.gform_wrapper form input[type="checkbox"]:not(:checked) + label::after {
    content: "";
    position: absolute;
    top: 9px;
    left: 5px;
    width: 10px;
    height: 7px;
    background-image: url(../../images/check.svg);
    line-height: 1;
    color: #fff;
    transition: all 0.2s ease 0s;
}

.gform_wrapper form input[type=checkbox]:not(:checked)+label:after {
    opacity: 0;
    transform: scale(0);
}

/** validation mgs **/
.gfield_validation_message {
    font-size: 14px;
    color: #ff0000;
    margin-top: 3px;
}

@media only screen and (min-width: 768px) {
    .gform_fields .gfield.gfield--width-half {
        width: calc(1/2*100% - (1 - 1/2)*30px);
    }
}

@media only screen and (max-width: 767px) {
    .gravity-theme .gfield_radio {
        display: block
    }
}
