@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

/* @media (hover: hover) and (pointer: fine) {
  .osu-nav .dropdown:hover > .dropdown-menu {
    display: block;
  }
  .osu-nav .dropdown-menu {
    margin-top: 0;
  }
  .osu-nav .dropdown:hover > .dropdown-toggle::after {
    transform: rotate(180deg);
    transition: transform .2s ease;
  }
} */

html, body{
  font-family: 'Open Sans', Arial, sans-serif;
  width: 100%;
}

/* ===== Top Menu Styles ===== */
.nav-bar-custom {
  background-color: #f0ecebff;
  height: 3.4rem;
}

.nav-bar-custom .btn {
  background-color: transparent;
  border: none;
  color: #202427;
  /* padding: 0.75rem 1rem; */
  font-size: 1rem;
  height: 3.4rem;
}

.nav-bar-custom .btn:hover {
  background-color: rgba(250, 250, 250, 0.99) !important;
  text-decoration: none;
  color: #212529 !important;
  transition: color .2s ease, background-color .2s ease;
}

/* ===== School Header Styles ===== */
.osu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid #f5ac19ff;
  height: 5.5rem;
}

.osu-logo {
  display: flex;
  align-items: center;
  /* padding: 0.5rem 1rem; */
}

.osu-logo img {
  width: 15rem;
  height: 5rem;
  margin-right: 10px;
  padding: 0.2rem;
}

.osu-logo-box {
  border-right: 1px solid #0303034f;
}

.osu-title {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.osu-title .college {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #555;
}

.osu-title .dept {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: bold;
  color: #d73f09;
  font-size: 1.2rem;
}

.osu-nav {
  background-color: #f0ecebff;
  border-radius: 30px;
}

.osu-nav .btn {
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
  background-color: #f0ecebff;
  color: #212529;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}

.osu-nav .btn:hover{
  background-color: rgba(255, 255, 255, 1) !important;
  color: #212529 !important;
  text-decoration: none;
  outline: none;
}

.osu-search {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #666;
}

.osu-search i {
  font-size: 1.2rem;
  margin-left: 5px;
}

.osu-nav .dropdown-menu {
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  min-width: 18rem;
  font-size: 0.7rem;
}

.osu-nav .dropdown-item {
  transition: background-color .15s ease, color .15s ease;
  white-space: normal;
}

.osu-nav .dropdown-item:hover,
.osu-nav .dropdown-item:focus {
  background-color: #d73f09;
  color: #212529;
  transition: color .2s ease, background-color .2s ease;
}

@media (max-width: 768px) {
  .osu-logo-box img {
    content: url("https://engineering.oregonstate.edu/themes/custom/madrone/assets/osu-logo-crest-only.svg");
  }
  .osu-nav {
    display: none !important;
  }
  .nav-bar-custom .btn{
    font-size: 0.7rem;
  }
}