/*******************************************************
 *
 * Home Equity
 *
 *******************************************************/
.ip-banner {
    display: none;
}

.grecaptcha-badge {
    opacity: 0!important;
}

#inner-page-wrapper {
    margin-bottom: 0;
}

#inner-page-wrapper > .container {
    width: 100%;
    padding: 0;
}

.footer-contact-us {
    display: none;
}

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}

.flex:before, .flex:after {
    display: none;
}

.dir-col {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column wrap;
    flex-flow: column wrap;
}

.dir-col-reverse {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-flow: column-reverse wrap;
    flex-flow: column-reverse wrap;
}

.dir-row-reverse {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-flow: row-reverse wrap;
    flex-flow: row-reverse wrap;
}

.al-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.al-start {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.al-end {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.ju-center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.ju-start {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.ju-end {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.ju-between {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.attachment-fixed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.attachment-fixed canvas {
    background-attachment: fixed!important;
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.attachment-scroll {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.attachment-scroll canvas {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.site-img {
    display: block;
    position: relative;
}

.site-img canvas {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.site-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    z-index: 1;
    -webkit-transition: var(--default-transition);
    -o-transition: var(--default-transition);
    transition: var(--default-transition);
}

.custom-container {
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.ip-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 72px;
    max-width: 378px;
    font-size: 12px;
    letter-spacing: 0.150em;
    line-height: 1;
    color: #fff;
    font-family: var(--title-font);
    background-color: #9b172d;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    padding: 0 10px;
    border: none;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.ip-btn:before, .ip-btn:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: #fff;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.ip-btn:after {
    left: auto;
    right: 0;
}

.ip-btn.is-gray:before, .ip-btn.is-gray:after {
    background-color: #a7a7a7;
}

.ip-btn:focus, .ip-btn:hover {
    color: #fff !important;
    background-color: #236092 !important;
}

.ip-btn:focus:after, .ip-btn:focus:before, .ip-btn:hover:after, .ip-btn:hover:before {
    background-color: #236092 !important;
}

.ip-title {
    display: block;
    position: relative;
}

.ip-title.is-center {
    text-align: center;
}

.ip-title h2 {
    font-size: 40px;
    line-height: 1.2;
    color: #236092;
    font-family: var(--title-font);
}

.ip-title.is-white h2 {
    color: #fff;
}

/* Hero */
.hero-container {
    display: block;
    position: relative;
    font-size: 0;
    padding: 115px 0 125px;
    
}

.hero-bg canvas {
    background-position: right center;
}

.hero-bg:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: -webkit-gradient(linear, left top, right top, from(rgba(0,0,0,0.95)),to(rgba(0,0,0,0)));
    background: -o-linear-gradient(left, rgba(0,0,0,0.95) 0%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to right, rgba(0,0,0,0.95) 0%,rgba(0,0,0,0) 100%);
}

.hero-container .custom-container {
    max-width: 1336px;
}

.hero-content {
    display: block;
    position: relative;
    width: 100%;
    max-width: 800px;
    z-index: 5;
}

.hero-content h2 {
    font-size: 52px;
    line-height: 1.3462;
    color: #fff;
    font-family: var(--title-font);
    display: block;
    margin-bottom: 20px;
}

.hero-content h2 span {
    display: block;
    font-size: 20px;
    line-height: 1;
    color: #011223;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 14px;
    line-height: 1.715;
    letter-spacing: 0.050em;
    color: #fff;
    margin-bottom: 40px;
}

.hero-content a.ip-btn {
    max-width: 280px;
}

/* Loan Comparison */
.lc-container, .lc-main, .lc-row, .lc-content-container, .lc-table, .lc-table-list, .lc-table-list ul, .lc-table-list ul li {
    display: block;
    position: relative;
}

.lc-container {
    padding: 100px 0 108px;
    font-size: 0;
    background: -webkit-gradient(linear, left top, left bottom, from(#236092), to(#243746));
    background: -o-linear-gradient(top, #236092 0%, #243746 100%);
    background: linear-gradient(to bottom, #236092 0%, #243746 100%);
    overflow: hidden;
}

.lc-col {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    position: relative;
}

.lc-content-img canvas {
    min-width: 415px;
}

.lc-accent-logo {
    top: 30px;
    width: 536px;
    left: -75px;
    height: auto;
}

.lc-accent-logo canvas {
    opacity: .05;
}

.lc-table-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.lc-table-col {
    display: inline-block;
    vertical-align: top;
    position: relative;
    min-width: 270px;
}

.lc-table-list ul li.lc-table-head {
    padding: 10px 37px;
    font-size: 18px;
    color: #fff;
    background-color: #235f91;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    height: 76px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.lc-table-col:last-child .lc-table-list ul li.lc-table-head {
    background-color: #284669;
}

.lc-content-container .ip-title {
    margin-bottom: 55px;
}

.lc-content-container {
    z-index: 5;
    margin-top: 10px;
    margin-right: -58px;
}

.lc-table-list {
    width: 100%;
}

.lc-table-list ul {
    width: 100%;
    background-color: #fff;
    padding-bottom: 10px;
}

.lc-table-list ul li.lc-table-item {
    padding: 10px 37px;
    font-size: 18px;
    line-height: 1.3;
    color: #000;
    height: 79px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: left;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.lc-table-list ul li.lc-table-item em {
    font-size: 15px;
    color: #959595;
    line-height: 1;
    margin-top: 2px;
}

.lc-table-list ul li.lc-table-item:not(:last-child):before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    right: 0;
    width: calc(100% - 20px);
    height: 1px;
    background-color: #dedede;
    margin: 0 auto;
}

.lc-table-col:not(:last-child) {
    margin-right: 4px;
}

.lc-col:last-child {
    width: 40.702%;
}

.lc-col:first-child {
    width: 59.298%;
    z-index: 5;
}

.lc-table-list ul li.lc-table-item.no-bg {
    color: #fff;
    padding: 10px 0;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1.4;
}

.lc-table-list ul li.lc-table-head.no-bg {
    background-color: transparent;
    padding: 15px 0;
}

.lc-table-list ul li.lc-table-item.no-bg:before {
    background-color: rgba(255,255,255,.10);
    width: 100%;
}

.lc-table-col:first-child {
    min-width: 185px;
    padding-right: 5px;
}

.lc-table-col:first-child .lc-table-list ul {
    background-color: transparent;
}

.lc-content-img img {
    z-index: 2;
}

.lc-content-img:before {
    position: absolute;
    content: '';
    bottom: -40px;
    left: -40px;
    width: 243px;
    height: 255px;
    border: 5px solid #c4c4c4;
    opacity: .45;
    z-index: 1;
    pointer-events: none;
}

.lc-content-img:after {
    position: absolute;
    content: '';
    top: -40px;
    right: -40px;
    width: 243px;
    height: 255px;
    border: 5px solid #c4c4c4;
    opacity: .45;
    z-index: 1;
    pointer-events: none;
}

/* Refinance */
.hv-container, .hv-content-container, .hv-content, .hv-content-inner, .hv-content ul, .hv-content ul li {
    display: block;
    position: relative;
}

.hv-container {
    font-size: 0;
    padding: 106px 0;
    overflow: hidden;
    background-color: #f4f4f4;
}

.hv-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

.hv-col {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    position: relative;
}

.hv-col:first-child {
    width: 52.018%;
    z-index: 2;
}

.hv-col:last-child {
    width: 47.982%;
}

.hv-content-container .ip-title {
    margin-bottom: 35px;
    text-align: right;
}

.hv-content-container .ip-title h2 {
    display: inline-block;
    text-align: left;
}

.hv-content ul li {
    font-size: 14px;
    line-height: 1.715;
    letter-spacing: 0.050em;
    color: #000000;
    padding-left: 45px;
}

.hv-content ul li strong {
    font-size: 18px;
    line-height: 1;
    color: #000;
    display: block;
    margin-bottom: 0;
    letter-spacing: normal;
}

.hv-content ul li:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 15px;
    height: 17px;
    background-image: url(../../images/home-equity/ai-arrow-icon.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.hv-content ul li:not(:last-child) {
    margin-bottom: 26px;
}

.hv-content {
    z-index: 2;
}

.hv-content-inner {
    padding: 53px 55px 50px;
}

.hv-content-inner:before {
    position: absolute;
    content: '';
    top: calc(100% - 108px);
    left: 0;
    width: 100%;
    height: 150px;
    background-image: url(../../images/home-equity/shadow.png);
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
}

.hv-content-inner a.ip-btn {
    max-width: 445px;
}

.hv-content:before {
    position: absolute;
    content: '';
    bottom: -42px;
    right: -42px;
    width: 242px;
    height: 255px;
    border: 5px solid #c4c4c4;
    opacity: .45;
    z-index: -1;
    pointer-events: none;
}

.hv-content:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: -1;
    pointer-events: none;
}

.hv-accent-logo {
    width: 500px;
    height: auto;
    left: auto;
    top: 0;
    bottom: 0;
    right: 0;
}

.hv-accent-logo canvas {
    opacity: .05;
}

.hv-content ul {
    margin-bottom: 30px;
}

.hv-content-img {
    margin-right: -58px;
}

.hv-content-img:before {
    position: absolute;
    content: '';
    top: -42px;
    left: -42px;
    width: 242px;
    height: 255px;
    border: 5px solid #c4c4c4;
    opacity: .45;
    z-index: 1;
    pointer-events: none;
}

/* FAQs */
.faq-container, .faq-main, .tab-accordion, .tab-body {
    display: block;
    position: relative;
}

.faq-container {
    font-size: 0;
    padding: 80px 0;
    overflow: hidden;
    background: -webkit-gradient(linear, left top, left bottom, from(#236092), to(#243746));
    background: -o-linear-gradient(top, #236092 0%, #243746 100%);
    background: linear-gradient(to bottom, #236092 0%, #243746 100%);
}

.faq-accent-logo {
    width: 536px;
    height: auto;
    left: -65px;
    top: 33px;
}

.faq-accent-logo canvas {
    opacity: .03;
}

.faq-main .ip-title {
    margin-bottom: 50px;
}

#accordion {
    display: block;
    position: relative;
    z-index: 1;
}

#accordion:before {
    position: absolute;
    content: '';
    top: -40px;
    left: -40px;
    width: 243px;
    height: 200px;
    border: 5px solid #c4c4c4;
    opacity: .45;
    z-index: -1;
    pointer-events: none;
}

#accordion:after {
    position: absolute;
    content: '';
    bottom: -40px;
    right: -40px;
    width: 243px;
    height: 200px;
    border: 5px solid #c4c4c4;
    opacity: .45;
    z-index: -1;
    pointer-events: none;
}

.tab-accordion:not(:last-child) {
    margin-bottom: 10px;
}

.tab-accordion > a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    font-size: 22px;
    line-height: 1;
    color: #171717;
    font-family: var(--title-font);
    padding: 46px 44px;
    background-color: #fff;
    position: relative;
}

.tab-body {
    font-size: 18px;
    line-height: 1.445;
    color: #303030;
    padding: 0 115px 40px 44px;
    background-color: #fff;
    /* margin-top: -10px; */
}

.tab-body ul {
    display: block;
    margin-top: 20px;
}

.tab-body ul li:not(:last-child) {
    margin-bottom: 12px;
}

.tab-body ul li {
    display: block;
    position: relative;
    padding-left: 22px;
}

.tab-body ul li:before {
    position: absolute;
    content: '';
    top: 9px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #000;
}

.tab-body ol {
    list-style-type: none;
}

.tab-body ol li {
    display: block;
    position: relative;
    padding-left: 30px;
}

.tab-body ol li strong {
    font-weight: 500;
}

.tab-body ol li em {
    font-style: normal;
    position: absolute;
    top: 0;
    left: 0;
}

.tab-body ol li:not(:last-child) {
    margin-bottom: 20px;
}

.tab-accordion > a em.ai-icon-arrow {
    width: 15px;
    height: 19px;
    top: 50%;
    -webkit-transform: translateY(-50%) rotate(180deg);
    -ms-transform: translateY(-50%) rotate(180deg);
    transform: translateY(-50%) rotate(180deg);
    position: absolute;
    background-image: url(../../images/la-refinance/ai-arrow-icon-a.png);
    right: 44px;
}

.tab-accordion a[aria-expanded="true"] em.ai-icon-arrow {
    -webkit-transform: translateY(-50%) rotate(0deg);
    -ms-transform: translateY(-50%) rotate(0deg);
    transform: translateY(-50%) rotate(0deg);
}

.faq-more-btn {
    display: block;
    position: relative;
    margin: 62px auto 0;
}

.faq-more-btn a {
    margin: 0 auto;
    max-width: 487px;
}

/* Refinance Form */
.rf-container, .rf-img-holder, .rf-form-container, .rf-form-tagline, .rf-form-widget, .rf-form-widget form, .rf-form, .rf-form-field {
    display: block;
    position: relative;
}

.rf-container {
    font-size: 0;
    padding: 89px 0 92px;
    overflow: hidden;
}

.rf-bg {
    background-color: #f4f4f4;
}

.rf-bg canvas {
    opacity: .05;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
}

.rf-accent-logo {
    width: 536px;
    height: auto;
    left: auto;
    top: 15px;
    right: -120px;
}

.rf-accent-logo canvas {
    opacity: .5;
}

.rf-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

.rf-col {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    width: 50%;
}

.rf-img-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 45px 45px;
    z-index: 5;
}

.rf-img-title h2 {
    font-size: 40px;
    line-height: 1.3;
    color: #fff;
    font-family: var(--title-font);
}

.rf-col:first-child {
    width: 40.352%;
}

.rf-col:last-child {
    width: 59.648%;
}

.rf-img-holder, .rf-img {
    height: 100%;
}

.rf-img {
    background-color: #236193;
}

.rf-form-container {
    padding-right: 126px;
}

.rf-form-tagline {
    margin: 17px 0 20px;
    width: 92%;
}

.rf-form-tagline p {
    font-size: 14px;
    line-height: 1.715;
    letter-spacing: 0.050em;
    color: #000;
}

.rf-form-field input:not([type=submit]), .rf-form-field textarea {
    width: 100%;
    height: 70px;
    color: #727272!important;
    border: none;
    border-bottom: 1px solid #929292;
    padding: 0 8px;
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: none;
    font-size: 14px;
    letter-spacing: 0.050em;
    line-height: normal;
}

.rf-form-field {
    margin-bottom: 18px;
}

.rf-form-field textarea {
    resize: none;
    height: 102px;
    padding: 25px 8px 10px;
}

.rf-form-field.form-submit {
    margin: 39px 0 0;
}

.rf-form-field.form-submit button.ip-btn {
    max-width: 250px;
    color: #fff!important;
}

.rf-img-holder:before {
    position: absolute;
    content: '';
    bottom: -40px;
    left: -40px;
    width: 242px;
    height: 255px;
    border: 5px solid #c4c4c4;
    opacity: .45;
    z-index: 1;
    pointer-events: none;
}

.rf-form-widget .wpcf7-spinner {
    position: absolute;
    bottom: -30px;
    left: 0;
    margin: 0 auto;
}

.rf-form-widget .wpcf7 form .wpcf7-response-output {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    margin: 0 auto;
    font-size: 12px;
    color: #000!important;
    text-align: center;
}

.rf-form-widget .use-floating-validation-tip .wpcf7-not-valid-tip {
    position: absolute;
    top: 20%;
    left: 20%;
    width: auto;
    font-size: 12px;
    z-index: 100;
    border: 1px solid #dc3232;
    background: #fff;
    padding: .2em .8em;
}

/* Calculator */
#custom-mortgage-form {
    position: relative;
    z-index: 1;
}

.cmf-inner {
    position: relative;
    padding: 75px 15px 110px;
    font-size: 0;
    background-color: #f4f4f4;
    overflow: hidden;
}

.cmf-accent-logo {
    top: 60px;
    width: 536px;
    height: auto;
    right: -40px;
    left: auto;
}

.cmf-accent-logo canvas {
    -webkit-filter: invert(1) brightness(0);
    filter: invert(1) brightness(0);
    opacity: .02;
}

.cmf-title {
    text-align: center;
    font-family: var(--title-font);
    color: #236092;
    font-size: 40px;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 45px;
}

.cmf-title span {
    font-size: 20px;
    line-height: 1;
    color: #000;
    display: block;
    text-transform: uppercase;
    margin-top: 21px;
    letter-spacing: normal;
}

.cmf-form-wrap {
    position: relative;
}

.cmf-tab-title {
    text-align: center;
    font-size: 20px;
    line-height: 1.12;
    color: #4da9ff;
    text-transform: uppercase;
    font-family: var(--title-font);
    margin-bottom: 45px;
}

/*step1*/
.cmf-step2-list {
    max-width: 1080px;
    margin: 0 auto 44px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.cmf-step2-item {
    width: 25%;
    padding: 0 10px;
    text-align: center;
}

.cmf-step2-item-inner {
    background: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 50px 15px;
    -webkit-transition: background .3s ease,-webkit-box-shadow .3s ease;
    transition: background .3s ease,-webkit-box-shadow .3s ease;
    -o-transition: background .3s ease,box-shadow .3s ease;
    transition: background .3s ease,box-shadow .3s ease;
    transition: background .3s ease,box-shadow .3s ease,-webkit-box-shadow .3s ease;
    overflow: hidden;
    -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.05);
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.05);
    position: relative;
    cursor: pointer;
    min-height: 260px;
}

.cmf-step2-item-inner:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 10px solid rgba(255,255,255,0.6);
    opacity: 0;
    -webkit-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    transition: opacity .3s ease;
    pointer-events: none;
}

.cmf-step2-item-logo {
    text-align: center;
    min-height: 103px;
}

.cmf-step2-item-logo img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.cmf-step2-item h2 {
    font-size: 16px;
    margin: 20px auto 0;
    line-height: 1.2;
    letter-spacing: 0.050em;
    min-height: 38px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #236092;
    text-transform: uppercase;
    font-weight: 400;
    font-family: var(--title-font);
    -webkit-transition: color .3s ease;
    -o-transition: color .3s ease;
    transition: color .3s ease;
}

.cmf-step2-item span {
    display: block;
    font-size: 18px;
    letter-spacing: 0.05em;
    line-height: 1;
    color: #000;
    font-weight: 700;
    -webkit-transition: color .3s ease;
    -o-transition: color .3s ease;
    transition: color .3s ease;
}

.cmf-step2-item-inner:focus, .cmf-step2-item-inner.selected, .cmf-step2-item-inner:hover {
    background: #236092;
    -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.15);
}

.cmf-step2-item-inner:focus:after, .cmf-step2-item-inner.selected:after, .cmf-step2-item-inner:hover:after {
    opacity: 1;
}

.cmf-step2-item-inner:focus h2, .cmf-step2-item-inner:focus span, .cmf-step2-item-inner.selected h2, .cmf-step2-item-inner.selected span, .cmf-step2-item-inner:hover h2, .cmf-step2-item-inner:hover span {
    color: #fff;
}

.cmf-controls {
    margin-bottom: 45px;
}

.cmf-controls a.cmf-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    width: 200px;
    height: 51px;
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 1;
    background-color: #9b172d;
    color: #fff;
    text-transform: uppercase;
    font-family: var(--title-font);
    text-align: center;
    margin: 0 10px;
    -webkit-transition: color .3s ease, background .3s ease, border .3s ease;
    -o-transition: color .3s ease, background .3s ease, border .3s ease;
    transition: color .3s ease, background .3s ease, border .3s ease;
}

.cmf-controls a.cmf-btn:before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.cmf-controls a.cmf-btn:hover {
    background: #236092;
    border-color: #236092;
    color: #fff;
}

.cmf-controls a.cmf-btn:hover:before {
    border-color: #4da9ff;
}

.tab-pane:not([id="step3"]) .cmf-step2-item-inner.selected .cmf-step2-item-logo img, .tab-pane:not([id="step3"]) .cmf-step2-item-inner:hover .cmf-step2-item-logo img, .tab-pane:not([id="step3"]) .cmf-step2-item-inner:focus .cmf-step2-item-logo img {
    
   
}

.cmf-controls a.cmf-prev {
    background-color: transparent;
    border: 1px solid #000;
    color: #000;
    border-left: 3px solid #000;
    border-right: 3px solid #000;
}

/*step2*/
.cmf-field.field-12 {
    margin-bottom: 36px;
}

.cmf-form {
    margin-bottom: 45px;
}

.cmf-form {
    width: 645px;
    max-width: 100%;
    margin: 0 auto;
    font-size: 0;
}

.cmf-field.field-6 {
    width: 50%;
}

.cmf-field.field-12 {
    width: 100%;
}

.cmf-field {
    display: inline-block;
    vertical-align: top;
    padding: 0 15px;
    position: relative;
}

.cmf-form .wpcf7-not-valid-tip {
    position: absolute;
    top: 20%;
    left: 20%;
    z-index: 100;
    padding: 0.2em 0.8em;
    border: 1px solid #ff0000 !important;
    background: #FFFFFF !important;
    color: #ff0000 !important;
    font-size: 11px;
    text-transform: none;
    letter-spacing: normal;
}

.cmf-field label {
    font-size: 16px;
    display: block;
    letter-spacing: 0.05em;
    line-height: 1;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
}

.cmf-field input[type="text"], .cmf-field input[type="email"], .cmf-field input[type="tel"], .cmf-dropdown {
    font-size: 16px;
    line-height: 1;
    color: #c6c7c6!important;
    border: 1px solid rgba(0,0,0,0.35);
    border-radius: 3px;
    width: 100%;
    height: 50px;
    background: transparent;
    text-align: left;
    padding: 0 15px;
    font-weight: 400;
    text-transform: none;
}

.cmf-dropdown:before {
    content: "\b0207";
    font-family: agentimage!important;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    right: 15px;
    color: inherit;
    position: absolute;
}

.open > .cmf-dropdown {
    background: #fff;
    color: #234d6e;
}

.open > .cmf-dropdown:before {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.cmf-dropdown-menu {
    background: #234d6f;
    width: 100%;
    text-align: left;
    padding: 22px 20px 11px;
    margin: -1px 0 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid rgba(255,255,255,0.35);
    border-top: 0;
    border-radius: 0;
    max-height: 300px;
    overflow: auto;
}

.open > .cmf-dropdown-menu[aria-labelledby="cmf_type"] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column wrap;
    flex-flow: column wrap;
    max-height: 120px;
}

.cmf-dropdown-menu li {
    margin-bottom: 14px;
}

.cmf-dropdown-menu li a {
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0.05em;
    color: #fff;
    padding: 0;
    display: inline-block;
}

.cmf-dropdown-menu li a:hover, .cmf-dropdown-menu li a:focus {
    background: transparent;
    color: #fff;
    opacity: 0.6;
}

/*step3*/
.cmf-range {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column wrap;
    flex-flow: column wrap;
    width: 423px;
    max-width: 100%;
    margin: 0 auto;
    max-height: 170px;
}

.cmf-range li {
    margin-bottom: 25px;
}

.cmf-range li a {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    padding-left: 35px;
    font-size: 17px;
    letter-spacing: 0.05em;
    line-height: 1.277;
    color: #000;
    position: relative;
}

.cmf-range li a:before, .cmf-range li a:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
}

.cmf-range li a:before {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    border: 1px solid #000;
}

.cmf-range li a:after {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #9b172d;
    left: 3px;
    top: 3px;
    opacity: 0;
}

.cmf-range li a.selected:after {
    opacity: 1;
}

/*progress*/
.cmf-progress-list {
    max-width: 550px;
    margin: 0 auto;
    position: relative;
}

.cmf-progress-list:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 3px;
    background: #011223;
    margin: auto;
    z-index: 1;
    display: block;
}

.cmf-progress {
    position: relative;
    z-index: 1;
}

.cmf-progress i {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #78808a;
    display: block;
    -webkit-transition: background .3s ease;
    -o-transition: background .3s ease;
    transition: background .3s ease;
}

.cmf-progress i:before {
    content: '';
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    transition: opacity .3s ease;
}

.progress-icon-step1:before {
    width: 39px;
    height: 34px;
    background: url(../../images/home-equity/icon-step1.png) center/cover no-repeat;
}

.progress-icon-step2:before {
    width: 44px;
    height: 44px;
    background: url(../../images/home-equity/icon-step2.png) center/cover no-repeat;
}

.progress-icon-step3:before {
    width: 35px;
    height: 28px;
    background: url(../../images/home-equity/icon-step3.png) center/cover no-repeat;
}

.progress-icon-step4:before {
    width: 33px;
    height: 33px;
    background: url(../../images/home-equity/icon-step4.png) center/cover no-repeat;
}

.progress-icon-step5:before {
    width: 32px;
    height: 29px;
    background: url(../../images/home-equity/icon-step5.png) center/cover no-repeat;
}

.cmf-progress span {
    position: absolute;
    top: 100%;
    font-size: 15px;
    letter-spacing: 0.05em;
    color: #011223;
    text-transform: uppercase;
    margin-top: 8px;
    font-weight: 400;
    opacity: .70;
}

.cmf-progress.active i {
    background: #011223;
}

.cmf-progress.active i:before {
    opacity: 1;
}

.cmf-progress.active span {
    font-weight: 700;
    opacity: 1;
}

/* Step 3 */
#step3 .cmf-step2-item h2 {
    font-size: 20px;
    margin: 22px 0 5px;
    display: block;
    min-height: 0;
}

/*step4*/
#step4 .cmf-tab-title {
    margin-bottom: 90px;
}

.cmf-form {
    margin-bottom: 70px;
}

.cmf-field.field-6 {
    margin-bottom: 20px;
}

.cmf-field label em {
    margin-bottom: 9px;
    display: block;
    font-style: normal;
}

.cmf-field #mortgage_agree label {
    display: block;
    position: relative;
}

.cmf-field #mortgage_agree label input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    margin: 0;
}

.cmf-field #mortgage_agree label span {
    display: block;
    font-size: 13px;
    letter-spacing: 0.04em;
    line-height: 1.461;
    color: #000;
    padding-left: 32px;
    font-weight: 400;
    text-transform: initial;
}

.cmf-field #mortgage_agree label span:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid rgba(151,151,151,0.35);
    left: 0;
    top: 3px;
}

.cmf-field #mortgage_agree label input:checked ~ span:before {
    background: url(../../images/la-refinance/icon-check-red.png) center no-repeat;
    background-size: 77%;
}

.cmf-field strong {
    display: block;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.214;
    color: #000;
    margin: 20px 0 19px;
}

.cmf-field .wpcf7-radio span.wpcf7-list-item {
    margin-right: 20px;
}

.cmf-field .wpcf7-radio label input[type="radio"] {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
}

.cmf-field .wpcf7-radio span.wpcf7-list-item label {
    display: inline-block;
    position: relative;
    font-size: 14px;
    font-weight: 400;
    text-transform: initial;
    letter-spacing: 0;
}

.cmf-field .wpcf7-radio span.wpcf7-list-item label span {
    display: block;
    padding-left: 26px;
    position: relative;
}

.cmf-field .wpcf7-radio span.wpcf7-list-item label span:before, .cmf-field .wpcf7-radio span.wpcf7-list-item label span:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
}

.cmf-field .wpcf7-radio span.wpcf7-list-item label span:before {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 1px solid #e7e7e7;
}

.cmf-field .wpcf7-radio span.wpcf7-list-item label span:after {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #9b172d;
    left: 3px;
    top: 3px;
    opacity: 0;
}

.cmf-field .wpcf7-radio span.wpcf7-list-item label input:checked ~ span:after {
    opacity: 1;
}

.cmf-form .wpcf7 form .wpcf7-response-output {
    display: none!important;
}

.cmf-form .wpcf7-spinner {
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.cmf-form form {
    position: relative;
}

/*step 5*/
#step5 {
    position: relative;
    text-align: center;
    padding: 72px 0 0;
}

#step5 .cmf-title {
    font-size: 40px;
    letter-spacing: 0.05em;
    margin-bottom: 22px;
}

#step5 .cmf-tab-title {
    font-size: 25px;
    letter-spacing: 0.1em;
    margin-bottom: 57px;
}

#step5 p {
    font-size: 25px;
    line-height: 1.6;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    max-width: 760px;
    margin: 0 auto 134px;
    color: #000;
}

.disabled {
    pointer-events: none;
}

/* Popup Form */
.mr-popup {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.40);
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    -webkit-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    transition: all 0.6s ease;
    overflow: hidden;
}

.mr-popup-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 25px;
}

.mr-popup-main {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
    -webkit-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    transition: all 0.6s ease;
    -webkit-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
    opacity: 0;
    background: #fff;
    padding: 30px 30px 50px;
}

.mr-popup-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 19px;
    color: #696969;
    z-index: 1;
    cursor: pointer;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    padding: 14px;
    border-bottom: 1px solid #696969;
    border-top: 1px solid #696969;
}

.mr-popup-close-btn:hover {
    color: #236092;
    border-color: #236092;
}

.mr-popup.active {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

.mr-popup.active .mr-popup-main {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

.mr-popup-title {
    display: block;
    position: relative;
    text-align: center;
    margin-bottom: 15px;
}

.mr-popup-caption {
    display: block;
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.mr-popup-caption span {
    display: block;
}

.mr-popup-caption span:not(:last-child) {
    margin-bottom: 10px;
}

.mr-popup-title h2 {
    font-size: 30px;
    text-align: center;
    color: #236092;
    text-transform: uppercase;
    font-family: var(--title-font);
}

.mr-popup-caption span {
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0.050em;
}

.mr-popup-form {
    display: block;
    position: relative;
}

.mr-popup-form-widget {
    display: block;
    position: relative;
}

.mr-popup-form-widget form {
    display: block;
    position: relative;
}

.mr-popup-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.mr-popup-col {
    display: inline-block;
    vertical-align: middle;
    width: calc(50% - 15px);
}

.mr-popup-row.full label,.mr-popup-col label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.mr-popup-row input:not([type=submit]), .mr-popup-row.full textarea {
    border: none;
    border-bottom: 2px solid #696969;
    background-image: none;
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    display: block;
    width: 100%;
    font-size: 13px;
    text-transform: uppercase;
    outline: none!important;
    color: #000!important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    text-transform: uppercase;
    height: 31px;
}

.mr-popup-row.full {
    display: block;
}

.mr-popup-row:not(:last-child) {
    margin-bottom: 20px;
}

.mr-popup-row.full textarea {
    height: 75px;
    padding: 15px 0;
    resize: none;
}

.mr-popup-row.full input[type=submit] {
    display: block;
    position: relative;
    width: 198px;
    height: 53px;
    font-weight: 500;
    font-size: 15px;
    line-height: 47px;
    text-decoration: none!important;
    text-align: center;
    margin: 0 auto;
    padding: 0;
    text-transform: uppercase;
    color: #323232;
    border-color: #323232;
    border: 1px solid rgba(50,50,50,.40);
    border-left: 3px solid #323232;
    border-right: 3px solid #323232;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    font-family: var(--title-font);
}

.mr-popup-form-widget div.wpcf7 .ajax-loader {
    position: absolute;
    bottom: -18px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.mr-popup-form-widget .wpcf7 form .wpcf7-response-output {
    text-align: center;
    margin: 10px auto 0;
}

.mr-popup-form-widget .use-floating-validation-tip span.wpcf7-not-valid-tip {
    font-size: 11px;
    width: 160px;
}

.mr-popup-form-widget .wpcf7-spinner {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.mr-popup-row.full input[type=submit]:hover {
    background: #236092;
    border-color: #236092;
    color: #fff!important;
}

.mr-popup-close-btn:before {
    position: absolute;
    content: '';
    width: 1px;
    height: 50%;
    background: #696969;
    top: 0;
    left: 0;
}

.mr-popup-close-btn:after {
    position: absolute;
    content: '';
    width: 1px;
    height: 50%;
    background: #696969;
    bottom: 0;
    right: 0;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.mr-popup-close-btn span {
    font-weight: 700!important;
}

.mr-popup-close-btn:hover:after, .mr-popup-close-btn:hover:before {
    background: #236092;
}

/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1560px) {
}

@media only screen and (max-width: 1440px) {
    .hero-container .custom-container {
        max-width: 1200px;
    }

    .hero-content h2 {
        font-size: 45px;
    }

    .hero-content h2 span {
        font-size: 18px;
    }

    .ip-title h2, .cmf-title, .rf-img-title h2 {
        font-size: 35px;
    }

    .rf-form-container {
        padding-left: 90px;
    }

    .rf-form-tagline {
        margin: 26px 0 20px;
    }

    .cmf-controls a.cmf-btn {
        width: 165px;
    }
}

@media only screen and (max-width: 1366px) {
    .lc-table-list ul li.lc-table-head, .lc-table-list ul li.lc-table-item {
        padding: 10px 25px;
        font-size: 17px;
    }

    .lc-table-col {
        min-width: 255px;
    }

    .hv-content:before {
        bottom: -30px;
        right: -30px;
    }

    .hv-content-img:before {
        top: -30px;
        left: -30px;
    }

    #accordion:before {
        top: -30px;
        left: -30px;
    }

    #accordion:after {
        bottom: -30px;
        right: -30px;
    }

    #accordion:before, #accordion:after, .rf-img-holder:before, .hv-content:before, .hv-content-img:before {
        width: 220px;
        height: 220px;
    }

    .rf-img-holder:before {
        bottom: -30px;
        left: -30px;
    }

    .lc-content-img:after {
        top: -30px;
        right: -30px;
    }

    .lc-content-img:before {
        bottom: -30px;
        left: -30px;
    }

    .rf-accent-logo, .faq-accent-logo, .cmf-accent-logo {
        width: 500px;
    }

    .hv-accent-logo {
        width: 465px;
        bottom: -10px;
    }

    .custom-container {
        max-width: 1100px;
    }

    .rf-form-container {
        padding-left: 50px;
    }

    .rf-form-field input:not([type=submit]), .rf-form-field textarea {
        height: 60px;
        font-size: 13px;
    }

    .rf-form-field textarea {
        height: 90px;
        padding: 16px 8px 10px;
    }

    .tab-body {
        font-size: 17px;
        line-height: 1.4;
    }

    .tab-accordion > a {
        font-size: 20px;
    }
}

@media only screen and (max-width: 1280px) {
    .lc-table-list ul li.lc-table-item {
        line-height: 1.3;
    }

    .lc-table-list ul li.lc-table-head, .lc-table-list ul li.lc-table-item {
        padding: 10px 20px;
        font-size: 16px;
        height: 70px;
    }

    .lc-table-col {
        min-width: 220px;
    }

    .lc-table-list ul li.lc-table-item.no-bg {
        font-size: 15px;
    }

    .lc-content-container .ip-title {
        margin-bottom: 35px;
    }

    .cmf-step2-item span {
        font-size: 17px;
    }

    .cmf-step2-item-logo {
        min-height: 100px;
    }

    .cmf-field input[type="text"], .cmf-field input[type="email"], .cmf-field input[type="tel"], .cmf-dropdown {
        font-size: 14px;
    }

    .hero-container .custom-container {
        max-width: 1100px;
    }

    .hero-container {
        padding: 80px 0;
    }

    .custom-container {
        max-width: 1000px;
    }

    .hv-content-inner {
        padding: 40px 40px;
    }

    .hv-content ul li {
        padding-left: 30px;
        font-size: 13px;
    }

    .hv-content ul li strong {
        font-size: 16px;
    }

    .ip-btn {
        max-width: 340px;
    }

    .hero-content h2 {
        font-size: 43px;
    }

    .rf-img-title {
        padding: 0 30px 30px;
    }

    .rf-accent-logo, .faq-accent-logo, .cmf-accent-logo {
        width: 430px;
    }

    .hv-accent-logo {
        width: 400px;
    }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
    .hv-content-img {
        margin-right: -40px;
    }

    .custom-container {
        max-width: 930px;
    }

    .lc-content-img:before, .lc-content-img:after, #accordion:before, #accordion:after, .rf-img-holder:before, .hv-content:before, .hv-content-img:before {
        width: 190px;
        height: 190px;
    }

    .hv-content:before {
        bottom: -20px;
        right: -20px;
    }

    .hv-content-img:before {
        top: -20px;
        left: -20px;
    }

    .hv-content-inner {
        padding: 40px 45px;
    }

    .hv-content ul li:not(:last-child) {
        margin-bottom: 20px;
    }

    .hv-content ul li {
        padding-left: 25px;
        font-size: 12px;
    }

    .ip-btn {
        height: 65px;
        max-width: 305px;
        font-size: 11px;
        letter-spacing: 0.100em;
    }

    .ip-title h2, .cmf-title, .rf-img-title h2 {
        font-size: 33px;
    }

    #accordion:before {
        top: -20px;
        left: -20px;
    }

    #accordion:after {
        bottom: -20px;
        right: -20px;
    }

    .faq-main .ip-title {
        margin-bottom: 40px;
    }

    .tab-accordion > a {
        font-size: 18px;
        padding: 30px 30px 30px;
    }

    .tab-accordion > a em.ai-icon-arrow {
        right: 30px;
    }

    .tab-body {
        font-size: 15px;
        padding: 0 30px 30px;
    }

    .tab-accordion > a em.ai-icon-arrow {
        width: 13px;
        height: 16px;
    }

    .tab-body ol li {
        padding-left: 20px;
    }

    .faq-more-btn a {
        max-width: 330px;
    }

    .tab-pane:not([id="step3"]) .cmf-step2-item-logo img {
        max-width: 85px;
        width: 100%;
    }

    #step3 .cmf-step2-item-logo img {
        max-width: 130px;
        width: 100%;
    }

    .cmf-step2-item h2 {
        margin: 17px auto 0;
        font-size: 14px;
        letter-spacing: 0.020em;
        min-height: 35px;
    }

    .cmf-range li a {
        font-size: 17px;
    }

    .hero-container .custom-container {
        max-width: 940px;
    }

    .hero-content h2 {
        font-size: 35px;
        margin-bottom: 17px;
    }

    .hero-content h2 span {
        font-size: 16px;
    }

    .hero-content {
        max-width: 580px;
    }

    .hero-container {
        margin-top: 65px;
    }

    .hero-content p {
        margin-bottom: 25px;
    }

    .cmf-progress span {
        font-size: 14px;
        letter-spacing: 0.020em;
    }

    .cmf-controls a.cmf-btn {
        width: 155px;
        font-size: 13px;
        letter-spacing: 0.050em;
    }

    .cmf-field label {
        font-size: 14px;
    }

    .cmf-tab-title {
        font-size: 18px;
    }

    .cmf-field input[type="text"], .cmf-field input[type="email"], .cmf-field input[type="tel"], .cmf-dropdown {
        padding: 0 15px;
    }

    .cmf-dropdown:before {
        right: 15px;
    }

    .cmf-progress-list {
        max-width: 525px;
    }

    .cmf-tab-title {
        margin-bottom: 40px;
    }

    .cmf-step2-list {
        max-width: 940px;
    }

    .cmf-step2-item-inner {
        min-height: 0;
        padding: 40px 15px;
    }

    .cmf-title span {
        font-size: 18px;
    }

    .hv-content ul {
        margin-bottom: 25px;
    }

    .hv-content-inner a.ip-btn {
        max-width: 365px;
    }

    .hv-content ul li strong {
        font-size: 15px;
    }

    #step4 .cmf-tab-title {
        margin-bottom: 60px;
    }

    .cmf-form {
        margin-bottom: 55px;
    }

    .rf-img-title {
        padding: 0 25px 25px;
    }

    .rf-img-holder:before {
        bottom: -20px;
        left: -20px;
    }

    .rf-form-container {
        padding-left: 39px;
    }

    .rf-form-tagline {
        margin: 20px 0 15px;
    }

    .rf-form-field {
        margin-bottom: 15px;
    }

    .faq-container {
        padding: 70px 0;
    }

    .faq-more-btn {
        margin: 50px auto 0;
    }

    .hv-content-inner:before {
        top: calc(100% - 110px);
    }

    .tab-pane:not([id="step3"]) .cmf-step2-item-logo {
        min-height: 90px;
    }

    #step3 .cmf-step2-item-logo {
        min-height: 80px;
    }

    #step3 .cmf-step2-item h2 {
        font-size: 17px;
        margin: 17px 0 5px;
    }

    .lc-content-container {
        margin-right: -50px;
    }

    .lc-table-list ul li.lc-table-item {
        line-height: 1.3;
    }

    .lc-table-list ul li.lc-table-head, .lc-table-list ul li.lc-table-item {
        padding: 10px 20px;
        font-size: 14px;
        height: 65px;
    }

    .lc-table-col {
        min-width: 201px;
    }

    .lc-table-list ul li.lc-table-item.no-bg {
        font-size: 12px;
    }

    .lc-table-list ul li.lc-table-item em {
        font-size: 12px;
    }

    .lc-table-col:first-child {
        min-width: 160px;
    }

    .lc-content-img canvas {
        min-width: 0;
    }

    .lc-content-img:after {
        top: -20px;
        right: -20px;
    }

    .lc-content-img:before {
        bottom: -20px;
        left: -20px;
    }
}

@media only screen and (max-height: 550px) {
    .mr-popup-wrapper {
        display: block;
    }
}

@media only screen and (min-width: 992px) and (max-height: 780px) {
    .mr-popup-wrapper {
        display: block;
    }

    .mr-popup-main {
        margin: 30px auto;
    }
}

@media only screen and (min-width: 320px) and (max-height: 780px) {
    .mr-popup-wrapper {
        display: block;
    }

    .mr-popup-main {
        margin: 30px auto;
    }
}

@media only screen and (max-width: 991px) {
    *[class*="col-md"] {
        width: 100%;
    }

    .col-sm-1 {
        width: 8.33333333%;
    }

    .col-sm-2 {
        width: 16.66666666%;
    }

    .col-sm-3 {
        width: 25%;
    }

    .col-sm-4 {
        width: 33.33333333%;
    }

    .col-sm-5 {
        width: 41.66666666%;
    }

    .col-sm-6 {
        width: 50%;
    }

    .col-sm-7 {
        width: 58.33333333%;
    }

    .col-sm-8 {
        width: 66.66666667%;
    }

    .col-sm-9 {
        width: 75%;
    }

    .col-sm-10 {
        width: 83.33333333%;
    }

    .col-sm-11 {
        width: 91.66666667%;
    }

    .col-sm-12 {
        width: 100%;
    }

    .cmf-controls a.cmf-btn {
        width: 125px;
    }

    .open > .cmf-dropdown-menu[aria-labelledby="cmf_type"] {
        display: block;
        max-height: initial;
    }

    .cmf-header {
        padding: 20px 0 0;
    }

    .cmf-inner {
        padding: 45px 15px 65px;
    }

    .cmf-inner:before {
        border-radius: 0;
    }

    .cmf-logo {
        margin-bottom: 30px;
    }

    .cmf-logo img {
        width: 300px;
    }

    .cmf-title {
        margin-bottom: 35px;
    }

    .cmf-title br {
        display: none;
    }

    .cmf-step1-item {
        display: block;
        width: 50%;
        max-width: 360px;
        margin: 0 auto 12px;
        padding: 0 4px;
    }

    .cmf-step1-item-logo {
        min-height: 80px;
    }

    .icon-step1-a {
        width: 80px;
        height: 80px;
        background-size: contain;
    }

    .icon-step1-b {
        width: 90px;
        height: 80px;
        background-size: contain;
    }

    .cmf-step1-list {
        margin: 0 auto 55px;
    }

    .cmf-step1-item:last-child {
        margin-bottom: 0;
    }

    .cmf-circle {
        position: relative;
        bottom: 0;
        margin: 70px auto;
        left: 0;
        right: 0;
    }

    .cmf-circle-right {
        margin-bottom: 0;
    }

    .cmf-step1-item-inner {
        padding: 18px 0 24px;
        max-width: 168px;
        margin: 0 auto;
    }

    .cmf-step1-item:before {
        width: 200px;
        height: 150px;
        z-index: -1;
    }

    .cmf-step2-list {
        max-width: 410px;
        margin: 0 auto 10px;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .cmf-step1-item-inner h2 {
        font-size: 16px;
    }

    .cmf-step2-item {
        width: 50%;
        max-width: 360px;
        margin: 0 0 15px;
        padding: 0 7px;
    }

    .cmf-step2-item-logo img {
        width: 132px;
    }

    .cmf-step2-item-inner {
        padding: 27px 15px;
    }

    #step5 .cmf-title {
        font-size: 30px;
        margin-bottom: 25px;
    }

    #step5 .cmf-tab-title {
        font-size: 25px;
    }

    #step5 p {
        font-size: 25px;
        margin-bottom: 80px;
    }

    .cmf-controls a.cmf-btn:not(:last-child) {
        /* margin-bottom: 10px; */
    }

    .cmf-footer {
        margin-top: 0;
    }

    .header-wrapper {
        background: #236193;
        padding: 17px 0;
        min-height: 86px;
    }

    .logo img {
        
       
    }

    .header-contacts span a {
        color: #fff;
    }

    .burger-menu-icon span {
        background-color: #fff;
    }

    .burger-menu-icon {
        border: 1px solid rgba(255,255,255,.15);
    }

    .hero-container {
        margin-top: 86px;
        padding: 250px 0 28px;
    }

    .hero-content h2 {
        font-size: 35px;
        width: 100%;
        margin-bottom: 13px;
    }

    .hero-content h2 span {
        font-size: 18px;
    }

    .ip-btn {
        max-width: 378px;
        height: 70px;
        font-size: 12px;
        letter-spacing: 0.150em;
    }

    .hero-bg canvas {
        background-position: top center;
    }

    .ip-title h2, .cmf-title, .rf-img-title h2 {
        font-size: 32px;
        letter-spacing: normal;
    }

    .cmf-step2-item h2 {
        font-size: 14px;
        letter-spacing: 0.050em;
        margin: 12px auto 0;
    }

    .cmf-step2-item span {
        font-size: 13px;
    }

    .cmf-controls a.cmf-btn {
        width: 170px;
    }

    .cmf-tab-title {
        margin-bottom: 33px;
    }

    .cmf-form {
        margin-bottom: 18px;
        width: 320px;
    }

    .cmf-controls {
        margin-bottom: 27px;
    }

    .cmf-progress i:before {
        -webkit-transform: scale(.70);
        -ms-transform: scale(.70);
        transform: scale(.70);
    }

    .cmf-progress span {
        font-size: 10px;
        letter-spacing: 0.050em;
    }

    .cmf-circle {
        width: 290px;
        height: 290px;
    }

    .cmf-circle-left ul li {
        margin-bottom: 15px;
    }

    .cmf-circle-left ul li:not(.big) em {
        font-size: 30px;
        width: 40px;
    }

    .cmf-circle-left ul li span, .cmf-circle-right ul li span {
        font-size: 14px;
    }

    .cmf-circle-left ul li:not(.big) span {
        width: 160px;
    }

    .cmf-circle-left ul li.big em {
        font-size: 40px;
    }

    .cmf-circle-right ul li em {
        font-size: 40px;
    }

    .cmf-range li {
        margin-bottom: 18px;
    }

    .cmf-progress i {
        width: 43px;
        height: 43px;
    }

    .cmf-field.field-12, .cmf-field.field-6 {
        margin-bottom: 25px!important;
    }

    .cmf-field.field-6 {
        width: 100%;
    }

    .cmf-range {
        max-height: initial;
        width: 200px;
    }

    .cmf-progress-list {
        max-width: 384px;
    }

    .hv-col {
        display: block;
        width: 100%!important;
    }

    .hv-row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }

    .hv-content-img {
        margin: 0 auto;
    }

    .hv-content:before {
        bottom: -27px;
        right: -27px;
        width: 242px;
        height: 255px;
    }

    .hv-container .custom-container {
        padding: 0 27px;
        max-width: 567px;
    }

    .hv-content-img:before {
        top: -27px;
        right: -27px;
        opacity: 0;
    }

    .hv-container {
        padding: 40px 0 55px;
    }

    .hv-content-inner {
        padding: 30px 30px;
    }

    .hv-content ul li:not(:last-child) {
        margin-bottom: 22px;
    }

    .hv-content ul li strong {
        font-size: 18px;
        line-height: 1.2;
        margin-bottom: 4px;
    }

    .hv-content ul li:before {
        top: 3px;
    }

    .hv-content ul li {
        font-size: 14px;
        padding-left: 30px;
        line-height: 1.6;
    }

    .hv-content-inner .ip-btn {
        max-width: 286px;
        margin: 0 auto;
        padding: 0 20px;
        line-height: 1.3;
    }

    .hv-content ul {
        margin-bottom: 25px;
    }

    .hv-content-container .ip-title {
        display: none;
    }

    .hv-col .ip-title {
        text-align: left;
        margin: 0 0 29px;
    }

    .hv-content-inner:before {
        display: none;
    }

    .hv-content-inner:before {
        display: none;
    }

    .hv-accent-logo {
        bottom: auto;
        top: 50px;
        width: 508px;
        left: auto;
        right: 0;
        margin: 0 auto;
    }

    .faq-container {
        padding: 37px 0 47px;
    }

    .faq-main .ip-title {
        margin-bottom: 30px;
    }

    .tab-accordion > a {
        padding: 24px 45px 24px 18px;
        line-height: 1.3;
    }

    .tab-body {
        padding: 0 18px 23px;
    }

    .tab-accordion > a em.ai-icon-arrow {
        right: 18px;
    }

    .faq-more-btn {
        margin: 20px auto 0;
    }

    .custom-container {
        max-width: 568px;
    }

    .faq-more-btn a {
        max-width: 384px;
        line-height: 1.3;
    }

    .rf-col {
        display: block;
        width: 100%!important;
    }

    .rf-row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .rf-form-container {
        padding: 60px 0 0;
    }

    .rf-container {
        padding: 50px 0;
    }

    .rf-img-holder {
        width: calc(100% - 30px);
        margin: 0 auto;
        max-width: 460px;
    }

    .rf-img-holder:before {
        bottom: -30px;
        left: -30px;
        width: 242px;
        height: 255px;
    }

    .rf-form-field input:not([type=submit]), .rf-form-field textarea {
        font-size: 14px;
        height: 70px;
    }

    .rf-form-field textarea {
        height: 102px;
        padding: 25px 8px 10px;
    }

    .rf-form-field {
        margin-bottom: 18px;
    }

    .rf-form-field.form-submit button.ip-btn {
        max-width: 384px;
    }

    .rf-accent-logo {
        top: 10%;
        right: auto;
        left: -100px;
        width: 508px;
    }

    .hero-container .custom-container {
        max-width: 520px;
    }

    .rf-form-tagline {
        width: 100%;
    }

    .faq-accent-logo {
        left: 0;
        top: 29px;
        bottom: 0;
        margin: 0 auto;
        max-width: 350px;
        right: 0;
        height: auto;
    }

    .hero-bg:before {
        width: 100%;
        background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)),to(rgba(0,0,0,0.65)));
        background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    }

    .hero-content h2 br {
        display: none;
    }

    .hero-content a.ip-btn {
        max-width: 378px;
    }

    .hero-content p {
        margin-bottom: 20px;
    }

    .tab-pane:not([id="step3"]) .cmf-step2-item-logo img {
        max-width: 60px;
    }

    .tab-pane:not([id="step3"]) .cmf-step2-item-logo {
        min-height: 85px;
    }

    #step4 .cmf-tab-title {
        margin-bottom: 40px;
    }

    .cmf-field label {
        font-size: 16px;
    }

    .cmf-field input[type="text"], .cmf-field input[type="email"], .cmf-field input[type="tel"], .cmf-dropdown {
        font-size: 16px;
    }

    .cmf-accent-logo {
        opacity: 0;
    }

    #accordion:after, #accordion:before {
        opacity: 0;
    }

    .faq-accent-logo canvas {
        background-size: contain;
        background-position: top center;
    }

    .rf-accent-logo canvas {
        background-position: right center;
    }

    .lc-col {
        display: block;
        width: 100%!important;
    }

    .lc-table-col {
        min-width: 0!important;
        width: calc(33.33% - 2px);
    }

    .lc-content-container {
        margin-right: 0;
    }

    .lc-table-col:not(:last-child) {
        margin-right: 0;
    }

    .lc-table-row {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .lc-table-list ul li.lc-table-item.no-bg {
        font-size: 14px;
    }

    .lc-table-list ul li.lc-table-head, .lc-table-list ul li.lc-table-item {
        padding: 13px 15px;
        font-size: 14px;
        height: 79px;
    }

    .lc-table-list ul li.lc-table-item em {
        font-size: 14px;
    }

    .lc-table-list ul li.lc-table-head {
        padding: 13px 16px;
    }

    .lc-content-img:before {
        opacity: 0;
    }

    .lc-row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }

    .lc-content-img canvas {
        height: 300px;
    }

    .lc-content-img:after {
        top: -30px;
        right: -30px;
        width: 243px;
        height: 255px;
    }

    .lc-accent-logo {
        opacity: 0;
    }

    .lc-container {
        padding: 45px 0 42px;
    }

    .lc-content-container .ip-title {
        margin-bottom: 25px;
    }

    .lc-main .ip-title {
        margin-bottom: 28px;
        width: 100%;
        max-width: 350px;
    }

    .lc-container .custom-container {
        padding: 0 30px;
    }

    .lc-table-list ul li.lc-table-item.no-bg {
        padding-right: 3px;
    }

    .hv-col .ip-title h2 br {
        display: none;
    }

    .rf-form-field.form-submit button {
        margin: 0 auto;
    }

    .tab-body ul li {
        padding-left: 15px;
    }

    .tab-body ul li:before {
        top: 8px;
        width: 4px;
        height: 4px;
    }

    .hero-bg canvas.hidden-xs.hidden-sm {
        display: block!important;
        background-position: right 10% center;
    }

    .hero-bg canvas.hidden-lg.hidden-md {
        display: none!important;
    }
}

@media only screen and (max-width: 767px) {
    *[class*="col-sm"] {
        width: 100%;
    }

    .col-xs-1 {
        width: 8.33333333%;
    }

    .col-xs-2 {
        width: 16.66666666%;
    }

    .col-xs-3 {
        width: 25%;
    }

    .col-xs-4 {
        width: 33.33333333%;
    }

    .col-xs-5 {
        width: 41.66666666%;
    }

    .col-xs-6 {
        width: 50%;
    }

    .col-xs-7 {
        width: 58.33333333%;
    }

    .col-xs-8 {
        width: 66.66666667%;
    }

    .col-xs-9 {
        width: 75%;
    }

    .col-xs-10 {
        width: 83.33333333%;
    }

    .col-xs-11 {
        width: 91.66666667%;
    }

    .col-xs-12 {
        width: 100%;
    }

    .hv-content:before {
        right: -50px;
    }

    .hv-content-img:before {
        right: -50px;
    }

    .rf-img-holder:before {
        left: -60px;
    }

    .mr-popup-wrapper {
        padding: 15px;
    }

    .mr-popup-main {
        padding: 50px 15px;
    }

    .mr-popup-close-btn {
        padding: 8px;
        font-size: 13px;
    }

    .mr-popup-col {
        width: calc(50% - 5px);
    }
}

@media only screen and (max-width: 480px) {
    .mr-popup-col {
        width: 100%;
    }

    .mr-popup-row {
        display: block;
    }

    .mr-popup-col:not(:last-child) {
        margin-bottom: 20px;
    }

    .lc-content-img:after {
        right: -50px;
    }

    .hero-bg canvas.hidden-xs.hidden-sm {
        display: none!important;
        background-position: right 10% center;
    }

    .hero-bg canvas.hidden-lg.hidden-md {
        display: block!important;
        background-position: right center;
    }
}

@media only screen and (max-width: 413px) {
    .hero-content h2 {
        width: 100%;
        font-size: 30px;
    }

    .cmf-title span {
        font-size: 16px;
    }

    .cmf-step2-item-logo img {
        width: 78px;
    }

    .cmf-step2-item h2 {
        font-size: 11px;
        letter-spacing: 0.020em;
        min-height: 27px;
    }

    .cmf-step2-item span {
        font-size: 12px;
    }

    .cmf-step2-list {
        margin: 0 -7px 20px;
        max-width: -webkit-max-content;
        max-width: -moz-max-content;
        max-width: max-content;
    }

    .cmf-step2-item-inner {
        padding: 20px 10px;
    }

    .ip-title h2, .cmf-title, .rf-img-title h2 {
        font-size: 30px;
    }

    .hv-container .custom-container {
        padding: 0 20px;
    }

    .hv-content ul li:not(:last-child) {
        margin-bottom: 20px;
    }

    .hv-content ul li strong {
        font-size: 16px;
    }

    .hv-content ul li {
        font-size: 13px;
        padding-left: 25px;
    }

    .hv-content ul li:before {
        width: 12px;
        height: 14px;
    }

    .tab-accordion > a {
        padding: 22px 45px 21px 15px;
        font-size: 17px;
    }

    .tab-body {
        padding: 0 15px 20px;
        font-size: 14px;
    }

    .rf-img-holder {
        width: calc(100% - 20px);
    }

    .rf-img-holder:before, .hv-content:before, .hv-content-img:before {
        width: 190px;
        height: 190px;
    }

    .rf-img-title {
        padding: 0 20px 20px;
    }

    .rf-form-container .ip-title h2 br {
        display: none;
    }

    .hero-container {
        padding: 200px 0 28px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        line-height: 1.6;
    }

    .tab-pane:not([id="step3"]) .cmf-step2-item-logo {
        min-height: 66px;
    }

    .cmf-controls a.cmf-btn {
        width: 130px;
        margin: 0 5px;
    }

    #step3 .cmf-step2-item-logo img {
        max-width: 90px;
    }

    #step3 .cmf-step2-item-logo {
        min-height: 55px;
    }

    #step3 .cmf-step2-item h2 {
        font-size: 14px;
    }

    .cmf-field label {
        font-size: 14px;
    }

    .cmf-field input[type="text"], .cmf-field input[type="email"], .cmf-field input[type="tel"], .cmf-dropdown {
        font-size: 14px;
    }

    .cmf-progress span {
        letter-spacing: 0.020em;
        font-size: 8px;
    }

    .lc-content-img:after {
        top: -20px;
    }

    .lc-container .custom-container {
        padding: 0 15px;
    }

    .lc-table-list ul li.lc-table-head, .lc-table-list ul li.lc-table-item {
        font-size: 12px;
        height: 76px;
        padding: 10px 10px;
    }

    .lc-table-list ul li.lc-table-item.no-bg {
        font-size: 12px;
    }

    .lc-table-col:first-child {
        padding-right: 3px;
    }

    .lc-table-list ul li.lc-table-item em {
        font-size: 10px;
    }

    .hv-content-inner {
        padding: 30px 20px;
    }
}
