/*-------------------*\
    FORM DESIGN
\*-------------------*/

/*--------------------------------------------------------------
 * ## FORM-ROW
 *--------------------------------------------------------------
*/

.form-row{
    display: flex;
    margin: 0 -5px;
    justify-content: center;
}
.form-row > .form-col{
    margin-bottom: 10px;
    padding: 0 5px;
    position: relative;
    width: 100%;
}
.form-row > .half-col{
    width: 50%;
}
.form-row > .quater-col{
    width: 75%;
}
.form-row > .three-col{
    width: 33.33%;
}
.form-row > .four-col{
    width: 25%;
}

.form-row .form-col label .red {
    color: #c5201b;
}


.password-wrap {
    display: inline-block;
    position: relative;
}

.toggle-password {
    align-items: center;
    color: var(--mfn-button-action-bg-hover);
    cursor: pointer;
    display: flex;
    justify-content: center;
    line-height: normal;
    min-width: 36px;
    min-height: 39px;
    position: absolute;
    top: 0;
    right: 0;
}

.toggle-password:before {
    content: '\e878';
    font-family: "mfn-icons";
    font-size: 15px;
}

.toggle-password.hide:after {
    background: var(--mfn-button-action-bg-hover);
    box-shadow: 0px 1px 0px 1px #ffffff;
    content: '';
    height: 1px;
    position: absolute;
    top: 20px;
    right: 8px;
    width: 20px;
    transform: rotate(-45deg);
}

.password-wrap + input[type=submit] {
    clear: left;
    display: block;
}

/*--------------------------------------------------------------
 * ## WPCF7-FORM
 *--------------------------------------------------------------
*/

.wpcf7-form {
    color: #333333;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-align: left;
}
.wpcf7-form .wpcf7-form-control-wrap{
    position: relative;
    z-index: 1;
}
.wpcf7-form input.wpcf7-form-control:not([type="submit"], [type="checkbox"]),
.wpcf7-form select,
.wpcf7-form .form-label,
.custom-form-wrap .form_field,
.custom-form-wrap select{
    background-color: transparent;
    border: none;
    border-radius: 3px;
    box-shadow: none;
    color: #333333;
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    padding: 10px 12px;
}
.wpcf7-form .form-label{
    background: #ffffff;
    left: 5px;
    margin: 0;
    position: absolute;
    right: 5px;
    top: 0;
    z-index: 0;
}
.wpcf7-form .required + .form-label:after{
    content: '*';
    color: #cc3333;
}
.wpcf7-form .wpcf7-form-control-wrap:focus-within + .form-label,
.wpcf7-form .wpcf7-form-control-wrap.has-value + .form-label{
    display: none;
}
.wpcf7-form .wpcf7-form-control-wrap:focus-within input.wpcf7-form-control:not([type="submit"], [type="checkbox"]),
.wpcf7-form .wpcf7-form-control-wrap.has-value input.wpcf7-form-control:not([type="submit"], [type="checkbox"]){
    background: #ffffff;
}
.wpcf7-form .wpcf7-form-control-wrap.has-value .wpcf7-select{
    background-color: #ffffff; 
}
.wpcf7-form label{
    font-weight: 500;
}
.wpcf7-form p{
    margin-bottom: 10px;
}
.wpcf7-form p+p{
    margin: 0;
}
.wpcf7-form .wpcf7-checkbox,
.wpcf7-form .wpcf7-radio{
    padding: 0 !important;
}
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item,
.wpcf7-form .wpcf7-radio .wpcf7-list-item,
.custom-form-wrap .radio-wrap .radio-item{
    margin: 0 20px 0 0;
    position: relative;
}
.wpcf7-form .wpcf7-checkbox input[type="checkbox"],
.wpcf7-form .wpcf7-radio input[type="radio"]{
    background: none;
    border: none;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0;
}
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item-label,
.wpcf7-form .wpcf7-radio .wpcf7-list-item-label{
    cursor: pointer;
    padding-right: 26px;
    position: relative;
}
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item-label::before,
.wpcf7-form .wpcf7-radio .wpcf7-list-item-label::before{
    border: 1px solid #898989;
    border-radius: 2px;
    content: '';
    height: 18px;
    right: 0;
    position: absolute;
    pointer-events: none;
    top: 0;
    width: 18px;
}
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item-label:after,
.wpcf7-form .wpcf7-radio .wpcf7-list-item-label:after{
    border: 2px solid #ffffff;
    border-width: 0 2px 2px 0;
    content: '';
    display: inline-block;
    height: 11px;
    left: auto;
    opacity: 0;
    right: 6px;
    top: 2px;
    position: absolute;
    width: 5px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    transition: opacity 0.3s;
}
.wpcf7-form .wpcf7-checkbox input:checked ~ .wpcf7-list-item-label:before,
.wpcf7-form .wpcf7-radio input:checked ~ .wpcf7-list-item-label:before{
    background: #4273ac;
    border-color: #4273ac;
}
.wpcf7-form .wpcf7-checkbox input:checked ~ .wpcf7-list-item-label:after,
.wpcf7-form .wpcf7-radio input:checked ~ .wpcf7-list-item-label:after{
    opacity: 1;
}

.wpcf7-form .wpcf7-submit,
.custom-form-wrap .submit {
    background: #c72722 !important;
    border-radius: 3px !important;
    padding: 10px 30px !important;
    display: block !important;
    font-size: 24px !important;
    line-height: normal !important;
    font-weight: 700 !important;
    max-width: 274px !important;
    margin: 20px auto auto !important;
    width: 100% !important;
}
.wpcf7-form .wpcf7-spinner{
    float: right;
    margin-top: -35px;
    margin-right: -15px;
}
.wpcf7 form .wpcf7-response-output {
    color: #cc3333;
    text-align: center;
    float: none;
    margin: 10px 0;
}

/*--------------------------------------------------------------
 * ## WHITEBG-FORM-WRAP
 *--------------------------------------------------------------
*/

.whitebg-form-wrap .wpcf7-form{
    color: #ffffff;
}
.whitebg-form-wrap .wpcf7-form .wpcf7-checkbox input:not(:checked) +.wpcf7-list-item-label::before, .whitebg-form-wrap .wpcf7-form .wpcf7-radio input:not(:checked) + .wpcf7-list-item-label::before {
    border-color: #ffffff;
}
.whitebg-form-wrap .wpcf7-form .thankyou-msg,
.whitebg-form-wrap .wpcf7-form .wpcf7-response-output{
    color: #ffffff;
}


/********************************************************************************************************/

/*---------------------------*\
    CUSTOM-FORM-WRAP 
\*---------------------------*/

.container > .custom-form-wrap{
    margin-top: 25px;
    margin-bottom: 25px;
}

.custom-form-wrap .form-head{
    background-color: #4273ac;
    border-radius: 5px 5px 0 0;
    color: #ffffff;
    padding: 20px 30px;
    text-align: center;
}

.custom-form-wrap .form-body{
    background-color: #d0dcea;
    border-radius: 0 0 5px 5px;
    padding: 30px;
}

.custom-form-wrap .main-title{
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 5px;
}
.custom-form-wrap .desc{
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    max-width: 700px;
    margin: 0 auto;
}

.custom-form-wrap .form-body .form-col p{
    color: #333333;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.42;
}

.custom-form-wrap .form-body .form_field,
.custom-form-wrap .form-body select{
    background: #ffffff;    
    margin-bottom: 5px;
    width: 100%;
}

.custom-form-wrap .form-body .radio-wrap{
    display: block;
}

/********************************************************************************************************/

/*---------------------------*\
    THANK YOU FORM
\*---------------------------*/

.services-list {
    list-style: none !important;
    margin: 0 !important;
}

.services-list li{
    margin-bottom: 20px !important;
}

.services-list h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.services-list p {
    font-weight: 500;
}

.services-list .wpcf7-form-control-wrap{
    margin-top: 10px;
}

.services-form-sec .wpcf7-form .wpcf7-checkbox .wpcf7-list-item-label{
    font-weight: 600;
    padding-right: 0;
    padding-left: 26px;
}

.services-form-sec .wpcf7-form .wpcf7-checkbox input:checked ~ .wpcf7-list-item-label {
    color: #375b89;
}

.services-form-sec .wpcf7-form .wpcf7-checkbox .wpcf7-list-item-label::before{
    right: auto;
    left: 0;
}

.services-form-sec .wpcf7-form .wpcf7-checkbox .wpcf7-list-item-label:after{
    left: 6px;
    right: auto;
}

/* .services-form-sec .wpcf7-form input.wpcf7-form-control:not([type="submit"], [type="checkbox"]){
    background: #ffffff;
}

.services-form-sec .wpcf7-form .form-label {
    display: none;
} */

.services-list li > div[data-id="desired-location"] .wpcf7-form-control-wrap {
    margin-top: 0;
}

/********************************************************************************************************/

/*-------------------*\
    CHECKOUT FORM
\*-------------------*/

.t-center{
    text-align: center;
}

.checkout-wrap .form-wrap{
    max-width: 600px;
    margin: 0 auto;
}

.checkout-main-title{
    border-bottom: 1px solid #b1b1b1;
    color: #c5201b;
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 30px;
    padding-bottom: 20px;
    text-align: center;
}

.checkout-wrap h3{
    color: #333333;
    font-size: 20px;
}

.checkout-form .form-row > .form-col{
    display: flex;
    margin-bottom: 20px;
}
.checkout-form .form-col .form-field-wrap {
    display: block;
    width: 100%;
}
.checkout-form .form-field{
    border: 1px solid #ff9900;
    color: #36312E;
    margin: 0;
    width: 100%;
}
.checkout-form .form-label{
    color: #193067;
    margin: 0;
    min-width: 140px;
}
.checkout-form input[type="submit"]{
    background: #ff9900 !important;
    border-radius: 5px;
    color: #36312E !important;
    display: flex;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;    
    margin: 30px auto 0 !important;
}
.checkout-form input[type="submit"]:hover{
    background: #c5201b !important;
    color: #ffffff !important;
}

/*--------------------------------------------------------------
 * ## CARD-LIST
 *--------------------------------------------------------------
*/

.card-list {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}
.card-list li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-list li label{
    cursor: pointer;
    margin-bottom: 0;
}
.card-list label.error {
    position: absolute;
    bottom: -12px;
}

a.whats-this {
    color: #0000ff;
    text-decoration: underline;
    text-underline-offset: 5px;
    font-weight: 700;
    display: block;
    padding-top: 6px;
    position: relative;
    padding-top: 6px;
    width: 100%;
}

a.whats-this span {
    position: absolute;
    opacity: 0;
    right: 0;
    top: 100%;
    visibility: hidden;
    width: 210px;
    z-index: 1;
}

a.whats-this:hover span {
    opacity: 1;
    visibility: visible;
}

#authorize{
    margin: 50px 0;
}

label.error {
    color: #ff0000;
    font-size: 12px;
    font-weight: 600;
    margin: 5px 0 0;
}

body #Footer .widgets_wrapper .container {
    padding: 0 0 0 0 !important;
}

#Footer .widgets_wrapper .column:nth-child(3){
    width: 14%;
}

#Footer .widgets_wrapper .column:nth-child(4){
    width: 32%;
}

.home-img-col {
    display: flex !important;
    align-items: center;
}

.home-img-col > .mcb-wrap-inner {
    top: 0 !important;
    transform: none !important;
}

/*--------------------------------------------------------------
 * ## SUBSCRIBE
 *--------------------------------------------------------------
*/

div#content-div {
    background: #375b89 !important;
    left: 0 !important;
    padding: 30px !important;
    position: relative !important;
    top: 0 !important;
    width: 100% !important;
}

div#content-div p span[style*="font-weight:bold"] {
    font-size: 120%;
}

div#content-div > p:first-child{
    background: #4273ac;
    margin: -30px -30px 30px;
    max-width: inherit !important;
    padding: 15px 30px;
    width: auto !important;
}

div#content-div p {
    color: #ffffff !important;
}

div#content-div span {
    color: #ffffff !important;
    display: inline-block !important;
    line-height: 1.7;
}

div#content-div > br {
    display: none;
}

div#content-div > br {
    display: none;
}

div#content-div span,
div#content-div form > div{
    text-align: left !important;
}

div#content-div form > div input.actionBtn {
    background: #c72722 !important;
    border: none !important;
    border-radius: 0 !important;
    color: #ffffff !important;
    font-weight: 600;
    padding: 12px 20px !important;
    font-size: 16px;
}


/********************************************************************************************************/

/*--------------------------------------------------------------
 * ## AGREMEENT PAGES
 *--------------------------------------------------------------
*/

.post-type-ava_services ol,
.form-terms ol,
ol.agreement {
	list-style-type: lower-alpha;
	-webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 40px;
}

.post-type-ava_services ol li li,
.form-terms ol li li {
	list-style-type: decimal;
}

.post-type-ava_services ol .no-li,
.form-terms ol li.no-li{
	list-style: none;
    margin-left: -40px;
    margin-top: 5px;
    margin-bottom: 5px;
}

ol.agreement ul li {
    list-style: disc;
    margin-left: 15px;
}

ol.agreement-num {
	list-style-type: decimal;
	-webkit-margin-before: 2em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 40px;
}

.custom-agreement-field {
    max-width: 550px;
    margin: 20px auto auto;
    overflow: hidden;
}

.custom-agreement-field .box-left,
.custom-agreement-field .box-right{
    float: left;
    width: 50%;
}

.custom-agreement-field .box-right *{
    margin-left: auto;
    margin-right: 0 !important;
}

.custom-agreement-field select{
    min-width: 230px !important;
}

.agreement {
    padding-left: 20px;
    font-size: 98%;
}

.ack {
    background: #eeeeee;
    border-bottom: 1px solid #dddddd;
    color: #193067;
    display: flex;
    font-weight: 500;
    flex-direction: row-reverse;
    gap: 5px;
    justify-content: flex-end;
    margin: 10px 0 20px;
    padding: 10px;
}

/*--------------------------------------------------------------
 * ## AGREMEENT PAGES FORM DESIGN
 *--------------------------------------------------------------
*/

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


/********************************************************************************************************/

/*--------------------------------------------------------------
 * ## OTHERS
 *--------------------------------------------------------------
*/

.checkout-wrap.wrap.mcb-wrap {
    display: block;
}

#Header #Top_bar a.button.action_button {
    background: var(--mfn-button-action-bg-hover) !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

#Header #Top_bar a.button.action_button:hover{
    background: var(--mfn-button-bg) !important;
}

.home-banner-wrap .button_size_4 {
    transform: scale(1);
    transform-origin: left;
}

/********************************************************************************************************/
/********************************************************************************************************/

/*-------------------*\
    RESPONSIVE
\*-------------------*/

@media only screen and (min-width: 1240px){
    .section.full-width.inner-form-sec > .section_wrapper {
        max-width: 940px !important;
    }
}

@media only screen and (min-width: 960px) and (max-width: 1239px){
    .section.full-width.inner-form-sec > .section_wrapper {
        max-width: 940px !important;
    }
}

/***** FOR TABLET *****/
@media only screen and (min-width: 768px) and (max-width: 959px){
    .section.full-width.inner-form-sec > .section_wrapper {
        max-width: 708px !important;
    }

    .header-stack.header-center #Top_bar:not(.is-sticky) .menu_wrapper {
        padding-right: 120px;
        text-align: right;
    }

    .header-stack #Top_bar:not(.is-sticky) .menu_wrapper .menu > li > a{
        font-size: 12px;
    }

    .header-stack #Top_bar:not(.is-sticky) .menu > li > a:after{
        border: none !important;
        left: 0 !important;
        width: 100% !important;
    }

    .header-stack #Top_bar:not(.is-sticky) .menu > li > a span:not(.description) {
        padding: 0 7px;
    }

    .header-stack #Top_bar:not(.is-sticky) .top_bar_right a.action_button{
        font-size: 11px;
    }

    .header-stack #Top_bar.is-sticky #logo{
        padding: 10px 0 !important;
    }

    .header-stack #Top_bar.is-sticky #logo img {
        max-height: 50px !important;
    }

    .header-stack #Top_bar.is-sticky .top_bar_left {
        width: 89% !important;
    }

    .header-stack #Top_bar.is-sticky .menu_wrapper{
        float: left;
    }

    .header-stack #Top_bar.is-sticky .menu > li > a{
        font-size: 12px;
    }

    .header-stack #Top_bar.is-sticky .menu > li > a span:not(.description) {
        padding: 0 5px;
    }

    .header-stack #Top_bar.is-sticky .top_bar_right {
        padding-left: 0;
        padding-right: 5px;
    }

    .header-stack #Top_bar.is-sticky .top_bar_right a.action_button{
        font-size: 11px;
        padding: 10px;
    }

    .home-banner .button.has-icon {
        font-size: 15px;
        padding: 15px;
    }

    .home-banner .button.has-icon .button_label {
        padding: 0;
    }

    body #Footer .widgets_wrapper .container {
        padding: 0 10px !important;
        max-width: 100%;
    }

    #Footer .widgets_wrapper .column{
        width: auto !important;
    }

    #Footer .widgets_wrapper .column ul{
        margin-left: 0 !important;
    }

    #Footer .widgets_wrapper .column:nth-child(1){
        max-width: 230px;
    }

    #Footer .widgets_wrapper .column:nth-child(2){
        max-width: 172px;
    }

    #Footer .widgets_wrapper .column:nth-child(3) {
        max-width: 50px;
    }

    #Footer .widgets_wrapper .column:nth-child(4) {
        max-width: 246px;
    }

}

@media only screen and (max-width: 1199px){

    .page-template-page-custom-contact2 #Subheader .title{
        text-align: center;
    }

    .page-template-page-custom-contact2 #Wrapper > .box-full {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 30px;
        max-width: 700px;
        margin: 0 auto;
    }

    .page-template-page-custom-contact2 form#contact{
        max-width: 680px;
        margin: 20px auto auto;
        padding: 0 20px;
    }

    .page-template-page-custom-contact2 form#contact .box-left,
    .page-template-page-custom-contact2 form#contact .box-right {
        width: 48%;
        margin-left: 0;
        padding-left: 0;
    }

    .page-template-page-custom-contact2 form#contact .box-full-left {
        font-size: 15px;
        margin: 0 0 20px;
        width: 100%;
    }

    .page-template-page-custom-contact2 form#contact .box-full-left strong{
        display: block;
        margin-bottom: -15px;
    }

    .page-template-page-custom-contact2 form#contact input:not([type=checkbox]),
    .page-template-page-custom-contact2 form#contact select {
        width: 100%;
    }

    .page-template-page-custom-contact2 form#contact label {
        font-size: 14px;
    }

    .page-template-page-custom-contact2 form#contact input[type="checkbox"] {
        width: 20px;
        height: 15px;
        margin: 5px;
    }

    .page-template-page-custom-contact2 form#contact input.submit{
        box-sizing: border-box;
        height: auto;
        padding: 20px;
    }

}

@media only screen and (max-width: 767px){

    body.side-slide-is-open div#Wrapper:before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 120%;
        background: rgba(0, 0, 0, .6);
        z-index: 9002;
    }

    .header-stack #Header #Top_bar .logo {
        float: none;
        margin: 0;
    }

    .mobile-header-mini #Header #Top_bar #logo {
        height: auto !important;
        margin: 10px 50px;
    }

    .mobile-header-mini #Header #Top_bar .top_bar_left{
        float: none;
    }

    .mobile-header-mini #Header #Top_bar .top_bar_right {
        margin: 5px 0;
        position: static !important;
        width: 100%;
    }

    .mobile-header-mini #Header #Top_bar a.responsive-menu-toggle {
        top: 50px !important;
    }

    .mobile-header-mini #Header #Top_bar a.action_button{
        display: block;
    }

    .home-banner-wrap .button_size_4 {
        font-size: 14px;
        transform: scale(1);
    }

    .section.full-width.inner-form-sec > .section_wrapper {
        max-width: 480px !important;
    }

    .section > .section_wrapper {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .home-form-sec > .section_wrapper > .mcb-wrap {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .form-row,
    .checkout-form .form-row > .form-col{
        flex-direction: column;
    }
    .form-row > .half-col,
    .form-row > .three-col,
    .form-row > .four-col{
        float: none;
        width: 100%;
    }
    
    .custom-form-wrap .main-title{
        font-size: 30px;
    }
    .custom-form-wrap .desc {
        color: #ffffff;
        font-size: 14px;
    }

    .checkout-wrap{
        padding: 40px 20px !important;
    }

    .checkout-main-title{
        font-size: 24px;
    }

    .checkout-form .form-label {
        min-width: 100%;
    }

    .checkout-form input[type="submit"]{ 
        font-size: 20px;
        padding: 10px 15px;
    }

    .page-template-page-custom-contact2 form#contact .box-left, 
    .page-template-page-custom-contact2 form#contact .box-right,
    .custom-agreement-field .box-left,
    .custom-agreement-field .box-right{
        float: none;
        width: 100%;
    }

    .custom-agreement-field .box-left *, .custom-agreement-field .box-right * {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .agreement-terms{
        width: 90% !important;
    }

    .page-template-page-custom-contact2 form#contact .box-full{
        margin-left: 0;
        width: 100%;
    }

    /***** ADDED *****/

    footer#Footer .widgets_wrapper .container {
        padding: 0 7% !important;
    }
    
    #Footer .widgets_wrapper .widget {
        padding: 0;
    }
    
    #Footer .widgets_wrapper .container > div:first-child+div > aside {
        margin: 0;
        padding: 0;
    }
    
    #Footer .widgets_wrapper .container ul {
        margin: 0 !important;
    }
    
    body.page-id-339 #Subheader {
        padding: 40px 0 140px;
    }
    
    body.page-id-339 #Subheader > .container{
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    body.page-id-339 #Subheader .container .title {
        float: right;
        font-size: 22px !important;
        line-height: 26px !important;
        max-width: 220px;
        margin: 0 !important;
        width: auto;
    }
    
    #Footer .widgets_wrapper .column:nth-of-type(3){
        clear: none;
        float: left;
        width: 20% !important;
    }
    
    #Footer .widgets_wrapper .column:nth-of-type(3) img{
        width: 65px;
    }
    
    #Footer .widgets_wrapper .column:nth-of-type(4){
        clear: none;
        float: left;
        padding-left: 4%;
        width: 76% !important;
    }
}