﻿body {
    font-family: apple-system,BlinkMacSystemFont,"Segoe UI","IBM Plex Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}

a:hover {
    text-decoration: underline;
}

div#header-nav-wrap {
    height: 150px;
    width: 100vw;
    background: #fff;
    border-bottom: 5px solid #bc581a;
}

div#header {
    background: rgb(188, 88, 26);
    padding: 0;
    height: 50px;
    width: 100vw;
}

div#header > a.logo {
    overflow: hidden;
    position: absolute;
    width: 50px;
    top: 0;
}

div#header > a.log-in {
    box-sizing: border-box;
    color: #2d5f91;
    text-decoration: none;
    border-left: 1px solid rgba(255,255,255,0.4);
    position: absolute;
    right: 0;
    width: 165px;
    height: 50px;
    font: 500 16px/20px "IBM Plex Sans",Arial,sans-serif;
    font-weight: 700;
    padding-left: 25px;
    padding-top: 15px;
    letter-spacing: 2px;
}

div#header > a.log-in:hover, div#header > a.log-in:focus {
    text-decoration: underline;
}

div#header > a.logo > img {
    height: 50px;
    width: 76px;
    margin-left: -13px;
    background: #00529b;
    }

div#nav {
    height: 100px;
    position: absolute;
    top: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    padding-right: 2rem;
}

div#nav ul {
    list-style: none;
    display: flex;
    flex-flow: row nowrap;
}

div#nav a > img {
    height: 50px;
    width: 76px;
    margin-left: -13px;
}

/*Selects all dropdowns of the nav (i.e., Groups)*/
div#nav > ul ul {
    flex-flow: column nowrap;
    display: none;
}

div#nav li.sublist:hover ul, div#nav li.sublist ul:hover{
    display: block;
    position: absolute;
    top: 100px;
    left: 350px;
    z-index: 100;
    margin: 0;
    background: #fff;
    width: fit-content;
    padding: 1rem;
    display: flex;
    border: 1px solid rgba(0, 0, 0, 0.5);
}

li.sublist:hover ul > li, li.sublist ul:hover > li {
    padding: 0.5rem 0;
}

div#nav > ul {
    margin: 0;
    display: flex;
    align-items: stretch;
    height: 100px;
}

div#nav > ul > li {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
}

div#nav > ul li:not(#nav-title-text)::after {
    background: url("/Content/themes/uf2015/images/main-menu-hover.png") repeat-x left center;
    content: '';
    bottom: 0;
    height: 5px;
    left: 0;
    position: relative;
    display: block;
    -webkit-transform-origin: center center;
    transform-origin: center center;
    width: 0;
    transition: width .1s ease-in .2s;
}

div#nav > ul li:not(#nav-title-text):hover::after {
    width: 80%;
}

div#nav li:hover {
    background: #eae5d750;
}

a:hover {
    color: #00529b;
}

#nav-title-text {
    height: 100px;
    display: grid;
    place-items: center;
    margin: 0 2rem;
}

#header-title-text-right {
    margin-top: 10px;
    width: fit-content;
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    justify-content: center;
    height: fit-content;
}

.log-in {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
}

.palatino:nth-child(1) {
    margin-top: 3px;
}

.palatino:nth-child(2) {
    margin-bottom: 3px;
}

div#nav > ul h1, div#nav > ul h2 {
    font-size: 0.7rem;
    font-weight: 600;
    width: fit-content;
    margin-right: 0;
    line-height: 0.5rem;
}

div#nav > ul h1 {
    font-size: 0.8rem;
}

div#nav > ul img {
    float: left;
    margin: -10px;
    height: 2rem;
    width: 10rem;
}

div#nav > ul a {
    padding: 0 0.5rem;
    font-size: 1rem;
    font-stretch: narrower;
    font-weight: 700;
}

div#nav > ul > li:not(:nth-child(1)) {
    margin: 0 0.5rem;
}


/*FOOTER*/
#footer {
    background: transparent;
    padding: 0;
}

#footer-top {
    background: #00529b url(/Content/themes/UF/bg-texture-dark.png);
    height: 110px;
    width: 100vw;
}

#footer .container {
    box-sizing: border-box;
    width: 100vw;
    padding: 75px 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
}

.footer-link-group > ul {
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-link-group h2 {
    color: #00529b;
    font: 700 22px/30px serif;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.footer-link-group li {
    padding: 12px 0;
}

.footer-link-group li:hover {
    text-decoration: underline;
    cursor: pointer;
}

.footer-link-group a {
    color: #00529b;
}

.footer-link-group li:hover a {
    color: #943f0a;
}

.footer-link-group a {
    font: 100 18px/26px serif;
    color: #0353b0;
    text-transform: uppercase;
}

.footer-title-section {
    font: 100 16px/22px serif;
}

.footer_logo {
    width: 400px;
    margin-top: -200px;
    margin-left: -25px;
}

.footer-fine-print {
    margin-top: -100px;
    margin-left: 10px;
}


@media only screen and (max-width: 750px) {
    #footer .container {
        box-sizing: border-box;
        width: 100vw;
        padding: 75px 2rem;
        display: block;
        align-items: center;
        justify-content: space-between;
        background: white;
    }

    .footer-link-group a {
        font: 100 14px/26px serif;
        color: #0353b0;
        text-transform: uppercase;
    }

    .footer_logo {
        width: 300px; 
        margin-top: -70px;
        margin-left: -25px;
    }
    .footer-fine-print {
    margin-top: -80px;
    margin-left: 0;
}

    div#nav > ul img {
        display:none;
    }

    div#nav>ul h1,
    div#nav>ul h2 {
        line-height: 1em; 
           
    }

    #GroupInfo {
        margin-left: auto;
    }

    #PageMenu {
        width:100%;
    }
}