/* Animation / Transitions */
.content-block>.row>.columns,
.thumb-grid > li,
.card-grid > li,
.cards > li,
.flex-cards > li {
    opacity: 0;
}
.content-block {
    overflow: clip;
}

/* Colors */
.fiu-classic-gold {
    color: #D1A644 !important;
}

/* Shapes */
/* Horizontal Bar */
.horizontal-bar,
.horizontal-bar--sm,
.horizontal-bar--md,
.horizontal-bar--lg {
    display: block;
    margin: 1rem 0;
    width: 100%;
    height: 10px;
    max-width: 120px;
    background-color: #081e3f;

    &+* {
        margin-top: 0 !important;
    }

    /* Colors */
    &.fiu-blue {
        background-color: #081e3f;
    }

    &.fiu-classic-gold {
        background-color: #D1A644;
    }

    &.fiu-gold {
        background-color: #ffcc00;
    }

    &.fiu-cyan {
        background-color: #00B7D5;
    }

    &.fiu-magenta {
        background-color: #cc0066;
    }
}

.horizontal-bar--sm {
    max-width: 70px;
}

.horizontal-bar--lg {
    max-width: 220px;
}

/* Horizontal Bracket */
.horizontal-bracket,
.horizontal-bracket--sm,
.horizontal-bracket--md,
.horizontal-bracket--lg {
    display: block;
    width: 100%;
    max-width: 320px;
    height: 40px;
    border: 5px solid #081e3f;
    border-bottom: 0;

    &.fiu-blue {
        border-color: #081e3f;
    }

    &.fiu-classic-gold {
        border-color: #D1A644;
    }

    &.fiu-gold {
        border-color: #ffcc00;
    }

    &.fiu-cyan {
        border-color: #00B7D5;
    }

    &.fiu-magenta {
        border-color: #cc0066;
    }
}

.horizontal-bracket--sm {
    max-width: 120px;
}

.horizontal-bracket--lg {
    max-width: 420px;
}

/* Corners */
.fiu-corner,
.fiu-corner--top-left,
.fiu-corner--top-right,
.fiu-corner--bottom-left,
.fiu-corner--bottom-right {
    position: relative;
    z-index: 10;
    margin: 2rem 0;

    &::before,
    &::after {
        content: '';
        position: absolute;
        border-width: 0;
        border-color: #081e3f;
        border-style: solid;
        width: 4rem;
        height: 4rem;
        z-index: 8;
    }
}

.fiu-corner--blue::before,
.fiu-corner--blue::after {
    border-color: #081e3f;
}

.fiu-corner--classic-gold::before,
.fiu-corner--classic-gold::after {
    border-color: #D1A644;
}

.fiu-corner--gold::before,
.fiu-corner--gold::after {
    border-color: #ffcc00;
}

.fiu-corner--cyan::before,
.fiu-corner--cyan::after {
    border-color: #00B7D5;
}

.fiu-corner--magenta::before,
.fiu-corner--magenta::after {
    border-color: #cc0066;
}

.fiu-corner--top-left {
    &::before {
        left: -2rem;
        top: -2rem;
        border-width: 10px;
        border-right: none;
        border-bottom: none;
    }
}

.fiu-corner--top-right {
    &::before {
        right: -2rem;
        top: -2rem;
        border-width: 10px;
        border-left: none;
        border-bottom: none;
    }
}

.fiu-corner--bottom-left {
    &::after {
        left: -2rem;
        bottom: -2rem;
        border-width: 10px;
        border-right: none;
        border-top: none;
    }
}

.fiu-corner--bottom-right {
    &::after {
        right: -2rem;
        bottom: -2rem;
        border-width: 10px;
        border-left: none;
        border-top: none;
    }
}

@media (max-width: 1366px) {

    .fiu-corner,
    .fiu-corner--top-left,
    .fiu-corner--top-right,
    .fiu-corner--bottom-left,
    .fiu-corner--bottom-right {
        padding: 2rem;
    }

    .fiu-corner--top-left {
        &::before {
            left: 0;
            top: 0;
        }
    }

    .fiu-corner--top-right {
        &::before {
            right: 0;
            top: 0;
        }
    }

    .fiu-corner--bottom-left {
        &::after {
            left: 0;
            bottom: 0;
        }
    }

    .fiu-corner--bottom-right {
        &::after {
            right: 0;
            bottom: 0;
        }
    }
}

/* Parallel Box */
.parallel-box,
.parallel-box--top-left,
.parallel-box--top-right,
.parallel-box--bottom-left,
.parallel-box--bottom-right {
  position: relative;
  z-index: 1;
  display: block;
  &::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 1.5rem;
    left: 1.5rem;
    width: 100%;
    height: 100%;
    border: 5px solid #081e3f;
    border-radius: 4px;    
  }
}

.parallel-box--top-left {
    @media (max-width: 1290px) {
        margin-top: 1.5rem;
        margin-left: 1.5rem;
    }
    &::before {
        top: -1.5rem;
        left: -1.5rem;
    }
}
.parallel-box--top-right {
    @media (max-width: 1290px) {
        margin-top: 1.5rem;
        margin-right: 1.5rem;
    }
    &::before {
        top: -1.5rem;
        left: 1.5rem;
    }
}
.parallel-box--bottom-left {
    @media (max-width: 1290px) {
        margin-bottom: 1.5rem;
        margin-left: 1.5rem;
    }
    &::before {
        top: 1.5rem;
        left: -1.5rem;
    }
}

.parallel-box,
.parallel-box--bottom-right {
    @media (max-width: 1290px) {
        margin-bottom: 1.5rem;
        margin-right: 1.5rem;
    }
    &::before {
        top: 1.5rem;
        left: 1.5rem;        
    }
}

.parallel-box--blue::before {
    border-color: #081e3f;
}

.parallel-box--classic-gold::before {
    border-color: #D1A644;
}

.parallel-box--gold::before {
    border-color: #ffcc00;
}

.parallel-box--cyan::before {
    border-color: #00B7D5;
}

.parallel-box--magenta::before {
    border-color: #cc0066;
}

/* Image plus badge */
.image-plus-badge {
    position: relative;
    .badge,
    .top-left {
        position: absolute;
        top: 1.5rem;
        left: 1.5rem;
        max-width: 40%;
    }
    .top-right {
        left: auto;
        right: 1.5rem;
    }
    .bottom-left {
        top: auto;
        bottom: 1.5rem;
    }
    .bottom-right {
        top: auto;
        bottom: 1.5rem;
        left: auto;
        right: 1.5rem;
    }
}

/* Media Right/Left Mobile */
@media (max-width: 640px) {
    .media-right-mobile {
        float: right;
        margin-left: 1rem;
        margin-bottom: 1rem;
        max-width: 50%;
    }
    .media-left-mobile {
        float: left;
        margin-right: 1rem;
        margin-bottom: 1rem;
        max-width: 50%;
    }
}

#mobile-floating-button {
    position: fixed;
    z-index: 99;
    bottom: 0.9375rem;
    left: 0;
    display: none;
    margin: 0;
    width: 100%;
    text-align: center;

    .button {
        margin: 0;
        width: calc(100% - 1.875rem);
        max-width: 100%;
        font-weight: 700;
        font-size: 1.5rem;
        box-shadow: 0 0 10px #666;
    }
    @media (max-width: 640px) {
        display: block;
    }
}

@media (max-width: 640px) {
    body:has(#mobile-floating-button) > footer {
        padding-bottom: 82px;
    }
    .back-to-top {
        bottom: 85px;
    }
}

body:has(.banner-flex.home) {
    /* Fixed Header */
    &>header {
        position: absolute;
        z-index: 99;
        top: 0;
        left: 0;
        width: 100%;
        background-color: transparent !important;
    
        .logo-tools {
            background: #f2f2f2;
            max-width: 100%;
    
            .logo-tools-wrapper {
                margin-left: auto;
                margin-right: auto;
                float: none;
                height: 50px;
                max-width: var(--row-max-width);
                overflow: hidden;
            }
        }
    
        #nav {
            background-color: transparent;
        }
    }
    
    #main-content {
        padding-top: 50px;
    }
    
    #banner.banner-flex,
    #banner-video.banner-flex {
        .content-flex .content {
            padding-top: 8rem;
            padding-bottom: 4.5rem;
        }
    }
    
    /* Fixed Video Banner Background */
    @media (min-width: 768px) {
        .video-wrapper {
            position: fixed;
            top: 0;
            height: 100vh;
        }
    }
    
    @media (min-width: 1025px) {
    
        #banner.banner-flex .content-flex,
        #banner-video.banner-flex .content-flex {
            height: calc(100vh - 50px);
            min-height: 650px;
            max-height: 770px;
        }
    }
    
    #page-content,
    #page-intro,
    body>footer {
        position: relative;
    }
    
    .back-to-top {
        z-index: 99;
    }
}
body>footer {
    position: relative;
}
@media (min-width: 1025px) {
    body>header.no-logo .header-grid-logo {
        margin-top: -2.4rem;
    }
    body > header #nav .nav-links {
        min-height: calc(1.5rem - 5px)
    }
}
/* Banner */
@media (min-width: 1025px) {
    #banner.banner-flex,
    #banner-video.banner-flex {
        .content-flex .content {
            padding-top: 4.5rem;
            padding-bottom: 4.5rem;
        }
    }
}
/* Accordions */
.fiu-background-blue .accordion.accordion-refresh .accordion-navigation>a::before,
.fiu-background-blue .accordion.accordion-refresh .accordion-navigation.active>a::before {
    color: #ffcc00;
}

.fiu-background-blue .accordion.accordion-refresh>li,
.fiu-background-blue .accordion.accordion-refresh>li:first-child,
.fiu-background-blue .accordion.accordion-refresh>li:last-child,
.fiu-background-blue .accordion.accordion-refresh .accordion-navigation>a,
.fiu-background-blue .accordion.accordion-refresh .accordion-navigation .content.active {
    border-color: rgba(256, 256, 256, 0.3);
}

/* Padded Block */
.padded-block-wrapper .padded-block .padded-block-content {
    max-width: 100%;  
}
@media (min-width: 1025px) {
  .padded-block-wrapper .padded-block:not(.medium-8) .padded-block-content {
        padding-left: 8rem;
        padding-right: 8rem;
  }
}

.padded-block-wrapper.fiu-background-blue {
    .padded-block.fiu-background-blue {
        background-color: #1d3251;
    }
}

/* Round Media */
.fiu-background-blue .round-media-blue {
    background-color: #334663;
}

/* Homepage */
body:has(.banner-flex.home) {
    #page-intro {
        background-color: #081e3f;
        border-bottom: 1px solid rgba(256, 256, 256, 0.3);
        z-index: 99;
    }
    @media (min-width: 641px) {
        section .anchored-nav nav:not(.fixed) ul.sub-nav {
            box-shadow: none;
            background-color: transparent !important;
            li,
            li a {
                color: #fff !important;
            }
            li.active a {
                color: #081e3f !important;
            }
        }
        section .anchored-nav nav.fixed {
            z-index: 99;
            border-bottom: 1px solid rgba(256, 256, 256, 0.3);
            ul.sub-nav {
                max-width: var(--row-max-width);
            }
        }
    }
}

/* Anchor Nav */
@media (min-width: 641px) {
  section .anchored-nav nav ul.sub-nav li a {
    margin: 1rem 0;
  }
}

/* Custom Event Listing */
.custom-event-listing {
    .calendar-feed-new {
        display: flex;
        flex-direction: column;
        li {
            border: 1px solid #ccc;
            width: 100%;
            max-width: 100%;
        }
    }
    .fiu-background-blue & .calendar-feed-new {
        li {
            background-color: transparent;
            border-color: rgba(256,256,256,0.3);
            &, p, a, .event-details, *::before, a h3 {
                color: #fff !important;
            }
            a:focus,
            a:focus h3 {
                color: #333 !important;
            }
        }
    }
}
/* Thumbnail Grid */
 .thumb-grid.flex-cards {
     align-items: stretch;
}
 .thumb-grid.flex-cards li .content {
     padding: 0;
}
 .thumb-grid.flex-cards li a {
     text-decoration: none !important;
}
 .thumb-grid.flex-cards li a .thumb-grid-wrapper {
     display: flex;
     flex-direction: column;
     width: 100%;
     height: 100%;
}
 .thumb-grid.flex-cards li .content {
     position: static;
     flex-grow: 1;
}
 .thumb-grid.flex-cards li .content span {
     display: flex;
     justify-content: center;
     align-items: center;
     height: 100%;
     width: 100%;
     padding: 1rem;
     line-height: 1.5;
     background-color: #fff;
     color: #081e3f;
}
.thumb-grid.flex-cards li a:hover span {
    background-color: #fff;
    color: #081e3f;
}
/* Related Contacts */
.related-content .related-contacts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    .contact {
        text-align: center;
    }
    @media (max-width: 640px) and (min-width: 320px) {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .contact-photo {
        border: 5px solid #081e3f;
        border-radius: 50%;
        margin: 0 auto 0.625rem;
        width: 100%;
        height: auto;
        max-width: 220px;
        overflow: hidden;
        img {
            object-fit: cover;
            height: 100%;
            width: 100%;
        }
    }
    .contact-info {
        font-size: 1rem;
    }
    .contact-name {
        font-size: var(--base-font-size);
        font-weight: 700;
    }
}