/*! Possibly.com Advertorial CSS - September 2022 */
:root {
    --grey: #f5f5f5;
    --green: #43C801;
    --red: #f54d3e;
    --red-dark: #db1c0b;
    --red-light: #F87A6E;
    --yellow: #ffcc00;
    --orange: #ff8800;
    
    --primary: var(--green);
    --secondary: var(--red);

    --button-color: var(--secondary);
    --button-shadow-color: var(--red-dark);
    --button-hover-color: var(--red-light);
    
    --highlighted-color: var(--primary);
    --highlighted-bgcolor: var(--primary);
    --frontpage-form-top-position: -620px; /* Adjusts the position of the form away from the lead title on large screens. Lower is farther */
    
    --qb-wrapper-bg: #F7F7F7;
    --qb-bg: var(--green);
    --qb-button-bg: #fff;
    --qb-button-hover-bg: linear-gradient(#fff,#eee);
}

html,body {
    font-family: 'Proxima Nova','Open Sans',sans-serif !important;
}

header {
    background-color: #fff;
    border-color: var(--primary);
    box-shadow: 0 2px 1px rgba(0,0,0,0.125);
}
.possibly-branding {
    display: block;
    max-width: 200px;
}

.header-cta-button {
    display: block;
    padding: 0.5rem;
    color: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-transform: capitalize;
    text-decoration: none;
    background-color: var(--yellow);
    border-radius: 6px;
    box-shadow: 0 3px 1px rgba(0,0,0,0.125);
    text-shadow: 0 1px rgba(255,255,255,0.75);
    transition: 100ms ease-in-out;
    animation: pulse 1.8s infinite both;
}
.header-cta-button:hover {
    color: #fff;
    background-color: var(--orange);
    box-shadow: 0 6px 8px rgba(0,0,0,0.25);
    text-shadow: none;
    transform: scale(1.05) translateY(-4px);
    animation: 0;
}
.header-cta-button:active {
    box-shadow: none;
    transform: translateY(0);
}
@media (min-width: 576px) {
    .header-cta-button {
        padding: 0.75rem 1rem;
    }
}
@media (min-width: 768px) {
    .header-cta-button {
        font-size: 1.125rem;
    }
}

.text-attention {
    color: var(--orange) !important;
}
.text-attention a,
.text-attention a:hover,
.text-attention a:visited {
    color: inherit;
    text-decoration: underline;
}

.content {
    margin: 8rem auto 2rem;
}

.content h1,
.content h2,
.content h3 {
    font-family: 'Open Sans',sans-serif !important;
    font-weight: 700;
    line-height: 1.1;
}

.content h2 {
    margin-top: 2rem;
}

/* Quizbox */
.quiz-box-wrapper {
    margin-bottom: 2rem;
    padding: 1rem;
    text-align: center;
    background-color: var(--qb-wrapper-bg);
    border: 1px solid #ddd;
    border-radius: 0.5rem;
}
.quiz-box {
    max-width: 768px;
    margin: auto;
}
.quiz-box-title {
    color: var(--green);
    font-size: 1.15rem;
    text-transform: capitalize;
}
.quiz-box-content {
    padding: 1rem;
    background-color: var(--qb-bg);
    border-radius: 0.25rem;
}
.quiz-box .question {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
}
.quiz-box .answer-row {
    margin-left: -5px;
    margin-right: -5px;
}
.quiz-box .answer-column {
    position: relative;
    flex: 1 0;
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 0.5rem;
}
@media (min-width: 576px) {
    .quiz-box .answer-row.span-3 {
        display: flex;
        flex-wrap: wrap;
    }
    .span-3 .answer-column {
        flex: 1 0 50%;
    }
}
@media (min-width: 768px) {
    .quiz-box .answer-row:not(.span-3) {
        display: flex;
    }
    .span-3 .answer-column {
        flex: 1 0 33.333%;
    }
}
.quiz-box .answer-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 1rem 0.5rem;
    color: inherit;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0.3rem;
    cursor: pointer;
    transition: 200ms ease-in-out;
}
.quiz-box .answer-button.icon-inline {
    padding: 0.5rem 1rem;
}
.quiz-box .answer-button.button-inline:not(.icon-inline) {
    justify-content: center;
}
.quiz-box .answer-button:hover {
    background-image: var(--qb-button-hover-bg);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    transform: translate3d(0,0,0) scale3d(1.075,1.075,1) rotate(0deg);
    z-index: 10;
}
.quiz-box .answer-button:active {
    background: var(--yellow);
    box-shadow: none;
    transform: none;
}
.quiz-box .answer-button .label {
    display: block;
    font-size: 1rem;
    font-weight: bold;
    line-height: normal;
}
.quiz-box .answer-button .label-image {
    display: inline-block;
    width: 48px;
    height: 48px;
    margin-bottom: 0.25rem;
}
.quiz-box .answer-button.icon-inline .label-image {
    width: 32px;
    height: 32px;
}
.quiz-box .answer-button .label-image img {
    width: 100%;
    height: auto;
}
.quiz-box .answer-button .label-image + .label {
    margin-left: 1rem;
    text-align: left;
}
@media (min-width: 576px) {
    .quiz-box .answer-button .label {
        font-size: 1.125rem;
    }
}
@media (min-width: 768px) {
    .quiz-box .answer-button:not(.button-inline) {
        justify-content: center;
    }
    .quiz-box .answer-button:not(.button-inline) .label-image {
        flex: 0 0 48px;
    }
    .quiz-box-title {
        font-size: 1.5rem;
    }
    .quiz-box .answer-button:not(.button-inline) {
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
    }
    .quiz-box .answer-button:not(.button-inline) .label-image + .label {
        margin-left: 0;
        font-size: 0.75rem;
        text-align: center;
    }
}

/* Numbered list */
.numbered-list {
    padding-left: 0;
    list-style: none;
    counter-reset: steps;
}
.numbered-list li {
    position: relative;
    margin-bottom: 0.25rem;
    padding-left: 1.75rem;
    counter-increment: steps;
    line-height: normal;
}
.numbered-list li::before {
    content: counter(steps);
    display: inline-grid;
    place-items: center;
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.5rem;
    color: #fff;
    font-size: 0.675em;
    font-weight: 700;
    line-height: 1.2rem;
    background: var(--green);
    border-radius: 30px;
    
    position: absolute;
    left: 0;
}

.footer-cta {
    text-align: center;
}
.footer-cta-button {
    display: block;
    width: 100%;
    max-width: 768px;
    margin: 2rem auto;
    padding: 1rem;
    color: inherit;
    font-size: 1.5rem;
    font-size: clamp(1.125rem, 4vw, 1.5rem);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px rgb(255 255 255 / 75%);
    text-transform: capitalize;
    background-color: var(--yellow);
    border-radius: 0.5rem;
    box-shadow: 0 3px 1px rgb(0 0 0 / 13%);
    transition: 100ms ease-in-out;
}
.footer-cta-button:hover {
    color: #fff;
    background-color: var(--orange);
    text-shadow: none;
    box-shadow: 0 6px 8px rgb(0 0 0 / 25%);
    transform: translateY(-2px);
}
.footer-cta-button:active {
    box-shadow: none;
    transform: translateY(0);
}

/* Map */
.cta-map-wrapper {
    text-align: center;
}
.cta-map-wrapper > a {
    display: inline-block;
}
.cta-map-wrapper img {
    width: 100%;
}

/* Footer */
footer {
    text-align: center;
    background-color: var(--grey);
}
footer a {
    color: inherit;
    text-decoration: none;
}
footer a:hover {
    color: var(--bs-dark-rgb);
}
footer .footer-links {
    display: flex;
    justify-content: center;
    margin: 1rem -5px;
    padding-left: 0;
    list-style: none;
}
footer .footer-links a {
    padding-left: 5px;
    padding-right: 5px;
}

/* Animations */
@keyframes pulse {
    from { transform: scale3d(1, 1, 1); }
    10% { transform: scale3d(0.9, 0.9, 0.9); } 
    15% { transform: scale3d(0.98, 0.98, 0.98); }
    25% { transform: scale3d(0.88, 0.88, 0.88); }
    50% { transform: scale3d(1, 1, 1); }
}

.pulse {
  animation-name: pulse;
  animation-timing-function: ease-in-out;
}


.text-primary {
    color: var(--green) !important;
}

/* Slider */
.sliderContainer {
    position: relative;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bs-gray-100);
    border: 1px solid #ddd;
    border-radius: 0.5rem;
}
.showSlide img {
    width: 100%;
    max-width: 300px;
}
.showSlide .slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 576px;
    margin: auto;
}
.showSlide .slide-content > h5 {
    margin-bottom: -3rem;
    font-size: clamp(1.125rem, 4vw, 1.75rem);
    font-weight: 700;
    line-height: 1;
    text-align: center;
}
.sliderNav {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
    color: var(--bs-gray-200);
    font-size: 2.5rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.sliderNav:hover {
    color: var(--primary);
    background-color: rgba(255,255,255,0.25);
}
.sliderNav.right {
    left: auto;
    right: 0;
}