html::-webkit-scrollbar {
  display: none;
}

html {
  background: url('/images/metal.jpg') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

body {
  margin: 0px;
}

#canvas-container {
  margin-top: 100px;
}

.headerBar {
  background-color: #ffaa5a;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1
}

#feelingWild {
  color: #4b4dc9;
  cursor: pointer;
}

#stepsContainer {
  display: flex;
  justify-content: space-around;
  padding: 0 8px 8px 8px;
  margin-bottom: 8px;
  max-height: 286px;
  transition: max-height 0.2s ease-out;
  overflow: auto;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

#collapseExpandButtonContainer.collapsed::before {
  content: 'Settings';
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  margin-left: 8px;
}

#screenSizeInput,
#pdfScaleSmallMeasurement,
#pdfScaleFullMeasurement {
  width: 48px;
}

#oneInchLine {
  margin-top: 10px;
  border: 1px solid black;
}

.onScreenClickFill {
  display: none;
  z-index: -6;
  position: absolute;
  margin-top: 50px;
}

.onScreenRuler {
  display: none;
  z-index: -5;
  position: absolute;
  margin-top: 50px;
  box-shadow: 0px 0px 20px;
}

.onScreenOutlineFill {
  display: none;
  cursor: crosshair;
  position: absolute;
  z-index: -4;
  margin-top: 50px;
}

.onScreenClickFill.active,
.onScreenRuler.active,
.onScreenOutlineFill.active {
  display: block;
}

#pathSvg {
  pointer-events: none;
}

#canvasBottomSpacer {
  position: absolute;
  width: 100%;
  height: 50px;
  background: transparent;
}

.stepDiv {
  max-width: 28%;
  padding: 0 5px;
}

.stepDiv h3 {
  margin-top: 5px;
  margin-bottom: 6px;
}

.stepDiv select {
  max-width: 46px;
}

#collapseExpandButtonContainer {
  position: absolute;
  bottom: -28px;
  width: 100%;
  height: 35px;
  background-color: #ffaa5a;
  cursor: pointer;
}

#collapseExpandButtonContainer:after {
  content: "";
  position: absolute;
  width: 100%;
  bottom: 1px;
  z-index: -1;
  box-shadow: 0px -10px 18px 2px #000000;
}

#pageNavigation {
  display: none;
  font-family: 'Inter', sans-serif;
  font-size: 38px;
  position: absolute;
  bottom: -74px;
  width: 100%;
  height: 46px;
}

#pageNavigator {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 20%;
  margin: 0 auto;
}

#pageNavigatorBGLeft {
  position: absolute;
  height: 100%;
  width: 50%;
  background: white;
  z-index: -1;
  background: linear-gradient(45deg, #fdfdfd00, #bebdbdd9);
  border-radius: 0 0 0 10px;
}

div#pageNavigatorBGRight {
  position: absolute;
  right: 0;
  height: 100%;
  width: 50%;
  background: white;
  z-index: -1;
  background: linear-gradient(314deg, #fdfdfd00, #bebdbdd9);
  border-radius: 0 0 10px 0;
}

img.pageArrow {
  width: 46px;
  cursor: pointer;
}

#collapseExpandButton:hover {
  background-color: #f5f5f59c;
}

#collapseExpandButton {
  position: absolute;
  bottom: 5px;
  width: 25px;
  right: 25px;
  cursor: pointer;
  background-color: #f5f5f536;
  border-radius: 5px;
}

#areaCalculationDiv {
  position: fixed;
  right: 0;
  bottom: 0;
  background-color: #ffaa5ac2;
  font-family: 'Be Vietnam Pro', sans-serif;
  padding: 5px;
  border-radius: 5px 0 0 0;
  z-index: 1;
}

.areaCalculationContainer {
  text-align: center;
  font-size: 24px;
  color: rgba(171, 52, 40);
  -webkit-text-stroke-width: 0.4px;
  -webkit-text-stroke-color: black;
}

#areaCalculationLabel {
  font-size: 20px;
  font-weight: bold;
}

.areaTotalLabel {
  font-size: 14px;
  font-weight: bold;
}

#toolbar {
  position: fixed;
  right: 0;
  bottom: 141px;
  display: flex;
  flex-direction: column;
  width: 65px;
  background-color: #bebdbdd9;
  border-radius: 5px 0 0 0;
  cursor: pointer;
  z-index: 1;
}

#toolbar img {
  width: 25px;
  padding: 12px 20px;
}

#toolbar img:hover {
  background-color: #bebdbd8e;
}

.toolbarItemArea:hover .toolbarTooltip,
.toolbarTooltip.toolbarItemAreaActiveHover {
  display: block;
}

.toolbarItemArea {
  position: relative;
}

.toolbarButtonInfo {
  width: 24px;
  margin-right: 10px;
}

.toolbarButton.disabled {
  cursor: default;
}

.loadingSpinnerRing.active {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 42px;
}

.loadingSpinnerRing {
  display: none;
}

.loadingSpinnerRing div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  margin: 8px 0 8px 24px;
  border: 1px solid #fff;
  border-radius: 50%;
  animation: loadingSpinnerRing 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}

.loadingSpinnerRing div:nth-child(1) {
  animation-delay: -0.45s;
}

.loadingSpinnerRing div:nth-child(2) {
  animation-delay: -0.3s;
}

.loadingSpinnerRing div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes loadingSpinnerRing {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.nameSaveLoadingSpinnerRing.active {
  display: inline-block;
  position: relative;
  width: 32px;
  height: 14px;
}

.nameSaveLoadingSpinnerRing {
  display: none;
}

.nameSaveLoadingSpinnerRing div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  margin: -1px 0px 0px 7px;
  border: 1px solid #fff;
  border-radius: 50%;
  animation: nameSaveLoadingSpinnerRing 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}

.nameSaveLoadingSpinnerRing div:nth-child(1) {
  animation-delay: -0.45s;
}

.nameSaveLoadingSpinnerRing div:nth-child(2) {
  animation-delay: -0.3s;
}

.nameSaveLoadingSpinnerRing div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes nameSaveLoadingSpinnerRing {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#noChangesSpan.disabled {
  display: none;
}

.toolbarZoomInButtonInfo {
  width: 42px;
  margin-bottom: -8px;
  margin-left: -8px;
}

.toolbarTooltip {
  display: none;
  background: #000000bd;
  color: white;
  padding: 10px;
  position: absolute;
  top: 12px;
  left: -254px;
  z-index: 1000;
  width: 234px;
  height: fit-content;
  text-align: center;
  border-radius: 2px;
}

#outlineCompletionTooltip.active {
  display: block;
}

#outlineCompletionTooltip {
  display: none;
  background: #000000bd;
  color: white;
  padding: 10px;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1000;
  width: fit-content;
  text-align: center;
  border-radius: 2px;
  font-size: 18px;
}

.onScreenOutlineFill.erasing {
  cursor: url('/images/eraser-cursor-point.png'), pointer;
}

.onScreenOutlineFill.outlining {
  cursor: url('/images/pencil-cursor.png') 0 32, auto;
}

.onScreenOutlineFill.ruler {
  cursor: url('/images/ruler-cursor.png'), pointer;
}

img#zoom-in {
  width: 48px;
  padding: 8px;
}

#infoModal,
#confirmationModal,
#outlineIntersectionWarning,
#screenSizeWarning {
  display: none;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #0000003d;
  font-family: 'Inter', sans-serif;
}

#infoModal .infoModalContent,
#confirmationModal .confirmationModalContent,
#outlineIntersectionWarning .outlineIntersectionWarningContent,
#screenSizeWarning .screenSizeWarningContent {
  position: relative;
  margin: 25vh auto;
  max-width: 65%;
  max-height: 492px;
  overflow: auto;
  background-color: white;
  padding: 10px 15px 15px 15px;
  border-radius: 10px;
  box-shadow: 5px 5px 30px;
}

.infoModalContentCloseButton,
.confirmationModalContentCloseButton,
.welcomeModalContentCloseButton {
  position: absolute;
  top: 4px;
  right: 12px;
  color: red;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
}

.infoModalContentCloseButton:hover,
.confirmationModalContentCloseButton:hover,
.welcomeModalContentCloseButton:hover {
  color: rgb(224, 112, 47);
  font-weight: normal;
}

.outlineIntersectionWarningContentCloseButton {
  margin: 0 auto;
  text-align: center;
  right: 12px;
  color: blue;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
}

.outlineIntersectionWarningContentCloseButton:hover {
  color: rgb(45, 45, 155);
  font-weight: normal;
}

.infoModalContentTitle,
.confirmationModalContentTitle {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 12px;
}

#restartButton {
  display: none;
  margin-top: 10px;
}

.welcomeModalContentTitle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 12px;
  margin-top: 12px;
}

#welcomeModal {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #0000003d;
  font-family: 'Inter', sans-serif;
}

#welcomeModal .welcomeModalContent {
  margin: 2.5% auto;
  width: 80%;
  height: 90%;
  max-height: 794px;
  overflow: auto;
  background-color: white;
  padding: 10px 15px 15px 15px;
  border-radius: 10px;
  box-shadow: 5px 5px 30px;
  text-align: center;
}

.welcomeModalContent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.distanceMeasurementHoverDiv {
  position: relative;
  pointer-events: none;
  transform-origin: left top;
  height: 0px;
}

.distanceValueContainer {
  display: none;
}

.distanceValueContainer {
  display: block;
  margin: 0px auto;
  width: fit-content;
  border-radius: 4px;
  padding: 4px;
  font-weight: bold;
  color: #000000;
  background: #7edba0a3;
}


/* loading spinner */

.loadingSpinner {
  position: fixed;
  top: 0;
  left: 0px;
  z-index: 1100;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: block;
  -webkit-transition: ease-in-out 0.1s;
  -moz-transition: ease-in-out 0.1s;
  -o-transition: ease-in-out 0.1s;
  -ms-transition: ease-in-out 0.1s;
  transition: ease-in-out 0.1s;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.loadingSpinner * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

body.loader .loadingSpinner span {
  top: 18%;
}

.loadingSpinner>span {
  display: block;
  width: 48px;
  height: 48px;
  padding: 4px;
  background-color: #ffffff;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  -o-border-radius: 100%;
  -ms-border-radius: 100%;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  margin-left: -24px;
  top: -50px;
  -webkit-transition: ease-in-out 0.1s;
  -moz-transition: ease-in-out 0.1s;
  -o-transition: ease-in-out 0.1s;
  -ms-transition: ease-in-out 0.1s;
  transition: ease-in-out 0.1s;
  -webkit-box-shadow: #000 0px 5px 10px -5px;
  -moz-box-shadow: #000 0px 5px 10px -5px;
  -o-box-shadow: #000 0px 5px 10px -5px;
  -ms-box-shadow: #000 0px 5px 10px -5px;
  box-shadow: #000 0px 5px 10px -5px;
}

.loadingSpinner>span>svg {
  fill: transparent;
  stroke: #1a73e8;
  stroke-width: 5;
  animation: loader_dash 2s ease infinite, loader_rotate 2s linear infinite;
}

@keyframes loader_dash {
  0% {
    stroke-dasharray: 1, 95;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 85, 95;
    stroke-dashoffset: -25;
  }
  100% {
    stroke-dasharray: 85, 95;
    stroke-dashoffset: -93;
  }
}

@keyframes loader_rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.carouselContainer {
  width: 90%;
  display: flex;
  position: relative;
  height: 90%;
  margin: 0 auto;
  top: 30px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.carouselImage {
  width: 90%;
  max-width: 800px;
  margin: 0 auto 12px auto;
}

#carouselButtons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: 0 auto;
}

.carouselButton {
  border: none;
  outline: none;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  padding: 1em;
  display: flex;
}

.carouselArrow {
  border: solid #fff;
  border-width: 0 4px 4px 0;
  display: inline-block;
  padding: 10px;
  transition: transform 0.3s ease-out;
  outline: none;
}

#rightCarouselBtn {
  margin: auto 0 auto -2em;
}

#rightCarouselBtn .carouselArrow {
  transform: rotate(-45deg);
}

#leftCarouselBtn {
  z-index: 0;
  margin: auto -2em auto 0;
}

#leftCarouselBtn .carouselArrow {
  transform: rotate(135deg);
}

#stepNumberAndText {
  width: 90%;
}

.carouselImageContainer {
  display: flex;
  align-items: center;
  height: 100%;
}

.carouselButton.disabled {
  cursor: not-allowed;
  background-color: rgba(158, 155, 155, 0.514);
}

.snackText {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: #6db95f;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  font-size: 17px;
}

.snackText.failure {
  background-color: #bd3b3b;
}

.snackText.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

#projectNameModal {
  display: none;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #0000003d;
  font-family: 'Inter', sans-serif;
}

#projectNameModal.active {
  display: block;
}

#projectNameModal .projectNameModalContent {
  position: relative;
  margin: 25vh auto;
  max-width: 450px;
  max-height: 492px;
  overflow: auto;
  background-color: white;
  padding: 10px 15px 15px 15px;
  border-radius: 10px;
  box-shadow: 5px 5px 30px;
}

.projectNameModalContentTitle {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 12px;
}

.projectActionButton {
  display: inline-block;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  padding: 6px 24px;
  border-radius: 6px;
}

.projectActionButton.save {
  color: white;
  box-shadow: inset 0px 1px 0px 0px #c0c7f7;
  background: linear-gradient(to bottom, #5a85ff 5%, #8faaf7 100%);
  background-color: #5a85ff;
  border: 1px solid #002795;
}

.projectActionButton.cancel {
  color: black;
  margin-left: 10px;
  box-shadow: inset 0px 1px 0px 0px #e9e9e9;
  background: linear-gradient(to bottom, #cacaca 5%, #7e7e7e 100%);
  background-color: #cacaca;
  border: 1px solid #868686;
}

.projectActionButton.save:hover {
  background: linear-gradient(to bottom, #8faaf7 5%, #5a85ff 100%);
  background-color: #8faaf7;
}

.projectActionButton.cancel:hover {
  background: linear-gradient(to bottom, #7e7e7e 5%, #cacaca 100%);
  background-color: #7e7e7e;
}

.projectActionButtons {
  display: flex;
  justify-content: end;
}

.projectActionButton.disabled,
.projectActionButton.disabled:hover {
  color: #999999;
  box-shadow: unset;
  background: unset;
  background-color: #d6d6d6;
  border: unset;
  cursor: not-allowed;
}

.nameAndInput {
  margin: 32px 0;
}

#registrationModal {
  display: none;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #0000003d;
  font-family: 'Inter', sans-serif;
}

#registrationModal.active {
  display: block;
}

#registrationModal .registrationModalContent {
  position: relative;
  margin: 25vh auto;
  max-width: 450px;
  max-height: 492px;
  overflow: auto;
  background-color: white;
  padding: 10px 15px 15px 15px;
  border-radius: 10px;
  box-shadow: 5px 5px 30px;
}

.registrationModalContentTitle {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 12px;
}

#registrationCancelButton {
  display: inline-block;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  padding: 6px 24px;
  border-radius: 6px;
  color: black;
  margin-left: 10px;
  box-shadow: inset 0px 1px 0px 0px #e9e9e9;
  background: linear-gradient(to bottom, #cacaca 5%, #7e7e7e 100%);
  background-color: #cacaca;
  border: 1px solid #868686;
}

#registrationSaveButton {
  display: inline-block;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  padding: 6px 24px;
  border-radius: 6px;
  color: white;
  box-shadow: inset 0px 1px 0px 0px #c0c7f7;
  background: linear-gradient(to bottom, #5a85ff 5%, #8faaf7 100%);
  background-color: #5a85ff;
  border: 1px solid #002795;
}

#registrationSaveButton:hover {
  background: linear-gradient(to bottom, #8faaf7 5%, #5a85ff 100%);
  background-color: #8faaf7;
}

#registrationSaveButton a {
  color: white;
  text-decoration: none;
}

#registrationCancelButton:hover {
  background: linear-gradient(to bottom, #7e7e7e 5%, #cacaca 100%);
  background-color: #7e7e7e;
}

.registrationCancelButtonContainer {
  display: flex;
  justify-content: end;
  align-items: center;
}

.registrationActionContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 24px;
}

.reassurance {
  text-align: center;
  margin: 24px 0 24px;
}