/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

:root {
    --brand: #2e7d32;
    --brand-dark: #1b5e20;
    --brand-light: #e8f5e9;
    --brand-accent: #f9a825;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
    font-family: 'Trade Winds', cursive;
    font-size: x-large;
}

/* Provide sufficient contrast against white background */
a {
    color: var(--brand);
}

a:hover {
    color: var(--brand-dark);
}

.btn-success {
    background-color: var(--brand);
    border-color: var(--brand);
}

.btn-success:hover,
.btn-success:focus,
.btn-success:not(:disabled):not(.disabled):active {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
}

.btn-outline-success {
    color: var(--brand);
    border-color: var(--brand);
}

.btn-outline-success:hover {
    background-color: var(--brand);
    border-color: var(--brand);
}

.badge-success {
    background-color: var(--brand);
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: #fff;
}

.footer {
    padding: 1.25rem 0;
    margin-top: 2rem;
    font-size: .9rem;
}

/* Landing page
-------------------------------------------------- */
.hero {
    background: linear-gradient(135deg, var(--brand-light) 0%, #f1f8e9 100%);
    border-radius: 1rem;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--brand-dark);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-actions .btn {
    margin: .25rem .5rem .25rem 0;
}

.hero-img-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 .75rem 1.5rem rgba(46, 125, 50, .2);
}

.hero-img {
    width: 200px;
    height: auto;
    mix-blend-mode: multiply; /* hides the JPG's light background against the white circle */
}

.section {
    margin-bottom: 3.5rem;
}

.section-title {
    font-weight: 700;
    margin-bottom: .75rem;
}

.section-lead {
    max-width: 720px;
    color: #555;
    margin-bottom: 1.5rem;
}

.reason-card {
    border: 0;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .06);
}

.reason-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--brand-light);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.step {
    padding: 0 .5rem;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .75rem;
}

.cta-banner {
    background: var(--brand);
    color: #fff;
    border-radius: 1rem;
    padding: 2.5rem 1.5rem;
    margin-bottom: 1rem;
}

.cta-banner h2 {
    font-weight: 700;
}

.accordion .card-header {
    background: #fff;
    padding: 0;
}

.accordion .btn-link {
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: #212529;
    text-decoration: none;
}

.accordion .btn-link:hover {
    color: var(--brand);
}

/* Product cards
-------------------------------------------------- */
.product-card {
    border: 1px solid #e5e5e5;
    position: relative;
    overflow: visible;
    transition: transform .15s ease, box-shadow .15s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .1);
}

.product-card-featured {
    border-color: var(--brand);
}

.product-badge {
    position: absolute;
    top: -.7rem;
    left: 1rem;
    font-size: .75rem;
    padding: .35em .7em;
    z-index: 1;
}

.product-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--brand-light);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.product-price {
    font-size: 1.1rem;
}

.disclosure {
    max-width: 820px;
}

/* Results page
-------------------------------------------------- */
.summary-card {
    border: 0;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .06);
}

.tier-badge {
    font-size: 1rem;
    vertical-align: baseline;
}

.tier-scale .badge {
    font-size: .8rem;
    margin-right: .25rem;
}

.factor-list {
    list-style: none;
    padding-left: 0;
}

.factor-list li {
    margin-bottom: .25rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}

.stat {
    background: #f8f9fa;
    border-radius: .75rem;
    padding: .75rem;
    text-align: center;
}

.stat-highlight {
    background: var(--brand-light);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1.1;
}

.stat-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #666;
}

/* Quiz
-------------------------------------------------- */
.quiz-wrap {
    max-width: 720px;
}

/*CUSTOM SLIDER CSS*/
.slidecontainer {
    width: 100%; /* Width of the outside container */
}

.slidervalue {
    width: 25px;
    height: 25px;
    vertical-align: central;
    padding-left: 2em;
    line-height: 25px;
    text-align: center;
}

/* The slider itself */
.slider {
    -webkit-appearance: none; /* Override default CSS styles */
    appearance: none;
    width: 100%; /* Full-width */
    height: 25px; /* Specified height */
    background: #d3d3d3; /* Grey background */
    outline: none; /* Remove outline */
    opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
    -webkit-transition: .2s; /* 0.2 seconds transition on hover */
    transition: opacity .2s;
}

    /* Mouse-over effects */
    .slider:hover {
        opacity: 1; /* Fully shown on mouse-over */
    }

    /* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
    .slider::-webkit-slider-thumb {
        -webkit-appearance: none; /* Override default look */
        appearance: none;
        width: 25px; /* Set a specific slider handle width */
        height: 25px; /* Slider handle height */
        background: var(--brand); /* Green background */
        cursor: pointer; /* Cursor on hover */
    }

    .slider::-moz-range-thumb {
        width: 25px; /* Set a specific slider handle width */
        height: 25px; /* Slider handle height */
        background: var(--brand); /* Green background */
        cursor: pointer; /* Cursor on hover */
    }

/*END CUSTOM SLIDER CSS*/

/* Guides: index cards, in-page links, and the article body */
.guide-link {
    display: block;
    height: 100%;
    padding: .9rem 1rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: .6rem;
    color: inherit;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.guide-link:hover,
.guide-link:focus {
    border-color: #2e7d32;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .07);
    text-decoration: none;
    color: inherit;
}

.guide-category {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #2e7d32;
    margin-bottom: .2rem;
}

.guide-title {
    display: block;
    font-weight: 700;
    line-height: 1.3;
}

.guide-description,
.guide-meta {
    display: block;
    font-size: .85rem;
    color: #6c757d;
    margin-top: .25rem;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.7;
}

.article-body h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: .6rem;
}

.article-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 1.5rem;
}

.article-body ul,
.article-body ol {
    padding-left: 1.2rem;
}

.article-body li {
    margin-bottom: .4rem;
}

.article-body table {
    width: 100%;
    margin: 1rem 0;
    font-size: .95rem;
    display: block;
    overflow-x: auto;
}

.article-body th,
.article-body td {
    border: 1px solid #e5e5e5;
    padding: .45rem .6rem;
    text-align: left;
}

.article-cta {
    background: #f1f8f2;
    border: 1px solid #cfe8d2;
    border-radius: .6rem;
    padding: 1.1rem 1.25rem;
}
