/* --------------------------------------------------------------------------------------------------------------------------
 *  1 Layout
 *    1.1 Flex Box
 *    1.2 Body Placement
 *
 *  2 Page Structure
 *    2.1 Page Header
 *    2.2 Page Footer
 *
 *  3 Navigation
 *    3.1 Menus
 *      3.1.1 Pill Menu
 *    3.2 Links and Buttons
 *      3.2.1 Service Link Blocks
 *      3.2.2 On This Page Sections
 *
 *  4 Design
 *    4.1 Backgrounds
 *    4.2 Accents
 *    4.3 Typography 
 *    4.4 Colors
 *    4.5 Animations
 *
 *  5 Page Elements
 *    5.1 Images
 *    5.2 Tables
 *    5.3 Accordions 
 *
 *  6 Responsiveness
 *
 *
 * -------------------------------------------------------------------------------------------------------------------------- */

/* ---------------------------------- 1 Layout ---------------------------------- */
/* ---------------------------------- 1.1 Flex Box ---------------------------------- */
.flex-row-gap-20 {
    row-gap: 20px;
}

.flex-row-gap-30 {
    row-gap: 30px;
}

.flex-row-gap-40 {
    row-gap: 40px;
}

.flex-row-gap-50 {
    row-gap: 50px;
}

.flex-column-gap-20 {
    column-gap: 20px;
}

.flex-column-gap-30 {
    column-gap: 30px;
}

.flex-column-gap-40 {
    column-gap: 40px;
}

.flex-column-gap-50 {
    column-gap: 50px;
}

.flex-basis-25p {
    flex-basis: 25%;
}

.flex-basis-33p {
    flex-basis: 33%;
}

.flex-basis-40p {
    flex-basis: 40%;
}

.flex-basis-50p {
    flex-basis: 50%;
}

.flex-basis-60p {
    flex-basis: 60%;
}

.flex-basis-66p {
    flex-basis: 66%;
}

/* ---------------------------------- 1.2 Body Placement ---------------------------------- */

@media screen and (min-width: 1000px) {
    body {
        padding-top: 175px !important;
    }
}

@media screen (min-width: 768px) and (max-width: 999px) {
    body {
        padding-top: 275px !important;
    }
}


@media screen and (max-width: 767px) {
    body {
        padding-top: 125px !important;
    }
}


/* ---------------------------------- 2 Page Structure ---------------------------------- */
/* ---------------------------------- 2.1 Page Header ---------------------------------- */

/* ---------------------------------- 2.2 Page Footer ---------------------------------- */
/* ---------------------------------- 3 Navigation ---------------------------------- */
/* ---------------------------------- 3.1 Menus ---------------------------------- */
/* ---------------------------------- 3.1.1 Pill Menu ---------------------------------- */
.sub-nav-container {
    scrollbar-width: none;
    overflow: scroll hidden;
    padding: 5px 0px 5px 20px;
}


@media (hover: hover) {
    .sub-nav-container {
        scrollbar-width: auto;
        overflow: auto;
        scrollbar-width: thin;
    }
}

@media only screen and (max-width: 575px) {
    .sub-nav-container {
        padding-left: 15px;
    }
}

.sub-nav-row {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    width: fit-content;
    padding: 0px 2px;
}

.pill-sub-nav-item {
    -webkit-box-flex: 0;
    flex: 0 0 auto;
    margin: 10px 8px 10px 0px;
    font-size: 0.75rem;
    font-weight: 900;
}

@media only screen and (max-width: 575px) {
    .pill-sub-nav-item {
        margin-right: 4px;
    }
}

.sub-nav-container a {
    background-color: #fff;
    margin: 8px;
    padding: 5px 7px 5px 7px;
    border-radius: 12px;
    text-align: center;
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

    .sub-nav-container a:hover {
        background-color: #777;
        text-decoration: none;
        color: #ffffff;
    }

    .sub-nav-container a.current-page {
        background-color: #000;
        color: #fff;
    }


/* ---------------------------------- 3.2 Links and Buttons ---------------------------------- */
.btn {
    font-weight: 600;
}

    .btn i.fa {
        vertical-align: middle;
    }

a.pageAnchor {
    position: relative;
    top: -170px;
    display: block;
    visibility: hidden;
}

a {
    text-decoration: none !important;
}

    a.text-hover-underline:hover {
        text-decoration: underline !important;
    }

/* ---------------------------------- 3.2.1 Service Link Blocks ---------------------------------- */

.services-link-boxes-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    row-gap: 40px;
    column-gap: 40px;
    padding-bottom: 1.5rem !important;
    margin-top: 3rem !important;
}

@media (min-width:576px) {
    .services-link-boxes-wrapper {
        flex-direction: row !important;
    }
}

.services-link-boxes-wrapper .card {
    width: 450px;
    max-width: 100%;
}

.services-link-boxes-wrapper .card-body {
    padding: 0px;
}

.services-link-boxes-wrapper .card-title {
    background-color: #0054a4;
    color: #fff;
    font-weight: 700 !important;
    padding: 1rem !important;
    font-size: 1rem !important;
}

    .services-link-boxes-wrapper .card-title a {
        color: #fff;
        text-decoration: none;
    }

.services-link-boxes-wrapper .card-text {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
}

    .services-link-boxes-wrapper .card-text p:first-child {
        padding-top: .25rem !important;
        padding-bottom: .25rem !important;
        margin-bottom: .25rem !important;
    }

    .services-link-boxes-wrapper .card-text p a {
        font-weight: bolder;
        text-decoration: none !important;
    }

        .services-link-boxes-wrapper .card-text p a:hover {
            text-decoration: underline !important;
        }


/* ---------------------------------- 3.2.2 On This Page Sections ---------------------------------- */
.outer-flex-link-list {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    column-gap: 20px;
}

.flex-link-list-title {
    font-weight: bold;
    font-size: 85%;
    padding-top: 2px;
    padding-right: 10px;
    white-space: nowrap;
    margin-bottom: 0px;
    flex-basis: 5%;
}

ul.flex-link-list {
    display: flex;
    column-gap: 7px;
    flex-wrap: wrap;
    row-gap: 7px;
    justify-content: flex-start;
    list-style: none;
    margin-bottom: 0px;
    padding-inline-start: 0px;
}

@media only screen and (max-width: 991px) {

    .outer-flex-link-list { /* MD and SM */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        row-gap: 15px;
    }

    .flex-link-list-title {
        white-space: normal;
        font-size: 1.05em;
        padding: 5px 0px;
    }

    ul.flex-link-list {
        align-items: center;
        white-space: nowrap;
    }

    .flex-link-list > * {
        flex-basis: 49%;
    }

    .bullet {
        display: none;
    }
}

@media only screen and (max-width: 575px) {

    ul.flex-link-list { /* XS */
        flex-direction: column;
        list-style: disc;
        align-items: flex-start;
        white-space: normal;
        padding-inline-start: 10px;
    }
}

/* ---------------------------------- 4 Design ---------------------------------- */

/* ---------------------------------- 4.1 Backgrounds ---------------------------------- */
.waves-bg {
    background-image: url(/images/effects/waves-1080-light.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

.waves-dark-bg {
    background-image: url(/images/effects/waves-1080-dark.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

.waves-blue-bg {
    background-image: url(/images/effects/waves-1080-lightblue.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

/* ---------------------------------- 4.2 Accents ---------------------------------- */

hr.accent {
    width: 16%;
    margin-top: 25px;
    margin-bottom: 25px;
    border: 1px solid #eee;
}

    hr.accent.dark {
        border-color: #21336685;
    }

    hr.accent.shorten, hr.shorten {
        width: 10%;
    }

    hr.accent.shorten5p {
        width: 5%;
    }

    hr.accent.hr-left {
        width: 10%;
        margin: 25px 0;
        border: 2px solid #333;
    }

        hr.accent.hr-left.text-white {
            border-color: #ccc;
        }

hr.dark-bg-divider.solid {
    border-color: #555;
}

/* ---------------------------------- 4.3 Typography ---------------------------------- */
.text-justify {
    text-align: justify; /* no longer supported in Bootstrap 5 */
}

/* ---------------------------------- 4.4 Colors ---------------------------------- */

/* ---------------------------------- 4.5 Animations ---------------------------------- */

.headline {
    display: block
}

.headline-text-wrapper {
    vertical-align: bottom
}

.headline-dynamic-wrapper {
    display: inline-block;
    position: relative;
}

    .headline-dynamic-wrapper .headline-dynamic-text {
        display: inline-block;
        position: absolute;
        top: 0;
        left: 0;
    }

        .headline-dynamic-wrapper .headline-dynamic-text.headline-text-active {
            position: relative
        }

.headline-dynamic-text {
    opacity: 0
}

.headline-dynamic-letter {
    display: inline-block;
    opacity: 0;
    transform: scale(0)
}

.headline-text-active .headline-dynamic-letter {
    opacity: 1
}

.headline-dynamic-letter.headline-animation-in {
    animation: animate-bigger .8s forwards
}

.headline-dynamic-letter:not(.headline-animation-in) {
    animation: animate-smaller .8s forwards
}

@keyframes animate-bigger {
    0% {
        transform: scale(0);
        opacity: 0
    }

    60% {
        transform: scale(1.2);
        opacity: 1
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

@keyframes animate-smaller {
    0% {
        transform: scale(1);
        opacity: 1
    }

    60% {
        transform: scale(0);
        opacity: 0
    }
}

.headline-dynamic-wrapper {
    overflow: hidden;
    white-space: nowrap
}

/* ---------------------------------- 5 Page Elements ---------------------------------- */
/* ---------------------------------- 5.1 Images ---------------------------------- */
/* ---------------------------------- 5.2 Tables ---------------------------------- */
/* ---------------------------------- 5.3 Accordions ---------------------------------- */
body .accordion-button {
    font-size: 1.1rem;
    color: #002A53;
    background-color: #f6f6f8;
    font-weight: bold;
}

body .accordion-collapse.show {
    border-bottom: 1px solid #ccc;
}

body .accordion-button:focus {
    z-index: 3;
    outline: 0;
    box-shadow: none;
}
