:root {
    --jp-blue: #2b669a;
    --jp-charcoal: #43484b;
    --jp-green: #4a7e18;
}

body {
    color: #212529;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.skip-link {
    background: #fff;
    color: #212529;
    left: 1rem;
    padding: .75rem 1rem;
    position: fixed;
    top: -5rem;
    z-index: 1100;
}

.skip-link:focus {
    top: 1rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 3px;
}

a {
    color: var(--jp-blue);
    text-decoration: none;
}

a:hover {
    color: #2a6496;
    text-decoration: underline;
}

p {
    font-size: 18px;
}

body h1,
body .h1,
body h2,
body .h2 {
    color: var(--jp-charcoal);
    font-weight: 300;
}

body h3,
body .h3,
body .h5 {
    color: var(--jp-green);
    font-weight: 400;
}

body h1,
body .h1 {
    font-size: 2.5rem;
}

body h2,
body .h2 {
    font-size: 2rem;
}

body h3,
body .h3 {
    font-size: 1.75rem;
}

body .h5 {
    font-size: 1.25rem;
}

.btn-dark {
    --bs-btn-bg: #555;
    --bs-btn-border-color: #555;
    --bs-btn-hover-bg: #444;
    --bs-btn-hover-border-color: #444;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

.container,
.container-fluid,
.row {
    --bs-gutter-x: 30px;
}

#topBar {
    background: #eff4f8;
    border-bottom: 1px solid #dfdfdf;
}

.top-info {
    margin-bottom: 0;
    padding-top: 1rem;
    text-align: right;
}

.top-info li {
    display: inline-block;
    margin-left: 1em;
}

.top-info i {
    color: #8c9195;
    margin-right: 1em;
}

.navbar-brand img {
    max-height: 91px;
}

.navbar {
    padding-left: 1rem;
    padding-right: 1rem;
}

#menu-main-menu > .menu-item > .nav-link {
    padding-left: 1em;
    padding-right: 1em;
    text-transform: uppercase;
    white-space: nowrap;
}

#menu-main-menu .dropdown-menu {
    background: #fff;
    border: 1px solid #dfe7ed;
    border-top: 4px solid var(--jp-green);
    border-radius: 6px;
    box-shadow: 0 10px 28px rgb(20 24 28 / 14%);
    margin-top: 0;
    min-width: 20rem;
    padding: .4rem;
}

#menu-main-menu .dropdown-toggle::after {
    border: solid currentcolor;
    border-width: 0 2px 2px 0;
    height: .45rem;
    margin-left: .55rem;
    transform: translateY(-.15rem) rotate(45deg);
    transition: transform .16s ease;
    vertical-align: middle;
    width: .45rem;
}

#menu-main-menu .dropdown-toggle[aria-expanded="true"]::after,
#menu-main-menu .menu-item-has-children:hover .dropdown-toggle::after {
    transform: translateY(.1rem) rotate(225deg);
}

#menu-main-menu .dropdown-item {
    border-left: 3px solid transparent;
    border-radius: 4px;
    color: var(--jp-charcoal);
    font-size: .95rem;
    line-height: 1.25;
    min-height: 44px;
    padding: .7rem .8rem;
    text-transform: none;
    white-space: normal;
}

#menu-main-menu .dropdown-item:hover,
#menu-main-menu .dropdown-item:focus {
    background: #eff4f8;
    border-left-color: var(--jp-green);
    color: #214f73;
    text-decoration: none;
}

#menu-main-menu .dropdown-overview {
    border-bottom: 1px solid #dfe7ed;
    color: var(--jp-blue);
    font-weight: 600;
    margin-bottom: .25rem;
}

@media (min-width: 992px) {
    #menu-main-menu .menu-item-has-children:hover .dropdown-menu {
        display: block;
    }
}

@media (max-width: 991.98px) {
    #menu-main-menu .dropdown-menu {
        background: #f6f9fb;
        border: 0;
        border-left: 4px solid var(--jp-green);
        border-radius: 0 6px 6px 0;
        box-shadow: none;
        margin: .25rem 0 .5rem;
        min-width: 0;
        padding: .25rem 0 .25rem .35rem;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #menu-main-menu .dropdown-toggle::after {
        transition: none;
    }
}

#content article {
    margin: 40px 0;
}

#content article a:not(.btn),
.privacy-policy-page a,
#contact a {
    text-decoration: underline;
}

#content section {
    margin-bottom: 50px;
}

.fullwidth-header {
    background-image: url("../images/bread-bg.jpg");
}

.fullwidth-header h1 {
    color: #fff;
    padding-bottom: .5em;
    padding-top: .5em;
}

.front-page-section {
    background-position-x: 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.front-page-section header {
    margin: 40px 0;
}

.front-page-section header h2 {
    display: inline-block;
    font-size: 28pt;
}

.front-page-section header h2::after {
    background: #d3dadf;
    content: "";
    display: block;
    height: 2px;
    margin: .5em auto 0;
    width: 60%;
}

#mainCarousel .carousel-caption {
    bottom: 50%;
    text-align: left;
    transform: translateY(50%);
}

#mainCarousel .carousel-caption h3 {
    color: #fff;
}

#mainCarousel .carousel-caption-dark,
#mainCarousel .carousel-caption-dark h3 {
    color: #555;
}

.carousel-indicators [data-bs-target] {
    background-color: #555;
}

.carousel-indicators .active {
    background-color: #88d53f;
}

.carousel-control-prev .fa,
.carousel-control-next .fa {
    color: #555;
    font-size: 16pt;
}

.portfolio-items {
    overflow: hidden;
}

.portfolio-items .portfolio-item {
    padding: 0;
}

.portfolio-items .portfolio-item img {
    opacity: .8;
    transition: opacity .5s, transform .5s;
    width: 100%;
}

.portfolio-items .portfolio-item:hover {
    z-index: 1;
}

.portfolio-items .portfolio-item:hover img {
    opacity: 1;
    transform: scale(1.06);
}

#partners img {
    margin: 0 .2rem;
}

#contact {
    background: #88d53f;
    color: #212529;
    margin-bottom: 0 !important;
    padding-top: 1em;
}

#contact header h2 {
    color: #212529;
}

#contact .contact-right {
    font-size: 16pt;
    font-weight: 300;
}

.contact-form-notice {
    color: #34383b;
    font-size: 14px;
    line-height: 1.45;
    margin: 0 0 1rem;
}

.contact-form-notice a {
    color: #214f73;
    font-weight: 600;
}

#contact .contact-right a {
    color: #214f73;
}

#contact .contact-form-notice a:hover,
#contact .contact-right a:hover {
    color: #16364f;
}

.contact-honeypot {
    left: -10000px;
    position: absolute;
}

body > footer {
    background: #14181c;
    color: #8c9195;
}

body > footer > .container {
    padding-bottom: 2rem;
    padding-top: 2rem;
}

body > footer .footer-widget-title {
    color: #fff;
    font-weight: 300;
    margin-bottom: 1rem;
}

body > footer a {
    color: #78bced;
}

body > footer a:hover {
    color: #a8d8f8;
}

body > footer .copyright {
    background: #000;
}

#menu-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu-footer-menu > li {
    border-bottom: 1px solid #333;
}

#menu-footer-menu > li:last-child {
    border-bottom: 0;
}

#menu-footer-menu > li > a {
    display: inline-block;
    padding-bottom: .5em;
    padding-top: .5em;
}

.copyright-link {
    color: inherit;
}

.accessibility-statement {
    font-size: .875rem;
}

.privacy-policy-page {
    padding: 3rem 0;
}

.privacy-policy-page h1 {
    margin-bottom: 1.5rem;
}

.privacy-policy-page h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
}

.privacy-policy-page p,
.privacy-policy-page li {
    font-size: 1rem;
}

.seo-results-home {
    background: #f6f9fb;
    padding: 3rem 0;
}

.seo-results-intro {
    margin: 0 auto 2rem;
    max-width: 780px;
    text-align: center;
}

.jp-proof-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 2rem 0;
}

.jp-proof-card,
.jp-proof-callout {
    background: #fff;
    border: 1px solid #dfe7ed;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgb(20 24 28 / 7%);
}

.jp-proof-card {
    padding: 1.25rem;
    text-align: center;
}

.jp-proof-callout {
    margin: 2rem 0;
    padding: 1.5rem;
}

.jp-proof-label,
.jp-results-label,
.jp-service-label {
    color: #5b6670;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.jp-proof-label {
    margin-bottom: .4rem;
}

.jp-proof-stat,
.jp-results-stat {
    color: #2f6f9f;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.jp-proof-stat {
    margin-bottom: .75rem;
}

.jp-proof-card p:last-child,
.jp-proof-callout p:last-child {
    margin-bottom: 0;
}

.jp-results-stat {
    font-size: 2.25rem;
}

#content .jp-results-card,
#content .jp-service-card {
    border-top: 4px solid var(--jp-green) !important;
    overflow: hidden;
}

.jp-results-hero-img,
.jp-results-case-img {
    display: block;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
}

.jp-results-hero-img {
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgb(20 24 28 / 16%);
}

.jp-results-case-img {
    aspect-ratio: 3 / 2;
    border-bottom: 1px solid #e4ebf0;
}

.jp-results-progress {
    background: linear-gradient(90deg, var(--jp-blue), var(--jp-green));
}

#content .jp-results-callout,
#content .jp-service-callout {
    border-left: 5px solid var(--jp-green) !important;
}

.jumbotron {
    border-radius: .3rem;
}

.badge-light {
    background: #f8f9fa;
    color: #212529;
}

.border-left {
    border-left: 1px solid #dee2e6;
}

@media (max-width: 767.98px) {
    .jp-proof-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    #content .jp-results-hero {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
}
