@import "https://www.facilities.rochester.edu/_forms/_styles/base.css";

*, ::before, ::after {
    box-sizing: border-box;
}

body {
  position: relative;
  height: auto;
  min-height: 100% !important;
}

main { 
    background-color: var(--bg-color);
}

#main_content {
    display: block;
    z-index: 20;
    height: 100%;
    background-color: #FFF;
    padding-bottom: 100px;
}


/* when we want an element hidden, but still available to screen readers and other assistive technologies */
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* Page Masthead & Title */
.masthead__top-row {
    position: relative;
    z-index: 20;
    height: 3.75rem;
    background-color: #fff;
}

#title-row .business__line-wrapper {
    background: hsla(0,0%,100%,.15);
    padding: 5px 10px;
}

#title-row .business__line-wrapper .business__line {
    color: #fff;
    font-family: proxima-nova,Helvetica Neue,sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .78px;
    text-transform: uppercase;
}

#title-row h1 a {
    color:#FFF; 
    text-decoration:none; 
    font-weight:600;
}

#title-row h1 a:hover {
    color:#FFF; 
    text-decoration:underline .1rem; 
    text-underline-offset: .5rem; 
}

.logo__wrap {
    
    padding: 1rem 0;
}

.logo {
    height: 35px;
    width: 149px;
}

.bg-blue {
    background-color: var(--blue) !important;
}

.bg-dark {
    background-color: var(--blue) !important;
}

.text-small {
    font-size: 85%;
}

.px-2 {
    padding-right: .75rem !important;
    padding-left: .75rem !important;
}

/* NAVIGATION */
li.nav-item > a {
    color: #FFF !important;
    -webkit-text-decoration-color: #FFF !important;
    text-decoration-color: #FFF !important;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #000 !important;
    background-color: var(--light-gray) !important;
}

ul.primary .nav-link {
    color: #FFF !important;
    text-decoration: none;
}
    
ul.primary .nav-link:hover, .nav-link:focus, a.nav-link.active {
    text-decoration: none;
    color:#000 !important;
    background-color:#FFF;
    border-left: 2px solid var(--blue);
}

ul.primary a.active {
    text-decoration: none;
    /* color: #FFF;
    background-color: var(--bs-dropdown-link-active-bg); */
    color:#000 !important;
    background-color:#FFF !important;
}

.nav-link {
    color: #FFF !important;
    text-decoration: none;
}
    
.nav-link:hover, .nav-link:focus {
    text-decoration: underline;
    text-decoration-color: #FFF!important;
}


/* SECTIONS */
section p.deck {
    font-size: 16px;
    font-weight: 500;
    padding: 0;
    margin: 0 0 5px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #555;
    font-family: "Poppins", sans-serif;
}

section p.deck::after {
    content: "";
    width: 120px;
    height: 1px;
    display: inline-block;
    background: rgba(0, 0, 0, 0.2);
    margin: 4px 10px;
}

/* LINKS */
.link {
    color: var(--blue);
}

a.link {
    color: var(--indigo);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: underline;
    position: relative;
    display: inline-block;
}

a.link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
    text-decoration: none;
}

a.link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    transform: scaleX(0);
    transform-origin: bottom right;
    background-color: var(--baby-blue);
    transition: transform 0.25s ease-out;
    text-decoration: none;
}

a.link:hover {
    color: var(--lighter-charcoal);
    text-decoration: none;
}

a.parent {
    text-decoration:none;
}

a.parent:hover, a.parent:focus {
    text-decoration:underline;
    text-decoration-color: #FFF;
}
/* bootstrap icon */
.bi {
    /* vertical-align: -.125em; */
    fill: currentColor
}

/* overrides for title section */
#title-row a.link {
    color: #FFF;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 1px;
}

#title-row a.link:hover {
    color: #FFF;
    text-decoration: underline;
    text-decoration-color: #FFF;
}

#title-row a.link::after {
   content: none;
}

#title-row a.link:hover::after {
    content: none;
}

/*--------------------------------------------------------------
# Skip Link Styles
--------------------------------------------------------------*/
*:focus {
    outline: 4px solid lime;
}

.skip a {
    position:absolute;
    left: 10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    font-size: 2em;
    font-weight: bold;
    text-align:center;
    color: var(--indigo);
    background: white;
    display: block;
    padding: 10px;
}

.skip a:focus {
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: auto;
    z-index:1000;
    color: var(--indigo);
}

.skip a:hover {
    color:#000;
    text-decoration:underline;
}

/*--------------------------------------------------------------
# MEDIA QUERIES
--------------------------------------------------------------*/
@media screen and (min-width:40em) {
    /* logo size */
    .masthead__top-row {
        height: 5.3125rem;
    }

    .logo {
        height: 50px;
        width: 212px;
    }

}

@media screen and (min-width:64em) {
    .logo__wrap {
        padding: 1.25rem 0;
    }
}

/* X-Small */
@media (max-width: 575px) {
    
}

/* Small */
@media (min-width: 576px) {
  
}

/* Medium */
@media (min-width: 768px) {
    /* UR logo size */
    .bd-placeholder-img-lg {
        font-size: 3.5rem
    }  
}

@media screen and (max-width: 991px) {
    #title-row {
        margin-top: 3.5rem;
    }
}

/* Large */
@media (min-width: 992px) {
    /* dropdown on hover, not only on click */
    li.dropdown .dropdown-menu.show {
        display:none !important;
    }
    li.dropdown:hover .dropdown-menu, li.dropdown:focus .dropdown-menu {
        display: block !important;
    }
}

@media (min-width: 1050px) {
  
}
/* X-Large */
@media (min-width: 1200px) {

}

/* XX-Large */
@media (min-width: 1400) {

}