:root {
    --main-font: "proxima-nova", Helvetica, Arial, sans-serif;
    --heading-font: "proxima-nova", Helvetica, Arial, sans-serif;
    --base-font-size: 1.25rem;
}

body {
    font-family: var(--main-font);
    line-height: 1.5;
}

/* Font Overrides */
.display-text,
.display-text--x-large,
.display-text--large,
.display-text--medium,
.display-text--small,
.button,
button,
.label,
blockquote,
#mega-menu .top-bar-section .nav-links li,
#mega-menu .top-bar-section .nav-links>li>button,
.global-header .global-nav-wrapper .global-nav .top-bar-section>ul>li.has-dropdown>a,
.global-header .global-nav-wrapper .global-nav .top-bar-section>ul>li .dropdown a,
.side-nav li span,
section nav ul.sub-nav li,
.blockquote-container cite,
.accordion .accordion-navigation>a,
.accordion dd>a,
.tabs dd>a,
.tabs .tab-title>a,
.tabs .tab-title a,
footer h2 {
    font-family: var(--main-font);
}

/* General Structure */
.row,
.contain-to-grid .top-bar,
.content-block .row {
    max-width: 80.625rem;
}

@media (min-width: 1024px) {

    .content-block:not(.overlay),
    .cta-section {
        padding-top: 4.5rem !important;
        padding-bottom: 4.5rem !important;
    }

    .taller.overlay .wrapper {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .content-block.white+.content-block.white,
    .content-block.gray+.content-block.gray {
        padding-top: 0 !important;
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.display-text--x-large,
.display-text--large,
.display-text--medium,
.display-text--smal,
.display-text,
p {
    margin-bottom: 1.25rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.display-text--x-large,
.display-text--large,
.display-text--medium,
.display-text--smal,
.display-text {
    font-family: var(--heading-font);
}

h1,
.h1 {
    &,
    .panel & {
        font-size: 4rem;
        line-height: 1.125;
        font-weight: 800;
    }
}

h2,
.h2,
.display-text--x-large {
    &,
    .panel & {
        font-size: 3rem;
        line-height: 1.1667;
        font-weight: 800;

        *:not(h1):not(.pretitle)+& {
            margin-top: 3rem;
        }
    }
}

h3,
.h3,
.display-text--large {
    &,
    .panel & {
        font-size: 2rem;
        line-height: 1.25;
        font-weight: 700;

        *:not(h2):not(.pretitle)+& {
            margin-top: 2.5rem;
        }
    }
}

h4,
.h4,
.display-text--medium {
    &,
    .panel & {
        font-size: 1.75rem;
        line-height: 1.14286;
        font-weight: 700;

        *:not(h3):not(.pretitle)+& {
            margin-top: 2rem;
        }
    }
}

h5,
.h5,
.display-text--small {
    &,
    .panel & {
        font-size: 1.5rem;
        line-height: 1.333;
        font-weight: 700;
    }
}

h6,
.h6,
.display-text {
    &,
    .panel & {
        font-size: 1.25rem;
        line-height: 1.4;
        font-weight: 700;
    }
}

p,
li {
    font-size: var(--base-font-size);
    line-height: 1.5;

    &.p-small {
        font-size: calc(var(--base-font-size) * 0.9);
    }
}

.body-lg,
.lead,
p.lead {

    font-size: calc(var(--base-font-size) * 1.2);
}

.body-sm {
    font-size: calc(var(--base-font-size) * 0.9);
}

.body-xs {
    font-size: calc(var(--base-font-size) * 0.8);
}

.pretitle {
    margin-bottom: 0.3125rem;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.173em;
    text-transform: uppercase;
}

.bold {
    font-weight: 700;
}

.extra-bold {
    font-weight: 800;
}

.italic {
    font-style: italic;
}

.radius {
    border-radius: 5px;
    overflow: hidden;
}

.content-block:not(.blockquote-container) .columns>img:last-child {
    margin-top: 1rem;
    padding-top: 0;
}

#mobile-menu span:not(.fa) {
    font-family: var(--main-font);
}

/* Buttons and CTAS */
.fiu-button {
    padding: 0.875rem 1rem;
    display: inline-block;
    text-align: center;
    margin: 0.3125rem 0;
    min-width: 170px;
    line-height: 1;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none !important;
    text-transform: none;
    transition: ease-in-out background .15s, ease-in-out border .15s, ease-in-out color .15s;
    cursor: pointer;
}

/* Header */
#mega-menu .top-bar-section .nav-links li,
#mega-menu .top-bar-section .nav-links>li>button {
    font-size: 1rem;

    @media (min-width: 1050px) {
        font-size: 1.125rem;
    }
}

#mega-menu .top-bar-section .has-dropdown .dropdown a:not(.fiu-button) {
    font-size: 0.9375rem;
}

.global-header .global-nav-wrapper .global-nav .top-bar-section>ul>li .dropdown a {
    font-size: 0.9375rem;
}

#mobile-menu a {
    font-size: 1rem;
    line-height: 1.2;
}

/* Home Hero and Banners */
#banner button,
#banner-video button {
    bottom: 0;
}

.hero-text,
[id^="banner"] .hero-text {
    margin-bottom: 1.25rem;
    font-size: 3rem;
    line-height: 1.11;
    font-weight: 900;

    @media (min-width: 1025px) {
        font-size: 4.5rem;
    }
}

#banner-video .headline-container>.row>.columns {
    padding-top: 2rem;
}

#banner,
#banner-video {

    &,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    li {
        color: #fff;
    }

    h1 {
        top: 0;
        transform: none;
    }

    .headline-container>.row {
        display: flex;
        align-items: center;

        .columns {
            display: flex;
            flex-direction: column;
            justify-content: center;
            margin-bottom: 1rem;

            &>*:last-child {
                margin-bottom: 0;
            }
        }
    }

    em.border {
        display: inline-block;
        font-style: normal;
    }

    em.border::after {
        border-bottom: solid #fc0 9px;
        content: " ";
        display: block;
        margin: 0 auto;
        margin-top: 0px;
        animation: expand 1.5s ease-out 1;
        position: relative;
        margin-top: 5px;
    }
}

/* Nav */
.dropdown p {
    font-size: 1rem;
}

.side-nav li {
    font-size: 1rem;
}

section nav ul.sub-nav li {
    font-size: 1rem;
    font-weight: 500;

    a {
        text-decoration: none;

        &:hover {
            text-decoration: underline;
        }
    }
}

/* Main Content */
.breadcrumbs-wrapper+.row>.columns>h1:only-child {
    margin-top: 2rem;
}

article:has(.white.content-block:only-child)+article .white.content-block {
    padding-top: 0 !important;
}

/* Panels */
.cards>li>a {
    text-decoration: none !important;

    &>.panel>.display-text--medium {
        text-decoration: underline;
    }
}

.panel {
    border-radius: 5px;
}

@media (min-width: 1025px) {
    .panel:has(.overlap-panel) {
        margin-bottom: -10rem !important;
    }

    article:has(.overlap-panel)+article .content-block {
        padding-top: 10rem !important;
    }
}

[style="background-image:url('_assets/images/banner-fiu-matthew-degennaro.webp')"] {
    background-position: 100% 50% !important;
}

@media (min-width: 641px) {
    .taller.overlay .wrapper .panel {
        left: .9375rem;
    }    
}

@media (min-width: 641px) and (max-width: 1024px) {
    .taller.overlay .wrapper .panel {
        width: 66.666% !important;        
    }
}

/* News */
.news.cards a {
    border-radius: 8px;
    background-color: #eef2f4;
    overflow: hidden;
}

.news .panel img {
    box-shadow: none;
    padding-top: 0 !important;
    margin-top: 0.5rem;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.news .panel img:hover {
    transform: none;
}

.news p {
    font-size: 1rem;

    &.title {
        font-size: var(--base-font-size);
        line-height: 1.35;
    }
}

/* Thumbnail Grid */
.thumbnail-grid>li>img[role="presentation"]:first-child {
    display: block;
    margin-bottom: 0.5rem;
}

/* Accordions */
.accordion-navigation+.accordion-navigation {
    border-top: 1px solid #ddd;
}

.accordion-link {
    font-size: var(--base-font-size);
    font-weight: 600;
    text-decoration: none !important;

    &::before {
        font-weight: 400;
    }
}

/* Tabs */
.tabs .tab-title a {
    text-decoration: none;
}

/* Degrees Page */
#degrees .accordion-navigation a {
    border-top: 0;
    text-decoration: none;
}

#degrees .accordion .accordion-navigation>a::before {
    font-weight: normal;
}

#filter-by input[type="checkbox"],
#filter-by input[type="radio"] {
    margin: 0 0 0.7rem 0;
    vertical-align: bottom;
}

#filter-by button {
    border-radius: 4px;
}

/* A to Z */
.atoz {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.atoz a {
    padding: 0.5rem;
    display: inline;
    width: 2rem;
    flex-grow: 0;
    margin: 0 -6px;
    display: inline-block;
    line-height: 1.5;
}

/* Degrees Custom Dropdown */
.areas-of-interest .button {
    font-size: 1.125rem;
}

.areas-of-interest .f-dropdown {
    border-color: #ddd;
    border-top: 0;
    margin-top: 0;
    max-width: 100% !important;

    &::before,
    &::after {
        display: none;
    }

    li a {
        font-size: 1.125rem;
        padding-left: calc(1rem + 5px) !important;
        padding-right: calc(1rem + 5px) !important;
        text-decoration: none;
        transition: all .2s ease-in-out;

        &:hover {
            background-color: #f2f2f2;
        }
    }

    li+li {
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
}

/* Footer */
footer {
    padding-top: 3rem;
    padding-bottom: 3rem;

    h2 {
        margin: 1rem 0 0.5rem !important;
        font-size: var(--base-font-size) !important;
    }
    
    .copyright {
        margin-bottom: 0;
    }

    li {
        margin-bottom: 0;
        font-size: 1rem;
    }

    .footer-logo img {
        margin-left: 0;
        margin-right: 0;
    }
    
    .social-media {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .social-media li a {
        padding: 0.5rem;
        font-size: 1.5rem;
    }
}

/* Take Next Step */
.module-take-next-step {
    position: relative;
    background-image: url('../images/fiu-next-steps.webp');
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;

    &::after {
        content: '';
        position: absolute;
        z-index: 5;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: #081E3F;
        opacity: 0.6;
    }

    .row {
        position: relative;
        z-index: 10;
    }
}

.module-take-next-step .sub-heading {
    text-transform: uppercase;
    color: #FFCC00;
    text-align: left;
    font-size: 1rem;
    margin: .8rem 0;
    letter-spacing: 0.173em;
    font-weight: 600;
}

.module-take-next-step h2 {
    color: #FFF;
    text-align: left;
    font-size: 2.7rem;
    text-shadow: 0px 3px 6px #00000029;
    line-height: 3rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.module-take-next-step .link-column {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
}

.module-take-next-step .link-column a {
    padding: 10px;
    font-size: 1.2rem;
    background: #FFF;
    color: #081E3F !important;
    font-weight: 700;
    text-decoration: none !important;
}

.module-take-next-step a {
    transition: opacity 0.2s ease !important;
    opacity: 1;
}

.module-take-next-step a:hover,
.module-take-next-step a:focus,
.module-take-next-step a:active {
    opacity: 0.85 !important;
}

.module-take-next-step .link-column a span {
    color: #081E3F !important;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .module-take-next-step .link-column {
        margin-bottom: 1rem;
    }

    .module-take-next-step .link-column a {
        font-size: 1rem;
    }
}

/* Degrees section tweak */
@media only screen and (min-width: 64.0625em) {
    article[aria-label="Campus"] .row .medium-4 {
        width: 41.66667% !important;
    }

    article[aria-label="Campus"] .row .medium-8 {
        width: 50% !important;
    }
}

/* Badged Image Container */
.bagded-image-container {
    position: relative;
    .badge {
        position: absolute;
        top: 1.5rem;
        left: 1.5rem;
        max-width: 33.333%;
        height: auto;
    }
}