#app {
    max-width: 1140px;
    margin: 0 auto 1.5em auto;
    position: relative;
    box-sizing: border-box;
}
#app * {
    box-sizing: border-box;
}
#app-inner {
    background-color: #f2f2f2;
    padding: 1em;
    position: relative;
}
#app .question {
    display: none;
    clear: both;
}
#app #questions-container {
    min-height: 250px;
    padding-top: 2em;
}
#app .section p, 
#app .section label {
    font-size: 1.143rem;
}
#app-results-container {
    text-align: center;
    clear: both;
    display: none;
}
#app #questions-container h2 {
    line-height: 1.2em;
    font-weight: 600;
    font-size: 1.286rem;
}
#app-results-container .btn {
    color: #fff;
    background-color: #ed1d24;
    border: 1px solid #ed1d24;
    font-size: 17px;
    padding: 16px 3em;
    display: inline-block;
    text-align: center;
    margin-top: 1em;
    text-decoration: none;
    font-weight: 500;
    transition: background-color .3s,color .3s;
}
#app-results-container .btn:hover {
    border: 1px solid #ed1d24;
    background-color: transparent;
    color: #ed1d24;
}
#app .form-check {
    clear: both;
    position: relative;
    height: 50px;
}
#app .form-check-input {
    position: absolute;
    display: none;
}
#app .form-check-input + label {
    position: relative;
    display: block;
    padding-left: 45px;
    cursor: pointer;
    vertical-align: middle;
    float: left;
    padding-top: 5px;
    min-width: 300px;
    font-weight: 300;
}
#app .form-check-input + label:before {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    width: 30px;
    height: 30px;
    content: '';
    border-radius: 50%;
    box-sizing: border-box;
    border: 1px solid #c0c0c0;
    background-color: #fff;
}
#app .form-check-input:checked + label:before {
    border: #529736;
    background: #529736;
    animation-name: none;
}
#app .form-check-input + label:after {
    position: absolute;
    content: '';
    top: 2px;
    left: 10px;
    box-sizing: border-box;
    width: 11px;
    height: 20px;
    transform: rotate(45deg);
    border-width: 4px;
    border-style: solid;
    border-color: transparent;
    border-top: 0;
    border-left: 0;
}
#app .form-check-input:checked + label:after {
    display: block;
    border-color: #fff;
}
#app .form-check-label span:not(.note-toggle) {
    display: inline-block;
    margin-top: -7px;
}
#app .form-check-label em {
    display: block;
    font-size: 0.9rem;
    font-style: normal;
}
#app #questions-container, 
#app .question {
    position: relative;
}
#app button {
    background-color: #529736;
    border: 1px solid #529736;
    border-radius: 2px;
    padding: 0.25em 0.75em;
    color: #fff;
    font-size: 1.65rem;
    transition: background-color .3s, color .3s;
    min-width: auto;
    width: auto;
}
#app button:hover {
    cursor: pointer;
}
#app .next-button {
    float: right;
}
#app button span {
    font-size: 0;
    text-indent: -999999px;
    color: transparent;
}
#app button:hover {
    background-color: #B2D235;
    border-color: #B2D235;
}
#app button[disabled] {
    background-color: #e6e6e6;
    border-color: #e6e6e6;
    pointer-events: none;
    cursor: not-allowed;
}
#app #background-container {
    display: inline-block;
    width: 240px;
    height: 240px;
    position: absolute;
    left: 22%;
    top: 15%;
}
@media (min-width: 260px) and (max-width: 767px) {
    #app #background-container {
        display: none !important;
        background: none !important;
        background-image: none !important;
    }
    #app .question {
        left: 0;
    }
    #app .form-check-input + label {
        min-width: auto;
    }
    #app button {
        margin: 0.25em 0 0.75em 0;
        font-size: 1.5rem;
    }
    #app-results-container {
        padding: 0;
    }
}
@media (min-width: 768px) {
    #app #background-container {
        background-image: url(img/business_type_general.png);
        background-repeat: no-repeat;
        display: inline-block;
        width: 240px;
        height: 240px;
        position: absolute;
        left: 10%;
        top: 15%;
    }
    #app .question {
        left: 30%;
        width: 500px;
    }
    #app-results-container h2 {
        padding: 0.5em 2.5em;
    }
    #app #progress-nav {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50px);
        overflow: auto;
        width: 100%;
    }
    #app button {
        margin: 0 1em;
        font-size: 1.65rem;
        position: absolute;
        top: 50%;
        transform: translateY(-100%);
    }
    #app .next-button {
        right: 0;
        left: auto;
    }
    #app .back-button {
        left: 0;
    }
    #app-results-container {
        padding: 0 5em;
    }
    #app .form-check {
        overflow: auto;
    }
}
@media (min-width: 992px) {
    #app .question {
        position: absolute;
        left: 30%;
    }
}

#app .question.active,
#app .rate.active {
    display: block;
}
#app .progress-bar {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0 auto 1rem auto;
    width: 250px;
}
#app .progress-bar li {
    flex: 2;
    position: relative;
    padding: 0 0 14px 0;
    font-size: .875rem;
    line-height: 1.5;
    color: #53a318;
    font-weight: 600;
    white-space: nowrap;
    overflow: visible;
    min-width: 0;
    text-align: center;
    border-bottom: 2px solid #e6e6e6;
}
#app .progress-bar li:first-child,
#app .progress-bar li:last-child {
    flex: 1;
}
#app .progress-bar li:last-child {
    text-align: right;
}
#app .progress-bar li:before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid #fff;
    position: absolute;
    left: calc(50% - 6px);
    bottom: -7px;
    z-index: 3;
    transition: all .2s ease-in-out;
}
#app .progress-bar li:first-child:before {
    left: 0;
}
#app .progress-bar li:last-child:before {
    right: 0;
    left: auto;
}
#app .progress-bar span {
    transition: opacity .3s ease-in-out;
    display: none;
}
#app .progress-bar li:not(.is-active) span {
    opacity: 0;
}
#app .progress-bar .is-complete:not(:first-child):after,
#app .progress-bar .is-active:not(:first-child):after {
    content: "";
    display: block;
    width: 100%;
    position: absolute;
    bottom: -2px;
    left: -50%;
    z-index: 2;
    border-bottom: 2px solid #53a318;
}
#app .progress-bar li:last-child span {
    width: 200%;
    display: none;
    position: absolute;
    left: -100%;
}
#app .progress-bar .is-complete:last-child:after,
#app .progress-bar .is-active:last-child:after {
    width: 200%;
    left: -100%;
}
#app .progress-bar .is-complete:before {
    background-color: #53a318;
}
#app .progress-bar .is-active:before {
    background-color: #fff;
    border-color: #53a318;
    border-width: 2px;
}
#app-results-container {
    position: relative;
}
#app-results-container h2 {
    font-size: 2.143rem;
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto;
}
#app-results-container .contentcard.section,
#app-results-container .content-card {
    padding-top: 0;
}
#app-results-container .col-md-6 {
    padding: 0;
}
#app-results-container .column-control {
    margin-top: 1.5em;
}
@media (min-width:992px) {
    #app-results-container .column-control {
        margin-top: 0;
    }
    #app-results-container .col-md-6 {
        padding: 0 2em;
    }
}
#app-results-container .eligibility {
    background-color: #f2f2f2;
    padding: 0.5em 1em;
    text-align: center;
    font-weight: 600;
    margin-bottom: 1em;
}
#app-results-container .reset-container #reset-advisor {
    text-decoration: none;
    font-weight: 500;
    color: #337ab7;
    font-size: 1.143rem;
    margin-bottom: 0.5em;
    border: 1px solid #007db9;
    padding: 0.75em;
    display: inline-block;
}
#app-results-container #reset-advisor i {
    display: inline-block;
    margin-right: 5px;
    font-size: 1.25rem;
}
#app-cta.ff-cta {
    text-align: center;
}
#app-cta.ff-cta a {
    color: #000;
    display: inline-block;
}
#app .modal-toggle {
    display: none;
}
#app .fa.fa-info-circle {
    color: #529736;
    cursor: pointer;
    position: relative;
    margin-left: 10px;
    margin-top: 8px;
}
#app .note-toggle {
    display: inline-block;
}
#app div.note-toggle {
    font-size: 1rem;
    margin-bottom: 1.5em;
}
@media (min-width: 550px) {
    #app .note-toggle {
        display: none;
    }
    #app .modal-toggle {
        display: block;
    }
}