.row.form{
    background-color: transparent;
    padding: 100px 0;
    position: relative;
    display: inline-block;
    width: 100%;
    /* overflow: hidden; */
    margin: 0;
}


.row.form .section-cap {
    position: absolute;
    left: 50%;
    right: 0;
    top: -67px;
    transform: translateX(-50%);
    height: 70px;
    color: #fff;
    pointer-events: none;
    z-index: 1;
    width: 100vw;
    max-width: none;
    padding: 0 !important;


  }
  .row.form .cap-svg {
    width: 100%;
    height: 100%;
    display: block;
  }




.row.form .gform_wrapper.gravity-theme{
    padding: 0;
    width: 100%;
}


.row.form > .container{
    width: 70%;
    margin: 0 auto;
}
.row.form form input{
    height: 51px; 
}
.gform_wrapper.gravity-theme .gfield_label{
    margin-bottom: 0 !important;

}
.row.form form input::placeholder,
.row.form form textarea::placeholder,
.row.form .form-container .form-form form select::placeholder,
.row.form .gfield legend.gfield_label,
.row.form .gchoice label.gform-field-label,
.row.form .gfield > .gfield_label,
.row.form .gfield--type-fileupload > .gfield_label
{
    font-weight: 400 !important;
    color: #000;
    font-size: 18px !important;
}


.row.form.black-section .gfield legend.gfield_label,
.row.form.black-section .gchoice label.gform-field-label,
.row.form.black-section .gfield > .gfield_label,
.row.form.black-section .gfield--type-fileupload > .gfield_label
{
    color: #fff;
}


.row.form .form-form.labels-dark .gfield legend.gfield_label,
.row.form .form-form.labels-dark .gchoice label.gform-field-label,
.row.form .form-form.labels-dark .gfield > .gfield_label,
.row.form .form-form.labels-dark .gfield--type-fileupload > .gfield_label,
.row.form .form-form.labels-dark label,
.row.form .form-form.labels-dark input[type=file],
.row.form .form-form.labels-dark .gfield_description{
    color: black !important;
}

.gform_wrapper form input[type="text"]:not([disabled]):not([readonly]),
.gform_wrapper form input[type="email"]:not([disabled]):not([readonly]),
.gform_wrapper form input[type="url"]:not([disabled]):not([readonly]),
.gform_wrapper form input[type="tel"]:not([disabled]):not([readonly]),
.gform_wrapper form input[type="number"]:not([disabled]):not([readonly]),
.gform_wrapper form input[type="password"]:not([disabled]):not([readonly]),
.gform_wrapper form input[type="search"]:not([disabled]):not([readonly]),
.gform_wrapper form input[type="date"]:not([disabled]):not([readonly]),
.gform_wrapper form input[type="time"]:not([disabled]):not([readonly]),
.gform_wrapper form input[type="month"]:not([disabled]):not([readonly]),
.gform_wrapper form input[type="week"]:not([disabled]):not([readonly]),
.gform_wrapper form input[type="datetime-local"]:not([disabled]):not([readonly]),
.gform_wrapper form input[type="file"]:not([disabled]):not([readonly]),
.gform_wrapper form textarea:not([disabled]):not([readonly]),
.gform_wrapper form select:not([disabled]):not([readonly]) {
  background-color: #ecebe5 !important;
  border: 1px solid #000 !important;
}

/* Enhanced UI selects (Gravity Forms “Enable enhanced UI”) */
.gform_wrapper form .select2-container .select2-selection,
.gform_wrapper form .chosen-container-single .chosen-single,
.gform_wrapper form .chosen-container-multi .chosen-choices {
  background-color: #ecebe5 !important;
}

.row.form .form-form.labels-light .gfield legend.gfield_label,
.row.form .form-form.labels-light .gchoice label.gform-field-label,
.row.form .form-form.labels-light .gfield > .gfield_label,
.row.form .form-form.labels-light .gfield--type-fileupload > .gfield_label,
.row.form .form-form.labels-light label,
.row.form .form-form.labels-light input[type=file]{
    color: white !important;
}

.row.form .gfield.gfield--type-html.gfield--input-type-html{
    /* font-family: var(--lato); */
    color: var(--dark-grey) !important;
    font-weight: 600 !important;
    font-size: 17px !important;
}
.row.form .gfield_radio > .gchoice:not(:last-child),
.row.form .gfield_checkbox > .gchoice:not(:last-child){
    margin-bottom: 10px;
}
.row.form  input[type=radio] {
    width: 20px;
    height: 20px;
}
.row.form  input[type=checkbox] {
    width: 20px !important;
    height: 20px;
    margin: 3px 15px 0 5px !important;
}
.row.form .gfield--type-fileupload > .ginput_container > input{
    height: auto;
    /* font-family: var(--lato) !important; */
}
.row.form .gfield--type-fileupload > .ginput_container >span.gfield_description.gform_fileupload_rules{
    padding: 0;
    /* font-family: var(--lato) !important; */
    color: var(--light-green);
}
.row.form form input:not([type=file]), .row.form form textarea,.row.form form select{
    border-radius: 2px;
    font-size: 17px !important;
    /* font-family: var(--lato) !important; */
    /* color: var(--light-green) !important; */
    font-weight: 600;
    border: none;
}
.row.form .gfield_required.gfield_required_text{
    color: #000 !important;
    padding: 2px 7px;
    margin-left: 5px;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 11px !important;
}

.row.form .form-form.bg-white{
    background-color: white;
}
.row.form .form-form.bg-white form input:not([type=submit]), .row.form .form-form.bg-white form textarea,
.row.form .form-form.bg-white form select{
    border: 1px solid #004f59 !important;
}


.row.form form input[type=checkbox]{
    width: 30px;
    margin-right: 20px;
}
.row.form form input[type=submit]{
    width: 100%;
    height: auto;
    padding: 15px 8px !important;
    background-color: #000 !important;
    border-radius: 2px;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff !important;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    border: 2px solid #000;
    margin: 0 auto;
}

.row.form.black-section form input[type=submit]{
    background-color: #fff !important;
    color: #000 !important;
    border: 2px solid #fff;
}

.row.form form input[type=submit]:focus{
    border: 1px solid #004f59 !important;
}
.row.form form input[type=submit]:hover{
    color: #000 !important;
    background-color: transparent !important;
    border: 2px solid #000;
}
.row.form.black-section form input[type=submit]:hover{
    color: #fff !important;
    background-color: transparent !important;
    border: 2px solid #fff;
}
.row.form form .gform_footer{
    display: flex;

}
.row.form form .gfield.gfield--type-consent{
    color: white;
    font-size: 17px;

}
.row.form form .gfield.gfield--type-consent .ginput_container{
    display: flex;
    align-items: center;
    color: #000;
    /* font-family: var(--lato); */
    font-weight: 400;
}
.row.form.row.form.black-section form .gfield.gfield--type-consent .ginput_container{
    color: #fff;
}
.row.form form .gfield.gfield--type-consent a:hover{
    text-decoration: underline;
}
.row.form form .gfield.gfield--type-consent a{
    color: #000;
}
 .row.form.black-section form .gfield.gfield--type-consent a{
    color: #fff;
}
.row.form .form-container.flex{
    display: flex;
    flex-direction: column;
    /* align-items: flex-start; */
}
.row.form .form-container.flex > *{
    width: 100%;
}
.row.form .form-container{
    padding: 0 15%;
}
/* .row.form .form-container .form-form form .ginput_complex.ginput_container--name {
    flex-direction: column;
}
.row.form .form-container .form-form form .ginput_complex.ginput_container--name > span{
    padding: 0 !important;
}
.row.form .form-container .form-form form .ginput_complex.ginput_container--name > span:first-child{
    margin-bottom: 16px;
} */

.row.form .form-container .form-form{
    margin: 0 auto;
    /* width: 60%; */
    /* background: white; */
    border-radius: 10px;
    padding: 20px 50px;
}

.row.form.compact .form-container .form-form{
    width: 60%;
}
.row.form.standard .form-container .form-form{
    width: 80%;
}
.row.form.wide .form-container .form-form{
    width: 100%;
}

.row.form .form-container .form-form form select.gfield_select{
    height: 50px;
} 
.row.form h2.fc-title{
    margin: 0 0 20px;
    text-align: center;
}
.row.form.black-section{
    background-color: #000000;
}
.row.form.black-section h2.fc-title{
    color: #fff;
}

.row.form .fc-text,
.row.form .fc-text p{
    color: white;
    font-size: 30px;
    font-weight: 600;
    text-align: center;
}
.row.form .form-content{
    /* margin-top: 10%; */
}
.row.form .gform_confirmation_message h3{
    margin: 0 !important;
    line-height: 2;
    font-weight: 600;
}


@media all and (max-width: 1440px) {
    .row.form .form-container .form-form{
        width: 80%;
    }
    .row.form .form-container{
        padding: 0 10%;
    }
}
@media all and (max-width: 1190px) {

    .row.form > .container {
        width: 85%;
    }
    /* .row.form .form-container {
        padding: 0;
    } */
}
@media all and (max-width: 1024px) {

}
@media all and (max-width: 980px) {
    .row.form{
        padding: 50px 0;
    }
}
@media all and (max-width: 840px) {
    .row.form .form-container {
        padding: 0;
    }
}

@media all and (max-width: 767px) {
    .row.form .form-container.flex{
        flex-direction: column;   
    }
    .row.form .form-container.flex > * {
        width: 100%;
    }
    .row.form .fc-title {
        margin: 0 0 35px;
    }
}

@media all and (max-width: 640px) {
    .row.form.compact .form-container .form-form{
        width: 80%;
    }
}


@media all and (max-width: 600px) {

    .row.form form .gform_footer {
        justify-content: center;
    }
}

@media all and (max-width: 600px) {

}


@media all and (max-width: 540px) {
    .row.form.standard .form-container .form-form{
        width: 100%;
        padding: 0;
    }
    .row.form > .container{
        width: 80%;
        padding: 0;
    }

    .row.form h2.fc-title{
        margin: 0 0 0;
    }
    .row.form .fc-text, .row.form .fc-text p{
        margin-bottom: 45px;
        line-height: 1;
        font-size: 25px;
    }
    .row.form .form-container .form-form {
        padding: 20px 20px;
    }
}

@media all and (max-width: 425px) {
    .row.form.compact .form-container .form-form,
    .row.form.standard .form-container .form-form{
        width: 90%; 
    }
}

@media all and (max-width: 375px) {
    .row.form.compact .form-container .form-form,
    .row.form.standard .form-container .form-form{
        width: 100%; 
    }
}