/* CSS that was in the color specific files that needs to be retained when we do the brand swap 5-23-23 MH */

/* Flexslider styles */

/* arrow fix */
.flex-direction-nav a {
  height: 45px;
}

.slides .flex-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #fff;
  background: rgba(255, 255, 255, 0.7);
  color: #464646;
  padding: 8px;
  padding: 0.5rem;
  font-weight: 400;
  font-style: italic;
}

.flexslider .slides > li {
  position: relative;
}

/* side menu */

#main ul.menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

#main ul.menu li {
  border: 1px solid #044c46;
  margin: 3px 0;
  position: relative;
  list-style: none;
  padding: 0;
}
.domain-hiimr-humboldt-edu #main ul.menu li {
  border:none;
}
#main ul.menu ul {
  background: rgba(40, 118, 125, 0.25);
}

#main ul.menu li a {
  padding: 11px 15px;
  line-height: 1.1;
  display: block;
}

#main ul.menu li a:hover,
#main ul.menu li a.active {
  text-decoration: none;
  background-color: #044c46;
  color: #ffffff;
}

/* Mini cards for interdisciplinary major faculty used on Sociology */

.pwrap {
  display: grid;
  gap: 20px;
  margin-bottom: 3rem;
}
@media screen and (min-width: 767px) {
  .pwrap {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 992px) {
  .pwrap {
    grid-template-columns: repeat(3, 1fr);
  }
}
.pcard {
  border: solid 1px #ccc;
  padding: 0.25rem 0.5rem;
}
.pcard p {
  margin: 0;
  padding: 0;
}
.pjob {
  font-weight: 700;
}

/* Single testimonial */

.quote--box {
  background: #004c46;
  padding: 8px;
  padding: 0.5rem;
  border-radius: 5px;
  color: #fff;
}

.quote--box-text {
  position: relative;
  text-align: right;
}

.quote--box-text span {
  margin-top: 27.2px;
  margin-top: 1.7rem;
  display: block;
  font-weight: 600;
  font-style: italic;
}

.quote--box-profile {
  margin-top: 32px;
  margin-top: 2rem;
}

.quote--box-profile img {
  border-radius: 50%;
  border: solid 2px #fff;
}

/* domain specific workmark widths */
.domain-politics-humboldt-edu .logo img,
.domain-history-humboldt-edu .logo img,
.domain-sociology-humboldt-edu .logo img {
  width: 350px;
}

.domain-english-humboldt-edu .logo img {
  width: 360px;
}

.emphasis {
  color: #004c46;
  font-weight: 600;
}

/*Course Highlights Views from Scholarly 8-17-2018 bjt*/

.block-views .view-courses {
  border-bottom: none;
}

.highlight-item.views-row {
  border: none;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 20px;
  padding-bottom: 0;
}

.highlighted-content-wrapper {
  position: relative;
  overflow: hidden;
}

.highlighted-content-wrapper .title {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
}

.highlighted-content-wrapper .title a {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  padding: 6px 10px;
  display: block;
  background-color: rgba(37, 37, 37, 0.9);
}

.highlighted-content-wrapper .title a:hover {
  text-decoration: none;
  background-color: rgba(85, 85, 85, 0.9);
}

.view-courses .more-link {
  clear: both;
  padding-left: 10px;
  padding-right: 10px;
}

.view-courses .more-link a {
  text-align: center;
  border-bottom: 1px solid #acacac;
  margin-bottom: 0;
  padding-bottom: 10px;
}

.footer-area .view-courses .more-link a {
  border-bottom: 1px solid #252525;
}

/*caption*/
.caption-wrapper {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  width: 430px;
  background-color: rgba(0, 0, 0, 0.77);
  color: #fff;
  padding: 0 45px;
}

.caption {
  position: absolute;
  padding-right: 45px;
  bottom: 45px;
}

.caption h1 {
  font-size: 37px;
  color: #fff;
  margin-bottom: 15px;
}

.caption h1 a {
  color: #fff;
}

.caption h1 a:hover {
  color: #fff;
  text-decoration: underline;
}

.caption .text {
  font-size: 21px;
  line-height: 1.52;
}

.caption .more {
  font-size: 19px;
  background-color: #555;
  margin-bottom: 0;
}

.caption .more:hover {
  opacity: 0.85;
  filter: alpha(opacity=85);
  background-color: #555;
}

/*Image overlay*/
.overlayed {
  position: relative;
  display: block;
  overflow: hidden;
  float: left;
  max-width: 100%;
}

.node-teaser .photo-wrapper .overlayed {
  float: none;
}

.overlayed:hover a {
  text-decoration: none;
}

.overlayed a:before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  filter: alpha(opacity=0);
  background: rgba(65, 135, 209, 0.75);
  background: -moz-linear-gradient(
    top,
    rgba(65, 135, 209, 0.75) 0%,
    rgba(42, 104, 175, 0.75) 100%
  );
  /* FF3.6+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, rgba(65, 135, 209, 0.75)),
    color-stop(100%, rgba(42, 104, 175, 0.75))
  );
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(
    top,
    rgba(65, 135, 209, 0.75) 0%,
    rgba(42, 104, 175, 0.75) 100%
  );
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(
    top,
    rgba(65, 135, 209, 0.75) 0%,
    rgba(42, 104, 175, 0.75) 100%
  );
  /* Opera 11.10+ */
  background: -ms-linear-gradient(
    top,
    rgba(65, 135, 209, 0.75) 0%,
    rgba(42, 104, 175, 0.75) 100%
  );
  /* IE10+ */
  background: linear-gradient(
    to bottom,
    rgba(65, 135, 209, 0.75) 0%,
    rgba(42, 104, 175, 0.75) 100%
  );
  /* W3C */
  webkit-transition: opacity 0.2s linear;
  -moz-transition: opacity 0.2s linear;
  -o-transition: opacity 0.2s linear;
  -ms-transition: opacity linear 0.2s;
  transition: opacity 0.2s linear;
  z-index: 2;
}

.overlayed a:after {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -20px 0 0 -20px;
  font-size: 16px;
  color: #fff;
  text-align: center;
  width: 40px;
  height: 40px;
  background: #252525;
  font-family: "Font Awesome 6 Free";
  content: "\f0c1";
  line-height: 42px;
  z-index: 3;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: all linear 0.2s;
  -moz-transition: all linear 0.2s;
  -o-transition: all linear 0.2s;
  -ms-transition: all linear 0.2s;
  transition: all linear 0.2s;
}

.overlayed.plus a:after {
  content: "\f067";
  line-height: 42px;
  font-size: 18px;
}

.overlayed.large a:after {
  margin: -40px 0px 0 -40px;
  font-size: 28px;
  line-height: 84px;
  width: 80px;
  height: 80px;
}

.overlayed.small a:after {
  width: 40px;
  height: 40px;
  margin: -20px 0px 0 -20px;
  font-size: 14px;
  line-height: 42px;
}

.overlayed a:hover:after,
.overlayed a:hover:before {
  opacity: 1;
  filter: alpha(opacity=100);
  text-decoration: none;
}

@media (max-width: 767px) {
  .custom-width .overlayed.small a:after {
    width: 20px;
    height: 20px;
    margin: -10px 0px 0 -10px;
    font-size: 10px;
    line-height: 22px;
  }
}

@media (max-width: 480px) {
  .overlayed.small a:after {
    width: 20px;
    height: 20px;
    margin: -10px 0px 0 -10px;
    font-size: 10px;
    line-height: 22px;
  }
}

/*images*/
.views-field-field-image,
.view-courses .views-field-field-image img {
  border: 1px solid #e5e5e5;
}

.footer-area .views-field-field-image,
.footer-area .view-courses .views-field-field-image img {
  border: none;
}

.view-courses .views-field-field-image {
  border: none;
}

.images-container {
  margin-bottom: 50px;
  margin-top: 4px;
  overflow: hidden;
}

.node-teaser .field-type-image,
.node-mt-slideshow-entry .field-type-image {
  margin: 0 0 20px 0;
}

.image-preview {
  overflow: hidden;
  position: relative;
  max-width: 100%;
}

.image-preview a.image-popup img,
.node-teaser .field-type-image img {
  border: 1px solid #e5e5e5;
}

.image-preview .overlayed {
  margin-bottom: 1px;
}

.node-teaser .field-type-image img:hover {
  opacity: 0.8;
  filter: alpha(opacity=80);
  -webkit-transition: opacity linear 0.2s;
  -moz-transition: opacity linear 0.2s;
  -o-transition: opacity linear 0.2s;
  -ms-transition: opacity linear 0.2s;
  transition: opacity linear 0.2s;
}

.image-caption {
  margin-top: 1px;
  clear: both;
}

.image-caption p {
  background: #ebebeb;
  color: #111;
  padding: 15px;
  margin: 0;
  font-style: italic;
  font-weight: 700;
}

/*image listing*/
.image-listing-items {
  overflow: hidden;
  padding-top: 15px;
}

.image-listing-item {
  float: left;
  padding: 0;
  border: 1px solid #e5e5e5;
  margin: 0 2.66% 2.66% 0;
  max-width: 17.866666666%;
  position: relative;
}

.image-listing-item.overlayed {
  max-width: 17.866666666%;
}

.image-listing-items .image-listing-item:nth-child(5n) {
  margin-right: 0px;
}

@media (max-width: 767px) {
  .custom-width .field-type-image {
    margin: 0 0 20px 0;
  }
}

/*Image overlay*/
.overlayed {
  position: relative;
  display: block;
  overflow: hidden;
  float: left;
  max-width: 100%;
}

.node-teaser .photo-wrapper .overlayed {
  float: none;
}

.overlayed:hover a {
  text-decoration: none;
}

.overlayed a:before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  filter: alpha(opacity=0);
  background: rgba(65, 135, 209, 0.75);
  background: -moz-linear-gradient(
    top,
    rgba(65, 135, 209, 0.75) 0%,
    rgba(42, 104, 175, 0.75) 100%
  );
  /* FF3.6+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, rgba(65, 135, 209, 0.75)),
    color-stop(100%, rgba(42, 104, 175, 0.75))
  );
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(
    top,
    rgba(65, 135, 209, 0.75) 0%,
    rgba(42, 104, 175, 0.75) 100%
  );
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(
    top,
    rgba(65, 135, 209, 0.75) 0%,
    rgba(42, 104, 175, 0.75) 100%
  );
  /* Opera 11.10+ */
  background: -ms-linear-gradient(
    top,
    rgba(65, 135, 209, 0.75) 0%,
    rgba(42, 104, 175, 0.75) 100%
  );
  /* IE10+ */
  background: linear-gradient(
    to bottom,
    rgba(65, 135, 209, 0.75) 0%,
    rgba(42, 104, 175, 0.75) 100%
  );
  /* W3C */
  webkit-transition: opacity 0.2s linear;
  -moz-transition: opacity 0.2s linear;
  -o-transition: opacity 0.2s linear;
  -ms-transition: opacity linear 0.2s;
  transition: opacity 0.2s linear;
  z-index: 2;
}

.overlayed a:after {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -20px 0 0 -20px;
  font-size: 16px;
  color: #fff;
  text-align: center;
  width: 40px;
  height: 40px;
  background: #252525;
  font-family: "Font Awesome 6 Free";
  content: "\f0c1";
  line-height: 42px;
  z-index: 3;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: all linear 0.2s;
  -moz-transition: all linear 0.2s;
  -o-transition: all linear 0.2s;
  -ms-transition: all linear 0.2s;
  transition: all linear 0.2s;
}

.overlayed.plus a:after {
  content: "\f067";
  line-height: 42px;
  font-size: 18px;
}

.overlayed.large a:after {
  margin: -40px 0px 0 -40px;
  font-size: 28px;
  line-height: 84px;
  width: 80px;
  height: 80px;
}

.overlayed.small a:after {
  width: 40px;
  height: 40px;
  margin: -20px 0px 0 -20px;
  font-size: 14px;
  line-height: 42px;
}

.overlayed a:hover:after,
.overlayed a:hover:before {
  opacity: 1;
  filter: alpha(opacity=100);
  text-decoration: none;
}

@media (max-width: 767px) {
  .custom-width .overlayed.small a:after {
    width: 20px;
    height: 20px;
    margin: -10px 0px 0 -10px;
    font-size: 10px;
    line-height: 22px;
  }
}

@media (max-width: 480px) {
  .overlayed.small a:after {
    width: 20px;
    height: 20px;
    margin: -10px 0px 0 -10px;
    font-size: 10px;
    line-height: 22px;
  }
}

/* hacks for using css grid to layout views pages */
@media (min-width: 767px) {
  .grid-container-3 .view-content {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 20px 1fr 20px 1fr;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
  }
}
/* Style current students view as cards */
.current-students .views-row {
    background:white;
    border-radius: 15px;
    padding: 0 1rem;
}
.current-students h5, .grad-students h5 {
    margin: .25rem 0 0;
}
.current-students p, .grad-students p {
    margin-top: 0;
}
/* remove blog link to username */

li.blog_usernames_blog.last {
  display: none;
}


/* sociology footer button overrides */
.domain-sociology-humboldt-edu .footer-wrapper a.btn-default, .domain-sociology-humboldt-edu .footer-wrapper a.btn-default:visited {
  color: #004C46;
}
.domain-sociology-humboldt-edu .footer-wrapper a.btn-default:hover, .domain-sociology-humboldt-edu .footer-wrapper a.btn-default:active, .domain-sociology-humboldt-edu .footer-wrapper a.btn-default:focus {
  color: #FFF;
}
