/* feature slider styles */
.active .item-content-overlay {
  display: none;
}
.item-content-overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* text styling shortcuts */

.text-overflow-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.m-t-0 {
  margin-top: 0;
}

/* Add header tag margin in page content section */
.page-section-content h1,
.page-section-content h2,
.page-section-content h3,
.page-section-content h4,
.page-section-content h5,
.page-section-content h6 {
  margin-bottom: 16px;
}

/* This is for the feature sidebar block */
.featured-block img {
  max-width: 100%;
}

/* This is for the google search box on the News Page sidebar */
td.gsc-search-button {
  width: 30%;
}

/* Legacy menu style fix */
.sidebar-nav .nav-aside ul#menu {
  list-style: none;
}

.sidebar-nav .nav-aside ul#menu li {
  margin-bottom: 0;
}

.sidebar-nav .nav-aside a.opener {
  display: none;
}

.sidebar-nav .nav-aside span.title {
  display: block;
  padding: 20px;
  color: #000 !important;
  background-color: var(--primary) !important;
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 0;
}

/* End legacy nav style fix */

/* Fix links on yellow background */

.yellow-bg a {
  color: #000;
  /*text-decoration: underline;*/
  /* added underline so links stand out from black copy, may need to be changed */
}
/* end fix links on yellow background */

/* Fix news article image and content margin */
div#content {
  margin-top: 16px;
}

div.news-photo {
  float: right;
  max-width: 40%;
}
/* End Fix news article content margin */

.gsc-control-cse {
  padding: 0 !important;
}

.gsc-control-cse table {
  margin-bottom: 0 !important;
}

.gsc-control-cse table tbody tr {
  background-color: transparent !important;
}

.gsc-control-cse table tbody tr td {
  border-top: none !important;
}

.gsc-control-cse table tbody tr td.gsib_b {
  display: none;
}

.gsc-control-cse table tbody tr td.gsc-search-button,
.gsc-control-cse table tbody tr td.gsc-input {
  padding: 0;
}

.gsc-control-cse table tbody tr td.gsc-search-button button {
  padding: 15px 25px;
}

/* Adjusts styling for Google Search box */
.hex-box-inner {
  -webkit-clip-path: polygon(
    50% 0%,
    100% 25%,
    100% 75%,
    50% 100%,
    0% 75%,
    0% 25%
  );
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Virtual College Dropdowns */
ul.dropdown-menu.program-dd {
  max-height: 300px;
  overflow: scroll;
}

#program-dd-wrapper {
  min-height: 100px;
}

/* Button for Google Translate */
.btn-translate {
  margin-top: 0;
  margin-bottom: 1rem;
}
@media only screen and (min-width: 769px) {
  .btn-translate {
    position: absolute;
    top: -48px;
    right: 15px;
    margin: 0;
  }
}

/* Responsive videos */
.fh-video {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  border: none;
}

.faculty-listing-h2 {
  margin-top: 48px;
}
