/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* Career Page */
.filter-selection {
  position: relative;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 24px 29px;
  max-width: 1080px;
  margin: 30px auto 0;
}

@media (min-width: 1000px) {
  .filter-selection {
    -ms-grid-columns: 1fr auto;
    grid-template-columns: 1fr auto;
  }
}

.filter-header h2 {
  text-align: center;
}

.filter-list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  gap: 24px 13px;
}

@media (min-width: 1000px) {
  .filter-list {
    -ms-grid-columns: (1fr) [3];
    grid-template-columns: repeat(3, 1fr);
  }
}

.filter-list select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
  outline: 0;
  font: inherit;
  height: 53px;
  padding: 1px 15px 0px 18px;
  border: 1px solid #979797 !important;
  border-radius: 26px !important;
  color: #2a2a2a;
  background: url("https://humanit2021.wpengine.com/wp-content/uploads/2021/08/arrow-down.png")
    no-repeat right 24px center / 21px #fff !important;
  cursor: pointer;
  font-size: 16px !important;
}

.filter-list .nice-select {
  height: 53px;
  padding-top: 6px;
  border: 1px solid #979797;
  border-radius: 26px;
  font-size: 16px;
}

.filter-list .nice-select:after {
  top: calc(50% - 5px);
  right: 29px;
  width: 12px;
  height: 12px;
  border-color: #979797;
}

.filter-list .nice-select ul {
  width: 100%;
  margin-left: 0;
}

.search-form input[type="text"] {
  height: 53px;
  padding: 1px 16px 0px 16px;
  border: 1px solid #979797 !important;
  border-radius: 26px !important;
  background: #fff !important;
  color: #2a2a2a;
  font-size: 16px !important;
}

.filter-selection-left {
  /* position: relative; */
  display: -ms-grid;
  display: grid;
}

.search-form {
  position: absolute;
  /* top: 0; */
  /* bottom: -28px; */
  bottom: 0;
  left: 0;
  z-index: 1;
  width: calc(100% - 76px);
}

@media (min-width: 1000px) {
  .search-form {
    width: calc(100% - 82px);
    /* bottom: 0; */
    visibility: hidden;
    opacity: 0;
  }
}

.search-form.visible {
  visibility: visible;
  opacity: 1;
}

.filter-search-trigger {
  display: -ms-grid;
  display: grid;
  place-content: center;
  -ms-grid-column-align: end;
  justify-self: end;
  width: 52px;
  height: 52px;
  border: 1px solid #979797;
  border-radius: 50%;
  cursor: pointer;
}

.filter-search-trigger .icon-salient-search {
  display: block;
  font-size: 20px;
  color: #979797;
  -webkit-transform: rotate(80deg);
  -ms-transform: rotate(80deg);
  transform: rotate(80deg);
}

.career-listing-header {
  margin: 80px auto 40px;
  text-align: center;
}

.career-listing-header.career-header {
  max-width: 540px;
}
.career-listing-header.internship-header {
  max-width: 750px;
}

.career-content {
  /* margin-top: 40px;     */
}

.career-item {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 30px 60px;
  max-width: 1140px;
  padding: 30px;
  margin: 0 auto 15px;
  border: 1px solid #979797;
}

@media (min-width: 1000px) {
  .career-item {
    -ms-grid-columns: 1fr auto;
    grid-template-columns: 1fr auto;
    padding: 20px 48px 12px;
  }
}

.career-item-content h4 {
  margin-bottom: 4px !important;
}

.career-item-content h6 {
  margin-bottom: 12px !important;
}

@media (min-width: 1000px) {
}

.blog-category-list {
  padding-bottom: 60px !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 20px;
}

@media (min-width: 690px) {
  blog-category-list {
    padding-top: 15px;
    padding-bottom: 65px !important;
    gap: 30px;
  }
}

@media (min-width: 1000px) {
  blog-category-list {
    gap: 60px;
  }
}

.blog-category-list a {
  display: inline-block;
  padding: 10px 30px;
  border-radius: 25px;
  background-color: #3a3a3a;
  color: #fff;
}

.blog-category-list a:hover {
  background-color: #10af4c;
}

.masonry.classic_enhanced .masonry-blog-item .article-content-wrap,
.blog-recent[data-style*="classic_enhanced"] .article-content-wrap {
  padding: 6% 6% 0 !important;
  height: auto !important;
}

.masonry.classic_enhanced .wide_tall .article-content-wrap {
  padding: 6% !important;
}

.masonry.classic_enhanced .masonry-blog-item .inner-wrap,
.blog-recent[data-style*="classic_enhanced"] .inner-wrap {
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

/* @media (min-width: 690px) { */
.masonry-blog-item {
  /* width: calc(31.1% - 40px);
    padding-left: 15px;
    padding-right: 15px; */
  margin-bottom: 0 !important;
}
/* } */

.masonry.classic_enhanced .posts-container article .meta-category a,
.blog-recent[data-style*="classic_enhanced"] .meta-category a {
  padding: 10px 20px !important;
}

body[data-button-style*="slightly_rounded"]
  .blog-recent[data-style*="classic_enhanced"]
  .meta-category
  a,
.blog-recent[data-style*="classic_enhanced"]
  .has-post-thumbnail
  .meta-category
  a {
  border-radius: 25px !important;
}

.post-area.masonry.classic_enhanced .post .post-header > span {
  font-size: 14px;
}

.post-area.masonry.classic_enhanced .post .post-meta,
.blog-recent[data-style*="classic_enhanced"] .post-meta {
  padding: 0 !important;
  margin-top: -6px;
  border: 0 !important;
  font-size: 14px;
}

.post-area.masonry.classic_enhanced .post .post-meta a,
.blog-recent[data-style*="classic_enhanced"] .post-meta a,
.related-posts .article-content-wrap .post-header .meta {
  font-size: 14px;
}

.post-area.masonry.classic_enhanced .post .post-meta i,
.blog-recent[data-style*="classic_enhanced"] .post-meta i {
  display: none !important;
}

.post-area.masonry.classic_enhanced .post .blog-link {
  margin-top: 12px;
  text-decoration: underline;
  /* color: #10ae4b; */
}

/* .post-area.masonry.classic_enhanced .post .blog-link:hover {
    text-decoration: underline;
  } */

.post-area.masonry.classic_enhanced
  .masonry-blog-item:not(.has-post-thumbnail).regular.format-audio
  .post-meta.no-img,
.post-area.masonry.classic_enhanced
  .masonry-blog-item:not(.has-post-thumbnail).regular.format-video
  .post-meta.no-img,
.post-area.masonry.classic_enhanced
  .masonry-blog-item:not(.has-post-thumbnail).regular.format-standard
  .post-meta.no-img,
.post-area.masonry.classic_enhanced .post.wide_tall .post-meta,
.blog-recent[data-style="classic_enhanced_alt"] .inner-wrap .post-meta,
.post-area.masonry.classic_enhanced .post.large_featured .post-meta {
  position: relative !important;
}

@media (min-width: 690px) {
  .post-area.masonry.classic_enhanced .post.large_featured .img-link,
  .post-area.masonry.classic_enhanced .post.large_featured .nectar-flickity {
    width: calc(50% - 25px);
  }
}

.post-area.masonry.classic_enhanced .post.wide_tall .content-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.post-area.masonry.classic_enhanced .post.wide_tall .article-content-wrap,
.post-area.masonry.classic_enhanced
  .masonry-blog-item.large_featured
  .article-content-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  height: 100%;
}

@media (min-width: 1000px) {
  .masonry.classic_enhanced
    .masonry-blog-item.post.large_featured
    .article-content-wrap {
    top: auto !important;
    bottom: 0;
    -ms-transform: none !important;
    transform: none !important;
    -webkit-transform: none !important;
  }
}

/* @media only screen and (min-width: 690px) and (max-width: 990px) {
  .post-area.masonry.classic_enhanced
    .masonry-blog-item.large_featured
    .article-content-wrap {
    margin-top: 48px;
  }
} */

@media (max-width: 690px) {
  .masonry-blog-item.wide_tall .article-content-wrap .post-header {
    margin-top: 48px;
    /* padding-top: 75px !important; */
  }
}

.related-post-wrap h3.related-title {
  padding: 60px 0 30px 0;
  text-align: center;
  font-family: FFMarkStdBold;
  letter-spacing: 1.9px;
  font-size: 50px;
  line-height: 51px;
  font-weight: 700 !important;
}

body .blog-recent[data-style*="classic_enhanced"] .post-meta {
  position: relative !important;
}

.related-posts .article-content-wrap .excerpt {
  font-size: 16px;
}

.related-posts .post .blog-link {
  font-size: 16px;
  color: #10ae4b !important;
  text-decoration: underline;
}

.blog-recent[data-style*="classic_enhanced"].related-posts .inner-wrap {
  padding-bottom: 0 !important;
}

.blog-recent[data-style*="classic_enhanced"] .inner-wrap,
.masonry.classic_enhanced .masonry-blog-item .article-content-wrap,
.blog-recent[data-style*="classic_enhanced"] .article-content-wrap {
  background-color: transparent !important;
}

.masonry.classic_enhanced .masonry-blog-item h3.title,
.blog-recent[data-style*="classic_enhanced"] h3.title,
.masonry.classic_enhanced .masonry-blog-item h3.title {
  margin-bottom: 4px;
  font-size: 24px !important;
  line-height: 1.2 !important;
}

.post-area.masonry.classic_enhanced .post .post-featured-img,
.blog-recent[data-style*="classic_enhanced"] .post-featured-img,
.post-area.masonry.classic_enhanced .n-post-bg {
  /* min-height: 220px; */
  min-height: 210px;
  /* background-color: #d8d8d8; */
  display: grid;
  place-content: center;
}

@media (min-width: 690px) {
  .post-area.masonry.classic_enhanced .post .post-featured-img,
  .blog-recent[data-style*="classic_enhanced"] .post-featured-img,
  .post-area.masonry.classic_enhanced .n-post-bg {
    /* height: 220px; */
    height: 210px;
    overflow: hidden;
  }

  .post-area.masonry.classic_enhanced .post .post-featured-img img,
  .blog-recent[data-style*="classic_enhanced"] .post-featured-img img,
  .post-area.masonry.classic_enhanced .n-post-bg img {
    -o-object-fit: cover;
    object-fit: cover;
    height: 100%;
    width: auto;
    min-width: 100%;
  }
}

body[data-ext-responsive="true"] .post-area.masonry .posts-container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  gap: 30px;
}

@media (min-width: 691px) {
  body[data-ext-responsive="true"] .post-area.masonry .posts-container {
    -ms-grid-columns: (1fr) [2];
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  body[data-ext-responsive="true"] .post-area.masonry .posts-container {
    -ms-grid-columns: 1fr 56px 1fr 56px 1fr;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 56px;
  }
}

.masonry-blog-item {
  width: 100% !important;
  height: auto !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
}

@media (min-width: 1000px) {
  .post-area.masonry.classic_enhanced .masonry-blog-item.large_featured {
    -ms-grid-column-span: 2;
    grid-column: span 2;
  }
}

@media only screen and (min-width: 1000px) {
  .masonry.classic_enhanced .masonry-blog-item.large_featured h3.title {
    font-size: 28px !important;
  }
}

.post-area.masonry.classic_enhanced .post.wide_tall .article-content-wrap {
  position: relative !important;
  padding-top: 120px !important;
}

/* testing */
/* @media only screen and (max-width: 1000px) {
  .posts-container[data-load-animation="fade_in_from_bottom"]
    .inner-wrap.animated,
  .posts-container[data-load-animation="fade_in"] article .inner-wrap.animated,
  .posts-container[data-load-animation="perspective"]
    article
    .inner-wrap.animated,
  .posts-container[data-load-animation="fade_in_from_bottom"] .inner-wrap,
  .posts-container[data-load-animation="fade_in"] article .inner-wrap,
  .posts-container[data-load-animation="perspective"] article .inner-wrap {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
  }
} */

@media only screen and (max-width: 1000px) {
  .post-area.masonry.classic_enhanced .post.large_featured .img-link {
    position: relative;
    width: 100%;
    height: 260px;
  }

  .post-area.masonry.classic_enhanced
    .post.large_featured:not(.format-link):not(.format-quote)
    .content-inner {
    width: 100%;
    height: auto;
    position: static;
  }

  body
    .masonry.classic_enhanced
    .masonry-blog-item.post.large_featured
    .article-content-wrap {
    position: relative !important;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
    top: auto !important;
    height: auto !important;
  }

  .masonry.classic_enhanced .posts-container .large_featured .meta-category a,
  .blog-recent[data-style*="classic_enhanced"]
    .inner-wrap:not(.has-post-thumbnail)
    .meta-category
    a {
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
  }
}
