body {
  --primary-color: #75b729;
  --primary-color-highlight: hsla(88, 63%, 44%, 0.13);
  --primary-color-light: #a8ea5c;
  margin: 0;
  font-family: "Roboto", "Noto", sans-serif;
  line-height: 1.5;
  background-color: #e0e0e0;
  /* hide body scrollbar */
  overflow: hidden;
  /* for vaadin components that display in the overlay */
  --lumo-primary-color-50pct: #75b729;
  --material-primary-text-color: #75b729;
  /* for retit-spinner */
  --primary-color: #75b729;
  --background-color: #e0e0e0;
  /* removes blue background on vaadin-context-item */
  --lumo-primary-color-10pct: none;
}

paper-dialog {
  top: 0px;
}

vaadin-text-field {
  --lumo-primary-text-color: #75b729;
}

vaadin-button.project-action {
  height: 32px;
  font-size: 10px;
  color: var(--primary-color);
}

vaadin-button.project-action:hover {
  background-color: var(--secondary-color-light);
}

vaadin-button.project-action vaadin-icon {
  width: 24px;
  height: 24px;
  padding-right: 5px;
}

.datascope-selector-text {
  min-height: 40px;
  flex-grow: 1;
  font-family: var(--material-font-family);
  font-size: 16px;
  display: flex;
  align-items: center;
}

#spinner {
  display: inline-block;
  position: fixed;
  width: 28px;
  height: 28px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

:root {
  --paper-spinner-color: #75b729;
  /* 360 * ARCTIME / (ARCSTARTROT + (360-ARCSIZE)) */
  --paper-spinner-container-rotation-duration: 1568ms;
  /* ARCTIME */
  --paper-spinner-expand-contract-duration: 1333ms;
  /* 4 * ARCTIME */
  --paper-spinner-full-cycle-duration: 5332ms;
  /* SHRINK_TIME */
  --paper-spinner-cooldown-duration: 400ms;
}

#spinnerContainer {
  width: 100%;
  height: 100%;
  /* The spinner does not have any contents that would have to be
     * flipped if the direction changes. Always use ltr so that the
     * style works out correctly in both cases. */
  direction: ltr;
}

#spinnerContainer.active {
  -webkit-animation: container-rotate
    var(--paper-spinner-container-rotation-duration) linear infinite;
  animation: container-rotate var(--paper-spinner-container-rotation-duration)
    linear infinite;
}

@-webkit-keyframes container-rotate {
  to {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes container-rotate {
  to {
    transform: rotate(360deg);
  }
}

.spinner-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  white-space: nowrap;
  color: var(--paper-spinner-color);
}

.active .spinner-layer {
  -webkit-animation-name: fill-unfill-rotate;
  -webkit-animation-duration: var(--paper-spinner-full-cycle-duration);
  -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-animation-iteration-count: infinite;
  animation-name: fill-unfill-rotate;
  animation-duration: var(--paper-spinner-full-cycle-duration);
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-iteration-count: infinite;
  opacity: 1;
}

@-webkit-keyframes fill-unfill-rotate {
  12.5% {
    -webkit-transform: rotate(135deg);
  }
  /* 0.5 * ARCSIZE */
  25% {
    -webkit-transform: rotate(270deg);
  }
  /* 1 * ARCSIZE */
  37.5% {
    -webkit-transform: rotate(405deg);
  }
  /* 1.5 * ARCSIZE */
  50% {
    -webkit-transform: rotate(540deg);
  }
  /* 2 * ARCSIZE */
  62.5% {
    -webkit-transform: rotate(675deg);
  }
  /* 2.5 * ARCSIZE */
  75% {
    -webkit-transform: rotate(810deg);
  }
  /* 3 * ARCSIZE */
  87.5% {
    -webkit-transform: rotate(945deg);
  }
  /* 3.5 * ARCSIZE */
  to {
    -webkit-transform: rotate(1080deg);
  }
  /* 4 * ARCSIZE */
}

@keyframes fill-unfill-rotate {
  12.5% {
    transform: rotate(135deg);
  }
  /* 0.5 * ARCSIZE */
  25% {
    transform: rotate(270deg);
  }
  /* 1 * ARCSIZE */
  37.5% {
    transform: rotate(405deg);
  }
  /* 1.5 * ARCSIZE */
  50% {
    transform: rotate(540deg);
  }
  /* 2 * ARCSIZE */
  62.5% {
    transform: rotate(675deg);
  }
  /* 2.5 * ARCSIZE */
  75% {
    transform: rotate(810deg);
  }
  /* 3 * ARCSIZE */
  87.5% {
    transform: rotate(945deg);
  }
  /* 3.5 * ARCSIZE */
  to {
    transform: rotate(1080deg);
  }
  /* 4 * ARCSIZE */
}

.circle-clipper {
  display: inline-block;
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

/**
 * Patch the gap that appear between the two adjacent div.circle-clipper while the
 * spinner is rotating (appears on Chrome 50, Safari 9.1.1, and Edge).
 */
.spinner-layer::after {
  left: 45%;
  width: 10%;
  border-top-style: solid;
}

.spinner-layer::after,
.circle-clipper::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 0;
  border-width: var(--paper-spinner-stroke-width, 3px);
  border-radius: 50%;
}

.circle-clipper::after {
  bottom: 0;
  width: 200%;
  border-style: solid;
  border-bottom-color: transparent !important;
}

.circle-clipper.left::after {
  left: 0;
  border-right-color: transparent !important;
  -webkit-transform: rotate(129deg);
  transform: rotate(129deg);
}

.circle-clipper.right::after {
  left: -100%;
  border-left-color: transparent !important;
  -webkit-transform: rotate(-129deg);
  transform: rotate(-129deg);
}

.active .gap-patch::after,
.active .circle-clipper::after {
  -webkit-animation-duration: var(--paper-spinner-expand-contract-duration);
  -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-animation-iteration-count: infinite;
  animation-duration: var(--paper-spinner-expand-contract-duration);
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-iteration-count: infinite;
}

.active .circle-clipper.left::after {
  -webkit-animation-name: left-spin;
  animation-name: left-spin;
}

.active .circle-clipper.right::after {
  -webkit-animation-name: right-spin;
  animation-name: right-spin;
}

@-webkit-keyframes left-spin {
  0% {
    -webkit-transform: rotate(130deg);
  }
  50% {
    -webkit-transform: rotate(-5deg);
  }
  to {
    -webkit-transform: rotate(130deg);
  }
}

@keyframes left-spin {
  0% {
    transform: rotate(130deg);
  }
  50% {
    transform: rotate(-5deg);
  }
  to {
    transform: rotate(130deg);
  }
}

@-webkit-keyframes right-spin {
  0% {
    -webkit-transform: rotate(-130deg);
  }
  50% {
    -webkit-transform: rotate(5deg);
  }
  to {
    -webkit-transform: rotate(-130deg);
  }
}

@keyframes right-spin {
  0% {
    transform: rotate(-130deg);
  }
  50% {
    transform: rotate(5deg);
  }
  to {
    transform: rotate(-130deg);
  }
}

.splash-screen {
  position: fixed;
  top: 50%;
  left: 50%;
  margin: -100px 0 0 -175px;
  background: #fff;
  border-radius: 2px;
  display: inline-block;
  height: 200px;
  width: 350px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-align: center;
}
