/*filter section*/
.filter-row {
  margin-bottom: 36px; 
}
.filter-group .subtitle {
  margin-top: 12px;
}
.form-selected:hover,
.form-selected:focus {
  cursor: pointer;
  font-weight: 700;
  text-decoration: underline;
}
.filter-group .filter-search form {
  position: relative;
}
.filter-group .search-button {
  -webkit-appearance: none;
  background-color: transparent;
  border: 2px solid #101820;
  border-radius: 0 3px 3px 0;
  height: 44px;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: all .3s ease-out;
  -o-transition: all .3s ease-out;
  transition: all .3s ease-out;
  width: 44px;
}
.filter-group .search-button:after {
  background-image: url("https://www.eficode.com/hubfs/eficode-hs-theme/images/icons/search-icon.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 25px;
  content: "";
  display: block;
  height: 100%;
  position: relative;
  width: 100%;
}
.filter-group .search-button:hover, 
.filter-group .search-button:focus {
  background-color: #f0f0ec;
}
@media only screen and (min-width: 1171px) {
  .filter-row {
    margin-bottom: 70px; 
  }
}

{# cards #}
.card-video {
  position: relative; 
}
.card-video a {
  color: inherit;
  text-decoration: none;
}
.card-video a:hover h3,
.card-video a:focus h3 {
  text-decoration: underline;
}
.card-video .ondemand-tag {
  background: #ffd100;
  display: inline-block;
  padding: 4px 7px 3px 5px;
}
.card-image {
  position: relative; 
}
.card-image:before { 
  background-image: url('https://www.eficode.com/hubfs/Eficode%202020%20site%20images/Illustrations_2023/video-play-button.svg');
  background-repeat: no-repeat;
  content: "";
  filter: none;
  height: 48px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 48px;
  z-index: 1;
}
.ondemand .card-image:after {
  border-left: 55px solid transparent;
  border-right: 0px solid transparent;
  border-top: 50px solid #ffd100;
  content: "";
  display: block;
  height: 0;
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  z-index: 1;
}

{# embeds #}
.vid-window .hs-responsive-embed {
  height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  position: relative;
}
.vid-window {
  position: relative;
}
.vid-window .hs-responsive-embed iframe, 
.vid-window .hs-responsive-embed object, 
.vid-window .hs-responsive-embed embed,
.vid-window .hs-responsive-embed img {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.vid-window .hs-responsive-embed, 
.vid-window .hs-responsive-embed.hs-responsive-embed-youtube, 
.vid-window .hs-responsive-embed.hs-responsive-embed-wistia, 
.vid-window .hs-responsive-embed.hs-responsive-embed-vimeo {
  border-radius: 8px 8px 0 0;
  padding-bottom: 56.25%;
}

{# modals #}
.modal.content-is-visible .vid-wrapper,
.modal.content-is-visible .vid-content {
  display: block!important;
}
.modal-video-section .modal-body {
  border: none;
  border-radius: 8px;
  padding: 0;
}
.modal-video-section .vid-content {
  border-bottom: 8px solid #ffd100;
  border-radius: 0 0 8px 8px;
  padding: 16px;
}

{# form #}
.video-form {
  padding: 30px;
}
.video-form form {
  padding: 0;
}
.content-is-visible .video-form {
  display: none;
}
.videomodal .container-fluid>button {
  font-size: 24px;
  height: 42px;
  line-height: 1;
  padding: 10px;
  position: absolute;
  right: 0;
  top: 0;
  width: 42px;
  z-index: 1;
}
.content-is-visible .container-fluid>button {
  display: none;
}