.background-cover {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

img {
    display: block;
    max-width: 100%;
}

.h-100 {
    height: 100%;
}

.w-100 {
    width: 100%;
}

.img-responsive {
    display: block;
    max-width: 100%;
}

.rounded-corners {
    border-radius: 2em;
}

@media (min-width:992px) {
    .rounded-corners {
        border-radius: 3em;
    }
}

.rounded-corners-small {
    border-radius: 1.25em;
}

.divider {
    width:100%;
    height: 1px;

    &.divider--blue-gradient {
        background-image: linear-gradient(to right, var(--blue), var(--black));
    }
}

.bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

    .bg > video, .bg > img, .bg > span, .bg > figure {
        width: 100%;
        height: 100%;
        object-fit: cover;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        display: block;
        position: relative;
    }

.image-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.nowrap {
    white-space: nowrap;
}

button.blank {
    padding: 0;
    border: 0;
    background: transparent;
    outline: 0;
}

/* List inline */
.list-inline, .list-inline-wrap ul {
    padding-left: 0;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    list-style: none;
    > li {
        display: inline-block;
        padding-right: 0.5rem;
        padding-left: 0.5rem;
        margin-top: 0;
        margin-bottom: 0;
    }

    @media (min-width:991px) {
        margin-left: -0.7rem;
        margin-right: -0.7rem; 
        > li {
            padding-right: 0.7rem;
            padding-left: 0.7rem;
        }
    }

    &.margin-small {
        margin-left: -0.35rem;
        margin-right: -0.35rem;
        > li {
            padding-right: 0.35rem;
            padding-left: 0.35rem;
        }
    }
}

/* List underline */
.list-underline, .list-underline-wrap ul {
    li {
        border-bottom: 1px solid var(--medium-gray);
        padding-bottom: 0.75rem;
        margin-bottom: 0.75rem;
    }
}

/* Two column content */
.two-col, .two-col-list-wrap ul {
    @media (min-width:576px) {
        column-count: 2;
        column-gap: 1.5rem;

        li {
            break-inside: avoid;
        }
    }

    &.large-gap {
        @media (min-width:768px) {
            column-gap: 2.5rem;
        }
    }
}

/* Three column content */
.three-col, .three-col-list-wrap ul {
    @media (min-width:768px) {
        column-count: 3;
        column-gap: 1.5rem;

        li {
            break-inside: avoid;
        }
    }

    &.large-gap {
        @media (min-width:992px) {
            column-gap: 2.5rem;
        }
    }
}

/* Breadcrumbs */
.bc-list {
    padding: 0;
    margin-top: 1rem;
    margin-bottom: 0;
    list-style: none;

    li {
        display: inline-block;
        position: relative;
        padding: 0;
        padding-right: 0.75rem;
        /* margin-right: 0.3rem; */
        color: var(--black);
        font-variation-settings: var(--font-condensed);
        font-size: var(--fs-xs);

        @media (min-width:768px) {
            /* padding-right: 1rem; */
            /* margin-right: 0.3rem; */
        }
    
        a {
            color: inherit;
            text-decoration: none;
            &:hover {
                text-decoration: none;
                opacity: 0.8;
            }
        }
/* 
        &:after {
            content: ">";
            display: inline-block;
            position: absolute;
            top: 45%;
            right: 0;
            transform: translateY(-50%);
        } */

        &:last-child {
            padding-right: 0;
            margin-right: 0;
            font-variation-settings: var(--font-expanded);
            font-weight: 900;
            text-transform: uppercase;

            a {
                pointer-events: none;
            }
/* 
            &:after {
                display: none;
            } */
        }
    }

    &.text-white {
        li {
            color: var(--white);
        }
    }
}

/* Pagination */
.pagination {
    margin: 0 -0.2rem;

    li {
        width:2.6em;
        margin: 0 0.2rem;
        a {
            display: block;
            position: relative;
            padding-bottom: 100%;
            background-color: var(--yellow);

            i {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%,-50%);
                font-size: var(--fs-xs);
            }
        }
    }
}

/* Split row with vertical divider */
.row-split > div {
    position: relative;
}

    .row-split > div:before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        width: 1px;
        background-color: var(--black);
    }

    @media (max-width:767px) {
        .row-split > div:before {
            display: none;
        }
    }

.row-split > div:last-child:before {
    display: none;
}

/* Image crops */
.crop-image16x9 {
    position: relative;
    display: block;
    padding-bottom: 56.25%;
}

    .crop-image16x9 .play {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 100px;
    }

.crop-image50 {
    position: relative;
    display: block;
    padding-bottom: 50%;
}

.crop-image55 {
    position: relative;
    display: block;
    padding-bottom: 55%;
}

.crop-image60 {
    position: relative;
    display: block;
    padding-bottom: 60%;
}

.crop-image70 {
    position: relative;
    display: block;
    padding-bottom: 70%;
}

.crop-image78 {
    position: relative;
    display: block;
    padding-bottom: 70%;
}

.crop-image100 {
    position: relative;
    display: block;
    padding-bottom: 100%;
}

/* Move arrow on hover of parent element */ 
.arrow-move-hover {
    i {
        position: relative;
        right: 0;
        transition: all 0.25s;
    }
    &:hover {
        i {
            right: -5px;
        }
    }
}

/* Move arrow on hover in continuous left to right motion */
.arrow-wrap {
    overflow: hidden;
}

.arrow-animate-hover i {
    position: relative;
}

.arrow-animate-hover:hover i {
    animation: moveArrow 1s linear infinite;
  }

  @keyframes moveArrow {
    0% {
      left: 0;
      opacity: 1;
    }
    
    /* Arrow moves across container */
    50% {
      left: 100%;
      opacity: 1;
    }
    
    /* Arrow becomes invisible after leaving container */
    50.001% {
      opacity: 0;
    }
    
    /* Keep arrow invisible while repositioning */
    59.999% {
      left: -100%;
      opacity: 0;
    }
    
    /* Make arrow visible again at the beginning of the next cycle */
    60% {
      left: -100%;
      opacity: 1;
    }

    100% {
        left: 0;
        opacity: 1;
      }
  }

/* Jump Nav */
.JumpNav {
    position: absolute;
    top: -200px;
    z-index: 500;
    color: #ffffff;
    background: #666666;
    padding: 5px;
}

    .JumpNav:focus {
        top: 0;
        left: 0;
        color: #ffffff;
    }

/* Moncur Bug */
.moncur-bug {
    position: relative;
    display: inline-block;
    width: 0.75em;
}

/* Brand logo sizing */

.brand_figure {
    margin: 0;
    height: 34px;
    display: flex;
    align-items: center;

    img {
        max-height: 34px;
    }
}
