html {
  width: 100%;
  min-width: 775px;
  height: 100%;
  /* overflow: hidden; */
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  /*min-width: 1025px;*/
}

body {
  width: 100%;
  min-width: 775px;
  height: 100%;
  padding: 0;
  margin: 0;
  /* overflow: hidden; */
  /*min-width: 1025px;*/
  /*-webkit-touch-callout: none; !* iOS Safari *!*/
  /*-webkit-user-select: none;   !* Chrome/Safari/Opera *!*/
  /*-khtml-user-select: none;    !* Konqueror *!*/
  /*-moz-user-select: none;      !* Firefox *!*/
  /*-ms-user-select: none;       !* Internet Explorer/Edge *!*/
  /*user-select: none;           !* Non-prefixed version, currently*/
  /*not supported by any browser *!*/
}

p {
  margin: 15px 0 15px 0;
}

#basicUI {
  position: absolute;
  top: 53px;
  font-size: 14px;
  color: #34495e;
  text-align: right;
  right: 0px;
  width: 400px;
  padding: 20px 20px;
}
#showAdvancedOptions {
  color: #34495e;
  font-weight: 900;
}
#hideAdvancedOptions {
  font-size: 14px;
  color: #34495e;
  font-weight: 900;
  text-align: right;
  width: 100%;
  display: inline-block;
}

#controlsBottom {
  width: 100%;
  min-width: 775px;
  max-width: 850px;
  margin: auto;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 110px;
  font-weight: 900;
}
#controlsBottom > div {
  display: inline-block;
}
#bottomSliderContainer {
  text-align: center;
  position: absolute;
  right: 350px;
  left: 250px;
  margin-top: 20px;
}
#bottomSliderContainer > span {
  font-size: 14px;
}
#creasePercentBottom {
  width: 100%;
  margin-top: 14px;
  margin-bottom: 5px;
}
#creasePercentBottom > .flat-slider {
  width: 100%;
  margin: 0;
  background: #e8e8e8;
}
.sliderEndPt {
  text-align: center;
  width: 100px;
  position: absolute;
  top: -30px;
  color: #34495e;
  line-height: 18px;
}
#flatIndicator {
  left: -50px;
  top: -15px;
}
.sliderEndPt > img {
  width: 100%;
}
#foldedIndicator {
  right: -50px;
  top: -15px;
}
.sliderEndPt > .fui-triangle-down {
  display: block;
  color: #34495e;
  margin-top: 0px;
}
.sliderEndPtLabel {
  color: #34495e;
  display: block;
  /*margin-top: 30px;*/
}

#viewToggle {
  left: 30px;
}
#controlsToggle {
  right: 140px;
}
.preserveAspect {
  width: auto;
}
.bigToggle {
  height: 90px;
  width: 140px;
  text-align: center;
  position: absolute;
  font-size: 14px;
  /*border: 1px solid #34495e;*/
}
.bigToggle > div {
  border: 2px solid #34495e;
  background: red;
  height: 70px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 5px;
}
.bigToggle > div div {
  padding: 5px;
  width: 50%;
  height: 100%;
  display: inline-block;
  text-align: center;
  font-size: 12px;
  color: #34495e;
}
.bigToggle div.active {
  background: #e8e8e8;
}
.bigToggle .separator {
  width: 2px;
  height: 68px;
  position: absolute;
  background: #34495e;
  padding: 0;
  margin: 0;
}
.bigToggle img {
  display: inline-block;
  height: 40px;
}
.bigToggle span {
  display: block;
  width: 100%;
}

#resetBottom {
  position: absolute;
  right: 30px;
  top: 13px;
  color: #34495e;
  font-weight: 900;
}

#controls {
  position: absolute;
  top: 53px;
  bottom: 0;
  right: -430px;
  width: 430px;
  padding: 20px 20px;
  overflow: auto;
  background: rgba(10, 10, 10, 0.1);
}
#controls > a {
  /*float:right;*/
}
#controlsLeft {
  position: absolute;
  bottom: 0;
  left: -420px;
  width: 420px;
  top: 53px;
  padding: 20px 20px;
  max-height: 100%;
  overflow: auto;
}
#controlsLeft .radio {
  width: 240px;
}

.sliderInput {
  float: right;
  display: inline-block;
  margin-bottom: 15px;
}
.sliderContainer {
  display: block;
  margin-bottom: 15px;
}

.indent {
  padding-left: 20px;
}
.doubleIndent {
  padding-left: 40px;
}

#gpuMathCanvas {
  display: none;
}

a,
a:hover,
a:visited,
a:focus {
  color: #ec008b;
}

a.btn:visited,
a.btn:focus {
  color: white;
}

button {
  border: 0;
  outline: none;
}

.editable {
  color: #34495e;
  height: 42px;
  display: inline-block;
  line-height: 42px;
  width: 70px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.editable:hover {
  color: #34495e;
  cursor: text;
}
.editableInput {
  display: none;
  outline: grey;
  padding: 5px 7px;
  height: 42px;
  line-height: 42px;
}
.editableInput:focus {
  outline: grey;
  border: none;
}

input.form-control {
  width: 90px;
  display: inline-block;
}

.radioSlider {
  display: inline-block;
  float: right;
}

.form-control,
.select2-search input[type='text'] {
  height: 35px;
}

.floatRight {
  float: right;
}

#threeContainer {
  width: 100vw;
  height: 200vh;
  padding: 0;
  position: relative;
  /* top: 0px;
  left: 0px; */
}

#threeContainer > canvas {
  pointer-events: none;
  position: sticky;
  top: 0;
  /* left: 0;
  right: 0;
  bottom: 0; */
  height: 100vh !important;
}

.slider.slider-horizontal {
  width: 200px;
  margin: 0;
  padding: 20px;
  top: 10px;
}

.slider.slider-vertical {
  height: 200px;
  margin: 0;
  padding: 20px;
}

.flat-slider.ui-corner-all,
.flat-slider .ui-corner-all {
  border-radius: 0;
}

.flat-slider.ui-slider {
  border: 0;
  background: #ffffff;
  border-radius: 7px;
}

.flat-slider.ui-slider-horizontal {
  height: 6px;
}

.flat-slider.ui-slider-vertical {
  width: 6px;
}

.flat-slider .ui-slider-handle {
  width: 20px;
  height: 20px;
  background: #666;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

.flat-slider.ui-slider-horizontal .ui-slider-handle {
  top: 50%;
  margin-top: -10px;
  opacity: 0.8;
}

.flat-slider.ui-slider-vertical .ui-slider-handle {
  left: 50%;
  margin-left: -10px;
  opacity: 0.8;
}

.flat-slider .ui-slider-handle:hover {
  opacity: 0.7;
}

.flat-slider .ui-slider-handle:focus {
  outline: none;
}

.flat-slider {
  vertical-align: middle;
  display: inline-block;
  width: 130px;
  position: relative;
  margin: 10px 10px 10px 10px;
  /*padding: 4px 0;*/
}

.modal-content {
  border-radius: 0;
}
.modal-body {
  padding: 20px 35px;
}

span.modal-close {
  display: none;
}
.titleSpan {
  display: inline-block;
  width: 100%;
  margin-top: 15px;
}
.form-control:focus {
  border-color: #666;
}

.checkbox input.custom-checkbox[type='checkbox']:checked + .icons .icon-checked,
.radio input.custom-checkbox[type='checkbox']:checked + .icons .icon-checked,
.checkbox input.custom-radio[type='radio']:checked + .icons .icon-checked,
.radio input.custom-radio[type='radio']:checked + .icons .icon-checked {
  color: #666;
}
.checkbox .icon-checked,
.radio .icon-checked,
.checkbox .icon-unchecked,
.radio .icon-unchecked {
  color: #bdc3c7;
}

.radio .icon-checked {
  transition-duration: 0s;
}

.radio .icon-unchecked {
  transition-duration: 0s;
}

.sliderInput > .flat-slider {
  width: 90px;
}

.label-slider {
  font-size: 15px;
}

.extraSpace {
  display: inline-block;
  width: 100%;
  height: 15px;
}

.flipped {
  direction: rtl;
}
.flipped > div {
  direction: ltr;
}

.paddingBottom {
  margin-bottom: 20px;
}

#svgViewer {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 3;
  top: 0px;
  right: 0;
  background: red;
  display: none;
  padding-top: 56px;
}
svg {
  width: 100%;
  height: 100%;
}

.hexVal {
  border-width: 4px;
}

#warningMessage {
  padding: 30px 0;
  text-align: center;
  margin: 0 18px;
}

.about {
  margin-right: 10px;
  color: #34495e !important;
  font-size: 18px;
  line-height: 18px;
}
#controls .about,
#basicUI .about {
  position: absolute;
  line-height: 1.7;
  margin-top: 2px;
  right: 5px;
}

#aboutError {
  line-height: 2;
}
#aboutStiffness {
  line-height: 28px;
}

#aboutUserInteraction {
  margin-top: 10px !important;
  line-height: 21px !important;
}

#aboutVR {
  float: none;
  margin-left: 40px;
  position: absolute;
  line-height: 1.7;
  margin-top: 2px;
}

#start,
#stepForwardOptions {
  display: none;
}
#stepForwardOptions {
  width: 100%;
}
#reset {
  margin-left: 20px;
}

#creasePercentNav {
  margin-bottom: 0;
  margin-top: 12px;
  color: white;
  display: none;
}

.bigLabel {
  font-size: 16px;
  margin-top: 20px;
}
.checkbox.bigLabel .icons,
.radio .icons {
  top: 2px;
}

.smallTxt {
  font-size: 14px;
}
input.form-control.bigInput {
  width: 300px;
}

.actionButton {
  min-width: 110px;
  font-size: 16px;
}

#unitsDropdown {
  height: 100px;
  overflow: auto;
}

.modal img {
  width: 200px;
}

a.seeMore {
  float: none !important;
  color: #34495e;
}
a.seeMore > .fui-triangle-down {
  display: inline-block;
  margin-right: 10px;
}
a.seeMore.closed > .fui-triangle-down {
  -ms-transform: rotate(-90deg); /* IE 9 */
  -webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
  transform: rotate(-90deg);
}

.hide {
  display: none;
}

.inlineBlock {
  display: inline-block;
}

.alignRight {
  text-align: right;
}

.fullWidth {
  width: 100%;
}

#simulationSettings,
#errorInfo,
#animationsSettings,
#cameraAngle,
#edgeVisibility,
#virtualReality,
#materialSettings {
  margin-top: 15px;
}
.modal-body img {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.colorSwatch {
  display: inline-block;
  width: 20px;
  height: 10px;
  margin-right: 10px;
  margin-bottom: 2px;
}

#authorMoreInfo {
  display: none;
  position: absolute;
  top: 0px;
  left: 100px;
  z-index: 5;
}
#authorMoreInfo > #authorContent {
  font-size: 14px;
  background: #f5f5f5;
  padding: 15px 25px;
  margin-left: 20px;
  color: #34495e;
  white-space: normal;
  width: 300px;
  border: 2px solid #a8a6ae;
}

#authorMoreInfo a,
#authorMoreInfo a:hover,
#authorMoreInfo a:visited,
#authorMoreInfo a:focus {
  color: #ec008b !important;
}

#authorMoreInfo:after {
  content: '';
  display: block;
  position: absolute;
  top: 19px;
  left: 11px;
  width: 20px;
  height: 20px;
  background: #f5f5f5;
  border-left: 2px solid #a8a6ae;
  border-bottom: 2px solid #a8a6ae;
  -ms-transform: rotate(45deg); /* IE 9 */
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

#helper {
  display: none;
  position: absolute;
  padding: 10px 15px;
  font-size: 14px;
  background: #f5f5f5;
  margin-top: 20px;
  opacity: 0;
  top: 54px;
  -webkit-transition: opacity 1s; /* For Safari 3.1 to 6.0 */
  transition: opacity 1s;
  left: 140px;
  color: #34495e;
  white-space: normal;
  border: 2px solid #a8a6ae;
  /*transition-timing-function: easeInOutCubic;*/
}

#helper:after {
  content: '';
  display: block;
  position: absolute;
  top: -12px;
  left: 105px;
  width: 20px;
  height: 20px;
  background: #f5f5f5;
  border-left: 2px solid #a8a6ae;
  border-top: 2px solid #a8a6ae;
  -ms-transform: rotate(45deg); /* IE 9 */
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

#screenCaptureModal .modal-content,
#animationSetupModal .modal-content {
  background: rgba(255, 255, 255, 0.9);
}

#recordStatus {
  position: absolute;
  bottom: 20px;
  width: 350px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 2;
  display: none;
}
#stopRecord {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.animationStep {
  margin: 7px 0;
  display: inline-block;
  padding: 5px 15px;
  background: #fff;
}
#animationSetupModal p,
#animationSetupModal ul,
#animationSetupModal div.btns {
  text-align: center;
  padding: 0;
}
.warning {
  color: #f1970f;
}

.red {
  color: red !important;
}

#coverImg {
  z-index: 5;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

object {
  width: 100%;
  margin-bottom: 10px;
}

#aboutCorner {
  display: none;
  position: absolute;
  z-index: 6;
  top: 0;
  right: 0;
  background: rgba(40, 40, 40, 0.7);
  width: 30px;
  text-align: center;
  color: white;
}

#noSupportModal {
  text-align: center;
}

#tipImportSVG {
  float: left;
  display: inline-block;
  margin-top: 8px;
  margin-left: 20px;
}

#feedbackNotification {
  position: absolute;
  z-index: 10;
  right: 130px;
  top: 0;
  padding: 5px 10px 4px;
  font-size: 15px;
  font-weight: 900;
  background: #ff64bf;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#feedbackNotification > span {
  max-width: 150px;
  text-align: center;
  display: inline-block;
  line-height: 22px;
}

@media only screen and (max-width: 1055px) {
  #feedbackNotification {
    display: none;
  }
}

@media only screen and (max-width: 890px) {
  #feedback {
    display: none;
  }
}

#controls {
  display: none;
}

@font-face {
  font-family: 'Gilroy-Bold';
  font-style: normal;
  font-weight: normal;
  src: local('Gilroy-Bold'), url('/assets/Gilroy-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Gilroy-Heavy';
  font-style: normal;
  font-weight: normal;
  src: local('Gilroy-Heavy'), url('/assets/Gilroy-Heavy.woff') format('woff');
}

@font-face {
  font-family: 'Gilroy-Light';
  font-style: normal;
  font-weight: normal;
  src: local('Gilroy-Light'), url('/assets/Gilroy-Light.woff') format('woff');
}

@font-face {
  font-family: 'Gilroy-Medium';
  font-style: normal;
  font-weight: normal;
  src: local('Gilroy-Medium'), url('/assets/Gilroy-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Gilroy-Regular';
  font-style: normal;
  font-weight: normal;
  src: local('Gilroy-Regular'),
    url('/assets/Gilroy-Regular.woff') format('woff');
}

.testimonial {
  opacity: 0;
  transition: 0.3s linear all;
  z-index: 1000;
  position: absolute;
  width: 280px;
}

.testimonial[data-visible='true'] {
  animation: fadeIn 0.3s ease-in forwards;
}

.testimonial[data-visible='false'] {
  animation: fadeOut 0.3s ease-in forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) translateX(calc(var(--mul, 1) * -20px));
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px) translateX(calc(var(--mul, 1) * -20px));
  }
}

.testimonial-left {
  left: 5vw;
  --mul: 1;
}

.testimonial-right {
  right: 5vw;
  --mul: -1;
}

.my-content {
  max-width: 90%;
}

.my-content a {
  text-decoration: underline 2px #4a4a4a;
  text-decoration-style: dotted;
  text-underline-offset: 4px;
  background-image: linear-gradient(to right, var(--stops));
  color: transparent;
  background-clip: text;
  font-weight: 500;
  -webkit-background-clip: text;
}

@media (min-width: 768px) {
  .my-content {
    max-width: 60%;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

#scroll-down {
  opacity: 1;
}

#scroll-down[data-visible='true'] {
  animation: fadeIn 0.3s ease-in forwards,
    pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
  --mul: 0;
}

#scroll-down[data-visible='false'] {
  animation: fadeOut 0.3s ease-in forwards !important;
  --mul: 0;
}

.about-me-title {
  font-size: 7rem;
}

@media (min-width: 768px) {
  .about-me-title {
    font-size: 10rem;
  }
}

#name-dot {
  display: none;
}

@media (min-width: 768px) {
  #name-dot {
    display: block;
  }
}
