: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 #f3f3f4; */
    /* border-top: 8px solid #f3f3f4; */
    /* padding: 1.1rem;
    margin-bottom: 50px; */
}
.questions-section label{
    font-weight: normal;
}






.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; */
}

.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;
}