.library-group-wrapper {
  padding: 0;
}

.library-group {
  list-style: none;
}

.library-group .library-group-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.library-group-wrapper article {
  display: flex;
  flex-direction: column;
  width: calc(25% - 10px);
  margin-right: 10px;
}

.library-group-wrapper article video,
.library-group-wrapper article img {
  width: 100%;
  height: 200px;
  border: none;
}

.library-group-wrapper .img-wrapper-center {
  text-align: center;
}

.library-group-wrapper .img-wrapper-center img {
  height: 100%;
  width: auto;
}

.library-group-wrapper article video {
  background: #000;
}

.article-title {
  color: #1A89BE;
  font-weight: bold;
}

.library-group-wrapper .btn {
  display: flex;
  justify-content: center;
}

.library-group-wrapper .btn:hover {
  background: #0686c1;
  color: #FFF;
}

.library-group-wrapper .btn.push-top {
  margin-top: 10px;
}

.article-video-wrapper {
  width: 100%;
  height: 200px;
  position: relative;
  cursor: pointer;
}

.article-video-wrapper embed {
  width: 100%;
  height: 100%;
}

/*these styles were for actual .mp4 videos*/
/*.article-video-wrapper::before {
  position: absolute;
  height: 60px;
  width: 60px;
  border-radius: 30px;
  color: #fff;
  border: 4px solid;
  content: "\25BA";
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .8;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  z-index: 2;
  font-size: 30px;
}*/

/*.article-video-wrapper:hover::after {
  opacity: .6;
  background: #00416b;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 4px;
  content: "";
}*/

.custom-video-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: .5;
  background: #000;
  z-index: 2;
}

.custom-video-container {
  display: none;
}

.custom-video-container.show {
  display: flex;
}

.custom-video-box {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

.custom-video-box .video {
  width: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-video-box video {
  width: 100%;
}

.custom-video-box .video .close-video {
  position: absolute;
  color: #FFF;
  height: 25px;
  width: 25px;
  right: 10px;
  top: 10px;
  border: 2px solid;
  font-size: 14pt;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  z-index: 3;
}

.group-title {
  border-bottom: 1px solid #d3d3d3;
}

.library-group-wrapper article.article-faq {
  width: 100%;
}

/*override bad global stylings only checking for a parent active class*/
.library-group-wrapper .help-faqs__list-group.toggle-slide .toggle-slide__btns--expand:before {
  content: '\e929';
}

.library-group-wrapper .help-faqs__list-group.toggle-slide.active .toggle-slide__btns--expand:before {
  content: '\e92b';
}

.library-group-wrapper .read-more {
  font-weight: bold;
}

/*Laptop or landscape tablet*/
@media only screen and (max-width : 1024px) {
  .library-group-wrapper article {
    width: calc(33.33% - 10px);
  }
}

/*Tablet*/
/*@media only screen and (max-device-width : 768px) {
  .library-group-wrapper article {
    width: calc(50% - 10px);
  }

  .custom-video-box .video {
    width: 70%;
  }
}*/

/*tablet*/
@media only screen and (max-width : 768px) {
  .group-title.expand {
    text-align: left;
    padding: 7.11111111px 24px;
    border: 1px solid #0686c1;
    border-radius: 25px;
    color: #0686c1;
    cursor: pointer;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
  }

  .group-title.expand::after {
    content: '\ea0a';
    float: right;
    border-radius: 50%;
    padding: 4px 5px;
    font-family: 'icomoon';
    font-size: 10px;
    border: 1px solid #0686c1;
  }

  .group-title.expand.active {
    background: #0686c1;
    color: #fff;
  }

  .group-title.expand.active::after {
    content: '\ea0b';
    border-color: #fff;
  }

  .library-group .library-group-wrapper {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1s ease;
  }

  .library-group .library-group-wrapper.active {
    height: auto;
    opacity: 1;
  }

  .library-group-wrapper article {
    width: calc(50% - 10px);
  }

  .custom-video-box .video {
    width: 90%;
  }

  .library-group-wrapper .btn.push-top {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .group-title {
    border-bottom: none;
  }
}

/*large smartphone*/
@media only screen and (max-width : 425px) {
  .library-group-wrapper article {
    width: 100%;
    margin-right: 0;
  }

  .library-group-wrapper article img {
    height: auto;
  }
}
