﻿:root {
    --bs-border-width: 1px;
    --bs-border-color: #dee2e6;
}
/* Initial state: hide the component */
.hidden {
    display: none;
}
/* Show the component */
.visible {
    display: block;
}
.form-section {
    /* border: 1px solid #f3f3f4;
    border-top: 8px solid #f3f3f4; */
    /* padding: 1.1rem;
    margin-bottom: 10px; */
}
.questions-section {
    border: 1px solid #ababab;
    padding: 2rem;
    border-radius: 5px;
}
.questions-section label{
    font-weight: normal;
}
.progress-pointer {
    position: absolute;
    bottom: 100%;
    right: 0;
    min-width: 46px;
    white-space: nowrap;
    padding-left: 5px;
    padding-right: 5px;
    transform: translateX(50%);
    margin-bottom: 5px;
    background-color: rgba(0,0,0,0);
    z-index: 1
}

.progress-pointer::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    margin-left: -5px;
    border-style: solid;
    border-color: var(--color-p2, #046b99) rgba(0,0,0,0);
    border-width: 5px 5px 0
}

.progress-bar-default {
    background-color: var(--gray-100, #ededef)
}

.progress-striped .progress-bar-default {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)
}

.progress-bar-primary {
    background-color: var(--color-p2, #046b99)
}

.progress-striped .progress-bar-primary {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)
}

.progress-bar-understated {
    background-color: var(--color-s1, #eef8fb)
}

.progress-striped .progress-bar-understated {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)
}

.progress-bar-overstated {
    background-color: var(--color-s3, #4993b5)
}

.progress-striped .progress-bar-overstated {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)
}

.progress-bar-standout {
    background-color: var(--color-p3, #323a45)
}

.progress-striped .progress-bar-standout {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)
}

.progress-bar-accent1 {
    background-color: var(--color-a1, #1b79c0)
}

.progress-striped .progress-bar-accent1 {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)
}

.progress-bar-accent2 {
    background-color: var(--color-a2, #077cbb)
}

.progress-striped .progress-bar-accent2 {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)
}

.progress-bar-accent3 {
    background-color: var(--color-a3, #258378)
}

.progress-striped .progress-bar-accent3 {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)
}

.progress-bar-accent4 {
    background-color: var(--color-a4, #32852e)
}

.progress-striped .progress-bar-accent4 {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)
}

.progress-bar-accent5 {
    background-color: var(--color-a5, #815ab4)
}

.progress-striped .progress-bar-accent5 {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)
}

.progress-bar-accent6 {
    background-color: var(--color-a6, #be37cd)
}

.progress-striped .progress-bar-accent6 {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)
}

.progress-bar-accent7 {
    background-color: var(--color-a7, #c93e2c)
}

.progress-striped .progress-bar-accent7 {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)
}

.progress-bar-accent8 {
    background-color: var(--color-a8, #bb520c)
}

.progress-striped .progress-bar-accent8 {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)
}

.progress-bar-accent9 {
    background-color: var(--color-a9, #f7e455)
}

.progress-striped .progress-bar-accent9 {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)
}

.progress-text {
    text-align: center
}

.dot-line {
    position: relative;
    display: block;
    width: 100%;
    font-size: 0;
    margin-bottom: 10px;
}

.dot-line::before,.dot-line::after {
    content: "";
    position: absolute;
    top: 50%;
    display: block;
    width: calc(50% + 30px);
    border-top-width: 1px;
    border-top-style: solid;
    margin-top: -1px
}

.dot-line::after {
    right: -30px
}

.dot-line::before {
    left: -30px
}

@media(min-width: 576px) {
    .dot-line::before,.dot-line::after {
        display:block
    }
}

@media(max-width: 768px) {
    .progress-text {
        text-align:left;
        position: relative
    }

    .progress-text p,.progress-text h2,.progress-text .h2,.progress-text h3,.progress-text .h3,.progress-text h4,.progress-text .h4,.progress-text h5,.progress-text .h5,.progress-text h6,.progress-text .h6 {
        margin-left: 3rem !important
    }

    .dot-line::before,.dot-line::after {
        display: none
    }

    .dot-line {
        position: relative;
        rotate: 0deg;
        left: .9rem;
        top: 0;
        padding-right: 0;
        width: 2rem;
        z-index: 2
    }

    .dot-text {
        position: relative;
        margin-left: -2px;
        margin-top: 3px;
        margin-bottom: 0;
        padding-left: 2rem;
        border-left: 1px solid #ddd;
        padding-bottom:30px;
    }
    .d-flex {
        display: flex !important;
    
        flex-shrink: 0;
        width: 100%;
        max-width: 100%;
        padding-right: 10px;
        padding-left: 10px;
        margin-top: 0;
    }
    

    .dot-text h3,.dot-text .h3 {
        margin-top: 0;
        margin-bottom: 0 !important
    }

    .dot-text::before {
        display: none
    }

    .d-flex:last-child .dot-text{
        border-left: 1px solid white;
    }

    .timeline-lines .col-sm-3:nth-last-of-type(2) .dot-text::before,.timeline-lines .col-sm-3:last-of-type .dot-text::before {
        background: #ddd
    }
}

.progress-bold::before,.progress-bold::after {
    top: 40%;
    border-top-width: 8px
}

.dot-line-inner {
    position: relative;
    z-index: 2;
    display: inline-block;
    width: 30px;
    height: 30px;
    border-width: 1px;
    border-style: solid;
    border-radius: 50%
}

.dot-line-inner::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    transform: translate(-50%, -50%);
    border-radius: 50%
}

.timeline-dot {
    left: -1rem;
    position: absolute;
    top: 2.25rem;
    transform: translateY(-50%);
    backface-visibility: hidden
}


.bg-primary-light {
    /* background-color: var(--color-p2-lightest, #a4c3d4) !important; */
    background-color: #ddd !important;
}

.bg-primary-light-hover:hover,.bg-primary-light-hover:focus {
    background-color: var(--color-p2-lightest, #a4c3d4) !important
}
.bg-gray-light,.bg-grey-light {
    background-color: var(--gray-100, #ededef) !important;
}

.bg-gray-light-hover:hover,.bg-gray-light-hover:focus,.bg-grey-light-hover:hover,.bg-grey-light-hover:focus {
    background-color: var(--gray-100, #ededef) !important
}


.brd-white-before::before,.brd-white-after::after {
    border-color: var(--white, #fff) !important
}

.brd-gray-light,.brd-gray-light-hover:hover,.brd-gray-light-hover:focus {
    border-color: #ddd !important;
    border:none;
}

.brd-gray-dark,.brd-gray-dark-hover:hover,.brd-gray-dark-hover:focus {
    border-color: var(--gray-900, #3b3a48) !important
}

.brd-gray,.brd-gray-hover:hover,.brd-gray-hover:focus {
    border-color: var(--gray-700, #5e5e6a) !important
}

.brd-gray-light-before::before,.brd-gray-light-after::after {
    border-color: #ddd !important
}

.brd-transparent-before::before,.brd-transparent-after::after {
    border-color: rgba(0,0,0,0) !important
}

.brd-gray-100 {
    border-color: var(--gray-100, #f3f3f4) !important
}

.brd-gray-200 {
    border-color: var(--gray-200, #d4d4d7) !important
}

.brd-gray-300 {
    border-color: var(--gray-300, #bcbbc1) !important
}

.brd-gray-400 {
    border-color: var(--gray-400, #a4a3ab) !important
}

.brd-gray-500 {
    border-color: var(--gray-50, #fafafa) !important
}

.brd-gray-600 {
    border-color: var(--gray-600, #72717c) !important
}

.brd-gray-700 {
    border-color: var(--gray-700, #5e5e6a) !important
}

.brd-gray-800 {
    border-color: var(--gray-800, #4a4958) !important
}

.brd-gray-900 {
    border-color: var(--gray-900, #3b3a48) !important
}

.brd-red {
    border-color: var(--brand-danger, #cd402d) !important
}

.brd-0 {
    border: none !important
}

.brd-right {
    border-right: solid 1px
}

.brd-left {
    border-left: solid 1px
}

.brd-top {
    border-top: solid 1px
}

.brd-bottom {
    border-bottom: solid 1px
}

.brd-dotted-1,.brd-dotted-1-before::before,.brd-dotted-1-after::after,.brd-dotted-1-hover:hover,.brd-dotted-1-hover:focus {
    border-width: 1px;
    border-style: dotted
}

.brd-solid-1,.brd-solid-1-before::before,.brd-solid-1-after::after,.brd-solid-1-hover:hover,.brd-solid-1-hover:focus {
    border-width: 1px !important;
    border-style: solid !important
}

.brd-solid-2,.brd-solid-2-before::before,.brd-solid-2-after::after,.brd-dotted-2-hover:hover,.brd-dotted-2-hover:focus {
    border-width: 2px !important;
    border-style: solid !important
}

.brd-solid-3,.brd-solid-3-before::before,.brd-solid-3-after::after,.brd-dotted-3-hover:hover,.brd-dotted-3-hover:focus {
    border-width: 3px !important;
    border-style: solid !important
}

.brd-solid-4,.brd-solid-4-before::before,.brd-solid-4-after::after,.brd-dotted-4-hover:hover,.brd-dotted-4-hover:focus {
    border-width: 4px !important;
    border-style: solid !important
}

.brd-solid-5,.brd-solid-5-before::before,.brd-solid-5-after::after,.brd-dotted-5-hover:hover,.brd-dotted-5-hover:focus {
    border-width: 5px !important;
    border-style: solid !important
}
@media(min-width: 576px) {
    .brd-sm-0 {
        border:none !important
    }

    .brd-sm-solid-1 {
        border-width: 1px;
        border-style: solid
    }

    .brd-sm-right {
        border-right: solid 1px
    }

    .brd-sm-left {
        border-left: solid 1px
    }

    .brd-sm-top {
        border-top: solid 1px
    }

    .brd-sm-bottom {
        border-bottom: solid 1px
    }
}

@media(min-width: 768px) {
    .brd-md-0 {
        border:none !important
    }

    .brd-md-solid-1 {
        border-width: 1px;
        border-style: solid
    }

    .brd-md-right {
        border-right: solid 1px
    }

    .brd-md-left {
        border-left: solid 1px
    }

    .brd-md-top {
        border-top: solid 1px
    }

    .brd-md-bottom {
        border-bottom: solid 1px
    }
}

@media(min-width: 992px) {

    .brd-lg-0 {
        border:none !important
    }

    .brd-lg-solid-1 {
        border-width: 1px;
        border-style: solid
    }

    .brd-lg-right {
        border-right: solid 1px
    }

    .brd-lg-left {
        border-left: solid 1px
    }

    .brd-lg-top {
        border-top: solid 1px
    }

    .brd-lg-bottom {
        border-bottom: solid 1px
    }
}

.pos-rel {
    position: relative !important
}

.pos-abs {
    position: absolute !important
}

.pos-stc {
    position: static !important
}

.pos-fix {
    position: fixed !important
}
.bg-primary-before::before,.bg-primary-after::after {
    background-color: #bfbfbf !important
}

.brd-primary {
    border-color: var(--color-p2, #046b99) !important
}

.brd-primary-light {
    /* border-color: var(--color-p2-lightest, #a4c3d4) !important; */
    border-color:#ddd !important;
}

.brd-primary-dark {
    border-color: var(--color-p2-darker, #214a68) !important
}

.brd-standout {
    border-color: var(--color-p3, #323a45) !important
}

.brd-standout-light {
    border-color: var(--color-p3-lightest, #aeb0b4) !important
}

.brd-standout-dark {
    border-color: var(--color-p3-darker, #242830) !important
}

.brd-highlight {
    border-color: var(--color-p1, #fdb81e) !important
}

.brd-highlight-light {
    border-color: var(--color-p1-light, #f2c45a) !important
}

.brd-highlight-dark {
    border-color: var(--color-p1-darker, #a98231) !important
}

.brd-s1 {
    border-color: var(--color-s1, #eef8fb) !important
}

.brd-s2 {
    border-color: var(--color-s2, #87b8ce) !important
}

.brd-s3 {
    border-color: var(--color-s3, #4993b5) !important
}

.brd-primary-light-before::before,.brd-primary-light-after::after {
    /* border-color: var(--color-p2-lightest, #a4c3d4) !important */
    border-color: #ddd !important

}

.brd-highlight-light-before::before,.brd-highlight-light-after::after {
    border-color: var(--color-p1-lightest, #f9e3ac) !important
}

.brd-standout-light-before::before,.brd-standout-light-after::after {
    border-color: var(--color-p3-lightest, #aeb0b4) !important
}

.brd-secondary-light-before::before,.brd-secondary-light-after::after {
    border-color: var(--color-s3-light, #a4c2d4) !important
}


.text-sm-center {
    text-align: center !important;
}


/* form check */
.form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5em;
    margin-bottom: .125rem
}

.form-check .form-check-input {
    float: left;
    margin-left: -1.5em
}

.form-check-reverse {
    padding-right: 1.5em;
    padding-left: 0;
    text-align: right
}

.form-check-reverse .form-check-input {
    float: right;
    margin-right: -1.5em;
    margin-left: 0
}

.form-check-input {
    --bs-form-check-bg: var(--bs-body-bg);
    width: 1em;
    height: 1em;
    margin-top: .25em;
    vertical-align: top;
    background-color: var(--bs-form-check-bg);
    background-image: var(--bs-form-check-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: var(--bs-border-width) solid var(--bs-border-color);
    appearance: none;
    print-color-adjust: exact
}

.form-check-input[type=checkbox] {
    border-radius: .25em
}

.form-check-input[type=radio] {
    border-radius: 50%
}

.form-check-input:active {
    filter: brightness(90%)
}

.form-check-input:focus {
    border-color: #86b7fe;
    outline: 0 !important;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25)
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd
}

.form-check-input:checked[type=checkbox] {
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")
}

.form-check-input:checked[type=radio] {
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")
}

.form-check-input[type=checkbox]:indeterminate {
    background-color: #0d6efd;
    border-color: #0d6efd;
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")
}

.form-check-input:disabled {
    pointer-events: none;
    filter: none;
    opacity: .5
}

.form-check-input[disabled]~.form-check-label,.form-check-input:disabled~.form-check-label {
    cursor: default;
    opacity: .5
}

.form-switch {
    padding-left: 2.5em
}

.form-switch .form-check-input {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
    width: 2em;
    margin-left: -2.5em;
    background-image: var(--bs-form-switch-bg);
}

/* autocomplete list style */
#autocompleteList{
    top: 40px;
    left: 0px;
    position: absolute;
    z-index: 1000;
    min-width: 10rem;
    /* padding: 0.5rem 0; */
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-clip: padding-box;
    /* border: 1px solid rgba(0,0,0,.15); */
    border-radius: 0.25rem;
    padding: 0;
  }
  #autocompleteList > *{
    list-style: none;
    display: block;
    width: 100%;
    padding: 0.3rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: #fff;
    border-left: 1px solid rgba(0,0,0,.15);
    border-right: 1px solid rgba(0,0,0,.15);
  }
  #autocompleteList > *:last-child{
    border-bottom: 1px solid rgba(0,0,0,.15);
  }

  #autocompleteList > li:hover{
    background-color: rgb(243, 243, 243);
  }

  #autocompleteList .selected{
    background-color: rgb(243, 243, 243);
  }



.has-error {
    color: #d34a37;
    font-size: 0.8rem;
    height: 18px;
    display: block;
  }

/* .app_sa__grid{
    display: grid;
    grid-template-columns: auto;
    grid-gap: 0 3%;
    grid-template-rows: auto;
    grid-template-areas:
        'question1'
        'trackerbar';
    margin-bottom: 22px;
}
question-1 {
    grid-area: question1;
}
long-term {
    grid-area: longterm;
}
self-insure {
    grid-area: selfinsure;
}
long-term {
    grid-area: longterm;
}
medi-cal {
    grid-area: medical;
}
tracker-bar {
    grid-area: trackerbar;
} */
.app_sa__grid{
    display: flex;
    flex-wrap: wrap;
}
question-1,
question-2,
question-3,
question-4,
question-5{
    order: 1;
    flex:100%
}
long-term {
    order: 1;

}
self-insure {
    order: 1;;

}
medi-cal {
    order: 1;

}
tracker-bar {
    order: 3;
    flex:100%;
    margin-top: 20px;
}


.form-section .form-group {
    margin-bottom: 2rem;
    max-width: 300px;
}

#final-results > *{
    /* margin-left: 30px; */
}
/* #final-results > *:last-child{
    margin-bottom: 50px !important;
} */
#restart-section {
    margin: 20px 0;
    order:4;
}


.questions-section ul{
    /* list-style: none; */
}
h3.options-title.visible {
    flex: 100%;
    /* margin-left: 30px; */
}
ul.option-list {
    padding-left: 10px;
}
.form-group-countyInput{
    position: relative;
    margin-top:20px;
}

#errorMsg{
    color: red;
    flex: 100%;
    position: absolute;
    top: -19px;
    font-size: 0.8rem;
  }
.errorborder{
    border: 2px solid red !important;
}
.form >*{
    display: flex
}


button.btn-primary:disabled {
    border: 1px solid #999999;
    background-color: #cccccc;
    color: #666666;
}
.btn-primary,
a.btn-primary:hover {
    border: 1px solid #2d6e8d;
}
.btn.disabled {
    cursor: not-allowed;
    opacity: 0.65;
    pointer-events: none;
}

/* Style for the entire list with class "option-list" */
.option-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* Style for the icon container in "option-list" */
.option-list .icon-container {
    flex-shrink: 0;
    margin-right: 20px;
    margin-top: 7px;
}

/* Style for the icon in "option-list" */
.option-list .icon-container i {
    font-size: 24px;
    color: #2d6e8d;
}

/* Style for the content container in "option-list" */
.option-list .content {
    flex-grow: 1;
}

/* Style for the heading in "option-list" */
.option-list .content h4 {
    margin: 0;
}

/* Style for the paragraph in "option-list" */
.option-list .content p {
    margin: 8px 0;
}

.action-btns{
    margin:20px 0 0;
}
.action-btns >*{
    margin-right:5px;
}
