.algorithms-page {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

/* INTRO CSS */

.algorithms-page .intro {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  width: 100%;
  padding: 120px 0px 180px;
  max-width: 1440px;
  background-image: url(/wp-content/themes/iheartvet/images/images/doctor-looking-at-algorithm-desktop.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.algorithms-page .intro-text-wrapper {
  width: 100%;
  max-width: 500px;
  padding: 0 0 0 60px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
}

.algorithms-page .boxed-tag,
.algorithms-page .boxed-tag-not-all-caps {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-self: center;
  margin: 0 30px 30px;
}

.algorithms-page .pro-icon {
  width: 37px;
  height: 20px;
  margin: 0 0 0 10px;
}

@media only screen and (max-width: 1100px) {
  .algorithms-page .intro {
    background-image: url(/wp-content/themes/iheartvet/images/images/doctor-looking-at-algorithm-mobile.jpg);
    align-items: center;
    padding: 80px 0 90vw;
    background-position: bottom left;
  }
  .algorithms-page .intro-text-wrapper {
    align-items: center;
    padding: 0;
  }
  .algorithms-page .intro-text {
    text-align: center !important;
  }
}

@media only screen and (max-width: 760px) {
  .algorithms-page .intro {
    padding: 80px 0 125vw;
    background-position: left;
  }
}

@media only screen and (max-width: 520px) {
  .algorithms-page .intro {
    padding: 80px 0 165vw;
    background-position: left;
  }
}

@media only screen and (max-width: 420px) {
  .algorithms-page .intro {
    padding: 80px 0 205vw;
    background-position: left;
  }
}

/* WHITE BOX ICONS */

.algorithms-page .concise-icon {
  width: 104px;
  height: 64px;
  margin: 3px 0 23px;
}

.algorithms-page .visual-icon {
  width: 82px;
  height: 52px;
  margin: 9px 0 29px;
}

.algorithms-page .easy-icon {
  width: 100px;
  height: 70px;
  margin: 0 0 20px;
}

/* CASE MANAGEMENT */

.case-management-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  padding: 80px 0px 0;
  max-width: 1440px;
}

.case-management-header {
  max-width: 1000px;
}

.case-management-copy {
  max-width: 600px;
}

/* ROTATING IMAGES */

.algorithms-page .rotating-images-container {
  position: relative;
  width: 100%;
}

.algorithms-page .left-gradient {
  position: absolute;
  left: 0;
  top: 0;
  height: 280px;
}

.algorithms-page .right-gradient {
  position: absolute;
  right: 0;
  top: 0;
  height: 280px;
}

.algorithms-page .rotating-images {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  overflow: auto;
  z-index: 1;
  scrollbar-width: none;
}

.algorithms-page .rotating-images::-webkit-scrollbar {
  display: none;
}

.algorithms-page .rotating-image-wrapper {
  width: 100vw;
  min-width: 400px;
}

.algorithms-page .rotating-image {
  width: 100%;
}

/* BULLETS CSS */

@media only screen and (max-width: 1000px) {
  .algorithms-page .bullets-wrapper {
    padding: 60px 0 40px;
  }
}

.algorithms-page .bullets-image-desktop {
  position: absolute;
  /* top: -35px; */ /* Only needed if using the testimonial above */
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 1108px;
  pointer-events: none;
}

@media only screen and (max-width: 1300px) {
  .algorithms-page .bullets-image-desktop {
    top: auto;
    width: 75%;
    right: -35vw;
  }
}

@media only screen and (max-width: 1000px) {
  .algorithms-page .bullets-image-desktop {
    display: none;
  }
}

.algorithms-page .bullets-image-tablet {
  display: none;
}

@media only screen and (max-width: 1000px) {
  .algorithms-page .bullets-image-tablet {
    display: block;
    width: 100%;
    z-index: 1;
    pointer-events: none;
  }
}

@media only screen and (max-width: 700px) {
  .algorithms-page .bullets-image-tablet {
    display: none;
  }
}

.algorithms-page .bullets-image-mobile {
  display: none;
}

@media only screen and (max-width: 700px) {
  .algorithms-page .bullets-image-mobile {
    display: block;
    width: 100%;
    margin-bottom: calc(100vw - 105vw);
    /* margin-top: calc(100vw - 107vw); * /* Only needed if using the testimonial block above */
    margin-top: 0;
    z-index: 1;
    pointer-events: none;
  }
}

/* VIDEO SECTION CSS */

.algorithms-page .video-section-container {
  width: 100%;
  max-width: 1440px;
  margin: 120px 0 0;
}

@media only screen and (max-width: 1300px) {
  .algorithms-page .video-section-container {
    margin: 60px 0 0;
  }
}

.algorithms-page .video-section-wrapper {
  position: relative;
  width: 100%;
  max-width: 1440px;
  padding: 0 30px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.algorithms-page .video-section-header {
  max-width: 700px;
  padding: 60px 0px 20px;
}

.algorithms-page .video-section-copy {
  max-width: 500px;
  padding: 0 0px 20px;
}

.algorithms-page .video-section-video {
  width: 100%;
  max-width: 800px;
  margin-top: -60px;
  z-index: 2;
  box-shadow: rgba(23, 40, 94, 0.08) 0px 4px 24px;
}
