.cf7-block {
    background-color: var(--color-tertiary);
}

.cf7-block--white {
    background-color: var(--color-white);
}

.cf7-block--white .cf7-block .gfield_label .gfield_required, 
.cf7-block--white .gform_wrapper.gravity-theme .ginput_complex label, 
.cf7-block--white .gform_wrapper.gravity-theme .ginput_complex legend {
    color: var(--color-black) !important;
}

.cf7-block--white + .bg-white {
    padding-top: 0 !important;
}

.cf7-block--primary {
    background-color: var(--color-primary);
}

.cf7-block--secondary {
    background-color: var(--color-secondary);
}

.cf7-block--tertiary {
    background-color: var(--color-tertiary);
}

.cf7-block--quaternary {
    background-color: var(--color-quaternary);
}

.cf7-block__wrapper {
    display: flex;
    flex-wrap: wrap;    
}

.cf7-block__image {
    margin-top: 36px;
    padding-right: 0;
}

.cf7-block__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    box-shadow: 10px 3px 30px rgba(0, 0, 0, 0.3);
}

.cf7-block.section--light .section__heading__upper {
    color: color-mix(in srgb,var(--color-secondary),#fff 40%);
}

.cf7-block .section__heading__description :is(ul, ol) {
    padding-left: 20px;
    margin-bottom: 20px;
}

.cf7-block .section__heading__description li {
    line-height: 2em;
}

.cf7-block.section--dark .section__heading__description h2,
.cf7-block.section--dark .section__heading__description h3,
.cf7-block.section--dark .section__heading__description h4,
.cf7-block.section--dark .section__heading__description h5,
.cf7-block.section--dark .section__heading__description p,
.cf7-block.section--dark .section__heading__description li {
    color: var(--color-primary);
}

.cf7-block.section--light .section__heading__description h2,
.cf7-block.section--light .section__heading__description h3,
.cf7-block.section--light .section__heading__description h4,
.cf7-block.section--light .section__heading__description h5,
.cf7-block.section--light .section__heading__description p,
.cf7-block.section--light .section__heading__description li,
.cf7-block.cf7-block--secondary.section--light .section__heading__description a:not(.btn) {
    color: var(--color-white);
}

@media (min-width: 768px) {
    .cf7-block__content {
        width: calc(100% - 400px);
        padding-right: 60px;
    }
    
    .cf7-block__image {
        width: 400px;
        margin-bottom: 0;
        padding-right: 0;
    }
}

@media (min-width: 1025px) {
    .cf7-block__content {
        width: 52%;
        padding-right: 116px;
    }
    
    .cf7-block__image {
        height: auto;
        width: 48%;
        padding-left: 116px;
        padding-right: 0;
        margin-top: 0;
    }

    .cf7-block__image img {
        width: 100%;
        height: auto;
    }
}

.cf7-block .wpcf7-form-control-wrap {
    display: block;
}

.cf7-block .wpcf7-form-control-wrap ::placeholder {
    opacity: 0;
}

.cf7-block .gfield {
    position: relative;
}

.cf7-block .wpcf7-form-control-wrap .label,
.cf7-block  .gfield_label {
    font-size: 16px;
    /* background-color: var(--color-quaternary); */
    /* position: absolute; */
    left: 1px;
    /* padding: 0 25px !important; */
    /* top: 20px; */
    /* color: var(--color-white); */
    display: flex;
    align-items: flex-end;
    transition: top 0.25s ease-in-out,
                left 0.25s ease-in-out,
                color 0.25s ease-in-out;
}

.cf7-block .gfield_html p {
    text-align: center;
}

.cf7-block .gform_footer {
    cursor: pointer;
    /*width: max-content;*/
    /*position: relative;*/
    /*overflow: hidden;*/
    margin: 40px auto;
}

.cf7-block .gform_footer:after {
    content: "";
    display: block;
    position: absolute;
    transform: translate(-110%, -110%);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-quaternary);
    transition: transform 0.25s cubic-bezier(0, 0.59, 0.68, 1.01);
}

@media (min-width: 1025px) {
    .cf7-block .gform_footer:hover input.gform_button.gform_button.gform_button.gform_button[type='submit'] {
        border-color: var(--color-quaternary);
        color: var(--color-secondary);
    }

 
}

.cf7-block .gfield_label,
.gform_wrapper.gravity-theme .ginput_complex label, .gform_wrapper.gravity-theme .ginput_complex legend{
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    /* color: var(--color-secondary); */
    color: var(--form-label-color, var(--color-secondary));
   

    font-family: var(--font-secondary);
    letter-spacing: 0.1em;
    width: 100%;
    left: 0;
}

.cf7-block  .gfield_label .gfield_required_text {
    position: relative;
    display: none;
}

.cf7-block .gfield_label .gfield_required,.gform_wrapper.gravity-theme .ginput_complex label, .gform_wrapper.gravity-theme .ginput_complex legend {
    /* color: var(--color-secondary) !important; */
    color: var(--form-label-color, var(--color-secondary)) !important;
    margin-left: 2px;
    transition: opacity 0.25s ease-in-out;
}

.gform_wrapper.gravity-theme .ginput_complex label, .gform_wrapper.gravity-theme .ginput_complex legend{
    color:#FFF !important;
    font-size:12px !important
    
}

.cf7-block input:focus ~ .label,
.cf7-block textarea:focus ~ .label,
.cf7-block input:not(:placeholder-shown) ~ .label,
.cf7-block textarea:not(:placeholder-shown) ~ .label {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-secondary);
    top: 6px;
    left: 0;
    font-family: var(--font-secondary);
    letter-spacing: 0.1em;
    width: 100%;
    height: 26px;
    left: 0;
    padding: 0 25px;
}

.cf7-block .gfield.is-focused .gfield_label,
.gfield--type-select .gfield_label {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-secondary) !important;
    top: 6px;
    left: 0;
    font-family: var(--font-secondary);
    letter-spacing: 0.1em;
    width: 100%;
    /* height: 26px; */
    left: 0;
    /* padding: 0 25px; */
}

.gfield--type-select .gfield_label {
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: var(--font-secondary) !important;
    letter-spacing: 0.1em !important;
    width: calc(100% - 58px);
    margin-right: 58px;
    z-index: 1;
}

.gfield--type-select .gfield_label{
    position:relative;
    height:auto;
    background:transparent;
    padding: 0px !important;!i;!;
}


@media (min-width: 1025px) {
    .cf7-block input:focus ~ .label,
    .cf7-block textarea:focus ~ .label,
    .cf7-block input:not(:placeholder-shown) ~ .label,
    .cf7-block textarea:not(:placeholder-shown) ~ .label {
        top: 0px;
    }
}

.cf7-block input:focus ~ .label span,
.cf7-block textarea:focus ~ .label span,
.cf7-block input:not(:placeholder-shown) ~ .label span,
.cf7-block textarea:not(:placeholder-shown) ~ .label span {
    opacity: 0;
}

.cf7-block input,
.cf7-block .ginput_container input,
.cf7-block textarea {
    padding: 58px 25px 10px;
}

.cf7-block .ginput_container input[type='text'],
.cf7-block .ginput_container input[type='tel'],
.cf7-block .ginput_container input[type='email'],
.cf7-block .ginput_container textarea {
    color: var(--color-white);
    border: 0;
    height: 60px;
    padding: 21px 25px !important;
    background-color: var(--color-quaternary);
    -webkit-text-fill-color: var(--color-white);
    box-shadow: inset 0 -100px var(--color-quaternary);
    width: 100%;
}

.cf7-block .ginput_container textarea {
    padding: 58px 25px 10px;
}

@media (max-width: 1024px) {
    .cf7-block input{
        padding: 30px 25px 10px;
        height: 60px;
    }

    .cf7-block .ginput_container input {
        padding: 30px 25px 10px !important;
        height: 60px !important;
    }
}

@media (min-width: 1025px) {
    .cf7-block input,
    .cf7-block .ginput_container textarea,
    .cf7-block .ginput_container input[type='text'],
    .cf7-block .ginput_container input[type='tel'],
    .cf7-block .ginput_container input[type='email'],
    .cf7-block textarea {
        padding: 26px !important;!i;!;
    }

    .cf7-block .ginput_container textarea {
        padding: 30px 24px 10px !important;
    }
}

.cf7-block .ginput_container input::placeholder,
.cf7-block input::placeholder {
    color: var(--color-white);
}

.cf7-block .label {
    opacity: 0;
}

.cf7-block .wpcf7-form-control-wrap .label {
    opacity: 1;
}

.cf7-block .wpcf7-form-control-wrap .label span {
    color: var(--color-secondary);
    display: inline-block;
    margin-left: 2px;
    opacity: 1;
    transition: opacity 0.25s ease-in-out;
}

@media (max-width: 1024px) {
    .cf7-block .wpcf7-form-control-wrap .label {
        display: block;
    }

    .cf7-block .wpcf7-form-control-wrap .label span {
        display: inline;
    }
}

@media (min-width: 768px) {
    .cf7-block .wpcf7-form {
        margin-bottom: -28px;
    }
}

.contact__item {
    margin-bottom: 28px;
}

.contact__submit {
    text-align: center;
}

.contact__submit p {
    color: var(--color-black);
    margin: 0 0 40px;
}


.section--light .contact__submit p {
    color: var(--color-white);
}

.contact__submit p a {
    color: color-mix(in srgb, var(--color-secondary), #000 30%);
    font-weight: 600;
}

.cf7-block--secondary.section--light .contact__submit p a {
    color: var(--color-white);
}

.cf7-block--secondary.section--dark .contact__submit p a {
    color: var(--color-black);
}

.cf7-block--secondary.section--light .subheading {
    color: var(--color-white);
}

.cf7-block--secondary.section--dark .subheading {
    color: var(--color-black);
}

.contact__disclaimer p {
    margin: 0 0 10px;
    text-align: center;
    color: var(--color-black);
    font-style: italic;
}

.section--light .contact__disclaimer p {
    color: var(--color-white);
}

.cf7-block .gform_footer input.gform_button[type='submit'] {
    height: auto;
    display: inline-block;
    background-color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    color: var(--color-primary);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    padding: 20px 25px !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    transition: color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border 0.3s ease-in-out;
}

.cf7-block .gform_footer input.gform_button[type='submit']:hover {
    border: 2px solid #007db9;
    background-color: transparent;
}

.gform_heading .gform_required_legend {
    display: none !important;
}

.gform-footer.gform_footer {
    justify-content: center;
}

/*
 * fullwidth-bg-form
 */

.fullwidth-bg-form {
    position: relative;
}

.fullwidth-bg-form > .container {
    position: relative;
    z-index: 2;
}

.fullwidth-bg-form__content {
    text-align: center;
    color: #fff;
}

.fullwidth-bg-form__sc {
    color: #fff;
}

.fullwidth-bg-form__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.fullwidth-bg-form__bg::after {
    content: "";
    width: 100%;
    height: 100%;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    background: rgb(50, 69, 81);
    background: linear-gradient(90deg, rgba(50, 69, 81, 1) 0%, rgba(50, 69, 81, 0.5886729691876751) 100%);
    opacity: .6;
}

.fullwidth-bg-form__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 1;
}

.fullwidth-bg-form .gform_footer:after {
    content: none;
}

.fullwidth-bg-form .gfield--type-html a {
    color: #fff;
    text-decoration: underline;
}

.fullwidth-bg-form .gfield--type-html a:hover {
    color: #fff;
    text-decoration: none;
}

.fullwidth-bg-form .gform_footer input.gform_button[type='submit']:hover {
    border: 2px solid #fff;
    background-color: #fff;
    color: #0f1c23;
}