@import url('https://cdn.theme.iastate.edu/nimbus-sans/nimbus-sans.css');

:root {
--primary-dark-color: #c8102e; /* Primary colour used by elements such as buttons */
--very-dark-primary-color: #c8102e;  /* Darker primary colour used for contrast or hover effects */
--primary-light-color: #fff; /* lighter colour or secondary colour */
--topbar-background-color: #fff; /* background colour for the top bar of the navigation */
--menu-background-color: #f5f5f5; /* background colour for the menu bar of the navigation */
--menu-alternative-background-color: #FFFFFF; /* Alternative background colour for the menu bar, used by some buttons */
--menu-foreground-color: #000000; /* font colour used in the menu bar */
--link-color: #7c2529;
--toc-link-color: #22175b; /* Colour used by text on TOC sidebar elements */
--figure-caption-background-color: #003DAC; 
--figure-caption-color: #FFF;
}

body {
  font-family: 'Nimbus Sans', sans-serif;
  color: #4a4a4a;
  font-size: 1.125rem;
  line-height: 1.75;
}

h1 {
  font-family: Merriweather, serif;
  color: #C8102E;
  font-size: 4.375rem;
  line-height: 1.32857;
  }

h2 {
  font-family: Merriweather, serif;
  color: #C8102E;
  font-size: 1.875rem;
  font-weight: 700;
  padding-bottom: 1.75rem;
  margin: 3rem 0 1.375rem;
  position: relative;
}

h2::after {
content : "";
  position: absolute;
  left    : 0;
  bottom  : 0;
  width   : 3.125rem;;  /* or 100px */
  border-bottom: .125rem solid #f1be48;
}

h2.title {
  text-align: left;
}
  
h3 {
  font-family: Nimbus Sans,sans-serif;
  color: #c8102e;
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1.42857;
}

h4 {
  font-family: Nimbus Sans, sans-serif;
  color: #7c2529;
  font-size: 1.125rem;
  line-height: 1.38889;
}

h5 {
  font-family: Nimbus Sans, sans-serif;
  color: #7c2529;
  font-size: 1rem;
  line-height: 1.5625;
}

h6 {
  font-family: Nimbus Sans, sans-serif;
  color: #4a4a4a;
}

p {
  margin: 1.125rem 0;
}

/* Header Styling */

header {
  font-family: 'Nimbus Sans', sans-serif;
}

.top-bar ul.dropdown ul {
  background-color: #fff;
}

.top-bar ul.dropdown ul a:hover {
  background-color: #f5f5f5;
}

.top-bar-right {
  border-left: 0px;
}

.top-bar-left {
  border-right: 0px;
}

header #main-menu {
  margin-top: -.3125rem;
  padding: 1.25rem 0;
}

header #main-menu li {
  text-align: left;
}

header #main-menu li a {
  font-family: 'Nimbus Sans', sans-serif;
  color: #c8102e;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none !important;
}

header #main-menu li a:hover {
  color: #7c2529;
  text-decoration: underline #f1be48 0.4375rem !important;
}

a::after {
  border-color:#c8102e transparent !important;
}
  
a:hover {
  color: #c8102e;
}

a {
  text-decoration: underline !important;
  font-weight: 700;
}

a.journal-name {
  color: #c8102e;
}

a.journal-name:hover {
  color: #7c2529;
}

/* Breadcrumbs Styling */
.breadcrumbs a {
  color: #7c2529;
}

.breadcrumbs a:hover {
  color: #c8102e;
}

/* Body Styling */

body .box.journal h2 {
  font-size: 1.875rem;
}

body .box.journal p {
  font-size: 1rem;
}

body .accordion-title {
  font-size: 1.125rem;
  line-height: 1.42857;
  padding: 1.5625rem;'
  position: relative;
  cursor: pointer;
  color: #c8102e;
}

body .accordion-content {
  color: #4a4a4a;
}

body .box.journal-list {
  text-align: center;
}

body .button {
  border: .125rem solid #7c2529;
  border-radius: 1.875rem;
  padding: .5rem 1.25rem .5rem 1.25rem;
  margin: .625rem 0;
  text-align: left;
  cursor: pointer;
  background-color: transparent !important;
  color: #7c2529 !important;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.38889;
  text-decoration: none !important;
  transition: color .2s ease-in-out,background-color .2s east-in-out,padding .2s ease-in-out;
  position: relative;
}

body .button:hover {
  background-color: #7c2529 !important;
  color: #fff !important;
}

body .summary h5 {
  color: #c8102e !important;
}

body table {
  padding: 1.5625rem;
}

body table th {
  color: #c8102e;
  font-size: 1.125rem;
  font-weight: 700;
}

body .table.small th {
  font-size: 1rem;
  padding: .55556rem 0.69444rem 0.69444rem;
}

footer svg {
  width: 100%;
  height: 100%;
}

footer .row .large-2 {
  background-color: #fff;
}

header .top-bar-left svg {
  height: 100%;
  max-width: none;
  max-height: none;
}

.cover-float-right {
  width: 30%; 
  float: right;
  padding-left: 16px;
  padding-bottom: 16px;
}

.large-3.columns img {
  box-shadow: .5625rem .5625rem 1.25rem rgba(0,0,0,.2);
}

.large-4.columns img {
  box-shadow: .5625rem .5625rem 1.25rem rgba(0,0,0,.2);
}

/* Books */
.olh-book .book {
  background-color: #fff !important;
  box-shadow: none;
  border-radius: 0;
}

.olh-book .chapter-item {
  padding-right: 0.2rem;
  margin-bottom: 1.175rem;
}

.olh-book .chapter-item p {
  font-size: 0.875rem;
}

.olh-book .section-title {
  color: #c8102e;
}

.olh-book .category {
  color: #7c2529;
}

.olh-book .label-text {
  color: #7c2529;
  font-weight: 700;
}

.olh-book .book-title a {
  color: #c8102e;
}

/* Carousel */
.orbit .orbit-caption h3 {
  font-family: Merriweather, serif;
  font-size: 2rem;
  font-weight: 400;
  background-color: rgba(200,16,46,0.6);
  padding: 12px;
}

/*---ISU Theme---*/

/*Faculty Staff Card*/
.faculty-staff-card {
  
text-align: left !important;
  display: block;
  @include media-breakpoint-up(sm) {
    display: flex;
    flex-direction: row;
    gap: rem(20);
    max-width: rem(488);
  }
}
.faculty-staff-card__media {
  
  margin-bottom: rem(15);
}

.faculty-staff-card__media-container {
  @extend %responsive-img;
  position: relative;
  width: rem(200);
  &:before {
    padding-top: 100%;
  }
}

.faculty-staff-card__content-title {
  font-size: rem(21);
  color: $iastate-maroon;
  font-family: $typeface-sans-serif;
  font-weight: 700;
  line-height: (29 / 21);
  color: $iastate-maroon;
  .iastate22-link-secondary {
    font-size: rem(21);
    .arrow {
      bottom: rem(13);
    }
  }
  margin: 0;
  a {
    margin: 0;
  }
}
.faculty-staff-card__content-body {
  color: $grey;
  font-size: rem(16);
  margin: 0 0 rem(15);
}
.faculty-staff-card__content-contact {
  padding-left: 0;
  li {
    color: $iastate-maroon;
    margin: 0 0 rem(10);
    font-weight: 700;
    display: flex;
    .fa-iastate22-email,
    .fa-iastate22-phone {
      color: $iastate-maroon;
      font-size: rem(30);
    }
    a {
      color: $iastate-maroon;
    }

    &:before {
      content: "";
      padding: 0;
      margin-top: rem(5);
    }
  }
}

.faculty-staff-card__content-key {
  font-weight: 700;
}

.faculty-staff-card__contact-field {
  padding-left: rem(20);
}

/*Faculty Card Set*/
.faculty-staff-card-set {
  display: block;
  @include media-breakpoint-up(lg) {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: rem(40);
  }
  .faculty-staff-card {
    margin-bottom: rem(40);
  }
}