/** Globals **/

a {
  color: #7f569c;
  text-decoration: underline;
  transition: all 0.5s ease;
}

a:hover {
  color: #4b186e;
  text-decoration: underline;
  transition: all 0.5s ease;
}

ol,
ul {
  padding-left: 1rem;
}

.nowrap {
  white-space: nowrap;
}

.sm-only {
  display: block;
}

.lg-only {
  display: none !important;
}

.btn-primary {
  background-color: #4b186e;
  box-shadow: 0 4px 9px -4px #4b186e;
  text-decoration: none;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-show,
.btn:first-child:active,
.btn-primary.show:hover,
.btn-primary.show:focus,
.btn-check:checked + .btn,
:not(.btn-check) + .btn:active,
.btn:first-child:active,
.btn.active,
.btn.show {
  background-color: #7f569c;
  box-shadow: 0 4px 9px -4px #7f569c !important;
  text-decoration: none;
}

.dropdown-toggle {
  white-space: wrap;
}

.dropdown-toggle::after {
  display: none;
}

/** Modal **/

.btn-x-close {
  position: absolute;
  top: 20px;
  right: 20px;
}

button[data-mdb-dismiss="modal"] {
  background-color: #d3d3d3;
  color: #4e4d4e;
}

button[data-mdb-dismiss="modal"]:hover,
button[data-mdb-dismiss="modal"]:active,
button[data-mdb-dismiss="modal"]:focus,
.btn:first-child:active {
  background-color: #8f8f8f;
  color: #000;
}

.modal-footer {
  justify-content: center !important;
}

/** Main Navigation **/

.navbar-nav {
  margin: 0 auto;
}

.courtSearchLabel {
  height: 0 !important;
}

.socialMediaBar ul {
  padding-left: 0;
}

.socialMediaBar ul li {
  list-style-type: none;
}

.navbar-nav .nav-link {
  text-decoration: none;
  margin: 0 5px;
  color: #4e4d4e;
}

.navbar-nav .nav-link::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  transition: 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:active::after,
.navbar-nav .nav-link:focus::after {
  box-shadow: 0 1px 0 #4e4d4e;
  transition: 0.3s ease;
}

.socialMediaBar a {
  text-decoration: none;
}

.socialMediaBar a span {
  text-decoration: underline;
  transition: all 0.5s ease;
}

.topheader-container {
  background: #4e4d4e;
  padding: 0.75rem;
}

.topheader-container a {
  color: #ffffff;
}

#topheader {
  margin-top: 0 !important;
  padding: 0;
}

/** Top Search Bar **/

.topSearchArea .searchField {
  border: none;
}

.topSearchArea .searchField ::placeholder {
  color: #8f8f8f !important;
}

.topSearchArea form .searchButton {
  background: #ffffff;
  border: none;
  border-radius: 5px;
  margin-left: 5px;
  transition: all 0.5s ease;
}

.topSearchArea form .searchButton .fa-search {
  color: #4b186e;
  padding: 0 5px;
  transition: all 0.5s ease;
}

.topSearchArea form .searchButton:hover {
  background: #7f569c;
  transition: all 0.5s ease;
}

.topSearchArea form .searchButton:hover .fa-search {
  color: #ffffff;
  transition: all 0.5s ease;
}

/** History and Purpose **/

.historyImage img {
  height: auto;
  max-width: 524px;
  margin: 0 auto;
}

.cover-image {
  max-width: 100px;
  border: 1px solid #d3d3d3;
  margin-right: 20px;
  margin-bottom: 20px;
}

/** Documents, Articles, & Posters Section **/

.doc-container {
  display: flex;
  flex-direction: column-reverse;
}

/** Profiles **/

.circle img {
  height: 100px;
  width: 90px;
  border-radius: 50%;
  display: inline-block;
  padding-bottom: 5px;
}

/** Cards **/

.expand-card .card-img-top {
  height: 100%;
}

.expand-card {
  transition: all 0.2s ease;
}

.expand-card:hover {
  transform: scale(1.03);
  transition: all 0.2s ease;
}

/** Resources Section **/

.resources-card_container {
  margin-bottom: 30px;
}

.resources-card_container h3 {
  font-size: 1.25rem;
}

/** Footer **/

footer h3 {
  font-size: 18px;
  line-height: 22px;
}

.footerBg {
  background-color: #4e4d4e !important;
}

.footer-navigation {
  padding-left: 0;
}

.footer-navigation li {
  list-style-type: none;
}

.footer-navigation li a {
  font-size: 14px;
  line-height: 18px;
  color: #ffffff;
  text-decoration: none;
}

.footer-navigation li a:hover {
  text-decoration: underline;
}

.fa-ul a {
  color: #ffffff;
  text-decoration: none;
}

.fa-ul a:hover,
.fa-ul a:active,
.fa-ul a:focus {
  color: #ffffff;
  text-decoration: underline;
}

.social-icons .btn-primary {
  text-decoration: none;
  background: #4b186e;
  color: #ffffff;
  box-shadow: none;
}

.social-icons .btn-primary:hover,
.social-icons .btn-primary:active,
.social-icons .btn-primary:focus {
  background: #7f569c;
  box-shadow: none;
}

.copyright-text {
  font-size: 12px;
  line-height: 16px;
}

/** Desktop **/

@media (min-width: 992px) {
  /** Globals **/

  ol,
  ul {
    padding-left: 2rem;
  }

  .sm-only {
    display: none !important;
  }

  .lg-only {
    display: block !important;
  }

  /** Header **/

  .topheader-container {
    padding: 0.75rem 0px;
  }

  /** History and Purpose **/

  .cover-image {
    max-width: 125px;
    border: 1px solid #d3d3d3;
    margin-right: 20px;
    margin-bottom: 20px;
  }

  /** Documents, Articles, & Posters Section **/

  .doc-container {
    flex-direction: row;
  }

  /** Cards **/

  .expand-card .card-img-top {
    height: 150px;
  }

  /** Resources Section **/

  .resources-card_container {
    margin-bottom: 0;
  }
}

@media (min-width: 1200px) {
  /** Header **/

  .header-logo_container {
    position: absolute;
    left: 0;
  }

  .navbar_container {
    position: relative;
    padding: 8px 0;
  }

  /** Cards **/

  .expand-card .card-img-top {
    height: 200px;
  }
}

@media (min-width: 1400px) {
  /** Cards **/

  .expand-card .card-img-top {
    height: 250px;
  }
}

.indexCards {
  margin: -0.5em;
}
.shadow-custom {
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25),
    0 3px 10px 11px rgba(0, 0, 0, 0.15) !important;
}
html,
body {
  overflow-x: hidden;
}
.visually-hidden-focusable {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 999;
}
.visually-hidden-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 1rem;
  padding: 0.5rem 1rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  display: inline-block;
}

.indexCards {
  margin: -0.5em;
}
.shadow-custom {
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25),
    0 3px 10px 11px rgba(0, 0, 0, 0.15) !important;
}
html,
body {
  overflow-x: hidden;
}
.visually-hidden-focusable {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 999;
}

.visually-hidden-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 1rem;
  padding: 0.5rem 1rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  display: inline-block;
}

footer a {
  color: #ffffff;
  text-decoration: underline;
  transition: all 0.5s ease;
}

footer a:hover {
  color: #f8f6f9;
}

/* Ensure Tableau viz never overlaps footer */
.tableau-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 2rem;
}

/* Ensure footer clears floating content */
footer {
  clear: both;
  position: relative;
  z-index: 1;
}
