﻿@font-face {
    font-family: 'Aeonik';
    src: url('Aeonik-Regular.woff2') format('woff2'), url('Aeonik-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aeonik Bold';
    src: url('Aeonik-Bold.woff2') format('woff2'), url('Aeonik-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aeonik Mono';
    src: url('AeonikMono-Regular.woff2') format('woff2'), url('AeonikMono-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FK Display Alt';
    src: url('FKDisplay-RegularAlt.woff2') format('woff2'), url('FKDisplay-RegularAlt.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-display: 'FK Display Alt', serif;
    --font-body: 'Aeonik', Arial, sans-serif;
    --font-mono: 'Aeonik Mono', Consolas, monospace;
    --color-text: #000;
    --color-heading: #000000;
    --color-label: #000;
    --color-brand-primary: #000000;
    --color-button-text: #FFFFFF;
    --color-brand-blue: #0E61FE;
    --color-blue-neutral: #E3EDFF;
    --color-breadcrumb-background: #F5F8FD;
    --color-background-grey: #F9F9F9;
    --color-error-red: #E62B1E;
    --color-black-hover: #2A2E30;
    --color-line-grey: #E6E6E6;
    --color-medium-grey: #676C6F;
    --savings-green: #16B85C;
    --savings-green-tint: #EAF6EE;
    --fs-h1: 48px;
    --fs-h2: 30px;
    --fs-body: 16px;
    --fs-list: 14px;
    --fs-label: 12px;
    --fs-button: 16px;
    --lh-h1: 110%;
    --lh-default: 120%;
    --ls-h1: -0.01em;
    --ls-default: 0;
}
@supports (-ms-ime-align:auto) {
    .selector {
        property: value;
    }
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

_:-ms-lang(x), _:-webkit-full-screen, .selector {
    property: value;
}

body {
    background-color: white;
    text-align: center;
    border: none;
    position: relative;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-default);
    letter-spacing: var(--ls-default);
    font-weight: 400;
    color: var(--color-text);
}

h1, h2, h3, h4, h5 {
    color: #000;
}

.recommended {
    display: none;
}

h1 {
    font-family: var(--font-display);
    font-size: var(--fs-h1);
    line-height: var(--lh-h1);
    letter-spacing: var(--ls-h1);
    font-weight: 400;
    color: var(--color-heading);
    margin: 0;
}

h2 {
    margin: 0;
    line-height: var(--lh-default);
    font-size: var(--fs-h2);
    font-weight: 400;
    font-family: var(--font-body);

}
h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-default);
    letter-spacing: var(--ls-default);
    font-weight: 400;
    color: var(--color-heading);
}

p, div, span, td, li, a {
    font-family: var(--font-body);
    letter-spacing: var(--ls-default);
}

#Start_Next_Button {
    margin: 0 auto;
}
/*Numbers inside main tabs*/
.main_tab_numbers {
    width: 36px;
    height: 20px;
    display: inline-block;
    border: 2px solid;
    border-radius: 50%;
    padding-top: 5px;
    padding-bottom: 12px;
}
/*Letter i inside help button*/
#need_help_i {
    width: 20px;
    height: 2px;
    display: inline-block;
    border: 2px solid;
    border-radius: 50%;
    position: center;
    padding-top: 0px;
    padding-bottom: 20px;
    margin-right: 5px;
}
/*Removes the outline for all the html elements*/
*:focus {
    outline: none;
}
/*Keyboard focus ring (mouse clicks don't trigger :focus-visible on these)*/
button:focus-visible, a:focus-visible, select:focus-visible,
input[type="radio"]:focus-visible, input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--color-brand-blue);
    outline-offset: 2px;
}

.yellow {
    background-color: rgba(248,231,28,0.20) !important;
    border-color: red !important;
}

.asterisk::after {
    content: "*";
    color: red;
    display: inline-block;
}

.reqd {
    display: none;
    color: red;
}

.validphone, .validemail {
    display: none;
    margin-left: 6px;
    font-size: 12px;
    color: var(--color-error-red);
}

.validseries {
    display: none;
    color: red;
}

.contactheader {
}

.company_title_wrapper {
    width: 95%
}
/*Controls all the input fields*/
.user_input {
    border: none;
    border: 1px solid #CCCBCD;
    margin-bottom: 20px;
}

    .user_input:focus {
        border-bottom: 1px solid #CCCBCD;
        box-shadow: 3px 4px 8px rgba(0,0,0,.2);
    }

#dlg_warning_message {
    text-align: left;
}
/*This container has everything under the tab company */
#tab_company {
    background-color: white;
    border: none;
}
/*Controls for Error dialog box*/
.ui-dialog .ui-dialog-buttonpane button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 60px;
    height: 40px;
    padding: 0;
    background: #000000;
    border: 1px solid #000000;
    color: #ffffff;
    cursor: pointer;
}

    .ui-dialog .ui-dialog-buttonpane button:hover {
        background: #ffffff;
        color: #000000;
    }

    .ui-dialog .ui-dialog-buttonpane button .ui-button-text {
        padding: 0;
        font-family: var(--font-body);
        font-size: 20px;
        line-height: 1;
        color: inherit; /* follows the button: white normally, black on hover */
    }

.ui-dialog-title {
    font-family: var(--font-body);
    letter-spacing: 1px;
    font-size: 24px;
    color: white;
}

.ui-dialog-content {
    width: auto;
    font-family: var(--font-body);
    float: left;
    font-size: 20px;
    color: #000;
}

.ui-dialog {
    top: 2000px
}
/* Error dialog (#dlg_error). Scoped so the other dialogs are untouched */
.ui-dialog.dlg-error { width: calc(100% - 32px) !important; max-width: 440px; height: auto; max-height: none; transform: none; border: 1px solid var(--color-line-grey); border-radius: 10px; box-shadow: none; }
    .ui-dialog.dlg-error .ui-dialog-titlebar { padding: 20px 20px 12px; background: #fff; border-bottom: 1px solid var(--color-line-grey); }
    .ui-dialog.dlg-error .ui-dialog-titlebar-close { display: none; }
    .ui-dialog.dlg-error .ui-dialog-title { color: #000; font-size: 20px; font-weight: 400; line-height: 1.2; letter-spacing: -0.2px; }
    .ui-dialog.dlg-error .ui-dialog-content { float: none; width: auto; max-width: none; padding: 16px 20px; font-size: 16px; line-height: 1.2; letter-spacing: 0.8px; text-align: left; }
#dlg_error_message { margin: 0; }
#dlg_error_tips { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--color-line-grey); }
    .dlg-error-tips-title { margin: 0 0 4px; color: var(--color-medium-grey); font-size: 14px; letter-spacing: 0.6px; }
    #dlg_error_tips ul { margin: 0; padding: 0; list-style: none; }
    #dlg_error_tips li { padding: 8px 0; border-bottom: 1px solid var(--color-line-grey); font-size: 14px; }
    .dlg-error-help { margin: 16px 0 0; color: var(--color-medium-grey); font-size: 14px; }
.ui-dialog.dlg-error .ui-dialog-buttonpane { padding: 8px 20px 20px; border: 0; }
    .ui-dialog.dlg-error .ui-dialog-buttonpane button { width: auto; min-width: 120px; height: 48px; margin: 0 !important; padding: 12px 20px; background: var(--color-brand-blue); border: 1px solid transparent; border-radius: 4px; color: #fff; transition: background-color .2s ease, border-color .2s ease; }
    .ui-dialog.dlg-error .ui-dialog-buttonpane button:hover { background: #000; color: #fff; }
    .ui-dialog.dlg-error .ui-dialog-buttonpane button:focus-visible { outline: 2px solid var(--color-brand-blue); outline-offset: 2px; }
    .ui-dialog.dlg-error .ui-dialog-buttonpane button .ui-button-text { font-size: 16px; letter-spacing: 0.16px; }
@media screen and (max-width: 480px) {
    .ui-dialog.dlg-error { height: auto; border-radius: 10px; }
    .ui-dialog.dlg-error .ui-dialog-buttonpane button { width: 100%; }
}
/*Font contorls for user input*/
.tab_content .user_input {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    color: black;
    line-height: 20px;
    opacity: 0.99;
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 10px;
}

.special-request-container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*Font contorls for labels*/
label {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: var(--lh-default);
    letter-spacing: var(--ls-default);
    font-weight: 400;
    color: var(--color-label);
    display: block;
}

.table_services, #review, #pay {
    width: 83.3%;
    display: block;
    margin: 0 auto;
}

.form_Options {
    font-family: var(--font-body);
    font-size: var(--font-body);
    color: #000;
    line-height: 30px;
    font-weight: 100;
}
/*This container holds everything*/
#main_tabs {
    display: none;
    border: none;
    background-color: white;
}
/*This is for the bottom border under main tabs*/
.bottom-border-contact, .bottom-border-opt, .bottom-border-pay {
    border-bottom: 5px solid gray;
    border-radius: 10px;
    float: left;
    width: 319px;
}

.bottom-border-opt {
    margin-left: 10px
}

/*Incnow logo*/
#logo {
    background: white url('../images/incnow_rgb.svg') 50% 50% repeat-x;
    display: block;
    width: 164px;
    height: 87px;
    float: none;
    padding: 10px;
    background-size: contain;
    background-repeat: no-repeat;
}
/*Covers the whole view*/

/*This is the container inside body*/
#page {
    text-align: left;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    height: 100%;
    background-color: white;
    padding: 20px;
    border: none;
    box-sizing: border-box;
}


/*This is a container inside page*/
#header {
    height: auto;
    min-height: 100px;
    background-color: White;
    border: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px 10px 10px;
}
/*This is a container inside page*/
#footer {
    color: #000;
    background-color: White;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 200;
    font-size: 14px;
    border: none;
}

    #footer a {
        color: #000;
        font-weight: 500;
        text-decoration: none;
    }

        #footer a:hover {
            color: #0E61FE;
        }

/*This is the main form container*/
#content {
    border-top: 1px solid #0e61fe;
    padding-top: 10px;
    width: 100%;
}

#main_loading {
    height: 44px;
}

#form {
    padding: 0 20px;
    min-height: 500px;
    border: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    border: none;
}


/*Inside a tab affects the accordion*/
.tab_content {
    float: none;
    width: 100%;
    background-color: white;
    border: none;
    padding: 0 20px;
    box-sizing: border-box;
}
/*Affects mainly */
.under_options_headings {
    margin-bottom: 5px;
    color: #000;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 24px;
    padding-left: 0;
    border-bottom: solid 1.5px #CCCBCD;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
/*This container has instructions for a given part*/
.tab_sidebar {
    vertical-align: top;
    width: 100%;
    float: none;
    padding: 0 20px;
    margin: 0px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    color: #000;
    line-height: 24px;
    box-sizing: border-box;
}
/*This container has buttons in it like 'Start Over'/'Back' and 'Next'*/
.tab_nav {
    margin-top: 40px;
    float: none;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
/*Buttons...*/
/*Moving text inside buttons*/
.btn_option_item_add {
    margin-left: 125px;
    margin-top: 20px;
}

.btn_back {
    float: left;
}

.ui-button span {
    padding: 0px;
}

.btn_company_title_add {
    top: 5px;
}

.btn_next {
    padding-right: 10px;
}

.btn_next, .btn_submit, .btn_company_title_add, .btn_submit {
    float: none;
    width: 100%;
    max-width: 220px;
}
/*Controls for button*/
.btn_back.ui-state-default {
    border: 3px solid #000;
    background-color: #FFFFFF;
    color: #000;
    width: 100%;
    max-width: 220px;
    height: 44px;
}
/*User-interaction for button*/
.btn_back.ui-button.ui-state-focus, .btn_back.ui-button.ui-state-hover {
    color: #FFFFFF;
    background-color: #000;
    border-color: #000;
}
/*Small lift on hover: Back and Submit only*/
.btn_back, .btn_submit, .btn_next {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .btn_back:not(.ui-state-disabled):hover, .btn_submit:not(.ui-state-disabled):hover, .btn_next:not(.ui-state-disabled):hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
/*Controls for buttons*/
.btn_next.ui-state-default,.btn_submit.ui-state-default, .btn_company_title_add.ui-state-default, .btn_option_item_add.ui-state-default {
    border: none;
    background-color: #0E61FE;
    color: #FFFFFF;
    height: 44px;
}
/*User-interaction for buttons*/
.btn_next.ui-state-hover, .btn_submit.ui-state-hover, .btn_company_title_add.ui-state-hover, .btn_option_item_add.ui-state-hover {
    background-color: #000;
}
/*Tertiary button: white with a grey hairline (Back, Sign in, low-stakes exits)*/
.btn-tertiary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 168px;
    height: 48px;
    padding: 0 24px;
    background: #FFFFFF;
    border: 1px solid var(--color-line-grey);
    border-radius: 4px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--fs-button);
    line-height: 1.2;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

    .btn-tertiary:hover, .btn-tertiary:active {
        background: var(--color-background-grey);
        border-color: #000;
    }

    .btn-tertiary:focus-visible {
        outline: 2px solid var(--color-brand-blue);
        outline-offset: 2px;
    }

    .btn-tertiary:disabled, .btn-tertiary.is-disabled {
        background: var(--color-line-grey);
        border-color: var(--color-line-grey);
        color: var(--color-medium-grey);
        cursor: not-allowed;
    }
/*More Info: small inline Tertiary (guide 5.1). JS sets inline padding-left:10px, which matches the 10px side padding here*/
#tab_options button.More-Info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 28px;
    margin: 0 0 0 12px;
    padding: 0 10px;
    background: #FFFFFF;
    border: 1px solid var(--color-line-grey);
    border-radius: 4px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    box-shadow: none;
    transition: background-color .2s ease, border-color .2s ease;
}

    #tab_options button.More-Info:hover, #tab_options button.More-Info:active {
        background: var(--color-background-grey);
        border-color: #000;
    }

/*Primary (blue, one per screen) and Secondary (black) buttons, same metrics as Tertiary*/
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: var(--fs-button);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.16px;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

.btn-primary {
    background: var(--color-brand-blue);
}

    .btn-primary:hover, .btn-primary:active {
        background: #000;
    }

.btn-secondary {
    background: #000;
}

    .btn-secondary:hover, .btn-secondary:active {
        background: var(--color-black-hover);
    }

    .btn-primary:disabled, .btn-primary.is-disabled, .btn-secondary:disabled, .btn-secondary.is-disabled {
        background: var(--color-line-grey);
        color: var(--color-medium-grey);
        cursor: not-allowed;
    }
/*Controls for the help button*/
#btn_help {
    background-color: white;
    border: 1px solid #E6E6E6;
    border-radius: 8px;
    color: #000;
    padding: 3px 5px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 16px;
    width: 160px;
    height: 44px;
    top: -3px;
    left: -20px;
}
    /*User-interaction with the help button*/
    #btn_help.ui-button.ui-state-focus, #btn_help.ui-button.ui-state-hover {
        background-color: #f9f9f9;
        border-color: #000;
    }
/*Contorls the accordion header*/
h3.ui-state-default {
    background-color: #fff;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 24px;
    color: #000;
    border-color: #E6E6E6;
}

h3.ui-accordion-header-active {
    background-color: white;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0px !important;
    border-bottom: 1.5px solid #E6E6E6 !important;
    box-shadow: none !important;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 24px;
    color: #0E61FE;
    
}

h3.ui-state-hover:hover {
    background-color: #f9f9f9;
    border-color: #000;
}

i.fa {
    transform: rotate(-90deg);
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 0px;
}

h3.ui-accordion-header-active i {
    transform: rotate(0deg);
    padding-right: 10px;
}
/*Contorls tables under Company and Contact*/
.ul_table {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .ul_table li {
        margin-bottom: 15px;
    }

    .ul_table ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 15px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

        .ul_table ul li {
            flex: 1 1;
            min-width: 200px;
            margin: 0;
        }

/*Select controls*/
.selectdiv {
    position: relative;
    width: 100%;
}

    .selectdiv select {
        width: 100%;
        padding: 6px;
        border: none;
        border: 1px solid #cccccc;
        border-radius: 0;
        background-color: white;
        font-family: var(--font-body);
        font-size: 16px;
        color: black;
        font-weight: 500;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        cursor: pointer;
    }

    .selectdiv:after {
        content: '>';
        font-family: var(--font-body);
        color: #0E61FE;
        font-weight: 900;
        transform: rotate(90deg);
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        pointer-events: none;
    }

/*Product-option quantity selects (.selectdiv.services): guide 5.2 field, 10px radius, hairline border, black 13px text, black chevron*/
#tab_options .selectdiv.services {
    width: 72px;
    margin-right: 16px; /* space from the product label; works whatever padding each table sets on .productname */
}

    #tab_options .selectdiv.services select {
        box-sizing: border-box;
        width: 100%;
        height: 44px;
        padding: 10px 32px 10px 12px;
        border: 1px solid var(--color-line-grey);
        border-radius: 10px;
        background-color: #FFFFFF;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.2;
        color: var(--color-text);
        transition: border-color .2s ease;
    }

        #tab_options .selectdiv.services select:hover,
        #tab_options .selectdiv.services select:focus {
            border-color: #000;
        }

    #tab_options .selectdiv.services:after {
        content: '';
        right: 12px;
        width: 12px;
        height: 8px;
        margin-top: -4px;
        font-weight: 400;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat center / contain;
        transform: none;
    }

/*The following are the positions for the given select*/
.salutation {
    flex: 0 !important;
    margin: 0;
    min-width: 100px !important;
}

.prefix select {
    width: 100px;
}

.company-dropdown {
    min-width: 370px !important;
    flex: 0 !important;
}

.corp-members > tr > td:first-child {
    width: 160px;
}

.corp-members label {
    float: right;
    padding-right: 10px;
    padding-bottom: 20px;
}

.member-table {
    max-width: 727px;
    float: right;
}

    .member-table > tbody {
        position: relative;
    }

.company_title_wrapper button {
    display: block;
    margin: 0 auto;
}

.x-button, .x-button-header {
    width: 0px;
    display: block;
    cursor: pointer;
}

    .x-button:after {
        left: -20px;
        top: 0px;
        font-size: 30px;
        display: block;
        position: relative;
        color: #4c4c4c;
        content: "\00d7"; /* This will render the 'X' */
    }
/*.prefix:after {
    right: 90px;
}*/
/*
.state:after {
    top: -6.6px;
    right: 24.5px;
}

.country:after {
    right: 88.5px;
}

.party_state:after {
    right: 23px;
}

.party_country:after {
    right: 83px;
}

.services:after {
    right: 10px;
    font-size: 25px;
    top: 5px
}

.month:after {
    right: 225px;
}

.year:after {
    right: 38px;
}

.copy_apostille:after {*/
right: 60%;
}

.copyapostille label, .standingapostille label {
    padding-left: 10px
}




/*Checkbox & Radio control*/
input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
}

/*Review section*/


#review_table td, #review_table2 td {
    vertical-align: top;
}

.reviewsectionheader {
    font-size: 18px;
    margin-bottom: 10px;
}

.reviewproductpricebreakdown {
    font-size: 14px;
    text-align: right;
}

.reviewproductprice, .reviewsubtotalheader, .reviewsubtotal {
    font-size: 16px;
    text-align: right;
}

/*Select element under popular services*/
#options_popular_services select {
    border: none;
    font-family: var(--font-body);
    font-weight: bold;
    font-size: 18px;
    color: #0E61FE;
    line-height: 26px;
    cursor: pointer;
}

    #options_popular_services select:after {
        content: '>';
        font: 30px "Consolas", monospace;
        font-stretch: expanded;
        color: #0E61FE;
        font-weight: 900;
        transform: rotate(90deg);
        top: -6px;
        /*right: 40px;*/
        position: absolute;
        pointer-events: none;
    }
/*Button element under popular services*/
#options_popular_services button, #table_RA_Actions button, #table_Transacting button, #table_expedited button, #table_delivery2 button, #table_delivery2 button {
    border: none;
    background: white;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    color: #0E61FE;
    cursor: pointer;
}

.options_wrapper tr {
    border-bottom: 1px solid lightgrey;
    display: table-row;
}

/*Font contorls for the popular services table*/
.options_wrapper {
    font-family: var(--font-body);
    font-size: 16px;
    color: black;
    font-weight: 500;
    line-height: 22px;
}

/*Checkbox & Radio control start...*/
/*This is for all the checkboxs*/
/*Same rules as the Payments app; margin/alignment kept from the old shared rule*/
input[type="checkbox"] {
    transform: scale(1.3);
    cursor: pointer;
    accent-color: var(--color-brand-blue);
    margin-right: 8px;
    vertical-align: middle;
}
/*This is for all the radio buttons*/
input[type="radio"]::-ms-clear {
    display: none;
}

input[type="radio"] {
    background-color: white;
    border: 1px solid #0E61FE;
    cursor: pointer;
    display: inline-block;
    height: 16px;
    margin-right: 15px;
    position: relative;
    width: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-behavior: none;
    border-radius: 50%;
}

    input[type="radio"]:after {
        border-radius: 25px;
        content: '';
        display: block;
        height: 6px;
        left: 3.5px;
        position: relative;
        top: 3.5px;
        width: 6px;
        border: none;
    }

    input[type="radio"]:checked:after {
        background-color: white;
        left: -2px;
        top: -2px;
        width: 6px;
        height: 6px;
        border: 6px solid #0E61FE;
    }
/*This was also need to fix this radio button under legal parties*/
#tax_radio {
    width: 16px;
    height: 16px;
}

#registered_radio {
    width: 16px;
    height: 16px;
}
/*Checkbox & Radio control end...*/

/*Font controls for headers under legal Parties*/
.party_headers {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 20px;
    margin: 25px 0 10px 0;
}

/*Select control start...*/
/*This will affect only the select input font to the applied divs(containers)*/
/*#company_accordion select::-ms-expand {
    display:none;
}*/
#company_accordion select, #review_accordion select {
    font-family: var(--font-body);
    font-size: 20px;
    color: black;
    opacity: 0.99;
    border-radius: 10px;
}


/*Select control end...*/
.clear {
    clear: both;
}

#options_popular_services div select {
    font-size: 20px;
    width: 45px;
}

#options_popular_services label select {
    width: 345px;
}

ul.ui-autocomplete {
    text-align: left;
}

#ui-helper-clearfix {
    background: black;
}

#start_radio_wrapper {
    margin: 50px 0 50px 0;
}

    #start_radio_wrapper label {
        display: block;
        margin: 20px 0 20px 0;
    }

    #start_radio_wrapper span {
        display: block;
    }

    #start_radio_wrapper label {
        display: flex;
    }

    #start_radio_wrapper input {
        flex-shrink: 0;
        margin-top: 5px;
    }

/*.company_title_wrapper table {
    width: 100%;
}*/

.company_title_wrapper table input {
    width: 100%;
}
/*This div container is empty and is used to add space*/
#company_order_contact_readonly {
    display: none;
    margin-bottom: 10px;
    border: none;
}

#tab_options {
    width: 100%;
    padding-left: 0%;
}

#options_incorporation {
    width: 100%;
}

#table_package {
    margin-left: 120px;
    width: 80%;
}

#Included_list {
    margin-left: 130px;
}

    #Included_list div ul {
        height: 170px;
        align-items: baseline
    }

    #Included_list div .recommend {
        position: relative;
        font-size: small;
        color: red;
        display: inline-block !important;
    }

#tab_options tr.ui-state-highlight {
    border: none;
}

#options_incorporation ul {
    margin: 0;
    padding: 0;
    font-size: 0.9em;
}
/*li elements under services included*/
#options_incorporation li {
    list-style: none;
    float: none;
    width: 100%;
    max-width: 400px;
    padding-bottom: 3px;
    vertical-align: top;
}

.ui-state-error {
    border-radius: 5px !important;
    padding-top: 2px;
}
/*price breakdown headers under package selection*/
.breakdown-price {
    font-family: var(--font-body);
    font-size: 18px;
    color: #000;
    display: block;
    width: 350px
}

.processing-header {
    font-family: var(--font-body);
    font-size: 16px;
    color: #000;
    font-weight: bold;
}


.price-section {
    width: 220px;
    float: left;
    text-align: center;
}

.pricing-list {
    height: auto !important;
}

.blue-vl {
    border-left: 2px solid #65b9fc;
    height: 58px;
    float: left;
}

.left {
    float: left;
    width: 420px;
}

.processing {
    position: relative;
    top: -35px;
    /*height:100%;*/
}

.same-day {
    border: 1px solid #65b9fc;
}

.RA-price {
    width: 350px !important;
}


#options_incorporation li .ui-icon {
    float: left;
}

#options_incorporation input {
    padding: 15px 5px 0px -5px;
}

table_services .productcontrol {
    width: 45px;
    display: block;
    padding: 6px 0px 5px 0px;
}

#options_incorporation ul span {
    margin: 5px 5px 10px 0px;
}

#table_package tr {
    font-family: var(--font-body);
    font-size: 16px;
    padding-bottom: 50px;
    line-height: 42px;
}

.productprice {
    text-align: right;
    display: flex;
    column-gap: 10px;
    justify-content: flex-end;
    margin-right: 10px;
    margin-top: auto;
    align-items: flex-end;
}



    .productprice.notaxes .ui-icon {
        display: none;
    }

#table_package tr {
    border-spacing: 10px 50px;
}

#table_package .productcontrol {
    width: 4%;
}

#table_plain_uncertified .productname input {
    border: none;
    border-bottom: .05px solid #CCCBCD;
    width: 300px;
    background: rgba(248,231,28,0.001);
}

#table_serivces_part button, #table_RA_Actions button, #table_Transacting button, #table_expedited button, #table_delivery2 button {
    background: rgba(248,231,28,0.001);
    font-weight: 500;
    font-family: var(--font-body);
    font-size: 12px;
}

#table_serivces_part tr.ui-state-highlight, #table_serivces_part_1 tr.ui-state-highlight, #table_RA_Actions tr.ui-state-highlight, #table_Transacting tr.ui-state-highlight, #table_plain_uncertified tr.ui-state-highlight, #table_Transacting_0 tr.ui-state-highlight {
    background-color: #E6E6E6;
}

#table_package tr.ui-state-highlight {
    background-color: #f9f9f9;
    
}

#table_expedited tr.ui-state-highlight {
    background: rgba(248,231,28,0.20);
}

#table_delivery1 tr.ui-state-highlight {
    background: rgba(248,231,28,0.20);
}

#table_delivery2 tr.ui-state-highlight {
    background: rgba(248,231,28,0.20);
}

.options_wrapper tr {
    width: 40px;
    height: 30px;
    margin: 0px 0px 0px -1px;
}

.options_wrapper .productname {
    padding: unset;
    vertical-align: middle;
    width: 100%;
    max-width: 360px;
}

.options_wrapper .productcontrol {
    min-width: 45px;
}

.ui-dialog-buttonset button {
    margin: 0 10px; /* 10px space only between the two buttons */
}

#table_RA_Actions .productcontrol, #table_Transacting .productcontrol {
    width: 45px;
}

.table_services span, #table_RA_Actions span, #table_Transacting span {
    margin: 10px 10px 10px 10px;
}

#table_serivces_part_1 .productname {
    padding: 9px 0px 9px 5px;
}

#table_serivces_part_1 .productcontrol {
    padding: 9px 0px 9px 0px;
}

#table_serivces_part_1 .productprice {
    padding: 9px 0px 9px 10px;
}

#table_Transacting_0 .productname {
    padding: 5px 0px 10px 0px;
}

#table_Transacting_0 .productcontrol {
    padding: 5px 0px 0px 0px;
    width: 55px;
}

#table_Transacting_0 .productprice {
    margin: 5px 0px 0px 10px;
}

#table_delivery2 .productcontrol {
    padding: 7px 0px 10px 1px;
}

#table_delivery2 tr .productname {
    padding: unset;
    padding: 0px 10px 10px 10px;
}

#table_delivery2 button {
    margin: 8px 0px 0px 0px;
}

#table_delivery2 .productprice {
    margin: 10px 0px 10px 10px;
}

#table_serivces_part label select {
    border-bottom: 1px solid;
}



#review_table tr {
    font-family: var(--font-body);
    padding: 50px 10px 10px 10px;
}

#review_table tbody tr td {
    font-family: var(--font-body);
    font-size: 18px;
    color: #000;
    line-height: 40px;
}

#review_table2 td {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 18px;
    color: #000000;
    line-height: 20px;
    padding: 20px 0px 20px 0px;
}

.reviewsectionheader {
    font-family: var(--font-body);
    
    font-weight: 500;
    color: #000000;
    line-height: 27px;
}

.productdetail label {
    vertical-align: top;
    display: block;
}

    .productdetail label textarea, .productdetail label select, .productdetail label input {
        display: block;
    }

#review_company_header_wrapper {
    text-align: center;
    padding: 12px;
    
}

#review_company_name {
    font-size: 2em;
    padding: 10px;
}

#review_company_alternate {
    font-size: 0.75em;
    font-style: italic;
    padding: 5px;
}

#review_accordion .ui-accordion-content {
    padding: 1em;
}

.reviewsectionheader .reviewproductpricebreakdown {
    color: #555;
}

.reviewproductpricebreakdown {
    text-align: right;
    font-size: 0.75em;
    font-style: italic;
    vertical-align: middle;
}

.reviewproductprice, .reviewsubtotalheader, .reviewsubtotal {
    text-align: right;
}

.review_payment_info {
    font-size: 0.9em;
    display: none;
}

#hold_send_invoice_text {
    margin-bottom: 12px;
}

#review_wire_fee_text {
    text-align: center;
    color: #f00;
    font-weight: bold;
}

#review_agree {
    padding: 20px 5px 5px 5px;
}

    #review_agree {
        
        margin: 0px 5px 0px 5px;
    }

#review_promo_code_wrapper {
    max-width: 450px;
}

.pay_icons {
    color: #65B9FC;
    font-size: 25px;
    padding: 0px 10px 0px 0px;
}

.pay_option:hover {
    cursor: pointer;
}

.pay_option {
    margin-bottom: 20px;
}

#review_promo_code {
    display: block;
    left: 105px;
    width: 200px;
    float: left;
}

#review_promo_code_discount_text {
    display: block;
    position: relative;
    margin-top: 5px;
    font-style: italic;
    color: #555;
    float: right
}

    #review_promo_code_discount_text.review_promo_code_valid {
        font-style: inherit;
        color: var(--savings-green);
        background: var(--savings-green-tint);
        padding: 10px;
        border-radius: 20px;
        letter-spacing: 0.6px;
        line-height: 1.2;
        white-space: nowrap;
        align-items: center;
    }

#company_future_same_as_order_contact {
    margin: 15px 7px 0px 0px;
}

#payment_section, #promo-section {

}

.line-item {
    border-bottom: 1.5px solid #979797;
}

    .line-item td {
        vertical-align: bottom;
    }

    .line-item:last-child {
        border: none;
    }

#pay {
    width: 100% !important;
    margin: 0 !important;
}

#tab_thankyou {
    margin-top: 30px;
}

/*Thank You tab: one column, 28px between groups*/
.thz_wrap {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
    font-family: var(--font-body);
    color: var(--color-text);
}

    .thz_wrap h1 {
        margin: 0 0 8px;
        font-size: 36px;
        line-height: 110%;
        letter-spacing: -0.36px;
    }

    .thz_wrap h2 {
        margin: 0;
        font-size: 24px;
        line-height: 120%;
        letter-spacing: -0.24px;
    }

    .thz_wrap p {
        margin: 0;
    }


.thz_sub {
    display: none;
    font-size: 16px;
    line-height: 120%;
    color: var(--color-medium-grey);
}

#confirm_email {
    color: var(--color-text);
}

/*Order summary: S1 card*/
.thz_card {
    background: var(--color-breadcrumb-background);
    border-radius: 10px;
    padding: 20px;
}

    .thz_card h2 {
        font-size: 20px;
        letter-spacing: -0.2px;
        padding-bottom: 12px;
    }

/*Order summary header row: heading left, "Download receipt" right*/
.thz_card_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
}

    .thz_card_head h2 {
        padding-bottom: 0;
    }

/*Receipt error sits 8px under the summary card (the wrapper gap is 28px)*/
#receipt_note {
    margin-top: -20px;
}

#thankyou_order_details td {
    padding: 12px 0;
    border-top: 2px solid #FFFFFF;
    text-align: left;
}

#thankyou_order_details .td_text {
    width: 40%;
    font-size: 14px;
    line-height: 120%;
    color: var(--color-medium-grey);
}

#thankyou_order_details .td_text0 {
    font-size: 16px;
    line-height: 120%;
    color: var(--color-text);
}

#thankyou_order_details .td_price {
    font-size: 18px;
    letter-spacing: -0.36px;
}

/*Next step: My IncNow account*/
#IncNow_Welcome_container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--color-background-grey);
    border-radius: 10px;
    padding: 28px;
}

#IncNow_Welcome_container_inner {
    display: flex;
    justify-content: space-between;
    gap: 28px;
}

    #IncNow_Welcome_container_inner > div {
        flex: 1;
    }

#IncNow_Welcome_text ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 16px;
    line-height: 120%;
}

#IncNow_Welcome_text li {
    padding-left: 29px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 17 17' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8.5' cy='8.5' r='7.9'/%3E%3Cpath d='M5 8.7l2.4 2.4L12 6.4'/%3E%3C/svg%3E") no-repeat 0 1px;
}

#Portal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

    #Portal p {
        font-size: 16px;
        line-height: 150%;
    }

    #portal_tour {
        color: var(--color-text);
    }

.thz_helper, #Portal .thz_helper {
    font-size: 12px;
    line-height: 120%;
    letter-spacing: 0.6px;
    color: var(--color-medium-grey);
}

    .thz_helper:empty {
        display: none;
    }

    .thz_helper.is-error, #Portal .thz_helper.is-error {
        color: var(--color-error-red);
    }

/*Questions and registered agent address*/
.thz_wrap .thz_p, .thz_wrap .thz_actions p {
    font-size: 16px;
    line-height: 150%;
}

#thankyou_ra {
    display: none;
    border-top: 1px solid var(--color-line-grey);
    padding-top: 28px;
}

    #thankyou_ra p {
        margin-bottom: 12px;
    }

.thz_wrap .thz_p0 {
    font-size: 14px;
    line-height: 120%;
    color: var(--color-medium-grey);
}

.thz_wrap .thz_p1 {
    font-size: 16px;
    line-height: 150%;
}

.thz_wrap .thz_p2 {
    margin-bottom: 0;
    font-size: 12px;
    line-height: 120%;
    letter-spacing: 0.6px;
    color: var(--color-medium-grey);
}

    .thz_wrap .thz_p2 a {
        color: var(--color-text);
    }

.thz_actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 28px;
}

/*These two selectors are for company_state select tag's tooltip which is wrapped inside a span*/
[data-title] {
    position: relative;
}

.singleproduct {
    display: none;
    text-align: center
}

@media screen and (min-width: 767px) {
    [data-title]:hover:after {
        content: attr(data-title);
        position: absolute;
        top: 40px;
        left: 0px;
        display: inline-block;
        padding: 10px;
        border-radius: 5px;
        background: #F0F8FE;
        width: 270px;
        color: black;
        font-size: 16px;
        text-align: center;
        z-index: 9999;
        -webkit-box-shadow: 0 0 15px #1C75BB;
        box-shadow: 0 0 15px #1C75BB;
    }

    #specific_benefit [data-title]:hover:after {
        content: attr(data-title);
        position: absolute;
        top: 40px;
        left: -5px;
        display: inline-block;
        padding: 10px;
        border-radius: 5px;
        background: #F0F8FE;
        width: 350px;
        color: black;
        font-size: 16px;
        text-align: left;
        z-index: 9999;
        -webkit-box-shadow: 0 0 15px #1C75BB;
        box-shadow: 0 0 15px #1C75BB;
        transition: opacity 1s ease-in-out;
    }

    #gp-name [data-title]:hover:after {
        content: attr(data-title);
        position: absolute;
        top: 40px;
        left: -5px;
        display: inline-block;
        padding: 10px;
        border-radius: 5px;
        background: #F0F8FE;
        width: 350px;
        color: black;
        font-size: 16px;
        text-align: left;
        z-index: 9999;
        -webkit-box-shadow: 0 0 15px #1C75BB;
        box-shadow: 0 0 15px #1C75BB;
        transition: opacity 1s ease-in-out;
    }
}


.legal-captcha-wrapper {
    width: 49%;
    min-width: 320px;
    margin-top: 40px;
}

.legal-certify {
    background: #f9f9f9;
    width: 100%;
    box-sizing: border-box;
}

#backup-captcha {
    margin-top: 20px;
}

    .legal-certify > div {
        padding: 10px;
        font-size: 16.5px;
        color: #000;
        line-height: 22px;
        width: 90%;
    }

    .legal-certify label {
       
        line-height: 22px;
    }

.btn_submit {
    min-width: 220px;
}

/*new package style design*/
.new-design-pkg-outer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    padding: 15px;
    max-width: 710px;
}

/* COLUMN: vertical stack of rows */
.new-design-pkg-col {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    flex: 1 1 20px;
    max-width: 740px;
    box-sizing: border-box;
}

.new-design-pkg-row {
    display: grid;
    grid-template-columns: 1fr 90px;
    align-items: center;
    padding: 7px 25px;
    padding-right: 70px;
    border-radius: 90px;
    background: #f9f9f9;
}

    .new-design-pkg-row:nth-child(even) {
        background: #fff;
    }

.new-design-pkg-text {
    font-size: 14px;
    color: var(--color-brand-primary);
    white-space: normal;
    word-break: break-word;
    line-height: 1;
    padding-right: 140px;
}

.new-design-pkg-mark,
.new-design-pkg-mark-price {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    align-content: center;
    justify-self: end;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    gap: 5px;
}

.new-design-pkg-mark {
    justify-self: end;
    width: 17px;
    height: 17px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");
}
.new-design-pkg-x {
    color: red;
    justify-self: end;
    width: 17px;
    height: 17px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23FF0000' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 460.775 460.775'><path d='M285.08 230.397L456.218 59.27c6.076-6.077 6.076-15.911 0-21.986L423.511 4.565c-2.913-2.911-6.866-4.55-10.992-4.55-4.127 0-8.08 1.639-10.993 4.55l-171.138 171.14L59.25 4.565c-2.913-2.911-6.866-4.55-10.993-4.55-4.126 0-8.08 1.639-10.992 4.55L4.558 37.284c-6.077 6.075-6.077 15.909 0 21.986l171.138 171.128L4.575 401.505c-6.074 6.077-6.074 15.911 0 21.986l32.709 32.719c2.911 2.911 6.865 4.55 10.992 4.55 4.127 0 8.08-1.639 10.994-4.55l171.117-171.12 171.118 171.12c2.913 2.911 6.866 4.55 10.993 4.55 4.128 0 8.081-1.639 10.992-4.55l32.709-32.719c6.074-6.075 6.074-15.909 0-21.986L285.08 230.397z'/></svg>");
}

.new-design-pkg-row-total {
    background: transparent !important;
    margin-top: 24px;
    
}

.new-design-pkg-row-promo {
    background: transparent !important;
   
}



.new-design-pkg-total-price {
    font-size: 18px;
}


.new-design-pkg-mark-price {
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
}

.old-price {
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 500;
}

.new-price {
    text-decoration: none;
    color: #0b1b33;
    font-weight: 500;
}

.new-design-pkg-promo-code {
    opacity: 0.6;
    font-weight: 500;
}


.new-design-pkg-row-promo .new-design-pkg-promo-code {
    justify-self: end;
    text-align: right;
    opacity: 0.7;
    font-weight: 500;
}


@media (max-width: 480px) {

    
    .new-design-pkg-row,
    .new-design-pkg-row-total,
    .new-design-pkg-row-promo {
        display: flex !important; 
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 10px 14px; 
        border-radius: 20px;
        gap: 8px;
    }

    
    .new-design-pkg-text {
        padding-right: 0 !important; 
        white-space: normal;
        word-break: normal;
        flex: 1 1 auto; 
        line-height: 1.2;
    }

   
    .new-design-pkg-mark,
    .new-design-pkg-mark-price,
    .new-design-pkg-promo-code {
        flex: 0 0 auto; 
        text-align: right;
        justify-content: flex-end;
    }

    
    .new-design-pkg-row-total,
    .new-design-pkg-row-promo {
        background: transparent !important;
    }
}


/*This is for CTAboi related styles*/
#CTAboi_container {
    text-align: center
}

#CTAboi_header {
    font-family: var(--font-body);
    font-size: 28px;
    font-weight: 500;
    color: #000;
    line-height: 30px;
    margin: 0px 0px 20px 0px;
}

#CTAboi_p {
    text-align: left;
    width: 800px;
    margin: 0 auto 20px auto;
}

#CTAboi_promo_code {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    color: #000;
}

#CTAboi_link_container {
    margin: 40px
}

#CTAboi_link {
    background: #1C75BB;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
}

#CTAboi_img_container {
    display: flex;
    align-items: center;
    justify-content: center;
}

#inc {
    width: 200px;
}

#plus {
    font-size: 30px;
    margin: 0 40px;
}

#cta {
    width: 300px;
    height: 85px;
    vertical-align: bottom;
}

.ui-accordion .ui-accordion-content {
    height: 100%;
}



@media only screen and (max-width: 767px) {
    p {
        margin: 0;
    }

    #page {
        width: 100%;
    }

    #payment_section, #promo-section, .legal-certify, .legal-captcha-wrapper {
        width: 100%;
        margin-left: 0px;
    }

    .btn_submit, btn_next {
        width: 100% !important;
    }

    .ui-accordion .ui-accordion-content {
        width: 100% !important;
    }

    #IncNow_Welcome_container_inner {
        flex-direction: column;
    }

    #Portal {
        align-items: stretch;
    }

    #send_email, #portal_access, .thz_actions a, #receipt_pdf {
        width: 100%;
    }

    .thz_card_head {
        flex-direction: column;
        align-items: stretch;
    }

    .ui-tabs-nav li:last-child {
        //display: none;
    }

    #content {
        border-top: none;
        padding-top: 0px;
    }

    .stackable {
        flex-direction: column;
    }

    .user_input {
        margin-bottom: 0px;
    }

    #ot-sdk-btn-floating {
        top: -20px;
    }
}

@media screen and (max-width: 768px) {
    #header {
        padding-bottom: 0px;
    }

    .ui-tabs .ui-tabs-panel {
        padding-top: 0px !important;
    }

    #logo {
        margin: 0 auto;
    }

    .singleproduct {
        padding-bottom: 10px;
        text-align: left;
    }

    #btn_help {
        display: none;
    }

    .nomobile {
        display: none;
    }

    #tab_options button.More-Info {
        display: none;
    }

    .btn_back.ui-state-default,
    .btn_next,
    .btn_submit,
    .btn_company_title_add {
        max-width: 100%;
    }

    .company-dropdown {
        min-width: 165px !important;
        flex: 1 !important;
    }

    .table_services, #review, #pay {
        width: 100%;
    }

    .reviewproductpricebreakdown {
        width: 100px;
        padding-right: 10px;
    }

    .bottom-border-contact, .bottom-border-opt, .bottom-border-pay {
        width: 100%;
        float: none;
        margin: 0;
    }

    .bottom-border-opt {
        margin-left: 0;
    }

    #table_package {
        margin-left: 0;
        width: 100%;
    }

    #Included_list {
        margin-left: 0;
    }

    .price-section {
        width: 100%;
        float: none;
        text-align: center;
    }

    .blue-vl {
        display: none;
    }

    .left {
        float: none;
        width: 100%;
    }

    .processing {
        position: relative;
        top: 0;
    }

    .RA-price {
        width: 100% !important;
    }

    #review_table tr {
        padding: 20px 10px;
    }

    #review_table2 td {
        padding: 10px 0;
    }

    #review_promo_code_wrapper {
        width: 100%;
        max-width: 360px;
        padding: 20px 0;
    }

    #review_promo_code {
        width: 100%;
        max-width: 200px;
        float: none;
    }

    #review_promo_code_discount_text {
        float: none;
        text-align: center;
        margin-top: 20px;
    }

    .table_services {
        width: 100%
    }

    /*
    #Included_list {
        display: none;
    }
        */
}

@media screen and (max-width: 480px) {
    #page {
        padding: 10px;
    }

    .tab_sidebar, .tab_content {
        padding: 10px 20px;
    }

    .under_options_headings {
        font-size: 20px;
    }

    #logo {
        width: 120px;
        height: 64px;
    }

    .ui-dialog-buttonset button {
        margin-left: unset !important;
    }

    .ui-dialog-content {
        max-width: 300px;
        width: 200px;
        padding: 10px;
    }
}

/* ======================================
   Payment section (#payment_section)
   ====================================== */
#payment_section {
    margin-top: 10px;
}

    #payment_section .is-hidden,
    #payment_type_credit_card_wrapper,
    #payment_new_card_state_control {
        display: none;
    }

.payment-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-bottom: 10px;
}

.card-count-label {
    color: #676C6F;
    line-height: 25px;
    font-size: 16px;
}

.payment-card-heading {
    font-size: 16px;
    margin: 0;
}

/* Info icon after the card count. Reuses the [data-title] tooltip pattern; opens leftward because it sits at the right edge */
.card-count-label:empty + .card-info-icon {
    display: none; /* no account = no card count = no icon */
}

.card-count-group .card-info-icon {
    margin-left: 6px;
    color: #676C6F;
    cursor: help;
    outline: none;
}

    .card-count-group .card-info-icon:hover,
    .card-count-group .card-info-icon:focus {
        color: #000000;
    }

        .card-count-group .card-info-icon:hover:after,
        .card-count-group .card-info-icon:focus:after {
            content: attr(data-title);
            position: absolute;
            top: 100%;
            right: -4px;
            left: auto;
            margin-top: 8px;
            width: 240px;
            max-width: 80vw;
            padding: 10px;
            border-radius: 5px;
            background: #F0F8FE;
            color: #000;
            font-family: var(--font-body); /* icon's Font Awesome font would otherwise be inherited */
            font-size: 16px;
            font-weight: 400;
            line-height: 1.3;
            text-align: left;
            z-index: 9999;
            box-shadow: 0 0 15px #1C75BB;
        }

.tab_nav.review-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
}

    .tab_nav.review-nav .btn_back {
        justify-self: start;
    }

.review-submit-group {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

#review_total_text {
    font-size: 28px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.submit-help-text { margin: -18px 0 0; font-size: var(--fs-label); color: var(--color-medium-grey); text-align: center; }
.submit-help-text a { color: inherit; }

/* saved cards */
.saved-card-option-item {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    border: 1px solid #E6E6E6;
    border-radius: 10px;
    margin-bottom: 14px;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
}

    .saved-card-option-item.is-selected {
        border-color: var(--color-brand-blue);
        box-shadow: 0 0 0 1px var(--color-brand-blue);
    }

.saved-card-radio {
    display: none !important;
}

.saved-card-label {
    display: flex !important;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin: 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
}

.saved-card-brand-img {
    height: 22px;
    width: auto;
    max-width: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.saved-card-cvv-wrapper {
    margin: 14px 0 6px;
    max-width: 160px;
}

.add-new-card-wrapper {
    margin: 20px 0 20px;
}

/* accepted cards strip (inserted by JS) */
.accepted-cards-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 14px 0px;
    border-radius: 12px;
    box-sizing: border-box;
}

.accepted-cards-label {
    font-size: 13px;
    white-space: nowrap;
}

.accepted-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E6E6E6;
    border-radius: 8px;
    padding: 6px 14px;
    height: 38px;
    box-sizing: border-box;
}

    .accepted-card-badge img {
        height: 22px;
        width: auto;
        max-width: 55px;
        object-fit: contain;
    }

/* new card form */
.payment-new-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 0px;
    margin-bottom: 25px;
    border-radius: 8px;
}

.cc-form-row {
    display: flex;
    width: 100%;
    gap: 16px;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

    .form-field-group label {
        display: block;
        font-size: var(--fs-label);
        margin-bottom: 6px;
        letter-spacing: 0.6px;
    }

    .form-field-group input,
    .form-field-group select,
    #saved_card_cvv_control {
        height: 44px;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 10px 12px;
        font-family: var(--font-body);
        font-size: 15px;
        border: 1px solid #CCCBCD;
        border-radius: 10px;
        background: #fff;
    }

    .form-field-group select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        padding-right: 36px; /* keeps long text from running under the arrow */
    }


.select-wrap {
    position: relative;
}

    .select-wrap:after {
        content: '';
        position: absolute;
        right: 14px;
        top: 50%;
        width: 12px;
        height: 8px;
        margin-top: -4px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat center / contain;
        pointer-events: none;
    }

.cc-half-split .form-field-group {
    flex: 0 0 calc(50% - 8px);
}

/* card brand logo, flush right inside the card number input */
.card-number-wrap { position: relative; }
.card-number-wrap input { padding-right: 70px; }
.card-number-logo { display: none; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); height: 22px; width: auto; max-width: 48px; object-fit: contain; pointer-events: none; }

.cc-third-split .form-field-group {
    flex: 0 0 calc(33.333% - 11px);
}

.new-card-billing-header {
    font-weight: 500;
    margin-top: 8px;
}

.required-indicator {
    color: #f00;
}

/* validation */
.payment-error-banner {
    display: none;
    background-color: #FDECEA;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 24px;
}

.error-banner-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.error-badge-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background-color: var(--color-error-red);
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
}

.error-banner-title {
    font-size: 14px;
    color: var(--color-error-red);
}

.error-banner-desc {
    font-size: 13px;
    line-height: 1.4;
    padding-left: 32px;
}

#payment_section input.has-error, #payment_section select.has-error,
#company_accordion input.has-error, #company_accordion select.has-error {
    border-color: var(--color-error-red);
    box-shadow: 0 0 0 1px var(--color-error-red);
}

.legal-certify.has-error { border-color: var(--color-error-red); }

.field-error-text {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--color-error-red);
}

.encrypted-checkout-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    margin-bottom: 20px;
}

.encryption-icon {
    height: 18px;
}

.encryption-title-text {
    font-weight: 500;
}

@media only screen and (max-width: 767px) {
    .payment-new-card-wrapper {
        padding: 16px;
        gap: 14px;
    }

    .cc-half-split {
        flex-direction: column;
        gap: 14px;
    }

        .cc-half-split .form-field-group {
            flex: none;
        }

    .cc-third-split {
        flex-wrap: wrap;
        gap: 14px;
    }

        .cc-third-split .form-field-group {
            flex: 0 0 calc(50% - 7px);
        }

    .tab_nav.review-nav {
        grid-template-columns: 1fr;
    }
    /*Back always stacks last on mobile*/
    .tab_nav .btn_back {
        order: 1;
    }

    .review-submit-group {
        grid-column: 1;
        width: 100%;
        margin-top: 10px;
    }

    #review_total_text {
        font-size: 24px;
    }
}

/* Payment loading overlay, ported from the Payments app.
   Electric Blue background breaks style guide 8.3; user-approved exception 2026-11-23. */
#loading_view {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    background-color: var(--color-brand-blue);
    color: #FFFFFF;
    font-family: var(--font-body);
    text-align: center;
    padding: 0 16px;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#loading_text { font-size: 24px; line-height: 120%; letter-spacing: -0.24px; margin-bottom: 12px; align-content:center; } /* Heading 24 */
#loading_note { font-size: 16px; line-height: 120%; letter-spacing: 0.8px; margin-bottom: 32px; }    /* Body 16 */
.chasing-dots { position: relative; width: 100px; height: 100px; animation: loading-rotate 2s infinite linear; }
.chasing-dots .dot1,
.chasing-dots .dot2 { position: absolute; top: 0; left: 25px; width: 50px; height: 50px; border-radius: 100%; background-color: #FFFFFF; animation: loading-bounce 2s infinite ease-in-out; }
.chasing-dots .dot2 { top: auto; bottom: 0; animation-delay: -1s; }
@keyframes loading-rotate { 100% { transform: rotate(360deg); } }
@keyframes loading-bounce { 0%, 100% { transform: scale(0); } 50% { transform: scale(1); } }
