﻿.engineering-resources-list {
  margin-bottom: 5.625rem;
}
.engineering-resources-list .topic-list > li {
  color: #0D0D0D;
}
.engineering-resources-list .accordion-button {
  width: 100%;
}
@media screen and (min-width: 992px) {
  .engineering-resources-list .accordion-button,
  .engineering-resources-list .accordion-button:hover,
  .engineering-resources-list .accordion-button:focus {
    background: transparent;
    border: none;
    padding: 0;
    font-size: 1rem;
    font-weight: bold;
    color: black;
    text-align: left;
    pointer-events: none;
  }
  .engineering-resources-list .accordion-collapse {
    display: block !important;
  }
}
.engineering-resources-list-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  height: 250px;
  margin-bottom: 1.875rem;
  flex-flow: column;
  justify-content: center;
  box-shadow: 0px 5px 30px rgba(73, 120, 242, 0.2);
}
@media (min-width: 1024px) {
  .engineering-resources-list-item {
    justify-content: flex-end;
  }
}
.engineering-resources-list-item-image {
  position: absolute;
  z-index: 0;
  height: 100%;
  width: 100%;
}
.engineering-resources-list-item h5 {
  transition: all 0.3s ease-out;
  padding: 0 3rem;
}
@media (min-width: 1024px) {
  .engineering-resources-list-item h5 {
    transition: transform 300ms;
    transform: translate3d(0, -100%, 0);
  }
}
.engineering-resources-list-item h5 > a {
  color: #fff;
  text-decoration: none;
}
.engineering-resources-list-item h5:before {
  content: "";
  display: block;
  margin-bottom: 1rem;
  width: 30px;
  height: 5px;
  background-color: rgb(255, 89, 89);
}
.engineering-resources-list-item h5 ~ p, .engineering-resources-list-item h5 ~ a {
  padding: 0 3rem;
  color: #fff;
}
@media (min-width: 1024px) {
  .engineering-resources-list-item h5 ~ p, .engineering-resources-list-item h5 ~ a {
    opacity: 0;
    display: none;
    transition: all 0.3s ease-out;
  }
}
.engineering-resources-list-item .slide-up-container {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 1024px) {
  .engineering-resources-list-item .slide-up-container {
    position: absolute;
    width: 100%;
    top: 0;
    transition: transform 300ms;
    transform: translate3d(0, calc(100% - 9rem), 0);
  }
}
.engineering-resources-list-item .overlay {
  transition: all 0.3s ease-out;
  color: #0D0D0D;
  padding: 1.875rem;
  position: absolute;
  z-index: 2;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  margin: auto;
  background: transparent linear-gradient(180deg, #FFFFFF 0%, #000000 100%, #000000 100%) 0% 0% no-repeat padding-box;
  mix-blend-mode: multiply;
}
@media (min-width: 1024px) {
  .engineering-resources-list-item:hover {
    justify-content: center;
  }
}
@media (min-width: 1024px) {
  .engineering-resources-list-item:hover .slide-up-container {
    transform: translate3d(0, 0, 0);
  }
}
.engineering-resources-list-item:hover h5 {
  transition: all 0.3s ease-out;
}
@media (min-width: 1024px) {
  .engineering-resources-list-item:hover h5 {
    transform: translate3d(0, 0, 0);
  }
}
@media (min-width: 1024px) {
  .engineering-resources-list-item:hover h5:before {
    background-color: #fff;
  }
}
@media (min-width: 1024px) {
  .engineering-resources-list-item:hover h5 ~ p, .engineering-resources-list-item:hover h5 ~ a {
    display: block;
    opacity: 1;
  }
}
@media (min-width: 1024px) {
  .engineering-resources-list-item:hover .overlay {
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
    opacity: 0.85;
    background: transparent linear-gradient(180deg, #D2232A 0%, #8F0306 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px 5px 30px rgba(73, 120, 242, 0.2);
    opacity: 0.85;
    mix-blend-mode: normal;
  }
}
