
/* FORMS */

form {
    position: relative;
    font-family: Outfit, Arial, sans-serif;
}

select,
textarea,
input {
    display: block;
    border: 1px solid var(--text-white);
    /*height: 48px;*/
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 17px;
    line-height: 1.7rem;
    font-weight: 400;
    margin: 0;
    padding: 0 20px 0 20px;
    width: 280px;
    /*-webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;*/
    max-width: 100%;
    color: var(--form-text);
    background-color: var(--text-white);
    font-family: Outfit, Arial, sans-serif;
}

select {
    width: 360px;
}

select,
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="text"],
input[type="password"] {
    text-indent: 15px;
    padding: 21px 0;
}

input[type="email"],
input[type="tel"],
input[type="text"],
input[type="password"],
input[type="submit"],
input[type="button"],
textarea {
    -webkit-appearance: none;
    /*-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;*/
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    opacity: 1;
    -webkit-appearance: inner-spin-button !important;
    width: 25px;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
}

textarea {
    height: 103px;
    width: 550px;
    padding-right: 0;
    line-height: 20px;
    padding: 20px;
    padding: 18px 15px 24px;
    width: calc(100% - 30px);
}

form .btn,
input[type="button"],
input[type="submit"],
.button-submit {
    width: auto;
    /*min-width:100px;*/
    margin: 0;
    padding: 22px 25px;
    height: auto;
    border: none;
    cursor: pointer;
    color: var(--button-text);
    background-color: var(--dark-red);
    -webkit-appearance: none;
    /*text-transform: uppercase;*/
    /*line-height: 50px;*/
    font-weight: 400;
    font-size: 14px;
    font-size: 1.4rem;
    letter-spacing: 0.2px;
    font-family: Outfit, Arial, sans-serif;
    background-color: var(--button-red);
    max-width: 100%;
    -webkit-border-radius: var(--radius-button);
    -moz-border-radius: var(--radius-button);
    border-radius: var(--radius-button);
}

input[type="checkbox"],
input[type="radio"] {
    height: auto;
    width: auto !important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    float: left;
    margin-top: 6px;
    margin-right: 6px;
}

input[type="radio"] {
    margin-left: 2px;
}

form .btn:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.button-submit:hover {
    background-color: var(--red) !important;
    color: var(--text-white) !important;
}
/*  newsletter button hover */
#btn-gdpr-newsletter-sign-up {
    border: 1px solid var(--dark-red) !important;
}

    #btn-gdpr-newsletter-sign-up:hover {
        color: var(--dark-red) !important;
        background-color: var(--button-text) !important;
    }

span.button-clear label,
span.button label {
    display: none;
}

span.mandatoryset,
span.mandatory {
    display: block;
    position: absolute;
    top: 0;
    right: 5px;
    line-height: 30px;
    font-size: 12px;
    font-size: 1.2rem;
    color: var(--button-red);
    display: none;
}

span.mandatoryset-text,
span.mandatory-text {
    font-size: 12px;
    font-size: 1.2rem;
    color: var(--p-main-grey);
    /*margin-top: 20px;*/
    display: block;
    clear: both;
}

form p .mandatoryset-text,
form p .mandatory-text {
    display: inline-block;
    margin-right: 5px;
}

span.pink-text {
    font-size: 12px;
    font-size: 1.2rem;
    color: var(--button-red);
    display: inline-block;
    margin-right: 5px;
}

p.form-indicator {
    margin-bottom: 0;
    display: flex;
    font-size: 12px;
    line-height: 16px;
    font-weight: 200;
    letter-spacing: 0.1px;
    align-items: center;
    align-content: center;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 4px;
}

form li.enq-message {
    padding-bottom: 0;
}
form li.process-info-cmt {
    padding-bottom: 6px;
}

.message {
    color: var(--text-white);
    background-color: var(--error-red);
    font-size: 13px;
    font-size: 1.3rem;
    padding: 25px;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
    -webkit-border-radius: var(--radius-textbox);
    -moz-border-radius: var(--radius-textbox);
    border-radius: var(--radius-textbox);
    text-align: left;
    margin: 20px auto;
}

    .message.empty {
        display: none;
    }

    .message li {
        padding: 0 0 0 22px !important;
        margin: 5px 0 0 0 !important;
        background: url("../grfx/svg/error-white.svg") no-repeat left center;
        background-size: 14px;
    }

/* Form Layout Styles */

form h3 {
    padding: 10px 0 20px 0;
    font-size: 45px;
    font-size: 4.5rem;
    line-height: 45px;
    line-height: 4.5rem;
    margin-top: 0;
    margin-bottom: 0;
    display: block;
}

form ul.group.level-1 > li > h3.heading {
    font-size: 0 !important;
    line-height: 0 !important;
    display: none;
}

form > ul > li:first-child h3 {
    padding: 20px 0;
}

form li {
    padding-bottom: 10px;
    position: relative;
    clear: both;
    text-align: left;
}

form ul.level-2:after {
    visibility: hidden;
    display: block;
    content: "";
    clear: both;
    height: 0;
}

* html form ul.level-2 {
    zoom: 1;
}
/* IE6 */
*:first-child + html form ul.level-2 {
    zoom: 1;
}
/* IE7 */

form .field-name,
form li .field-name {
    line-height: 30px;
    /*text-transform: uppercase;*/
    font-size: 14px;
    font-size: 1.4rem;
    font-weight: 500;
    clear: both;
    display: block;
    text-align: left;
    letter-spacing: 0;
}


/* Specific Form Styling */
#int-reset-pwd-wrapper,
#reset-password-form-wrapper,
#int-forgot-pwd-form-wrapper,
#forgotpass-form-wrapper,
#intranet-prf-img-wrapper,
#profile-image-upl-wrapper,
#intranet-login-form-wrapper,
#extranet-login-form-wrapper,
#int-chg-password-form-wrapper,
#change-password-form-wrapper,
#int-profile-form-wrapper,
#my-profile-form-wrapper,
#newsletter-subs-form-wrapper,
#newsletter-unsubs-form-wrapper,
#online-enq-form-wrapper {
    position: relative;
    padding-top: 20px;
}

#newsletter-subs-form-wrapper,
#online-enq-form-wrapper {
    padding-top: 120px;
    padding-bottom: 120px;
}

    #newsletter-subs-form-wrapper > form,
    #online-enq-form-wrapper > form {
        max-width: 965px;
        margin: auto;
        padding: 0 30px;
    }

    /* Line for H3 */

    #newsletter-subs-form-wrapper h3,
    #newsletter-unsubs-form-wrapper h3,
    #online-enq-form-wrapper h3 {
        /*border-top: 1px solid var(--footer-bg-grey);*/
        padding: 0;
        /*margin: 0 0 40px 0;*/
    }
    /*#forgotpass-form-wrapper form > h3.heading,
    #extranet-login-form-wrapper form > h3.heading,
    #stockist-signup-form-wrapper form > h3.heading,*/
    #newsletter-subs-form-wrapper form > h3.heading,
    #online-enq-form-wrapper form > h3.heading {
        /*font-size: 55px !important;
        font-size: 5.5rem !important;
        line-height: 70px !important;
        line-height: 7.0rem !important;*/
        border: none !important;
        margin-bottom: 13px;
        text-align: center;
    }
    /*#forgotpass-form-wrapper .summary,
    #extranet-login-form-wrapper .summary,
    #stockist-signup-form-wrapper .summary,*/
    #newsletter-subs-form-wrapper .summary,
    #online-enq-form-wrapper .summary {
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
        font-weight: 200;
        margin-bottom: 42px;
        text-align: center;
        color: var(--text-white);
    }

    /*#forgotpass-form-wrapper form > ul,
    #forgotpass-form-wrapper form span.button,
    #extranet-login-form-wrapper form > ul,
    #extranet-login-form-wrapper form span.button {
        max-width: 285px;
        margin: auto;
        display: block;
    }

#forgotpass-form-wrapper form > .message,
#extranet-login-form-wrapper form > .message {
    max-width: 285px;
    margin: 0 auto 50px;
}*/


    /*#stockist-signup-form-wrapper form li select,
#stockist-signup-form-wrapper form li input,
#stockist-signup-form-wrapper input[type="submit"],*/
    #newsletter-subs-form-wrapper select,
    #newsletter-subs-form-wrapper li input,
    #newsletter-subs-form-wrapper input[type="submit"],
    #newsletter-unsubs-form-wrapper select,
    #newsletter-unsubs-form-wrapper li input,
    #newsletter-unsubs-form-wrapper input[type="submit"],
    #online-enq-form-wrapper form li select,
    #online-enq-form-wrapper form li input,
    #online-enq-form-wrapper input[type="submit"] {
        width: 100%;
    }

    /*#stockist-signup-form-wrapper input[type="submit"],*/
    /*#intranet-login-form-wrapper input[type="submit"],*/
    #int-chg-password-form-wrapper input[type="submit"],
    #change-password-form-wrapper input[type="submit"],
    #int-profile-form-wrapper input[type="submit"],
    #my-profile-form-wrapper input[type="submit"],
    #newsletter-subs-form-wrapper input[type="submit"],
    #newsletter-unsubs-form-wrapper input[type="submit"],
    #online-enq-form-wrapper input[type="submit"] {
        float: none;
        margin-left: 0;
        max-width: 160px;
        margin: 0 auto;
    }
/*
.form-group select.form-control,
.form-group input.form-control,*/
#int-reset-pwd-wrapper input[type="text"],
#int-reset-pwd-wrapper input[type="password"],
#reset-password-form-wrapper input[type="text"],
#reset-password-form-wrapper input[type="password"],
#int-forgot-pwd-form-wrapper input[type="text"],
#int-forgot-pwd-form-wrapper input[type="password"],
#forgotpass-form-wrapper input[type="text"],
#forgotpass-form-wrapper input[type="password"],
#extranet-login-form-wrapper input[type="text"],
#extranet-login-form-wrapper input[type="password"],
#intranet-login-form-wrapper input[type="text"],
#intranet-login-form-wrapper input[type="password"],
#int-chg-password-form-wrapper input[type="text"],
#int-chg-password-form-wrapper input[type="password"],
#int-chg-password-form-wrapper input[type="phone"],
#change-password-form-wrapper input[type="text"],
#change-password-form-wrapper input[type="password"],
#change-password-form-wrapper input[type="phone"],
#int-profile-form-wrapper input[type="text"],
#int-profile-form-wrapper input[type="password"],
#int-profile-form-wrapper input[type="phone"],
#my-profile-form-wrapper input[type="text"],
#my-profile-form-wrapper input[type="password"],
#my-profile-form-wrapper input[type="phone"] {
    background-color: var(--light-grey);
    -webkit-border-radius: var(--radius-textbox);
    -moz-border-radius: var(--radius-textbox);
    border-radius: var(--radius-textbox);
}
/* #newsletter-subs-form-wrapper input:focus,
    #newsletter-unsubs-form-wrapper input:focus,
    #online-enq-form-wrapper input:focus,
    #online-enq-form-wrapper textarea:focus,
    #intranet-login-window-form-wrapper input:focus,*/
#iris-login-form-wrapper input:focus,
.form-group select.form-control:focus,
.form-group input.form-control:focus,
#intranet-login-form-wrapper input:focus,
#int-chg-password-form-wrapper input:focus,
#change-password-form-wrapper input:focus,
#int-profile-form-wrapper input:focus,
#my-profile-form-wrapper input:focus,
#intranet-login-form-wrapper input:focus,
#extranet-login-form-wrapper input:focus,
#forgotpass-form-wrapper input:focus,
#int-forgot-pwd-form-wrapper input:focus,
#reset-password-form-wrapper input:focus,
#int-reset-pwd-wrapper input:focus {
    border-color: var(--red) !important;
}


/* Terms */

/*h3#grp-communication {
	padding-top:40px;
	margin-bottom:20px;
	font-family:'Lato', Arial, Outfit, Arial !important;
	font-size: 14px !important; font-size: 1.4rem !important;
	line-height: 24px !important; line-height: 2.4rem !important;
	font-weight:normal !important;
	letter-spacing:1px !important;
}*/

/*.communication input {
	float:left;
	width:auto !important;
	margin-top:8px;
	margin-right:8px;
}

.communication .field-name {
	text-transform:none;
	font-size: 12px; font-size: 1.2rem;
    font-style: italic;
    color: var(--p-main);
	clear: none;
    display: inline;
}*/

/* Check Lists */

form .contact-loc,
.interested-details {
    display: block;
    clear: both;
    padding-bottom: 10px;
    overflow: hidden;
    background-color: var(--light-grey);
    padding-top: 17px;
    padding-left: 15px;
    padding-bottom: 21px;
    margin-bottom: 10px;
    -webkit-border-radius: var(--radius-textbox);
    -moz-border-radius: var(--radius-textbox);
    border-radius: var(--radius-textbox);
}

    .contact-loc .field-name
    .interested-details .field-name {
        width: 100%;
        padding-right: 0;
        font-weight: 500;
    }

    .contact-loc li ul,
    .interested-details li ul {
        display: block;
        clear: both;
    }

    .contact-loc li,
    .interested-details li {
        /*float: left;*/
        /*width: 33.3%;*/
        /*margin-right: 25px;*/
        font-size: 12px;
        font-size: 1.2rem;
        padding-bottom: 0;
        clear: none;
    }
        .interested-details li:last-child {
            grid-column-start: span 2;
        }

#page-CONTACT-US .interested-details li:last-child {
    grid-column-start: span 1;
}

.interested-details .checkbox-options {
    display: grid;
    -ms-grid-columns: 1.5fr 1fr 2fr;
    grid-template-columns: 1.5fr 1fr 2fr;
    grid-auto-columns: auto auto;
    grid-template-rows: auto auto;
    grid-column-gap: 10px;
    grid-row-gap: 5px;
    margin-right: 15px;
}
.contact-loc .level-3 {
    justify-content: flex-start;
    display: flex;
    flex-direction: row;
    column-gap: 50px;
    align-content: flex-start;
    align-items: flex-start;
}
.contact-loc li {
    width:auto;
}
/*  check list header label */
/* interested in */
h3#grp-contact-loc,
h3#grp-interested-details {
    display: block !important;
    position: relative;
    /*color: var(--p-main-grey);*/
    color: var(--form-text);
    font-family: Outfit, Arial, sans-serif;
    font-weight: 400;
    font-size: 17px !important;
    line-height: 20px !important;
    margin-bottom: 11px;
    top: 0;
    left: 0;
}


.message.nodata {
    display: none;
}


/*  checkbox  */

input[type="checkbox"] {
    display: none;
}

    input[type="checkbox"] + label {
        display: block;
        position: relative;
        padding-left: 27px;
        /*margin-bottom: 20px;*/
        font-size: 16px;
        line-height: 28px;
        font-weight: 300;
        color: var(--form-text);
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
        /*li.communication ul.level-2 input[type="checkbox"]:before,*/
        input[type="checkbox"] + label:before {
            content: '';
            display: block;
            background: url(../grfx/svg/un-checked.svg) center left no-repeat;
            background-size: 16px;
            width: 16px;
            height: 16px;
            position: absolute;
            left: 0;
            top: 5px;
            opacity: 1;
        }

    /*li.communication ul.level-2 input[type="checkbox"]:checked:before,*/
    input[type="checkbox"]:checked + label:before {
        background: url(../grfx/svg/checked.svg) center left no-repeat;
        background-size: 22.5px;
        position: absolute;
        width: 23px;
        height: 23px;
        top: 0.5px;
        border: 0;
    }


/*  radio button */
input[type="radio"] {
    display: none;
}

    input[type="radio"] + label {
        display: block;
        position: relative;
        padding-left: 24px;
        /*margin-bottom: 20px;*/
        font-size: 16px;
        line-height: 28px;
        font-weight: 300;
        letter-spacing: 0.2px;
        color: var(--p-main-grey);
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

        input[type="radio"] + label:before {
            content: '';
            display: block;
            background: url(../grfx/svg/radio-empty.svg) center left no-repeat;
            background-size: 16px;
            width: 16px;
            height: 16px;
            position: absolute;
            left: 0;
            top: 6px;
            opacity: 1;
        }

    input[type="radio"]:checked + label:before {
        background: url(../grfx/svg/radio-select.svg) center left no-repeat;
        background-size: 16px;
        position: absolute;
        width: 16px;
        height: 16px;
        border: 0;
    }


/* form script styling */

form input[type="email"],
form input[type="tel"] {
    width: 100%;
    display: block;
}

form textarea.focused_input,
form textarea.has_input,
form input.focused_input,
form input.has_input {
    padding-top: 31px !important;
    padding-bottom: 11px !important;
}

form input::placeholder,
form textarea::placeholder {
    font-size: 16px !IMPORTANT;
    color: var(--form-text);
    font-weight: 400;
}

form input.focused_input::placeholder,
form textarea.focused_input::placeholder {
    color: var(--text-white) !important;
    opacity: 1;
}

form input.focused_input:-ms-input-placeholder,
form textarea.focused_input:-ms-input-placeholder {
    color: var(--text-white) !important;
}

/*  floating label*/
form .field-name label,
form li .field-name label {
    position: absolute;
    top: 0px;
    z-index: 99;
    font-size: 15px !important;
    line-height: 37px;
    left: 16px;
    color: var(--form-label);
    font-weight: 400 !important;
    display: none;
}



/* lightbox privacy   */
.lightbox_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 100000000001;
    display: none;
}

    .lightbox_overlay iframe {
        height: 90vh;
        width: 90vw;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -45vw;
        margin-top: -45vh;
        z-index: 999999;
        background-color: #fff;
        border: none;
        box-shadow: 0 0 20px #000;
    }

img.close-policy {
    position: absolute;
    top: calc(50% - 45vh + 20px);
    left: calc(50% + 45vw - 45px);
    cursor: pointer;
    z-index: 1000000;
    mix-blend-mode: difference;
}

/* disclaimer */
form p.p-disclaimer {
    font-size: 12px;
    line-height: 20px;
    font-weight: 200;
    letter-spacing: 0.1px;
    text-align: center;
    max-width: 615px;
    margin-bottom: 0;
}

    form p.p-disclaimer a {
        font-size: 12px;
        line-height: 16px;
        font-weight: 200;
        letter-spacing: 0.1px;
        text-decoration: underline;
        color: var(--text-white);
    }

li.communication ul.level-2 {
    display: grid;
    /*-ms-grid-columns: 25px 1fr;
    grid-template-columns: 30px 1fr;
    -ms-grid-rows: auto;
    grid-template-rows: auto;*/
    justify-content: center;
    align-items: start;
    justify-items: center;
}

    li.communication ul.level-2 input[type="checkbox"] {
        display: block;
        width: 1px !important;
    }


/*  online-enquiry form */


/* Online Enquiry  */

#online-enq-form-wrapper {
    background-color: var(--dark-red);
    /*color: var(--text-white);*/
}

    #online-enq-form-wrapper input[type="submit"] {
        background-color: var(--button-red);
        max-width: 100%;
        -webkit-border-radius: var(--radius-button);
        -moz-border-radius: var(--radius-button);
        border-radius: var(--radius-button);
    }

    #online-enq-form-wrapper form > h3,
    #online-enq-form-wrapper .p-disclaimer,
    #online-enq-form-wrapper span.mandatoryset-text,
    #online-enq-form-wrapper span.mandatory-text {
        color: var(--text-white);
    }

form li.contact-details {
    padding-bottom: 0;
}

form li.contact-name,
form li.contact-tel,
form li.contact-email,
form li.contact-mobile,
form li.business-number,
form li.business-no {
    float: left;
    width: calc(50% - 5px);
    margin-right: 5px;
    clear: none;
}

form li.business-number,
form li.business-no,
form li.contact-email {
    margin-left: 5px;
    margin-right: 0;
}

#online-enq-form-wrapper textarea,
#online-enq-form-wrapper input[type=text],
#online-enq-form-wrapper input[type=email],
#online-enq-form-wrapper input[type=tel] {
    background-color: var(--light-grey);
    border-color: var(--light-grey);
    -webkit-border-radius: var(--radius-textbox);
    -moz-border-radius: var(--radius-textbox);
    border-radius: var(--radius-textbox);
}


/*#online-enq-form-wrapper input[type=text],
#online-enq-form-wrapper input[type=email],
#online-enq-form-wrapper input[type=tel] {
    padding: 21px 0;
}
#online-enq-form-wrapper form input.focused_input,
#online-enq-form-wrapper form input.has_input {
    padding-top: 29px !important;
    padding-bottom: 13px !important;
}*/

#int-reset-pwd-wrapper form input.focused_input::placeholder,
#reset-password-form-wrapper form input.focused_input::placeholder,
#int-forgot-pwd-form-wrapper form input.focused_input::placeholder,
#forgotpass-form-wrapper form input.focused_input::placeholder,
#extranet-login-form-wrapper form input.focused_input::placeholder,
#intranet-login-form-wrapper form input.focused_input::placeholder,
#int-chg-password-form-wrapper form input.focused_input::placeholder,
#int-chg-password-form-wrapper form textarea.focused_input::placeholder,
#change-password-form-wrapper form input.focused_input::placeholder,
#change-password-form-wrapper form textarea.focused_input::placeholder,
#int-profile-form-wrapper form input.focused_input::placeholder,
#int-profile-form-wrapper form textarea.focused_input::placeholder,
#my-profile-form-wrapper form input.focused_input::placeholder,
#my-profile-form-wrapper form textarea.focused_input::placeholder,
#online-enq-form-wrapper form input.focused_input::placeholder,
#online-enq-form-wrapper form textarea.focused_input::placeholder {
    color: var(--light-grey) !important;
}


/*#online-enq-form-wrapper form input.focused_input::-ms-input-placeholder,
#online-enq-form-wrapper form textarea.focused_input::-ms-input-placeholder,*/
#int-reset-pwd-wrapper form input.focused_input:-ms-input-placeholder,
#reset-password-form-wrapper form input.focused_input:-ms-input-placeholder,
#int-forgot-pwd-form-wrapper form input.focused_input:-ms-input-placeholder,
#forgotpass-form-wrapper form input.focused_input:-ms-input-placeholder,
#extranet-login-form-wrapper form input.focused_input:-ms-input-placeholder,
#intranet-login-form-wrapper form input.focused_input:-ms-input-placeholder,
#int-chg-password-form-wrapper form input.focused_input:-ms-input-placeholder,
#int-chg-password-form-wrapper form textarea.focused_input:-ms-input-placeholder,
#change-password-form-wrapper form input.focused_input:-ms-input-placeholder,
#change-password-form-wrapper form textarea.focused_input:-ms-input-placeholder,
#int-profile-form-wrapper form input.focused_input:-ms-input-placeholder,
#int-profile-form-wrapper form textarea.focused_input:-ms-input-placeholder,
#my-profile-form-wrapper form input.focused_input:-ms-input-placeholder,
#my-profile-form-wrapper form textarea.focused_input:-ms-input-placeholder,
#online-enq-form-wrapper form input.focused_input:-ms-input-placeholder,
#online-enq-form-wrapper form textarea.focused_input:-ms-input-placeholder {
    color: var(--light-grey) !important;
}




/*  from within dynamic content  */
.form.form-horizontal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 30px;
}

#page-STARTUP p.calculator-disclaimer,
div#errorMessage,
.form-group-wrap.form-actions {
    grid-column-start: span 2;
}

#page-CALC_INHERITANCE_TAX .form.form-horizontal {
    grid-template-columns: 1fr;
}

#page-CALC_INHERITANCE_TAX div#errorMessage,
#page-CALC_INHERITANCE_TAX .form-group-wrap.form-actions {
    grid-column-start: span 1;
}

.form-group {
    /*margin-bottom: 15px;*/
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: flex-start;
    column-gap: 10px;
    flex-direction: column;
    position: relative;
    text-align: left;
}
    /*  .form-group.row {
        display: flex;
        align-content: flex-start;
        justify-content: flex-start;
        column-gap: 10px;
        flex-direction: column;
        position: relative;
        align-items: flex-start;
    }*/

    .form-group label.control-label {
        display: inline-block !important;
        position: relative;
        /*color: var(--red);*/
        font-family: Outfit, Arial, sans-serif;
        font-weight: 400;
        font-size: 17px !important;
        line-height: 20px !important;
        margin-bottom: 10px;
        width: auto;
    }

    /*.form-group.row label.control-label {
        margin-bottom: 0px;
    }*/

    .form-group select,
    .form-group textarea,
    .form-group input {
        border-color: var(--textbox-border-grey);
        min-width: 100%;
        min-height: 30px;
        -webkit-border-radius: 12px;
        -moz-border-radius: 12px;
        border-radius: 12px;
    }

        .form-group input[type="number"] {
            display: inline-block;
            width: 100px;
        }

        .form-group input[type="number"],
        .form-group select {
            padding: 10px 0;
        }


    /*.form-group input::-webkit-outer-spin-button,
        .form-group input::-webkit-inner-spin-button {
            -webkit-appearance: none !important;
            margin: 0 !important;
        }

        .form-group input[type=number] {
            -moz-appearance: textfield!important;
        }*/

    .form-actions .calculator-disclaimer,
    .form-group .help-block,
    .form-group .help-inline {
        display: inline-block !important;
        position: relative;
        font-family: Outfit, Arial, sans-serif;
        font-size: 13px !important;
        font-size: 1.3rem !important;
        line-height: 18px !important;
        line-height: 1.8rem !important;
        font-weight: 300;
        letter-spacing: 0.2px;
        margin-bottom: 0;
        padding-left: 15px;
        padding-right: 15px;
    }

    .form-group .help-block {
        display: block !important;
    }

    .form-group label.error {
        color: var(--error-red);
    }

        .form-group label.error.valid {
            display: none !important;
        }

.form-actions {
    display: grid;
    margin-top: 15px;
}

    .form-actions .calculator-disclaimer {
        margin-top: 10px;
        grid-row-start: 1;
    }

.form-group select {
    width: 100%;
    min-width: 100%;
    padding: 14px 0px;
}

    .form-group select option {
        padding: 10px 0;
    }

    .form-group select#region {
        width: 180px;
    }

.form-group > div {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    align-content: flex-start;
    column-gap: 10px;
    justify-content: flex-start;
    row-gap: 10px;
    width: 100%;
    position: relative;
}

.form-group.has-error > div {
    flex-wrap: wrap;
}

/* dynamic content checkbox */
.form-group input[type="checkbox"] {
    display: block;
}

.form-group .checkbox {
    display: block;
    position: absolute;
    top: -3px;
}

/*  fuel cost */
input#chkSecondHome,
input#chkFirstTimeBuyer,
input#chkStudentLoan,
input#privatefuel {
    margin: -28px 0 0 0;
    text-align: left;
    position: absolute;
    min-height: 20px;
    min-width: 20px;
    left: 104px;
    top: 0;
}

#page-COMPANY-CAR-AND-FUEL-BENEFIT-IN-KIND input#privatefuel {
    left: 100px;
}

#page-FUEL-COST input#privatefuel {
    left: 159px;
}

/*  student loan */
input#chkStudentLoan {
    left: 124px;
}

/*  stamp duty - first and 2nd time buyer */
input#chkSecondHome {
    left: 192px;
}

input#chkFirstTimeBuyer {
    left: 135px;
}

/*  CIS tax deductions */
select#subcontractorstatus {
    padding: 0;
    overflow: hidden;
}

/*  calculate button */
form .btn {
    width: 100%;
    margin-top: 10px;
}

#pbCalculate {
    margin-top: 10px;
    width: 100%;
}

#pbcancel,
#pbCancel {
    background-color: var(--p-main);
    width: 100%;
}

    #pbcancel:hover,
    #pbCancel:hover {
        background-color: var(--p-main) !important;
        opacity: 0.8;
    }


/*  Inheritance tax  */
.form-assets,
.form-liabilities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 30px;
}

    .form-assets > h2,
    .form-liabilities > h2 {
        margin-top: 15px;
        grid-column-start: span 2;
        margin-bottom: -10px;
    }

.form-liabilities {
    grid-template-columns: 1fr 1fr 1fr;
}

    .form-liabilities > h2 {
        grid-column-start: span 3;
    }


/*  form page title */

form > resourcecontent > h1 {
    font-weight: 400;
    font-size: 40px;
    font-size: 4.0rem;
    line-height: 50px;
    line-height: 5.0rem;
    margin-bottom: 20px;
}


/*  fuel cost */
div#fuel-cost-calc-part2 {
    grid-column-start: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 30px;
}

/*  intranet profile */

#my-profile-form-wrapper ul.sub-group.level-2,
#int-profile-form-wrapper ul.sub-group.level-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
}

#my-profile-form-wrapper .level-1 > li:first-child {
    padding-bottom: 0 !important;
}

/* intranet change password */
#change-password-form-wrapper,
#int-chg-password-form-wrapper {
    max-width: 780px;
}


/*  forgotten password */

#int-reset-pwd-wrapper,
#reset-password-form-wrapper,
#int-forgot-pwd-form-wrapper,
#forgotpass-form-wrapper {
    max-width: 280px;
    margin: 0 auto;
}

    #int-reset-pwd-wrapper #btn-int-reset-pwd-reset-password,
    #reset-password-form-wrapper #btn-reset-password-form-reset-password,
    #int-forgot-pwd-form-wrapper #btn-int-forgot-pwd-form-submit,
    #forgotpass-form-wrapper #btn-forgotpass-form-submit {
        min-width: 100%;
    }


    #int-reset-pwd-wrapper .message,
    #reset-password-form-wrapper .message,
    #int-forgot-pwd-form-wrapper .message,
    #forgotpass-form-wrapper .message {
        margin-top: 0;
    }

/*   about portal / login */
#intranet-login-window-summary-wrapper a.extranet-login-footer,
#intranet-login-window-summary-wrapper a.intranet-login-footer {
    color: var(--text-white);
    font-weight: 300;
    border-top: 1px solid #82425e;
    width: calc(100% - 30px);
    display: block;
    margin-top: 35px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 30px;
    background: url(../grfx/svg/right-arrow-pink.svg) no-repeat right center;
    background-image: url(../grfx/svg/right-arrow-pink.svg), none;
    background-size: 20px;
}
