.form-text {
    background-color: #004B86;
    position: relative;
}

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

.form-text__text .subheading {
    color: #F17503;
}

.form-text__text h2 {
    color: #FFFFFF;
}

.form-text__text p {
    color: #FFFFFF;
    padding-bottom: 33px;
}

.form-text.bg-color-white {
    background-color: #fff;
}

.form-text.bg-color-gray {
    background-color: #F3F3F5;
}

.form-text.bg-color-white .form-text__text h2,
.form-text.bg-color-gray .form-text__text h2 {
    color: #004B86;
}

.form-text.bg-color-white .form-text__text p,
.form-text.bg-color-gray .form-text__text p {
    color: #585F65;
}

.form-text__text p:last-child {
    padding-bottom: 0;
}

.form-text__text .btn::after {
    content: '\e903';
}

.form-text__form {
    margin-top: 40px;
    filter: drop-shadow(0 3px 50px rgba(0, 0, 0, 0.16));
    position: relative;
    z-index: 1;
}

.form-text__form-wrap {
    /* clip-path: polygon(0 0, 87% 0, 100% 7%, 100% 100%, 13% 100%, 0 93%); */
    /* background-color: #F3F3F5; */
    background: transparent;
    padding: 40px 22px 40px 24px;
}
.bg-box{
    clip-path: polygon(0 0, 87% 0, 100% 7%, 100% 100%, 13% 100%, 0 93%);
}
.form-text__top h3,
.cf7-gated-form h3 {
    font-size: 22px;
    color: #004B86;
    text-align: center;
    padding: 0 0 19px;
    z-index: 2;
    position: relative;
}

.form-text__top ul,
.form-text__top ul li {
    padding: 0;
    margin: 0;
}

.form-text__top ul li::before {
    display: none;
}

.form-text__top ul {
    display: flex;
    justify-content: space-between;
    padding: 0;
    width: 285px;
    margin: 0 auto;
}

.form-text__top ul li {
    width: max-content;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    background-color: #F3F3F5;
    font-weight: 700;
    line-height: 1.21em;
    position: relative;
}

.form-text__top ul li.active span {
    color: #F17503;
}

.form-text__top ul li::after {
    content: '';
    position: absolute;
    top: 60%;
    right: -6px;
    width: 15px;
    height: 1px;
    transform: translate(0% - 50%);
    background-color: #9FA0A2;
    z-index: 1;
}

.form-text__top ul li:last-child::after {
    display: none;
}

.form-text__top ul li span {
    text-transform: uppercase;
    color: rgba(105, 106, 109, 0.64);
}

@media(min-width: 768px) {
    .form-text__form-wrap {
        margin-top: 50px;
        padding: 40px 25px;
    }

    .form-text__top ul li {
        width: max-content;
        font-size: 18px;
    }

    .form-text__top ul {
        width: 533px;
        padding: 0;
        margin: 0 auto;
    }

    .form-text__top h3 {
        font-size: 28px;
    }

    .form-text__top ul li::after {
        width: 30px;
        right: -39px;
        top: 50%;
    }

    .form-text__top {
        margin-bottom: 20px;
    }

    /* .form-text__form-wrap {
        clip-path: polygon(0 0, 88% 0, 100% 15%, 100% 100%, 13% 100%, 0 82%);
    } */
    .bg-box{
        clip-path: polygon(0 0, 88% 0, 100% 15%, 100% 100%, 13% 100%, 0 82%);
    }
}

@media(min-width: 1200px) {

    .form-text {
        padding: 88px 0;
    }

    .form-text__flex {
        display: flex;
        align-items: center;
    }

    .form-text__text {
        width: calc(100% - 715px);
        padding-right: 76px;
        padding-top: 21px;
    }

    .form-text__form .form-col label {
        font-size: 16px;
    }

    .form-text__form-wrap {
        width: 715px;
        margin: 0;
        padding: 60px 32px 60px 37px;
        /* clip-path: polygon(0 0, 88% 0, 100% 17%, 100% 100%, 13% 100%, 0 82%); */
    }
    .bg-box{
        clip-path: polygon(0 0, 88% 0, 100% 17%, 100% 100%, 13% 100%, 0 82%);
    }

    .form-text__top h3 {
        font-size: 38px;
    }

    .form-text__top ul {
        width: 92%;
    }

    .form-text__top ul li {
        font-size: 20px;
    }

    .form-text__top {
        margin-bottom: 14px;
    }

    .form-col-btn {
        margin-top: 35px;
    }

    .form-text__top ul li::after {
        right: -43px;
    }

    .form-text__form {
        margin-top: 0;
    }
}
.cf7mls-btns{
    display: flex;
    justify-content: center;
}
.fieldset-cf7mls:first-child .cf7mls-btns{
    justify-content: center;
}

.fieldset-cf7mls:last-child .button-submit{
    float: right;
}
.fieldset-cf7mls:last-child .cf7mls_back{
    position: absolute;
    left: 0;
    bottom: 0;
    margin-top: 35px;
    margin-bottom: 8px;
}
.action-button {
    display: inline-block;
    position: relative;
    letter-spacing: .1em;
    font-family: 'Montserrat',sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1em;
    text-transform: uppercase;
    background-color: #004B86; 
    color: #fff;
    padding: 17px 60px 17px 38px ;
    clip-path: polygon(0 0,90% 0%,100% 50%,100% 100%,10% 100%,0 50%);
    transition: all .3s ease-in-out;
    border: none;
}
.cf7mls_next{
    background-color: #004B86 !important; 
    padding: 17px 60px 17px 38px !important;
}
.cf7mls_next::after{
    position: absolute;
    content: '\e903';
    font-family: 'icomoon';
    color: #F17503;
    right: 40px;
    top: 50%;
    transform: translate(0,-50%);
    font-size: 11px;
}
.cf7mls_back{
    padding: 17px 38px 17px 60px !important; 
    color: rgba(105, 106, 109, 0.64) !important;
    background-color: transparent !important;
  
}
.cf7mls_back:after{
    position: absolute;
    content: '\e902';
    font-family: 'icomoon';
    color: rgba(105, 106, 109, 0.64);
    left: 40px;
    top: 50%;
    transform: translate(0,-50%);
    font-size: 11px;
}

.wpcf7-not-valid {
    border-color: #F17503 !important;
}

.wpcf7-not-valid-tip {
    display: block;
    color: #F17503;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1em;
    position: relative;
    padding-top: 4px;
}

.form-text__text a:not(.btn) {
    background: linear-gradient(to bottom,rgba(255,255,255,.29) 0%,rgba(255,255,255,.29) 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 6px 6px;
    color: #fff;
}

.form-text__text a:not(.btn):hover {
    background: linear-gradient(to bottom,rgba(255,255,255,.29) 0%,rgba(255,255,255,.29) 100%);
    background-size: 6px 50px;
}
.cta-bg{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.15;
    z-index: 1;
}

.choices__list--dropdown.is-active{
    z-index: 9999 !important;
  
}

.bg-box{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #F3F3F5;
    z-index: -5;
}

.form-text.bg-color-white .form-text__form {
    filter: drop-shadow(0 3px 50px rgba(0, 0, 0, 0.26));
}


.fieldset-cf7mls-wrapper ,
.wpcf7-form{
    overflow: unset !important;
}

/*Gated Form Styles*/

.cf7-gated-content {

    display: none;
}

.cf7-gated-form label{
    text-align: left;
}

