#av5-bathtub-simulator-container {
  border-top: 1px solid #ccc;
  padding: 15px 0;
  margin-top: 20px;
  max-width: 100%;
}

#av5-simulator-stage {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 300px;
    margin-top: 20px;
    overflow: hidden;
}

#av5-bathtub-image {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 100%;
    height: auto;
}

#av5-silhouette-image {
    position: absolute;
    bottom: 31px;
    left: 66px;
    max-width: fit-content;
    height: 200px; 
}

#av5-silhouette-image.model-2 {
    bottom: 39px;
    left: 57px;
}

#av5-silhouette-image.model-3 {
    bottom: 33px;
    left: 44px;
}

#av5-silhouette-image.model-4 {
    bottom: 43px;
    left: 46px;
}

/* Slider base */
#av5-height-slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 40%;
    height: 4px;
    background: #E0E3EF; 
    border-radius: 2px;
    outline: none;
    margin: 10px;
  }
  
  /* Track WebKit */
  #av5-height-slider::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent; 
    border-radius: 2px;
  }
  
  /* Thumb WebKit */
  #av5-height-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #FFFFFF;     
    border: 3px solid #c89f4b; 
    border-radius: 50%;
    margin-top: -8px;       
    cursor: pointer;
    transition: transform .2s;
  }
  #av5-height-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
  }
  
  /* Track Firefox */
  #av5-height-slider::-moz-range-track {
    height: 4px;
    background: transparent;
    border-radius: 2px;
  }
  /* Thumb Firefox */
  #av5-height-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #FFFFFF;
    border: 3px solid #c89f4b;
    border-radius: 50%;
    cursor: pointer;
    transition: transform .2s;
  }
  #av5-height-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
  }
  
  /* Track IE/Edge */
  #av5-height-slider::-ms-track {
    width: 100%;
    height: 4px;
    background: transparent;
    color: transparent;
  }
  #av5-height-slider::-ms-fill-lower {
    background: #C4D4F4; 
    border-radius: 2px;
  }
  #av5-height-slider::-ms-fill-upper {
    background: #E0E3EF;
    border-radius: 2px;
  }
  #av5-height-slider::-ms-thumb {
    width: 20px;
    height: 20px;
    background: #FFFFFF;
    border: 3px solid #c89f4b;
    border-radius: 50%;
    cursor: pointer;
  }
  