/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/*********************************************
 * Gravity Forms
 *********************************************/
.gravity-select-parent .select-arrow {
	right: 1px !important;
	left: auto !important;
}

.gform_wrapper
	.ginput_complex
	.gfield_date_dropdown_month
	.gravity-select-parent,
.gform_wrapper
	.ginput_complex
	.gfield_date_dropdown_year
	.gravity-select-parent {
	width: 130px !important;
}

.gform_wrapper
	.ginput_complex
	.gfield_date_dropdown_day
	.gravity-select-parent {
	width: 120px !important;
}

#label_5_23_1 {
	color: #151f6d !important;
}

.gform_wrapper.gravity-theme .gf_progressbar_title {
	color: #fff !important;
	font-weight: 700;
	font-style: italic;
}

.gfield--type-section h3 {
	color: #fff !important;
	padding: 0 !important;
	margin: 0 0 1rem !important;
}

.gfield--type-section {
	padding: 0 !important;
	margin: 0 !important;
}

.gfield_error label {
	display: block;
}

.gform_wrapper.gravity-theme .gfield_error [aria-invalid="true"] {
	border: none !important;
}

/* Terms Page list-styling, margin-bottom */
.page-id-106 .post-content li {
	margin-bottom: 1rem;
}

/* Social Referral Step Form */
.gform_wrapper.gravity-theme .gf_step_label {
	color: #fff !important;
}

.gform_wrapper.gravity-theme .gf_step_active .gf_step_number {
	background: #fff;
	color: var(--awb-active-color) !important;
	border-color: #fff;
	font-weight: bold;
}

.gform_wrapper.gravity-theme .gf_step_number {
	color: #fff;
}

.gform_wrapper.gravity-theme .gf_step_completed .gf_step_number::before {
	border: 0;
}

/*********************************************
 * Hero - Blue Background
 *********************************************/
.heroBlueBackground,
.hero__blue-background {
	margin-bottom: 90px !important;
}

@media screen and (max-width: 767px) {
	.heroBlueBackground,
	.hero__blue-background {
		margin-bottom: 30px !important;
	}
	.hero__blue-background img,
	.heroBlueBackground img {
		margin-top: 2rem;
	}
}

.heroBlueBackground .fusion-text p,
.heroBlueBackground .fusion-title h4,
.heroBlueBackground .gfield_label,
.heroBlueBackground .gfield_description,
.heroBlueBackground .fusion-title-4,
.heroBlueBackground .fusion-title-4 a,
.hero__blue-background .fusion-text p,
.hero__blue-background .fusion-title h4,
.hero__blue-background .gfield_label,
.hero__blue-background .gfield_description,
.hero__blue-background .fusion-title-4,
.hero__blue-background .fusion-title-4 a {
	color: #fff !important;
}
.heroBlueBackground .fusion-title h4,
.hero__blue-background .fusion-title h4 {
    font-size: 32px !important;
}

@media screen and (max-width: 767px) {
    .heroBlueBackground .fusion-title h4,
    .hero__blue-background .fusion-title h4 {
        font-size: 24px !important;
    }
    
}

.heroBlueBackground .gform_wrapper,
.hero__blue-background .gform_wrapper {
	background: rgb(43, 54, 118) !important;
	padding: 12px 24px !important;
	border-radius: 20px !important;
}

.heroBlueBackground .gform_wrapper .gfield_error .gfield_validation_message,
.hero__blue-background .gform_wrapper .gfield_error .gfield_validation_message,
.hero__blue-background .gfield_description {
	background: transparent !important;
	border: 0 !important;
	color: #fff !important;
	padding: 0.5rem !important;
	display: block !important;
}

.heroBlueBackground .gform_wrapper.gravity-theme .gfield_required,
.hero__blue-background .gform_wrapper.gravity-theme .gfield_required {
    color: #fff !important;
}

.heroBlueBackground a[href^="tel"],
.hero__blue-background a[href^="tel"] {
	font-weight: bold !important;
	color: #fff !important;
}

.hero__blue-background .gform_wrapper.gravity-theme .gfield_error .validation_message {
    background: white !important;
    display: block;
    color: red !important;
    font-weight: bold;
}

.hero__blue-background .gform_wrapper.gravity-theme .gfield_error input {
    border: 2px solid red !important;
}

/*********************************************
 * Modal Grid
 *********************************************/
.modal-grid .fusion-modal-text-link {
	background: #dfe7f5;
	height: 145px;
	justify-content: center;
	display: flex;
	border-radius: 2rem;
	padding: 0 1rem;
}

.modal-grid .fusion-modal-text-link img {
	max-height: 110px;
	display: block;
	margin: auto;
}

.modal-text .modal-body {
	text-align: left !important;
}

.modal-text .modal-body a {
	text-decoration: underline;
	font-weight: bold;
}

/*********************************************
 * Social Referral Landing Page
 *********************************************/
@media (min-width: 782px) {
	.page-id-5078 #form h1 {
		font-size: 37px !important;
	}
}

.max-w-840 {
	max-width: 840px;
}

.max-w-860 {
	max-width: 860px;
}

.max-w-960 {
	max-width: 860px;
}




/*********************************************
 * How it Works Grid
 *********************************************/
.iv-how-it-work .iv-container{
    max-width: 1248px;
    width: 100%;
    margin: 0 auto;
}

.iv-how-it-work .how-it-work-main{
    padding: 20px 20px 50px;
}

.iv-how-it-work .how-it-work-title{
    font-size: 36px;
    line-height: 1.11;
    color: #151f6d;
    font-weight: 700;
    text-align: center;
    margin: 0 0 20px;
}

.iv-how-it-work p.how-it-work-desc {
    text-align: center;
    font-size: 18px;
    line-height: 24px;
    color: #151f6d;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto 40px;
}

.iv-how-it-work .how-it-work-items{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.iv-how-it-work .how-it-work-box{
    width: calc(25% - 10px);
    text-align: center;
}

.iv-how-it-work .how-it-work-box img{
    width: 100%;
    max-width: 56px;
    height: 56px;
    object-fit: cover;
}

.iv-how-it-work .how-it-work-box h3{
    font-size: 24px;
    margin: 20px 0 15px;
}
.iv-how-it-work .how-it-work-box p {
    margin: 0;
}

.iv-how-it-work .how-it-work-box p.work-box-text{
    font-size: 18px;
    line-height: 24px;
    color: #151f6d;
    margin: 0;
    padding: 0 5px;
}


@media screen and (min-width: 641px) {
    .iv-how-it-work .for-mobile {
        display: none;
    }
}
@media screen and (max-width: 640.98px) {
    .iv-how-it-work .for-desktop {
        display: none;
    }
}
@media screen and (max-width: 991px) {
    .iv-how-it-work .how-it-work-box{
        width: calc(50% - 10px);
        margin-bottom: 15px;
    }
    .iv-how-it-work .how-it-work-box p.work-box-text{
        padding: 0;
    }
}

@media screen and (max-width: 670px) {
    .iv-how-it-work .how-it-work-box{
        width: calc(100% - 0px);
    }
    .iv-how-it-work .how-it-work-main{
        padding: 0;
    }
}

/*********************************************
 * Force styles for Mobile Header Phone Number
 *********************************************/
.header-nav-mobile-menu-phone a {
	font-weight: bold !important;
	color: #fff !important;
}

/*********************************************
 * Accordion + Video
 *********************************************/
.howItWorkIV div#form > div {
    margin-bottom: 0 !important;
}
.howItWorkIV .howItWorkSection + div {
    padding-top: 50px;
}
.howItWorkIV .howItWorkSection {
    position: relative;
    background-color: #EAECFF;
    padding: 70px 0;
}
.howItWorkIV .howItWorkSection:before,
.howItWorkIV .howItWorkSection:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    background-color: #EAECFF;
    width: 50vw;
    height: 100%;
    pointer-events: none;
}
.howItWorkIV .howItWorkSection:after {
    left: inherit;
    right: 50%;
}
.howItWorkIV .howItWorkSection-content {
    position: relative;
    max-width: 1220px;
    width: 100%;
    margin: 0 auto;
    z-index: 1;
}
.howItWorkIV .howItWorkSection-content .container {
    width: 100%;
    padding: 0;
    display: flex;
    column-gap: 25px;
}
.howItWorkIV .howItWorkSection-content .container:before,
.howItWorkIV .howItWorkSection-content .container:after {
    display: none;
}
.howItWorkIV .how-it-work-title {
    margin-top: 0;
    margin-bottom: 20px;
}
.howItWorkIV .how-it-work-title em {
    pointer-events: none;
}
.howItWorkIV .how-it-work-desc {
    max-width: 718px;
    width: 100%;
    margin-bottom: 40px;
}
.howItWorkIV .accordion {
    width: 100%;
    background-color: #fff;
    border: 4px solid #B2BAF8;
    border-radius: 25px;
    padding: 0 35px;
}
.howItWorkIV .accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.howItWorkIV .accordion-item.active .accordion-header {
    cursor: context-menu;
}
.howItWorkIV .accordion-header .accordion-header-img {
    max-width: 65px;
    width: 100%;
}
.howItWorkIV .accordion-header h3 {
    max-width: 355px;
    width: 100%;
    padding: 0 10px;
    margin-right: auto;
}
.howItWorkIV .accordion-header h3 em {
    display: inline-block;
}
.howItWorkIV .accordion-header .accordion-arrow {
    position: relative;
}
.howItWorkIV .accordion-header .accordion-arrow:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: solid 3px currentColor;
    border-right: solid 3px currentColor;
    -webkit-transform: rotate(135deg);
    transform: translate(-50%, -50%) rotate(135deg);
    opacity: 1;
    border-radius: 2px;
    margin-left: -10px;
    transition: all 0.3s ease-in-out 0s;
}
.howItWorkIV .accordion-item.active .accordion-header .accordion-arrow:before {
    -webkit-transform: rotate(45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
}
.howItWorkIV .video-container {
    width: 100%;
}
.howItWorkIV .video-container > .fusion-layout-column {
    width: 100%;
}
.howItWorkIV .video-container > .fusion-layout-column > .fusion-column-wrapper {
    display: flex;
    margin: 0;
}
.howItWorkIV .video-container #lightbox-see-clearcaptions-in-action:after {
    width: 55px;
    height: 55px;
}
@media screen and (min-width: 641px) {
    .howItWorkIV .for-mobile {
        display: none;
    }
}
@media screen and (max-width: 640.98px) {
    .howItWorkIV .for-desktop {
        display: none;
    }
}
@media (min-width: 1024px) {
    .howItWorkIV .accordion {
        max-width: 45%;
    }
    .howItWorkIV .video-container {
        max-width: 55%;
    }
    .howItWorkIV .accordion .accordion-item:not(:last-child) {
        border-bottom: 2px solid #D7D8E8;
    }
}
@media (max-width: 1023.98px) {
    .howItWorkIV .howItWorkSection-content {
        max-width: 914px;
    }
    .howItWorkIV .howItWorkSection-content .container {
        flex-direction: column-reverse;
    }
    .howItWorkIV .how-it-work-desc {
        margin-bottom: 20px;
    }
    .howItWorkIV .video-container > .fusion-layout-column > .fusion-column-wrapper a > img {
        border-radius: 8px;
    }
    .howItWorkIV .accordion {
        border: 2px solid #424B8E;
        border-radius: 8px;
        padding: 30px 30px 60px;
        margin-bottom: 0 !important;
    }
    .howItWorkIV .accordion-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .howItWorkIV .accordion-header h3 {
        padding: 0;
        margin-top: 20px;
        margin-bottom: 15px;
    }
    .howItWorkIV .accordion-header .accordion-arrow {
        display: none;
    }
    .howItWorkIV .accordion-body {
        display: block !important;
    }
    /* Slider CSS */
    .howItWorkIV .accordion .slick-dots {
        display: flex;
        align-items: center;
        bottom: 20px;
        left: 27px;
    }
    .howItWorkIV .accordion .slick-dots li {
        margin: 0 3px;
        width: auto;
        height: auto;
    }
    .howItWorkIV .accordion .slick-dots li button {
        background-color: #ABB8C3;
        padding: 0;
        border-radius: 50%;
        width: 15px;
        height: 15px;
        display: inline-block;
    }
    .howItWorkIV .accordion .slick-dots li button:before {
        display: none;
    }
    .howItWorkIV .accordion .slick-dots li.slick-active button {
        background-color: #0D186E;
    }
    .howItWorkIV .accordion .slick-arrow {
        font-size: 0;
        bottom: 20px;
        right: 30px;
        left: inherit;
        top: inherit;
        transform: inherit;
        background: #0D186E;
        height: 35px;
        width: 35px;
        border-radius: 5px;
        z-index: 1;
    }
    .howItWorkIV .accordion .slick-prev.slick-arrow {
        right: 75px;
    }
    .howItWorkIV .accordion .slick-next:before,
    .howItWorkIV .accordion .slick-prev:before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 10px;
        height: 10px;
        border-top: solid 3px currentColor;
        border-right: solid 3px currentColor;
        -webkit-transform: translate(-50%, -50%) rotate(45deg);
        transform: translate(-50%, -50%) rotate(45deg);
        opacity: 1;
        border-radius: 2px;
        margin-left: -2px;
    }
    .howItWorkIV .accordion .slick-prev:before {
        -webkit-transform:  translate(-50%, -50%) rotate(-135deg);
        transform: translate(-50%, -50%) rotate(-135deg);
        margin-left: 2px;
    }
    /* slider CSS over */
}
@media (max-width: 767.98px){
    .howItWorkIV .accordion-header h3 {
        font-size: 25px !important;
        hyphens: none;
    }
}