.is-logged-in #navbar, .is-logged-in .activate-exit {
    display: inline-flex;
}
.is-logged-in .nav-register,
.is-logged-in .purchase-device,
.is-logged-in .sell,
.is-logged-in .rental,
.is-logged-in .shop-modem-link,
.is-logged-in .shop-phone-link,
.is-logged-in .shop-gateway-link,
.is-logged-in .inventory-return,
.is-logged-in .change-msisdn,
.is-logged-in .login-details{
    display: none;
}
.activate-step-plan .plan #bundles .features p{
    display: block !important;
}
/* allow setting tax exemption on account create */
.can-aboriginal-tax-exempt-set .aboriginal-tax-exempt {
    display: block;
}
.account-search .search-results .search-result,
.search-result.account-search-result .visit-account, .has-stepper-activate-step-choose-account .action-select{
    display: none;
}
.show-search-results {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 2000;
    display: none;
}
.search-result.selected .show-search-results {
    display: block;
}
.select-account {
    display: block !important;
}
.account-search .search-result.account-search-result, .account-search .search-result.device-search-result {
    display: block;
}
#navbar, #account_navbar, #language_navbar, .document-language-preference {
    display: none;
}
.is-logged-in #account_navbar {
    display: none;
}
body {
    background-color: #eee;
}
.has-stepper-activate-step-checklist .page-title {
    line-height: 3rem;
}
.has-stepper-activate-step-checklist .badge {
    display: inline-block;
    min-width: 10px;
    padding: 9px 14px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #b2b2b2;
    border-radius: 20px;
}
.stepper .badge {
    display: inline-block;
    min-width: 10px;
    padding: 9px 14px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #b2b2b2;
    border-radius: 20px;
}
.activate-step-checklist [class*="col-"] .fa {
    font-size: 32px !important;
    vertical-align: middle;
    color: #167ED7 !important;
}
.emi-only {
    display: none;
}
.activation-text {
    padding: 10px 20px;
    color: #fff;
    background-color: #dc3545;
    text-transform: uppercase;
}
.step .emi-only .fa.fa-info-circle  {
    color: #fff !important;
}
#plan_list .panel-collapse label input[type="radio"], #device_list .panel-collapse label input[type="radio"] {
    height:0;
    margin:0;
    padding:0;
}
.payment-methods.panel-collapse i {
    font-size: 20px;
    margin-bottom: 6px;
    display: block;
}
.payment-methods .card {
    text-align: center;
}
.payment-methods .card:hover {
    cursor: pointer;
}
.payment-methods .btn-check:checked+.btn:focus {
    color: #fff;
    background-color: #6c757d
}
.payment-methods .btn-check:checked+.btn {
    color: #fff !important;
    background-color: #6c757d !important;
}
form[name="activate-step-checkout"] .btn .money, form[name="activate-step-checkout"] .btn .money:before {
    color: #fff;
}
.din-condensed-bold, #plan_list label input + span {
    font-family: "URWDINCond-Bold", sans-serif;
    font-weight: 300;
    font-style: normal;
    text-shadow: none;
    text-transform: uppercase;
}
.aboriginal-tax-exempt p.din-condensed-medium {
    font-family: "URWDIN-Medium", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-shadow: none;
    font-size: 18px;
}
.btn-check + label {
    position: relative;
    padding-right: 30px;
    cursor: pointer;
}

.btn-check:checked + label::after {
    content: "\f00c"; /* Font Awesome checkmark */
    font-family: "Font Awesome 5 Free"; /* stylelint-disable-line */
    font-weight: 900;
    position: absolute;
    right: 8px;
    top: 5px;
    color: #000;
}

.btn-check + label::after, .btn-group .btn-check:checked + label::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 5px;
}
.qiniq-account .fa-circle {
    color: #9b3d9b !important;
}
.ssi-account .fa-circle {
    color: #172c3e !important;
}
.emi-account .fa-circle {
    color: #469b46 !important;
}

.conditional-field:not(:empty):before {
    content: "(";
}
.conditional-field:not(:empty):after {
    content: ")";
}

/* ---------------------------------------------------
    Stepper
----------------------------------------------------- */
.step .list-group-item:hover {
    background-color: #fff;
    cursor: pointer;
}
.step .card.selected .list-group-item:hover {
    background-color: #eeffe4;
}
.stepper {
    background-color: #fff;
    padding: 40px 0 20px;
    counter-reset: stepcnt; /* Initialize the counter */
    display: flex; /* Use flexbox for layout */
    flex-direction: column;
    min-width: 800px; /* Set minimum width */
    overflow-x: auto; /* Allow horizontal scrolling */
}

.step-count::after {
    counter-increment: stepcnt; /* Increment the counter */
    content: counter(stepcnt); /* Display the counter */
}

.stepper-inner {
    display: flex; /* Use flexbox for inner container */
    justify-content: center; /* Center the steps */
    position: relative;
    margin-bottom: 0; /* Add some margin for spacing */
    flex-wrap: nowrap; /* Prevent wrapping to a new line */
}

.stepper .nav-tabs {
    display: flex; /* Use flexbox for tabs */
    justify-content: space-between; /* Space tabs evenly */
    width: 100%; /* Ensure it takes the full width */
    margin-bottom: 0;
    border-bottom-color: transparent;
}

.stepper .nav-tabs > li {
    flex: 1; /* Allow each tab to grow equally */
    text-align: center; /* Center-align text */
}

.stepper .nav-tabs > li a {
    display: flex; /* Flexbox for centering content */
    flex-direction: column; /* Stack badge and text */
    align-items: center; /* Center horizontally */
    justify-content: center; /* Center vertically */
    width: 100%; /* Full width */
    padding: 10px 0; /* Adjust padding */
    border-radius: 100%; /* Rounded badge */
    background-color: transparent;
    position: relative;
}

.stepper .nav-tabs > li a i {
    margin-top: 10px; /* Space between icon and text */
    font-style: normal;
    font-weight: 400;
    white-space: nowrap;
    font-size: 12px;
    color: #000;
}

.stepper li .badge {
    background-color: #fff;
    color: #000;
    border: 1px solid #ddd;
}

.stepper li.active .badge {
    background: #7857de;
    color: #fff;
    border-color: #7857de;
}

.stepper .nav-tabs > li.active > a i {
    color: #7857de;
}
.stepper .nav-tabs li a {
   border: 0 !important;
}
.connecting-line {
    height: 2px;
    background: #e0e0e0;
    position: absolute;
    width: calc(100%); /* Adjust width to leave space for the badges */
    left: 0; /* Center the line, leaving space for the badges on the sides */
    top: 25%; /* Position it in the middle */
    transform: translateY(-25%); /* Center it vertically */
    z-index: 0;
}

.stepper li:after {
    content: " ";
    position: absolute;
    left: 46%;
    opacity: 0;
    margin: 0 auto;
    bottom: 0;
    border: 5px solid transparent;
    border-bottom-color: red;
    transition: 0.1s ease-in-out;
}

.stepper .nav-tabs li a:focus,
.stepper .nav-tabs li a:hover {
    border-color: transparent !important;
}

#selected_blockquote.btn-link {
    text-decoration: none !important;
}

#selected_portal_panel .card.selected .card-body {
    background-color: #eeffe4;
}

.search-result .card.selected {
    background-color: #eeffe4;
}

.search-result .card .btn-link:hover {
    color: #000;
}

.stepper li {
    display: none; /* Initially hide all steps */
}

.activate-step-activation-code #stepper-activate-step-activation-code,
.activate-step-direct-mail #stepper-activate-step-direct-mail,
.activate-step-sim-assignment #stepper-activate-step-sim-assignment,
.activate-step-create-login #stepper-activate-step-create-login,
.activate-step-customer-info #stepper-activate-step-customer-info,
.activate-step-choose-account #stepper-activate-step-choose-account,
.activate-step-choose-parent #stepper-activate-step-choose-parent,
.activate-step-add-device #stepper-activate-step-add-device,
.activate-step-addons #stepper-activate-step-addons,
.activate-step-add-more #stepper-activate-step-add-more,
.activate-step-choose-device #stepper-activate-step-choose-device,
.activate-step-plan #stepper-activate-step-plan,
.activate-step-device-info #stepper-activate-step-device-info,
.activate-step-payment-method #stepper-activate-step-payment-method,
.activate-step-checkout #stepper-activate-step-checkout,
.activate-step-complete #stepper-activate-step-complete,
.activate-step-shipping-address #stepper-activate-step-shipping-address {
    display: block; /* Display the active step */
}
.form-wrapper .btn-outline-secondary {
    background-color: #fff;
    color: #000;
}
/* ---------------------------------------------------
----------------------------------------------------- */
@media (min-width: 1600px) {
    .container-fluid.step {
        max-width: 1600px;
    }
}
@media (min-width: 1400px) {
    .activate-step-checklist .what-you-need {
        position: absolute;
        z-index: 1;
        width: 510px;
        top: 150px;
        left: 142px !important;
    }
}
@media (min-width: 1200px) {
    .activate-step-checklist .what-you-need {
        position: absolute;
        z-index: 1;
        width: 510px;
        top: 150px;
        left: 80px;
    }
}
@media (max-width: 1199px) {
    .activate-step-checklist .what-you-need {
        border:20px solid #3e3179;
        border-radius: 15px;
        padding: 20px;
        margin-top: 30px;
    }
}
@media (min-width: 992px) {
    #selected_blockquote .col-lg-6:first-child {
        margin-left: 8.33333333%;
        width: 40%;
    }
    #selected_blockquote h5, #selected_blockquote p {
        text-align: left !important;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .activate-step-checklist h1, .activate-step-checklist form {
        text-align: center;
    }
}
@media (max-width: 991px) {
    .activate-step-checklist .row > * {
        text-align: center;
    }
    .activate-step-checklist .list-group-item .col-lg-9  {
        text-align: left !important;
    }
    .stepper-inner {
        flex-direction: row; /* Ensure horizontal layout on smaller screens */
    }
}
@media (min-width: 768px) {
    .hidden-xs {
        display: none;
    }
    #selected_portal_panel #selected_blockquote .blockquote > .row:first-of-type:after {
        font-family: FontAwesome, sans-serif;
        content: "\f00d";
        font-size: 40px;
        display: inline-block;
        color: #5bb75b;
        opacity: 0.6;
        position: absolute;
        top: 20px;
        right: 30px;
    }
}
@media (max-width: 767px) {
    .activate-step-checklist .container {
        max-width:100% !important;
    }
    .connecting-line {
        top: 32%; /* Position it in the middle */
    }
    .activate-step-activation-code img {
        max-width: 100%;
    }
}
@media (max-width: 575px) {
    .activate-step-checklist .row > * {
        text-align: center;
    }
    .activate-step-checklist .list-group-item .col-lg-9  {
        text-align: center !important;
    }
    .mb-xs-5 {
        margin-bottom: 20px;
    }
    .account-search label.btn {
        width: 100%;
    }
    .input-group.q .input-group-text {
        display: none;
    }
    .input-group .form-floating.d-flex , .input-group .form-floating button.d-flex {
        display: block !important;
        width: auto;
    }
    .col-xs-6 {
        width: 50% !important;
    }
}
