

/* __FORM MAIN
___________________________________________________________*/

.lead-gen-form-container {
    width: 100%;
    background-color: #FFFFFF;
}

.lead-gen-form {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    /* background-color: white; */
    margin: 0;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 62.5rem;
    min-width: 54.375rem;
    width: 85%;

    font-size: 0.9375rem;
    line-height: 1.3em;
    color: #7F8992;
}

.form-service-holder, #lg-form-personal-container {
    display: none;
}

.lead-gen-post-container {
    display: none;
    background: #F2F6F9;
    background-position: center 5rem;
    background-repeat: no-repeat;
    width: 100%;
    padding-top: 14.375rem;
    min-height: 43.75rem;
    text-align: center;
}

.lead-gen-post-container p.heading {
    font-size: 1.5rem !important;
    line-height: 1.2em !important;
    margin-bottom: 1.875rem !important;
}

.lead-gen-post-container #sent-to-phone, .lead-gen-post-container #sent-to-email {
    display: block;
    margin-top:  1.875rem;
    margin-bottom: 3.125rem;
    color: #004E9C;
}

.lead-gen-post-container button, .lead-gen-post-container input {
    width: 20rem !important;
    margin: 0 !important;
}

#lg-post-thankyou {
    background-image: url("../images/icon-send-success.svg");
}

#lg-post-thankyou .form-error .errormsg, #lg-post-validate .form-error .errormsg {
    width: 20rem;
    padding-left: 0;
    text-align: left;
    display: block;
    margin: 0.625rem auto 0 auto;
}

#lg-post-error, #lg-post-validate {
    background-image: url("../images/icon-send-error.svg");
}

#lg-post-loading {
    background-image: url("../images/loading.svg");
}



/* __FORM SECTIONS: Layout and type
___________________________________________________________*/


.lg-section-holder {
    padding: 3.125rem 0;
    border-bottom: 1px solid #B6BCC1;
}

.form-service-holder > .lg-section-holder:last-child {
    border: none;
}

.lg-section-heading, .lg-section-subheading {
    display: block;
/*     margin-top: 0.625rem !important;
    margin-bottom: 0.625rem !important; */
}

.lg-section-heading {
    font-family: "Proxima Nova W01", Helvetica, Roboto, Arial, sans-serif;
    font-size:  1.875rem !important;
    font-weight: 200 !important;
    line-height: 1em !important;
    color: #485865 !important;
}

.lg-section-heading span {
    white-space: nowrap;
}

.lg-section-content {
    /* border: 1px solid red; */
    /* margin-bottom: 0.625rem !important; */
}

.lg-subsection-toggle > div, .lg-subsection-holder > div {
    overflow: hidden;
    height: 0;
}

.lead-gen-form p {
    line-height: 1.3em;
    color: #485865;
}

.lead-gen-form .label {
    display: inline-block;
    margin: 0;
    height: 1.875rem;
    color:#485865;
    font-size: 1.125rem;
    line-height: 1.75em;
    margin-right: 1.5625rem;
    vertical-align: middle;
}

#lg-form-personal-container .lead-gen-form label {
    color:#004E9C;
    margin-top: 0.4375rem;
    margin-bottom: 0.1875rem;
    font-weight: 400 !important;
}

.lg-section-holder p.description {
    max-width: 70%;
}

.lg-form-serviceselect-prompt {
    max-width: 100%;
    margin-top: 3.125rem;
}
.lg-form-serviceselect-prompt span {
    color:#004E9C;
    font-weight: 400 !important;
}

#lg-form-submit {
    padding-bottom: 3.125rem;
}

.lg-subsection-holder {
    /* border: 1px solid red; */
}

#lg-form-personal {
    /* background: #ccffff; */
}

.lg-dynamic {
    /* background: yellow; */
}

.lg-sub-dynamic {
    display: none;
}

.dyn-FCL-false, .dyn-FCL-true {
    display: none;
}

a.lg-link-button {
    cursor: pointer;
    font-weight: 500;
    color: #004E9C;
    text-decoration: underline;
}

a.lg-link-button:hover {
    color: #0589DB;
    text-decoration: underline;
}

.errorflag-holder {
    margin-top: 1.875rem;
    white-space: nowrap;
}

.errormsg {
    display: none;
    color: #f77d19;
    padding-left: 1.875rem;
}

.errormsg:before {
    content: "";
    background-image: url("../images/icon-error.svg");
    background-repeat:no-repeat;
    display: inline-block;
    vertical-align: middle;
    outline: none;
    width: 1.375rem;
    height: 1.375rem;
    padding-right: 0.3125rem;
    margin-right: 0.3125rem;
}

.sentence-error {
    margin-top: 1.25rem;
    margin-bottom: 1.875rem;
}

.form-error .errorflag-holder {
    border: 2px solid red;
    margin-top: 1.875rem;
}

.errorflag, .date-check > .errormsg, #lg-form-services .errormsg, .lead-gen-module .errormsg {
    padding-left: 0 !important;
}

.lead-gen-module .errormsg {
    margin-top: 1.25rem;
}

.date-check > .errormsg, #lg-form-services .errormsg {
    margin-top: 1.25rem;
}

.form-error .errormsg {
    display: inline-block;
}

.form-error label {
    color: #f77d19 !important;
}

.form-error input {
    border: 0.1875rem solid #f77d19 !important;
}
.form-error input[type="text"]:focus {
    border: none !important;
}

.lg-superlarge {
    display: inline-block;
    font-size: 2.375rem;
    vertical-align: middle;
    padding-right: 0.625rem;
}



/* __FORM ELEMENTS: Default
___________________________________________________________*/


.lead-gen-form .row {
    display: inline-block;
}

.lead-gen-form .row-item {
    display: inline-block;
    margin-right: 0.9375rem;
}

.lead-gen-form .field-label, .lg-section-subheading {
    font-family: "Proxima Nova W01", Helvetica, Roboto, Arial, sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    padding-left:0.1875rem;
    margin-bottom: 0.25rem;
    color: black;
}

.lead-gen-form-container select {
    vertical-align: middle;
}

select:-moz-focusring {
    color: transparent !important;
    text-shadow: 0 0 0 #000 !important;
}


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

Input fields style

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

.lead-gen-form input[type="text"], .lead-gen-form textarea {

    width: 19.4375rem;
    height: 2.5rem;

    margin: 0;
    padding: 0;
    padding-left: 0.625rem;
    padding-right: 0.625rem;

    font-family: "Proxima Nova W01", Helvetica, Roboto, Arial, sans-serif;
    font-style: normal;
    font-weight: 200;
    font-size: 1.125rem;
    line-height: 1em;

    appearance: none;
    box-shadow: none;

    -webkit-border-radius: 0.1875rem;
    -moz-border-radius: 0.1875rem;
    border-radius: 0.1875rem;

    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -ms-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;

    -webkit-border-radius: 0.1875rem;
    -moz-border-radius: 0.1875rem;
    border-radius: 0.1875rem;

    color: #004E9C;
    background-color:white;
    border: 1px solid #B6BCC1;
    outline: none;
}

.lead-gen-form textarea {
    padding: 0.3125rem 0.625rem;
    font-size: 1rem;
    height: 7.5rem;
}

.lead-gen-form input[type="text"].small {
    width: 11.25rem;
}

.lead-gen-form input[type="text"]:focus,
.lead-gen-form select:focus,
.lead-gen-form textarea:focus {
    color: #004E9C;
    background-color:white;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 1px solid #004E9C;
    box-shadow:         inset 0 0 0 3px #004E9C;
    -webkit-box-shadow: inset 0 0 0 3px #004E9C;
    -moz-box-shadow:    inset 0 0 0 3px #004E9C;
}
.lead-gen-form input[type=radio]:focus + label,
.lead-gen-form input[type=checkbox]:focus + label {
    outline: 1px solid #004E9C;
    outline-offset: -1px;
    box-shadow:         inset 0 0 0 0 #004E9C;
    -webkit-box-shadow: inset 0 0 0 0 #004E9C;
    -moz-box-shadow:    inset 0 0 0 0 #004E9C;
}
.lead-gen-form input[type=radio]:focus:not(:focus-visible) + label,
.lead-gen-form input[type=checkbox]:focus:not(:focus-visible) + label {
    outline: 0;
    box-shadow:         inset 0 0 0 0 #004E9C;
    -webkit-box-shadow: inset 0 0 0 0 #004E9C;
    -moz-box-shadow:    inset 0 0 0 0 #004E9C;
}
.lead-gen-form input[type=radio]:focus-visible + label,
.lead-gen-form input[type=checkbox]:focus-visible + label {
    outline: 0.125rem solid #004E9C;
    outline-offset: 0.1875rem;
    /*box-shadow:         inset 0 0 0 3px #004E9C;*/
    /*-webkit-box-shadow: inset 0 0 0 3px #004E9C;*/
    /*-moz-box-shadow:    inset 0 0 0 3px #004E9C;*/
}



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

Radio Specific Styles

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

.lead-gen-form input[type=radio] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    background-position: center;
    /*display: none;*/
}

.lead-gen-form .radio-group {
    position: relative;
    margin-bottom: 0;
}

.lead-gen-form .radio-group label {

    display: inline-block;
    cursor: pointer;
    position: relative;
    background-color: none;
    background-position: center;

    padding: 0 0 0 2.5rem;
    margin: 0;
    height: 1.875rem;
    color:#485865;
    font-size: 1.125rem;
    line-height: 1.75em;
    margin-right: 1.5625rem;
    /* background-color: yellow; */
}


.lead-gen-form .radio-group label:before {

     content: "";
    position: absolute;
    display: inline-block;
    background-image: none;
    outline: none;
    width: 1.875rem;
    height: 1.875rem;
    left: 0;
    top: 0;
    color:#485865;
    background-color:white;
    border: 2px solid #B6BCC1;

    -webkit-transition: 0.1s;
    -moz-transition: 0.1s;
    -ms-transition: 0.1s;
    -o-transition: 0.1s;
    transition: 0.1s;
     box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;

    -webkit-border-radius: 0.9375rem;
    -moz-border-radius: 0.9375rem;
    border-radius: 0.9375rem;
}

.lead-gen-form input[type=radio]:checked + label:before {

    background-image: url("../images/radio-checked.svg");
    background-repeat:no-repeat;
    background-origin: border-box;
    background-color: none;
    background-position: center;
    height: 1.875rem;
    width: 1.875rem;
    border: 2px solid #004E9C;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.lead-gen-form input[type=radio]:checked + label {
    color:#004E9C;
}

/*.lead-gen-form input[type=radio]:focus + label {*/
/*    outline: 3px solid #109cda;*/
/*    outline-offset: -3px;*/
/*}*/


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

Checkbox specific styles

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

.lead-gen-form .checkbox-group,
.lead-gen-form .lg-checkbox-icons {
    position: relative;

}

.lead-gen-form .checkbox-group label {

    display: inline-block;
    cursor: pointer;
    position: relative;
    background-color: none;
    background-position: center;

    padding: 0 0 0 2.5rem;
    margin: 0;
    height: 1.875rem;
    color:#485865;
    font-size: 1.125rem;
    line-height: 2em;
    margin-bottom: 0.3125rem;
    margin-top: 0.3125rem;
}

.lead-gen-form input[type=checkbox] {
    /*display: none;*/
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    background-position: center;
}

.lead-gen-form .checkbox-group label:before {

    content: "";
    position: absolute;
    display: inline-block;
    background-image: none;
    outline: none;
    width: 1.875rem;
    height: 1.875rem;
    left: 0;
    top: 0;
    color:#485865;
    background-color:white;
    border: 2px solid #B6BCC1;

    -webkit-transition: 0.1s;
    -moz-transition: 0.1s;
    -ms-transition: 0.1s;
    -o-transition: 0.1s;
    transition: 0.1s;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;

    -webkit-border-radius: 0.1875rem;
    -moz-border-radius: 0.1875rem;
    border-radius: 0.1875rem;
}

.lead-gen-form input[type=checkbox]:checked + label:before {
    background-image: url("../images/checkbox-checked.svg");
    background-repeat:no-repeat;
    background-origin: border-box;
    background-position: center;
    background-color: none;
    height: 1.875rem;
    width: 1.875rem;
    border: 3px solid #004E9C;
}

/*.lead-gen-form input[type=checkbox]:focus + label {*/
/*    outline: 3px solid #109cda;*/
/*    outline-offset: -3px;*/
/*}*/

/* highlight the label */

.lead-gen-form input[type=checkbox]:checked + label {
    color:#004E9C;
}

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

Customs Select

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


.lead-gen-form select::-ms-expand {
    display: none;
}

.lead-gen-form select {

    margin: 0;

    width: auto;

    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;

    overflow: hidden;
    outline: none;

    font-family: "Proxima Nova W01", Helvetica, Roboto, Arial, sans-serif;
    font-style: normal;
    font-weight: 200;
    font-size: 1rem;
    line-height: 1.1em;

    height: 2.6rem;

    padding: 0;
    padding-left:0.625rem;
    padding-right:3.125rem;

    padding-top: 0;

    color:#485865;
    background-color: #F2F6F9;
    border: 1px solid #B6BCC1;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;

    -webkit-border-radius: 0.1875rem;
    -moz-border-radius: 0.1875rem;
    border-radius: 0.1875rem;

    background-image: url("../images/select-arrow.svg");
    background-repeat: no-repeat;
    background-position: 100% 0;
    background-origin:border-box;
}



/* ...__LIST CHECKBOXES tmp ...*/

.lg-checkbox-list span {
    display: block;
}


/* __INLINE LINK SELECT */



/* __ICON CHECKBOXES */
.lg-checkbox-icons {}
.lg-checkbox-icons input {
    opacity: 0;
    position: absolute;
}

.lg-checkbox-icons label {

/*     -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box; */

    margin: 0 !important;

    position: relative;
    display: block;
    float: left;
    background: url(../images/icons/empty.svg) no-repeat center top;
    width: 7.8125rem;
    border-right: 1px solid #B6BCC1;
    cursor: pointer;

    padding-top: 90px;
    text-align: center;
    font-size: 0.875rem;
    white-space: nowrap;
    line-height: 1.1em;
    color: #485865;
    margin-bottom: 1.25rem;

/*     opacity: 0.5;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out; */

    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.lg-checkbox-icons .lg-last {
     border: none;
}

.lg-checkbox-icons-tick {
    display: block;
    position: absolute;
    width: 100%;
    height: 3.125rem;
    top: 0;
    text-align: center;
}

.lg-checkbox-icons input:checked + label {
    opacity: 1;
}

.lg-checkbox-icons input:checked + label .lg-checkbox-icons-tick {
    background: url(../images/icons/icon-check.svg) no-repeat center top;
}

.lg-checkbox-icons .lg-first {
    /*width: 7.1875rem;*/
    /*background-position: left top;*/
    /*padding-right: 2.1875rem;*/
}

.lg-first .lg-checkbox-icons-tick {
    /*background-position: left top !important;*/
}

.lg-checkbox-icons-hover {
    opacity: 1 !important;
}




/* __GENERAL / UTILITIES
___________________________________________________________*/


.lead-gen-form .marginx1 {
    display: block;
    margin-bottom: 0.625rem;
}

.lead-gen-form .marginx2 {
    display: block;
    margin-bottom: 1.25rem;
}

.lead-gen-form .marginx3 {
    display: block;
    margin-bottom: 1.875rem;
}

.clearfix:before, .clearfix:after {
    content: " ";
    display: table;

}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}


#lg-form-submit button:focus {
    -webkit-box-sizing: border-box;
    border: 1px solid #004E9C;
    box-shadow: inset 0 0 0 3px white;
    -webkit-box-shadow: inset 0 0 0 3px white;
    -moz-box-shadow: inset 0 0 0 3px white;
}
