.prefilled-syringe-videos {
  background-color: #eaebeb;
  padding: 2rem 1rem;
  position: relative;
}

/* Buttons style reset */

.prefilled-syringe-videos button {
  border: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  z-index: 1;
}

.prefilled-syringe-videos__title {
  margin-top: 0;
}

.prefilled-syringe-videos-content {
  display: grid;
  gap: 1rem;
  /* Use grid magic to switch to two columns once we are able to fit 524px per column */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 524px), 1fr));
}

.prefilled-syringe-videos-list {
  align-items: center;
  display: grid;
  gap: 1rem;
  /* Use grid magic to switch to wrap buttons ensuring at least 249px per button */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 249px), 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.prefilled-syringe-videos-list-item {
  display: flex;
  justify-content: center;
}

.prefilled-syringe-videos-list-item .prefilled-syringe-videos-list-item__button {
  align-items: center;
  background-color: #db7c00;
  border-radius: 5px;
  box-sizing: border-box;
  color: white;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: space-between;
  max-width: 260px;
  padding: 1rem;
  text-decoration: none;
  width: 100%;
}

.prefilled-syringe-videos-list-item .prefilled-syringe-videos-list-item__button--green {
  background-color: #00945f;
}

.prefilled-syringe-videos-list-item .prefilled-syringe-videos-list-item__button small {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  line-height: 1.2;
  margin-inline: auto;
  text-align: left;
}

.prefilled-syringe-videos-list-item .prefilled-syringe-videos-list-item__button small span {
  display: inline-block;
  font-family: 'FuturaPTBold', Futura, Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.prefilled-syringe-videos-list-item__button::after {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='24' viewBox='0 0 16 24'%3E%3Cpath id='Polygon_1' data-name='Polygon 1' d='M12 0 24 16H0Z' transform='translate(16) rotate(90)' fill='%23fff'/%3E%3C/svg%3E");
}

.prefilled-syringe-videos__preview {
  position: relative;
}

.prefilled-syringe-videos__preview::after {
  -ms-transform: scale(1);
  -webkit-animation: pulse-orange 2s infinite;
  -webkit-box-shadow: 0 0 0 0 #f7901e;
  -webkit-transform: scale(1);
  animation: pulse-orange 2s infinite;
  background: url(/themes/custom/cimzia_v4/assets/icons/icon-play-orange.png) 0 0 no-repeat;
  background-size: 119px 119px;
  border-radius: 50%;
  box-shadow: 0 0 0 0 #f7901e;
  content: '';
  height: 119px;
  left: 50%;
  margin: -59.5px 0 0 -59.5px;
  overflow: hidden;
  position: absolute;
  top: 50%;
  transform: scale(1);
  width: 119px;
}

@keyframes pulse-orange {
  0% {
    box-shadow: 0 0 0 0 rgba(247, 144, 30, 0.7);
    transform: scale(0.95);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(247, 144, 30, 0);
    transform: scale(1.05);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(247, 144, 30, 0);
    transform: scale(0.95);
  }
}

.prefilled-syringe-videos__preview img {
  height: auto;
  width: 100%;
}

.prefilled-syringe-videos-dialog {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  height: 100dvh;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100dvw;
  z-index: 10000;
}

.prefilled-syringe-videos-dialog.open {
  display: flex;
}

.prefilled-syringe-videos-dialog__close {
  background-color: transparent;
  border: none;
  color: white;
  font-size: 2.5rem;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 2rem;
  top: 1rem;
}

.prefilled-syringe-videos-dialog .video-responsive-container {
  max-width: 80rem;
  width: 95%;
}

.prefilled-syringe-videos-dialog .video-responsive-iframe-container {
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translateZ(0);
  height: 0;
  padding-top: 56.25%;
  pointer-events: auto;
  transform: translateZ(0);
  width: 100%;
}

.prefilled-syringe-videos-dialog .video-responsive-iframe-container::after {
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background-color: black;
  bottom: 0;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  content: '';
  display: block;
  height: auto;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
  z-index: -1;
}

.prefilled-syringe-videos-dialog__embed {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
