/**
 * General font family & size
 */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Source+Serif+4:ital,wght@0,200..900;1,200..900&display=swap');

body, html, p, th, td {
    font-family: "IBM Plex Sans";
    color: #000000;
    font-size: 19px;
}

h1 {
    font-family: "IBM Plex Sans";
    color: #000000;
    font-size: 54px;
    text-align: center;
    font-weight: 300;
}

h2 {
    font-family: "IBM Plex Sans";
    color: #000000;
    font-weight: 500;
    font-size: 30px;
}

h3 {
    font-family: "IBM Plex Sans";
    color: #000000;
    font-weight: 500;
    font-size: 24px;
}

h4 {
    font-family: "IBM Plex Sans";
    color: #000000;
    font-size: 19px;
    font-weight: 500;
}

.small { font-size: 90%; }
.smaller { font-size: 80%; }
.large { font-size: 110%; }
.larger { font-size: 120%; }

.fakeh1 {
    font-family: "IBM Plex Sans";
    color: #000000;
    font-size: 40px;
    font-weight: 300;
}

.leaflet-container,
.leaflet-container a,
.leaflet-control {
    font-family: "IBM Plex Sans";
}

.leaflet-tooltip,
.leaflet-popup-content {
    font-family: "IBM Plex Sans";
    font-size: 1rem;
}

label {
    font-weight: normal;
}



/**
 * Nav breadcrumbs
 */

nav.breadcrumb {
    margin-bottom: 0.5rem;
    font-size: 16px;
}

nav.breadcrumb a {
    color: black;
    font-weight: normal;
}

nav.breadcrumb ol {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

nav.breadcrumb li {
    display: inline;
}

nav.breadcrumb li + li::before {
    display: inline-block;
    margin: 0 0.5em 0 0.5rem;
    transform: rotate(15deg);
    border-right: 0.1em solid currentColor;
    height: 0.8em;
    content: "";
}

nav.breadcrumb [aria-current="page"] {
    font-weight: bold;
    text-decoration: none;
}


/**
 * Colors and buttons
 */

a:not(.btn) {
    font-weight: bold;
    text-decoration: none;
    color: #0021A5;
}

.btn {
    border-radius: 0;
    text-transform: uppercase;
    font-size: 18px;
}

.btn-primary {
    color: white !important;
    background-color: #0021A5 !important;
    border-color: #0021A5 !important;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    color: #0021A5 !important;
    background-color: white !important;
    border-color: #0021A5 !important;
}

.btn-secondary {
    color: #0021A5 !important;
    background-color: white !important;
    border-color: #0021A5 !important;
}
.btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus {
    color: white !important;
    background-color: #0021A5 !important;
    border-color: #0021A5 !important;
}

.bg-white { background-color: white !important; }
.text-white { color: white !important; }

.bg-black { background-color: black !important; }
.text-black { color: black !important; }

/* not really green, but UF core blue */
.bg-green { background-color: #0021A5 !important; }
.text-green { color: #0021A5 !important; }

.green-top { border-top: 3px solid #0021A5; }

.bg-darkblue {
    background: #0021a5;
}

/* not really mint, but UF Alachua orange */
.bg-mint { background-color: rgb(242, 169, 0) !important; }
.text-mint { color: rgb(242, 169, 0) !important; }


/**
 * Main nav bar
 */

nav.navbar {
}

nav.navbar a.navbar-brand img {
    height: 50px;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

nav.navbar  a {
    font: normal normal normal 16px/27px "IBM Plex Sans";
    letter-spacing: 0px;
    color: #000000;
    text-transform: uppercase;
    text-decoration: none !important;
}

nav.navbar.navbar-light .navbar-nav .nav-link {
    color: white;
}

nav.navbar.navbar-light .navbar-nav .nav-link:hover {
    text-decoration: none;
    color: white;
    -webkit-box-shadow: inset 0 -1px 0 white;
    box-shadow: inset 0 -1px 0 white;
}

@media screen and (max-width: 767px) {
    nav.navbar.navbar-light li {
        text-align: right;
    }
}

@media (min-width: 768px) {
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: .5rem;
        padding-left: .5rem;
        padding-top: 0;
        padding-bottom: 0;
    }
}


/**
 * Skip Navigation link for screen readers
 */

#skip-navigation {
    position: absolute;
    top: 8px;
    left: 350px;
}

#skip-navigation a {
    color: transparent;  /* invisible unless tab-focused */
}
#skip-navigation a:focus, #skip-navigation a:hover {
    color: inherit;
}

@media screen and (max-width: 1199px) {
    #skip-navigation {
        top: 15px;
        font-size: 16px;
    }
}
@media screen and (max-width: 767px) {
    #skip-navigation {
        left: 325px;
    }
}
@media screen and (max-width: 675px) {
    #skip-navigation {
        display: none !important;  /* screenreaders are not phones */
    }
}



/**
 * Tab nav, or rather nav pills
 */

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #0021A5;
    color: white;
    border: 2px solid #0021A5;
    font-weight: bold;
}

.nav-pills .nav-link {
    background-color: transparent;
    color: #666666;
    border: 2px solid #666666;
    font-weight: bold;
}


/**
 * Footer
 */

footer {
    background-color: #0021A5;
    color: white;
}

footer a:not(.btn) {
    color: white;
    font-weight: normal;
}

footer a:not(.btn):hover {
    color: white;
    text-decoration: underline;
}


/**
 * Cards, both true BS5 cards and Related Items carousel rectangles
 */

div.card.main-information-card {
    border-radius: 1px;
    width: 500px;

    -webkit-box-shadow: 0 2px 15px rgb(0 0 0 / .2) !important;
    -moz-box-shadow: 0 2px 15px rgb(0 0 0 / .2)!important;
    box-shadow: 0 2px 15px rgb(0 0 0 / .2) !important;
}
@media screen and (max-width: 991px) {
    div.card.main-information-card {
        width: 100%;
    }
}

div.card.main-information-card p {
    font-size: 16px;
    line-height: 1.5;
}
div.card.main-information-card p:last-child {
    margin-bottom: 0 !important;
}

div.card-carousel {
    padding: 0 50px;
}

div.card-carousel div.card-carousel-card {
}
div.card-carousel div.card-carousel-card > div {
    border-radius: 0;
    border: 1px solid #CCCCCC;
    box-shadow: 0px 3px 6px #00000029;
    margin-bottom: 1em;
    width: 300px;
}

div.card-carousel div.card-carousel-card img {
    width: 300px;  /* always use the 'medium' 300x200, we will force it to fit */
    height: 200px;
    object-fit: cover;
}

div.card-carousel .slick-prev,
div.card-carousel .slick-next {
    width: 40px;
    height: 40px;
    margin-top: -20px;  /* offset the icon's increased font-size to still be vertically centered */
}

div.card-carousel .slick-next .slick-next-icon,
div.card-carousel .slick-next .slick-prev-icon,
div.card-carousel .slick-prev .slick-next-icon,
div.card-carousel .slick-prev .slick-prev-icon {
    opacity: 1;
    font-size: 40px;
}

div.card-carousel button.slick-prev:disabled,
div.card-carousel button.slick-next:disabled {
    opacity: 0.1;
}

div.card-carousel .slick-prev {
    left: 0;
}
div.card-carousel .slick-next {
    right: 0;
}

div.card-carousel .slick-dots {
    position: unset;
    bottom: unset;
}

div.card-carousel .slick-dots li button:before {
    font-size: 20px;
}

div.card-carousel div.card-carousel-card > div {
    position: relative;
}
div.card-carousel div.card-carousel-card .card-carousel-card-interview {
    position: absolute;
    top: 5px;
    right: 5px;
}

div.card-carousel div.card-carousel-card .card-carousel-card-interview {
    background-color: #0021A5;
    color: white;
    text-transform: uppercase;
    font-size: 85%;
    font-weight: bold;
    padding: 0 5px;
}



/**
 * Map stuff e.g. circle icons
 */

div.leaflet-container div.circle-map-marker {
    background-color: white;
    border: 2px solid black;
    border-radius: 50%;
    text-align: center;
    line-height: 22px;
    font-size: 15px;
    font-family: "IBM Plex Sans";
}


/**
 * Utility classes for positioning full-width photos, vertical boxes, etc.
 */

div.listing-swatch-photo {
    width: 100%;
    height: 500px;
}
div.listing-swatch-photo.listing-swatch-photo-banner {
    height: 600px;
}
div.listing-swatch-photo img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

div.fullwidth-background-photo {
    width: 100%;
    background-size: cover;
    background-position: center;
}

div.vertically-center-contents {
    display: flex;
    align-items: center;
}

i.wpel-icon {  /* icon for external links */
    vertical-align: text-top;
}


/**
 * Other utility classes
 */

.box-shadow {
    box-shadow: 0px 3px 6px #00000029;
}


/**
 * Leaflet maps, knoiwn z-index issue
 */
div.leaflet-container {
    z-index: 1;
}
