/* Responsive CSS Career Card */
.modal-header {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.card {
  border-radius:0;
}

.modal-content {
  border-radius:0;
}

.badge {
    border-radius: 0rem;
}

.b-bg-career {
  background-image: url("../img/bg-career.jpg");
  width: 100%;
  height: 222px;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}

.bg-primary-color {
  background-color: #453213;
}

.b-bg-color {
  background-color: #c69671;
}

.b-superiorporcelain-b-divider {
  min-height: 51px;
  background-image: url("../img/BG.svg");
  background-color: #023F88;
}

.b-superiorporcelain-br-divider {
  height: 5px;
  background-image: url("../img/brown_line.svg");
  background-color: #c69671;
}

.b-texture {
  background-image: url("../img/texture.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: auto;
  height: auto;
}

.b-button-b {
  background-color: transparent;
  border: 2px solid #453213;
  color: #453213;
  padding: 8px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  cursor: pointer;
  margin-left: 0px;
}

.b-we-are-hiring {
  background-image: url("../img/we_are_hiring.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100px;
  height: 15px;
}

.content-wrapper {
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  padding: 0.5rem;
}

.career-card {
  border: 0px solid aqua;
  margin: 0.5rem;
  position: relative;
  height: 20rem;
  overflow: hidden;
  border-radius: 0rem;
  /*flex: 1;*/
  min-width: 290px;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
}

@media (min-width: 900px) {

.career-card {
  height: 20rem
  }
}

.career-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.7) 80%);;
  z-index: 0;
}

.career-card__card-link {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
/*background: rgba(255,0,0,.5); */
}

.career-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 3s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: relative;
  z-index: -1;
}

.career-card__text-wrapper {
  position: absolute;
  bottom: 0rem;
  padding: 1rem;
  color: white;
  width: 100%;
/*background-color: rgba(0, 0, 0, 0.4); */
  transition: background-color 1.5s ease;
}

.career-card__title {
  transition: color 1s ease;
  margin-bottom: .5rem;
}

.career-card__post-date {
  font-size: .7rem;
  margin-bottom: .5rem;
  color: #CCC;
}

.career-card__details-wrapper {
  max-height: 0;
  width: 100%;
  opacity: 0;
  transition: max-height 1.5s ease, opacity 1s ease;
}

@media (min-width: 900px) {
  .career-card:hover .career-card__details-wrapper {
    max-height: 20rem;
    opacity: 1;
  }
  .career-card:hover .career-card__text-wrapper {
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
  }
  .career-card:hover .career-card__title {
    color: #FFE800;
  }
  .career-card:hover .career-card__image {
    transform: scale(1.1);
    z-index: -1;
  }
}

.career-card__excerpt {
  font-weight: 300;
}

.career-card__read-more {
  background: black;
  color: #bbb;
  display: block;
  padding: 0.4rem 0.6rem;
  border-radius: 0rem;
  margin-top: 1rem;
  border: 1px solid #444;
  font-size: 0.8rem;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  text-decoration: none;
  width: 7rem;
  margin-left: auto;
  position: relative;
  z-index: 5;
}

.career-card__read-more i {
  position: relative;
  left: 0.2rem;
  color: #888;
  transition: left 0.5s ease, color 0.6s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.career-card__read-more:hover i {
  left: 0.5rem;
  color: #FFE800;
}