.ezv-center-both {
  position: relative;
  left: 50%;
  top: 50%;
  margin-right: -50%;
  margin-bottom: -50%;
  transform: translate(-50%, -50%);
}

img.ezv-play-button {
  width: 55px;
  cursor: pointer;
}

.ezv-play-button-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
  padding: 0;
  background-color: transparent;
}

.ezv-progress-container {
  width: 200px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font: 18px Arial, sans-serif;
}

.ezv-progress-bar {
  width: 0%;
  height: 100%;
  background-color: #fff;
  -webkit-transition: width .6s ease;
  -o-transition: width .6s ease;
  transition: width .6s ease;
  overflow: visible;
}

.ezv-progress {
  height: 6px;
  margin-bottom: 4px;
  overflow: hidden;
  border: 2px solid #444;
  border-radius: 4px;
  background-color: #333;
}

.ezv-main-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  user-select: none;
}

.ezv-white-outlined-text {
  color: white;
  text-shadow: 0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black;
}

.ezv-black-outlined-text {
  color: #444;
  text-shadow: 0 0 1px white, 0 0 1px white, 0 0 1px white, 0 0 1px white;
}


.ezv-help-window {
  position: absolute;
  background-color: rgba(128, 128, 128, 0.8);
  color: white;
  max-width: 420px;
  border: 1px solid #888;
  border-radius: 10px;
  z-index: 2000;
  padding: 8px 12px 8px 12px;
  width: 90%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.ezv-help-window-header {
  font-size: larger;
  display: flex;
  border-bottom: 1px solid #444;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.ezv-options-menu-bar {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 20px;
  bottom: 42px;
  opacity: 0.8;
}

.ezv-main-menu-bar {
  display: flex;
  flex-direction: row;
  position: absolute;
  right: 10px;
  bottom: 12px;
  padding: 0px 10px;
  border-radius: 8px;
}

.ezv-open-menu-bar {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 5px;
  bottom: 5px;
}

.ezv-sound-menu-bar {
  position: absolute;
  top: 10px;
  right: 10px;
}

.ezv-menu-bar-button {
  border-radius: 4px;
  border: none;
  margin: 1px;
  padding: 2px 2px; 
}

div.ezv-menu-bar-button img {
  width: 24px;
  height: 24px;
  display: block;
  margin: auto;
}

.ezv-info-window {
  position: absolute;
  max-width: 500px;
  width: 90%;
  background-color: rgba(128, 128, 128, 0.5);
  color: white;
  border: 1px solid #888;
  border-radius: 10px;
  z-index: 2000;
  padding: 8px 12px 8px 12px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.ezv-info-header {
  font-size: larger;
  display: flex;
  border-bottom: 1px solid #444;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ezv-info-body {
  text-align: left;
  overflow-x: auto;
  overflow-y: auto;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  white-space: pre-line;
  /* Internet Explorer 10+ */
}

.ezv-xr-button-container {
  position: absolute;
  left: 5px;
  bottom: 5px;
  display: flex;
}

img.ezv-xr-button {
  z-index: 10000;
  width: 44px;
  height: 44px;
  margin: -2px;
}

.ezv-xr-button a {
  font-size: 12px;
  color: #4285F4;
  text-decoration: none;
  margin-left: 4px;
  position: relative;
}

.ezv-ar-close-button {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 24px;
  z-index: 2000;
}

.ezv-side-to-side {
  animation-name: ezv-side-to-side-anim;
  animation-duration: 3s;
  animation-direction: alternate;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes ezv-side-to-side-anim {
  from {
    transform: translate(-30%);
  }

  to {
    transform: translate(30%);
  }
}


.ezv-annotation-control-left-button {
  position: absolute;
  transform: translate(0, -50%);
  top: 50%;
  left: 5px;
  opacity: 0.5;
  width: 40px;
}

.ezv-annotation-control-right-button {
  position: absolute;
  transform: translate(0, -50%);
  top: 50%;
  right: 15px;
  opacity: 0.5;
  width: 40px;
}

.ezv-configurator-panel {
  display: flex;
  flex-direction: column;
  color: #222;
  font-size: small;
  height: 100%;
  align-content: flex-start;
  align-items: center;
  overflow-y: auto;
  background-color: white;
  padding-top: 5px;
}

.ezv-configurator-title {
  margin-top: 5px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  color: black;
  -webkit-user-select: none;
  user-select: none;
}

.ezv-configurator-variant-title {
  font-size: 0.95rem;
  text-align: center;
}

.ezv-configurator-part-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 5px 0;
}


.ezv-configurator-variant-icons-container {
  display: flex;
  flex-direction: row;
  flex-wrap: none;
  align-items: center;
  overflow-x: scroll;
}

.ezv-configurator-variant-icons-container>div {
  margin: 4px 8px;
}

.ezv-configurator-variant-icons-container::-webkit-scrollbar {
  display: none;
  /* Safari and Chrome */
}

.ezv-configurator-parts-view-compact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
}

.ezv-configurator-variant-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ezv-configurator-parts-view-expanded {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.ezv-configurator-back-button {
  width: 20px;
  display: block;
  margin: auto;
  margin-bottom: 5px;
}

.ezv-configurator-variant {
  font-weight: normal;
  border: 2px solid #888;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 1.4rem;
  margin-left: 10px;
  margin-right: 10px;
  white-space: nowrap;
}

.ezv-configurator-variant-icon {
  width: 25px;
  height: 25px;
  margin: 2px;
  border-radius: 50%;
  border: 1px solid #aaa;
}

.ezv-configurator-variant-name {
  white-space: nowrap;
  text-align: center;
  color: white;
  user-select: none;
  text-shadow: -1px -1px 0 #444, 1px -1px 0 #444, -1px 1px 0 #444, 1px 1px 0 #444;
}

.part-editor-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.color-variant-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 5px;
}

.variant-material-container {
  display: flex;
  flex-direction: column;
}

.variant-material-row {
  width: 100%;
  margin-top: 4px;
  margin-bottom: 4px;
}


.ezv-configurator-panel {
  display: flex;
  flex-direction: column;
  color: #222;
  font-size: small;
  height: 100%;
  align-content: flex-start;
  align-items: center;
  overflow-y: auto;
}

.ezv-configurator-title {
  margin-top: 5px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  color: black;
  -webkit-user-select: none;
  user-select: none;
}

.ezv-configurator-variant-title {
  font-size: 0.95rem;
  text-align: center;
}

.ezv-configurator-part-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 5px 0;
}


.ezv-configurator-variant-icons-container {
  display: flex;
  flex-direction: row;
  flex-wrap: none;
  align-items: center;
  overflow-x: scroll;
}

.ezv-configurator-variant-icons-container>div {
  margin: 4px 8px;
}

.ezv-configurator-variant-icons-container::-webkit-scrollbar {
  display: none;
  /* Safari and Chrome */
}

.ezv-configurator-parts-view-compact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
}

.ezv-configurator-variant-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ezv-configurator-parts-view-expanded {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.ezv-configurator-back-button {
  width: 20px;
  display: block;
  margin: auto;
  margin-bottom: 5px;
}

.ezv-configurator-variant {
  font-weight: normal;
  border: 2px solid #888;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 1.4rem;
  margin-left: 10px;
  margin-right: 10px;
  white-space: nowrap;
}

.ezv-configurator-variant-icon {
  width: 25px;
  height: 25px;
  margin: 2px;
  border-radius: 50%;
  border: 1px solid #aaa;
}

.ezv-configurator-variant-name {
  white-space: nowrap;
  text-align: center;
  color: white;
  user-select: none;
  text-shadow: -1px -1px 0 #444, 1px -1px 0 #444, -1px 1px 0 #444, 1px 1px 0 #444;
}

.ezv-configurator-position-right {
  padding-top: 20px;
  background-color: white;
  width: 300px;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  border-left: 1px solid #888;
}

.ezv-configurator-position-left {
  padding-top: 20px;
  background-color: white;
  width: 300px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  border-right: 1px solid #888;
}

.ezv-configurator-position-bottom {
  background-color: white;
  width: 100%;
  height: fit-content;
  z-index: 10;
  border-top: 1px solid #888;
}

.ezv-configurator-position-offscreen {
  position: absolute;
  left: -1000px;
}

.ezv-configurator-panel-row {
  width: 90%;
  white-space: nowrap;
  overflow-x: scroll;
  display: flex;
}

.ezv-configurator-panel-row>div {
  margin: auto;
  flex-wrap: nowrap;
  display: flex;
}

.ezv-configurator-panel-row::-webkit-scrollbar {
  display: none !important;
}

.ezv-configurator-panel-row {
  -ms-overflow-style: none !important;
  scrollbar-width: 0 !important;
}

.ezv-configurator-position-bottom {
  background-color: white;
  width: 100%;
  height: fit-content;
  z-index: 10;
  border-top: 1px solid #888;
}

.ezv-configurator-panel {
  display: flex;
  flex-direction: column;
  color: #222;
  font-size: small;
  height: 100%;
  align-content: flex-start;
  align-items: center;
  overflow-y: auto;
}

.ezv-configurator-panel-title {
  font-size: 1.4rem;
  font-weight: 500;
  padding-bottom: 5px;
  padding-top: 5px;
  white-space: pre-line;
}

.ezv-part-icon {
  width: auto;
  height: auto;
  margin-top: 5px;
  display: block;
  margin: auto;
}

.ezv-sliding-select {
  padding: 4px;
  display: flex;
  max-width: 350px;
  align-items: center;
}

.ezv-sliding-select-button {
  width: 12px;
  height: 25px;
  font-size: 1.4rem;
  border: none;
  background-color: transparent;
  opacity: 0.5;
  cursor: pointer;
}

.ezv-sliding-select-content {
  display: flex;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  white-space: nowrap;
  margin-left: 20px;
  margin-right: 20px;
}

.ezv-canvas-container {
  overflow: hidden;
  width: 100%;
  display: block;
  position: relative;
  flex: 1;
}

.ezv-anim-control-container {
  position: absolute;
  left: 50%;
  display: flex;
  /* align-items: center; */
  flex-direction: row;
  transform: translate(-50%);
  padding: 0px 10px;
  border-radius: 8px;
  justify-content: space-between;
}

.ezv-anim-control-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  position: absolute;
  left: 50%;
  display: flex;
  flex-direction: row;
  transform: translate(-50%);
}

.ezv-anim-control-button {
  width: 32px;
  height: 32px;
}

@media only screen and (max-width: 375px) {
  .ezv-anim-control-container {
    bottom: 45px;
  }

  .ezv-anim-control-title {
    bottom: 70px;
  }
}

@media only screen and (min-width: 375px) {
  .ezv-anim-control-container {
    bottom: 10px;
  }

  .ezv-anim-control-title {
    bottom: 45px;
  }
}