#toh-main-page-slider-container {
    overflow: hidden;
    min-height: 700px;
}

#toh-main-page-slider {
  display: inline-flex;
}

.toh-main-page-image {
  height: 659px;
  width: 450px;
  margin: 0 auto;
  display: flex;
  padding-right: 10px;
  padding-top: 10px;
  border-radius: 0.5em 0.5em 0.5em 0.5em;
}

.animateTransition {
  -webkit-transition: 0.3s ease-out;
  -moz-transition: 0.3s ease-out;
  -o-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}

.inactive-image {
  filter: contrast(60%);
  border: 0px;
}

.toh-arc {
  position: absolute;
  z-index: 100;
  display: grid;
  grid-auto-rows: 10px;
  grid-auto-columns: 10px;
}

.toh-arc-text {
  font-size: 1.78em;
  margin: 0;
  font-family: 'Roboto Slab', serif;
  font-weight: 500;
  color: white;
}

.toh-arc-right {
  left: -20px;
}

/* Grid setup ends */

@media only screen and (max-width: 800px) {
  #toh-main-page-slider-container {
    overflow: hidden;
    min-height: 420px;
  }

  .toh-main-page-image {
    height: 400px;
    width: 273px;
    margin: 0 auto;
    display: flex;
    padding-right: 10px;
    padding-top: 10px;
  }

  .toh-arc-text {
    font-size: 1.2em;
    margin: 0;
    font-family: 'Roboto Slab', serif;
    font-weight: 500;
    color: white;

    /* custom alignment at image size of 400 px */
    margin-left: 17px;
    margin-top: 6px;
  }
  
  .toh-arc-right {
    left: -30px;
  }
}

@media only screen and (max-width: 415px) {
  #toh-main-page-slider-container {
    overflow: hidden;
    min-height: 300px;
  }

  .toh-main-page-image {
    height: 294px;
    width: 200px;
    margin: 0 auto;
    display: flex;
    padding-right: 10px;
    padding-top: 10px;
  }

  .toh-arc-text {
    font-size: 1.0em;
    margin: 0;
    font-family: 'Roboto Slab', serif;
    font-weight: 500;
    color: white;

    /* custom alignment at image size of 400 px */
    margin-left: 22px;
    margin-top: 17px;
  }
  
  .toh-arc-right {
    left: -35px;
  }

}